Commit Graph

513 Commits

Author SHA1 Message Date
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
Discourse Translator Bot 6ce4e079b1
Update translations (#212) 2024-04-09 18:48:58 +02:00
Ella E 86fc5ab1ef
UX: Use sentence case and add Discourse to the page title and nav item (#211)
* Use sentence case and add Discourse to the page title and nav item
2024-04-05 12:59:29 -06:00
Vinoth Kannan da4917770d
DEV: rename the "upgrade" route to "update" and change references. (#210)
This PR will rename the route "`/admin/upgrade`" to "`/admin/update`" and it will add a redirect for the old route.

Follow-up to the PR: https://github.com/discourse/docker_manager/pull/208
2024-04-03 21:10:13 +05:30
Discourse Translator Bot 34f204e7a9
Update translations (#209) 2024-04-02 18:20:00 +02:00
Vinoth Kannan 340f0006c5
UX: rename the word "Upgrade" to "Update" in the UI (#208)
In this PR, all references in the UI to the word "`upgrade`" are changed to "`update`". This is to differentiate the update process in self-hosted sites from the plan "upgrade" process in hosted sites.
2024-04-02 15:13:32 +05:30
Jarek Radosz a2bc9b6eac
DEV: Fix getOwner deprecation (#207) 2024-03-19 12:18:07 +01:00
Selase Krakani f2b97aa16e
DEV: Pin plugin for Discourse < 3.3.0.beta1-dev (#206) 2024-02-29 14:00:59 -07:00
Discourse Translator Bot 9523f7a884
Update translations (#205) 2024-02-06 22:35:39 +01:00
Martin Brennan db8608d9cc
DEV: Use new JS plugin API to add admin sidebar link (#201) (#204)
c.f. https://github.com/discourse/discourse/pull/25200

The new admin sidebar doesn't have plugin outlets, so we
need a way to register links like this Upgrade one. The
admin sidebar is currently experimental, so we need to keep
the old outlet around for now for sites who have not enabled
the admin sidebar.

This time we are not using before in the initializer, due
to the changes in this core PR https://github.com/discourse/discourse/pull/25396
2024-01-25 10:45:31 +10:00
Jarek Radosz 29a1fbab89
DEV: Update linting (#203) 2024-01-18 15:01:47 +01:00
Martin Brennan e480ca103c
Revert "DEV: Use new JS plugin API to add admin sidebar link (#201)" (#202)
This reverts commit 5a0499af29.

This breaks self-hosters who are running on an older version
of Discourse.
2024-01-15 10:58:01 +10:00
Martin Brennan 5a0499af29
DEV: Use new JS plugin API to add admin sidebar link (#201)
c.f. https://github.com/discourse/discourse/pull/25200

The new admin sidebar doesn't have plugin outlets, so we
need a way to register links like this Upgrade one. The
admin sidebar is currently experimental, so we need to keep
the old outlet around for now for sites who have not enabled
the admin sidebar.
2024-01-12 16:41:32 +10:00
Martin Brennan 4c550d5268
FIX: Hide this plugin from the plugin list (#199)
This plugin is not optional and cannot be disabled,
it's essential for self-hosting, so there is no point
showing it in the plugin list.
2023-12-18 11:29:19 +10:00
David Taylor 40a02992f6
FIX: Permit EMBER_VERSION env (#200) 2023-12-15 14:43:05 +00:00
Jarek Radosz 7cb07ca0a0
DEV: Update linting (#198) 2023-12-13 21:16:57 +01:00
Martin Brennan 5712deca63
DEV: Metadata update for plugin.rb (#197)
* Update plugin.rb metadata

* Update plugin.rb

---------

Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-07 15:44:41 -08:00
dependabot[bot] 942920cf27
Bump @babel/traverse from 7.21.0 to 7.23.2 (#196)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 23:40:43 +02:00
Discourse Translator Bot f29ba3793d
Update translations (#195) 2023-09-27 11:03:31 +02:00
Discourse Translator Bot 482726e0de
Update translations (#194) 2023-09-05 15:42:51 +02:00
Discourse Translator Bot f1f2b307be
Update translations (#192) 2023-08-29 15:51:12 +02:00
Gerhard Schlager 55b08fb950
DEV: Fix linting error (#193) 2023-08-29 15:49:57 +02:00
Discourse Translator Bot 2ca1ffa355
Update translations (#191) 2023-08-23 09:29:48 +02:00
Discourse Translator Bot b82ee4ecdc
Update translations (#189) 2023-08-08 15:42:46 +02:00
David Taylor db0db26bcc
DEV: Go back to commit hash for discourse-compatibility entry (#188)
Branches are not fully supported
2023-07-28 17:11:06 +01:00
David Taylor 4a493543de
DEV: Support new discourse-compatibility format on old core (#186)
This introduces a fallback compatibility parser, identical to the one introduced in https://github.com/discourse/discourse/pull/22714

This will allow Docker Manager to parse new compatibility files, even when running on older Discourse instances. This is only intended as a temporary solution, and will be removed before the Discourse 3.2 release.
2023-07-25 14:31:27 +01:00
dependabot[bot] 8edc1df602
Bump word-wrap from 1.2.3 to 1.2.4 (#185)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 01:32:57 +02:00
dependabot[bot] 1357db3f02
Bump semver from 6.3.0 to 6.3.1 (#184)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:45:33 +02:00
Discourse Translator Bot 8458ecbf0c
Update translations (#183) 2023-05-23 21:23:33 +02:00
David Taylor eecf0af9a9
DEV: Silence git stderr output (#182)
The git stderr output was making test output very noisy (and was also polluting production stderr logs)
2023-05-03 10:41:02 +01:00
Discourse Translator Bot ad743ae11d
Update translations (#181) 2023-04-25 17:22:20 +02:00
David Taylor c6a6d0c37f
Remove `--production` flag from yarn install (#179)
See https://github.com/discourse/discourse_docker/pull/708 for context
2023-04-24 11:33:53 +01:00
Gerhard Schlager cf9975ad56
FIX: Upgrading was broken when repo uses `master` branch (#180) 2023-04-20 18:24:14 +02:00
Gerhard Schlager 6293c3d948
FEATURE: Adds support for git tags (#177)
* FEATURE: Adds support for git tags

* Detects when the tracked branch has been deleted from `origin` and forces a rebuild on the command line
* Allows updating when a tag is tracked and the tag was moved to a new commit
* Improves support for shallow clones
* Works with partial clones
* Adds lots of specs for git commands and replaces the existing specs. All specs use real git repositories instead of mocks
2023-04-19 19:17:48 +02:00
Gerhard Schlager 024fba2c44
FIX: Update compatibility file for v3.1.0.beta1 and below (#178)
Without this upgrades to v3.1.0.beta4+ will fail because those newer versions require Ruby 3.2 and the old, pinned docker_manager version didn't prompt for a CLI rebuild when upgrading from v3.1.0.beta1 and below.

The actual fix is in 1b2d7eb which is part of the new `old-version-up-to-v3.1.0.beta1` branch.
2023-04-19 15:48:28 +02:00
David Taylor 7e7b6b56a9
Update minimum image version for Ruby 3.2 (#176) 2023-04-04 10:05:06 +01:00