Commit Graph

32383 Commits

Author SHA1 Message Date
f5ac01253a FIX: use new changed method name and remove whitespaces 2019-04-09 02:25:26 +05:30
bc949cf684 FIX: Display the username instead of {{username}} 2019-04-08 16:46:05 -04:00
32a0346069 UX: Don't show the username of the first user in the conversation 2019-04-08 16:39:53 -04:00
914ada1c74 DEV: convert scheduled job EnsurePostUploadsExistence into a rake task 2019-04-09 02:07:35 +05:30
cc53f902c6 FIX: Missing translation key for Reviewable -> Deleted 2019-04-08 16:12:41 -04:00
aec457e09a DEV: Expose a way to extend a method that returns a list 2019-04-08 14:42:36 -03:00
df1ab9259b FIX: Take action should agree with all pending flags 2019-04-08 12:39:18 -04:00
0fc798c2ef UX: Show the score status
If a review review score has been Approved/Rejected/Ignored then show it
2019-04-08 12:08:18 -04:00
e50e4b6cc6 Make Prettier happy 2019-04-08 12:03:41 -04:00
5957991340 FIX: Remove quoted post text and block realtime replies from ignored users (#7336) 2019-04-08 17:44:42 +02:00
02394e9170 FIX: assign decoratorHelper (#7338) 2019-04-08 16:17:09 +01:00
3987691b5e DEV: Correct specs which had exceptions raised in jobs 2019-04-08 16:00:33 +01:00
20cda5d689 DEV: Raise exceptions when jobs fail in test mode
Previously jobs would fail silently in test mode. Now they will raise the exception and cause the relevant test to fail. This identified a few broken tests, which I will fix in a followup commit
2019-04-08 15:59:04 +01:00
5e68c5f851 UX: moves local-dates from popupMenu to toolbar (#7335) 2019-04-08 15:52:09 +02:00
9d2e2867cc s/fa-icon/d-icon (#7337) 2019-04-08 15:51:38 +02:00
0d2a1fce51 REFACTOR: Pass down currentUser to post-cooked widget (#7333)
* REFACTOR: Pass down `currentUser` to `post-cooked` widget
2019-04-08 14:50:53 +01:00
fd6b594625 Fix the build. 2019-04-08 21:30:17 +08:00
2ae87a27fa make rubocop happy 2019-04-08 17:03:26 +05:30
f0f3deb32b PERF: Simplify query of UserStat#update_topic_reply_count.
For a user with alot of posts, we get a 25% speed up.
2019-04-08 17:48:19 +08:00
f524f8f811 Remove Yahoo login support from core and deprecate OpenID2.0 (#7310)
- Plugin developers using OpenID2.0 should migrate to OAuth2 or OIDC. OpenID2.0 APIs will be removed in v2.4.0

- For sites requiring Yahoo login, it can be implemented using the OpenID Connect plugin: https://meta.discourse.org/t/103632

For more information, see https://meta.discourse.org/t/113249
2019-04-08 10:38:25 +01:00
6a05f190c6 PERF: Do not create staged users for most rejected incoming emails (#7301)
Previously we would create users, then destroy them at the end of the job if the post was rejected. Now we do not create users unless required.
2019-04-08 10:36:39 +01:00
108c231d1c FIX: Clean up topic_search_data of trashed topics.
This keeps the index and table smaller.
2019-04-08 16:53:39 +08:00
c4997ce85f FIX: Don't try and reindex posts that have been trashed. 2019-04-08 16:38:43 +08:00
b7d8bbc095 PERF: Add index for post_search_data and topic_search_data. 2019-04-08 16:37:54 +08:00
4791d992dc PERF: Add index id DESC, baked_version ON posts.
A scheduled job runs `Post.rebake_old` with a limit of 80 which does a
look up for the latest posts that have not been baked to the latest
version. Before this commit, the query would run using the primary key's
index and does a reverse scan. However the query performance quicky
becomes bad as more and more of the latest posts have been baked to the
latest version.
2019-04-08 15:33:16 +08:00
ca57e18f42 UX: display signup cta even if 'must_approve_users' setting enabled. 2019-04-08 12:27:56 +05:30
d53cc07de1 Version bump to v2.3.0.beta8. v2.3.0.beta8 2019-04-08 12:28:34 +08:00
33fa249fa5 SECURITY: Remove XSS in composer preview when applying image scale buttons. 2019-04-08 11:22:14 +08:00
13c6bf54d0 FIX: Sometimes queued post would have a string for a category
In this case, don't migrate the old queued post category
2019-04-06 20:38:38 -04:00
6525613b89 PERF: Use joins for Post.for_mailing_list instead of NOT IN.
Joining on the topics table and then filtering the topics against a large set of
ids is so much slower than doing a join on a sub query.
2019-04-06 07:58:55 +08:00
84eb9bc1c9 UX: Only highlight close icon on hover, not lock 2019-04-05 17:43:14 -04:00
10314cbb86 UX: Add "consecutive" to visit badge short descriptions 2019-04-05 16:25:08 -04:00
a1c2181232 UX: Better close button positioning in alerts, some cleanup 2019-04-05 16:21:16 -04:00
a6f283da30 UX: Show tags on flags too 2019-04-05 14:22:45 -04:00
8181ad646b FIX: Queued Posts were not saving tags properly 2019-04-05 14:07:47 -04:00
06e3b25d04 FIX: 'currentUser' is a property of the 'widget' 2019-04-05 18:43:04 +02:00
347e3e5a46 Version bump to v2.3.0.beta7 v2.3.0.beta7 2019-04-05 12:24:14 -04:00
b005a84530 FIX: decoratorHelper.widget is not always present 2019-04-05 12:07:24 -04:00
acce7330a3 Typo fix 2019-04-05 11:23:22 -04:00
43a905279f FIX: Layout was off in single-page user-preferences 2019-04-05 10:59:52 -04:00
cbc311e4ed UX: Update the reviewable count before the message bus
In certain edge cases, the message bus won't send the message to the
user about the updated review count and it can go out of sync.

This patch synchronizes the review count every time:

1. The user visits the "Needs Review" page

2. Every time the user performs an action
2019-04-05 10:35:38 -04:00
19a1d35f66 fix linting (#7329) 2019-04-05 15:28:41 +01:00
131eba0366 FIX: Hide post replies content for ignored users (#7320) 2019-04-05 16:13:36 +02:00
9c2e6b9a54 FIX: Migrated flags should be reviewable by moderators 2019-04-05 10:04:23 -04:00
e7a6f0698d Update translations 2019-04-05 10:02:54 -04:00
9dd325f805 FIX: skip some checks for CJK locale in TextSentinel (#7322) 2019-04-05 15:07:49 +02:00
ca33d091b3 FIX: don't trigger notifications when changing category/tags of unlisted topics (#7323) 2019-04-05 15:06:38 +02:00
8f4527c1f1 FIX: recover from migration failure
If the migration somehow failed halfway then just run through, when ddl
transactions are disabled stuff can get somewhat odd.
2019-04-05 21:53:07 +11:00
a7a5f90e20 Annotate models. 2019-04-05 17:13:12 +08:00
0bd480c600 UX: displays exact date on title attribute of topic timer info (#7326) 2019-04-05 09:44:10 +02:00