Commit Graph

550 Commits

Author SHA1 Message Date
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
Ted Johansson 4a5d9328ee
DEV: Only show upgrade tab for admins (#175)
We added an "Upgrade" tab to the admin menu, but it's also showing for moderators, even though they can't access it, leading to "Oops! That page doesn’t exist or is private."

This change simply hide the upgrade tab for non-admin users.
2023-03-27 16:07:47 +08:00
Gerhard Schlager e90c8f55fc DEV: Apply syntax_tree formatting with config from core 2023-03-08 13:41:34 +01:00
Gerhard Schlager 75b8d545c5 DEV: Remove old translation-manager gem from dependencies 2023-03-08 13:41:34 +01:00
David Taylor 0bb0c6c97d
FIX: Remove ruby memory flags (#173)
These seem to be hurting performance in the latest version of Ruby
2023-03-06 20:59:23 +00:00
Discourse Translator Bot 97767ba7fa
Update translations (#172) 2023-02-28 14:48:27 +01:00
Jarek Radosz 47c9647559
FIX: Incorrect use of d-icon params (#171)
It doesn't support alt and the title was already a translated string.
2023-02-23 11:11:16 +01:00
Jarek Radosz 86ebb20a98
DEV: Various tweaks (#169)
* DEV: Add an early progress bar step
* DEV: Show admin banner only if there's an update
* DEV: Invert a conditional
* UX: Stop the progress bar animation when inactive
* DEV: Update dependencies
2023-02-21 18:05:18 +01:00
Discourse Translator Bot bf18492028
Update translations (#170) 2023-02-21 17:12:16 +01:00
Gerhard Schlager 28a826e4c6
DEV: Add missing file to Crowdin (#168) 2023-02-20 09:44:12 +01:00
Jarek Radosz c37380b3b6 FEATURE: Restore long lost auto-refresh of `ps` 2023-02-16 14:09:33 +01:00
Jarek Radosz 1008151e48 UX: CSS cleanup
* extensive use of our css vars
* removal of unused selectors
* use of rem units over px
2023-02-16 14:09:33 +01:00
Jarek Radosz 2226934ed2 UX: Restore and adjust the animated progress bar 2023-02-16 14:09:33 +01:00
Jarek Radosz a17ace1b66 FEATURE: Add Upgrade tab to the admin nav 2023-02-16 14:09:33 +01:00