Guo Xiang Tan
d4ca8ea617
Fix broken emojis.
2017-01-24 16:18:39 +08:00
Guo Xiang Tan
ba21ef34e5
Fix broken emojis.
2017-01-24 16:17:30 +08:00
Arpit Jalan
80e573e794
FIX: support removing all occurences of a word/string
2017-01-24 12:52:38 +05:30
Arpit Jalan
e27ca3019b
FEATURE: posts:remap task now supports removing all occurences of a word
2017-01-24 12:00:57 +05:30
Guo Xiang Tan
eafd0a7497
Bye bye bygbug.
2017-01-24 14:07:55 +08:00
Guo Xiang Tan
ce07da1d8b
UX: Only display the words that fails censored words validations.
2017-01-24 13:11:05 +08:00
Robin Ward
9c9e0f5eca
FIX: Move the middleware
2017-01-18 18:22:03 -05:00
Robin Ward
fffa285dbf
Insert middleware in production mode if enabled
2017-01-18 18:05:56 -05:00
Neil Lalonde
61d4c1203e
FEATURE: group avatar flair shows on topic participants list, and participant avatars can have custom styles
2017-01-18 11:38:00 -05:00
Arpit Jalan
01c8974c36
typo
2017-01-18 20:10:49 +05:30
Guo Xiang Tan
e3b6f9b8ae
FIX: Do not update user stats like counts for private messages.
2017-01-16 11:07:53 +08:00
Robin Ward
adb73180f7
FEATURE: Let plugins register themes easily
2017-01-13 11:50:52 -05:00
Robin Ward
d49473757e
Version bump to v1.8.0.beta2
2017-01-13 11:39:52 -05:00
Robin Ward
8f34c2332d
Version bump to v1.7.1
2017-01-13 11:08:58 -05:00
Matt Palmer
04ae3539d0
FEATURE: Better error message when incoming e-mail is missing a Date: header
2017-01-13 11:05:00 +11:00
Régis Hanol
9f3c38832e
FIX: don't onebox to IP addresses
2017-01-12 22:36:59 +01:00
Régis Hanol
499a83270a
FIX: don't onebox to IP addresses
2017-01-12 22:35:33 +01:00
Régis Hanol
dfb633fde3
remove 'already initialized constant' warning
2017-01-11 11:03:36 +01:00
Guo Xiang Tan
cdd550e947
Use a different Redis key when PG failover sets site to readonly mode.
2017-01-11 16:38:49 +08:00
Neil Lalonde
42c39ab38e
Don't display email addresses in staff action logs for revoked email
2017-01-10 17:51:22 -05:00
Neil Lalonde
e84fcc7d74
Staff action logs explain when system is deleting a post because author marked it to be deleted
2017-01-10 17:25:36 -05:00
Robin Ward
b60bc47a4c
Plugins can register providers for global settings
2017-01-09 17:18:58 -05:00
Régis Hanol
185dcb2ca1
handle emails with localized headers 😠
2017-01-09 22:59:30 +01:00
Robin Ward
3b74c0e3b8
FIX: Don't allow formatting in titles when quoting other topics
2017-01-09 14:53:04 -05:00
Robin Ward
c2a85440b6
Merge pull request #4640 from krainboltgreene/patch-1
...
Allow for a custom hub server
2017-01-09 10:40:11 -05:00
Guo Xiang Tan
429b02a5d5
oops fix specs.
2017-01-09 17:08:24 +08:00
Guo Xiang Tan
3d21ccd4a5
FIX: Add validation to disallow censored words in topic title.
2017-01-09 16:55:41 +08:00
Kurtis Rainbolt-Greene
393f49f224
Allow for a custom hub server
2017-01-06 14:54:38 -08:00
Neil Lalonde
e0bbe331df
Version bump to v1.8.0.beta1
2017-01-06 16:10:39 -05:00
Neil Lalonde
d20cbfb2b3
Version bump to v1.7.0
2017-01-06 16:08:01 -05:00
Neil Lalonde
be2fa971df
Merge master
2017-01-06 15:56:48 -05:00
Régis Hanol
98c62bccb5
FIX: mark forwarded email as read by the forwarder
...
FIX: 'Re:' prefix is mostly used for replies and not forwarded emails
2017-01-06 15:33:55 +01:00
Guo Xiang Tan
1cb09aec49
FIX: Suppress error when acccess is invalid.
2017-01-06 13:18:04 +08:00
Guo Xiang Tan
d10fe51b72
Fix broken specs since all urls will be oneboxed.
2017-01-06 10:05:51 +08:00
Guo Xiang Tan
a89f60b85b
Merge pull request #4631 from tgxworld/prevent_users_from_changing_permissions_of_non_real_users
...
FIX: Do not allow admins to meddle with admin and moderation access o…
2017-01-04 09:10:27 +08:00
Robin Ward
cf7774bdd9
FEATURE: Block muted users from sending you PMs
2017-01-03 14:51:53 -05:00
Jeff Atwood
15a0f3cb14
add vertical align to email blockquote avatar img
2017-01-02 13:49:00 -08:00
Arpit Jalan
495a511862
simplify quote markup in emails
2017-01-02 21:37:01 +05:30
Neil Lalonde
477b237e45
FIX: use 'other' instead of 'many' for Ukrainian pluralization until translations are fixed
2016-12-30 11:49:25 -05:00
Guo Xiang Tan
f1beef43a8
Merge pull request #4618 from tgxworld/fix_invalid_emails
...
FIX: Don't allow invalid email to be saved.
2016-12-30 07:11:48 +08:00
Guo Xiang Tan
c7b151683d
FIX: Do not allow admins to meddle with admin and moderation access of non real users.
2016-12-29 11:11:33 +08:00
Neil Lalonde
dd4937a493
Version bump to v1.7.0.beta11
2016-12-28 18:14:06 -05:00
Sam
d28d8a1f85
FIX: order by op_likes leads to broken browsing
2016-12-27 19:08:54 +11:00
Sam
2f6a4cc6de
remove UserActionObserver, replace with after_save and service
...
interestingly there was some left over dead code from when stars
existed in the topic_users table
2016-12-22 16:46:53 +11:00
Sam
0a78ae739d
Remove SearchObserver, aim is to remove all observers
...
rails-observers gem is mostly unmaintained and is a pain to carry forward
new implementation contains significantly less magic as a bonus
2016-12-22 13:13:14 +11:00
Guo Xiang Tan
13c6191e89
FIX: Don't allow invalid email to be saved.
2016-12-21 17:47:11 +08:00
Guo Xiang Tan
b0fe5d383e
Version bump to 1.6.10.
2016-12-21 12:07:13 +08:00
Guo Xiang Tan
33a05b9406
SECURITY: Users can only bookmark posts which they can see.
2016-12-21 12:06:56 +08:00
Guo Xiang Tan
5d7f3223f0
SECURITY: Users can only bookmark posts which they can see.
2016-12-21 12:01:26 +08:00
Neil Lalonde
c75bebdea2
FIX: uncategorized setting to control whether topic featured links are allowed
2016-12-20 15:55:30 -05:00
Régis Hanol
b12b2b1911
change onebox preview key for me consistency
2016-12-20 11:18:47 +01:00
Sam
ea9f7a41af
remove gctools (no longer used) add gctracer for debugging
2016-12-20 15:07:30 +11:00
Régis Hanol
52cd9972bb
FIX: prevent DDoS with lots of _oneboxable_ links
...
FIX: ensure the onebox route is only allowed to logged in users
FIX: only allow 1 outgoing onebox preview per user
FIX: client should only do 1 preview at a time
2016-12-20 00:31:10 +01:00
Sam
2b808ad9da
Merge pull request #4609 from joebuhlig/category-topics-wiki
...
FEATURE: Category setting to make all topics wikis
2016-12-20 09:15:51 +11:00
Neil Lalonde
a65281d5ea
FIX: better support for featured link topics in summary emails
2016-12-19 17:05:49 -05:00
Neil Lalonde
3256620d5d
FIX: some blank topics and posts in summary email because they're images
2016-12-19 16:21:31 -05:00
Neil Lalonde
923cf73c6e
Topic Featured Links: move data from custom fields to topics and categories tables. Invert behaviour of topic_featured_link_allowed checkbox. Fix a bug with invalid topic records due to changing that category checkbox.
2016-12-19 14:54:07 -05:00
Robin Ward
e03d5e2140
Reapply Ember 2.10 for good this time!
...
This reverts commit ddd299f4aa
.
2016-12-19 11:19:10 -05:00
Joe Buhlig
87251fded7
FEATURE: Category setting to make all topics wikis
...
FEATURE: Category setting to make all topics wikis
2016-12-19 06:42:18 -06:00
Régis Hanol
c7289f423f
fix letter_avatar spec
2016-12-19 10:00:28 +01:00
Sam
c10dfe0d1b
SECURITY: prevent reuse of password reset
2016-12-19 18:04:55 +11:00
Sam
e0ff57ca75
SECURITY: prevent reuse of password reset
2016-12-19 18:00:22 +11:00
Robin Ward
ddd299f4aa
Revert "Revert "Revert Ember 2.10+ for a short while""
...
This reverts commit 76bbc481cb
.
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb
Revert "Revert Ember 2.10+ for a short while"
...
This reverts commit 21682fd60b
.
2016-12-16 09:52:29 -05:00
Sam
6ff309aa80
SECURITY: don't grant same privileges to user_api and api access
...
User API is no longer gets bypasses that standard API gets.
Only bypasses are CSRF and XHR requirements.
2016-12-16 12:05:43 +11:00
Régis Hanol
197517d55e
FIX: locally uploaded audio & video files should onebox even when the extension is uppercase
2016-12-15 23:21:44 +01:00
Robin Ward
21682fd60b
Revert Ember 2.10+ for a short while
2016-12-15 16:43:38 -05:00
Neil Lalonde
f01f95d62d
FEATURE: new settings to customize some colors in emails
2016-12-15 14:43:53 -05:00
Neil Lalonde
e6361d1228
Version bump to v1.7.0.beta10
2016-12-14 14:57:51 -05:00
Neil Lalonde
8a461e6283
Version bump to v1.6.9
2016-12-14 14:56:40 -05:00
Guo Xiang Tan
c80466a801
Merge pull request #4589 from tgxworld/rescue_error
...
FIX: Don't raise error when admin access is invalid.
2016-12-14 17:43:44 +08:00
Guo Xiang Tan
9a800107cb
FIX: Associate category logo and background to uploads record.
2016-12-12 17:37:28 +08:00
Guo Xiang Tan
05f55dbc10
FEATURE: Group logs.
2016-12-12 17:29:54 +08:00
Neil Lalonde
17bc42fe85
FIX: box style category badges in emails, and shrink text and some spacing in summary email
2016-12-09 16:59:54 -05:00
Neil Lalonde
fb2633366a
FIX: featured link topics shouldn't require the same min post length
2016-12-09 15:46:26 -05:00
Neil Lalonde
a4c4f13901
Remove the topic_featured_link_onebox setting. We will always try to onebox a link and add it to the body if topic_featured_link_enabled is enabled.
2016-12-09 13:28:12 -05:00
Sam
846597f563
FIX: staff tags are stripped by non-staff
2016-12-09 17:24:26 +11:00
Sam
02b21a26dd
Merge pull request #4585 from ibnesayeed/urdu-support
...
Add initial Urdu support with RTL direction
2016-12-09 13:01:25 +11:00
Neil Lalonde
ee54e37a1f
Version bump to v1.7.0.beta9
2016-12-07 17:50:43 -05:00
Régis Hanol
f4688f74db
FIX: emoticons stop summary from being updated
2016-12-07 23:05:14 +01:00
Sawood Alam
3f765e0227
Added Urdu locale file for moment.js
2016-12-06 13:55:38 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics
2016-12-05 17:20:54 +01:00
Régis Hanol
951ef0d949
UX: fix onebox styling in emails
2016-12-05 12:00:04 +01:00
Guo Xiang Tan
4b75ad5110
FIX: Don't raise error when admin access is invalid.
2016-12-05 17:36:45 +08:00
Guo Xiang Tan
22059d4df9
Add Rake task to clean up unused multisite Redis keys.
2016-12-05 11:46:34 +08:00
Guo Xiang Tan
ce36f54dcd
Add rake task to clean up orphane Redis keys when a multisite has been removed.
2016-12-05 11:39:08 +08:00
Sam
39a524aac8
FEATURE: brotli cdn bypass for assets
...
Allow CDNS that strip out brotli encoding to use brotli regardless
2016-12-05 13:57:09 +11:00
Sam
33d0a23d84
Merge branch 'fix_whisper'
2016-12-05 10:01:03 +11:00
Guo Xiang Tan
3971f96aa6
Merge pull request #4536 from fantasticfears/webhooks-edit
...
FIX: missing post and topic edited webhooks
2016-12-02 10:16:19 +01:00
Sam
9b885c039a
Merge branch 'master' into fix_whisper
2016-12-02 17:44:05 +11:00
Sam
c04d4171ff
FIX: whisper no longer experimental
...
- Regular users are not notified of whispers
- Regular users no longer have "stuck" topics in unread
- Additional tracking for staff highest post number
- Remove a bunch of unused columns in topics table
2016-12-02 17:03:31 +11:00
Régis Hanol
eb453d0f82
the note in a FWed email should be a whisper only in PM and when the author is member of the group
2016-12-01 18:43:56 +01:00
Régis Hanol
62763f025c
FIX: wasn't able to parse FROM email in the embedded email
2016-12-01 18:34:47 +01:00
Erick Guan
8c8549b27b
FIX: missing post and topic edited webhooks
2016-11-30 20:49:45 +01:00
Neil Lalonde
4f8c6b2d83
FIX: error reporting from SystemMessage.create
2016-11-30 13:16:30 -05:00
Guo Xiang Tan
1e7de826dc
FIX: Remove unused code.
2016-11-30 16:39:38 +08:00
Guo Xiang Tan
f794c25f60
FIX: Ensure a Thread is always running.
2016-11-30 16:38:21 +08:00
Guo Xiang Tan
b8441fba27
Merge pull request #4546 from tgxworld/fix_postgresql_failover
...
Fix postgresql failover
2016-11-30 09:36:52 +01:00
Guo Xiang Tan
5200446eb7
Increase Qunit tests timeout on Travis.
2016-11-30 16:35:44 +08:00
Sam
0631a84ca0
Merge pull request #4576 from cpradio/min-posts-search
...
FEATURE: Add min_post_count search filter
2016-11-29 10:19:33 +11:00
Neil Lalonde
1b393a4013
Version bump to v1.7.0.beta8
2016-11-28 16:07:08 -05:00
Neil Lalonde
af0fbb693e
Version bump to v1.6.8
2016-11-28 16:05:54 -05:00
cpradio
66ca6d622e
FEATURE: Add min_post_count search filter
2016-11-28 11:43:12 -05:00
Régis Hanol
a03287f2ee
FIX: 'In-Reply-To' header should default to topic_message_id
2016-11-28 14:18:02 +01:00
Arpit Jalan
988aca6d92
FIX: bump opengraph user avatar image to 200px
2016-11-26 23:00:18 +05:30
Régis Hanol
74b6fe8739
FIX: respect RFCs when setting 'In-Reply-To' and 'References' email headers
2016-11-25 23:25:39 +01:00
Sam
bc6ee85850
FIX: stop caching locale cause it bleeds in multisite
2016-11-25 11:35:29 +11:00
Neil Lalonde
36a80871a3
FIX: category_importer was importing public categories so that no one had permission to them, not even staff
2016-11-24 17:12:30 -05:00
Guo Xiang Tan
dd4cab3be2
FIX: Set master to true before forcing slave connections to reconnect.
2016-11-23 14:04:43 +08:00
Guo Xiang Tan
02025207d5
FIX: Make sure Redis fallback don't fall into a permanent readonly state.
2016-11-23 11:31:20 +08:00
Guo Xiang Tan
3909f342f6
FEATURE: Allow options to be set when adding model callbacks.
2016-11-21 10:20:31 +08:00
Arpit Jalan
2d0c99636a
do not add rel noreferrer
2016-11-20 18:19:14 +05:30
Arpit Jalan
7cb76f7333
FIX: add rel noopener and noreferrer in addition to nofollow
2016-11-20 17:07:27 +05:30
Régis Hanol
a0f1090d79
FIX: custom emojis leaking over multisites
2016-11-17 19:35:39 +01:00
Régis Hanol
2125a630d9
FIX: encoding issues with forwarded emails
2016-11-17 12:44:39 +01:00
Guo Xiang Tan
e8a3043129
Spawn a single thread that checks for PostgreSQL fallback.
2016-11-17 13:52:08 +08:00
Régis Hanol
a69f45d0da
FEATURE: new 'always_show_trimmed_content' site setting
2016-11-16 22:06:07 +01:00
Régis Hanol
17f2be9f88
FEATURE: new 'enable_forwarded_email' site setting
2016-11-16 19:42:11 +01:00
Robin Ward
67e2041691
Prevent topic_retriever from retrieving more than once a minute
2016-11-16 12:04:16 -05:00
Robin Ward
0f9e45f283
Allow the loader to understand when files are moved
2016-11-15 11:41:16 -05:00
Guo Xiang Tan
a76d834fd5
Fix invalid command.
2016-11-15 15:24:19 +08:00
Guo Xiang Tan
7e8a975e20
Reduce number of tries when tests time out.
2016-11-15 15:23:53 +08:00
Sam
f4c754b389
FEATURE: split JavaScript application bundle, so plugins live in own file
...
This adds plugin.js and plugin_third_party.js files
2016-11-15 11:43:13 +11:00
Rafael dos Santos Silva
64b0a4eada
Version bump to v1.6.7
2016-11-14 19:27:06 -02:00
Sam
bdbd01ce40
fix oops
2016-11-14 19:24:46 -02:00
Sam
4c226bf12d
FIX: properly reset all contexts after forking
...
Fixes hang on backup
2016-11-14 19:24:34 -02:00
Sam
3d76ce1421
FEATURE: SSO support for adding and removing a user to groups
...
Use: add_groups with a comma delimited list to ensure a user is in groups (using group names)
Use: remove_groups with a comma delimited list to ensure a user is removed from groups (using group names)
2016-11-11 16:57:31 +11:00
Arpit Jalan
96f5079006
improve default_categories_watching_first_post copy
2016-11-10 00:15:14 +05:30
Arpit Jalan
9e69798285
FEATURE: watch first post default site setting
2016-11-10 00:09:52 +05:30
Guo Xiang Tan
7a1400cc4b
Remove undefined variable.
2016-11-09 21:06:21 +08:00
Guo Xiang Tan
857986e2c0
FIX: Don't change return value to blank string.
2016-11-09 11:13:56 +08:00
Neil Lalonde
86522a52b7
FEATURE: add censored_pattern setting to censor posts using regex
2016-11-08 16:39:26 -05:00
Régis Hanol
78cd42943f
FEATURE: add 'emoji-custom' class to custom emojis
2016-11-08 16:36:09 +01:00
Sam
a1a7094604
Merge pull request #4539 from tgxworld/use_a_time_task_for_redis_failover
...
PERF: Spawn a seperate timer task to check if Redis master is up.
2016-11-08 11:18:54 +11:00
Régis Hanol
9ef724a065
FIX: self-onebox in read protected categories
2016-11-07 18:14:28 +01:00
Guo Xiang Tan
fbbcde1230
FIX: Don't treat master as up if it is still loading data.
2016-11-07 15:28:10 +08:00
Guo Xiang Tan
9375dcb6fe
PERF: Spawn a seperate timer task to check if Redis master is up.
2016-11-07 15:04:28 +08:00
Sam
2ddabc3928
FIX: protect against future regressions of google omniauth
2016-11-07 12:48:00 +11:00
Kiffin Gish
3aa22715af
A new guard for changing post timestamps called can_change_post_timestamps?
2016-11-06 20:14:09 +01:00
Guo Xiang Tan
9fd317306c
FIX: Do not show educational message for PMs.
2016-11-04 17:06:53 +08:00
Rafael dos Santos Silva
d5ba32ab2f
Version bump to v1.6.6
2016-11-03 22:01:37 -02:00
Régis Hanol
a655e4b092
ensure we allow self oneboxing of login required sites
2016-11-03 22:48:32 +01:00
Régis Hanol
17169b3037
FIX: issues with 'X-MSYS-API' custom header
2016-11-03 02:26:12 +01:00
Neil Lalonde
61069bf378
Version bump to v1.7.0.beta7
2016-11-02 13:47:48 -04:00
Neil Lalonde
1d76d255d5
Version bump to v1.6.5
2016-11-02 13:46:41 -04:00
Sam
c995fd65be
fix oops
2016-11-02 17:00:24 +11:00
Sam
7e43e73df6
FIX: properly reset all contexts after forking
...
Fixes hang on backup
2016-11-02 13:34:20 +11:00
Neil Lalonde
9ef1688a76
FEATURE: per-category default topic list sort order
2016-11-01 12:18:41 -04:00
Guo Xiang Tan
637c474f4e
PERF: Don't build wizard until we actually load the wizard.
2016-11-01 16:38:20 +08:00
Arpit Jalan
382803cb05
FEATURE: include post image in OpenGraph image tag
2016-10-31 15:11:33 +05:30
Régis Hanol
f8caae0be7
FIX: don't overwrite custom email headers when using mandrill/sparkpost
2016-10-30 11:38:55 +01:00
Régis Hanol
71f940d478
FIX: use metadata to hold the message_id with sparkpost
2016-10-27 19:35:50 +02:00
Sam
497ff76a67
make sure 1 is a string
2016-10-27 18:08:01 +11:00
Sam
3e7190866a
make code a bit safer
2016-10-27 16:50:56 +11:00
Sam
8a477f1857
FEATURE: added X-Discourse-TrackView header
...
This header is set to 1 if the particular request is a tracked page view
2016-10-27 16:48:27 +11:00
Sam
9848e26190
FIX: force secure cookies on session if force https is enabled
2016-10-27 15:15:58 +11:00
Robin Ward
b601120b39
Support for Raw Handlebars and helpers in Ember 1.13
2016-10-26 10:27:57 -04:00
Guo Xiang Tan
49c27d9a88
FEATURE: Add interface in Plugin::Instance
to register a seedfu fixture.
2016-10-25 14:57:31 +08:00
Guo Xiang Tan
2bce183581
FIX: User enabled readonly mode was not working.
2016-10-25 11:50:51 +08:00
Régis Hanol
08d53b32ca
let's try loading onebox engines this way
2016-10-25 01:25:44 +02:00
Régis Hanol
70b79328ab
FIX: overwrite onebox's whitelist
2016-10-25 00:21:02 +02:00
Régis Hanol
923db2e559
FIX: download avatar from facebook/twitter in a job in order to prevent hangs when avatars are huge
2016-10-24 17:15:13 +02:00
Régis Hanol
3841cd9a7f
FEATURE: onebox everything by default
...
FEATURE: new 'max_oneboxes_per_post' site setting
FEATURE: change onebox whitelist to a blacklist
PERF: debounce the loading of oneboxes
PERF: improve perf of mention links in preview
FIX: sort loading of custom oneboxer
2016-10-24 12:46:22 +02:00
Régis Hanol
2a61cc8c88
FIX: email styling with blacklisted iframes
2016-10-21 12:37:03 +02:00
Régis Hanol
35a79a70c3
FIX: uploading custom avatar was always hidden
2016-10-20 19:53:41 +02:00
Neil Lalonde
b85056f4cd
Version bump to v1.7.0.beta6
2016-10-20 10:49:55 -04:00
Robin Ward
c03d25f170
FEATURE: Configure Admin Account
...
Adds a "Step 0" to the wizard if the site has no admin accounts where
the user is prompted to finish setting up their admin account from the
list of acceptable email addresses.
Once confirmed, the wizard begins.
2016-10-19 11:27:56 -04:00
Sam
674264726d
FIX: should not be allowed to see users list of people who started a PM
2016-10-19 17:36:35 +11:00
Guo Xiang Tan
7db33cc512
FIX: Videos and audio files were not associated to the post.
2016-10-18 16:13:39 +08:00
Neil Lalonde
3b9a1410f8
report errors from the populate.thor tool
2016-10-17 14:01:37 -04:00
Régis Hanol
93dfc87b99
FIX: always set the 'content_type' when storing a file on S3
2016-10-17 19:16:29 +02:00
Régis Hanol
0862ad406d
FIX: pull twitter's avatar & profile when signing up
2016-10-17 15:43:40 +02:00
Régis Hanol
3949c24f80
FIX: sparkpost webhooks support
2016-10-17 11:26:49 +02:00
Sam
b246f1a694
FEATURE: set secure flag on _t cookie if https is forced
2016-10-17 12:11:49 +11:00
Neil Lalonde
2dfc0ddf81
loosen restrictions on chars in tags
2016-10-14 15:29:47 -04:00
Régis Hanol
bd1328c189
FIX: show the wizard to developers too
2016-10-14 11:09:55 +02:00
Sam
f4f5524190
FEATURE: user API now contains scopes so permission is granular
...
previously we supported blanket read and write for user API, this
change amends it so we can define more limited scopes. A scope only
covers a few routes. You can not grant access to part of the site and
leave a large amount of the information hidden to API consumer.
2016-10-14 16:05:42 +11:00
Régis Hanol
9dd1f7b5b6
pull avatar, bio & location from Twitter
2016-10-13 10:49:51 +02:00
Neil Lalonde
0328141e05
FIX: prevent creation of tags with invalid characters
2016-10-12 15:44:36 -04:00
Rafael dos Santos Silva
41d2620d06
Add some styling to print redux version
2016-10-12 14:00:05 -03:00
Sam
89daa43754
FEATURE: remap emojis back for push notifications and desktop alerts
2016-10-11 13:03:48 +11:00
Sam
6031e692f0
Merge pull request #4366 from xfalcox/print
...
Print Support
2016-10-11 11:47:20 +11:00
Sam
aaec05e36a
FIX: stop asking for bio from facebook, it is deprecated
2016-10-11 10:56:07 +11:00
Sam
0f0b657182
Merge pull request #4447 from pmusaraj/approve_new_topics_setting
...
FEATURE: add "Approve new topics unless user level" setting
2016-10-11 10:14:28 +11:00
Sam
ea1f0683c8
Merge pull request #4477 from cpradio/watching-state-on-reply
...
FEATURE: Add notification level user preference when replying to a topic
2016-10-11 10:05:37 +11:00
Régis Hanol
8f68a95e56
FIX: trim leading & trailing whitespaces in admin user search
2016-10-10 16:18:57 +02:00
Sam
3e513f5c05
Merge pull request #4459 from vibol/master
...
FEATURE: sparkpost webhook
2016-10-10 17:17:17 +11:00
Sam Saffron
647ee46edf
FIX: don't stem the search term
...
Search for "canned" not working correctly and "butted", "ands" and many more :)
2016-10-07 12:40:57 +11:00
Arpit Jalan
20c9c60dea
FEATURE: support multisite configuration for search:reindex task
2016-10-01 08:54:15 +02:00
cpradio
6f1c31d777
Add notification level user preference when replying to a topic
2016-09-30 14:58:07 -04:00
Sam Saffron
4d8d5613e4
FEATURE: add min_trust_level_to_edit_post
...
add minimum trust level to edit post (default 0)
2016-10-01 02:12:27 +10:00
Guo Xiang Tan
ccd75cf987
FIX: Ensure that the right locale exists before merging.
2016-09-30 15:01:42 +08:00
Vibol Hou
c3d60d5d1d
Merge remote-tracking branch 'upstream/master'
2016-09-29 02:12:05 -07:00
Guo Xiang Tan
72ccb4e11d
FIX: Plugin "admin_js" translations bundle was not fetched.
2016-09-29 04:42:26 +08:00
Rafael dos Santos Silva
5bdaaca848
Make it square!
2016-09-28 12:49:22 -03:00
Rafael dos Santos Silva
f5746f490f
Uses higher resolution pictures when importing avatars from Facebook
2016-09-28 01:38:41 -03:00
Vibol Hou
34af73c7cb
FEATURE: sparkpost webhook
2016-09-26 22:13:34 -07:00
Rafael dos Santos Silva
0229df4c73
Second review fixes
2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
2a5a0bebb3
Adjusts from review
2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
804019647e
Makes it possible to paginate on print page
2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
9a46af59ad
FIX: TopicView were using Topic.relative_url instead of TopicView.relative_url on all methods.
2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
70c68f0a7c
Open print dialog automatically
2016-09-26 20:44:50 -03:00
Rafael dos Santos Silva
c12e533273
Feature: Adds a button to print a topic
2016-09-26 20:44:50 -03:00
Guo Xiang Tan
46732957bc
Version bump to v1.6.4
2016-09-23 14:48:07 +08:00
Guo Xiang Tan
5b3cbd3c9d
FIX: Make sure constant reflects the right backup extenstion.
2016-09-23 14:46:59 +08:00
Sam
df751ed6ec
Merge pull request #4457 from JaredReisinger/github-auth-with-email-whitelist
...
Add support for email whitelist/blacklist to GitHub auth
2016-09-23 09:49:14 +10:00
Robin Ward
3c12dd6549
FIX: Consider lazyYT divs as links when extracting
2016-09-22 16:50:24 -04:00
pmusaraj
0344388924
added tests and enabled queue when new setting is > 0
2016-09-22 14:51:36 -04:00
Jared Reisinger
2ae7c47a3c
Add support for email whitelist/blacklist to GitHub auth
...
If a site is configured for GitHub logins, _**and**_ has an email domain
whitelist, it's possible to get in a state where a new user is locked to
a non-whitelist email (their GitHub primary) even though they have an
alternate email that's on the whitelist. In all cases, the GitHub
primary email is attempted first so that previously existing behavior
will be the default.
- Add whitelist/blacklist support to GithubAuthenticator (via
EmailValidator)
- Add multiple email support GithubAuthenticator
- Add test specs for GithubAuthenticator
- Add authenticator-agnostic "none of your email addresses are allowed"
error message.
2016-09-22 11:31:10 -07:00
Neil Lalonde
adfa2cb09e
Version bump to v1.7.0.beta5
2016-09-22 12:44:10 -04:00
Robin Ward
373004a00e
FIX: Incorrect color scheme name in admin after using wizard
2016-09-22 11:16:01 -04:00
Robin Ward
9bba0f3288
FIX: Show "Categories" when you are viewing the categories pills
2016-09-22 09:52:19 -04:00
Robin Ward
a95bb6006d
Show staff count on invites page, don't warn if you have 3
2016-09-22 09:52:19 -04:00
Robin Ward
14bee641aa
Can choose categories or latest as homepage style
2016-09-22 09:52:19 -04:00
Robin Ward
2a0443445b
New step to choose emoji set
2016-09-22 09:52:19 -04:00
Robin Ward
2545c2ffa6
Add new welcome message step
2016-09-22 09:52:19 -04:00
Robin Ward
9938f9bd67
Added images to the first and last step of the wizard
2016-09-22 09:52:19 -04:00
Robin Ward
b0ee7930e8
Server side support for inviting as a moderator via the wizard
2016-09-22 09:52:19 -04:00
Robin Ward
28cd49f02b
Split Logos and Icons into separate steps
2016-09-22 09:52:19 -04:00
Robin Ward
4f9a7aa769
FIX: Prompt for the wizard for the first admin who logs in
2016-09-22 09:52:19 -04:00
Robin Ward
644bcbc253
Make the site contact a drop down of admin users
2016-09-22 09:52:19 -04:00
Robin Ward
74ed2e82ac
UX: Wiggle invalid form elements. Don't allow a site title of Discourse
2016-09-22 09:52:19 -04:00
Robin Ward
29cf47cfb2
Track steps the user has completed, nag them to finish it.
2016-09-22 09:52:19 -04:00
Robin Ward
ef84981e38
Invite Users step
2016-09-22 09:52:19 -04:00
Robin Ward
35b767f6af
Company Name Step which updates the TOS
2016-09-22 09:52:19 -04:00
Robin Ward
28b6c300a0
Clean up wizard updater API for better plugin use
2016-09-22 09:52:19 -04:00
Robin Ward
e3640ee5f6
Privacy Step
2016-09-22 09:52:19 -04:00
Robin Ward
af83c8dc14
Upload Logos Step
2016-09-22 09:52:19 -04:00
Robin Ward
c94e6f1b96
Add locale step
2016-09-22 09:52:19 -04:00
Robin Ward
3f6e3b9aff
Wizard - Color Scheme Step
2016-09-22 09:52:19 -04:00
Robin Ward
9f12b571ef
Wizard: Server Side Validation + Finished Step
2016-09-22 09:52:19 -04:00
Robin Ward
be1d74d207
Split out common functions into discourse-common
module
2016-09-22 09:52:19 -04:00
Robin Ward
3a4615c205
Wizard: Step 1
2016-09-22 09:48:58 -04:00
Robin Ward
6070939daa
Support for other i18n bundles
2016-09-22 09:48:58 -04:00
Régis Hanol
9aecf4e6d1
Merge pull request #4455 from tgxworld/fix_category_logo_url
...
FIX: Form CDN URL client side instead.
2016-09-22 11:01:16 +02:00
Guo Xiang Tan
b5d6d3c326
FIX: Make recover from tombstone script work for multisite.
2016-09-22 12:28:36 +08:00
Guo Xiang Tan
d312c82474
Revert "FIX: wasn't able to update category's settings"
...
This reverts commit 282f9948cb
.
2016-09-22 11:29:44 +08:00
Guo Xiang Tan
333d6f9f10
More improvements to restore from tombstone script.
2016-09-22 10:39:39 +08:00
Arpit Jalan
13aff1f2f8
FEATURE: optionally delay the rebake_match task
2016-09-21 21:48:57 +05:30
Guo Xiang Tan
1d4451db5d
Improve restore from tombstone script by not having to loop through all posts.
2016-09-21 18:01:59 +08:00
Guo Xiang Tan
b62b6ba12c
Improve restore from tombstone rake task.
2016-09-21 17:47:27 +08:00
Guo Xiang Tan
3af5b19002
Add rake task to restore missing uploads from tombstone.
2016-09-21 16:56:32 +08:00
Guo Xiang Tan
7139538286
Fix typo.
2016-09-21 16:04:41 +08:00
pmusaraj
5dbb3035d4
add "Approve new topics unless user level" setting
2016-09-19 14:07:15 -04:00
Régis Hanol
53e309fe3e
add missing flags emoji
2016-09-19 19:39:46 +02:00
Régis Hanol
d46084d328
update & optimize emojis
2016-09-19 13:43:53 +02:00
Régis Hanol
86d1bc7f47
new emoji:update rake task
2016-09-19 13:43:15 +02:00
Sam
8dc4329094
FEATURE: optionally get extra profile info from facebook
...
This feature requires the application be approved by facebook, so it is
default off
2016-09-19 16:14:11 +10:00
Sam
5b3cd3fac9
FEATURE: Import facebook avatars when logging in via facebook
...
FIX: warning about popup dimensions when using facebook login
Rules are:
- On account creation we always import
- If you already have an avatar uploaded, nothing is changed
- If you have no avatar uploaded, we upload from facebook on login
- If you have no avatar uploaded, we select facebook unless gravatar already selected
This also fixes SSO issues where on account creation accounts had missing avatar uploads
2016-09-19 15:10:23 +10:00
Guo Xiang Tan
e4c5cb84cd
Version bump to v1.6.3
2016-09-19 08:54:54 +08:00
Robin Ward
960620d91b
FIX: Respect the acting_user
attribute on the PostValidator
2016-09-16 13:15:01 -04:00
Robin Ward
64094954bc
FIX: Broken posting
2016-09-16 13:12:05 -04:00
Neil Lalonde
cbe623aaee
Version bump to v1.6.2
2016-09-16 11:37:30 -04:00
Guo Xiang Tan
0bf7519a8a
FIX: tar --list
against a .tar.gz
file takes too long.
...
This resulted in requests being blocked for an extended amount
of time when initializing the restorer.
2016-09-16 17:11:14 +08:00
Guo Xiang Tan
68637f2164
FIX: Uploads being restored into the wrong directory for multisite.
2016-09-16 14:26:06 +08:00
Guo Xiang Tan
49ceac26d5
SECUIRTY: Escape input made to system calls.
2016-09-16 12:50:46 +08:00
Guo Xiang Tan
f63a797e39
SECUIRTY: Escape input made to system calls.
2016-09-16 11:58:14 +08:00
Guo Xiang Tan
8f36290c05
FIX: No need to list all the files.
2016-09-16 11:57:35 +08:00
Neil Lalonde
8087cca54d
Version bump to v1.7.0.beta4
2016-09-13 12:23:51 -04:00
Arpit Jalan
e46204d195
FIX: allow long words if they contain periods
2016-09-13 09:15:05 +05:30
Robin Ward
2c9a47dda5
FIX: Validate the raw content of posts before enqueuing them
2016-09-12 12:26:49 -04:00
Neil Lalonde
b381d84dd9
FIX: tag search should not be case sensitive
2016-09-09 16:55:26 -04:00
Robin Ward
e78b7a243e
FIX: Don't enqueue posts if the user can't create them (ex: closed)
2016-09-09 12:15:56 -04:00
Robin Ward
9609a47016
Ability to skip email validation via a plugin
2016-09-07 14:05:46 -04:00
Robin Ward
610dd933a3
FEATURE: Support importing email from Twitter
2016-09-06 12:18:13 -04:00
Guo Xiang Tan
1b2b142f30
FIX: Post without a topic can be destroyed.
2016-09-05 19:00:49 +08:00
Guo Xiang Tan
aabb7a8592
FIX: DiscourseEvent should not be triggered from within the controller.
2016-09-05 15:58:04 +08:00
Guo Xiang Tan
aa9decf6fd
Remove DiscourseEvent.clear
.
2016-09-05 15:17:49 +08:00
Sam
59640bae3b
FIX: absolute URL for CDN should always be rooted with a protocol
2016-09-05 15:57:46 +10:00
Guo Xiang Tan
e4b75f604c
FIX: Make clean up upload script a safer task to run.
2016-09-05 10:06:02 +08:00
Arpit Jalan
76857e3f77
do not create new revision when remapping posts
2016-09-03 23:21:56 +05:30
Sam
be0fd5b4cc
FEATURE: allow user api key revocation for read only keys
2016-09-02 17:04:00 +10:00
Guo Xiang Tan
df8d24734a
Regenerate missing optimized images for all dbs by default.
2016-09-02 13:06:31 +08:00
Guo Xiang Tan
e4883725e6
Script to analyze uploads on a site.
2016-09-02 12:07:06 +08:00
Guo Xiang Tan
82324db71a
Allow uploads:missing
Rake task to be run for a single site.
2016-09-02 10:22:39 +08:00
Guo Xiang Tan
2349ab5a51
puts
not putc
.
2016-08-29 10:30:10 +08:00
Guo Xiang Tan
e57ed5223a
Fix rake task.
2016-08-26 15:46:42 +08:00
Sam
c4bf138d2c
FIX: incorrect error being raised
2016-08-26 10:39:13 +10:00
Guo Xiang Tan
b1c8ede617
Merge pull request #4420 from tgxworld/prioritize_user_avataras
...
Prioritize user avatars when regenerating missing optimized images.
2016-08-26 07:58:58 +08:00
Neil Lalonde
b3c65620f3
Version bump to v1.7.0.beta3
2016-08-25 12:01:06 -04:00
Guo Xiang Tan
2f39293867
FIX: User enabled readonly mode was not working.
2016-08-25 23:31:59 +08:00
Vinoth Kannan
648c8d27a6
chomp before regex manifest
2016-08-25 17:15:29 +05:30
Guo Xiang Tan
2448db4716
Prioritize user avatars when regenerating missing optimized images.
2016-08-25 18:29:52 +08:00
Guo Xiang Tan
7e80810de1
FIX: Raise an error if metadata is not extracted correctly.
2016-08-25 17:20:32 +08:00
Guo Xiang Tan
5da768b4fe
FIX: find_each
uses find_in_batches
which uses the primary key as the order.
2016-08-25 16:11:28 +08:00
Neil Lalonde
50a8eb1810
Merge pull request #4405 from gdpelican/fix/intersection-pagination
...
FIX: Don't join on tags unnecessarily when matching all tags
2016-08-24 14:45:15 -04:00
Neil Lalonde
7a81669c18
SECURITY: don't allow re-using the current password during password reset
2016-08-24 12:27:21 -04:00
Robin Ward
79245a25a3
Explain the skip_jobs
parameter
2016-08-24 11:06:14 -04:00
Régis Hanol
038eb6f645
FIX: translations with a symbol as key should also be overridable
2016-08-24 11:53:03 +02:00
Guo Xiang Tan
3e4b02bbd4
FIX: Make sure constant reflects the right backup extenstion.
2016-08-24 10:28:23 +08:00
Robin Ward
2cb4cb7b72
FIX: Don't enqueue jobs in a transaction
2016-08-23 16:07:59 -04:00
Robin Ward
c3a3aff120
FEATURE: Support for a whitelist for embeddable host paths
2016-08-23 14:56:12 -04:00
Guo Xiang Tan
f19232646f
Rescue all errors when backfilling shas for uploads.
2016-08-23 15:05:37 +08:00
Guo Xiang Tan
2c1249f381
Remove monkey patch.
2016-08-23 12:04:53 +08:00
Guo Xiang Tan
574b8fdf41
Allow backfilling of shas to complete.
2016-08-23 10:34:32 +08:00
Arpit Jalan
a39929d12e
FEATURE: add opengraph and twitter meta tags on every page
2016-08-21 22:08:49 +05:30
Arpit Jalan
3bd8b55fce
FEATURE: new rake task to change post ownership for a specific user
2016-08-20 20:43:16 +05:30
Robin Ward
b4b96bf62b
FIX: Support searching your PMs via full page
2016-08-19 15:00:05 -04:00
Arpit Jalan
a590f35982
FEATURE: allow changing post owners without creating post revision
2016-08-19 23:34:21 +05:30
James Kiesel
386b8b8498
Don't join on tags unnecessarily when matching all tags
2016-08-19 10:37:32 -05:00
Guo Xiang Tan
5222022842
Use another rake task to regenerate optimized images for multisite.
2016-08-19 15:52:09 +08:00
Guo Xiang Tan
3141c179f7
REFACTOR: Get bucket name from S3Helper.
2016-08-19 14:08:37 +08:00
Sam
b09922b58a
we have to allow message bus for read clients
2016-08-19 15:22:52 +10:00
Neil Lalonde
7195a103ab
FEATURE: digests choose topics you're watching or tracking first
2016-08-18 17:16:52 -04:00
Sam
3ea68f8f6c
tweak headers so they can be consumed
2016-08-18 14:38:33 +10:00
Régis Hanol
6d1d7b7c8f
UX: new /categories layout
2016-08-17 23:23:16 +02:00
Neil Lalonde
d079f69b7b
FEATURE: add flair to avatars using new settings in the groups admin UI
2016-08-17 15:13:15 -04:00
Arpit Jalan
6af4e6bd05
FEATURE: new rake task to remap posts matching a string
2016-08-17 14:08:46 +05:30
Guo Xiang Tan
78bec20424
FIX: Check options and not just site settings.
2016-08-17 16:16:00 +08:00
Arpit Jalan
dc4799dda2
handle posts:rebake_match task without type argument
2016-08-17 01:01:06 +05:30
Arpit Jalan
054ee4dc55
FEATURE: new rake task to rebake posts using regex matching
2016-08-17 00:01:19 +05:30
Guo Xiang Tan
7ff1f6cb9d
Allow custom bucket name for FileStore::S3Store
.
2016-08-16 15:25:42 +08:00
Sam
416e7e0d1e
FEATURE: basic UI to view user api keys
2016-08-16 17:06:52 +10:00
Guo Xiang Tan
11356fb9f4
Allow custom s3 options for S3Helper
.
2016-08-16 11:13:59 +08:00
Neil Lalonde
3b792054f2
Merge pull request #4387 from gdpelican/feature/tags-intersection
...
FEATURE: Tags intersection page
2016-08-15 16:24:29 -04:00
Neil Lalonde
5849c345cc
FEATURE: digest emails will try to choose topics from your tracked and watched categories first
2016-08-15 16:16:04 -04:00
James Kiesel
037e9bb7b8
Support any number of tag intersections
2016-08-15 15:30:17 -04:00
Guo Xiang Tan
1916924304
Split options into another method so that plugins can use it.
2016-08-15 22:04:24 +08:00
Guo Xiang Tan
205be0d044
Remove unused require.
2016-08-15 21:58:55 +08:00
Guo Xiang Tan
0433163866
FEATURE: Support subfolders in SiteSetting.s3_backup_bucket
.
2016-08-15 16:14:51 +08:00
Sam
fc095acaaa
Feature: User API key support (server side implementation)
...
- Supports throttled read and write
- No support for push yet, but data is captured about intent
2016-08-15 17:59:36 +10:00
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
Guo Xiang Tan
3378ee223f
FIX: Incorrect path being passed to S3Store#remove_file
.
2016-08-15 11:35:30 +08:00
Robin Ward
ec8622a860
FIX: Count the records added, including duplicates
2016-08-12 17:18:12 -04:00
James Kiesel
e14f3c802b
Cleanup
2016-08-12 15:56:56 -04:00
Robin Ward
aef954784a
FIX: nofollow
was being added during post processing when it shouldn't
2016-08-12 15:35:13 -04:00
James Kiesel
7e73b933c7
First pass
2016-08-12 15:28:46 -04:00
Robin Ward
11939fa8b9
PERF: Avoid some more count queries when fetching more results
2016-08-12 13:05:09 -04:00
Neil Lalonde
b8d1079e68
Version bump to v1.7.0.beta2
2016-08-12 11:49:21 -04:00
Neil Lalonde
f7a335a64e
Version bump to v1.6.1
2016-08-12 11:45:46 -04:00
Guo Xiang Tan
42593562f5
Merge pull request #4384 from tgxworld/raise_error_when_method_not_implemented
...
FIX: Make sure we raise an error when method is not implemented.
2016-08-12 12:41:42 +08:00
Sam
8a792508e9
PERF: improve offset discovery query
2016-08-12 14:36:38 +10:00
Guo Xiang Tan
1779a9634a
FIX: Make sure we raise an error when method is not implemented.
2016-08-12 11:43:57 +08:00
Robin Ward
414388b94f
FIX: Allow disabling of sanitization (for email customiaztions)
2016-08-11 14:59:20 -04:00
Robin Ward
431c211ec2
Bump search post id cache to 1 week
2016-08-11 14:06:07 -04:00
Robin Ward
35922bf692
Use unscoped
instead of with_deleted
2016-08-11 13:12:59 -04:00
Robin Ward
7e165d031b
FIX: Short terms will be searched for if at least one is long enough
2016-08-11 11:53:14 -04:00
Guo Xiang Tan
6075debc90
Add specs to hidding settings when shadowed by a global.
2016-08-11 16:04:45 +08:00
Robin Ward
40d91ff504
FIX: Travis failure
2016-08-11 13:49:14 +08:00
Guo Xiang Tan
adb1e2cbc8
SECURITY: Escape HTML in filename.
2016-08-11 13:48:23 +08:00
Guo Xiang Tan
11afb20772
SECURITY: Escape HTML in filename.
2016-08-11 11:27:12 +08:00
Guo Xiang Tan
6288d4c995
FIX: Revised post not updated correctly when merging posts.
2016-08-11 09:01:54 +08:00
Robin Ward
4bb6f88181
FIX: Bump up backfill size to 50
2016-08-10 17:51:29 -04:00
Robin Ward
c1cd9e0647
PERF: For estimates, we don't need to worry about deleted
2016-08-10 17:25:34 -04: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
Régis Hanol
e55e2aff94
FIX: FirstReplyByEmail badge wasn't granted
...
DEPRECATED: PostProcess badge trigger
2016-08-10 19:24:01 +02:00
Robin Ward
d763ce08c0
FIX: Travis failure
2016-08-10 13:20:39 -04:00
Régis Hanol
6d2a687ec7
FIX: wasn't able to update category's settings
2016-08-09 23:57:50 +02:00
Robin Ward
cc366d5a60
FIX: Search in non-english should have a smaller minimum
2016-08-09 15:20:28 -04:00
Robin Ward
28436a604a
FIX: Prevent tricking the search from ignoring minimum lengths
2016-08-09 14:49:46 -04:00
Robin Ward
c1125c8649
PERF: Use simpler serializer for search, eager load post users
2016-08-09 14:49:46 -04:00
Régis Hanol
282f9948cb
FIX: wasn't able to update category's settings
2016-08-09 20:14:49 +02:00
Sam
0b5c3f5a03
SECURITY: do cookie auth rate limiting earlier
2016-08-09 10:04:49 +10:00
Sam
5cc8bb535b
SECURITY: do cookie auth rate limiting earlier
2016-08-09 10:02:18 +10:00
Régis Hanol
51322a46b3
FEATURE: retry processing incoming emails on rate limit
2016-08-08 22:28:27 +02:00
Régis Hanol
5c06076b5c
FIX: strip blacklisted attachments before checking for empty email body
2016-08-08 22:20:33 +02:00
Matt Palmer
aa56100660
Failover messages really aren't warnings
...
"I'm going to do something entirely sane and reasonable" doesn't warrant a
warning-level log message. It's perfectly fine and reasonable to just log
that sort of thing at info level.
2016-08-08 16:02:23 +10:00
Guo Xiang Tan
8539f02b5e
FIX: Backuper should return the full path.
2016-08-08 07:49:37 +08:00
Neil Lalonde
823a699d41
Version bump to v1.7.0.beta1
2016-08-05 15:18:19 -04:00
Neil Lalonde
4c14894958
Version bump to v1.6.0
2016-08-05 15:15:00 -04:00
Neil Lalonde
f10c4682cd
FIX: muted tags showing in latest topic list
2016-08-04 11:54:48 -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
Régis Hanol
e92f5e4fbf
FEATURE: new email attachment blacklists site settings
2016-08-03 17:55:54 +02:00
Régis Hanol
35c13bca6c
Merge pull request #4363 from cpradio/version-link-shows-compare
...
FEATURE: Installed Version link shows GitHub Compare to branch being followed
2016-08-03 16:03:57 +02:00
Régis Hanol
323bd555c0
FIX: process all incoming email's destinations instead of only the first
2016-08-03 15:57:37 +02:00
Régis Hanol
b08ab829b8
added 'X-Auto-Response-Suppress' email header (props to elijah)
2016-08-03 11:02:07 +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
b860d1b254
FIX: Ensure uploads directory exists.
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
cpradio
1b89c2f0ef
FEATURE: Installed Version link shows GitHub Compare to branch being followed
2016-08-02 06:18:44 -04:00
Guo Xiang Tan
3f4f1ee032
Merge pull request #4359 from tgxworld/backward_compatibility_for_backups_and_restores
...
FIX: Ensure that our restorer is backwards compatible.
2016-08-02 10:45:27 +08:00
Guo Xiang Tan
441b98579a
FIX: Ensure that our restorer is backwards compatible.
2016-08-02 09:19:56 +08:00
Régis Hanol
ca4c939e9a
incoming mail is considered autogenerated when the subject match a list of 'out of office' keywords
2016-08-02 00:04:59 +02:00
Régis Hanol
7d0dc7cb7a
FIX: don't create staged user(s) when receiving a bounce (mailer-deamon begone)
2016-08-01 23:37:59 +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
Robin Ward
2891f230d1
SECURITY: Make sure uploaded_urls have corresponding upload records
2016-07-28 13:54:17 -04:00
Robin Ward
dc1a830d3d
SECURITY: SQL Injection in Admin List Active Users
2016-07-28 11:42:06 -04:00
Guo Xiang Tan
36ddb1787e
FEATURE: Add toggle topic visibility button in popup menu.
2016-07-28 16:57:04 +08:00
Sam
16a383ea1e
SECURITY: limit bad cookie auth attempts
...
- Also cleans up the _t cookie if it is invalid
2016-07-28 12:58:49 +10:00
Sam
ab68e0c9db
FEATURE: allow "developer" account flagging via developers table
...
This mechanism for flagging developer accounts will eventually replace
DISCOURSE_DEVELOPER_EMAILS
2016-07-28 10:14:06 +10:00
Régis Hanol
11172b7c2d
FIX: cropping GIF wasn't working
2016-07-27 18:48:02 +02:00
Andre Pereira
8cbd585e20
FEATURE: Allow staff users to merge posts.
2016-07-27 12:04:14 +08:00
Robin Ward
2a4006fe0c
Add YandexBot
to our list of crawlers
2016-07-26 13:21:37 -04:00
Neil Lalonde
ce595189ff
Version bump to v1.6.0.beta12
2016-07-26 11:49:51 -04:00
Guo Xiang Tan
76e57ddef3
FIX: Log errors in ensure
block of restorer.
2016-07-26 10:24:01 +08:00
Guo Xiang Tan
03aa13b2bb
FEATURE: Work with compressed version of pg_dump
during backup and restore.
2016-07-26 10:24:01 +08:00
Sam
b5fbff947b
FIX: don't expire old sessions when logging in
2016-07-26 11:37:41 +10: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
Régis Hanol
9971e62254
FIX: migrate_from_s3 rake task
2016-07-25 12:12:10 +02:00
Sam
e01802a13b
FIX: strip quote from search term when searching within topic
2016-07-25 15:06:25 +10:00
Sam
c1f62d8657
Revert "make upgrade a bit more seamless"
...
This reverts commit 78b88a1633
.
2016-07-25 12:49:33 +10:00
Sam
78b88a1633
make upgrade a bit more seamless
2016-07-25 12:30:52 +10:00
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
af266acac1
FIX: Plugin Custom emoji weren't working correctly on the server side
2016-07-22 12:59:43 -04:00
Sam
12dc511fea
PERF: make score calculator cheaper when site has long topics
2016-07-22 09:48:44 +10:00
Robin Ward
c11f7bee99
FIX: Registering emoji via plugin.rb was broken
2016-07-21 14:15:51 -04: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
Sam
1c964bf730
PERF: cache category topic ids
2016-07-19 12:34:54 +10:00
Robin Ward
7d4aed66c7
Email Cooker can onebox posts too
2016-07-18 15:00:12 -04:00
Robin Ward
12cfc8cedd
FIX: Email cooker should support links within blockquotes
2016-07-18 14:38:40 -04:00
Robin Ward
6db50b820d
FIX: Email cooker should link links that don't begin a line
2016-07-18 13:46:13 -04: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
56a7249498
Minor quoting improvements to email cooker
2016-07-15 15:37:16 -04:00
Régis Hanol
caa1aea995
FIX: ensure emojis have absolute URLs and uses CDN
2016-07-15 18:37:51 +02:00
Régis Hanol
6ed03bf3d9
FIX: always update bounce_score even when email was not auto_generated
2016-07-15 18:00:40 +02:00
Régis Hanol
8d2c878b34
FIX: only send 1 rejection email per day to prevent loops
2016-07-15 13:18:55 +02:00
Guo Xiang Tan
b981041f6f
Make sure we log failures in ensure
block.
2016-07-15 11:36:47 +08:00
Guo Xiang Tan
4aa3442824
Skip validations when creating a post by system user.
2016-07-15 11:36:29 +08:00
Guo Xiang Tan
5fe4837e28
Add PostCreator#create!
.
2016-07-15 11:36:06 +08:00
Hu Ming
f8a12d4940
Add support for AWS cn ( #4327 )
2016-07-14 16:56:09 +02:00
Régis Hanol
926c021125
set 'List-Unsubscribe' email header to new unsubscribe url instead of user preferences url
2016-07-13 22:32:46 +02:00
Robin Ward
b8261a662b
FIX: siteSettings
weren't getting applied to plugin auth
2016-07-13 16:11:48 -04:00
Guo Xiang Tan
c3cab98998
FEATURE: Admins should be able to create polls even when plugin is disabled.
2016-07-13 18:05:19 +08:00
Jeff Atwood
15a46d419f
tweak in-reply-to email CSS
2016-07-12 16:26:44 -07:00
Neil Lalonde
91e4af0d3d
FIX: restore of a backup from an older Discourse version can create new tables in the wrong schema, leading to UndefinedTable errors
2016-07-12 16:26:45 -04:00
Robin Ward
b00fd79989
FIX: Even better email rendering fixes
2016-07-12 15:37:19 -04:00
Robin Ward
bb90129731
Improvements to email cook text rendering
2016-07-12 13:49:03 -04:00
Robin Ward
0c3b049176
FIX: Autolinking in email formatter was broken
2016-07-12 13:33:13 -04:00
Rafael dos Santos Silva
5915929166
FIX: Unicode aware text sentinel ( #4301 )
...
* FIX: Handle unicode text on Text Sentinel
Uses active_support to properly handle unicode text
* Adds test cases to unicode Text Sentinel
2016-07-12 11:08:55 -04:00
Arpit Jalan
166d753bd3
FIX: delete PostgreSQL dump before gzipping archive ( #4323 )
2016-07-12 14:23:26 +02:00
Robin Ward
bba0fd0654
REFACTOR: PreloadStore to ES6
2016-07-11 12:57:05 -04:00
Robin Ward
7ff5b228cd
REFACTOR: Raw Handlebars ported to ES6
2016-07-11 12:57:05 -04:00
Robin Ward
b8125b3512
REFACTOR: Remove Discourse.Ajax
2016-07-11 12:57:05 -04:00
Robin Ward
56f07529bb
REFACTOR: Migrate more legacy JS 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
Neil Lalonde
bc25d9a7a0
Version bump to v1.6.0.beta11
2016-07-11 11:27:31 -04:00
Arpit Jalan
ed53a24dbe
FIX: backup was failing on large instances ( #4319 )
2016-07-11 08:36:20 +01:00
Neil Lalonde
304f7040a3
FIX: tag filter dropdown was gone if some tags were restricted to a category.
2016-07-08 17:13:40 -04: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
Sam
58c2389a7b
FEATURE: in dev use #focus to focus on failing test
...
(comment should be just above the def line)
2016-07-08 12:58:30 +10:00
Sam
8ee830e825
PERF: improve performance of weekly job
2016-07-08 12:58:30 +10:00
Guo Xiang Tan
423dc37f6c
Merge pull request #4315 from tgxworld/fix_tags_not_in_category_showing
...
Tags which are not allowed in a category showing in drop down.
2016-07-08 10:28:10 +08:00
Guo Xiang Tan
8fd0414cdf
WIP: Tags which are not allowed in a category showing in drop down.
2016-07-08 10:27:56 +08:00
Robin Ward
2005565c9c
Server side code for Watching First Post Only
2016-07-07 11:21:50 -04:00
Arpit Jalan
2facb6190f
FEATURE: new site setting download_remote_images_max_days_old
2016-07-06 19:33:51 +05:30
James Kiesel
3588780ac3
Don't reject likes by email for closed topics ( #4311 )
2016-07-05 17:33:08 +02:00
James Kiesel
949be591da
FEATURE: Allow <3 and ❤ to trigger like via email ( #4310 )
2016-07-05 15:59:23 +02:00
Guo Xiang Tan
f256e3afb6
Merge pull request #4297 from tgxworld/handle_user_enabled_readonly_mode
...
Handle user enabled readonly mode
2016-07-05 19:54:32 +08:00
Guo Xiang Tan
e4a82cdd85
Merge pull request #4306 from tgxworld/add_discourse_event_trigger_when_user_logs_out
...
FEATURE: Add event trigger when a user is logged out.
2016-07-05 19:50:46 +08:00
Felix Freiberger
8053bde1a2
Generate proper URIs for iframes in emails ( #4042 )
2016-07-04 11:29:12 +02:00
Guo Xiang Tan
22ade1f811
FEATURE: Add event trigger when a user is logged out.
2016-07-04 17:20:30 +08:00
Sam
d61df21d69
FEATURE: allow people to send messages to themselves (for notes etc)
2016-07-04 11:36:43 +10:00
Sam
92daf44daf
correct random suggested topic selection
2016-07-04 10:34:54 +10:00
Arpit Jalan
2f3ee3b658
FEATURE: new site setting suggested_topics_max_days_old
2016-07-03 15:07:56 +05:30
Régis Hanol
b65f2fc565
we can't see a nil category
2016-07-02 12:21:14 +02:00
Régis Hanol
9bf34ce49b
FIX: support 'nil' alternative reply by email address
2016-07-02 11:09:06 +02:00
Matt Palmer
22bbc3ea73
Log backtrace when we get mystery meat errors in e-mail processing
2016-07-02 15:03:13 +10:00
Guo Xiang Tan
b66fc72c18
FIX: Incorrect deprecation message.
2016-07-01 01:18:57 +08:00
Régis Hanol
4eb33d08b3
Version bump to v.1.6.0.beta10
2016-06-30 18:04:55 +02:00
Régis Hanol
da8163eb29
FIX: 'cdn_url' not 'cnd_url'
2016-06-30 17:15:56 +02:00
Régis Hanol
5169bcdb6e
FIX: httpshttps ultra secure URLs
2016-06-30 16:55:01 +02:00
Sam
b15f6bd211
FIX: s3 cdn urls not remapped correctly
2016-06-30 18:58:38 +10: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
64858c10fe
FIX: Set a not expiring key for user enabled readonly mode.
2016-06-29 15:10:01 +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
Guo Xiang Tan
7619c2fa2f
FIX: Make sure we add a TTL when we enable readonly mode.
2016-06-29 13:55:17 +08:00
Sam
83b08b87d5
Merge pull request #4269 from choiceaustralia/qunit-args
...
exit if RETRY is false
2016-06-29 11:44:17 +10:00
Guo Xiang Tan
e221414935
PERF: Remove N+1 queries on user messages page.
2016-06-29 09:30:54 +08: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
Régis Hanol
376881845c
always strip s/mime signatures in incoming emails
2016-06-27 22:26:05 +02:00
Régis Hanol
f3905fd99a
FIX: S3 CDN wasn't applied to lightboxed images
2016-06-27 22:08:49 +02:00
Régis Hanol
5eda2f43c6
small topic/category guardians refactor
2016-06-27 14:36:57 +02:00
Régis Hanol
800081f606
FIX: staged users weren't able to reply in restricted categories
2016-06-26 19:25:45 +02:00
Régis Hanol
589bae5c03
try to fix badly encoded emails
2016-06-26 13:27:34 +02:00
Régis Hanol
8c51d34100
FIX: receiving a bounce from a deleted user
2016-06-22 20:41:21 +02:00
Régis Hanol
d0a51df4d0
use standard rails logger
2016-06-22 18:09:11 +02:00
Régis Hanol
2ecd0da59f
REFACTOR: use same code path for handling emails via API and POP
2016-06-22 15:50:49 +02:00
Sam
6e4ff45e44
FIX: deleting a topic result not updated on screen
2016-06-22 17:28:46 +10:00
Neil Lalonde
5d125b02d9
Version bump to v1.6.0.beta9
2016-06-21 11:45:35 -04:00
James Kiesel
7a6bc3f1d7
Apply notification styles to mailing list email manually ( #4283 )
...
* Apply notification styles to mailing list email manually
* Fix failing spec
2016-06-21 20:42:30 +05:30
Neil Lalonde
6064c8e56e
Merge pull request #4235 from pthomas551/seed-posts
...
Enhance, refactor populate.thor
2016-06-20 15:15:34 -04:00
Guo Xiang Tan
dfdc54957c
FIX: A blocked user should not be able to moderate anything.
2016-06-20 15:51:26 +08:00
Phil Thomas
5e8c7037ef
Implement seed user, multiple topic creation
...
initial user seed setup
implement multiple topic creation option
refactor
refactor to remove hipster_words
add create_user method
refactor create_user
refactor topic creation
refactor post creation
refactor topic creation
refactor post creation
fix provided_user
minor refactoring
remove ffaker from Gemfile
re-add hipster words
remove use of ffaker
bugfix
improve documentation
2016-06-17 15:09:01 -05:00
Arpit Jalan
a4a53d6500
FIX: apply style formatting on post notification emails
2016-06-17 15:09:48 +05:30
Jeff Atwood
4f88f84053
attempt to fix styling error in mail post quotes
2016-06-17 00:56:25 -07:00
Matt Palmer
fde5ef4902
Merge pull request #4273 from mpalmer/log-useful-info-replyusernotmatchingerror
...
Log some useful info when raising ReplyUserNotMatchingError
2016-06-17 12:06:03 +10:00
Matt Palmer
eaf111f3e1
Log some useful info when raising ReplyUserNotMatchingError
2016-06-17 12:01:08 +10:00
Neil Lalonde
be338892ec
FIX: post revision history wasn't showing tags correctly
2016-06-15 14:15:30 -04:00
Guo Xiang Tan
169d17edc3
Include cdn path in the stylesheet digest.
2016-06-16 00:19:38 +08:00
Rimian Perkins
ccb5eed717
exit if RETRY is false
2016-06-14 14:17:39 +10:00
Rimian Perkins
d2bd857160
enable args MODULE and FILTER for qunit:test rake task
2016-06-14 12:06:11 +10:00
Régis Hanol
49f8a2baa7
FEATURE: support for mandrill webhooks
2016-06-13 12:32:14 +02:00
Guo Xiang Tan
95a013784f
Merge pull request #4260 from jamescook/james/replace-certain-gsub-with-tr
...
Replace certain uses of 'gsub' with 'tr' / 'chomp' for a speed improvement
2016-06-13 18:25:38 +08:00
Guo Xiang Tan
0c8dd28395
FIX: Post count wasn't recovered when a post is recovered.
2016-06-13 11:25:06 +08:00
James Cook
c0e25b5a9a
Replace certain uses of 'gsub' with 'tr' or 'chomp' for a speed
...
improvement
2016-06-10 22:08:37 -05:00
Neil Lalonde
9ecd5bd599
Version bump to v1.6.0.beta8
2016-06-10 13:41:22 -04:00
Régis Hanol
dffe50a2e6
new alternative reply by email addresses
2016-06-10 16:14:42 +02:00
Neil Lalonde
addf4822e3
FIX: max_tags_per_topic should not limit how many tags can be in a group
2016-06-09 16:32:19 -04: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
Neil Lalonde
5047979f96
FIX: cannot remove tags from a topic
2016-06-09 12:04:34 -04:00
Robin Ward
baae2a4b7c
FIX: Don't update the last read post when disable jump reply is set
2016-06-08 14:08:19 -04:00
Robin Ward
b9df18360d
If you search a category by id, also include its children
2016-06-08 13:50:52 -04: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
Sam
fe1ebee791
we need to fix permissions
2016-06-07 17:43:09 +10:00
Sam
d0c5dc9280
rename CONCURRENT to SPROCKETS_CONCURRENT
2016-06-07 17:03:05 +10:00
Sam
8d1a556f3e
FEATURE: Add brotli compression option to precompile
...
To enable brotli compression on static assets use COMPRESS_BROTLI
2016-06-07 16:55:57 +10:00
Arpit Jalan
b1a94049e0
FIX: only staff can access 'resend all invites' feature
2016-06-07 10:57:08 +05:30
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
Régis Hanol
ef8b652d1f
FIX: elided part of incoming email was dismissed when creating a new topic
2016-06-06 10:30:04 +02:00
Régis Hanol
99ad251731
different email footer when mailing_list_mode is enabled
2016-06-03 15:48:54 +02:00
Arpit Jalan
a166869d67
FEATURE: search fallback to tags when category not found
2016-06-02 18:14:41 +05:30
Sam
e01dc54f2a
UX: we should always simply use emoji codes as opposed to treating as image
2016-06-02 12:29:25 +10:00
Régis Hanol
9704603fab
FEATURE: sendgrid webhooks
2016-06-01 21:48:06 +02:00
Neil Lalonde
0f8b4dcc86
FIX: trust level 3 should not be able to edit topics in categories that restrict them from doing so
2016-06-01 15:42:10 -04:00
Robin Ward
6da097d91c
FIX: Deleted posts were showing the wrong dates in the timeline
2016-05-31 10:51:55 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget
2016-05-31 10:51:39 -04:00
Sam
e9ba6e4e99
clean up formatting reports
2016-05-31 07:57:28 +10: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
Régis Hanol
1caaf5208f
move tombstone under 'uploads/' for easier deployment
2016-05-30 09:46:27 +02:00
Sam
3eec0a83b0
clean up stop semantics and bypass test
2016-05-30 13:59:58 +10:00
Guo Xiang Tan
880b7e1053
FIX: Connections were incorrectly going to master when failing over.
2016-05-30 11:50:02 +08:00
Guo Xiang Tan
cb5be1fe8f
Upgrade rspec to 3.4.0.
2016-05-30 11:38:38 +08:00
Sam
cc088956bc
correct some test concurrency bugs
2016-05-30 12:28:05 +10:00
Sam
c9dcffe434
FEATURE: store history for scheduled job execution
2016-05-30 11:38:08 +10:00
Neil Lalonde
ec4a7d708d
Version bump to v1.6.0.beta7
2016-05-27 11:06:51 -04:00
Guo Xiang Tan
86ed6c7d5e
Revert "Clear read only timestamp in Redis when switching back to master."
...
This reverts commit f891430f32
.
2016-05-27 18:02:26 +08:00
Neil Lalonde
884779b5c1
FIX: N+1 query when tagging enabled and no tags in topic list query. Topic query ignored tags input when tagging is disabled.
2016-05-26 18:03:50 -04:00
Neil Lalonde
f13470b96b
Use db schema for tags instead of plugin store and custom fields
2016-05-26 14:29:48 -04:00
Régis Hanol
ebd4b45771
FIX: use 16:9 ratio to detect whether to crop a thumbnail or not
2016-05-26 19:02:31 +02:00
Neil Lalonde
113ce00e6a
Version bump to v1.6.0.beta6
2016-05-26 11:51:48 -04:00
Arpit Jalan
db4443250a
Merge pull request #4238 from techAPJ/avatar
...
FIX: broken onebox avatar image
2016-05-26 20:49:45 +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
Arpit Jalan
36ba5f6716
FIX: broken onebox avatar image
2016-05-26 07:57:42 +05:30
Régis Hanol
addd58d961
fix emoji size in email notifications
2016-05-24 15:00:25 +02: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
Régis Hanol
8c52508007
warn users it may take a while to un/zip backup
2016-05-23 09:33:29 +02:00
Sam
b2d59a8de3
update docker test
2016-05-23 15:29:39 +10:00
Guo Xiang Tan
26084397c1
FIX: Check if file exists upfront.
2016-05-23 10:25:53 +08:00
Sam
695773db1c
FEATURE: upgrade from therubyracer to mini_racer
...
This pushes our internal V8 JavaScript engine from Chrome 32 to 50.
It also resolves some long standing issues we had with the old wrapper.
2016-05-23 09:57:15 +10:00
Régis Hanol
c012b18601
FIX: sending email wasn't working anymore when a plugin used 'reduce_cooked' (cc @gdpelican)
2016-05-21 20:13:00 +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
Régis Hanol
4eeae880b6
fix deprecation comment in momentjs
2016-05-21 12:49:29 +02:00
Guo Xiang Tan
0634834009
Some fixes related to optimized images ( #4233 )
...
* FIX: No need to manually include relation.
* FIX: OR instead of chaining relation.
2016-05-20 09:12:25 +02:00
Neil Lalonde
6142ae55cd
Version bump to v1.6.0.beta5
2016-05-19 12:26:15 -04:00
Régis Hanol
c75d58ab21
FEATURE: new 'ignore_by_title' site setting
2016-05-18 23:07:01 +02:00
Régis Hanol
d43231da92
FIX: force date-picker to work with english locale
2016-05-18 20:58:33 +02:00
Sam
52c3b0b0ce
clear mini profiler cookie when admin logs off
2016-05-18 17:27:54 +10:00
Guo Xiang Tan
f891430f32
Clear read only timestamp in Redis when switching back to master.
2016-05-18 10:17:03 +08:00
Neil Lalonde
0101528821
PERF: update_user_counts is too slow during imports
2016-05-17 13:22:32 -04:00
Neil Lalonde
3deda3ca39
skip auto-close during import
2016-05-17 11:16:51 -04:00
Rafael dos Santos Silva
09ef5f613e
FEATURE: add setting permanent_session_cookie to configure session stickiness
...
Now admins can turn make the login cookie die after the browser is closed, so the user needs to log in everytime.
2016-05-17 01:12:09 -03:00
Régis Hanol
5f76287b18
FEATURE: cap number of staged users (defaults to 10) created per incoming email
2016-05-16 21:45:34 +02:00
Régis Hanol
341d5e10b3
FIX: auto-reply to VERP should be considered as hard boucne
2016-05-16 09:01:15 +02:00
Régis Hanol
5a75972b0b
SECURITY: 2 XSSs in post gutter and local oneboxes
2016-05-14 00:37:47 +02:00
Sam
d9bcf85edc
PERF: make development tolerable under sprockets 3
2016-05-13 18:30:03 +10:00
Arpit Jalan
5b030017d9
FEATURE: new search filter in:wiki
2016-05-13 13:56:53 +05:30
Arpit Jalan
00893ef1de
FEATURE: new search filter - @username
2016-05-12 14:26:26 +05:30
Robin Ward
c06a6a96cc
FEATURE: Embed images in tweets with dimensions, if present
2016-05-11 16:11:26 -04:00
Robin Ward
1714019cf7
FIX: OFFSET wasn't being applied correctly
2016-05-11 13:39:21 -04:00
Arpit Jalan
2e0350ee74
FEATURE: new search filter - #category-slug
2016-05-11 15:37:27 +05:30
Neil Lalonde
55dcccb287
Version bump to v1.6.0.beta4
2016-05-10 10:52:05 -04:00
Robin Ward
49a6d0b789
FIX: Don't bother with negative offsets
2016-05-09 16:33:55 -04:00
Mittineague
66fb02acad
Permit in topic search when full name is null ( #4217 )
...
* Permit in topic search when full name is null
* as per @gschlager and @ZogStriP pull 4217
2016-05-09 22:20:35 +02:00
Régis Hanol
d224966a0e
FIX: retry sending an email in 1 hour when SMTP server is busy
2016-05-09 20:37:33 +02:00
Konrad Borowski
9d737d894d
FIX: Don't diplay character reference in HTML diffs ( #4204 )
...
* FIX: Don't diplay character reference in HTML diffs
Before this change, HTML escaping was done before splitting text into
tokens, so token splitter saw literals like "'", and split them as
it was normal text into parts into ["&", "#", "39", ";"]. This caused
diff to display character references, as those tokens used separate
HTML tags to display their insertion/deletion status.
* Avoid making one element arrays while generating diffs
2016-05-09 08:44:21 +02:00
Sam
7c888c9a77
Merge pull request #4062 from xfalcox/patch-6
...
FIX: Properly downcase unicode chars
2016-05-08 21:39:00 +10:00
Régis Hanol
1e57bbf5c8
Lots bounce emails related fixes
...
- Show bounce score on user admin page
- Added reset bounce score button on user admin page
- Only whitelisted email types are sent to emails with high bounce score
- FIX: properly detect bounces even when there is no TO: header in the email
- Don't desactivate a user when reaching the bounce threshold
2016-05-06 19:34:33 +02:00
Neil Lalonde
1625b08c86
FIX: posting my fail because there are no tags
2016-05-06 11:20:17 -04:00
Arpit Jalan
22d7ea1192
FIX: user can't export entity unless they are logged in
2016-05-05 19:12:37 +05:30
Arpit Jalan
53809d526c
FIX: show proper error message when no user selected for private message
2016-05-05 18:47:08 +05:30
Neil Lalonde
484cd8b362
Version bump to v1.6.0.beta3
2016-05-04 14:30:46 -04:00
Arpit Jalan
b25d950d99
FEATURE: allow moderators to convert a private message to public topic or vice versa
2016-05-04 22:47:32 +05:30
Arpit Jalan
82daf93eb3
Merge pull request #4206 from techAPJ/convert-topic
...
FEATURE: move a topic from PM to regular topic or vice versa
2016-05-04 01:33:15 +05:30
Robin Ward
65392f37bb
FIX: Apply both embedded post filters
2016-05-03 15:19:59 -04:00
Robin Ward
664f1913c8
FIX: Don't include hidden posts in embedded comments
2016-05-03 15:01:20 -04:00
Régis Hanol
8e611ec7a1
FEATURE: handle bounced emails
2016-05-02 23:15:32 +02:00
Arpit Jalan
acfb540952
FEATURE: move a topic from PM to regular topic or vice versa
2016-05-02 21:34:05 +05:30
Sam
3f9ed76dad
no need to use discourse event here
2016-05-02 12:01:15 +10:00
Sam
d25dc126f7
FIX: Post does not save if it contains a tag link
2016-05-02 11:36:09 +10:00
Régis Hanol
a244c33023
temporarily disable processing email replies to VERP
2016-04-29 18:30:05 +02:00
Neil Lalonde
e5918c7d00
FEATURE: Merge tagging plugin into core
2016-04-27 11:58:53 -04:00
Robin Ward
de82bd946d
FIX: Group members should be able to see their groups even if private
2016-04-26 14:17:53 -04:00
Arpit Jalan
74b3807f60
FEATURE: new bootstrap mode settings for brand new Discourse community ( #4193 )
...
* FEATURE: new bootstrap mode settings for brand new Discourse community
* new SiteSetting.set_and_log method
2016-04-26 13:08:19 -04:00
Nick Ivanter
d59106cb15
FIX: duplicate subfolder prefix in links in digest ( #4179 )
...
In subfolder installs, the subfolder prefix was getting duplicated in topic and category links in the digest. E.g. http://example.com/forum/forum/t/ ...
2016-04-26 11:18:34 -04:00
Régis Hanol
2194ccec6e
slightly better automatic flag reason messages
2016-04-25 23:03:17 +02:00
Régis Hanol
84d4ebd910
use 'reply_by_email_address' setting for handling bounce emails using VERP
2016-04-25 20:06:45 +02:00
shaktikatare1989
d1f61015c0
Fix: Editing a topic with an invalid title will still push it to the top ( #4185 )
...
* fix: Editing a topic with an invalid title will still push it to the top
* add specs to check topic not bumped with invalid title
2016-04-25 10:33:38 +02:00
Jeff Atwood
ed446ca487
increase transpiler timeout to 15 sec
2016-04-21 16:52:25 -07:00
Guo Xiang Tan
9cac351fd8
Merge pull request #4184 from tgxworld/precompile_our_assets_concurrently
...
PERF: Uglify and gzip assets concurrently.
2016-04-21 10:55:12 +08:00
Guo Xiang Tan
b744306654
PERF: Uglify and gzip assets concurrently.
2016-04-21 10:36:09 +08:00
Neil Lalonde
3aa8593dab
Version bump to v1.6.0.beta2
2016-04-20 19:26:51 -04:00
Régis Hanol
4960b62110
FEATURE: new 'block_auto_generated_emails' site setting
2016-04-20 21:29:27 +02:00
Neil Lalonde
f62ffce03b
Merge pull request #4053 from xfalcox/patch-5
...
FIX: Image Lightbox on Subfolder Install
2016-04-20 15:16:35 -04:00
Robin Ward
c423ce6333
Allow auth providers to provide custom urls
2016-04-20 13:19:59 -04:00
Arpit Jalan
125d9b5d2e
Revert "UX: bigger title font on local oneboxed topic"
...
This reverts commit e492ed64ec
.
2016-04-19 21:40:50 +05:30
Guo Xiang Tan
fb6e7c1e19
Refactor DiscourseSassImporter
.
2016-04-19 14:58:03 +08:00
Guo Xiang Tan
95e0948fba
FIX: Don't use Uglifier that ships with Sprockets.
2016-04-19 14:29:20 +08:00
Guo Xiang Tan
6a33fcf48e
FIX: Do not gzip when using uglifier.
2016-04-19 12:27:51 +08:00
Régis Hanol
7d9f2265b9
FIX: improve support for handling emails coming from screened email addresses
2016-04-18 23:01:54 +02:00
Régis Hanol
de9136a8f2
FIX: bypass TL0-specific validations on posts in a PM
2016-04-18 22:08:42 +02:00
Sam
fad017d842
FEATURE: add support for bounce emails
...
We now optionally add a Variable Email Return Path to every email we send.
This allows us to cleanly handle email bounces, which in turn will improve
deliverability.
2016-04-18 17:14:01 +10:00
Guo Xiang Tan
21df320f71
FIX: Duplicated file.
2016-04-18 11:18:37 +08:00
Guo Xiang Tan
256d7a00e9
Update sprockets. ( #4167 )
...
* Update sass-rails.
* FIX: Tilt dependency has been removed from Ember::Handlebars::Template.
* Update `DiscourseIIFE` to new Sprockets API.
* `Rails.application.assets` returns `nil` in production.
* Move sprockets-rails out of the assets group.
* Pin ember-rails to 0.18.5 which works with Sprockets 3.x.
* Update sprockets to 3.6.0.
* Make `DiscourseSassCompiler` work with Sprockets 3.
* Use `Sass::Rails::SassImporterGlobbing` instead of haxxing our own.
* Moneky patch so that we don't add dependencies for our custom css.
* FIX: Missing class.
* Upgrade ember-handlebars-template.
* FIX: require path needs to share the same root as the folder's path.
* Bump discourse-qunit-rails.
* Update ember-template-compiler.js to 1.12.2.
* `prepend` is private in Ruby 2.0.0.
2016-04-18 10:47:52 +08:00
Guo Xiang Tan
36e3f1f5e4
FIX: Reset state of DiscourseRedis::FallbackHandler
in tests.
2016-04-18 10:41:40 +08:00
Régis Hanol
1a621f3393
FIX: don't extract links to anchors
2016-04-15 20:02:18 +02:00
Arpit Jalan
e492ed64ec
UX: bigger title font on local oneboxed topic
2016-04-15 18:12:21 +05:30
Guo Xiang Tan
862b4fc9da
FIX: DiscourseRedis::FallbackHandler
not restricting number of threads spawned.
2016-04-15 17:05:03 +08:00
Sam
9e50f36c50
Merge pull request #4137 from cpradio/add-warning-to-flag
...
FEATURE: Add warning input to flag dialog when notifying a user
2016-04-15 16:23:22 +10:00
Arpit Jalan
e30c8239a2
FEATURE: show poster avatar for remote Discourse post onebox
2016-04-15 00:03:37 +05:30
Robin Ward
b0803f7035
FIX: New badges were missing post link
2016-04-13 16:38:24 -04:00
Robin Ward
e91379916b
FIX: Provide the ability to reduce
cooked content
...
This allows us to strip polls from the group posts page.
2016-04-13 13:25:18 -04:00
Arpit Jalan
6633b92d5f
FIX: do not raise exception if user not found while rate limiting
2016-04-13 20:08:03 +05:30
Régis Hanol
557e59c28e
check the uploads doesn't already exists before copying it
2016-04-13 16:33:00 +02:00
Régis Hanol
4d9c81fde7
Merge pull request #4148 from tgxworld/dont_reply_to_emails_that_are_autogenerated
...
FIX: Don't send rejection mailer to bounced emails.
2016-04-13 15:36:14 +02:00
Sam
8ba57c0ffd
FIX: restrict moderators from creating/editing topics in readonly categories
...
In the past moderators had blanket access to all categories they were allowed
to see. This tightens down the restriction.
2016-04-13 15:59:38 +10:00
Sam
6688dce2b8
FIX: discourse local onebox not working correctly in multisite
2016-04-13 12:19:02 +10:00
Jeff Atwood
f39186b24a
FIX: autoclose topic max replies used wrong constant
2016-04-12 13:42:52 -07:00
Robin Ward
0396b14b70
FEATURE: New "First Onebox" badge
2016-04-12 15:31:14 -04:00
Régis Hanol
8e4113a468
add multisite support for the 'uploads:gather' rake task
2016-04-12 16:00:25 +02:00
Sam
0113fce420
FEATURE: automatically close topics with 10k+ posts
...
FEATURE: automatically close messages with 2k+ posts
Both configurable via `auto_close_messages_post_count`
and `auto_close_topics_post_count`
2016-04-12 13:29:48 +10:00
Sam
22b2f5285c
FIX: extract links in post processor
...
when oneboxes are not cached or are refreshed they can introduce new
links, these links must be extracted otherwise you can not follow them
2016-04-12 12:28:18 +10:00
Régis Hanol
56089c4856
FEATURE: new 'auto_generated_whitelist' site setting
2016-04-11 22:47:34 +02:00
Neil Lalonde
a299231f9a
FEATURE: add setting to omit category name from topic page title tag
2016-04-11 16:44:16 -04:00
Régis Hanol
71fe66c8c2
'uploads:gather' should only work on local uploads
2016-04-11 21:17:33 +02:00
Régis Hanol
90dfc96206
new 'uploads:gather' rake task
2016-04-11 20:42:40 +02:00
Régis Hanol
a359a973e2
remove useless content when sending email to a staged used
2016-04-11 19:06:10 +02:00
Robin Ward
bb25200745
FIX: Liked posts based badges were looking at all likes
2016-04-11 12:36:43 -04:00
Régis Hanol
e4980392da
improve receiver specs to account for posts approval
2016-04-11 18:20:26 +02:00
Robin Ward
cc25716e47
FIX: Allow message format translations to be overridden
2016-04-08 14:49:50 -04:00
Arpit Jalan
c5794ab0f6
allow magic login route emails even when emails are disabled
2016-04-08 11:20:09 +05:30
Sam
eafba0c0c0
correct diagnostics method
2016-04-08 12:11:41 +10:00
Sam
19ca08857f
FEATURE: verbose SSO logging
...
By enabling the site setting verbose_sso_logging
you can log information every time a user tries initiates SSO
and during SSO failures
2016-04-08 11:20:01 +10:00
Robin Ward
3f7ced9236
Try running once off jobs outside of db:migrate
2016-04-07 15:07:24 -04:00
Robin Ward
078b3bc87e
Log once off jobs and enqueue on db:migrate
2016-04-07 14:32:31 -04:00
Robin Ward
5059ee04b9
Remove UserFirst
table and grant Emoji badge directly
2016-04-07 12:31:41 -04:00
Guo Xiang Tan
6aa447816d
UX: Publish changes to TopicView when Topic is updated.
2016-04-07 16:29:01 +02:00
Guo Xiang Tan
5734c7f3f3
FIX: Don't send rejection mailer to bounced emails.
2016-04-07 22:21:17 +08:00
Guo Xiang Tan
60c21a3393
Extract valid connection types into a constant.
2016-04-07 15:45:42 +08:00
Guo Xiang Tan
7f6fe8fe13
FIX: Pubsub connections need to be killed too.
2016-04-07 15:30:05 +08:00
Sam
a130cb8305
FEATURE: move more urgent emails notifications to critical queue
...
Move signup, admin login and password change email notifications
to critical queue
2016-04-07 14:39:01 +10:00
Sam
8ec7fd84fd
FEATURE: prioritize sidekiq jobs
...
This commit introduces 3 queues for sidekiq
"critical" for urgent jobs (weighted at 4x weight)
"default" for standard jobs(weighted at 2x weight)
"low" for less important jobs
"critical jobs"
Reset Password emails has been seperated to its own job
Heartbeat which is required to keep sidekiq running
Test email which needs to return real quick
"low priority jobs"
Notify mailing list
Pull hotlinked images
Update gravatar
"default"
All the rest
Note: for people running sidekiq from command line use
bin/sidekiq -q critical,4 -q default,2 -q low
2016-04-07 12:56:43 +10:00
Régis Hanol
2c508f205a
FEATURE: properly set 'In-Reply-To' header when sending an email that is a reply to an incoming email
2016-04-06 21:05:10 +02:00
Robin Ward
5866f0df18
Remove UserFirst for mention since it can be retrieved elsewhere
2016-04-06 14:01:37 -04:00
Robin Ward
189d70661e
FIX: Don't count emojis within quotes
2016-04-06 12:02:35 -04:00
Régis Hanol
56c870cca2
add support for 1.5 pixel ratio
2016-04-06 10:57:59 +02:00
Robin Ward
64a1a44c4b
FIX: Don't create user first records on private posts
2016-04-05 16:13:10 -04:00
Robin Ward
c30d327b77
FEATURE: Two new badges - First Emoji and First Mention
2016-04-05 15:17:41 -04:00
Régis Hanol
332a1ea87e
FIX: add support for 'space' in backup's filename
2016-04-04 17:24:02 +02:00
Sam
da419326be
FIX: nil and blank string should not override a site setting
2016-04-04 16:36:32 +10:00
cpradio
95fa340601
Added spec tests
2016-04-03 19:44:14 -04:00
Guo Xiang Tan
1481b3420e
Add more logging so that we know what is happening with Redis fallback.
2016-04-01 14:24:09 +08:00
Neil Lalonde
8f4bc2228f
Version bump to v1.6.0.beta1
2016-03-31 17:55:23 -04:00
Arpit Jalan
094f7a73d5
FIX: allow post editing but do not allow ninja edit for active flagged post
2016-03-31 00:11:08 +05:30
Neil Lalonde
44e41df76b
FIX: add missing MessageFormat files for fa_IR, pl_PL and tr_TR
2016-03-30 14:02:42 -04:00
Arpit Jalan
6f0137dec9
FEATURE: disable post editing when the post has active flag
2016-03-30 23:28:49 +05:30
Régis Hanol
79329c8e85
FIX: check we used the right encoding when parsing incoming emails
2016-03-30 19:54:38 +02:00
Régis Hanol
6c82fbebf5
detect more auto-generated emails
2016-03-30 18:41:09 +02:00
Sam
fbdd9c0034
FIX: unread and new count not removing deleted topics on the fly
...
FIX: unread PMs interfering with unread count
2016-03-30 11:18:07 +11:00
Jeff Atwood
8f59917f6b
increase es6 transpiler timeout from 5 to 10 sec
2016-03-29 16:43:04 -07:00
Neil Lalonde
25235eca1c
Version bump to v1.5.0.beta14
2016-03-29 15:13:43 -04:00
Jeff Atwood
ac6d38ab34
radically simplify our mobile user agent detection
2016-03-26 02:02:23 -07:00
Arpit Jalan
da2f1fda15
FIX: increase read_timeout when downloading avatar
2016-03-24 17:40:03 +05:30
Régis Hanol
39863953cd
new 'enable_staged_users' site setting
2016-03-23 18:56:03 +01:00
Jeff Atwood
389801f244
Merge pull request #4110 from gdpelican/fix/bullet-category-stripe-alignment
...
Fix for category stripe misalignment
2016-03-22 18:58:11 -07:00
James Kiesel
0b558f5874
Fix for category stripe misalignment
2016-03-23 14:45:22 +13:00
Rafael dos Santos Silva
fd87f59bbb
Test for existing title
2016-03-21 23:06:39 -03:00
Sam
643d7f07c3
correct very odd error on connect to redis
2016-03-22 10:02:19 +11:00
Régis Hanol
afacc70fbe
improve error message when trying to change email address to one used by a staged user
2016-03-21 19:36:26 +01:00
Rafael dos Santos Silva
adae5d78f5
Rewrite capitalize for readability
...
Makes capitalize logic more clear with @sam suggestion
2016-03-20 08:35:48 -04:00
Robin Ward
b4f306ce03
FEATURE: Site Customizations can use the plugin api
2016-03-18 14:41:48 -04:00
Robin Ward
5d4ee2ca1d
FEATURE: Warn a user when they have few likes remaining
2016-03-18 11:30:29 -04:00
Régis Hanol
f15d463eb8
FIX: user 'UserBlocker' when blocking a new user
2016-03-18 12:16:37 +01:00
Sam
77242e4680
FEATURE: in:pinned and in:unpinned search filters
2016-03-18 16:26:54 +11:00
Sam
50f7616d04
FIX: include pinned status in search results
2016-03-18 16:26:20 +11:00
Régis Hanol
03a1aa0000
SECURITY: only add elided part of email in PM
2016-03-17 23:10:46 +01:00
Neil Lalonde
9b77a1a36c
Version bump to v1.5.0.beta13b
2016-03-17 13:16:46 -04:00
Neil Lalonde
699b0d3e57
Version bump to v1.5.0.beta13
2016-03-17 12:19:35 -04:00
Régis Hanol
7acdbc8448
FIX: don't extract links from elided parts
2016-03-16 22:35:08 +01:00
Régis Hanol
20ce7f29e0
FEATURE: new 'manual_polling_enabled' site setting
2016-03-16 22:28:01 +01:00
Sam
84d234a98a
Merge pull request #4076 from scossar/locale-from-header-setting
...
FEATURE: add site setting for setting locale from header
2016-03-17 07:53:20 +11:00
Sam Saffron
e84d5549ef
FEATURE: only allow sidekiq in master site when hosted on multisite
2016-03-17 00:26:07 +11:00
Jeff Atwood
978fb61cdf
switch mobile detection to look for "Android"
2016-03-15 17:12:05 -07:00
Jeff Atwood
d052f1746c
add support for other Nexus devices as "mobile"
2016-03-15 16:46:46 -07:00
Robin Ward
06591022fe
FEATURE: Generous badge
2016-03-15 16:08:29 -04:00
scossar
1914495e88
make error message translatable
2016-03-15 10:02:10 -07:00
Arpit Jalan
3e32393ab6
FIX: do not allow normal users to wiki edit-expired posts
2016-03-15 15:05:57 +05:30
Angus McLeod
91a2750084
Advance draft sequence in PostRevisor if edit contains no changes
...
Simplest version of the server-side fix for
https://meta.discourse.org/t/draft-not-cleared-properly-when-empty-edit-
of-post-is-saved/40939
2016-03-14 20:31:50 -04:00
scossar
0cbeda8414
add site setting for setting locale from header
2016-03-14 16:18:19 -07:00
Régis Hanol
e09e807027
FIX: skip validation when replying via email for staged users
2016-03-14 22:21:18 +01:00
Robin Ward
621f7e0a65
FIX: Replace emoji in local oneboxes
2016-03-14 14:48:48 -04:00
Régis Hanol
4a3cb4a000
FIX: use MD5 of the email_string when there's no 'Message-Id'
2016-03-14 18:18:58 +01:00
Sam Saffron
e00850a1ab
FEATURE: implement before and after filters in search remove max_age and min_age
...
supports
- before:monday
- after:june
- before:2001
- before:2001-01-22
2016-03-14 23:27:02 +11:00
Robin Ward
1006b1ba94
Various Plugin Enhancements and Extension Points
2016-03-11 15:53:37 -05:00
Régis Hanol
841cec1bc1
FIX: support emails in with weird encoding
2016-03-11 18:51:53 +01:00
Régis Hanol
6d84a8a1b3
FIX: don't send out elided message in email notifications
...
UX: improved details tag for elided messages
2016-03-11 17:51:16 +01:00
Guo Xiang Tan
bf209d8344
FIX: Redis hostname may resolve to nothing.
2016-03-11 19:06:37 +08:00
Guo Xiang Tan
90fde5053d
FIX: Load Redis patch much earlier.
2016-03-11 17:29:00 +08:00
Guo Xiang Tan
c07c474575
FEATURE: Master-Slave Redis configuration with fallback and switch over.
2016-03-11 12:18:58 +08:00
Sam
7fb8fda7bf
Merge pull request #4065 from phw/update-highlightjs
...
Updated highlight.js
2016-03-10 16:21:17 +11:00
Rafael dos Santos Silva
c2e0eeb089
Separate relative base_url and upload_path
...
This makes easier to reason about paths
2016-03-10 00:47:18 -03:00
Rafael dos Santos Silva
decb744c76
Fix capitalize
2016-03-10 00:44:44 -03:00
Régis Hanol
2747e14b4c
FEATURE: hide elided part of incoming emails behind a [details] tag
2016-03-09 18:51:54 +01:00
Philipp Wolfer
9ad8d23d21
Updated highlight.js
2016-03-09 08:58:44 +01:00
Robin Ward
5771d2aee2
SECURITY: Support for confirm old as well as new email accounts
2016-03-08 14:52:22 -05:00
Guo Xiang Tan
d783a393ec
Fix randomly failing test.
2016-03-08 12:51:51 +08:00
Guo Xiang Tan
322ee3e17c
Fix the build.
2016-03-08 11:38:26 +08:00
Guo Xiang Tan
00078a438b
FIX: FastImage#size
returns nil
if it can't fetch the image size.
2016-03-08 11:29:18 +08:00
Guo Xiang Tan
fcc86d3a9d
FIX: PostgreSQLFallbackHandler
was bouncing in and out of readonly.
2016-03-08 10:02:38 +08:00
Rafael dos Santos Silva
3e6ae45a93
Handle Capitalize too
...
Handles capitalize too, using the same lib
2016-03-07 22:09:30 -03:00
Rafael dos Santos Silva
71b026bc01
FIX: Properly downcase unicode chars
...
Fix to https://meta.discourse.org/t/title-prettify-does-not-correctly-lowercase-non-english-characters-when-removing-all-caps/16645
This adds a dependency on Active Support Multibyte to downcase on other languages.
2016-03-07 17:07:36 -03:00
Régis Hanol
622d804d46
FEATURE: Add rejection message on rejected IncomingEmail
...
FIX: Better RateLimit description in rejected IncomingEmail
FEATURE: Send email when hitting a rate limit
2016-03-07 16:56:17 +01:00
Neil Lalonde
090a064c41
Version bump to v1.5.0.beta12
2016-03-07 10:37:00 -05:00
Sam
c838291d47
Merge pull request #4041 from joebuhlig/custom-field-sorting
...
Added ability to create topic sorts with custom_fields for plugins
2016-03-07 14:15:23 +11:00
Sam
fe6ea48123
Merge pull request #4038 from markbiegel/instagram-login
...
FEATURE: Instagram OmniAuth login methods
2016-03-07 14:05:07 +11:00
Sam
77ecaba43a
Merge pull request #4049 from tgxworld/support_multisite_in_postgresql_fallback
...
FEATURE: Support multisite in PostgreSQL fallback adapter.
2016-03-07 14:01:15 +11:00
Robin Ward
396713718b
FEATURE: Adds ~200 more emoji
...
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
2016-03-04 15:10:14 -05:00
Joe Buhlig
8d6579c729
Added ability to create topic sorts in plugins with custom_fields
2016-03-04 11:07:39 -06:00
scossar
a20a52b25f
add user locale
2016-03-03 17:21:50 -08:00
Arpit Jalan
36f82aa68c
FEATURE: enforce admin password validation when signing up via developer email
2016-03-04 00:28:47 +05:30
Régis Hanol
8d4bac7da2
fix build & add migration to clear common passwords cache
2016-03-03 19:39:22 +01:00
Jeff Atwood
57c518eee1
update common password checker for 10 char+
2016-03-03 04:06:54 -08:00
Neil Lalonde
53a463d7c1
Hub must be called with https
2016-03-02 17:51:13 -05:00
Rafael dos Santos Silva
4d01328bc2
FIX: Image Lightbox on Subfolder Install
...
Since LocalSotre.is_relative wasn't subfolder aware, images on subfolder install weren't getting lightboxed.
2016-03-02 18:44:15 -03:00
Robin Ward
be257225b6
Adjustment: New User Posts must be reviewed at TL0 + TL1
2016-03-02 14:54:03 -05:00
Robin Ward
0167f6bb57
FIX: Don't substitute emojis within code blocks
2016-03-02 14:32:00 -05:00
Robin Ward
94f5aa6015
FIX: Have the approve post count
setting work as advertised
2016-03-02 13:20:13 -05:00
Guo Xiang Tan
b41aa27a84
FEATURE: Support multisite in PostgreSQL fallback adapter.
2016-03-02 21:37:37 +08:00
Arpit Jalan
50e65634d7
FEATURE: new setting min_admin_password_length and better default
2016-03-02 14:43:26 +05:30
Régis Hanol
be5a54d67d
FEATURE: new 'allow_all_attachments_for_group_messages' site setting
2016-02-29 22:39:24 +01:00
Sam Saffron
89d550dac5
UX: In Reply / Previous Replies some times purple in gmail
2016-02-27 19:07:15 +11:00
Régis Hanol
21b51090bf
FIX: don't tell staged users they can visit topics in email notifications
2016-02-26 23:56:56 +01:00
Mark Biegel
70b287a053
Update instagram_authenticator.rb
2016-02-26 11:37:48 +10:00
Guo Xiang Tan
e8de80de98
FIX: Default to first page when page params is an array.
2016-02-25 11:32:58 +08:00
Ubuntu
5c603bf8ec
Added Instagram login method
2016-02-25 12:13:59 +10:00
Régis Hanol
f7432d8ec9
FEATURE: add support for multiple incoming emails for groups & categories
2016-02-24 19:47:58 +01:00
Régis Hanol
54262cc9b2
FIX: properly handle invalid from header
2016-02-24 17:40:57 +01:00
Régis Hanol
c3a393a11f
let's try with 'normal' linebreaks
2016-02-24 15:16:29 +01:00
Régis Hanol
999e7ac4bc
FIX: newlines around attachments in received emails
2016-02-24 11:38:12 +01:00
Régis Hanol
415efd0f5b
FIX: staged user doesn't get notified for replies in topics they created in secured categories
2016-02-24 11:30:17 +01:00
Sam
833af461ab
FIX: stop using regex to detect mentions
2016-02-24 17:47:55 +11:00
Sam
4ce870c17f
Merge pull request #4031 from rriemann/support_hyphen_in_mentions
...
fix: support for hyphens in group name
2016-02-24 17:21:56 +11:00
Sam
3c072cdfc9
Merge branch 'master' of github.com:discourse/discourse
2016-02-24 13:53:43 +11:00
Robert Riemann
9c39647cd2
fix: support for hyphens in group name
...
The group mention @ORG-team triggers notifications for the group @ORG. This fix changes the RegExp, so that the group name is correctly extracted.
see: https://meta.discourse.org/t/group-mentions-that-begin-with-the-same-characters-may-be-incorrect/39892/12?u=rriemann
2016-02-23 23:55:31 +01:00
Robin Ward
ee1aec6766
Merge branch 'vdom'
2016-02-23 15:30:40 -05:00
Neil Lalonde
eb87cffa13
FEATURE: Category/topic importer skips objects that it has already imported.
2016-02-23 12:19:08 -05:00
Guo Xiang Tan
f2db1a27cf
FIX: Make sure we write inside a lock.
2016-02-23 12:10:25 -05:00
Guo Xiang Tan
8dad58ba78
FIX: N+1 query on topics view page.
2016-02-23 12:10:25 -05:00
Guo Xiang Tan
c344bd3fd1
FIX: Make sure we write inside a lock.
2016-02-23 23:25:59 +08:00
Guo Xiang Tan
ced86aa890
FIX: N+1 query on topics view page.
2016-02-23 16:22:40 +08:00
Sam Saffron
d0a86f8032
Merge branch 'master' into vdom
2016-02-23 15:58:46 +11:00
Sam
1f81d2f178
Merge branch 'master' of github.com:discourse/discourse
2016-02-23 10:34:57 +11:00
Sam
32c681c96b
annotate models
2016-02-23 10:33:53 +11:00
Gerhard Schlager
8481548def
FIX: Load fallback locales after reloading translations
2016-02-22 22:48:56 +01:00
Gerhard Schlager
80c9fa4dca
FIX: Load translation overrides for more than one locale
2016-02-22 22:48:56 +01:00
Gerhard Schlager
2e875d3cca
FIX: Use fallback locales when searching for translations
2016-02-22 22:48:55 +01:00
Robin Ward
026bba1876
Merge branch 'master' into vdom
2016-02-22 15:28:07 -05:00
Régis Hanol
5415b2666d
FIX: staged users couldn't create new topic in a private category via email
2016-02-22 19:57:53 +01:00
Neil Lalonde
1b9b68cb51
Version bump to v1.5.0.beta11
2016-02-22 11:27:35 -05:00
Sam
c404da248a
Merge branch 'master' into vdom
2016-02-22 12:20:59 +11:00
Gerhard Schlager
c4ec1d0fcf
FIX: Don't suggest invalid username
2016-02-21 23:28:57 +01:00
Sam
b9bcdb984a
Merge branch 'master' into vdom
2016-02-18 16:57:40 +11:00
Sam
f0e942f647
PERF: move 3 more option columns out of the user table
2016-02-18 16:57:22 +11:00
Sam
b11e6ec38e
Merge branch 'master' into vdom
2016-02-18 13:20:55 +11:00
Régis Hanol
52a6682690
FIX: don't create an EmailLog when we can't send a digest
2016-02-17 17:31:46 +01:00
Régis Hanol
8893d711e0
FEATURE: new pop3 polling configuration admin dashboard check
2016-02-17 11:25:49 +01:00
Sam
e8f76c335a
Merge branch 'master' into vdom
2016-02-17 18:10:12 +11:00
Sam
bbbb09a6fb
FEATURE: start tracking information about migrations that run
...
This commit adds a new tracking table that lets us know
- When a migration ran
- What version Discourse was at
- How long it took
- What version Rails was at
The built in tracking in Rails is very limited, does not track this info
2016-02-17 18:08:25 +11:00
Sam
3829c78526
PERF: shift most user options out of the user table
...
As it stands we load up user records quite frequently on the topic pages,
this in turn pulls all the columns for the users being selected, just to
discard them after they are loaded
New structure keeps all options in a discrete table, this is better organised
and allows us to easily add more column without worrying about bloating the
user table
2016-02-17 18:08:25 +11:00
Robin Ward
3ea1f88cdc
Merge branch 'master' into vdom
2016-02-16 11:48:42 -05:00
Régis Hanol
c33a6ddfed
Merge pull request #4009 from ebernhardson/export_category_filename
...
Take filename to write to as optional parameter to export_category
2016-02-16 10:53:22 +01:00
Sam
18d67851c0
Merge branch 'master' into vdom
2016-02-16 11:53:14 +11:00
Régis Hanol
4ad5660615
add slightly more logs when skipping email notifications
2016-02-15 17:53:07 +01:00
Sam
b878598418
Merge branch 'master' into vdom
2016-02-13 17:49:50 +11:00
Sam
b1e68390f4
FIX: false overrides should be permitted via ENV
2016-02-13 17:49:26 +11:00
Erik Bernhardson
48cb386d58
Take filename to write to as optional parameter to export_category
...
My discourse instance will be making regular automated public backups
of specific categories. It's preferred to be able to directly control
the path and filename of the output, rather than letting discourse
choose for me. This was already mostly supported, a filename parameter
just needed to be passed through the cli app.
2016-02-12 22:02:29 -08:00
Neil Lalonde
3939b9ec7d
FIX: restore in development mode connects to the wrong database
2016-02-12 17:20:38 -05:00
Sam
f02e035f94
Merge branch 'master' into vdom
2016-02-12 18:21:03 +11:00
Guo Xiang Tan
b0d2e69cc3
FIX: Update log level to warn.
2016-02-12 15:18:34 +08:00
Sam
06403df059
Merge branch 'master' into vdom
2016-02-12 17:51:44 +11:00
Régis Hanol
86819f08c3
FIX: use RFC-compliant previous replies separator
2016-02-11 18:48:09 +01:00
Robin Ward
d1e85bdd8b
FEATURE: Use virtual dom framework for faster post rendering
2016-02-11 11:00:40 -05:00
Régis Hanol
3bf931ce54
FIX: should have been 'category_slug'
2016-02-11 16:04:40 +01:00
Régis Hanol
75a78e0518
Merge pull request #4007 from tgxworld/fix_siitesetting_not_published_to_clients
...
FIX: Client settings were not being published.
2016-02-11 11:51:10 +01:00
Guo Xiang Tan
f2c64a3580
FIX: Client settings were not being published.
2016-02-11 17:53:30 +08:00
Régis Hanol
cad7fc1062
FIX: don't allow blocked user to send emails in
2016-02-11 10:39:57 +01:00
Régis Hanol
91bb38626c
FEATURE: new incoming email details modal
2016-02-10 22:00:27 +01:00
Guo Xiang Tan
39aaa181e1
FIX: Category hashtag is cooked incorrectly.
2016-02-10 17:08:57 +08:00
Sam Saffron
d0dd517f27
FEATURE: blank global settings should not shadow
...
Due to https://github.com/docker/docker/issues/9298 it is a huge pain
to remove ENV vars when composing images, allow us to simply treat "blank"
as a ENV var that is not being shadowed. In general we always supply a
value to ENV vars we are shadowing.
2016-02-10 11:54:40 +11: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
82a75c00c0
UX: change 'Visit Topic' to 'Visit Message' for message notification email
2016-02-09 13:39:10 +05:30
Sam Saffron
b0567f9c62
FEATURE: automatically sync "move to inbox" / "archive" state on messages
2016-02-07 23:39:07 +11:00
Gerhard Schlager
89add4a4a2
JsLocaleHelper should search for moment.js locale files
...
moment.js uses a different naming conventions for locale files.
E.g. "zh-zn" instead of "zh_ZN" and "nb" instead of "nb_NO"
This change allows us to use the locale files without renaming which
makes future upgrades of moment.js a lot easier.
2016-02-05 21:49:03 +01:00
Gerhard Schlager
8ced8350ba
Upgrade moment.js to version 2.11.2
...
In order to make future upgrades easier we don't rename the locale files anymore.
2016-02-05 21:42:48 +01:00
Régis Hanol
56a16a0e89
we still need md5
2016-02-05 15:27:24 +01:00
Sam Saffron
e3747f654b
SECURITY: hoist blocks using guids, not md5 hashes
2016-02-06 01:02:48 +11:00
Sam
0032047804
missing a bracket
2016-02-05 15:01:12 +11:00
Guo Xiang Tan
8560194abf
Merge pull request #3973 from tgxworld/postgres_failover
...
FEATURE: AR adapter to failover to a replica DB server.
2016-02-05 11:27:40 +08:00
Guo Xiang Tan
74dc838f5f
FIX: Add a lock to ensure only a single thread is running each time.
2016-02-05 10:47:47 +08:00
Sam
886273f158
FIX: when CDN assets are not in root path source maps fail
2016-02-05 13:05:47 +11:00
Guo Xiang Tan
c532d7d1ae
Internally AR::Base.establish_connection
removes the current connection.
2016-02-05 08:51:50 +08:00
Guo Xiang Tan
a08496bb1a
Remove Concurrent::TimerTask which spawns a long lasting Thread.
2016-02-05 08:51:50 +08: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
Sam
0ef141b2c3
FIX: skip jwt encoding for auth
2016-02-05 08:48:16 +11:00
Neil Lalonde
eb593f568f
Version bump to v1.5.0.beta10
2016-02-04 13:44:29 -05:00
Régis Hanol
7d992cb4c5
FIX: sending emails to mailing list subscribers wasn't working
2016-02-03 19:27:58 +01:00
Régis Hanol
d43a693654
Merge pull request #3991 from xfalcox/patch-4
...
FIX: Local onebox on subfolder installs
2016-02-03 11:23:29 +01: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
Neil Lalonde
0d611ed8cb
FIX: group import/export bugs in category exporter
2016-02-02 16:06:19 -05:00
Régis Hanol
cf4c256b17
FEATURE: new 'raw email' modal when listing rejected emails
2016-02-01 21:41:49 +01:00
Arpit Jalan
99c4252ba6
FEATURE: Staff should be exempt from user mention limit
2016-02-01 21:19:56 +05:30
Rafael dos Santos Silva
e51293d298
FIX: Local onebox on subfolder installs
...
This should fix oneboxing local topics when using the subfolder install feature.
2016-02-01 13:30:48 -02:00
Régis Hanol
49d1f88f6e
FIX: support incoming emails with no subject
2016-02-01 12:16:15 +01:00
Régis Hanol
27aaed0aa5
FIX: don't use 'Return-Path' header to determine whether the email was auto generated
2016-02-01 10:21:58 +01:00
Régis Hanol
46b6c55197
FIX: replace 'discourse_email_parser' with 'email_reply_trimmer' to better trim replies from plain text emails
...
FIX: undefined method `number_to_human_size' when email contains attachments
2016-01-30 01:29:31 +01:00
Sam Saffron
1d27b33100
FIX: DistributedCache would fail serialization in some cases
2016-01-30 09:01:15 +11:00
Régis Hanol
96380bfd38
FIX: only create 1 email_log when an email is sent
2016-01-29 16:49:49 +01:00
Guo Xiang Tan
28ac5fb17c
FEATURE: DiscourseEvent hook for server side markdown context.
2016-01-29 22:59:15 +08:00
Régis Hanol
7d5fdd0997
temporarily fix the build (cc @tgxworld)
2016-01-29 11:53:03 +01:00
Régis Hanol
378b7f964c
Revert "FEATURE (WIP): add max-width and center email notifications"
2016-01-29 11:13:59 +01:00
Guo Xiang Tan
e8c5127865
Convert to link as long as a valid link is received.
2016-01-29 13:31:11 +08:00
Guo Xiang Tan
190345ba20
Add DiscourseEvent hook when converting raw post to markdown.
2016-01-29 13:30:12 +08:00
Neil Lalonde
9331dfa63c
category export: export img src with absolute urls so pull_hotlink_image can move it over later
2016-01-28 15:45:28 -05:00
Neil Lalonde
3053c1ebd8
category export: include category permissions and custom groups
2016-01-28 15:17:18 -05:00
Arpit Jalan
106e3c897f
FIX: TL3 users should not be able to edit title of archived topics
2016-01-29 01:16:41 +05:30
scossar
77167f12ad
move styles to Styles
2016-01-27 19:07:21 -08:00
scossar
3f09ec2aca
add layout for notifications
2016-01-27 11:27:32 -08:00
Sam
7b558f959e
correct tracking logic
2016-01-27 23:20:29 +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
Guo Xiang Tan
0916007d01
Fix the build.
2016-01-27 16:04:11 +08:00
Neil Lalonde
58610d15a1
FEATURE: export/import topics and categories from one Discourse site to another. (Early-access alpha greenlight. More to do...)
2016-01-26 19:57:54 -05:00
Jeff Atwood
0337964759
a bit better email name inference
2016-01-26 16:39:02 -08:00
Neil Lalonde
0a95fee68f
Version bump to v1.5.0.beta9
2016-01-25 13:40:56 -05:00
Sam
ee823305a1
FIX: Allow for large free disk space
...
reported via @envygeeks shift multiplication of free space out of awk and into rube
awk on some systems appears to be converting stuff to floats.
2016-01-25 13:22:36 +11:00
Sam
7138b74110
Revert "FIX: disk_space should be a BigDecimal to handle large disk ( closes #3923 )"
...
This reverts commit 260d023b65
.
2016-01-25 13:03:43 +11:00
Sam
b3855d94f4
Merge pull request #3972 from tgxworld/remove_arel_patch_merged_upstream
...
Remove Arel patch that has been merged upstream.
2016-01-25 09:27:57 +11:00
Sam
d0ee32f3ce
FIX: correct counts on user summary
2016-01-24 16:39:01 +11:00
Neil Lalonde
685ba1eb7f
FEATURE: blocked users can send and reply to private messages from staff
2016-01-22 12:54:24 -05:00
Guo Xiang Tan
b8193e8e67
Remove Arel patch that has been merged upstream.
2016-01-22 12:24:36 +08:00
Arpit Jalan
f0b04ac730
Merge pull request #3970 from gdpelican/unsubscribe-via-email
...
Hotfix for unsubscribe via email
2016-01-21 14:59:17 +05:30
James Kiesel
b92e2b33eb
Hotfix for unsubscribe via email
2016-01-21 21:46:15 +13:00
Régis Hanol
4a17cdc1e4
FIX: don't invite users with emails configured as 'incoming' (reply, group our category)
2016-01-20 23:08:27 +01:00
Régis Hanol
f145310cd5
FIX: associates email replies using both 'In-Reply-To' and 'References' headers
2016-01-20 22:52:08 +01:00
Jeff Atwood
f5c0972210
Merge pull request #3966 from scossar/simple-email-button
...
FIX: email button padding for Outlook
2016-01-20 12:25:01 -08:00
scossar
1fb709362a
fix border widths
2016-01-20 11:03:13 -08:00
scossar
e2b265eb98
reduce border
2016-01-20 10:19:13 -08:00
Régis Hanol
260d023b65
FIX: disk_space should be a BigDecimal to handle large disk ( closes #3923 )
2016-01-20 15:42:24 +01:00
Régis Hanol
c88093eecb
Merge pull request #3920 from tgxworld/fix_onebox_emoji
...
FIX: Emoji in Discourse onebox is wrapped in square brackets.
2016-01-20 15:38:12 +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
James Kiesel
c7283751a3
Unsubscribe via email
2016-01-20 22:25:25 +13:00
Régis Hanol
735017dd9f
FIX: don't invite users with the same email as 'reply_be_email_address'
2016-01-19 15:24:34 +01:00
Sam
8d392066d8
oops (tests were running in other window but was trigger happy)
2016-01-19 18:22:59 +11:00
Sam
dec40ea3cf
FIX: raise proper error if system message creation fails
...
FIX: skip validations when creating system messages
2016-01-19 18:19:35 +11:00
scossar
a1d08cad6a
use default font
2016-01-18 16:41:52 -08:00
Régis Hanol
02d9ec5bde
oops, should not have been commited
2016-01-19 01:01:17 +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
scossar
0c4e28cd0b
pad link with border
2016-01-18 14:06:35 -08:00
Guo Xiang Tan
a055c37939
Merge pull request #3956 from tgxworld/fix_clashing_slug
...
FIX: Clashing category slug.
2016-01-18 10:15:13 +08:00
Sam
1a27d887fa
FIX: if topic did not save do not attempt to skip inbox
2016-01-14 10:38:20 +11:00
Guo Xiang Tan
a362ad9407
FIX: Emoji in Discourse onebox is wrapped in square brackets.
2016-01-13 19:00:11 +08:00
Guo Xiang Tan
c60e360c90
FIX: Clashing category slug.
2016-01-13 15:32:29 +08: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
96aa5b865f
FIX: mentions regex server-side (ie. don't count email addresses)
2016-01-12 09:53:09 +01:00
Arpit Jalan
06bac23e5f
FEATURE: allow users to wikify their own posts based on trust level
2016-01-12 08:44:25 +05:30
Sam
4ec409f705
FEATURE: don't add admins to topic allowed users if already in group
2016-01-12 13:57:45 +11:00
Régis Hanol
fbacaab2fc
FIX: disable scheduled jobs when in readonly mode
2016-01-11 18:31:28 +01:00
Régis Hanol
cf0558cd33
FEATURE: properly style whisper email notifications
2016-01-11 17:47:17 +01:00
Régis Hanol
98c0fac461
FEATURE: add small action post when adding/removing users in messages
2016-01-11 12:42:06 +01:00
Jeff Atwood
1a8487cf7b
we want screw_ie8 here as we don't support IE9
2016-01-11 03:13:37 -08:00
Jeff Atwood
4d8eb25148
let's explicitly use gzip level 5 here
...
see http://tukaani.org/lzma/benchmarks.html
2016-01-11 03:03:14 -08:00
Jeff Atwood
770adbaf71
gzip 9 takes 2x as long as 7 for +0.1% compression
2016-01-11 02:53:28 -08:00
Régis Hanol
cf4cb2126a
FIX: word_count wasn't working with non-latin sentences
2016-01-11 11:16:23 +01:00
Sam
6fabb341f1
FEATURE: automatically archive welcome messages for site_contact_user
...
This de-clutters the sent messages box for site_contact_user, making it again usable
2016-01-10 16:46:11 +11:00
Neil Lalonde
1a223b9d10
Version bump to v1.5.0.beta8
2016-01-08 15:56:55 -05:00
Robin Ward
e0c4987e68
Merge pull request #3950 from techAPJ/enum
...
Enums that are used in tables need to be stable
2016-01-08 10:30:23 -05:00
Arpit Jalan
97e4f7f6d3
Enums that are used in tables need to be stable
2016-01-08 20:43:11 +05:30
Jeff Atwood
006bb06371
make first email footer link specially highlighted
2016-01-08 02:14:58 -08:00
Régis Hanol
dcd0270d52
FIX: don't use the CDN for attachments when login is required
2016-01-06 21:54:01 +01:00
bgr11n
53fb84baa3
fixed password validator on equality with email
2016-01-05 22:43:11 +02:00
Guo Xiang Tan
c1dbf5c1c4
FEATURE: Autolinking to category using hashtags.
2016-01-05 00:12:24 +08:00
Guo Xiang Tan
556cd1e3f8
FIX: Do not override existing translations.
2015-12-31 23:20:19 +08:00
Régis Hanol
bebeeffc30
FIX: ico are images too
2015-12-31 11:40:23 +01:00
Robin Ward
f0694d491a
Merge pull request #3943 from gdpelican/plus-one-via-email
...
Allow +1 via email
2015-12-30 15:55:55 -05:00
James Kiesel
6ceb108946
Add specs for post action guardian
2015-12-30 20:52:36 +01:00
Robin Ward
b17e5c99cc
PERF: Use a regexp for unicode replacements
2015-12-30 14:35:25 -05:00
James Kiesel
a559754db3
Add post action creator
2015-12-30 20:04:05 +01:00
James Kiesel
86da47880a
Allow +1 via email
2015-12-30 12:17:45 +01:00
Arpit Jalan
51ced7aeae
make site setting for read time word count per minute
2015-12-30 12:15:30 +05:30
Guo Xiang Tan
6c9f646e34
Use string interpolation instead.
2015-12-30 08:50:03 +08:00
Neil Lalonde
007326d3bd
FIX: hidden posts that are edited by the author and unhidden could not be flagged by the same users again
2015-12-29 16:59:36 -05:00
Robin Ward
c064dc1322
FEATURE: Perform a server side replacement of unicode emoji
2015-12-29 16:28:27 -05:00
Guo Xiang Tan
e89f29cca7
FIX: Pluralization error when overriding translations.
2015-12-29 10:31:23 +08:00
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
Robin Ward
f423869e03
FIX: forgot end
:)
2015-12-23 16:43:39 -05:00
Robin Ward
d792c0a1d7
Should not be active in dev mode
2015-12-23 16:39:56 -05:00
Robin Ward
d1ebb9d0b5
FIX: I18n Fallbacks were not applying correctly
2015-12-23 12:09:18 -05:00
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
Robin Ward
3095dd160e
Add slightly_smiling
emoji and use it as default smile.
2015-12-22 14:40:49 -05:00
Régis Hanol
3e923c7a41
FIX: ensure inactive users can't email in
2015-12-21 17:54:02 +01:00
Neil Lalonde
b3198d7a6a
callback in TopicQuery for plugins to add result set filters
2015-12-21 11:43:17 -05:00
Sam
b7ce4bdc78
correct code
2015-12-20 17:21:31 +11: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
Régis Hanol
ca529a673a
just use the address instead of building it ourselves
2015-12-18 17:54:42 +01:00
Neil Lalonde
9435dd777f
Version bump to v1.5.0.beta7
2015-12-18 11:09:08 -05:00
Sam
29f6d960c6
FIX: autospec not monitoring correctly
2015-12-17 13:17:57 +11:00
Régis Hanol
4bb31daa2e
FIX: when getting a reply by email, ensure it's by the same user
2015-12-16 00:43:05 +01:00
Sam Saffron
4be8de21a1
FIX: not searching group messages when searching private
2015-12-15 13:26:35 +11:00
Régis Hanol
15c229195f
FEATURE: notification_level on a per-group basis
2015-12-14 23:17:09 +01:00
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
ccf5b1584d
Unsubscribe link needn't be sanitized
2015-12-11 10:06:25 -05:00
Régis Hanol
02279c41cb
Merge pull request #3918 from techAPJ/better-email-parsing
...
FEATURE: better email reply parsing
2015-12-11 14:51:24 +01:00
Robin Ward
df19a27753
FIX: Don't sanitize header_instructions
2015-12-10 18:15:32 -05:00
Régis Hanol
323e3cee22
when creating a staged account, use the display name provided in the email
2015-12-10 23:52:20 +01:00
Régis Hanol
93d1cc6294
add support for incoming emails in CC/BCC fields
2015-12-10 23:49:16 +01: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
Arpit Jalan
553248de86
FEATURE: new gem discourse_email_parser
2015-12-11 01:02:28 +05:30
Sam
8cf4d52cb6
FEATURE: split up group PMS on user page
2015-12-10 11:39:33 +11:00
Arpit Jalan
7a8e5a50ff
FEATURE: better email reply parsing
2015-12-09 23:47:01 +05:30
Sam
b8a47a1129
FIX: if a string was missing catch the throw
...
if overrides were in play and we tried to translate a
missing string we would throw an exception
2015-12-09 17:10:51 +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
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
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
a3ba564b03
missing spot where initializer was renamed
2015-12-08 07:13:29 +11:00
Régis Hanol
a37d575d7d
FEATURE: new 'My Groups' messages filter in user page
2015-12-07 18:37:03 +01:00
Régis Hanol
1cde276656
FEATURE: ability to send emails to a group
2015-12-07 17:01:08 +01:00
Sam
8d49091572
PERF: stop running VACUUM FULL only run VACUUM
2015-12-07 20:14:26 +11:00
Arpit Jalan
dd8b773059
UX: use pastel blue background for topic education pop-ups
2015-12-04 09:19:55 +05:30
Arpit Jalan
f38abbe279
FIX: onebox links should respect nofollow settings
2015-12-04 01:59:12 +05:30
Sam
9899e8d4a5
FEATURE: First class messages to groups, you can select a group as a target of a message
2015-12-02 15:49:43 +11:00
Sam
6577f3c1ed
Merge pull request #3909 from humzashah/reduced-time-operation
...
reused value of `Time.now` in a method
2015-12-02 09:01:22 +11:00
Syed Humza Shah
d0955e02d6
reused value of Time.now in a method
...
`Time.now` was being used to fetch the current time, twice in the
same line. This commit stores the time value in a variable and
reuses it instead of generating/fetching it for the second time.
Additionally, a guard clause in the same method is substituted by
an `if/else/end` block for clarity.
2015-12-01 21:06:37 +00:00
Andy Waite
3e50313fdc
Prepare for separation of RSpec helper files
...
Since rspec-rails 3, the default installation creates two helper files:
* `spec_helper.rb`
* `rails_helper.rb`
`spec_helper.rb` is intended as a way of running specs that do not
require Rails, whereas `rails_helper.rb` loads Rails (as Discourse's
current `spec_helper.rb` does).
For more information:
https://www.relishapp.com/rspec/rspec-rails/docs/upgrade#default-helper-files
In this commit, I've simply replaced all instances of `spec_helper` with
`rails_helper`, and renamed the original `spec_helper.rb`.
This brings the Discourse project closer to the standard usage of RSpec
in a Rails app.
At present, every spec relies on loading Rails, but there are likely
many that don't need to. In a future pull request, I hope to introduce a
separate, minimal `spec_helper.rb` which can be used in tests which
don't rely on Rails.
2015-12-01 20:39:42 +00:00
Régis Hanol
5b9594277a
skip most post validations for staged accounts
2015-12-01 10:40:23 +01:00
Sam
aa2f802247
PERF: DISCOURSE_NO_CONSTANTS removed
...
we minimize the amount of constants we decalre see: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821
2015-12-01 10:58:01 +11:00
Robin Ward
de88be2fbc
Support for "Only show overridden" in site text customization
2015-11-30 15:25:08 -05:00
Régis Hanol
7c694139ec
trust staged accounts when validating posts
2015-11-30 19:08:35 +01:00
Régis Hanol
dd28a3c63a
add support for inline images in emails in
2015-11-30 18:33:24 +01:00
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
Robin Ward
c4eee825de
FIX: Missing site name key
2015-11-27 17:23:43 -05:00
Robin Ward
7181e3cb75
FIX: Missing new education keys
2015-11-27 17:00:43 -05:00
Régis Hanol
540933dce3
don't notify users about sequential replies in messages
2015-11-27 19:29:44 +01:00
Robin Ward
5e93140f85
FEATURE: Can override any translation via an admin interface
2015-11-27 11:35:19 -05:00
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
0d54c18c8b
new hidden 'allow_staged_accounts' setting
2015-11-26 18:31:23 +01:00
Neil Lalonde
2561b5f304
Version bump to v1.5.0.beta6
2015-11-25 17:19:12 -05:00
Arpit Jalan
3eb0288adb
UX: reviving old topic popup should not have red warning background
2015-11-25 16:31:17 +05:30
Sam
d41a8a21cc
FIX: show letter avatars even if NGINX is not running in Dev mode
2015-11-25 14:42:46 +11:00
Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
Neil Lalonde
f4d44187c8
FIX: site_contact_user should default to system user, not first admin user
2015-11-24 14:37:41 -05:00
Robin Ward
d65ec1af2e
Rename ninja_edit_window
to editing_grace_period
:'(
2015-11-24 14:28:42 -05:00
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
5c899c765b
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
...
This reverts commit c21457d6a7
.
2015-11-21 12:27:06 +11:00
Robin Ward
1506eba28d
Support for overriding client side translation keys
2015-11-20 17:14:01 -05:00
Robin Ward
c21457d6a7
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
...
This reverts commit c0b277d273
.
2015-11-20 10:00:12 -05:00
Sam
c0b277d273
REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
...
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821
Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
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
Robin Ward
7737ea89b1
FIX: Missing fallback logic
2015-11-19 12:35:51 -05:00
Sam
09bedfd4c0
Make DISCOURSE_NO_CONSTANTS work in anon for home page
2015-11-20 00:29:56 +11:00
Régis Hanol
31a54377be
staged users automatically watches all topics they participates in
2015-11-18 22:24:46 +01:00
Robin Ward
7f4ca91e06
FIX: I18n overrides should be multisite aware
2015-11-18 16:05:53 -05:00
Robin Ward
2196160549
FIX: Allow emails to begin with a quote (but skip it!)
2015-11-18 15:23:10 -05:00
Régis Hanol
8ba5397f0d
can't find staged users with search
2015-11-18 21:06:59 +01: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
bb76c389fd
Merge pull request #3817 from gschlager/locale-pluralization
...
FIX: Pluralizations in English locale files
2015-11-17 12:35:24 -05:00
Neil Lalonde
4423c6b9f9
Version bump to v1.5.0.beta5
2015-11-17 11:39:38 -05:00
uppfinnarn
ca8c5f7382
migrate_to_s3: check for missing local files
...
If an image is already on S3, but not available locally (eg. if they're already migrated), `path` is nil. This crashes the task, because File.exists?(nil) is not valid.
2015-11-16 11:39:40 +01:00
Robin Ward
810a069cfd
FIX: Couldn't migrate database from nothing due to I18n
...
Since I18n has a DB backend now, I've introduced a helper we can use to
skip overrides in certain situations. Otherwise migration from empty
databases was broken.
2015-11-14 16:12:09 -05:00
Robin Ward
060ce9bf2a
FEATURE: Overwrite server side I18n keys with API
2015-11-13 16:35:02 -05: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
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
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
fc27b7442f
FIX: it should have been an array of arrays...:fired:
2015-11-06 15:42:16 +01:00
Régis Hanol
86f76e5b4d
FIX: better plugin emojis API
2015-11-06 15:02:40 +01:00
Régis Hanol
13e96ffd3b
FEATURE: add support for custom emojis via plugins
2015-11-05 17:25:26 +01:00
Régis Hanol
7e255a151b
PERF: only use fulltext when searching for a user (I checked, it's enough)
2015-11-04 23:04:37 +01:00
Neil Lalonde
abeac7f681
two more places: make it possible for plugins to add methods to classes that don't follow naming conventions
2015-11-04 14:53:45 -05:00
Neil Lalonde
c1db9da45b
Version bump to v1.5.0.beta4
2015-11-04 13:26:43 -05:00
Régis Hanol
e2121c2c2c
FIX: add 'max-width' to images with auto width/height in emails
2015-11-04 12:38:39 +01:00
Gerhard Schlager
f85a311ae1
add missing dependency
2015-11-02 20:40:50 +01: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
Sam
48ef609003
correct implementation add tests
2015-11-02 15:05:08 +11:00
Sam
3575012a47
correct implementation
2015-11-02 14:59:10 +11:00
Sam
fbb6eba252
Merge branch 'master' of github.com:discourse/discourse
2015-11-02 13:24:42 +11:00
Sam
eaae72c3e4
improve watching logic
2015-11-02 13:24:24 +11:00
Sam Saffron
606b10445e
FEATURE: remove muted topics from suggested and latest
2015-11-02 09:20:22 +11:00
Régis Hanol
7fbf902d09
FIX: prevent cross-contamination of emojis in multisites
2015-10-30 23:26:34 +01:00
Arpit Jalan
9f8d6b6088
FIX: allow exisiting users to be invited to topic/message when enable_local_logins is disabled
2015-10-30 11:28:05 +05:30
Robin Ward
1f6e40eebe
FIX: typo
2015-10-29 16:07:45 -04:00
Robin Ward
c68cbe700b
FIX: Better link extraction than URL.regexp
2015-10-29 16:02:11 -04:00
Robin Ward
0b4c9005f9
FIX: Don't include name
in hash when names are disabled.
...
This could break some SSO implementations due to honeypot
not being triggered.
2015-10-29 12:19:45 -04:00