Commit Graph

5346 Commits

Author SHA1 Message Date
Maren Süwer
8b4ee7a489 disable submit button of adding a group if name and description are invalid 2018-08-02 12:06:30 +02:00
Sebastian Sdorra
e675bcc0fd merge branch heads 2018-08-02 11:57:58 +02:00
Sebastian Sdorra
99ecc8cba2 implemented rest endpoint for repository types 2018-08-02 11:56:35 +02:00
Johannes Schnatterer
f20865c658 HgPlugin Config: Minor corrections 2018-08-02 11:56:06 +02:00
Johannes Schnatterer
31540a7ecc Makes REST API doc for config endpoints more precise 2018-08-02 11:52:30 +02:00
Maren Süwer
0816fc3229 do not show seperator if there are no other pages between button before and after seperator 2018-08-02 11:46:51 +02:00
Philipp Czora
1975beff40 Merged heads 2018-08-02 11:41:00 +02:00
Philipp Czora
ed3b57b818 Added group editing feature 2018-08-02 11:38:08 +02:00
Johannes Schnatterer
eee325e185 HgPlugin Config: Adds v2 endpoint 2018-08-02 10:59:34 +02:00
Johannes Schnatterer
79f807e809 Git Plugin Config: Gets rid of maven warning.
Mapstruct "attributes" not mapped -> Field of HAL base class should be
ignored.
2018-08-02 10:53:13 +02:00
Maren Süwer
c4c85e6da6 correct paging that /1 is shown in url 2018-08-02 10:46:28 +02:00
Johannes Schnatterer
7fd944357d Config DTO: Adds namespace strategy 2018-08-02 10:45:59 +02:00
Maren Süwer
efda5122f7 refactor names of tests of group.js 2018-08-02 10:06:13 +02:00
Maren Süwer
5cf62bf345 added delete group function 2018-08-02 09:53:24 +02:00
Philipp Czora
df11cdc332 Added EditGroupNavLink 2018-08-02 09:29:28 +02:00
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