Commit Graph

610 Commits

Author SHA1 Message Date
René Pfeuffer
2d7b9c27a8 Adjust changelog for release 3.0.4 2024-03-07 17:32:33 +01:00
Rene Pfeuffer
01bd18b714 Fix error for commits with SSH signatures
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-03-06 13:23:55 +01:00
Thomas Zerr
1a6e202384 Remember Path when switching to commits or file search
The path gets remembered by a query parameter.&#10;Using React state to remember the current path has two downsides.&#10;First you would need to wrap the components in a context and store the current state there.&#10;Second the remembered state gets lost by refreshing the state.&#10;By using a query parameter those two downside get avoided.

Committed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-03-06 12:10:56 +01:00
Viktor Egorov
c42def0f7f Sort global config and repository config the same way
Adds a new option to configuration entry binding to improve sorting
and sorts global and repository configuration likewise.

Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: vegorov<viktor.egorov@triology.de>
2024-03-04 08:01:13 +01:00
Laura Gorzitze
a61f840b0e Description for plugin condition mismatch
The missing description of the plugin condition in the
logs during a condition mismatch is now included and
also displayed in a readable way. Additionally, a
specialised error will be displayed during the installation
or update of plugins detailing that a condition mismatch
happened and also which condition was not fulfilled
instead of a generic internal server error.
2024-02-22 18:19:44 +01:00
Laura Gorzitze
46c52cdb99 Fix uninstallable flag after discarding changes
After uninstalling a plugin (without restart) and then discarding the
changes, plugins which are required for the plugin can be uninstalled
even if the uninstallation was reverted. This was caused by not updating
the dependency relations between the plugins when an uninstallation has
been canceled. Therefore, the updating step is added.
2024-02-13 18:02:54 +01:00
Rene Pfeuffer
ec14d4cbd5 Keep links from plugins in sources after loading more
In the source view, links from plugins had been removed, when more files&#10;had been fetched using the &#39;proceed&#39; link for more than 100 files. This&#10;caused the issue, that buttons from plugins (like &quot;upload file&quot; from the&#10;editor plugin) did no longer show up after loading more files.&#10;&#10;Now, we keep all links from the first page except the proceed link.

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-02-12 14:14:34 +01:00
Eduard Heimbuch
89c4a20dd5 Add namespace owner on namespace creation
Namespace owner may see the namespace configuration page.

Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-02-08 14:18:16 +01:00
René Pfeuffer
435edae369 Adjust changelog for release 3.0.3 2024-02-08 09:37:34 +01:00
René Pfeuffer
eec8c703a0 Fix default for idle timeout 2024-02-08 09:36:38 +01:00
René Pfeuffer
be466bd923 Adjust changelog for release 3.0.2 2024-02-07 11:15:17 +01:00
Rene Pfeuffer
f894d7fe3b Add configuration for jetty idle timeout
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-02-07 11:13:17 +01:00
René Pfeuffer
a5c2fc7ce4 Adjust changelog for release 3.0.1 2024-02-02 15:24:53 +01:00
Rene Pfeuffer
28c02dfcd6 Fix enabling forward headers and log appender with environment variable
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-02-02 15:10:32 +01:00
Eduard Heimbuch
c734684134 Adjust changelog for release 3.0.0 2024-01-29 16:09:36 +01:00
Eduard Heimbuch
18d0da3a83 Bump JNA to version 5.14.0
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
2024-01-29 08:47:00 +01:00
Thomas Zerr
380205ab63 Added e2e Tests for branch creation
e2e Tests should validate the correct url encoding for branch names and also check for invalid branch names. This PR is ready yet, there are still some test cases i want to implement.

Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-01-29 08:33:15 +01:00
Eduard Heimbuch
ea60b68cec Prevent binding extensions for repo overview top, which could be already disabled via the local storage and therefore send errors during the hook execution. 2024-01-16 10:53:20 +01:00
Konstantin Schaper
86e8ff99aa Make plugin overview header responsive
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2024-01-10 18:08:00 +01:00
Florian Scholdei
7f0da35659 Mail validation in frontend and backend unified
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2024-01-09 16:53:18 +01:00
Konstantin Schaper
1fdb02e5c2 Hide annotate button for binary files 2024-01-09 11:41:49 +01:00
Florian Scholdei
bb88ba28ed URI encode branch of images in markdown files
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2023-12-12 13:12:05 +01:00
Florian Scholdei
72886bd204 Save collapse status of secondary navigation
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Committed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2023-12-12 09:18:50 +01:00
Konstantin Schaper
012d5efbb9 Fix race condition in global search sometimes breaking mouse interaction
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-11-30 17:02:44 +01:00
Eduard Heimbuch
cf4d9cf20f 3.x
Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-30 17:02:44 +01:00
René Pfeuffer
a3a58b1177 Adjust changelog for release 2.48.1 2023-11-22 11:20:09 +01:00
Eduard Heimbuch
fd807495ea Fix navbar event listener 2023-11-21 13:55:35 +01:00
René Pfeuffer
77a285063e Delete missed changelog file 2023-11-17 18:26:15 +01:00
Eduard Heimbuch
7c28447199 Adjust changelog for release 2.48.0 2023-11-17 13:37:56 +01:00
Rene Pfeuffer
112a6ad329 Accept file names with semicolons in SVN commits
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-17 13:08:09 +01:00
Rene Pfeuffer
571e6ad92f Add a modifications provider for hooks
This new modifications provider consistently computes the modifications caused by a push to a branch. In contrast to the changeset provider that often has been used before to check what has changed, this also works for forced updates, rebased branches and fast-forwards.&#10;&#10;Because these types of changes are normally only used with git, this provider (for now) has only been implemented for git.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Alexander Dammeier<alexander.dammeier@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-16 13:18:40 +01:00
Florian Scholdei
a8c32b10de Preferred checkout variant
Add ability to prioritize the repository checkout variants. These are displayed sorted.

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
2023-11-15 13:27:48 +01:00
Florian Scholdei
5f53af440f Fix tabs overlapping other elements by removing z-index of tabs 2023-11-14 17:47:58 +01:00
Konstantin Schaper
1ccba9fcd0 Refactor global search
Replaces the headlessui combobox with a custom implementation following the aria patterns of a menu. This allows us to have interactive links in the popup while connecting it to the input.  The pattern is most common with buttons and is less documented yet valid for inputs.

Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-11-14 13:32:55 +01:00
Eduard Heimbuch
8dc0041e17 Remove mail for anonymous user 2023-11-13 16:19:15 +01:00
Rene Pfeuffer
234f7d840e Do not render links to not-existing users in groups
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-07 13:42:31 +01:00
Tarik Gürsoy
9dd6aeea5e Diff path line break
A line break has been added to the diff path, so that it always displays the full path and filename

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2023-11-07 09:06:09 +01:00
Konstantin Schaper
14ee5daa00 fix unnecessary scrollbar showing up in markdown views with code tags
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-11-07 08:59:39 +01:00
Rene Pfeuffer
f333a0bf18 Use a random time for plugin center updates
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-06 10:34:05 +01:00
Rene Pfeuffer
b0d319f99b Fix display for submodules without http
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>
2023-11-03 15:48:10 +01:00
Laura Gorzitze
f641c1ef08 Assisted Injection for commands
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
2023-11-02 12:41:54 +01:00
Thomas Zerr
123fc4c3d1 Invalidation of caches and search index
In the general admin settings, the user can find two button to either invalidate the cache or rebuild the search index.&#10;&#10;The endpoints are defined in the InvalidationResource class in scm-webapp.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-02 10:51:32 +01:00
Eduard Heimbuch
69c165749a Show correct image diff if compare across multiple commits
Pass the ancestor commit as the old revision if it is set in the GitDiffResult. This fixes the image diff renderer if the pull requests consists of multiple commits to show the full diff instead of the changes between the latest two commits.
2023-11-01 14:05:54 +01:00
Thomas Zerr
f847e324b1 Changes for the Signature Check Plugin
This PR contains new Radiobutton components that are needed for the signature-check-plugin.&#10;Additionally the ref passing for ControlledChipInputs was also fixed.&#10;&#10;The current styling of the Radio Buttons need to be discussed with Philipp again. The Signature Check Plugin provides an example use of it.

Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-10-30 12:12:07 +01:00
Konstantin Schaper
848b13f957 Implement context-based local storage
This allows re-rendering of useLocalStorage hooks whenever the value for the associated key changes. In the previous implementation, reading and writing via useLocalStorage did not cause a re-render and was therefore impossible.
2023-10-25 18:14:50 +02:00
Florian Scholdei
6c97c8fcba Fixed ahead and behind tag of a branch screen reader support
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Committed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2023-10-25 14:13:15 +02:00
Konstantin Schaper
eea4b7e03c fix broken global search shortcut
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-10-23 13:33:50 +02:00
Tarik Gürsoy
e27c1a9cd3 Search Display Error
Added an additional check so the site renders despite description being undefined

Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-10-20 16:49:47 +02:00
Tarik Gürsoy
c4db885937 No owner set when import repo with metadata
When importing a SCM exported Repo with Metadata the creator wasnt set as the owner and thus couldnt view the imported repository. This bug has been fixed.

Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2023-10-17 08:28:08 +02:00
Rene Pfeuffer
d0f8161220 Add functionality to modify repository storage locations
The repository location resolver gets a new function&#10;that allows to change the location of a repository.

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>
2023-10-13 10:23:29 +02:00