Commit Graph

29742 Commits

Author SHA1 Message Date
3bb4f4c5ef Adds test to make sure moderators can't make master keys
It wasn't obvious from the code, plus we'd never want this to regress!
2018-09-11 12:02:06 -04:00
1a01385e88 FIX: "false" didn't work as locale_default 2018-09-11 13:42:10 +02:00
e847bb33d5 Better default settings for Japanese 2018-09-11 11:58:36 +02:00
a033327b93 Manage qunit via yarn. 2018-09-11 15:07:28 +08:00
85620abb71 DEV: Clear connections after multisite specs. 2018-09-11 10:15:06 +08:00
244948497a Lock puppeteer to 1.4.x.
1.8 doesn't seem to be able to click reliably.
2018-09-11 09:52:39 +08:00
4ee8e77073 Apply prettier. 2018-09-11 09:16:03 +08:00
51edb19aa9 FIX: pop3 polling password and mailgun API key should be secret 2018-09-11 06:40:33 +05:30
b3b9ac3b19 Version bump to v2.2.0.beta1 v2.2.0.beta1 2018-09-10 19:43:15 -04:00
Sam
103f9b5dc7 UX: missing translation in AWS site settings 2018-09-11 09:34:02 +10:00
Sam
e64402cb3b SECURITY: correct edge case when SSO provides unvalidated emails 2018-09-11 08:24:02 +10:00
80eace4268 Merge pull request #6383 from discourse/fix_username_suggester
FIX: don't raise an error on integer usernames in user_name_suggester
2018-09-11 00:30:29 +05:30
4653627a40 update plugin-translations.rb script to update .tx/config file in plugins when languages are added or removed 2018-09-10 14:22:45 -04:00
6afc86398c Update translations 2018-09-10 13:29:07 -04:00
81c87df18a FIX: don't raise an error on integer usernames 2018-09-10 22:17:56 +05:30
1d41f3c3fb Merge pull request #6380 from discourse/rake-destroy-sub-category
FIX: Allow `rake destroy:topics` to delete topics in sub-categories
2018-09-10 10:26:04 -06:00
2b7e50cab8 Prevent fade-out from overlapping button in admin nav 2018-09-10 11:25:41 -04:00
94ff428571 Pass the right value to rake task. 2018-09-10 20:07:28 +08:00
84fc7abb73 FIX: Allow rake destroy:topics to delete topics in sub-categories 2018-09-10 12:52:14 +01:00
4a966c639d DEV: Update uploads:list_posts_with_broken_images to recover from tombstone. 2018-09-10 17:01:41 +08:00
d4080c020f FIX: sets trends to 7 days instead of 3 (#6379) 2018-09-10 10:40:19 +02:00
df04e69cde FIX: S3Helper#list creates incorrect prefix. 2018-09-10 16:34:40 +08:00
68572b8afc Print error messages on why upload fails to save. 2018-09-10 16:02:13 +08:00
8c374f339c DEV: Don't pin JS packages to a particular patch version. 2018-09-10 15:30:28 +08:00
0aca80e92a Fixes to uploads:list_posts_with_broken_images. 2018-09-10 15:16:29 +08:00
8496537590 Add RECOVER_FROM_S3 to uploads:list_posts_with_broken_images rake task. 2018-09-10 15:14:30 +08:00
04d26c65e2 Refactor Upload.get_from_url to check length of sha1. 2018-09-10 10:10:39 +08:00
afaa722c32 sort official plugin list, remove duplicate entry
`discourse-sitemap` was listed twice, sorted list to help avoid duplication
2018-09-09 13:41:26 -04:00
2ad882113e FIX: corrects top-referred and trending-search dates (#6372) 2018-09-07 16:49:44 +02:00
9e77fd8fc3 FIX: wrong category links on subfolder install in rss feed for a category topic list 2018-09-07 10:03:30 -04:00
fb96ab4464 Delete pretender.js 2018-09-07 21:26:36 +08:00
81003a0f99 Pin prettier to 1.13. 2018-09-07 16:24:18 +08:00
d788555994 DEV: Manage pretender with yarn. 2018-09-07 16:01:49 +08:00
039afe0d2c Apply prettier. 2018-09-07 15:19:34 +08:00
89e5d91f0a FIX: Tooltip should use format option instead of defaulting to "LLL". 2018-09-07 11:32:44 +08:00
def4fbaf01 UX: Join dates in tooltips using line breaks. 2018-09-07 11:24:05 +08:00
b5b4e2602a Formatting fixes. 2018-09-07 10:21:11 +08:00
Sam
879067d000 FIX: check admin theme cookie against user selectable
previously admin got a free pass and could set theme via cookie to anything
including themes that are not selectable

this refactor ensures that only "preview" gets a free pass, all the rest
goes through the same pipeline
2018-09-07 10:47:28 +10:00
c1c9637b39 Skip Discobot flag tutorial if allow_flagging_staff is disabled.
https://meta.discourse.org/t/interacting-with-discobot/96574
2018-09-07 08:33:27 +08:00
3dea48f1d9 Resetting miniracer context results in segfault 2018-09-07 00:19:23 +02:00
797cbf8653 FIX: Remove user fields when anonymizing user 2018-09-07 00:02:56 +02:00
ea2f13c71b recover terms_of_service translation for zh_TW 2018-09-06 17:36:30 -04:00
1f54423609 Update translations 2018-09-06 17:27:58 -04:00
e894f895d4 DEV: Extract dates before post_process_cooked event 2018-09-07 00:31:45 +05:30
f0dab5a5e4 DEV: Add local_dates post custom field 2018-09-06 23:43:24 +05:30
f13c34aaed Adds a check for invalid message formats to rake i18n:check 2018-09-06 17:27:17 +02:00
3c09026fe4 Minor improvements to rake i18n:check 2018-09-06 16:54:30 +02:00
6c1e70d554 FIX: do no reset tags selection on category selection (#6369)
We will instead implement a server side solution to this in the future.
2018-09-06 10:35:07 +02:00
Sam
56b6a4779d FIX: make route to tag more robust
There are some edge cases where code would fail here, so adding protection
2018-09-06 17:24:32 +10:00
1f636c445b PERF: Add fast path to find uploads before resorting to LIKE query.
For a normal upload url

Before

```
Warming up --------------------------------------
                       264.000  i/100ms
Calculating -------------------------------------
                          2.754k (± 8.4%) i/s -     13.728k in   5.022066s
```

After

```
Warming up --------------------------------------
                       341.000  i/100ms
Calculating -------------------------------------
                          3.435k (±11.6%) i/s -     17.050k in   5.045676s
```
2018-09-06 14:44:24 +08:00