Commit Graph

656 Commits

Author SHA1 Message Date
Florian Scholdei
02cb4aa72c Add changelog entry 2025-02-25 14:23:12 +01:00
Florian Scholdei
987893aa67 Fix loop in secondary navigation render cycle 2025-02-04 15:06:09 +01:00
Thomas Zerr
f818b15d7e Adjust changelog for release 3.7.0 2025-01-23 08:39:41 +01:00
Thomas Zerr
25ed3ceba0 Add new button variant "info"
Reviewed-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
2025-01-16 14:44:48 +01:00
Till-André Diegeler
19e607c2de Pull Request Banner Extension Point 2025-01-15 14:06:59 +01:00
Till-André Diegeler
08e57b9a19 Allow filter for Git repositories
The line `allowfilter = true` is inserted both in new Git repositories
and existing ones (via an UpdateStep). This enables clones with
`--filter` parameters.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2025-01-09 15:27:22 +01:00
Rene Pfeuffer
8422c3bc44 Fast modifications inside git repositories
With this change, most modifications of git repositories&#10;(like inserting, deleting and updating files and merging branches)&#10;do no longer work inside clones held in temporary working&#10;directories but are done directly inside the bare git&#10;repository data. This resolves in a massive performance&#10;boost for the editor plugin and pull requests, especially in&#10;larger repositories.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2025-01-07 11:06:53 +01:00
Rene Pfeuffer
190961df28 Auto-focus first input element in creation forms
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-12-19 13:54:02 +01:00
Rene Pfeuffer
45801c9813 Remove unused class IterableQueue
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-12-19 09:14:37 +01:00
Philipp Ahrendt
241e4cb53d Clickable tags use HMTL button
Tags that open modals or trigger other actions need to be accessible for keyboard and assistive technologies.
2024-12-17 19:11:21 +01:00
Philipp Ahrendt
b3ed25fc78 Remove superfluous alt texts
Decorative images should provide an empty alt text for assistive technologies.
2024-12-16 11:40:26 +01:00
Viktor Egorov
109cc73f89 Link to repo page in repo header 2024-12-16 10:35:00 +01:00
Florian Scholdei
3c0ad46f07 Set descriptive document titles
Document titles represent the pages, for example in lists
with bookmarks. They are important for navigation and
orientation in websites. If the offer or the content of the
page is not labeled, orientation is impaired.

This changes the behavior for setting document titles.
The functionality has been removed from the Page and
Title components and is now represented by `useDocumentTitle`
hook to better describe the content of inividual pages.

Co-authored-by: Anna Vetcininova<anna.vetcininova@cloudogu.com>
2024-12-10 16:41:01 +01:00
Viktor Egorov
3ed457a891 Whitespace dropdown is now correctly displayed
Co-authored-by: Viktor<viktor.egorov@triology.de>
2024-12-09 13:20:02 +01:00
Philipp Ahrendt
6362b8b262 Accessible changeset details
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: Philipp Ahrendt<philipp.ahrendt@cloudogu.com>
2024-12-09 11:13:41 +01:00
Thomas Zerr
145a9f2a11 Adjust changelog for release 3.6.0 2024-12-05 10:55:22 +01:00
Viktor Egorov
3277e0194b Layout change for changesetdetails
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
2024-12-03 09:35:15 +01:00
Anna Vetcininova
0bdb4ff298 Fix missing aria-label in navigation
Reviewed-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
2024-12-03 08:12:25 +01:00
Thomas Zerr
03fa34d0b1 Fix accessibility issues when creating a repository
Reviewed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2024-12-02 06:59:13 +01:00
Philipp Ahrendt
5f539ebc3d Accessible file details 2024-11-27 14:17:26 +01:00
Viktor Egorov
b9bf0821e1 improve user overview
Pushed-by: k8s-git-ops<admin@cloudogu.com>
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-11-25 16:44:09 +01:00
Anna Vetcininova
18a0dda693 Improve accessibility for links in second navigation menu
Co-authored-by: Anna Vetcininova<anna.vetcininova@cloudogu.com>
Committed-by: Anna Vetcininova<anna.vetcininova@cloudogu.com>
Pushed-by: Anna Vetcininova<anna.vetcininova@cloudogu.com>
2024-11-25 15:52:10 +01:00
Florian Scholdei
531de24fa5 Add programmatic label to the namespace links
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2024-11-25 14:44:34 +01:00
Philipp Ahrendt
0a8ffa8443 More distinguishable links
Links in highcontrast mode will be visually more different from plain text.

Pushed-by: Philipp Ahrendt<philipp.ahrendt@cloudogu.com>
Co-authored-by: Philipp Ahrendt<philipp.ahrendt@cloudogu.com>
2024-11-21 17:49:31 +01:00
Thomas Zerr
44fbdf86cb Add warning state for the ChipInputField
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-11-21 13:17:08 +01:00
Rene Pfeuffer
05ff0910bf Fix accessibility for import modes in import dialog
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-11-19 15:59:33 +01:00
Philipp Ahrendt
265ba2151a Improve accesibility of navbar
- Description of logout button is read once
- SCM-Manager logo is better decribed for assistive technologies
- The state of the mobile menu is better accessible
2024-11-15 17:09:55 +01:00
Philipp Ahrendt
f2a5ff2d09 Improve focus styles
Pushed-by: Philipp Ahrendt<philipp.ahrendt@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: Philipp Ahrendt<philipp.ahrendt@cloudogu.com>
2024-11-14 14:31:10 +01:00
Anna Vetcininova
df0582dfd8 Add an extension point for contributor rows in contributor table
Co-authored-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-11-07 09:19:24 +01:00
Rene Pfeuffer
4ebf0e2044 Adds 'head' as revision for Subversion repositories
To still support the editor plugin, a new field in the
browse command results is needed to indicate, whether
such a result or rather the requested revision can be
modified by a new commit.

This is the case, when
- for Subversion repositories either the new 'head' or the
latest revision has been requested, or
- for Git and HG when a branch (or the default by specifying
no concrete revision) has been used.
2024-11-05 10:54:49 +01:00
Rene Pfeuffer
9ff259df03 Do not show "tag exists" error in modal on creation 2024-11-04 08:54:56 +01:00
Till-André Diegeler
cd16f0b033 Integrate creation of jgit/svnkit version status text files into build.gradle
Over the course of a very long time, the interpolation strings for the versions in the scm-git-plugin and scm-svn-plugin had not been processed. One assumption was that this was related to a discontinued Maven process.

The behavior was now realized by two tasks process after the gradle build lifecycle step. It remains to be discussed whether it's worth the time and effort to integrate the change into the smp plugin.
2024-10-28 23:19:47 +01:00
Rene Pfeuffer
141e45aa06 Simplify local storage access
The caching for local storage seems way over-engineered.&#10;With this the context for the local storage is removed&#10;and the local storage is accessed directly.

Pushed-by: k8s-git-ops<admin@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-10-28 15:05:13 +01:00
Till-André Diegeler
3adf366a18 Fix conflicting state behavior in DiffDropDown
Originally, the state of the DiffDropDown was not coupled to the LoadingDiff and instead a toggle method was forwarded. This was causing problems due to their detachment, and so the state of the DiffDropDown was tied to the LoadingDiff one. The original boolean values have been replaced with strings, so that nuances between 'hide all whitespaces' and 'show all whitespaces' in future feature additions can be recognized without affecting the API a second time.

Co-authored-by: Till-André Diegeler<till-andre.diegeler@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Till-André Diegeler<till-andre.diegeler@cloudogu.com>
2024-10-18 12:46:09 +02:00
Rene Pfeuffer
afdaee0442 Add tag guard 2024-10-16 16:14:22 +02:00
Thomas Zerr
5f38955af6 Adjust changelog for release 3.5.0 2024-10-09 14:12:45 +02:00
Viktor Egorov
b0521d2c4f Add provider for source links
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-09-30 09:43:49 +02:00
Rene Pfeuffer
e6433d01d1 Change to GNU Affero General Public License v3.0 2024-09-24 09:42:07 +02:00
Viktor Egorov
f95579c102 Add missing change types to diff statistics 2024-09-20 10:04:23 +02:00
Thomas Zerr
8f0ed74b7a Add table to diff view
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Pushed-by: k8s-git-ops<admin@cloudogu.com>
Committed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-09-16 17:52:10 +02:00
Rene Pfeuffer
96466807be Compute files with conflicts in merge dry run
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-09-13 10:21:06 +02:00
Anna Vetcininova
ce0a2201eb Adjust changelog for release 3.4.1 2024-08-29 10:30:55 +02:00
Rene Pfeuffer
a2d82372e5 Handle NullPointerException in hgrc clean-up
We encountered NullPointerExceptions during hg repository imports. This happened, when neither authentication nor proxy definions had been given. In this case, no hgrc will be created and therefore we get the exception in the clean-up step. Now, the clean-up is only triggered, if the hgrc had been created beforehand.

To prevent further error in the clean-up, we no catch other potential exceptions and log them but do not let them break the import.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-08-29 08:50:51 +02:00
Thomas Zerr
316d03ad1a Fix logging
With this change,
- logs are only written to console when the server is started in foreground (prevents writing to scm-server.out file)
- the location of the log file is determined correctly, when it is configured with a relative path
- less logs are written to console on startup
- enabling file and console appenders via config.yml
2024-08-26 16:25:15 +02:00
Thomas Zerr
090178a3dd Update env variable docs 2024-08-20 17:31:44 +02:00
Thomas Zerr
b8191dec2e Update support link 2024-08-19 14:45:28 +02:00
Till-André Diegeler
4d5ef5a1ec Adjust changelog for release 3.4.0 2024-08-19 10:45:14 +02:00
Thomas Zerr
39e8f66565 Add logging for the used scm-manager core version 2024-08-13 16:15:30 +02:00
Rene Pfeuffer
27f78d2347 Fix permission errors
The BaseReceivePackFactory re-used the GitReceiveHook. The&#10;problem is, that the hook is not thread safe. Due to the&#10;re-usage, the repository could have been changed during&#10;processing post receive hooks.&#10;&#10;With this, the factory will always create a new receive pack.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-08-08 16:27:48 +02:00
René Pfeuffer
db23e633f8 Fix changelog types 2024-08-08 09:55:31 +02:00