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.
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
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.
* 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
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.
* 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