Commit Graph

49 Commits

Author SHA1 Message Date
Florian Scholdei
987893aa67 Fix loop in secondary navigation render cycle 2025-02-04 15:06:09 +01:00
Till-André Diegeler
19e607c2de Pull Request Banner Extension Point 2025-01-15 14:06:59 +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
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
e6433d01d1 Change to GNU Affero General Public License v3.0 2024-09-24 09:42:07 +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
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
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
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
0c055ca6df Add new api for interactive card details
Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-09-21 11:26:41 +02:00
Thomas Zerr
aa767ec945 Add Loading Spinner API to content action overflow menu extension point 2023-09-18 10:04:03 +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
Konstantin Schaper
84fbe7ea35 Fix key navigation in extended menu in source view
Replace headlessui menu in source view with
internal implementation.

Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-07-04 09:00:42 +02:00
Eduard Heimbuch
6bb9024504 Improve ui performance
Move repository overview extension to avoid waiting for repositories. Also improve the extension points api to allow predicates without props.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-06-22 13:41:17 +02:00
Laura Gorzitze
d4e03c6f70 Extension points for information page tables
Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>

Reviewed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-03-28 18:10:18 +02:00
Eduard Heimbuch
3730434f7b Expose size for primary repository avatar extension point 2023-01-31 11:08:12 +01:00
Eduard Heimbuch
ac419daa3f Add ConfigurationAdapterBase and extension points for trash bin
Adds the new abstract class ConfigurationAdapterBase to simplify the creation of global configuration views. In addition there is some cleanup, interfaces and extension points for the repository trash bin plugin.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-01-13 13:08:51 +01:00
Rene Pfeuffer
6ba792e5bc Adds a new extension point repository.overview.listOptions that can be used to set the page size, whether to list archived repositories or not and potentially other options for the repository overview. If no extension is bound, the default values will be used.
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-12-15 11:16:01 +01:00
Konstantin Schaper
8c41fab30d Add login form extension point (#2088)
One of our users would like to create a new plugin that provides alternative methods of authentication. For that purpose, we need an additional extension point that can either replace the login form entirely, or extend it by adding login buttons. By default, the extension point simply renders the original login form.
2022-07-14 14:06:51 +02:00
Eduard Heimbuch
1240905008 Revert "Show dedicated Notfound page for invalid routes (#2070)"
This reverts commit ae8f3ee346cb8a3acf6637f501f8e6b68456082c.
2022-06-28 13:13:11 +02:00
Konstantin Schaper
84f220e5b2 Replace lerna with turborepo (#2073)
This change allows our ui libraries to be built separately. It is therefore to utilize different build tools for individual projects, as well as using build caches for the local build.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-06-22 11:49:26 +02:00
Eduard Heimbuch
e1196ac6a0 Show dedicated Notfound page for invalid routes (#2070) 2022-06-20 17:49:41 +02:00
Eduard Heimbuch
3853084106 Add action bar menu (#2015)
Create action bar overflow menu to handle increasing number of file actions.
2022-05-04 09:39:25 +02:00
Konstantin Schaper
4d203ff36f codify extension points docs (#1947)
This pull request converts the current incomplete textual documentation of the available frontend extension points to in-code definitions that act both as documentation and as type helpers for improving overall code quality. All extension points available in the SCM-Manager core are now available, but no plugin was updated and only those parts of the core codebase had the new types added that did not require runtime changes. The only exception to this is the breadcrumbs, which was a simple change that is fully backwards-compatible.
2022-03-29 15:04:14 +02:00
Eduard Heimbuch
b8d6c219ee Add extension point to branches overview (#1888)
Prepare branches overview to show additional branch details.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-12-10 11:04:59 +01:00
René Pfeuffer
e1a2d27256 Implement file lock for git (#1838)
Adds a "file lock" command that can be used to mark files as locked by a specific user. This command is implemented for git using a store to keep the locks.

Additionally, the Git LFS locking API is implemented.

To display locks, the scm-manager/scm-file-lock-plugin can be used.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-11-01 16:54:58 +01:00
René Pfeuffer
27b9d2c78a Resolved branch revision in Source Extension Point (#1803)
This adds the "resolved revision" of the HEAD (of the current branch, if branches are supported) to the extension point repos.sources.extensions. This "resolved revision" holds the current HEAD revision of the repository (or the selected branch, if branches are supported). This means you can check, whether the release has changed since an extension has been rendered for the first time.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2021-10-20 13:29:47 +02:00
Konstantin Schaper
57aacba03a New extension points for repository overview (#1828)
The landing-page-plugin is being reworked and integrated into the repository overview. This requires new extension points and slightly adjusted components to better match the repository overview page visually. Also, binder options can now be passed as an object which offer a new priority option that causes sorting in descending order.
2021-10-19 09:31:40 +02:00
Sebastian Sdorra
f5d9855a24 Add extension points for source tree (#1816)
This change will add an extension point which allows to wrap the source tree. This is required in order to use a context provider e.g. to capture a selected file. Another extension point allows to add a row between the row of a file.
In order to implement the extension points ui-extensions has now a wrapper property and passes the children of an extension point to implementing extension.
2021-09-30 16:41:04 +02:00
Eduard Heimbuch
1f5d982463 Export login button component / Fix login extension point (#1741)
Fix login extension point

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-07-28 14:28:33 +02:00
Florian Scholdei
0d0f9995fe Add files to empty repository (#1717)
It should also be possible to create new files in empty non-initiated repositories with the help of scm-manager/scm-editor-plugin/pull/39. So that the plugin can mount itself, a new endpoint was provided hereby.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-07-13 11:40:49 +02:00
Eduard Heimbuch
dd0975b49a Feature/mirror (#1683)
Add mirror command and extension points.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2021-06-04 14:05:47 +02:00
Sebastian Sdorra
8e16fa11c9 Add extension point for repository creators (#1657)
Adds an extension point for repository creator such as repository create, repository import or repository mirror.
2021-05-14 09:15:35 +02:00
Konstantin Schaper
7286a62a80 Implement api for extension point typings (#1638)
Currently, the only way to explore available extension points is through our documentation or by browsing the source code. Once you find them, there is no guard rails and the usage is prone to user errors. This new api allows the declaration of extension points as types in code. This way, exposing an extension point is as easy as exporting it from a module. Both the implementation and the developer who uses the extension point work with the same shared type that allows auto-completion and type-checks for safety. This feature is backwards-compatible as the generic methods all have sensible defaults for the type parameters.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-05-12 16:05:30 +02:00
Eduard Heimbuch
fd94746a98 reformat components with prettier 2020-03-31 17:11:16 +02:00
Sebastian Sdorra
2ab2079e07 prop transformer and binding of react elements
The ExtensionPoint component supports now the transformation of instance props and allows binding of already instantiated react components (Foo vs <Foo />).
2020-03-30 15:00:30 +02:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
Florian Scholdei
affb460584 Merge with upstream 2020-02-25 16:22:54 +01:00
Florian Scholdei
a557997fa4 Simplify sort extensions method 2020-02-25 09:18:29 +01:00
Florian Scholdei
a5f27adc71 Described sort method in a more understandable way 2020-02-24 15:05:13 +01:00
Florian Scholdei
a016710c35 Sorted extension point entries with supplied extensionName 2020-02-24 15:02:03 +01:00
Sebastian Sdorra
bd57acf138 ExtensionPoint now uses binder provided from context 2020-02-19 10:06:10 +01:00
Sebastian Sdorra
041a999a01 added context hook to allow the override of the default binder 2020-02-19 09:47:52 +01:00
Sebastian Sdorra
4bb8e6153b apply eslint and prettier rules 2019-10-21 10:57:56 +02:00
Sebastian Sdorra
5debee5b49 fix typing errors 2019-10-19 17:15:53 +02:00
Sebastian Sdorra
6e7a08a3bb use reflow to migrate from flow to typescript 2019-10-19 16:38:07 +02:00
Sebastian Sdorra
889e186257 fix routing and added ui-extension package 2019-10-11 13:24:02 +02:00