Robin Ward
e2e51ee348
FIX: Refactor broke wizard
2020-08-17 16:34:12 -04:00
Penar Musaraj
2567bb4a67
DEV: Facilitate replacing category lock icon in components
2020-08-17 16:09:17 -04:00
Robin Ward
1a2156a0c2
REFACTOR: Remove Discourse.BaseUrl
global
2020-08-17 16:08:40 -04:00
Robin Ward
19d057d261
REFACTOR: We can hardcode #ember-testing
here to avoid a global
2020-08-17 15:56:17 -04:00
David Taylor
a895e4a15b
FIX: Skip rendering twitter video if matching format not found
...
Followup to d5a4318a
2020-08-17 20:53:14 +01:00
Robin Ward
441ac21053
FIX: Broken when iconList missing
2020-08-17 15:49:32 -04:00
Neil Lalonde
530058918e
DEV: Support env var for prometheus port in cache_critical_dns
2020-08-17 15:48:14 -04:00
Robin Ward
5b2c306bb8
REFACTOR: Remove Discourse.HighlightJSPath
from globals
...
Instead we use the session, and pass that along where necessary.
2020-08-17 15:45:44 -04:00
Penar Musaraj
3745f2bb86
FEATURE: Dark mode alternative logos ( #10441 )
2020-08-17 15:43:20 -04:00
David Taylor
d5a4318ac1
FIX: Replace iframe with <video> for twitter videos
...
This avoids the samesite cookie related error on chrome. It also adds support for twitter 'GIF' content, and allows videos to resize smoothly for narrow devices.
2020-08-17 20:37:36 +01:00
Robin Ward
386a9d26ec
REFACTOR: Remove Discourse.SvgIconList
and Discourse.SvgSpritePath
...
We use the session instead. This patch also removes some jQuery usage in
favor of regular HTML apis
2020-08-17 15:28:22 -04:00
jahan-ggn
65649eaef0
User card settings ( #10302 )
...
* settings implemented
* prettier
* settings updated
* rubocop
* prettier
* Revert "rubocop"
This reverts commit 7805145a7d
.
* Revert "prettier"
This reverts commit 2c53f4fa12
.
* settings updated and changed
* rubocop
* changes applied
* final changes done
* Server side feature added
* spec changed
* changed user_updater and profile file
* Fix user card specs
* web hook serializer solved
* site-setting changed
Co-authored-by: Mark VanLandingham <markvanlan@gmail.com>
2020-08-17 12:37:45 -04:00
Mark VanLandingham
f2588e1c85
FIX: Clicking on category autocomplete row ( #10457 )
2020-08-17 11:02:00 -05:00
Joffrey JAFFEUX
6d0eb7178d
FIX: prevents errors on /tags when a tag constructor
exists ( #10449 )
...
This is due to js objects having a constructor property:
```
const obj = {};
obj['constructor'] // return [native code] and not undefined
```
2020-08-17 17:40:34 +02:00
dependabot-preview[bot]
ef9af004f7
Merge pull request #10454 from discourse/dependabot/bundler/rubocop-rspec-1.43.1
...
Build(deps): Bump rubocop-rspec from 1.42.0 to 1.43.1
2020-08-17 11:34:15 -04:00
Robin Ward
2aae0f0d8b
FIX: This leaves an empty example group in TRAVIS mode
...
Instead we should remove the entire context.
2020-08-17 11:33:40 -04:00
dependabot-preview[bot]
a7d9334a93
Build(deps-dev): Bump simplecov from 0.18.5 to 0.19.0
...
Bumps [simplecov](https://github.com/simplecov-ruby/simplecov ) from 0.18.5 to 0.19.0.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases )
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md )
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.18.5...v0.19.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 11:29:27 -04:00
David Taylor
0a5376084d
FIX: Ensure auto close notice is posted with system locale
...
Previously it was created with the locale of the user who created the final post in the topic
2020-08-17 15:40:47 +01:00
Robert
c164e9bbe0
DEV: Add computed property to Create Account modal ( #10455 )
...
Carry over the regime used in the Login modal to Create Account to
facilitate overriding of the classes set for the d-modal Component
using a new Computed Property having the same naming convention.
2020-08-17 12:31:41 +01:00
Guo Xiang Tan
872ef82f4d
Revert "PERF: Prefer joins over subquery for User#private_posts_for_user
."
...
This reverts commit 05b43e5ae4
.
2020-08-17 14:58:47 +08:00
Guo Xiang Tan
05b43e5ae4
PERF: Prefer joins over subquery for User#private_posts_for_user
.
...
The subquery here prevents the planner from optimizing the query. As
such, we prefer joining against the requried tables instead.
2020-08-17 14:47:48 +08:00
Guo Xiang Tan
248bebb8cd
PERF: Remove extra subquery in search.
...
I also noticed that removing the subquery helps the planner to plan
better.
2020-08-17 13:52:12 +08:00
Kris
630ec7b49c
Enable hamburger menu scrolling on mobile, follow-up to 1972364
2020-08-15 20:31:22 -04:00
Robin Ward
58ee947b35
FIX: Mobile group add dropdown was broken
...
It looks like we removed the bulk add modal but didn't update the mobile
template.
2020-08-14 21:03:41 -04:00
Robin Ward
51a6e96b7f
FIX: defer topic was broken
2020-08-14 17:25:37 -04:00
Robin Ward
afa9a61080
REFACTOR: These Discourse
constants do not seem required in vendor
2020-08-14 13:42:15 -04:00
Robin Ward
41fd7a8b72
REFACTOR: Add themeSettings
to the helperContext
to avoid a global
2020-08-14 13:34:21 -04:00
David Taylor
8ac85f54fb
DEV: Remove blob: workers from CSP ( #10440 )
...
Ace editor is reconfigured to load workers directly from their JS URL. Workers must be on the same origin as the site, so they will not use the CDN.
2020-08-14 18:15:30 +01:00
Robin Ward
f52927cd33
REFACTOR: Migrate screenTrack
to a service
2020-08-14 13:14:17 -04:00
Robin Ward
86aa5d5e48
FIX: application
controller is not used by the card
2020-08-14 12:49:53 -04:00
Robin Ward
99764d8108
REFACTOR: Don't use container in Scrolling mixin
2020-08-14 12:49:53 -04:00
Robin Ward
37c6fef535
REFACTOR: Remove dead code (property was typo'd, no longer used)
2020-08-14 12:49:53 -04:00
Robin Ward
01e213c930
REFACTOR: Clean up router usage and private APIs
2020-08-14 12:49:53 -04:00
Robin Ward
6a9bde3bf4
REFACTOR: Remove router:main
and getOwner
2020-08-14 12:49:53 -04:00
Robin Ward
cf466f7b84
REFACTOR: Simplify willTransition
2020-08-14 12:49:53 -04:00
Jarek Radosz
7cc5c5bb31
FIX: DEV: Introduce @bind
decorator ( #10439 )
...
Fixes a bug in `controllers/insert-hyperlink` where `addEventListener` was called with different (anonymous) functions than the matching `removeEventListener` calls.
2020-08-14 17:13:20 +02:00
Guo Xiang Tan
8b811533b1
DEV: Improve readability of setting weights in SearchIndexer
.
2020-08-14 23:11:41 +08:00
Jarek Radosz
a3e2152265
DEV: Add ember-buffered-proxy import shim ( #10438 )
...
Just a bit of 🧹
2020-08-14 17:07:17 +02:00
Vinoth Kannan
476d26159a
FEATURE: add new user option skip_new_user_tips
. ( #10437 )
...
And add new site setting `default_other_skip_new_user_tips` in user preferences category.
2020-08-14 19:10:56 +05:30
Jarek Radosz
6287c8e171
FIX: A paste event listener was re-added instead of being removed
...
cc: @eviltrout 😉
2020-08-14 15:21:27 +02:00
David Taylor
3cf93e9a8f
Revert "DEV: Disable ACE editor worker blobs"
...
This reverts commit d5463d2a4d
.
With S3 assets, CORS prevents loading worker assets directly.
2020-08-14 14:12:11 +01:00
Robin Ward
35d9d668c3
This is an attempt to fix a qunit heisentest
2020-08-14 08:57:28 -04:00
David Taylor
a5608025aa
FIX: Add script asset locations to worker-src CSP directives
...
We no longer need :blob worker src since d5463d2a
. But we do want to allow workers to be loaded from all our existing script-src options.
2020-08-14 12:31:50 +01:00
David Taylor
d5463d2a4d
DEV: Disable ACE editor worker blobs
...
This will allow us to remove `blob:` URLs from the worker-src CSP directive
2020-08-14 12:01:46 +01:00
Jarek Radosz
be6a73f654
DEV: Fix package.json issues and reroll yarn.lock
2020-08-14 12:00:35 +02:00
Guo Xiang Tan
5819c4cb3b
PERF: Switch to ActiveRecord's upsert in SearchIndexer
.
...
On insertion, it uses a single query instead of 2.
2020-08-14 16:15:14 +08:00
Guo Xiang Tan
c2605d4194
DEV: Fix search to be more intentional about what it is testing.
...
Asserting for the posts length is not accurate since an incorrect post
can be returned and the assertion will still pass.
2020-08-14 15:32:18 +08:00
Martin Brennan
4670b62969
DEV: IMAP log to database ( #10435 )
...
Convert all IMAP logging to write to a database table for easier inspection. These logs are cleaned up daily if they are > 5 days old.
Logs can easily be watched in dev by setting DISCOURSE_DEV_LOG_LEVEL=\"debug\" and running tail -f development.log | grep IMAP
2020-08-14 12:01:31 +10:00
Penar Musaraj
eae8b0465c
DEV: Upgrade ACE Editor to 1.4.12, remove extra ACE files ( #10431 )
2020-08-13 21:53:27 -04:00
Blake Erickson
c2f3c0dc44
FIX: generate_topic_thumbnails job infinitely running for corrupted images
...
It's possible that the original topic image is broken in some form, so
we shouldn't try and generate a topic thumbnail for it. The fix will
prevent the generate_topic_thumbnails job being enqueued every time the
topic is viewed.
2020-08-13 17:08:32 -06:00