Commit Graph

33 Commits

Author SHA1 Message Date
René Pfeuffer
8e3b0e4145 Archive repository (#1477)
This adds a flag "archived" to repositories. Repositories marked with this can no longer be modified in any way. To do this, we switch to a new version of Shiro Static Permissions (sdorra/shiro-static-permissions#4) and specify a permission guard to check for every permission request, whether the repository in question is archived or not. Further we implement checks in stores and other activies so that no writing request may be executed by mistake.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 10:58:29 +01:00
Eduard Heimbuch
b167d90fea Namespace filter leads to empty page (#1476)
* Namespace filter leads to empty page

Fix bug where an empty page was shown if the repository namespace filtered overview page was called directly. Also now the namespace filter and the search action can be used together.

Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2020-12-16 09:46:53 +01:00
Eduard Heimbuch
3f808d78fb cleanup 2020-12-01 11:50:07 +01:00
Eduard Heimbuch
af9f6ab629 refactor UI 2020-12-01 08:53:56 +01:00
Eduard Heimbuch
0682118879 Cleanup 2020-11-26 11:31:33 +01:00
Eduard Heimbuch
485138e5f2 add unit tests 2020-11-26 11:06:35 +01:00
Eduard Heimbuch
d1dc2e04e2 refactor UI 2020-11-25 15:08:30 +01:00
Eduard Heimbuch
4e1e51d1b9 Add Loading Spinner while waiting for repository import 2020-11-25 14:01:45 +01:00
Eduard Heimbuch
10ed51733c Integrate import repository function into ui 2020-11-25 11:23:43 +01:00
Eduard Heimbuch
bb4874b8c1 user with write permission on namespacesPermissions may also read the namespacePermissions so it is consistent to other permissions 2020-09-21 10:44:12 +02:00
René Pfeuffer
6b9079fd68 Add UI for namespace permissions 2020-09-17 07:49:37 +02:00
René Pfeuffer
067827985a Fix pagination for repositories 2020-09-10 15:01:00 +02:00
René Pfeuffer
4df9c2947b Heed peer review 2020-09-10 10:18:00 +02:00
René Pfeuffer
e3a2783bfd Get links for repositories by namespaces from server 2020-09-10 10:17:26 +02:00
René Pfeuffer
2cfdaf1b0b Filer repositories in UI by namespace 2020-09-10 10:15:42 +02:00
Konstantin Schaper
ee12e5ceec add new extension point for repository initialization 2020-09-07 13:12:10 +02:00
Eduard Heimbuch
f8640d300e enhance NamespaceStrategy API / improve frontend validation and use namespace extension point in RenameRepository component 2020-06-29 13:23:42 +02:00
Eduard Heimbuch
cd8a9873a9 - add global rename repositories permission
- add api call on rename action
2020-06-25 10:49:59 +02:00
Eduard Heimbuch
0738cb1ff4 find single changeset for shortened changesetId 2020-06-17 15:40:39 +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
Eduard Heimbuch
2d038327d0 fix re-render bug for changesets 2020-02-28 13:15:27 +01:00
Eduard Heimbuch
119236a227 move MenuContext to ui-components 2020-02-26 15:10:56 +01:00
Eduard Heimbuch
7232815900 use react context to toggle collapsable repository menu 2020-02-26 10:41:39 +01:00
Eduard Heimbuch
eee6cad1d3 make repository navigation fixed // add title for collapsed navigation items 2020-02-25 17:15:23 +01:00
Eduard Heimbuch
7fe8b58e7d make secondary navigation collapsable // save collapse status in local storage 2020-02-25 09:49:23 +01:00
Eduard Heimbuch
85f638b25d fix test 2020-01-20 15:26:00 +01:00
Eduard Heimbuch
f44d17d640 create RepositoryInitializer which can be used to create new files in the initial commit on a new repository 2020-01-20 15:19:51 +01:00
Eduard Heimbuch
e2007d9e64 add "init repository" checkbox to repository form 2020-01-17 13:56:42 +01:00
Eduard Heimbuch
0d546755a9 optimize all imports in ui-webapp and reformat with prettier 2020-01-08 15:57:13 +01:00
Sebastian Sdorra
4bb8e6153b apply eslint and prettier rules 2019-10-21 10:57:56 +02:00
Sebastian Sdorra
490418d06e apply prettier, removed flow related config and added tsconfig 2019-10-20 18:02:52 +02:00
Sebastian Sdorra
6e7a08a3bb use reflow to migrate from flow to typescript 2019-10-19 16:38:07 +02:00
Sebastian Sdorra
c05798e254 scm-ui: new repository layout 2019-10-07 10:57:09 +02:00