Commit graph

4520 commits

Author SHA1 Message Date
Guo Xiang Tan
aa5de3c40a FEATURE: Support subfolders in S3 bucket name.
This commit also fixes a bug where s3 uploads are not
moved to a tombstone folder when removed.
2016-08-15 13:07:41 +08:00
Arpit Jalan
58b40eed7b fix delete_confirm_MF translation key 2016-08-13 09:14:52 +05:30
James Kiesel
7e73b933c7 First pass 2016-08-12 15:28:46 -04:00
Arpit Jalan
7427209f21 remove unused translation keys 2016-08-12 23:41:13 +05:30
Sam
7e4503dd99 FEATURE: basic info route for all sites, even ones that require login
This information is public in meta tags already on home page, providing a
route allows consumers to check it way more cheaply
2016-08-12 17:10:35 +10:00
Sam
afaba56de3 FEATURE: missing API endpoint for topic tracking states 2016-08-12 17:10:35 +10:00
Jeff Atwood
80e2fa05be minor copyedit to site setting 2016-08-11 17:14:39 -07:00
Robin Ward
9b840cac96 UX: Add "Search" category to site settings 2016-08-11 13:48:49 -04:00
Guo Xiang Tan
01d79d9129 Merge pull request #4382 from SafaAlfulaij/fix_plural_strings
Fix Plural Strings That are Not Marked as Plural
2016-08-11 09:18:37 +08:00
safaalfulaij
2559eada9f Fix a Plural String Leftover and Change the messageFormat Link 2016-08-10 22:51:31 +03:00
Robin Ward
fc311dbe3b FEATURE: An option to search more recent posts for very large sites.
On very large forums searching posts can be slow, so this commit
introduces the ability to try and search only the most recent posts
first, and then going for a larger breadth search if there aren't
enough results.

Enable `search_prefer_recent_posts` and you can customize how many
recent posts to filter with `search_recent_posts_size`
2016-08-10 15:43:42 -04:00
Arpit Jalan
25a14fcba8 Update Translations 2016-08-10 23:08:10 +05:30
safaalfulaij
291c32aa69 Fix Plural Strings 2016-08-10 20:24:28 +03:00
Jeff Atwood
2b0268e74a more concise error rate topbar copy 2016-08-09 23:44:05 -07:00
Robin Ward
db3ae803c5 UX: Let the user know the search is too short in the header menu 2016-08-09 16:05:58 -04:00
Robin Ward
fd3a8583dd UX: Display a message when the search term is too short on full page 2016-08-09 15:11:58 -04:00
Régis Hanol
51322a46b3 FEATURE: retry processing incoming emails on rate limit 2016-08-08 22:28:27 +02:00
Neil Lalonde
f1bfc74e79 Update translations 2016-08-05 14:39:55 -04:00
Guo Xiang Tan
6827239444 Merge pull request #4360 from tgxworld/support_new_pg_dump_format
Changes to backup and restore
2016-08-04 10:58:42 +08:00
Robin Ward
19fa24d888 Add a warning if a user tries to PM themselves 2016-08-03 13:58:24 -04:00
Régis Hanol
e92f5e4fbf FEATURE: new email attachment blacklists site settings 2016-08-03 17:55:54 +02:00
Guo Xiang Tan
adc8336949 Make sure we track restore/backlog success logs as well. 2016-08-03 16:23:47 +08:00
Guo Xiang Tan
0a942dbc73 FEATURE: Avoid creating an archive for database only backups. 2016-08-03 16:23:46 +08:00
Neil Lalonde
37162e476b FIX: remove gtm_ua_domain_name setting because it's preferable to configure it in Google Tag Manager settings 2016-08-02 14:54:35 -04:00
Guo Xiang Tan
dc2dae2cc4 FIX: Logs notice was not displaying the right Date. 2016-08-02 12:40:28 +08:00
Régis Hanol
5b270b6b06 change 'clean_orphan_uploads_grace_period_hours' default value to 2 days 2016-08-01 18:36:39 +02:00
Sam
9018de39ed FEATURE: allow shipping bio markdown via SSO
- Also adds site setting for sso_overrides_bio to disable bio editing by end users
2016-08-01 15:29:28 +10:00
Jeff Atwood
919566b33d minor copyedit 2016-07-29 08:57:24 -07:00
Erick Guan
bc81c8b2a0
Explicit on site settings and fixing minor parts 2016-07-28 23:35:24 +08:00
Guo Xiang Tan
36ddb1787e FEATURE: Add toggle topic visibility button in popup menu. 2016-07-28 16:57:04 +08:00
Sam
c6dbaca0dc SECURITY: disable user entered badge SQL by default
- Hidden site settings now must be change via rails console
2016-07-28 09:03:00 +10:00
Neil Lalonde
437ad5b05a Remove extra characters returned from Transifex 2016-07-27 17:55:29 -04:00
Neil Lalonde
6a8f57d602 Update translations 2016-07-27 17:55:28 -04:00
Régis Hanol
c4b52b1a19 GET is a more RESTy verb for '/users/:username/emails' 2016-07-27 20:15:28 +02:00
Régis Hanol
6dac9075dc new 'convert_pasted_images_quality' site setting 2016-07-27 19:59:44 +02:00
Neil Lalonde
a3f39866ab Update translations using temporary workaround for Transifex bugs 2016-07-27 13:29:13 -04:00
Andre Pereira
8cbd585e20 FEATURE: Allow staff users to merge posts. 2016-07-27 12:04:14 +08:00
Robin Ward
424bb143db FIX: Jump to post on iOS was broken - replace with prompt 2016-07-26 15:08:04 -04:00
Régis Hanol
749b981759 FEATURE: new 'convert_pasted_images_to_hq_jpg' site setting 2016-07-25 23:01:28 +02:00
Neil Lalonde
11b3b5e30a FIX: when topic list is filtered by tag and category, subsequent page fetches would ignore the category filter 2016-07-25 16:16:18 -04:00
Jeff Atwood
77064ca0f5 Merge pull request #4345 from asdofindia/typo-fix
Fix typos in descriptions of server source file
2016-07-25 12:33:47 -07:00
Robin Ward
215eae9972 FIX: Add a title to the groups pages 2016-07-25 14:24:43 -04:00
Régis Hanol
b0f7e4ba00 FEATURE: deactive users after too many bounces 2016-07-25 18:57:06 +02:00
Régis Hanol
7648916314 new 'reset_bounce_score_after_days' site setting 2016-07-25 17:29:54 +02:00
Régis Hanol
d2e22ab215 extract bounce scores into site settings 2016-07-25 17:27:28 +02:00
Akshay S Dinesh
77f49e1136 Fix typos in descriptions of server source file
I used hunspell backend with linter-spell plugin of atom to find
these typos. There are several capitalizations issues that I've
left untouched (pop3, POP3, etc)
2016-07-25 20:45:43 +05:30
Sam
df535c6346 FEATURE: refresh session cookie at most once an hour
This feature ensures session cookie lifespan is extended
when user is online.

Also decreases session timeout from 90 to 60 days.
Ensures all users (including logged on ones) get expiring sessions.
2016-07-25 12:07:31 +10:00
Arpit Jalan
a9207dafa7 FEATURE: configure session time via site setting for all the users (#4343) 2016-07-23 02:57:30 +05:30
Robin Ward
b2289d733f List the "Watching First Post" tags on preferences 2016-07-22 16:16:45 -04:00
Robin Ward
944b2aabfe Emoji sets shouldn't be root level keys 2016-07-22 15:27:51 -04:00
Robin Ward
da27237240 Rename win10 emoji 2016-07-22 15:18:10 -04:00
Robin Ward
16a67ad418 FEATURE: Win10 Anniversary Emoji set 2016-07-22 15:07:05 -04:00
Jeff Atwood
d7ffbf9c97 copyedit to reflect improved watch/track 2016-07-21 00:49:32 -07:00
Neil Lalonde
7c092b0fe0 FEATURE: add filter to show topics that have not been tagged 2016-07-20 16:21:51 -04:00
Guo Xiang Tan
1adfa0a4b5 FEATURE: Add SiteSetting to disable readonly mode during backup. 2016-07-19 17:44:04 +08:00
Guo Xiang Tan
1ea1cefb35 Extract Nginx log analyzer into a plugin that ships with Discourse. 2016-07-19 15:44:00 +08:00
Sam
c1a01b2a28 PERF: limit maximum number of topic links to 50
When a giant topic has huge numbers of links only show top 50
if expanded from the show more links... button.
2016-07-19 10:55:35 +10:00
Jeff Atwood
fa5942f56c make email tokens (forgot,activate) live for 48 hours 2016-07-18 02:00:18 -07:00
Jeff Atwood
d4161c6bce mark old ga.js settings obselete in help text 2016-07-18 01:58:22 -07:00
Vinoth Kannan
e99a73e16d New AWS S3 Storage Mumbai region added (#4335)
* ap-south-1 region added

* Update client.en.yml

* ap-south-1 region added
2016-07-18 09:03:26 +02:00
Sam Saffron
46b34e3c62 FEATURE: remove user option for edit history public
Users can no longer opt-in for "public" edit history
if site owner disables it.

This feature adds cost and complexity to post rendering since
user options need to be premeptively loaded for every user in the
stream. It is also confusing to explain to communities with private edit
history.
2016-07-16 21:30:00 +10:00
Sam Saffron
6777bd2629 warm up v8 after fork 2016-07-16 15:11:34 +10:00
Robin Ward
2d1d9a78b8 Revert "Try warming up pretty text before we fork"
This reverts commit 2e71e6fc6f.
2016-07-15 18:10:22 -04:00
Jeff Atwood
2ded524b5a remove direct sendgrid link as it is a spam signal 2016-07-14 19:00:10 -07:00
Neil Lalonde
ba637e40b6 FEATURE: Google Tag Manager Universal Analytics support 2016-07-14 16:35:20 -04:00
Hu Ming
f8a12d4940 Add support for AWS cn (#4327) 2016-07-14 16:56:09 +02:00
Robin Ward
2e71e6fc6f Try warming up pretty text before we fork 2016-07-13 17:07:39 -04:00
Guo Xiang Tan
5fed886c8f FIX: Update post replies when we move posts. (#4324) 2016-07-13 17:34:21 +02:00
Jeff Atwood
467b35df14 shorten copy for Watching First Post 2016-07-13 02:08:06 -07:00
Sam Saffron
dbc25a9d64 FEATURE: flags for suppressing pinned expansion
To suppress pinned excerpt expansion
on mobile set "show_pinned_excerpt_mobile" to false

To suppress pinned excerpt expansion
on desktop set "show_pinned_excerpt_desktop" to false
2016-07-12 13:53:59 +10:00
Robin Ward
bba0fd0654 REFACTOR: PreloadStore to ES6 2016-07-11 12:57:05 -04:00
Robin Ward
a546395397 REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
Arpit Jalan
5a77f558ee Update Translations 2016-07-11 20:27:50 +05:30
Sam
f1b1b0da14 FEATURE: show watched first post in user page 2016-07-08 14:08:10 +10:00
Sam
4161ee210a FEATURE: improved tag and category watching and tracking
- present tags watched on the user prefs page
- automatically watch or unwatch old topics based on watch status

New watching and tracking logic takes care of handling old topics
(either with or without read state)

When you watch a topic you now watch historically

Also removes confusing warnings from user.
2016-07-08 12:58:30 +10:00
Robin Ward
5f91919663 Email support for watching first post 2016-07-07 12:23:19 -04:00
Robin Ward
2005565c9c Server side code for Watching First Post Only 2016-07-07 11:21:50 -04:00
Robin Ward
1eb64151f6 User interface for watching first post 2016-07-07 11:21:50 -04:00
Guo Xiang Tan
2b651b20cf
UX: Display message when user has no notifications instead of a blank page. 2016-07-07 18:25:48 +08:00
Arpit Jalan
2facb6190f FEATURE: new site setting download_remote_images_max_days_old 2016-07-06 19:33:51 +05:30
Sam
473363e0fa only enable bullet on demand 2016-07-05 11:10:42 +10:00
Sam
ff37685aef improve copy 2016-07-04 18:55:49 +10:00
Guo Xiang Tan
0ffe8402a9
FIX: SiteSettings not avaliable in initializers on dev env. 2016-07-04 11:15:29 +08:00
Sam
468244e418 remove uneeded copy 2016-07-04 09:53:19 +10:00
Arpit Jalan
2f3ee3b658 FEATURE: new site setting suggested_topics_max_days_old 2016-07-03 15:07:56 +05:30
Jeff Atwood
886d08abfb correct bad copyedit 2016-07-02 15:59:38 -07:00
Guo Xiang Tan
42ce59d257
Partially revert https://github.com/discourse/discourse/commit/09b92dd3. 2016-07-01 01:28:49 +08:00
Arpit Jalan
342783e716 Update Translations 2016-06-30 13:47:13 +05:30
Guo Xiang Tan
136b1b504d
Allow force_https to be shadowed by a global setting. 2016-06-29 15:24:06 +08:00
Guo Xiang Tan
918b015bdb
Move comment to the right place. 2016-06-29 15:23:29 +08:00
Guo Xiang Tan
8db3ab5f2a Merge pull request #4292 from tgxworld/rename_use_https_to_force_https
Rename `SiteSetting#use_https` to `force_https`.
2016-06-29 15:17:57 +08:00
Guo Xiang Tan
20359788dc
Rename SiteSetting#use_https to force_https. 2016-06-29 15:02:43 +08:00
Sam
f88cf4e2f0 Merge pull request #4226 from xfalcox/non-persistent-session
FEATURE: add setting permanent_session_cookie to configure session st…
2016-06-29 16:47:31 +10:00
Sam
4b7b80a5c2 Merge pull request #4259 from tgxworld/update_dependencies
Update dependencies
2016-06-29 12:20:18 +10:00
Guo Xiang Tan
4a143d584b
Don't log bullet alerts in the console. 2016-06-29 09:36:32 +08:00
Jeff Atwood
8fbcda5bf1 minor copyedit 2016-06-28 14:52:21 -07:00
Régis Hanol
214f5bff5c don't send more than 1 reply per day to auto-generated emails 2016-06-28 16:42:05 +02:00
Sam
1411eedad3 FEATURE: offer to unwatch categories when unwatching category 2016-06-28 18:34:20 +10:00
Guo Xiang Tan
3e07658fb2
Don't alert. 2016-06-28 11:53:45 +08:00
Guo Xiang Tan
9ed79d8ecd
Add Bullet gem to detect N+1 queries. 2016-06-28 09:29:42 +08:00
Régis Hanol
d18e9a5293 validator was on the wrong site setting 2016-06-27 22:48:27 +02:00
Jeff Atwood
db1b0e2235 minor copyedit 2016-06-26 23:34:40 -07:00
Arpit Jalan
83309752ae FEATURE: new site setting 'code formatting style' 2016-06-27 01:00:11 +05:30
Neil Lalonde
db2bc41110 Update translations 2016-06-21 11:16:31 -04:00
Jeff Atwood
bb1fdd8134 very minor copyedit 2016-06-20 17:16:34 -07:00
Jeff Atwood
6cc63592f7 better copy on max topics/replies in first day 2016-06-20 16:24:08 -07:00
Régis Hanol
5e2545a578 FEATURE: improve support for (whitelisted) SVGs as images 2016-06-20 10:22:13 +02:00
Sam
8866169879 FEATURE: can invite/revoke groups on private messages 2016-06-20 16:29:27 +10:00
Jeff Atwood
8d60e09fc4 minor copyedit 2016-06-17 14:53:07 -07:00
Jeff Atwood
d374913547 very minor unsubscribe copyedits 2016-06-17 12:23:36 -07:00
Sam
977facf4e4 clean up copy and styling of mailing list pref 2016-06-17 11:28:49 +10:00
Sam
852860de66 FEATURE: simpler and friendlier unsubscribe workflow
- All unsubscribes go to the exact same page
- You may unsubscribe from watching a category on that page
- You no longer need to be logged in to unsubscribe from a topic
- Simplified footer on emails
2016-06-17 11:28:49 +10:00
Jeff Atwood
98d95cd7ee UX: switch to glyph for exit anon 2016-06-16 15:23:07 -07:00
Jeff Atwood
1ca52615a6 very minor copyedit 2016-06-16 01:53:44 -07:00
Guo Xiang Tan
23e32839b0 Merge pull request #4258 from gschlager/i18n
Add notes to date and number formats to help translators
2016-06-16 10:29:01 +08:00
Neil Lalonde
d62f2b4d67 UX: rename setting num_flags_to_block_new_user to num_spam_flags_to_block_new_user 2016-06-15 13:19:06 -04:00
Sam
84a1b863a6 UX: add link to watched topics from prefs page 2016-06-15 12:38:47 +10:00
Jeff Atwood
c860bd0781 remove Google+ as default from share link
sorry Google! It was a nice try!
2016-06-14 12:27:21 -07:00
Neil Lalonde
1dae7fbe04 FIX: move non-admin i18n keys out of admin_js section 2016-06-14 12:55:08 -04:00
Régis Hanol
e97e0bb311 FEATURE: new FirstReplyByEmail bronze badge 2016-06-13 15:37:14 +02:00
Régis Hanol
49f8a2baa7 FEATURE: support for mandrill webhooks 2016-06-13 12:32:14 +02:00
Guo Xiang Tan
142b74b01b
Add default queues to sidekiq.yml. 2016-06-13 09:34:52 +08:00
Jeff Atwood
3de2d7a003 better invite copy 2016-06-12 03:02:07 -07:00
Jeff Atwood
73859e8315 revise new user welcome for 1.6 2016-06-10 23:54:52 -07:00
Jeff Atwood
176d9e4863 UX: use link icon for linked posts ;) FINAL DECISION 2016-06-10 22:50:49 -07:00
Jeff Atwood
d1c5949922 switch to dual-way arrow for links 2016-06-10 16:09:10 -07:00
Régis Hanol
dffe50a2e6 new alternative reply by email addresses 2016-06-10 16:14:42 +02:00
Guo Xiang Tan
09b92dd345
Bump minimum Ruby version to 2.3. 2016-06-10 11:40:42 +08:00
Jeff Atwood
a4e705648b "digest" is now "summary" 2016-06-09 17:38:49 -07:00
Jeff Atwood
8b5dfeb18f ignore a few more common meaningless JS errs 2016-06-09 16:38:46 -07:00
Neil Lalonde
a6090339a7 FEATURE: tag group options: limit usage of one tag per group, tags in a group can't be used unless a prerequisite tag is used 2016-06-09 16:01:19 -04:00
Gerhard Schlager
c97bc851cf
Add notes to date and number formats to help translators 2016-06-09 20:58:12 +02:00
Arpit Jalan
024c2e90c1 Update Translations 2016-06-09 22:07:41 +05:30
zachGlasgow
42ec8a7c3d Add constraints to remove dots from username. (#4255)
Rails is using dots as a separator for formatted routes. As a result
if the username has more than one dot it will not match the route.

Bug raised here -> https://meta.discourse.org/t/refreshing-a-users-detail-page-in-admin-doesnt-work-in-some-cases/44891
2016-06-09 09:52:42 +02:00
Guo Xiang Tan
8f5d3a5cbd UX: Use relative age for logs notice instead. 2016-06-09 11:26:07 +08:00
Jeff Atwood
aaafd9f26e slightly better group mention and link dupe copy 2016-06-08 12:37:52 -07:00
Robin Ward
2169b1ecbc FIX: Duplicate link message should link to the post 2016-06-08 12:35:11 -04:00
Arpit Jalan
40e9e1be66 FEATURE: user-friendly custom message 2016-06-08 18:23:22 +05:30
Sam
6d10812b26 FEATURE: auto expand incoming/outgoing links 2016-06-08 16:49:01 +10:00
Jeff Atwood
dd3ddce448 add copy and settings for TL3 blocks 2016-06-07 23:42:30 -07:00
Sam
4bf3fa5356 FEATURE: allow admins to prioritize full name vs username in the UI
Use the site setting prioritize_username_in_ux to switch between prioritizing
the full name vs username
2016-06-08 14:29:24 +10:00
Neil Lalonde
a49ace0ffb FEATURE: ability to restrict tags to categories using groups 2016-06-07 15:36:20 -04:00
Robin Ward
431179dd25 FEATURE: Prompt users when they are entering duplicate links 2016-06-07 14:47:22 -04:00
Robin Ward
6aaa484baa REFACTOR: Move composer messages to store 2016-06-07 14:47:22 -04:00
Arpit Jalan
4253141700 FEATURE: custom email message for topic invites 2016-06-07 23:43:15 +05:30
Arpit Jalan
02e461de8d UX: better invite modal 2016-06-07 13:56:56 +05:30
Sam
ba8aec2bc3 added comment for brotli support 2016-06-07 16:58:36 +10:00
Régis Hanol
75c20640fe tell the user it should be the secret key 2016-06-07 01:33:15 +02:00
Régis Hanol
ee257a2bb0 FIX: need to use mailgun's secrect API key instead of the public key 2016-06-07 01:30:34 +02:00
Jeff Atwood
5c3e36aec2 Merge pull request #4252 from techAPJ/invite-email-improvements
FEATURE: customize invite email message
2016-06-06 14:24:39 -07:00