Commit graph

4466 commits

Author SHA1 Message Date
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
Régis Hanol
ca1a532cf5 show 'revoke_email' in staff action logs 2016-06-06 22:58:09 +02:00
Neil Lalonde
aa3152530c delete tag group 2016-06-06 16:27:46 -04:00
Neil Lalonde
f3f6c2f98f FEATURE: tag groups 2016-06-06 14:18:48 -04:00
Régis Hanol
fe595f1653 FEATURE: mailjet webhook 2016-06-06 19:47:45 +02:00
Arpit Jalan
7b205ebba4 FEATURE: customize invite email message 2016-06-06 20:15:30 +05:30
Jeff Atwood
22e567c9b9 minor copyedit 2016-06-06 01:38:41 -07:00
Jeff Atwood
9a5a55d9ef slightly better review email notify copy 2016-06-05 12:38:37 -07:00
Arpit Jalan
4f4c1b54ba Update Translations 2016-06-04 00:15:03 +05:30
Régis Hanol
da43e4cf29 prevent the application from starting in development mode when SMTP settings are changed 2016-06-03 17:39:54 +02:00
Régis Hanol
5943483ef5 nope nope nope 2016-06-03 17:25:39 +02:00
Régis Hanol
99ad251731 different email footer when mailing_list_mode is enabled 2016-06-03 15:48:54 +02:00
Jeff Atwood
9ac8974dd1 slight back button improvements 2016-06-03 02:06:35 -07:00
Arpit Jalan
c4e1ad0953 FEATURE: Resend all pending invitations 2016-06-03 12:23:13 +05:30
Jeff Atwood
c7aa8bbbea better copy for username change warning 2016-06-02 13:47:16 -07:00
Robin Ward
43e7890dcf
FIX: Add more descriptive text for expanding links 2016-06-02 13:07:47 -04:00
Guo Xiang Tan
8817b00a4c Merge pull request #4173 from fantasticfears/locale
Add translation for topic title and remove dangling validation
2016-06-02 17:18:48 +08:00
Régis Hanol
31c0a22266 UX: special message when the user have enabled mailing_list_mode 2016-06-01 22:47:42 +02:00
Régis Hanol
9704603fab FEATURE: sendgrid webhooks 2016-06-01 21:48:06 +02:00
Arpit Jalan
e489af0b50 add Estonian language files 2016-06-01 15:25:21 +05:30
Jeff Atwood
2bebc383b1 better copy on disable PM setting 2016-05-31 17:36:11 -07:00
Jeff Atwood
9fac7c6107 better copy, I guess "digest" --> "summary" now 2016-05-31 12:47:44 -07:00
Jeff Atwood
b86eaa08a4 better copy on unsub via email setting 2016-05-31 12:28:23 -07:00
Robin Ward
447c16800b
UX: Add tooltip text for the timeline notifications button 2016-05-31 15:23:22 -04:00
Robin Ward
e5ad297ef0
UX: Make the timeline dates the same format 2016-05-31 10:51:52 -04:00
Robin Ward
0e3b275684
UX: Add title text on back button on timeline 2016-05-31 10:51:50 -04:00
Robin Ward
3c30fa628b
FIX: "Go Back" wasn't displaying properly most of the time 2016-05-31 10:51:50 -04:00
Robin Ward
3cebba5b1f
UX: Add "ago" to the bottom of the timeline when relative 2016-05-31 10:51:49 -04:00
Robin Ward
d8d1c7013e
UX: Suppress date on on timeline for previous years 2016-05-31 10:51:49 -04:00
Robin Ward
a8251b3036
UX: Suppress "replies" when there are many replies in the timeline 2016-05-31 10:51:44 -04:00
Robin Ward
5901faa643
UX: Use relative age instead of "Now" 2016-05-31 10:51:43 -04:00
Robin Ward
1c49c57494
UX: Change the date formatting for timeline start + scroller 2016-05-31 10:51:42 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget 2016-05-31 10:51:39 -04:00
Robin Ward
4a7567b485
UX: Move links from gutter to below posts 2016-05-31 10:51:37 -04:00
Neil Lalonde
6796b15857 FEATURE: restrict tags to be used in a category 2016-05-30 16:56:33 -04:00
Régis Hanol
116efffdaa FEATURE: webhooks support for mailgun 2016-05-30 17:11:17 +02:00
Neil Lalonde
05c8bca222 show tags usage in search options 2016-05-27 15:02:43 -04:00
Sam
bd9bc7918c FIX: downcase developer emails do it matches internal email storage 2016-05-27 12:18:54 +10:00
Sam
8c3a0b44ba FIX: restore "every email" default for old accounts in mailing list mode
- Change default for mailing list mode frequency to daily
- Remove bootbox warning for mailing list mode (cause default is daily)
2016-05-27 12:07:10 +10:00
Jeff Atwood
17ebcdd413 very minor typo 2016-05-26 15:05:44 -07:00
Neil Lalonde
7050042088 Update translations 2016-05-26 11:50:15 -04:00
Arpit Jalan
23799e3422 FIX: validate tl3_time_period max value 2016-05-26 16:01:30 +05:30
David McClure
a92fd9d701 Add Site Setting to use HTML from incoming email when available. (#4236) 2016-05-26 10:13:01 +02:00
Neil Lalonde
a4cd068481 FEATURE: add caps to trust level 3 requirements for posts read and topics viewed, configurable in settings 2016-05-25 14:55:49 -04:00
Sam
a19e43fd3b enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
Jeff Atwood
99b95f1fc9 use #category text in cat search checkbox 2016-05-24 23:58:54 -07:00
Régis Hanol
32d253d484 remove 'crop_tall_images' site setting but keep the behavior 2016-05-23 16:42:19 +02:00
Régis Hanol
667dd54a23 FEATURE: new 'crop_tall_images' site setting 2016-05-23 16:18:30 +02:00
James Kiesel
feffe23cc5 FEATURE: More granular mailing list mode (#4068)
* Rearrange frontend to account for mailing list mode

* Allow update of user preference for mailing list frequency

* Add mailing list frequency estimate

* Simplify frequency estimate; disable activity summary for mailing list mode

* Remove combined updates

* Add specs for enqueue mailing list mode job

* Write mailing list method for mailer

* Fix linting error

* Account for stale topics

* Add translations for default mailing list setting

* One query for mailing list topics

* Fix failing spec

* WIP

* Flesh out html template

* First pass at text-based mailing list summary

* Add user avatar

* Properly format posts for mailing list

* Move make_all_links_absolute into Email::Styles

* Apply first_seen_at to user

* Send mailing list email summary hourly based on first_seen_at

* Branch and test cleanup

* Use existing mailing list mode estimate

* Fix failing specs
2016-05-21 15:17:54 +02:00
Arpit Jalan
29ca2f11ba FIX: add minimum value for min_private_message_title_length 2016-05-19 16:20:28 +05:30
Jeff Atwood
ba447bdca5 missed a spot 2016-05-18 17:25:31 -07:00
Jeff Atwood
75e2ea0137 UX: change "API Requests" to "Pageviews"
we are confident about these numbers now, so we can use the common name
2016-05-18 17:23:14 -07:00
Jeff Atwood
80082f0e2b UX: hide flag behind ellipsis by default 2016-05-18 16:50:43 -07:00
Régis Hanol
c75d58ab21 FEATURE: new 'ignore_by_title' site setting 2016-05-18 23:07:01 +02:00
Jeff Atwood
69dc706ba1 add better advice copy for use_https setting 2016-05-18 13:49:59 -07:00