Commit Graph

548 Commits

Author SHA1 Message Date
Jarek Radosz 54f73bece0
DEV: Update linting (#266) 2025-03-17 11:42:13 +00:00
dependabot[bot] 98c34b08dd
Bump rack from 3.1.8 to 3.1.10 (#263)
Bumps [rack](https://github.com/rack/rack) from 3.1.8 to 3.1.10.
- [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/v3.1.8...v3.1.10)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-18 18:20:14 +01:00
David Taylor 6846c26c36
DEV: Bump dependencies and fix linting (#262) 2025-02-06 17:59:48 +01:00
Discourse Translator Bot 0c069f69d1
Update translations (#261) 2025-01-31 10:48:59 +01:00
Tomas Vavrda c621abe095
UX: Removed a redundant git pull statement from the user message (#260) 2025-01-16 11:14:04 +00:00
Gary Pendergast 062439dea9
UX: Update the admin page header to use DPageHeader (#258)
Update the header of the admin page to be more consistent with the rest of the admin UI.

The tabs to access the different sub-pages have also been updated.
2025-01-15 17:50:27 +11:00
Jarek Radosz b013f443ac
DEV: Update minimum image version (#257)
This version updates nodejs from 18 to 22
2025-01-14 22:21:50 +01:00
David Taylor b2e2dc12df
DEV: Colocate component templates (#256) 2025-01-09 17:43:46 +01:00
Ella E. 16240092f9
DEV: Remove unnecessary styling for badge in favor of core (#255) 2025-01-07 05:18:50 -07:00
Kelv 83d94d231b
DEV: Update more deprecated Font Awesome icon names (#254) 2024-12-06 20:46:17 +01:00
Ella E. 51f27c2174
UX: Status badge tweaks (#253) 2024-12-05 08:02:57 -07:00
Kelv 0a2110ab36
DEV: Update deprecated Font Awesome icon names (#252) 2024-12-04 02:36:58 +01:00
David Taylor e742d09454
DEV: Update linting (#251) 2024-11-28 18:38:08 +01:00
David Taylor 510b45260b
DEV: Update linting (#250) 2024-11-20 18:36:29 +01:00
dependabot[bot] 346edfd771
Bump cross-spawn from 7.0.3 to 7.0.6 (#249)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:59:37 +00:00
David Taylor 70a8f1e9f0
DEV: Update eslint config (#248) 2024-11-19 11:33:15 +01:00
David Taylor 540a0640a6
FIX: Minimize database access following `db:migrate` (#247)
The upgrade process was triggering the database migrations, and then calling `User.find()`. This is problematic because the `users` table may have been changed by the migrations, and accessing it with the 'old code' will raise an exception.

This commit tweaks the Upgrader so that it loads the user object into memory **before** running database migrations.
2024-10-28 17:14:47 +00:00
Ella E. d2d02c6fea
DEV: update the classname to match in core; success label tweak (#246) 2024-10-24 15:29:58 -06:00
Jarek Radosz ea174f7e36
DEV: Clean up the code (#245)
gjs, helper invocation case, typos, latest license template, unnecessary tracking, concatClass, unnecessary service injection, new imports, whitespace, pure function helper, htmlSafe calling convention, this. in template, unused vars in ruby, update linting, qunit-dom
2024-10-23 11:21:22 +02:00
Ella E. 06cc8dba9d
UX: Adjust table to be responsive on mobile (#244)
* UX: Apply core admin table classes to be visually responsive; styling tweaks

* DEV: update spec to use new classes

* fix failing tests
2024-10-22 16:45:36 -06:00
Kelv 8b08c190ae
DEV: Switch to use pnpm (#243) 2024-10-14 14:40:11 +02:00
Discourse Translator Bot 1e578da2ce
Update translations (#242) 2024-10-02 08:51:04 +02:00
Alan Guo Xiang Tan 30f2300ba8
DEV: Skip tests that shouldn't be run with `if` instead of `pending` (#239)
This speeds up running of this test file by around 10 seconds for me
locally which is a 20% improvement.
2024-09-11 15:11:20 +08:00
David Taylor 652ba9f1ff
FIX: Remove <3.4.0.beta1 version pin (#241)
This pin means that sites will not show an update available for docker_manager, and will then hit a pnpm/yarn error when updating core.

docker_manager is compatible with the 3.3.x series, so we can remove this pin.
2024-09-07 19:48:43 +01:00
David Taylor 31a282c0a7
UX: Suppress pnpm upgrade notifications in build logs (#240) 2024-09-06 10:28:27 +01:00
Bianca Nenciu 957867798e
DEV: Optimize specs (#238)
Git repositories will be initialized less often and then copied for each
spec. This reduces the calls to 'git' and the total execution time of
the specs.
2024-09-06 14:45:34 +08:00
Bianca Nenciu 3a43aa6be7
DEV: Speed up /admin/docker/repos.json spec (#237)
Requesting /admin/docker/repos.json with a lot of plugins installed can
take a lot of time because of the large number of calls to the 'git'
CLI that are used to retrieve various information about the plugin
(eg. branch, latest commit, remote URL, etc).

This is not a problem in production because of memoization and the
much lower number of installed plugins, but it is a problem in test
environment where specs requesting this page can take 10+ seconds with
~100 installed plugins.

This commit speeds up by stubbing the `find_all` method to return only
the first few repositories.
2024-09-04 13:58:00 +03:00
David Taylor f16f400b33
Prepare for core switch from yarn to pnpm (#236) 2024-09-02 18:11:27 +01:00
dependabot[bot] 9bc52730d7
Bump micromatch from 4.0.5 to 4.0.8 (#235)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:52:51 +02:00
dependabot[bot] b687cf818d
Bump rexml from 3.3.3 to 3.3.6 (#234)
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.3 to 3.3.6.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.3...v3.3.6)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:23:00 +02:00
Discourse Translator Bot 9f33c4cc8a
Update translations (#233) 2024-08-13 16:31:34 +02:00
dependabot[bot] 3978a12f4f
Bump rexml from 3.2.8 to 3.3.3 (#232)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.8 to 3.3.3.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.8...v3.3.3)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 13:16:03 +02:00
Natalie Tay 3ff7323155
DEV: Pin plugin for Discourse < 3.4.0.beta1-dev (#231) 2024-08-02 17:35:22 +08:00
Discourse Translator Bot 38cdefa55a
Update translations (#230) 2024-07-31 00:14:28 +02:00
Discourse Translator Bot eb77dc0139
Update translations (#229) 2024-07-16 22:14:13 +02:00
David Taylor c42a2e901d
DEV: Skip system spec (#227)
This is still failing in our core CI. Followup to fe25a76fe3
2024-07-12 12:07:03 +01:00
Alan Guo Xiang Tan c47c37e107
DEV: Print page's HTML at the end after test fails (#226)
This system spec is flaky and we are getting a blank page so I would
like to see what the HTML is. Previously printing of the page's HTML was
doing it too early such that the ember application has not even boot.
2024-07-11 14:17:02 +08:00
Alan Guo Xiang Tan f3eda0a1a9
DEV: Add debugging info to figure out why system test is failing on CI (#225) 2024-07-11 10:08:11 +08:00
Alan Guo Xiang Tan fe25a76fe3
DEV: Unskip system tests and avoid predicate matchers (#224)
RSpec predicate matchers provide poor output when tests fail.
This commit switches to Capybara RSpec matches so that we get more
debugging information as to why these tests are flaky...
2024-07-10 10:38:29 +08:00
Discourse Translator Bot aa5d6f9ee8
Update translations (#222) 2024-07-09 23:12:20 +02:00
Vinoth Kannan 32170dfa38
DEV: skip the flaky system tests (#223)
I'm unable to find why the tests are failing in the Discourse core repo's plugin tests workflow. These tests always pass in the plugin repo and my local dev environment.
2024-07-09 23:12:50 +05:30
Vinoth Kannan e29c6b1504
UX: improve UI of software update page & display more info. (#214)
This PR will refresh the software update page so that self-hosters can more easily understand the plugins they have installed and which plugins need updates, and so that they are able to quickly and easily update them (or update everything).

Co-authored-by: Martin Brennan <mjrbrennan@gmail.com>
2024-07-09 00:14:26 +05:30
dependabot[bot] c8d8da7b44
Bump braces from 3.0.2 to 3.0.3 (#221)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 22:31:19 +02:00
Discourse Translator Bot 4bca0de0e8
Update translations (#220) 2024-05-31 12:27:43 +02:00
Loïc Guitaut be2ab29f21
DEV: Update rubocop-discourse to version 3.8.0 (#219) 2024-05-28 11:46:00 +02:00
Loïc Guitaut 2a651b0b59 DEV: Update rubocop-discourse to latest version 2024-05-24 16:32:08 +02:00
Discourse Translator Bot 6ffe7601dd
Update translations (#218) 2024-05-21 17:41:05 +02:00
dependabot[bot] 98532ee474
Bump rexml from 3.2.6 to 3.2.8 (#216)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 23:56:57 +02:00
David Taylor a3ec7a34ac
Bump minimum base image version (#215)
The last forced update was more than a year ago. That old image has a lot of old dependencies, including an old `node` version which is no longer supported by some of Discourse's JS dependencies. This commit will instruct self-hosters to perform a command-line rebuild.
2024-05-16 11:11:34 +01:00
Discourse Translator Bot dec486d0fa
Update translations (#213) 2024-04-23 16:22:42 +02:00