Commit Graph

4287 Commits

Author SHA1 Message Date
Hung Thinh acad93f431 Create client.vi_VN.yml
Vietnamese file : translate for use
2016-02-19 02:26:01 +07:00
Sam e8f76c335a Merge branch 'master' into vdom 2016-02-17 18:10:12 +11:00
Régis Hanol 63b9d1c645 FIX: sends an email notifcation when a user's post is linked 2016-02-16 18:29:23 +01:00
Robin Ward 3ea1f88cdc Merge branch 'master' into vdom 2016-02-16 11:48:42 -05:00
Erick Guan 0c6e5befe4 FIX: topic summary description text was conflicts with reply counter 2016-02-16 12:38:51 +01:00
Dan Dascalescu c75360f809 Capitalize "ip" in "ip address" 2016-02-15 15:59:31 -08:00
Sam 1dc168a7e6 Merge branch 'master' into vdom 2016-02-15 19:29:59 +11:00
Jeff Atwood 2c0b36cb72 omit needless words 2016-02-13 15:58:52 -08:00
Robin Ward d1e85bdd8b FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -05:00
Régis Hanol cad7fc1062 FIX: don't allow blocked user to send emails in 2016-02-11 10:39:57 +01:00
Jeff Atwood 5120dcfb3d we don't need to show (currently enabled) 2016-02-10 16:36:25 -08:00
Jeff Atwood 081c196b52 minor copyedit 2016-02-10 16:34:37 -08:00
Régis Hanol 91bb38626c FEATURE: new incoming email details modal 2016-02-10 22:00:27 +01:00
Régis Hanol c2cc9da9a7 remove the wiki color 2016-02-10 11:18:37 +01:00
Régis Hanol 8944d62aa6 add validator for the 'reply_by_email_enabled' site setting 2016-02-09 23:35:40 +01:00
Arpit Jalan e5aecdf09f Update Translations 2016-02-09 20:24:03 +05:30
Erick Guan 35142847ba FIX: Prepend the user id before username in admin user routes 2016-02-09 15:14:13 +01:00
Arpit Jalan 82a75c00c0 UX: change 'Visit Topic' to 'Visit Message' for message notification email 2016-02-09 13:39:10 +05:30
Jeff Atwood 1a1dcb59f9 this period bothered me and it had to go 2016-02-08 15:37:49 -08:00
Régis Hanol 460665895c properly name purge emails/email logs site settings 2016-02-08 22:18:52 +01:00
Régis Hanol ac863bab91 FEATURE: new 'suppress_email_logs_after_days' site setting 2016-02-08 18:47:35 +01:00
Gerhard Schlager f7eb7f25bd UX: Use i18n for date picker 2016-02-05 21:49:21 +01:00
Guo Xiang Tan 0058d09e35 Second attempt which removes any kind proxying. 2016-02-05 08:51:10 +08:00
Guo Xiang Tan 46589a1a0c FEATURE: AR adapter to failover to a replica DB server. 2016-02-05 08:51:10 +08:00
Neil Lalonde 71a87bea0c Update translations 2016-02-04 13:35:14 -05:00
Régis Hanol 2d170712d7 new 'private_email_time_window_seconds' site setting 2016-02-04 17:22:16 +01:00
Régis Hanol 03938afc9b Merge pull request #3992 from techAPJ/report-filter
FEATURE: filter admin reports via user group
2016-02-04 11:21:14 +01:00
Arpit Jalan eec8436cfe FEATURE: filter admin reports via user group 2016-02-04 11:23:49 +05:30
Sam Saffron 209b022385 PERF: cut down on memory usage allowed to redis
This limits the amount of backlog message bus channels can have.
2016-02-04 13:58:38 +11:00
Sam Saffron bc75010b20 FEATURE: suggested messages for messages
FEATURE: clicking envelope takes you to inbox

Suggested messages works somewhat like suggested topics.

- New show up first (in either group inbox or inbox)
- Then unread (in either group inbox or inbox)
- Finally "related" which are messages with same participants as the current pm.
2016-02-03 18:50:05 +11:00
Arpit Jalan bcc0ed7c9c Update Translations 2016-02-02 15:24:01 +05:30
Régis Hanol cf4c256b17 FEATURE: new 'raw email' modal when listing rejected emails 2016-02-01 21:41:49 +01:00
Régis Hanol 49d1f88f6e FIX: support incoming emails with no subject 2016-02-01 12:16:15 +01:00
Jeff Atwood 161170aabe Merge pull request #3928 from jamielinux/nginx204
Return 204 instead of 404 for favicon.ico requests
2016-01-30 01:48:22 -08:00
Jeff Atwood 9cf57e3ca4 more email rejection copy edits 2016-01-28 15:42:05 -08:00
Jeff Atwood 223e324eb9 some copyedits on mail rejection text 2016-01-28 12:20:59 -08:00
Gerhard Schlager f4f87921c2 Replace uncategorized_description setting with translation 2016-01-28 00:26:25 +01:00
Jeff Atwood 6a7bdfecc8 better shorter copy for group inbox 2016-01-27 10:25:54 -08:00
Sam Saffron 8aea75edec improve copy 2016-01-27 21:51:12 +11:00
Sam Saffron a764cc3a42 FEATURE: by default users track a group (as opposed to watch)
FEATURE: a rollup counting number of messages in the group inbox to tracking users
2016-01-27 21:38:33 +11:00
Arpit Jalan 74f22f95da FEATURE: log admin/moderator grant/revoke action 2016-01-27 15:39:04 +05:30
Jeff Atwood f71ae355ae minor copyedit 2016-01-26 15:14:02 -08:00
Gerhard Schlager 1368e2182a UX: Distinguish between noun and verb for "Archive" 2016-01-26 22:41:49 +01:00
Arpit Jalan 915afa703d Update Translations 2016-01-26 23:41:00 +05:30
Khoa, Le Ngoc 06e637fc4a Merge remote-tracking branch 'upstream/master' into update-locale-vietnamese
* upstream/master: (185 commits)
  SECURITY: Upgrade rails.
  FIX: new user summary page was broken
  Version bump to v1.5.0.beta9
  Remove addressable from Discourse.
  UX: change glyph when inviting existing user to a topic
  FIX: Allow for large free disk space
  Revert "FIX: disk_space should be a BigDecimal to handle large disk (closes #3923)"
  UX: improve styling of messages and mobile view of messages
  FIX: correct counts on user summary
  FIX: link to filtered down list of badges from summary FEATURE: pick featured badges in summary page
  FIX: do not allow new email to be duplicate FIX: return proper error message when email already exists
  retain unactivated accounts a bit longer default
  FEATURE: blocked users can send and reply to private messages from staff
  Remove Arel patch that has been merged upstream.
  correct path
  little typo
  FIX: Missing tag in CSS.
  PERF: remove 10-20ms of work from every page view
  FIX: remove green background for wiki (this can be re-added via a customization if needed)
  Hotfix for unsubscribe via email
  ...

# Conflicts:
#	.tx/config
2016-01-26 12:44:29 +07:00
Jeff Atwood 734450dcc3 retain unactivated accounts a bit longer default 2016-01-22 13:13:07 -08:00
Khoa, Le Ngoc 003399bf96 Update translation code 2016-01-22 14:54:48 +07:00
David García-Navas López de Cuéllar 954e3be7cf little typo 2016-01-21 15:05:03 +01:00
Arpit Jalan 1cee914565 FEATURE: make top criteria formula multipliers controlled by site
setting
2016-01-21 10:30:06 +05:30
Régis Hanol fc3bedaaed Merge pull request #3921 from gschlager/locale-sk
Add Slovak locale
2016-01-20 15:38:48 +01:00
Régis Hanol c2c01cdb5d FIX: username suggester to account for the more relaxed username rules (closes #3907) 2016-01-20 15:37:34 +01:00
Régis Hanol ea02b7f54d Merge pull request #3961 from dandv/patch-5
Include backups among items uploadable to s3
2016-01-20 14:39:21 +01:00
Régis Hanol f61537bc16 Merge pull request #3952 from gdpelican/unsubscribe-via-email
Unsubscribe via email
2016-01-20 14:38:14 +01:00
James Kiesel c7283751a3 Unsubscribe via email 2016-01-20 22:25:25 +13:00
Sam Saffron 7303f8f309 FEATURE: first pass at user summary page 2016-01-20 15:14:25 +11:00
Neil Lalonde 9ad226aaa8 FEATURE: add email query param to login, signup, and password-reset URLs to prefill form 2016-01-19 16:53:46 -05:00
Régis Hanol 11ea16a91a FIX: localize S3 region names 2016-01-19 17:14:45 +01:00
Régis Hanol 5018a8033d FIX: add link to user profile for staged users 2016-01-19 16:41:07 +01:00
Régis Hanol 29fbc2d7bc FIX: add missing 'user_replied_pm' translation 2016-01-19 15:47:38 +01:00
Régis Hanol 3083657358 FEATURE: better email in support
FEATURE: new incoming_email model
FEATURE: infinite scrolling in emails admin
FEATURE: new 'emails:import' rake task
2016-01-19 00:57:55 +01:00
Jeff Atwood d0bcea3411 better copy on read only mode 2016-01-18 14:17:38 -08:00
Jeff Atwood 28cbeaf6be add reply formatting info to new user tips 2016-01-18 14:10:14 -08:00
Arpit Jalan bfa4e6b69c Update Translations 2016-01-19 01:29:19 +05:30
Sam ca3e2b4da3 FEATURE: you can not drill down and see why you have badges
Clicking on badges filters down the list to a particular user.
2016-01-18 17:59:20 +11:00
Dan Dascalescu a566adc5b2 Include backups among items uploadable to s3
Enabling S3 backups comes with a warning "requires valid S3 credentials entered in Files settings". This commit amends the description of s3_access_key_id to confirm it's the correct location for backup as well as image uploads to S3.
2016-01-16 18:08:27 -08:00
Neil Lalonde b8299a2710 log when staff blocks/unblocks someone 2016-01-14 15:05:11 -05:00
Neil Lalonde 12790d8dcc FEATURE: staff can block users, which prevents them from creating topics and replies 2016-01-14 14:42:06 -05:00
Jeff Atwood ffb24bf82d omit needless words 2016-01-14 00:31:57 -08:00
Arpit Jalan 69416dde96 FIX: set minimum value for email_token_valid_hours setting 2016-01-14 12:51:34 +05:30
Guo Xiang Tan 365301fb23 FIX: Typo. 2016-01-13 18:52:59 +08:00
Guo Xiang Tan 0d51315ec0 Merge pull request #3930 from tgxworld/ux_better_representation
UX: Improve copy for toolbar button that triggers emojis modal.
2016-01-13 18:52:29 +08:00
Guo Xiang Tan f1b8d2c52b UX: Improve copy for toolbar button that triggers emojis modal. 2016-01-13 18:51:46 +08:00
Régis Hanol 737c606710 FIX: 'cancel_scheduled_job' wasn't working due to sidekiq upgrade 2016-01-13 09:08:26 +01:00
Arpit Jalan e676974f16 Merge pull request #3953 from techAPJ/wiki
FEATURE: allow users to wikify their own posts based on trust level
2016-01-13 09:53:33 +05:30
Régis Hanol e2744fc19f FIX: adding the 'contains_messages' column back 2016-01-12 12:06:51 +01:00
Régis Hanol 8049dfdfda CLEANUP: remove 'contains_messages' leftover 💩 2016-01-12 11:29:26 +01:00
Sam 06b5798fb9 fix activity pending route, hidden for now 2016-01-12 15:48:44 +11:00
Arpit Jalan 06bac23e5f FEATURE: allow users to wikify their own posts based on trust level 2016-01-12 08:44:25 +05:30
Jeff Atwood 14c1100209 make "Visit the Topic" first text / buttonon email line 2016-01-11 16:49:28 -08:00
Régis Hanol 98c0fac461 FEATURE: add small action post when adding/removing users in messages 2016-01-11 12:42:06 +01:00
Neil Lalonde d732c0876a Update translations 2016-01-08 15:50:00 -05:00
Guo Xiang Tan 9f05361f14 Allow sites to set HTTP basic authentication through nginx. 2016-01-08 12:49:17 +08:00
Sam e451d47e84 Revert "PERF: send Content-Length from Rails on all requests"
This reverts commit ea0e238ae1.

Does not seem needed reverting
2016-01-08 11:36:32 +11:00
Sam Saffron ea0e238ae1 PERF: send Content-Length from Rails on all requests 2016-01-07 21:15:55 +11:00
Guo Xiang Tan 16d15a7938 Revert "FIX: Typo in site settings."
This reverts commit 19cd80f504.
2016-01-05 17:31:46 +08:00
Guo Xiang Tan 19cd80f504 FIX: Typo in site settings. 2016-01-05 17:15:47 +08:00
Sam 268e0f3b2b remove http 1.1 in case it has side effects 2016-01-05 07:54:12 +11:00
Neil Lalonde c7df6783a9 FIX: only invalidate password reset links using javascript 2016-01-04 11:48:54 -05:00
Robin Ward 0ba1e8a76f Merge pull request #3937 from tgxworld/implement_#_category
FEATURE: Autolinking to category using hashtags.
2016-01-04 11:14:28 -05:00
Guo Xiang Tan c1dbf5c1c4 FEATURE: Autolinking to category using hashtags. 2016-01-05 00:12:24 +08:00
Arpit Jalan 593c22eda1 Update Translations 2016-01-04 21:01:49 +05:30
Sam b8471177dc clean up config file 2016-01-04 16:13:44 +11:00
Sam Saffron 0e2ded278d Don't buffer message bus, this allows us to stream 2016-01-04 09:56:30 +11:00
Sam Saffron ab5cd3ad3b allow http 1.1 via proxy 2016-01-04 09:52:11 +11:00
root e0ffce1cad Add locale for Vietnamese 2016-01-03 10:05:28 +00:00
Arpit Jalan e45caa7e2e make wiki help text general 2015-12-30 14:43:35 +05:30
Arpit Jalan 51ced7aeae make site setting for read time word count per minute 2015-12-30 12:15:30 +05:30
Sam a4587b18f5 FEATURE: allow users to archive messages from message page 2015-12-30 13:26:39 +11:00
Neil Lalonde cee4da82d8 FIX: remove max value of tl3 requires days visited site setting because tl3 time period is configurable now. Setting tl3 requires days visited higher than tl3 time period will disable tl3 promotions. 2015-12-29 12:59:59 -05:00
Arpit Jalan 90d15ba588 Update Translations 2015-12-29 23:16:17 +05:30
Arpit Jalan 70e0955498 fix desktop notification title for group mentions 2015-12-29 22:22:35 +05:30
Arpit Jalan 6ef1537ee0 FEATURE: better unfurling of Discourse topics on Slack 2015-12-28 19:10:19 +05:30
Arpit Jalan 3a28bafc0f FEATURE: onebox internal audio or video files 2015-12-25 01:52:14 +05:30
Arpit Jalan 47410f1b99 Update Translations 2015-12-23 17:01:43 +05:30
Sam 03ea0bfe22 FEATURE: allow users to archive messages
Messages are now in 3 buckets

- Inbox for all new messages
- Sent for all sent messages
- Archive for all messages you are done with

You can select messages from your Inbox or Sent and move them to your Archive,
you can move messages out of your Archive similarly

Similar concept applied to group messages, except that archiving and unarchiving
will apply to all group members
2015-12-23 11:09:30 +11:00
Arpit Jalan f40249faad FEATURE: make trust level 3 time period admin setting 2015-12-22 23:26:19 +05:30
Arpit Jalan c87fff670d add category list label and state 2015-12-21 23:07:16 +05:30
Jamie Nguyen eed86e9afc Do not log favicon.ico requests 2015-12-21 12:14:36 +00:00
Jamie Nguyen e8919df110 Return 204 instead of 404 for favicon.ico requests 2015-12-21 12:13:56 +00:00
Jeff Atwood e83f050454 shorter email footer copy 2015-12-20 23:38:08 -08:00
Sam 63076a841e Merge branch 'refactor_user_page' 2015-12-20 16:50:33 +11:00
Sam a8b5192efd FEATURE: User page refactor
Re-organise user page so it is easier to find interesting info
split it into tabs

- Introduce notifications and messages tabs
- Stop couting stuff for the user page to speed up rendering
- Suppress more information when viewing your own profile
2015-12-20 16:45:49 +11:00
Neil Lalonde fe10f3e0a3 Update translations 2015-12-18 10:48:02 -05:00
Arpit Jalan 4c967d11b4 FEATURE: log site text changes 2015-12-18 19:42:06 +05:30
Neil Lalonde 05b12d108f FIX: broken links to user profile on subfolder install 2015-12-15 14:26:23 -05:00
Sam 2230879a24 Merge pull request #3922 from featheredtoast/username-email-from-field
username as from in emails
2015-12-15 21:23:53 +11:00
Jeff Wong bffdc5907a username as from in emails
Add a site setting to display name in from header for emails
2015-12-15 00:34:04 -08:00
Régis Hanol 15c229195f FEATURE: notification_level on a per-group basis 2015-12-14 23:17:09 +01:00
Gerhard Schlager e56f8fa471 Add Slovak locale 2015-12-14 21:55:36 +01:00
Arpit Jalan d0bbf5c9a6 Update Translations 2015-12-14 23:04:01 +05:30
Arpit Jalan e65a7370ef FIX: disable avatar education message when 'allow_uploaded_avatars' is
disabled
FEATURE: setting to disable avatar education message
2015-12-14 22:47:35 +05:30
Robin Ward b2c73e7045 UX: On mobile use a dropdown for topic controls instead of many buttons 2015-12-11 15:09:09 -05:00
Régis Hanol 978a1539fa new pop3_polling_enabled setting validator to ensure credentials are working before enabling it 2015-12-10 22:23:54 +01:00
Sam 8cf4d52cb6 FEATURE: split up group PMS on user page 2015-12-10 11:39:33 +11:00
Régis Hanol 1d70434de5 use light email template for staged users 2015-12-09 19:45:46 +01:00
Régis Hanol c447900e3b fix build 2015-12-09 12:33:09 +01:00
Régis Hanol ddda93b9f2 unhide the 'allow_staged_accounts' site setting 2015-12-09 12:14:01 +01:00
Jeff Atwood ccd8865bf3 make email unsubscribe footer a single line 2015-12-09 00:55:54 -08:00
Sam 77f4461c51 we need to bypass this in dev 2015-12-09 16:41:09 +11:00
Sam 65edbb609c Revert "Revert message bus upgrade"
This reverts commit 47e718f5b2.
2015-12-09 11:48:41 +11:00
Sam 47e718f5b2 Revert message bus upgrade 2015-12-09 11:45:11 +11:00
Sam d8795a5345 FIX: missing site id lookup causing message bus cross talk in multisite 2015-12-09 07:55:43 +11:00
Sam 2cc95af69b Revert "REVERT: message bus changes"
This reverts commit 4820d5c7b0.
2015-12-09 07:36:36 +11:00
Robin Ward 4820d5c7b0 REVERT: message bus changes 2015-12-08 15:32:31 -05:00
Arpit Jalan e52852dd0f FIX: Autoclose message was not correct when immediate
FEATURE: Warn when setting auto-close for right now
2015-12-08 18:16:48 +05:30
Régis Hanol 3aa5129f54 FEATURE: allow group members to see all messages on group page 2015-12-07 23:19:33 +01:00
Robin Ward b781b6aea3 Add `header_instructions` overridable translation for email headers. 2015-12-07 16:52:33 -05:00
Sam c866d5b42d Revert "Revert "PERF: move message bus to the front of the middleware stack""
This reverts commit cd1dd18f01.
2015-12-08 07:11:28 +11:00
Robin Ward cd1dd18f01 Revert "PERF: move message bus to the front of the middleware stack"
I suspect this commit is preventing Sidekiq from running inprocess.
2015-12-07 14:57:23 -05:00
Arpit Jalan b227897c44 Update Translations 2015-12-07 23:29:32 +05:30
Régis Hanol a37d575d7d FEATURE: new 'My Groups' messages filter in user page 2015-12-07 18:37:03 +01:00
Régis Hanol 578f606a1a add 'incoming_email' to groups 2015-12-07 12:39:28 +01:00
Sam 8d49091572 PERF: stop running VACUUM FULL only run VACUUM 2015-12-07 20:14:26 +11:00
Sam c04bcf8655 PERF: move message bus to the front of the middleware stack
Organise all initializers so they are properly ordered and use the same naming scheme
2015-12-07 14:51:24 +11:00
Sam 7917316f6f FEATURE: display warning on top of composer for group mentions
If users attempt to mention a group that is "mentionable" display a warning
informing them that people will be notified.
2015-12-04 13:41:07 +11:00
Jeff Atwood 18c9d966a1 reverse order of unsubscribe link options
should be in order that we want the user to do it
2015-12-03 16:14:43 -08:00
Jeff Atwood 89d7c56fb2 email footer copy improvements 2015-12-03 16:00:24 -08:00
Jeff Atwood d84fa69ade minor copyedit on dismiss unread 2015-12-03 15:31:56 -08:00
Jeff Atwood daada2b0d1 minor copyedits on flagging 2015-12-03 15:13:29 -08:00
Arpit Jalan 19f1314a3a remove unused locale strings 2015-12-02 13:07:58 +05:30
Sam d3c9050e0f improve copy 2015-12-02 15:57:50 +11:00
Sam d1a5d8ea62 FEATURE: show group mentions and topics in groups page 2015-12-01 16:52:43 +11:00
Robin Ward de88be2fbc Support for "Only show overridden" in site text customization 2015-11-30 15:25:08 -05:00
Arpit Jalan 04593b8fef Update Translations 2015-12-01 01:09:45 +05:30
Sam ad3dd161e7 FEATURE: first class group mentions built in
If you allow a group to be mentioned it can be mentioned with the @ symbol.

Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Arpit Jalan 5a7831265a add search example for category name with space 2015-11-29 02:07:24 +05:30
Arpit Jalan 86374c90de FIX: if the email template has multiple subjects, link to customize text page 2015-11-28 11:50:02 +05:30
Robin Ward 5e93140f85 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
Arpit Jalan 6354324f2f FIX: validate automatic membership email domains 2015-11-27 12:35:33 +05:30
Sam f74a6457ee FEATURE: allow CJK to be tokenized in non CJK sites.
Meaning a mixed English/Chinese site can still have a functioning search.
2015-11-27 16:35:27 +11:00
Régis Hanol ba0df7e4cd rename 'is_support' to 'contains_messages' 2015-11-26 18:40:54 +01:00
Régis Hanol 9ef8397164 new Category.is_support attribute 2015-11-26 18:31:24 +01:00
Régis Hanol 0d54c18c8b new hidden 'allow_staged_accounts' setting 2015-11-26 18:31:23 +01:00
Neil Lalonde 8a4c91f3ef Update translations 2015-11-25 17:09:48 -05:00
Sam 5ebffc0c94 remove template compiler, handle it in another way 2015-11-25 15:45:36 +11:00
Sam d6c925600f temporarily add back compiler while figuring out a better system 2015-11-25 15:11:57 +11:00
Sam d41a8a21cc FIX: show letter avatars even if NGINX is not running in Dev mode 2015-11-25 14:42:46 +11:00
Sam 0844350308 correct production mode due to ember loading changes 2015-11-25 13:57:10 +11:00
Robin Ward d65ec1af2e Rename `ninja_edit_window` to `editing_grace_period` :'( 2015-11-24 14:28:42 -05:00
Arpit Jalan 362c515f33 FEATURE: compose a new pre-filled message via URL 2015-11-24 18:55:45 +05:30
Sam 8e95c6cf5b allow external system avatar url to be shadowed by global 2015-11-24 12:15:28 +11:00
Arpit Jalan bde05fd334 Update Translations 2015-11-23 19:25:06 +05:30
Arpit Jalan db2799507b FIX: admin trust level user list URL should be consistent with new naming 2015-11-23 14:28:56 +05:30
Sam c7243bd6a2 Revert "cache cdn assets and strip cookies"
This reverts commit 18abf4f0d6.
2015-11-22 00:59:26 +11:00
Sam 18abf4f0d6 cache cdn assets and strip cookies 2015-11-22 00:33:20 +11:00
Neil Lalonde 523138f1fd FEATURE: add setting pending_users_reminder_delay to configure when to send reminders to moderators about user approvals based on how long new users have been waiting 2015-11-20 16:06:07 -05:00
Arpit Jalan 6ec336e56f Update Translations 2015-11-20 23:26:48 +05:30
Robin Ward 8eeb027c65 Can revert changes to email templates 2015-11-20 12:30:21 -05:00
Arpit Jalan bb1d0dea8a UX: better flagging options 2015-11-20 22:23:29 +05:30
Robin Ward f5b34d5f53 FEATURE: Admin interface for editing email templates 2015-11-19 16:39:34 -05:00
Robin Ward e168c5fde3 PERF: Much more performant, multisite aware I18n overrides 2015-11-19 16:36:59 -05:00
Sam 88f1a8f0b1 Merge pull request #3821 from mpalmer/letter-avatar-proxy
Proxy letter avatars by default
2015-11-19 20:02:16 +11:00
Jeff Wong cf86f27415 FEATURE: New setting to allow all caps posts
Adds a setting to ignore text_sentinel's check on all caps content.
2015-11-18 09:50:50 -08:00
Robin Ward 1be4b6a8f5 Refresh I18n customizations on change 2015-11-17 16:15:09 -05:00
Robin Ward bb76c389fd Merge pull request #3817 from gschlager/locale-pluralization
FIX: Pluralizations in English locale files
2015-11-17 12:35:24 -05:00
Régis Hanol 92ba6125c4 FEATURE: new 'automatically_unpin_topics' user preference 2015-11-17 18:21:40 +01:00
Sam Saffron 81bdd2328d FIX: stop sending a blank /favicon.ico
instead have nginx ship a 404 for it.
2015-11-17 19:34:05 +11:00
Arpit Jalan aeccc030d6 Update Translations 2015-11-16 20:55:35 +05:30
Gerhard Schlager a00c373b6f UX: Show translated modifier keys in editor shortcuts 2015-11-14 23:13:22 +01:00
Jeff Atwood c3724bd2cb add note about UTC time to backup time of day 2015-11-13 16:38:59 -08:00
Robin Ward 3720783c1b Refactor to our own Discourse I18n backend
This removes some monkey patches and makes testing easier.
It will also support database backed I18n changes.
2015-11-13 16:35:02 -05:00
Gerhard Schlager 6e33a21a7a FIX: Replace invalid pluralizations in locale files 2015-11-13 21:25:15 +01:00
Arpit Jalan 236f8bb0f7 Update Translations 2015-11-12 22:06:59 +05:30
Régis Hanol de95573d23 FEATURE: new 'backup_with_uploads' site setting 2015-11-12 16:23:59 +01:00
Régis Hanol 72a7bd38e1 FEATURE: new 'backup_time_of_day' site setting 2015-11-12 16:14:49 +01:00
Arpit Jalan ed331bc222 FIX: set max limit for max_topic_title_length setting 2015-11-12 11:59:55 +05:30
Sam Saffron 6dd4bc7d57 FEATURE: support group owner, capable of controlling group membership
Group owners are regular users that can add or remove users to a group
The Admin UX allows admins to appoint group owners
The public group UX will display group owners first and unlock UI to
add and remove members

Group owners can only be appointed on non automatic groups
Group owners may not appoint another group owner
2015-11-10 00:56:57 +11:00
Robin Ward e2a663bff1 Merge pull request #3812 from gwwar/emoji-embed
FIX: allow emoji class when crawling embedded content
2015-11-06 14:52:59 -05:00
Robin Ward 8ba7c06b7d Merge pull request #3735 from riking/patch-4
FIX: Discourse.BaseUri should not default to /
2015-11-06 14:52:19 -05:00
Régis Hanol 6b197179c9 FEATURE: new 'automatically_unpin_topics' site setting 2015-11-06 17:12:12 +01:00
Matt Palmer 952d07599a More tweaks for the letter avatar proxy config 2015-11-06 14:14:20 +11:00
Matt Palmer ab2e9a0beb Don't put the current hostname in external avatar URL 2015-11-06 14:14:20 +11:00
Matt Palmer c09f345cff Proxy letter avatars by default
On sites that don't otherwise configure an avatar fallback, Discourse will
now tell the client to get its letter avatars from a location which nginx
proxies to the centralised `avatars.discourse.org` service.  This alleviates
privacy concerns, whilst still providing some degree of performance benefit
(no need for every site to delay avatar response by 300ms for image
rendering).

It is still possible to gain the benefits of global image caching and the
lower latency of requesting directly from a CDN, by explicitly changing the
`external_system_avatars_url` site setting to
`https://avatars.discourse.org/letter/{first_letter}/{color}/{size}.png`.
2015-11-06 14:13:44 +11:00
kerryliu b7803fc68e FIX: allow emoji class when crawling embedded content, add rspc-html-matchers 2015-11-05 18:51:26 -08:00
Neil Lalonde a800ff1985 Update translations 2015-11-04 13:25:29 -05:00
Robin Ward d00762dcd5 Merge pull request #3787 from gschlager/locale-keys
FIX: Some strings in locale files were not translatable
2015-11-02 13:40:22 -05:00
Arpit Jalan a44c2f6ea3 Update Translations 2015-11-02 17:49:57 +05:30
Sam Saffron 606b10445e FEATURE: remove muted topics from suggested and latest 2015-11-02 09:20:22 +11:00
Sam Saffron 54da461024 UX: simplify Dismiss menu 2015-10-31 15:31:05 +11:00
Robin Ward 7eafca8f9d Remove unused translations 2015-10-30 15:31:44 -04:00
Arpit Jalan 574805b682 Update Translations 2015-10-30 18:16:52 +05:30
Régis Hanol b9437936ab Merge pull request #3848 from gschlager/patch-2
Remove example CSS selectors from locale file
2015-10-29 10:01:52 +01:00
Régis Hanol bb79e6aff7 FEATURE: new hide_user_profiles_from_public site setting 2015-10-28 19:56:08 +01:00
Robin Ward 6b236d3c83 FEATURE: Bulk Unlisting of topics 2015-10-27 16:57:40 -04:00
Robin Ward 47e25648df FEATURE: Change user groups in bulk via admin 2015-10-26 15:57:30 -04:00
Arpit Jalan c3cadbb4d8 Update Translations 2015-10-26 22:38:34 +05:30
Régis Hanol 0ea54e9255 UX: don't show an empty list when all extensions are authorized 2015-10-22 20:11:17 +02:00
Arpit Jalan 9793ea2c8a UX: change Dismiss button title and add tooltip 2015-10-22 07:52:47 +05:30
Arpit Jalan 717be06f17 Update Translations 2015-10-20 23:11:42 +05:30
Arpit Jalan 4a880a758f FEATURE: new Dismiss posts/topics modal 2015-10-20 16:07:02 +05:30
Robin Ward 94b60e62a2 FEATURE: New markdown editor re-written in Ember
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.

To avoid major breakage, this replaces it everywhere else it was
used:

* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts

A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Sam dfe3ecb914 PERF: disable prepared statements
see: https://github.com/rails/rails/issues/21992
2015-10-19 14:02:22 +11:00
Sam dc859beff3 FEATURE: add handle_mail admin route
you can post full email payloads to this endpoint /admin/email/handle_mail
2015-10-19 08:33:24 +11:00
Sam 805120fc95 FEATURE: add connnection reaping based on maximum age
This feature ensures connections to the db are always attempted to be closed
after 600 seconds of idle time.
2015-10-17 11:29:16 +11:00
Jeff Atwood 9e01a7d834 copyedits on category description topic text 2015-10-16 13:12:34 -07:00
Arpit Jalan 06f616792d Update Translations 2015-10-15 18:19:04 +05:30
Régis Hanol 37c5909a31 FIX: use the first image in the first post in the topic as opengraph image
FEATURE: new 'default_opengraph_image_url' setting
2015-10-15 11:00:47 +02:00
Robin Ward a527c58c7d UX: Show a nicer "Log In" screen if the user follows `/my/preferences` 2015-10-14 13:39:31 -04:00
Jeff Atwood b72b72747c switch to v2 avatars by default 2015-10-13 15:44:59 -07:00
Jeff Atwood b817bebdff clarify wording on globally pinned topics 2015-10-13 14:53:55 -07:00
Jeff Atwood 23f46cd6de update copy for muted topics 2015-10-13 14:40:35 -07:00
Robin Ward 7802757306 FIX: Username for topic creation is required 2015-10-13 16:33:26 -04:00
Robin Ward ae4ef1e70f Add spinner to composer saving 2015-10-13 13:06:24 -04:00
Sam e29fe77b45 FEATURE: make trust level for message sending configurable
- add min_trust_to_send_messages site setting (default 1) to allow admins
 to configure when messages can be sent between members
2015-10-12 11:15:48 +11:00
Arpit Jalan b72434d024 FEATURE: add 'change ownership' button in post admin wrench 2015-10-11 23:53:45 +05:30
Gerhard Schlager 11a6b61cbd Remove example CSS selectors from locale file 2015-10-11 14:48:37 +02:00
Arpit Jalan 43cd0912e6 Update Translations 2015-10-11 02:11:28 +11:00
cpradio 8cabc14099 FEATURE: Allow default period to be set for Top Page 2015-10-06 12:04:31 -04:00
Dan Dascalescu cce830e42c Fix run-on sentence re. entering HTML tables 2015-10-03 20:54:10 -07:00
Neil Lalonde 1e5ad6f219 Update translations 2015-10-02 10:40:28 -04:00
Gerhard Schlager 7186b4d641 Adds pluralization to js.user.invited.truncated
https://meta.discourse.org/t/showing-the-first-count-invites-needs-pluralization/33988
2015-10-01 16:22:08 +02:00
Sam 6f43b575a8 FEATURE: no need to cap new and unread together anymore
- leave unread alone
- cap new at 500 per site, with a site setting
2015-10-01 17:17:15 +10:00
Robin Ward 33e58c0587 FIX: You can click to see your own PMs from flags
Also refactors post action users to be a new object type since they can
have `post_url` which is not a field of a `User`
2015-09-30 12:28:55 -04:00
Robin Ward 4986314122 Add "more..." to emoji popup in composer. 2015-09-29 16:16:52 -04:00
Robin Ward 3aaa9a8722 Restrict access to the Email admin tab to Admins 2015-09-29 12:37:46 -04:00
Jeff Atwood 083bdcc8aa mild copyedits on rate limiting messages 2015-09-29 02:44:03 -07:00
Arpit Jalan a2e8e5f90b Update Translations 2015-09-29 12:30:01 +05:30
Sam 08ee367210 FIX: no keepalive tests for rake tasks, shell could be stalling threads 2015-09-29 10:17:56 +10:00
Sam 7ca75a88ce UX: always show logout link in user menu, use CSS to hide
.menu-panel .logout-link {display: none}
2015-09-25 12:15:34 +10:00
Sam 2422289c8b FIX: whispers should not be revealed in reply to, or reply expansion
FEATURE: mark whisper as experimental
FIX: badges should never apply to whispers
2015-09-25 10:16:19 +10:00
Robin Ward 0b4cb5cf0d Add better error messages for rate limits. 2015-09-24 13:52:46 -04:00
Arpit Jalan f031558aa5 Update Translations 2015-09-24 18:08:25 +05:30
Neil Lalonde 5ca26a7707 FEATURE: add site setting use_admin_ip_whitelist to enable/disable the whitelisting of admins by IP address 2015-09-23 12:15:08 -04:00
Robin Ward 7d4dbc9962 Give example values for CSS rules in embedding 2015-09-23 12:10:15 -04:00
Régis Hanol d4f5f0170c Merge pull request #3724 from gschlager/i18n
Always use locale fallback on server
2015-09-23 11:39:52 +02:00
Régis Hanol 36309e50cc Merge pull request #3767 from tgxworld/track_user_profile_views
Track user profile views
2015-09-23 11:38:18 +02:00
Régis Hanol ed717ccb6e Merge pull request #3794 from tgxworld/add_web_manifes
FEATURE: Add web manifest for Chrome users.
2015-09-23 11:35:14 +02:00
Régis Hanol 1aad58b642 Merge pull request #3781 from tgxworld/feature_log_category_settings
Feature log category settings
2015-09-23 11:34:08 +02:00
Sam 613761d1cd FEATURE: upgrade to Rails 4.2.4 2015-09-23 15:24:30 +10:00
Kane York e36c0966d0 FIX: :( page was never showing the URL 2015-09-21 11:38:37 -07:00
Arpit Jalan 7a9404750e Update Translations 2015-09-21 17:51:42 +05:30
Guo Xiang Tan 71eab8f4df FEATURE: Add web manifest for Chrome users. 2015-09-21 10:34:03 +08:00
Jeff Atwood ccdd614d7f missing updated copy for category notification prefs 2015-09-18 16:14:18 -07:00
Gerhard Schlager ade31c4468 FIX: Remove duplicate keys from locale files 2015-09-19 00:14:26 +02:00
Jeff Atwood 3457ecfd04 minor copy tweaks 2015-09-18 13:26:29 -07:00
Arpit Jalan 49fc4571b0 Update Translations 2015-09-19 01:09:12 +05:30
Robin Ward cc516d3be0 Merge pull request #3743 from sitepoint/topic-embed-info
Add embed/info endpoint for TopicEmbed queries
2015-09-18 11:00:01 -04:00
Jeff Atwood f37f6f7673 minor embed style tweak 2015-09-18 02:44:13 -07:00
Sam a4ace3f08e FEATURE: ui for ordering search results in full page mode 2015-09-18 17:16:53 +10:00
Guo Xiang Tan f39b9124b6 FEATURE: Log staff actions for Category changes. 2015-09-18 10:53:08 +08:00
Régis Hanol 07e7b07b63 FIX: refreshing gravatar wasn't working 2015-09-17 19:42:44 +02:00
Jeff Atwood 33f23500f9 minor copyedit 2015-09-17 00:20:34 -07:00
Jeff Atwood 0969bd0f0d tighten up post spacing on mobile 2015-09-16 23:48:15 -07:00
Kane York 7e8f4286e3 FEATURE: Allow emoji in some translated strings 2015-09-16 18:33:17 -07:00
Jeff Atwood fbfdb4c28a minor copyedit 2015-09-16 17:18:16 -07:00
Jeff Atwood 4714483612 copyedits on anon user call to signup action 2015-09-16 17:16:17 -07:00
Neil Lalonde a2e51b0715 FIX: too few topics/posts notice will only show what needs to be done 2015-09-16 17:12:11 -04:00
Kane York 390af7118a Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-16 10:06:47 -07:00
Arpit Jalan 3ba6d54843 Update Translations 2015-09-16 19:50:29 +05:30
Régis Hanol 5277ec1ac0 FIX: ensure we have a bucket before enabling backups to S3 2015-09-16 15:55:26 +02:00
Guo Xiang Tan 21725cc907 FEATURE: Admin dashboard data for user profile views. 2015-09-16 14:48:31 +08:00
Guo Xiang Tan 7acc93b2a0 FEATURE: Track user profile views. 2015-09-16 14:48:31 +08:00
Jude Aakjaer 9cca510944 Add embed/info endpoint for TopicEmbed queries 2015-09-16 03:22:24 +00:00
Sam 922c09784b shorten so fits better in UI 2015-09-16 12:33:11 +10:00
Sam b2ef9a02bf Less words, correct copy 2015-09-16 11:37:56 +10:00
Sam 75e8fa3ee0 document new search predicates 2015-09-16 08:51:28 +10:00
Jeff Atwood a60a251c93 we actually support inline replies, mostly 2015-09-15 15:04:28 -07:00
Kane York d47f1db2be Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-15 13:52:12 -07:00
Robin Ward b12ace5f9d FEATURE: Add staff gear icon to composer with options 2015-09-15 16:42:04 -04:00
Kane York 2e2fa693f5 You need to translate the site settings, dummy 2015-09-15 12:42:14 -07:00
Kane York 6be78861ca Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/lib/key-value-store.js.es6
2015-09-15 12:26:25 -07:00
Kane York 41721b0898 Rename variables 2015-09-15 12:25:29 -07:00
Guo Xiang Tan d49f382dcc [CI SKIP] Typo. 2015-09-15 15:55:23 +08:00
Sam d0199bb717 FEATURE: by default everyone gets the letter free avatar service 2015-09-15 09:54:18 +10:00
Robin Ward 3a93fafb58 FIX: Add `when` to split this topic text 2015-09-14 16:15:34 -04:00
Arpit Jalan 632c170caa Update Translations 2015-09-14 20:02:40 +05:30
Kane York a5f906db69 Merge branch 'master' into category-reorder 2015-09-13 19:07:36 -07:00
Sam 25a34e56f4 Merge pull request #3759 from davidgnavas/patch-1
little typo?
2015-09-14 11:59:48 +10:00
Sam d39faf7ddf FEATURE: allow external avatars to be shadowed by global 2015-09-14 09:43:40 +10:00
David García-Navas López de Cuéllar 6891c7f8aa little typo? 2015-09-13 22:45:26 +02:00
Gerhard Schlager 233bf9bc24 Always use locale fallback on server 2015-09-13 17:24:15 +02:00
Robin Ward c1d09be3cf Merge pull request #3753 from riking/patch-6
FIX: Fallbacks for missing interpolation arguments
2015-09-11 14:11:17 -04:00
Robin Ward 5af0f5f80e FEATURE: Whisper posts 2015-09-11 14:05:21 -04:00
Kane York 42263ac969 use translations (doh) 2015-09-11 09:46:54 -07:00
Kane York 6119d9fdc0 FIX: Fallbacks for missing interpolation arguments
This takes effect when an interpolation is removed from a translation in
a Discourse update.

The I18n::Backend::Fallbacks loops with a catch(:exception), so calling
throw(:exception) will cause it to use the next locale, until it reaches
English which is assumed to be correct.

Also, enable fallbacks in everything except development (#3724 for more
discussion) - we should be able to test this
2015-09-11 09:39:40 -07:00
Robin Ward 4f5d42ca69 Merge pull request #3749 from riking/patch-1
FIX: Don't allow editing seeded category security settings
2015-09-11 12:22:58 -04:00
Sam 6437cd0341 FEATURE: add support for generic external avatar services
This changes it so we only ship an avatar template down to the client
it has no magic, all it knows is how to plug in size
2015-09-11 15:10:56 +02:00
ismail-arilik 8ca2ab1b3b Update some strings to meet referred options lists
The options which changed strings are referred, were changed to lists so these strings were supposed to be generalized.
2015-09-11 15:02:12 +03:00
Arpit Jalan d73d4d4769 FIX: UserNameSuggester should not suggest usernames with a sequence of 2 or more special chars 2015-09-11 16:53:26 +05:30
Kane York aca70805f1 FIX: Discourse.BaseUri should not default to / 2015-09-10 17:34:08 -07:00
Régis Hanol 2742602254 FEATURE: support for external letter avatars service 2015-09-11 02:12:40 +02:00
Régis Hanol e43034f08f Revert "FEATURE: SVG letter avatars (based on @eviltrout's spike)"
This reverts commit cd77465788.
2015-09-11 00:23:52 +02:00
Régis Hanol cd77465788 FEATURE: SVG letter avatars (based on @eviltrout's spike) 2015-09-11 00:11:48 +02:00
Kane York d86d4752cb FIX: Don't allow editing seeded category security settings 2015-09-10 14:04:21 -07:00
Kane York c038758f8c FIX: Several fixes related to category reorder
- Move "New Category" and "Reorder Categories" into a dropdown
 - Always show "New Topic" on categories page, even for admins
 - Make category reorder modal full-height (.full-height-modal)
 - Move category reorder stylesheet out of admin stylesheet
2015-09-10 13:42:10 -07:00
Kane York 0c5fb207e9 FIX: Fix behavior of category reorder dialog 2015-09-10 13:04:25 -07:00
Arpit Jalan ad481b3427 FIX: permalinks like read.php should work 2015-09-11 00:16:37 +05:30
Jeff Atwood 9ba5d73ddf omit needless words 2015-09-09 22:16:15 -07:00
Régis Hanol 38cb72b329 FEATURE: upload placeholder 2015-09-09 23:14:06 +02:00
Robin Ward 9f826f1ad6 UX: Change style of "New" next to unread FAQ 2015-09-09 15:18:26 -04:00
Jeff Atwood 5ae6257504 shorter copy for post placeholder text 2015-09-09 04:27:27 -07:00
Régis Hanol 9a999bfe84 FIX: ensure we never have a string when an enum is Fixnum 2015-09-09 12:59:49 +02:00
Robin Ward d3666d3468 FIX: If private messages are disabled don't show the menu link 2015-09-08 16:32:20 -04:00
Régis Hanol 0e02e0272d FIX: always-enabled plugins should be, well, enabled 2015-09-08 19:28:05 +02:00
Robin Ward 2866440968 Don't cache urls with `emoji` in them unless they are images 2015-09-08 13:12:32 -04:00
Sam 71892cc5f4 FEATURE: select all / deselect all on search page 2015-09-08 16:11:21 +10:00
Arpit Jalan 21f81979cb Update Translations 2015-09-07 19:48:43 +05:30
Sam 335be272ff FEATURE: implement capping of new/unread
We cap new and unread at 2/5th of SiteSetting.max_tracked_new_unread

This dynamic capping is applied under 2 conditions:

1. New capping is applied once every 15 minutes in the periodical job, this effectively ensures that usually even super active sites are capped at 200 new items

2. Unread capping is applied if a user hits max_tracked_new_unread,
  meaning if new + unread == 500, we defer a job that runs within 15 minutes that will cap user at 200 unread

This logic ensures that at worst case a user gets "bad" numbers for 15 minutes and then the system goes ahead and fixes itself up
2015-09-07 12:03:17 +10:00
Kane York 342eba4374 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
Jeff Atwood 3a1c83bc35 increase new user image limit to 1 2015-09-06 03:11:02 -07:00
Robin Ward 32e2d7963a FEATURE: Show FAQ at top of the hamburger until the user reads it 2015-09-04 16:56:02 -04:00
Régis Hanol 76fac18085 FIX: link to COPPA in Privacy Policy 2015-09-04 17:14:42 +02:00
Arpit Jalan 4e2c932895 Update Translations 2015-09-04 18:59:15 +05:30
Jeff Atwood c1cd6a2792 add links to the too many tracked topics warning 2015-09-03 15:19:56 -07:00
Sam 25fb684565 ensure statistic collection is on 2015-09-03 12:00:19 +10:00
Tobias Eigen 85154422f1 Fix typo about table settings in server.en.yml
Intrepid n00b pull request at encouragement by @zogstrip. Fixing a small typo, as discussed on meta: https://meta.discourse.org/t/typo-in-description-of-allow-html-tables-admin-setting/32835?u=tobiaseigen
2015-09-02 12:46:47 -07:00
Régis Hanol a501947d67 FEATURE: suppress categories from the homepage 2015-09-02 20:25:18 +02:00
Robin Ward a76d1079b2 Support jumping to messages 2015-09-02 13:39:14 -04:00
Neil Lalonde 1fbc142b0c UX: add screen reader support to notifications. (title attribute is ignored by screen readers) 2015-09-02 12:29:30 -04:00
Sam a0dd0bf1af when looking at your own profile it should be collapsed. 2015-09-02 16:50:40 +10:00
Sam 6e04e5bd2c correct routing to allow for wider regex matching username 2015-09-02 14:57:26 +10:00
Sam 262f561a87 FEATURE: relax username rules to allow - and . and leading _
This relaxes our very strict username rules to allow for some long asked for requests

- leading _ is now allowed
- . is allowed except for trailing char and confusing extensions like .gif .json
- dash (-) is now permitted
2015-09-02 12:13:44 +10:00
Kane York 940b79ed5b more copyedits 2015-09-01 16:40:25 -07:00
Kane York 65192a09a6 copyedits 2015-09-01 16:20:24 -07:00
Kane York f595e562ea Signup CTA first attempt 2015-09-01 16:16:19 -07:00
Neil Lalonde 1bd0f5b015 FEATURE: group can grant a trust level when a user is added 2015-09-01 16:52:12 -04:00
Robin Ward f2fa7a39be FEATURE: Use shift+Z twice to log out 2015-09-01 16:37:54 -04:00
Jeff Atwood 5925155394 make Activate your Account more CLICK HERE-y 2015-09-01 00:11:23 -07:00
Sam a13e7d10cf FEATURE: site setting for show log out in header 2015-09-01 07:44:21 +10:00
Robin Ward 82ad3e0401 Support for jump to profile 2015-08-31 14:40:52 -04:00