Peter Wagenet
7caaee27cc
DEV: Generate template backing classes for app ( #17300 )
...
```sh
npx ember-holy-futuristic-template-namespacing-batman-codemod ensure-template-only-has-backing-class
```
We would like to colocate templates but, when no backing class exists, colocated templates extend `templateOnly` instead of `Ember.Component`. Generating the backing class helps avoid any behavioral changes.
We can also run the `tagless-ember-components-codemod` to put the tags into the templates at which point we could convert these back to template-only components.
2022-07-04 01:27:29 +02:00
dependabot[bot]
4c69619334
Build(deps): Bump oj from 3.13.14 to 3.13.15 ( #17309 )
...
Bumps [oj](https://github.com/ohler55/oj ) from 3.13.14 to 3.13.15.
- [Release notes](https://github.com/ohler55/oj/releases )
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ohler55/oj/compare/v3.13.14...v3.13.15 )
---
updated-dependencies:
- dependency-name: oj
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 01:20:38 +02:00
dependabot[bot]
c28adf7bf8
Build(deps-dev): Bump minitest from 5.16.1 to 5.16.2 ( #17311 )
...
Bumps [minitest](https://github.com/seattlerb/minitest ) from 5.16.1 to 5.16.2.
- [Release notes](https://github.com/seattlerb/minitest/releases )
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc )
- [Commits](https://github.com/seattlerb/minitest/compare/v5.16.1...v5.16.2 )
---
updated-dependencies:
- dependency-name: minitest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 01:20:28 +02:00
dependabot[bot]
81bd47ea48
Build(deps): Bump rubocop-rspec from 2.11.1 to 2.12.1 ( #17312 )
...
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec ) from 2.11.1 to 2.12.1.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases )
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.11.1...v2.12.1 )
---
updated-dependencies:
- dependency-name: rubocop-rspec
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 01:20:16 +02:00
dependabot[bot]
48886a836e
Build(deps): Bump msgpack from 1.5.2 to 1.5.3 ( #17306 )
...
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby ) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/msgpack/msgpack-ruby/releases )
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog )
- [Commits](https://github.com/msgpack/msgpack-ruby/compare/v1.5.2...v1.5.3 )
---
updated-dependencies:
- dependency-name: msgpack
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 00:23:29 +02:00
dependabot[bot]
a643453e48
Build(deps): Bump rack from 2.2.3.1 to 2.2.4 ( #17307 )
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.3.1 to 2.2.4.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/2.2.3.1...2.2.4 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 00:20:28 +02:00
Peter Wagenet
82d7e76d52
Set up ember-cli-deprecation-workflow ( #17268 )
...
Let's get the ball rolling! 😃
2022-07-01 23:43:40 +02:00
Joe
adb7fa5e2f
UX: Use discourse-ready as a baseline for removing the splash ( #17297 )
...
We previously used the window load event as a target to remove the splash. The issue with that is that it means we wait for images to download before we remove the splash.
Ember has a better method that we can use ready(). This PR triggers a custom discourse-ready when that happens and uses that as the baseline for removing the splash.
This PR also adds three new performance marks. discourse-ready, discourse-splash-visible, and discourse-splash-removed
These will help us keep track of performance.
Internal topic /t/65378/81
2022-07-01 21:54:38 +08:00
Gerhard Schlager
caa0247f5c
FIX: Incorrect `currentUser` could be cached for requests with API key ( #17279 )
...
This happened when a middleware accessed the `currentUser` before a controller had a chance to populate the `action_dispatch.request.path_parameters` env variable. In that case Discourse would always cache `nil` as `currentUser`.
2022-07-01 10:18:24 +02:00
Vinoth Kannan
af3262d70a
UX: made "Dismiss New" button clickable by replacing `float` method. ( #17288 )
...
Since we removed the `row:after { clear: both }` CSS we no longer use `float` style here. Instead, we should use `flex` style to align the button in right side.
2022-07-01 09:12:16 +05:30
Kris
199d58461b
UX: hide sidebar li overflow, remove title margin ( #17294 )
2022-06-30 18:24:29 -04:00
Kris
321dc29583
UX: improve experimental sidebar scrollbar ( #17293 )
2022-06-30 16:14:29 -04:00
Kris
b1f7da4fe3
UX: minor experimental sidebar alignment changes ( #17292 )
2022-06-30 16:14:17 -04:00
Kris
4df683f88d
UX: Remove experimental sidebar notification text ( #17290 )
2022-06-30 14:15:39 -04:00
Ghassan Maslamani
d0a4bc636f
FIX: Vimeo regex pattern ( #17277 )
...
Vimeo has two url structure:
- Normal /video_id
- Private/Unlisted /video_id/hash_string
This changes change the regex pattern thus it would be able to
catch both. Also it tolerate trailing slash.
This shall fixes:
https://meta.discourse.org/t/vimeo-embed-urls-parsed-incorrectly-in-email/231042
2022-06-30 13:13:25 -03:00
Rafael dos Santos Silva
f130ec35d9
FEATURE: Use full post width for Vimeo embeds ( #17289 )
2022-06-30 13:08:24 -03:00
Joe
49905a4e6c
DEV: Use performance timings to as a baseline for the splash take 2 ( #17284 )
...
We previously relied on CSS animation-delay for the splash. This means that we can get inconsistent results based on device/network conditions.
This PR moves us to a more consistent timing based on {request time + 2 seconds}
Internal topic: /t/65378/65
2022-06-30 21:22:00 +08:00
Jarek Radosz
7343cb9f73
DEV: Convert `{{cook-text}}` to angle-brackets ( #17287 )
2022-06-30 14:03:27 +02:00
Jarek Radosz
16ea7ab248
DEV: Run angle-brackets codemod ( #17286 )
...
Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
2022-06-30 12:30:50 +02:00
Natalie Tay
02e148cbde
Version bump to v2.9.0.beta6 ( #17283 )
...
Needed for https://meta.discourse.org/t/unable-to-find-discourse-version-2-9-0-beta6/231511
2022-06-30 12:25:44 +03:00
Joe
c86c709998
UX: Reduces splash animation delay ( #17282 )
...
This PR cuts down the delay before the splash screen is visible.
2022-06-30 17:19:39 +08:00
Alan Guo Xiang Tan
3a6e87ca4f
FEATURE: Store sidebar section display state in local storage ( #17281 )
...
Tests have been intentionally left out as it is hard to test interaction that relies on local storage.
It also isn't the end of the world if the feature regresses.
2022-06-30 15:56:46 +08:00
Alan Guo Xiang Tan
3266350e80
FEATURE: Decouple category/tag presence in sidebar from notifi level ( #17273 )
2022-06-30 14:54:20 +08:00
Gabe Pacuilla
db53c6650b
FIX: max value for SiteSetting.delete_removed_posts_after ( #17270 )
2022-06-30 12:46:48 +08:00
dependabot[bot]
1493cc447e
Build(deps): Bump rubocop from 1.31.0 to 1.31.1 ( #17280 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.31.0 to 1.31.1.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.31.0...v1.31.1 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 12:45:32 +08:00
Krzysztof Kotlarek
09932738e5
FEATURE: whispers available for groups ( #17170 )
...
Before, whispers were only available for staff members.
Config has been changed to allow to configure privileged groups with access to whispers. Post migration was added to move from the old setting into the new one.
I considered having a boolean column `whisperer` on user model similar to `admin/moderator` for performance reason. Finally, I decided to keep looking for groups as queries are only done for current user and didn't notice any N+1 queries.
2022-06-30 10:18:12 +10:00
Kris
f44eb13236
FIX: add clearfix back for admin contents ( #17278 )
2022-06-29 10:17:01 -04:00
Joffrey JAFFEUX
657256a099
Revert "DEV: Use `performance.timing` as a baseline for the splash ( #17275 )" ( #17276 )
...
This reverts commit 6146da5eb7
.
2022-06-29 18:34:37 +08:00
Joe
6146da5eb7
DEV: Use `performance.timing` as a baseline for the splash ( #17275 )
...
* update styles
* remove unused code
* use request time as a baseline
2022-06-29 20:01:46 +10:00
Sam
6ecfdc8f55
FIX: keep unique post checks separate for PMs vs topics ( #17272 )
...
This allows for people to use PMs for drafting and then post them on topics.
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2022-06-29 15:35:07 +10:00
Alan Guo Xiang Tan
644e05cd4d
DEV: Rename variable in TagSectionLink JavaScript class ( #17274 )
...
Tag is vague and is mostly used in our code base to represent a Tag
ember object.
2022-06-29 13:18:30 +08:00
dependabot[bot]
f070ebca9d
Build(deps): Bump rack-test from 2.0.1 to 2.0.2 ( #17269 )
...
Bumps [rack-test](https://github.com/rack/rack-test ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/rack/rack-test/releases )
- [Changelog](https://github.com/rack/rack-test/blob/main/History.md )
- [Commits](https://github.com/rack/rack-test/compare/v2.0.1...v2.0.2 )
---
updated-dependencies:
- dependency-name: rack-test
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 10:49:47 +08:00
Kris
f0005401b7
UX: core adjustments and styles for the experimental sidebar ( #17271 )
2022-06-29 10:49:01 +08:00
Gerhard Schlager
9d870f151c
FIX: Uploading large files (> 5GB) failed when `enable_direct_s3_uploads` is enabled ( #16724 )
...
Larger files require a multipart copy.
2022-06-28 21:30:00 +02:00
Gerhard Schlager
0bcc478635
DEV: Run some specs with fake S3 implementation instead of stubs
2022-06-28 21:27:52 +02:00
Gerhard Schlager
235f172b9c
FIX: Didn't delete upload stub when a new upload is created
...
Reuse `Discourse.store` to prevent creation of multiple new store objects within `UploadCreator#create_for`.
2022-06-28 21:27:52 +02:00
Gerhard Schlager
2d6ef232a7
FIX: Markdown handling failed on empty attribute value ( #17199 )
...
Seems to only be a problem when a markdown.it rule inserts links without a attribute value. There's no test, because it's not reproducible with the markdown rules in core.
2022-06-28 21:27:15 +02:00
Jarek Radosz
809f3d37cd
DEV: Update `qunit-dom` ( #17265 )
2022-06-28 21:22:17 +02:00
Jarek Radosz
302fab07a3
DEV: Update `jsdom` ( #17264 )
2022-06-28 21:22:06 +02:00
Jarek Radosz
bfeee1b803
DEV: Update `sinon` ( #17266 )
2022-06-28 21:21:51 +02:00
Jarek Radosz
16f22e3c36
DEV: Add `--forward-host` option to `bin/ember-cli` ( #17244 )
...
This allows to e.g. test multisite setup in a local dev environment. Also fixes some minor proxy issues.
2022-06-28 21:20:14 +02:00
Jarek Radosz
39a025c7af
DEV: Allow newer versions of node ( #17261 )
...
It should now properly work with 18.x, so we should start moving into direction of it being the default.
2022-06-28 20:52:31 +02:00
Discourse Translator Bot
c6b3d3e4b4
Update translations ( #17267 )
2022-06-28 20:52:09 +02:00
Alan Guo Xiang Tan
836b5300fc
DEV: Move sidebar utility class to body tag ( #17259 )
2022-06-28 11:32:06 -04:00
Jarek Radosz
4821d44c3c
DEV: Update `webpack` ( #17262 )
2022-06-28 14:39:09 +02:00
Chapoi
a832c94527
UX: update color on arrow tippy box ( #17263 )
2022-06-28 13:25:40 +02:00
Natalie Tay
ff77ad7ac0
UX: Change copy for user-selector placeholder ( #17260 )
2022-06-28 19:01:16 +08:00
dependabot[bot]
aa38dcd263
Build(deps): Bump rubocop from 1.30.1 to 1.31.0 ( #17258 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.30.1...v1.31.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 00:10:41 +02:00
Sérgio Saquetim
5840fb5c62
UX: Update topics stats automatically ( #17135 )
...
Updates automatically data on the stats section of the topic.
It will update automatically the following information: likes, replies and last reply (timestamp and user)
2022-06-27 18:21:05 -03:00
dependabot[bot]
31a0bf11f2
Build(deps): Bump rack-test from 1.1.0 to 2.0.1 ( #17257 )
...
Bumps [rack-test](https://github.com/rack/rack-test ) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/rack/rack-test/releases )
- [Changelog](https://github.com/rack/rack-test/blob/main/History.md )
- [Commits](https://github.com/rack/rack-test/compare/v1.1.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: rack-test
dependency-type: indirect
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 22:13:46 +02:00