Commit Graph

5481 Commits

Author SHA1 Message Date
René Pfeuffer
f191f2833d Fix handling of RepositoryIsNotArchivedException 2018-08-02 08:56:03 +02:00
Sebastian Sdorra
d49c07b992 change collection type hint from array of dto to CollectionDto 2018-08-02 13:20:37 +02:00
Philipp Czora
a5d6ff3110 Added unit test 2018-08-02 08:44:13 +02:00
Philipp Czora
bdffaed268 Added tests for group selectors 2018-08-02 08:36:12 +02:00
Sebastian Sdorra
ac8da18867 start implementation repository details 2018-08-01 18:23:16 +02:00
Johannes Schnatterer
94582554ca Git Plugin Config: Adds test for empty config 2018-08-01 16:29:37 +02:00
Philipp Czora
aa6e128023 Implemented error handling for creating groups 2018-08-01 16:28:06 +02:00
Johannes Schnatterer
aed70d3544 Git Plugin Config: Create fine-grained configuration permissions.
No more hard-coded isAdmin() checks.
Also adds more tests.
2018-08-01 16:21:05 +02:00
Philipp Czora
f426c14f70 Refactored group validation 2018-08-01 15:54:32 +02:00
Philipp Czora
6719d12db9 Fixed route for Group paging 2018-08-01 15:51:54 +02:00
Johannes Schnatterer
86af96bd83 GitConfigResourceTest: Realizes missing asserts 2018-08-01 15:34:17 +02:00
Johannes Schnatterer
fc77ae3a47 Adapts tests to new GitResource URL 2018-08-01 15:15:07 +02:00
Sebastian Sdorra
6dd7397d14 fixed bug in users paging 2018-08-01 14:58:52 +02:00
Sebastian Sdorra
2953c805f9 implemented paging for repository overview 2018-08-01 14:56:24 +02:00
Johannes Schnatterer
59b60d104c GitConfigDto: Use camel case, get rid of base class.
There's no parent module for a shared SimpleRepositoryConfigDto for git,
hg and svn. scm-plugins and core are too generic.
The redundancy (one property) does not hurt too much right now.
2018-08-01 14:44:42 +02:00
Johannes Schnatterer
0592e70bc6 Make also LinkBuilder's methods and inner classes accessible for plugins 2018-08-01 14:42:41 +02:00
Johannes Schnatterer
e7ca81a6f4 Merge 2018-08-01 14:17:48 +02:00
Johannes Schnatterer
11e2112e80 Adds docs for config and me resources 2018-08-01 14:16:08 +02:00
Johannes Schnatterer
48e940e496 Changes URL for new Git config to /config/git.
Fits well with "global" config available at /config
2018-08-01 14:13:45 +02:00
Johannes Schnatterer
4910744e1d Make LinkBuilder accessible for plugins 2018-08-01 14:13:10 +02:00
Johannes Schnatterer
7c8fee5640 Move Mapper binding to GitServletModule 2018-08-01 14:11:27 +02:00
Philipp Czora
aa344221d6 Merged heads 2018-08-01 13:55:29 +02:00
Philipp Czora
952067acb9 Fixed bug preventing frontend tests to be skipped when -DskipTests is set 2018-08-01 13:54:15 +02:00
Philipp Czora
bc10ce587d Bootstrapped validation for groups 2018-08-01 13:40:54 +02:00
Johannes Schnatterer
02327b55f3 Makes pom.xmls more DRY 2018-08-01 11:42:40 +02:00
René Pfeuffer
41170a1c83 Fix error for multiple creation of repositories 2018-08-01 11:40:09 +02:00
Johannes Schnatterer
35231fb202 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-08-01 10:30:38 +02:00
Sebastian Sdorra
b1c65a3a3c added loading indicator and handle failures of repository overview 2018-08-01 10:00:53 +02:00
René Pfeuffer
44d96f29ad Initialize missing user database at startup 2018-08-01 09:59:23 +02:00
Philipp Czora
d7292dc60c Merged heads 2018-08-01 09:52:49 +02:00
Sebastian Sdorra
641b3efd31 added more spacing to repository groups 2018-08-01 09:44:53 +02:00
Sebastian Sdorra
81ec5ae986 order repositories by namespace and name 2018-08-01 09:44:34 +02:00
Sebastian Sdorra
ea17e536f1 change NamespaceStrategy signature to createNamespace(Repository)
This change allows us to implement NamespaceStrategies, such as by type (git, hg, svn) or manual defined.
The DefaultNamespaceStrategy accepts now a predefined namespace and only if no namespace was set the username of the currently logged in user is used.
2018-08-01 09:43:49 +02:00
Sebastian Sdorra
6ee0e05e0c NamespaceAndName should be comparable to allow sort by namespaceAndName 2018-08-01 09:40:33 +02:00
Philipp Czora
58fbf4ebf2 Removed creationDate & lastModifiedDate from Group; fixed flow issuses 2018-07-31 19:05:06 +02:00
Philipp Czora
d532c36204 Groups can now be added via the UI 2018-07-31 18:44:01 +02:00
Maren Süwer
c12040d8d0 added delete option 2018-07-31 16:48:28 +02:00
Philipp Czora
3ba9e04c11 Extended GroupForm 2018-07-31 16:39:07 +02:00
Sebastian Sdorra
f33b54f60f intial import of repositroy list ui 2018-07-31 16:32:16 +02:00
Johannes Schnatterer
b27f4c277c Merged in feature/global_config_v2_endpoint (pull request #51)
Feature/global config v2 endpoint
2018-07-31 14:25:49 +00:00
Johannes Schnatterer
4dc905d49a Close branch feature/global_config_v2_endpoint 2018-07-31 14:25:49 +00:00
Johannes Schnatterer
c3b7703f2b Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-31 16:21:40 +02:00
Maren Süwer
4d4457aa3d only generate link for member if link exists 2018-07-31 16:10:50 +02:00
Maren Süwer
f90eecca89 do not show members if no members are in that group 2018-07-31 15:26:36 +02:00
Maren Süwer
f72cd23f48 move groupform to correct folder 2018-07-31 15:18:57 +02:00
Maren Süwer
89618a1526 merge and add single group view 2018-07-31 15:09:45 +02:00
Johannes Schnatterer
865929b328 Renames globalConfig to config.
From an SCMM point of view there is only one config, so no "global" necessary.
The others configs are provided by plugins.
2018-07-31 14:47:15 +02:00
Philipp Czora
b832d744ed Bootstrapped AddGroup and GroupForm 2018-07-31 14:44:52 +02:00
Philipp Czora
b35e10df71 Bootstrapped AddGroup and GroupForm 2018-07-31 14:43:55 +02:00
Johannes Schnatterer
1db45a7892 Updates Shiro Static Permission to deterministic version.
Contains PR that can generate interfaces.
2018-07-31 14:42:47 +02:00