Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
Jarek Radosz 7cb07ca0a0
DEV: Update linting (#198) 2023-12-13 21:16:57 +01:00
Gerhard Schlager 55b08fb950
DEV: Fix linting error (#193) 2023-08-29 15:49:57 +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
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
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
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 a17ace1b66 FEATURE: Add Upgrade tab to the admin nav 2023-02-16 14:09:33 +01:00
Jarek Radosz fa4d918c13 DEV: Use the plugin outlet instead of CustomHtml 2023-02-16 14:09:33 +01:00
Jarek Radosz 196abc9b21 DEV: Namespace components 2023-02-16 14:09:33 +01:00
Jarek Radosz 7f2b702ed3 DEV: Use `TrackedArray` 2023-02-16 14:09:33 +01:00
Jarek Radosz ee8d531ae3 DEV: Use ownership system in model tests 2023-02-16 14:09:33 +01:00
Jarek Radosz f48ed7371b DEV: Use `static` keyword in the model definition 2023-02-16 14:09:33 +01:00
Jarek Radosz ec16159772 DEV: Use `this.` in templates 2023-02-16 14:09:33 +01:00
Jarek Radosz f5ac0f8eb3 DEV: Improve imports 2023-02-16 14:09:33 +01:00
Jarek Radosz 38ebc72a9d DEV: Use `on` helper 2023-02-16 14:09:33 +01:00
Jarek Radosz 4535f2d1e4 DEV: Add missing localizations 2023-02-16 14:09:33 +01:00
Jarek Radosz 8fda89679f DEV: Use the argument of element-modifier 2023-02-16 14:09:33 +01:00
Jarek Radosz ccc07569c5 DEV: Move the frontend into admin subdirectory 2023-02-16 14:09:33 +01:00