Commit Graph

696 Commits

Author SHA1 Message Date
Thomas Zerr
9ec95f5c48 Fix legacy-swc-helpers vulnerability
Fix legacy-swc-helpers vulnerability, by reducing the scope of the react-aria library to a minimum

Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-08-15 10:47:50 +02:00
Tarik Gürsoy
797bda4bbb Add statistics for diffs (added, deleted, modified)
Extend the diff result from the diff command to include modified,
added and deleted file count and add DiffStats component to
ui-components.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-08-01 16:54:40 +02:00
Viktor Egorov
4b1052c8f6 dropdown for changesetdetails
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
2024-07-10 10:11:17 +02:00
Laura Gorzitze
b12f4d579a Notification if external user management is activated
A notification will be displayed when an external user
management system is activated to inform that users
created within the SCMM will not be transferred to the
external system.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-07-04 09:05:17 +02:00
Florian Scholdei
03e5ecbc7c Form on search page retains context
The result category will no longer be reset
to 'repository' when the search query is
refined and resubmitted.
2024-06-12 13:55:35 +02:00
Thomas Zerr
09d72280d0 Fix exact search
Previously a query was only parsed by lucene as it is, if the query
contained a colon (:) or a wildcard character (*). With this, every query
gets parsed as it is, as long as there is one operator contained inside
the query (colon, quotation marks, logical operators, ...). These are
called "expert queries". All other queries are still processed as
"simple queries" where every part of the query is extended with a
wildcard operator.

Addtionally the user is now getting feedback for every
search, if the query is a simple query or an expert query. The syntax
documentation got also extended with the quotation mark operator
and the definition of the two query types.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-05-14 11:45:10 +02:00
Viktor Egorov
c8ef99cf07 Add option to hide whitepace changes in diffs
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>


Reviewed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2024-05-14 11:33:48 +02:00
Florian Scholdei
3773d77889 Add possibility to specify StickyHeader top position of Diff component 2024-04-22 18:04:26 +02:00
Thomas Zerr
708d743b2c Fix extension point name
The name of the extension point, that is used by the readme plugin for example, was fixed.

Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-03-19 17:35:29 +01:00
Laura Gorzitze
8d12862ff8 Display all tags for changeset
Display of all tags (as links to the  overview of the specific tag) of a given changeset in the changeset detail view.
2024-03-11 17:09:59 +01:00
Thomas Zerr
28a2de3cb3 Fix failing e2e Test because of trailing slash
The e2e Tests for repository code file search were failing, because the file search url now contained a trailing slash. That trailing slash was removed.
2024-03-11 13:22:46 +01:00
Thomas Zerr
96801d75f2 New extension point (for readme) in code overview
The readme files should be rendered in the code overview below
the file tree and not in a separate page. To render the readme file,
a new extension point was added. The order of items in the side
menu also got changed.
2024-03-07 14:11:00 +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
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
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
Tarik Gürsoy
3ffbdd8d17 Move frontendcomponents into ui-core
The new architecture has been implemented.

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Committed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>


Reviewed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2024-01-24 10:38:17 +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
Konstantin Schaper
1fdb02e5c2 Hide annotate button for binary files 2024-01-09 11:41:49 +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
Konstantin Schaper
d760f46d9d Fix e2e tests breaking because of modern javascript api usage 2023-11-27 09:25:02 +01:00
Eduard Heimbuch
fd807495ea Fix navbar event listener 2023-11-21 13:55:35 +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
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
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
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
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
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
Konstantin Schaper
0bfc5183cc Consolidate redundant frontend modules
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Committed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-10-13 08:15:27 +02:00
Tarik Gürsoy
4eb735d552 Fixing the OmniSearch component
The OmniSearch component had several issues which have been resolved in this fix. It now makes use of the new combobox component.
2023-09-28 16:16:17 +02:00
Laura Gorzitze
0d93975715 Accessible Tabpanel
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>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Committed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2023-09-27 09:16:22 +02:00
Konstantin Schaper
0c055ca6df Add new api for interactive card details
Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-09-21 11:26:41 +02:00
Konstantin Schaper
8069c697de disabled content action menu button while loading 2023-09-18 19:32:04 +02:00
Thomas Zerr
aa767ec945 Add Loading Spinner API to content action overflow menu extension point 2023-09-18 10:04:03 +02:00
Konstantin Schaper
fa536b9768 Create atomic design page template for master-detail views 2023-09-06 10:00:00 +02:00
Thomas Zerr
14ded177c1 Additional Search in the Search Page
Another Search Bar is added in the Search Page directly. This one persists the current query even after triggering another search.

Committed-by: Tarik Gürsoy <tarik.guersoy@cloudogu.com>
Authored-by: tzerr <thomas.zerr@cloudogu.com>
2023-09-05 12:40:04 +02:00
Florian Scholdei
9dc86ff11e Accessible Search
Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Laura Gorzitze <laura.gorzitze@cloudogu.com>
2023-08-29 15:22:57 +02:00
Eduard Heimbuch
cd59873638 Switch repo overview layout to cards
Squash commits of branch feature/repo_overview_cards:

- Switch repo overview layout to cards

- wip

- Merge branch 'develop' into feature/repo_overview_cards

- Fix collapsible

- Fix collapsible

- Fix styling

- Merge branch 'develop' into feature/repo_overview_cards

- Fix type for collapsible

- Add changelog

- Update storyshots

- Merge branch 'develop' into feature/repo_overview_cards



Committed-by: Thomas Zerr <thomas.zerr@cloudogu.com>
Co-authored-by: tzerr <thomas.zerr@cloudogu.com>
2023-08-28 13:53:36 +02:00
Eduard Heimbuch
20d728981f Revert collapsible namespaces 2023-08-23 15:09:49 +02:00
Eduard Heimbuch
2efcbfa759 Improve repository overview
- Sort repositories alphanumerically case insensitive per namespace
- Make the namespaces collapsible and store the collapsed state in local storage

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-08-22 19:59:53 +02:00
Konstantin Schaper
81a4afdd79 Fix branch action & details rendering conditions 2023-08-17 08:58:53 +02:00
Tarik Gürsoy
b5ac1ed4b5 Fixed Loadingspinner for Ahead / Behind
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: tarik-guersoy <tarik.guersoy@cloudogu.com>
2023-08-15 22:56:51 +02:00
Tarik Gürsoy
3de027ed6d Reimplement loading spinner for ahead/behind in branch list
Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: tarik-guersoy <tarik.guersoy@cloudogu.com>
2023-08-14 20:29:34 +02:00
Florian Scholdei
4136a68f48 Extend BranchListItem extensionPoints
Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-08-11 14:12:03 +02:00
Eduard Heimbuch
7d47c9cc94 Apply new design for AheadBehindTag
Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: tarik-guersoy <tarik.guersoy@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-08-09 12:49:00 +02:00
Konstantin Schaper
b22722cbed Rework branch overview
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-08-02 08:58:56 +02:00