Commit Graph

19079 Commits

Author SHA1 Message Date
a901527057 DEV: remove user_profile events added for akismet (#7044) 2019-03-12 17:51:09 +01:00
154f503d2e REFACTOR: remove unnecessary parentheses 2019-03-12 17:13:21 +01:00
28384ba62c FEATURE: Add Top Ignored Users report (#7153)
* FEATURE: Add `Top Ignored Users` report

## Why?

This is part of the [Ability to ignore a user feature](https://meta.discourse.org/t/ability-to-ignore-a-user/110254/8), and also part of [this PR](https://github.com/discourse/discourse/pull/7144).

We want to send a System Message daily when a specific count threshold for an ignored is reached. To make this system message informative, we want to link to a report for the Top Ignored Users too.
2019-03-12 16:01:58 +00:00
4a00772c19 FIX: invite approval StaffActionLogger bug (#7151)
* FIX: invite approval `StaffActionLogger` bug
2019-03-12 13:32:25 +00:00
db08b59eb2 UX: Change ignore button color (#7150) 2019-03-12 11:10:18 +00:00
90965e1c18 FIX: error with two inputs having the same id (#7147) 2019-03-12 09:46:58 +01:00
e6c2faf186 FIX: Disable 'Create Topic' button if tag is staff-only. (#6984)
* FIX: Disable 'Create Topic' button if tag is staff-only.

* FIX: Staff-only tags should always return 404.
2019-03-12 19:23:36 +11:00
191e31dccf FEATURE: Log user approvals. (#7121) 2019-03-12 19:16:56 +11:00
34b29f62db DEV: Remove the use of stubs and mocks in Jobs::UserEmail tests.
We can only be sure that an email is sent when we get a mailer in
`ActionMailer::Deliveries`. A couple of tests were actually incorrect
because it didn't flow through our email sender where there are more
conditions in determining whether an email is sent or not.
2019-03-12 09:39:16 +08:00
32bae48fd3 DEV: Use User#human? User#bot? (#7140) 2019-03-12 07:58:14 +08:00
95dc52e15e FIX: Changed warning css class 2019-03-11 12:56:15 -04:00
dc4541a95c FIX: Text content search warning if more than 50 results 2019-03-11 12:56:15 -04:00
da7406e567 Update app/assets/javascripts/discourse/controllers/full-page-search.js.es6
Co-Authored-By: venarius <tim.lange@online.de>
2019-03-11 11:33:24 -04:00
5f00624814 FIX: Fixed vanishing select boxes on full search as new content loads 2019-03-11 11:33:24 -04:00
7ae1afa7d9 FIX: ensures tag-groups are used to allow category edit on topics (#7141) 2019-03-11 15:02:27 +01:00
d6eb892b04 FEATURE: Account for ignored_users when merging two users (#7142)
* FEATURE: Account for `ignored_users` when merging two users

## Why?

This is part of the [Ability to ignore a user feature](https://meta.discourse.org/t/ability-to-ignore-a-user/110254/8).
When we merge two users, we need to account for merging their list of `ignored_users` too.
2019-03-11 13:53:59 +00:00
ceec11a153 FIX: Make post notices invisible to poster. 2019-03-11 12:07:19 +02:00
b28b418363 FIX: Various improvements to post notices.
- Notices are visible only by poster and trust level 2+ users.
- Notices are not generated for non-human or staged users.
- Notices are deleted when post is deleted.
2019-03-11 11:19:58 +02:00
88355884c9 Exclude post_notice_* from web hook post payload. 2019-03-11 11:04:17 +08:00
cbc8236288 UX: add a paragraph description on the tags tab of the category settings 2019-03-08 16:46:32 -05:00
c29ff3d2d5 UX: style adjustments for post notice feature 2019-03-08 16:02:51 -05:00
57ee779b1e FIX: Job exception: undefined method `email' for nil:NilClass
It seems that due to jobs being asynchronous and wrapping code in a
DistributedMutex that by the time we run the
`UserAvatar#update_gravatar!` job that the user/user email might be
destroyed.

This patch checks before a call to `user.email_hash` to make sure
the user and primary email exist to prevent the exception. If not
present, the job exits as there's nothing to do because we are
probably running after the user was destroyed for some reason.
2019-03-08 13:39:56 -05:00
e3e681ebf7 UX: better handling of width and overflow for login/signup 2019-03-08 11:14:52 -05:00
5e58cedfbd FIX: retranspile theme JS when settings YAML changes (#7131) 2019-03-08 17:49:06 +03:00
0a4562253e DEV: Add 'starting' event to sidekiq log when interval logging enabled 2019-03-08 10:56:36 +00:00
e2510d79cc DEV: Improve thread-safety of sidekiq logging 2019-03-08 10:31:49 +00:00
ac8425ad30 FIX: Date format and styling for post notices
Follow-up to 35942f7.
2019-03-08 12:25:03 +02:00
ad12b2a23d FIX: only call 'unlink' for tempfiles 2019-03-08 11:22:20 +01:00
7ff994b6ea UX: post-notice max width on desktop 2019-03-08 10:52:47 +01:00
2434e48d4d UX: Fix post notice on mobile 2019-03-08 10:50:33 +01:00
9db05a895a DEV: Add job_id to sidkiq log
This makes it easier to correlate 'pending' logs from the same job
2019-03-08 09:16:13 +00:00
2312caccdc FEATURE: Skip small actions when counting replies in PMs. (#7108) 2019-03-08 10:49:34 +02:00
35942f7c7c FEATURE: Special call-out for new / returning posters. (#7115) 2019-03-08 10:48:35 +02:00
65464969cd Change searchTearm to searchTerm (#7130) 2019-03-08 09:24:14 +01:00
3acf8a95f3 UX: various tweaks to search-menu (#7114) 2019-03-08 09:23:44 +01:00
c90267db52 FIX: do not display add/remove participants if you can’t actually do it (#7125) 2019-03-08 09:23:26 +01:00
cd94ac9453 FIX: remove padding from onebox site icon in composer preview 2019-03-07 22:32:27 -05:00
6e26358380 REFACTOR: streamline like button styles, clarify for themeing, enable tab focus 2019-03-07 21:09:57 -05:00
f6ef4f8c3f FEATURE: Add missing S3 regions 2019-03-07 22:42:20 +01:00
ccff1d2dbb prettier 2019-03-07 13:30:39 -05:00
837452794b Target active nav pill with single style 2019-03-07 13:21:42 -05:00
a2fdd4089c FIX: nav-pills not highlighted on user preferences page (#7126) 2019-03-07 13:40:12 +01:00
fc7938f7e0 REFACTOR: Migrate GoogleOAuth2Authenticator to use ManagedAuthenticator (#7120)
https://meta.discourse.org/t/future-social-authentication-improvements/94691/3
2019-03-07 11:31:04 +00:00
2c8e1d3578 FEATURE: remove all expired invitations by default 2019-03-07 15:28:39 +05:30
caef0a56d1 FEATURE: create a new message via URL without specifying user or group 2019-03-07 11:30:24 +05:30
9d3c7d7b25 prettier 2019-03-06 19:52:34 -05:00
e233a69db0 Customize nav pill fix 2019-03-06 19:42:44 -05:00
7d2cc33013 prettier 2019-03-06 17:37:59 -05:00
a917a93990 fix active class, remove style 2019-03-06 17:29:19 -05:00
536952f194 adding back active nav pill 2019-03-06 17:14:02 -05:00