Commit Graph

22705 Commits

Author SHA1 Message Date
0d67b507dc Merge pull request #4788 from davidtaylorhq/user_seen_event
Add a user_seen DiscourseEvent for plugins to hook into
2017-04-06 12:32:16 +08:00
e0e06c2992 Merge pull request #4794 from tgxworld/nuke_old_auto_close_jobs
FIX: Add onceoff job to remove old auto close topic sidekiq jobs.
2017-04-06 12:29:42 +08:00
f960505359 FIX: translate badge metadata title 2017-04-06 09:57:52 +05:30
934bff43d9 FIX: Copy post actions when moving a topic. 2017-04-06 12:16:22 +08:00
402eaaa773 FEATURE: add og tags to metadata in individual badges page 2017-04-06 09:32:53 +05:30
5943543ec3 FIX: Improve checks for non-human users. 2017-04-06 11:29:34 +08:00
aeb169bd0e FIX: Do not show User Cannot See Mention dialog when crafting a new topic or a new message
Use the model/composer topic.id to determine what users cannot be mentioned and what message to show as a warning.
2017-04-06 11:20:30 +08:00
c51af13338 smtp_should_reject API: use better approach to find user email. 2017-04-05 23:10:36 -04:00
a51c191a66 Make Email::Receiver.check_address() into a class method. 2017-04-05 23:10:36 -04:00
e15d11df18 Added an API to ask if an incoming email should be dropped at the SMTP level.
This lets an SMTP server optionally decide if it should reject a mail without
passing it on to Discourse at all, possibly before even reading the
email's payload, to prevent spam-induced backscatter and save resources.

This just does the bare minimum sanity checking that could prevent obvious
backscatter. For legit errors from legit users, Discourse will still send a
much more pleasant reply email.
2017-04-05 23:10:36 -04:00
e8eaffbd72 FIX: Add onceoff job to remove old auto close topic sidekiq jobs. 2017-04-06 10:52:13 +08:00
3eb125c39b FIX: Fix poll builder qunit tests 2017-04-05 18:07:50 -03:00
40ab2e5667 FEATURE: Let users update their emails before confirming
This allows users who entered a typo or invalid email address when
signing up an opportunity to fix it and resending the confirmation
email to that address.
2017-04-05 16:44:49 -04:00
d1c79372d7 fix permalinks serializer with subfolder setups 2017-04-05 18:45:01 +02:00
48d9c69117 remove confusing comment 2017-04-05 08:46:35 -04:00
cd39049262 SECURITY: do not send push notifications to suspended users 2017-04-05 08:28:24 -04:00
9065df76ad FEATURE: Change name from admin page.
https://github.com/discourse/discourse/pull/4770
2017-04-05 17:40:27 +08:00
10fb13d204 Start running tests for slack plugin on Travis. 2017-04-05 16:44:00 +08:00
c43c78cb8a FIX: do not add order param to user list unless required 2017-04-05 13:57:34 +05:30
d7d7ab7968 Merge pull request #4792 from discourse/poll-fixes
FIX: Poll builder validation was incorrect
2017-04-05 00:38:47 -03:00
8b383bb26a FIX: Poll builder validation was incorrect 2017-04-05 00:15:39 -03:00
3839206317 FIX: Return JSON errors for by-external if JSON requested 2017-04-04 16:22:14 -04:00
17f2974d0a SECURITY: Confirm new administrator accounts via email 2017-04-04 15:59:01 -04:00
a649014adf Add spec for validation on group mention updater 2017-04-04 11:22:39 -04:00
a248ebde3c Allow custom empty label for category-chooser. 2017-04-04 17:19:55 +08:00
e4d7e4fbe3 Improve error messages. 2017-04-04 17:19:14 +08:00
69661be500 FIX: Don't raise an error if TopicStatusUpdate has been deleted. 2017-04-04 14:29:47 +08:00
406d721f11 Fix NilClass error in UsersController. 2017-04-04 14:17:45 +08:00
aca972c08b FIX: Skip validations when updating group mentions. 2017-04-04 14:13:18 +08:00
7f1c474e5b FIX: Selections getting deselected on FireFox. 2017-04-04 13:06:07 +08:00
ad44d2a400 Merge pull request #4790 from tgxworld/add_publish_to_topic_status_update
FEATURE: Allow admins to schedule a topic to be published in the future.
2017-04-04 11:18:53 +08:00
f4758a4c4d FEATURE: Allow admins to schedule a topic to be published in the future. 2017-04-04 11:16:05 +08:00
ebe232da47 Weigh staff votes more for New User of the Month badges 2017-04-03 16:52:31 -04:00
0829671963 FIX: Nested quotes weren't rendered properly with BBCode 2017-04-03 14:38:30 -04:00
a13a8dc96c FIX: Safeguard to not award NewUserOfTheMonth if it hasn't been a month 2017-04-03 13:26:51 -04:00
5ff29ce321 add test case for topic status update based on last post 2017-04-03 22:35:56 +05:30
3d64f33d40 Require at least two likes to get the "New User of the Month" badge 2017-04-03 13:03:28 -04:00
b189486fc0 We can do a lot less work in the test since we eased the criteria 2017-04-03 12:15:24 -04:00
dc5a6e7cda Remove empty test. 2017-04-03 21:12:20 +08:00
15268657f4 Requiring it once is more than enough ;) 2017-04-03 12:12:36 +02:00
ac051d70ef FIX: use enum values for trust level settings 2017-04-03 14:23:48 +05:30
916ba945fe Merge pull request #4787 from jomaxro/patch-1
Mobile CSS for deleted topics is inconsistent with desktop CSS
2017-04-03 10:13:06 +02:00
798cb57d36 Merge pull request #4789 from discoursehosting/master
Various improvements for SMF2 importer
2017-04-03 10:12:28 +02:00
9ab5f17610 FIX: Broekn translation on topic-status-info component. 2017-04-03 10:31:40 +08:00
5cf75c67df FIX: Callback undefined error when topic has been deleted. 2017-04-03 09:06:15 +08:00
17b5303449 Convert nested quotes 2017-04-02 20:38:23 +00:00
6168bcb4c4 Someone broke/disabled? the php check 2017-04-02 20:35:43 +00:00
7e27559f3e We need to get rid of the ignore_quotes thing as well 2017-04-02 20:33:48 +00:00
60be3e0d38 Get rid of the weird and broken message graph 2017-04-02 20:31:06 +00:00
7d09af141e Apparently need to save 2017-04-02 20:28:16 +00:00