Commit Graph

5160 Commits

Author SHA1 Message Date
Philipp Czora
da115f0caa Members can now be added to/removed from groups 2018-08-02 16:09:25 +02:00
Philipp Czora
7e2abee396 Fixed test data 2018-08-02 16:08:43 +02:00
Philipp Czora
80d4130e03 Group Resource now accepts a list of member's names instead of full user objects 2018-08-02 16:03:17 +02:00
Johannes Schnatterer
1c52b33229 Brings mapstruct processor back to plugin and webapp. 2018-08-02 15:22:41 +02:00
René Pfeuffer
3838406ee8 Adapt git repository paths for LFS handling to namespaces 2018-08-02 15:14:40 +02:00
Johannes Schnatterer
8c8d908378 Config Resource DTO Mappers: Make use of BaseMapper.
More DRY.
2018-08-02 15:03:30 +02:00
Johannes Schnatterer
e28faf3029 Create CollectionToDtoMapper in core module.
See commit 689e5ae95645768b024dee52c10451c944a41527.
Useful for hg plugin.
2018-08-02 14:45:04 +02:00
Johannes Schnatterer
62087521be Config Resources: Makes permission names publicly available 2018-08-02 14:16:26 +02:00
Philipp Czora
4477e0723e Merged heads 2018-08-02 13:50:13 +02:00
Philipp Czora
55f02238da Fixed bug which caused loading state in GroupForm not to be set correctly 2018-08-02 13:47:57 +02:00
Johannes Schnatterer
988dfbd689 Config Resources: Makes REST API docs for 403 more precise 2018-08-02 13:21:07 +02:00
Johannes Schnatterer
982d502203 Config Resources: Gets rid of unnecessary UriInfo param 2018-08-02 13:18:21 +02:00
Johannes Schnatterer
54354590ac SvnPlugin Config: Adds v2 endpoint 2018-08-02 13:04:06 +02:00
Johannes Schnatterer
8b16a0251a VndMedia Type classes: Adds private constructor 2018-08-02 13:02:43 +02:00
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