Gerhard Schlager
6ebffaaf6e
FIX: Better error handling for invalid locale bundle versions
2019-11-11 22:30:32 +01:00
Robin Ward
34665d3f96
FIX: In case `@ember/object` hasn't been loaded yet
2019-11-11 15:56:58 -05:00
Robin Ward
e39d89ecd9
REFACTOR: Remove `InputValidation` which was simply an `Ember.Object`
2019-11-11 15:48:56 -05:00
Daniel Waterworth
211410c3b9
DEV: It doesn't make sense for a filterMode to be weekly, quarterly, etc
2019-11-11 18:46:27 +00:00
Robin Ward
da04c602ba
REFACTOR: Remove `debounce` to `discourseDebounce`
...
Otherwise it can be confused with the ember debounce
2019-11-11 13:34:01 -05:00
Robin Ward
e8dae447bd
REFACTOR: Remove `discourse/lib/throttle`
2019-11-11 13:21:03 -05:00
Daniel Waterworth
4ddb69e9c6
DEV: Removed needless indirection
...
An artifact of when tagging was a plugin no doubt.
2019-11-11 17:59:26 +00:00
Daniel Waterworth
e79cec9fc7
DEV: Remove handling of category top menu items
...
Support for these kinds of navigation items was dropped in 88f52514
, but
the code for handling these menu items was never removed.
2019-11-11 17:36:29 +00:00
Dan Ungureanu
55bdd9e6a2
FIX: Do not skip some emails in user search ( #8317 )
...
It used to skip the email addresses containing the plus sign.
2019-11-11 18:42:45 +02:00
Dan Ungureanu
6672dcc985
FIX: Keep emoji images in group bio excerpt ( #8329 )
2019-11-11 18:42:08 +02:00
Simon Cossar
544a1379b6
Reference posts table for deleted_at and user_id ( #8332 )
2019-11-11 11:03:57 -05:00
Mark VanLandingham
20266325fc
combined import definitions in discourse-loader
2019-11-11 10:37:21 -05:00
Mark VanLandingham
1bbb9b30fc
DEV: Import isNone for @ember/utils
2019-11-11 10:37:21 -05:00
Gerhard Schlager
c04369ed8f
DEV: Revert to Bundler 1.17
...
Follow-up to a2d6169a5e
2019-11-11 15:37:13 +01:00
Robin Ward
0c8ae1e849
FIX: More missing RSVP imports
2019-11-11 09:25:33 -05:00
Robin Ward
2a6713c2ba
FIX: Was using a native browser Promise instead of RSVP
2019-11-11 09:23:26 -05:00
Vinoth Kannan
6e3601469c
FIX: use correct class variable to get notification levels.
2019-11-11 18:57:14 +05:30
Vinoth Kannan
12bc6ce8c1
FIX: remove magic numbers in notification levels.
...
ba5b78a348
2019-11-11 18:18:33 +05:30
Sam Saffron
0c0192e7da
DEV: disable all upload recovery specs
...
These specs are inherently fragile when they are run in a concurrent mode
in CI.
One process will create an upload, another will destroy the upload on disk
at the same time. We need a new safe mechanism here.
2019-11-11 16:04:18 +11:00
Sam Saffron
a2d6169a5e
DEV: upgrade mini_racer
...
This is done to fix a compatibility issue with Ruby 2.7, it ensures we clean
up fds for a pipe we use to track timeouts in mini racer.
2019-11-11 15:36:16 +11:00
Sam Saffron
91daafc674
DEV: correct implementation of expiry api
...
Previously we were always hard-coding expiry, this allows the secure session
to correctly handle custom expiry times
Also adds a ttl method for looking up time to live
2019-11-11 11:18:12 +11:00
Sam Saffron
bf0ef73286
DEV: correct rake task used to grab admin key
...
We amended it so "api_key:get" is no longer supported and instead we are
more explicit. This matches that change and fixes the bench.
2019-11-11 10:23:14 +11:00
Sam Saffron
b68eab2b46
DEV: remove deprecated syntax
...
Ruby 2.7 is going to deprecate "Magic Proc Init". This feature is enormously
magical anyway and the new code is far easier to comprehend.
2019-11-11 09:36:40 +11:00
Blake Erickson
15f6f57cdc
DEV: Add update message for an outdated mail-receiver
...
Previous versions of the mail-receiver used query based api credentials,
if we detect this we will show a message in the admin panel to update
the mail receiver.
2019-11-08 17:32:22 -07:00
Jay Pfaffman
63bd07492e
FIX: Update api_key rake task for recent changes
...
New usage:
```
rake api_key:get_or_create_master["Onboarding Key"]
```
2019-11-08 23:34:15 +00:00
Robin Ward
920f8c6d75
REFACTOR: Remove `Discourse.Route` in lieu of importing
2019-11-08 15:18:13 -05:00
Robin Ward
c0e105fc8c
FIX: Return a deprecation for `Discourse.Session`
2019-11-08 14:55:36 -05:00
Robin Ward
bd92fdeb4d
FIX: Add deprecation for Discourse.NavItem in case themes are using it
2019-11-08 14:14:51 -05:00
Robin Ward
f03edb36be
REFACTOR: Remove `Discourse.Model`
2019-11-08 14:13:35 -05:00
Robin Ward
fa71919693
REFACTOR: Don't transpile `Discourse.Session`
2019-11-08 13:48:18 -05:00
Robin Ward
291572a97a
REFACTOR: Remove `Discourse.Session` constants
2019-11-08 13:46:50 -05:00
Robin Ward
7ac2a55588
REFACTOR: Remove `Discourse.Category` constants
2019-11-08 13:31:00 -05:00
Mark VanLandingham
e51efce356
DEV: Remove all instances of Ember.computed ( #8324 )
2019-11-08 12:28:11 -06:00
Robin Ward
7e44065bcb
REFACTOR: Migrate `Discourse.Post` to imports
2019-11-08 13:13:13 -05:00
Robin Ward
932c169d46
REFACTOR: Remove Discourse.NavItem constants
2019-11-08 12:56:13 -05:00
Robin Ward
779ee3558d
REFACTOR: Remove `Discourse.UserAction` from code
2019-11-08 12:52:39 -05:00
Robin Ward
1990baa457
REFACTOR: Remove constant definition for discourse/routes/grouped
2019-11-08 12:47:39 -05:00
Mark VanLandingham
562acb21ca
FIX: Ran prettier to fix build ( #8323 )
2019-11-08 10:50:03 -06:00
Mark VanLandingham
7f3812b90a
DEV: Removed all Ember.computed. in select-kit ( #8322 )
2019-11-08 10:32:20 -06:00
Dan Ungureanu
03bba8c7e0
DEV: Update chrome-launcher ( #8318 )
...
This version is compatible with macOS Catalina
2019-11-08 17:50:41 +02:00
Mark VanLandingham
47e3e56905
FIX: Alias modules that are required AND imported ( #8315 )
2019-11-08 09:48:02 -06:00
David Taylor
1998be3b27
DEV: Raise errors when cleaning the download cache, and fix for macOS ( #8319 )
...
POSIX's `head` specification states: "The application shall ensure that the number option-argument is a positive decimal integer"
Negative values are supported on GNU `head`, so this works in the discourse docker image. However, in some environments (e.g. macOS), the system `head` version fails with a negative `n` parameter.
This commit does two things:
Checks the status at each stage of the pipe, so it cannot fail silently
Flip the `ls` command to list in descending time order, and use `tail -n +501` instead of `head -n -500`.
The visible result is that macOS users no longer see head: illegal line count -- -500 printed throughout the test suite.
2019-11-08 15:34:03 +00:00
David Taylor
cd57c3bf5a
DEV: Abort autospec on [ENTER], even if no specs have failed ( #8320 )
...
When starting autospec, it says
> Press [ENTER] to stop the current run
However, [ENTER] does nothing unless a spec has failed. Sometimes I want to abort anyway, so that the run is restarted.
2019-11-08 14:23:12 +00:00
David Taylor
da50cd554a
DEV: Optionally allow autospec without auto-running the whole suite ( #8321 )
...
I want to use autospec while working on a single spec file. At the moment, it will start running all specs once it completes the file I'm working on. With parallel mode enabled, this causes CPU usage to spike dramatically, affecting IDE performance, battery life, and fan noise. I would prefer that it only runs all specs when I explicitly press [ENTER]
This commit adds a new ENV variable `AUTO_RUN_ALL`. To prevent auto-running all specs, set it to 0. The default behavior remains unchanged.
2019-11-08 14:22:57 +00:00
Roman Rizzi
5a016b7eb0
DEV: Adds a new plugin outles to add custom icons on the admin users list ( #8277 )
2019-11-08 10:32:57 -03:00
Dan Ungureanu
dfc002d331
FIX: Count current penalty if it started more than 6 months ago ( #8313 )
2019-11-08 12:23:57 +02:00
Vinoth Kannan
edec922803
FIX: use 'about.json' endpoint instead of using ember model to get the data.
2019-11-08 14:17:51 +05:30
Sam Saffron
d4c9ed68a9
DEV: properly pass keyword args
...
Ruby 2.7 is going to deprecate our old and incorrect usage, use the correct
form for passing kwargs
2019-11-08 17:30:42 +11:00
Sam Saffron
652b6363a2
DEV: upgrade bootsnap
...
This fixes Ruby 2.7 support which we are starting to test
2019-11-08 17:07:58 +11:00
Sam Saffron
26c0199c01
DEV: update Rails to version 6.0.1
...
This version of Rails eliminates a monkey patch that is no longer needed!
Additionally it preps us for Ruby 2.7 support.
2019-11-08 16:56:30 +11:00