Commit Graph

5346 Commits

Author SHA1 Message Date
René Pfeuffer
6fff26eb76 Add http protocol link to repository object response 2018-08-06 15:34:31 +02:00
René Pfeuffer
07e7fd91aa Use existing constants 2018-08-06 14:22:07 +02:00
Johannes Schnatterer
c371369032 Maven: Don't package ces-build-lib into plugins. 2018-08-06 14:09:24 +02:00
Johannes Schnatterer
3d13d8ad1c Introduces assertJ for more efficient and maintainable testing. 2018-08-06 14:08:57 +02:00
René Pfeuffer
62f0e3f505 Add checks to repository tests 2018-08-06 14:06:36 +02:00
Sebastian Sdorra
74a858b800 merge branch heads 2018-08-06 13:58:34 +02:00
Sebastian Sdorra
a3c00b9e12 improve typing and fixed import 2018-08-06 13:55:54 +02:00
René Pfeuffer
e3d2997e71 Migrate IT for read and commit from/to repository to new module 2018-08-06 13:48:06 +02:00
Johannes Schnatterer
d327298bd1 Adds jackson2 resteasy provider to plugins for testing.
Otherwise the tests using Resteasy mocks will fail with:
"org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object"
2018-08-06 13:47:04 +02:00
Johannes Schnatterer
fc0676d511 Moves jackson annotations dependency to core.
Will be needed by plugins in future.
2018-08-06 12:57:44 +02:00
René Pfeuffer
c87179e686 Build json in integration test via java ee builder 2018-08-06 11:53:45 +02:00
Johannes Schnatterer
0179cc3369 Adds profile for rest docs to plugins module.
It's redundant (also configured in webapp) but would fail the core
build if activated.
2018-08-06 11:52:31 +02:00
Johannes Schnatterer
a07c9c18dd Gets rid of redundant dependency declarations in plugins and webapp.
It's better to define the "web"/REST dependencies that are used by
plugins once in core, instead of redundant in webapp and plugins.
This should create better awareness when changing the dependency version
(changing in core is always critical due to API downward compatibility).
2018-08-06 11:36:08 +02:00
René Pfeuffer
2316e5ea7e Cleanup repository archive integration test 2018-08-06 11:28:12 +02:00
René Pfeuffer
1f1ecb6f9b Delete cache integration tests 2018-08-06 11:27:56 +02:00
René Pfeuffer
83005bebf4 Use namespace and name instead of id in repository hooks 2018-08-06 11:11:44 +02:00
Philipp Czora
6256889d39 Extracted RemoveUserButton 2018-08-06 10:23:41 +02:00
Sebastian Sdorra
ffbfdff52e finish delete implementation and restructure components 2018-08-06 10:08:28 +02:00
Philipp Czora
dec6b3f17d Split GroupForm 2018-08-03 14:21:07 +02:00
René Pfeuffer
8f4c48b381 Remove unused ME media type 2018-08-03 13:52:54 +02:00
René Pfeuffer
e60bea5f08 Simplify scm test parameters 2018-08-03 10:42:47 +02:00
Philipp Czora
7a65ed6ff8 Extracted AddUserField 2018-08-03 10:37:56 +02:00
Sebastian Sdorra
f0794c9d15 implemented action and selectors for delete repository 2018-08-03 09:54:04 +02:00
René Pfeuffer
62f8509e85 Introduce new integration test module 2018-08-03 09:38:13 +02:00
Sebastian Sdorra
b32c8501f1 improve user and repository detail pages 2018-08-03 09:34:39 +02:00
René Pfeuffer
fd873877c4 Fix old integration tests for migration period 2018-08-03 09:28:54 +02:00
Sebastian Sdorra
211551a5be implemented create repository 2018-08-03 08:52:02 +02:00
René Pfeuffer
ebe3ef8c3e Remove unused exception constructors 2018-08-03 08:40:01 +02:00
Sebastian Sdorra
a70420bb06 trigger change of Select after render, if value was not set to fix empty without change 2018-08-03 08:38:18 +02:00
Sebastian Sdorra
5ddc595bf1 don't unmount create form on error 2018-08-03 08:37:09 +02:00
Sebastian Sdorra
9f4f57cdc1 simplify the post and put api of the apiClient 2018-08-03 08:36:16 +02:00
René Pfeuffer
f0f57de4b5 Remove error prone getByNamespace method
This method does not report missing permissions correctly.
2018-08-03 08:35:55 +02:00
Johannes Schnatterer
b65a8c6b8d Implements Hg Config Sub Resources 2018-08-02 18:36:28 +02:00
Johannes Schnatterer
7107d14bce Makes BaseMapper and CollectionToDtoMapper available for plugins 2018-08-02 18:33:36 +02:00
Sebastian Sdorra
f2f806cf1d use textarea instead of input for repository description 2018-08-02 16:18:34 +02:00
Sebastian Sdorra
9b62d19df5 implemented repository create form 2018-08-02 16:09:58 +02:00
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