Commit Graph

758 Commits

Author SHA1 Message Date
René Pfeuffer
c0760688e9 Join repository roles from the system and from the database 2019-05-03 14:47:49 +02:00
René Pfeuffer
232102716c Create DAO for repository roles 2019-05-03 14:19:33 +02:00
René Pfeuffer
9109efe2f1 Add role attribute to repository permission 2019-05-03 07:59:18 +02:00
Florian Scholdei
9bc9e133cc merge 2019-04-17 14:27:17 +02:00
René Pfeuffer
20cf0507a2 Fix injection 2019-04-12 15:26:22 +02:00
René Pfeuffer
e56d6504c0 Add unit tests 2019-04-12 14:32:17 +02:00
René Pfeuffer
1b60857959 Introduce extension point for logout redirection 2019-04-12 11:42:19 +02:00
René Pfeuffer
4797967b0d Implement simple search queries for users, groups and repositories 2019-04-09 16:27:27 +02:00
René Pfeuffer
c6436da455 Remove old AbstractManagerResource 2019-04-09 12:14:32 +02:00
Sebastian Sdorra
2b041c3c53 Merged in feature/branch-overview (pull request #222)
Feature/branch overview
2019-04-03 15:54:45 +00:00
Sebastian Sdorra
7bbafee1ed the branch endpoint should return a not found error with context, if the branch does not exists 2019-04-03 17:10:22 +02:00
René Pfeuffer
08260fd7be Add localization option for template engines 2019-04-03 11:52:01 +02:00
René Pfeuffer
6ec4933921 Use Boolean#getBoolean and prefix parameter 2019-04-03 08:01:15 +02:00
René Pfeuffer
88151f2dce Merge with 2.0.0-m3 2019-04-01 14:54:42 +02:00
René Pfeuffer
ae79a5ad9d Introduce own manager for reduced model object
Move autocomplete functionality to own managers and add functions to
load reduced model objects by id
2019-04-01 13:51:34 +02:00
René Pfeuffer
bf84037019 Minimal cleanup 2019-03-29 13:25:22 +01:00
René Pfeuffer
9833bfd34d Merge with 2.0.0-m3 2019-03-29 11:54:17 +01:00
Rene Pfeuffer
eadad2e830 Merged in feature/mark_default_branch (pull request #223)
Feature mark default branch
2019-03-29 10:23:56 +00:00
René Pfeuffer
f010fb7711 Fix unit test 2019-03-28 16:57:46 +01:00
René Pfeuffer
58b7dff631 Create REST endpoint for branch creation 2019-03-26 10:55:39 +01:00
René Pfeuffer
b1547d2b69 Harmonize user and group name validation, again 2019-03-25 15:41:21 +01:00
René Pfeuffer
4ec7006108 Enhance branch object with default flag 2019-03-25 11:28:29 +01:00
Sebastian Sdorra
50cb7e9370 merge with 2.0.0-m3 2019-03-21 10:47:33 +01:00
Sebastian Sdorra
dbdbe2fcf7 fixes SyncingRealmHelper not providing internal groups (from xml) 2019-03-14 17:42:27 +01:00
Sebastian Sdorra
1627518954 removes admin user and group configuration in favor of permissions 2019-03-13 12:54:50 +01:00
René Pfeuffer
67f05d6b60 Merged in feature/namespace_strategies (pull request #214)
Feature/namespace strategies
2019-03-13 11:20:36 +00:00
Sebastian Sdorra
017879619c fixed admin permissions of initial created scmadmin user account 2019-03-13 12:15:13 +01:00
Sebastian Sdorra
4ffdde6417 fixes AdministrationContext with user admin flag 2019-03-13 12:12:06 +01:00
Sebastian Sdorra
a2f83e2429 removes admin flag from user object 2019-03-13 12:07:18 +01:00
Sebastian Sdorra
7d994c62a6 validate namespace strategies on configuration update 2019-03-12 16:40:08 +01:00
Sebastian Sdorra
cb554eb7bc rename defaultNamespaceStrategy to namespaceStrategy 2019-03-12 15:54:34 +01:00
Sebastian Sdorra
cd302a3768 fix handling of post authentication filters for protocol request
do not call PushStateDispatcher in the HttpProtocolServletAuthenticationFilter,
because the HttpProtocolServlet already does this.
2019-03-12 13:58:46 +01:00
René Pfeuffer
0df22d25f5 Merge with 2.0.0-m3 2019-03-12 09:29:28 +01:00
Mohamed Karray
d52a617b29 merge 2019-03-11 15:38:40 +01:00
Sebastian Sdorra
3f6d1ed4fd use provider to reflect namespace strategy without restart 2019-03-11 14:47:42 +01:00
Sebastian Sdorra
d31ef73b88 use simplename of namespace strategy, to simplify i18n 2019-03-11 14:46:35 +01:00
Sebastian Sdorra
3660ac9fd2 adds rest endpoint for namespace strategies 2019-03-11 13:26:04 +01:00
Sebastian Sdorra
e179b00ecd adds namespace strategies for current year, repository type, username and custom 2019-03-11 10:53:49 +01:00
René Pfeuffer
8928ca9676 Use namespace and name for exceptions instead of technical id 2019-03-05 10:42:06 +01:00
René Pfeuffer
b537a2a2ba Fix deletion of permissions after modification
Permissions could not be deleted, when they were modified (eg. change
of role or of verbs).
2019-03-01 14:10:39 +01:00
Philipp Czora
17c496222d Merged in feature/consolidate_permissions (pull request #196)
Feature consolidate permissions
2019-02-20 14:20:03 +00:00
René Pfeuffer
31b71c9892 Merged feature/changes_for_ssh_plugin into 2.0.0-m3 2019-02-20 13:51:47 +01:00
Sebastian Sdorra
aec66c023a define AuthorizationCollector as extension point with multiple implmentations 2019-02-18 18:01:11 +01:00
René Pfeuffer
8161d4cb1c Merge roles from multiple repository permissions 2019-02-18 10:31:12 +01:00
René Pfeuffer
8920c2a540 Remove health check permission until implemented 2019-02-18 10:17:35 +01:00
René Pfeuffer
5d601293bf Create external group names claim in token builder directly 2019-02-15 10:23:46 +01:00
Sebastian Sdorra
d91f918e91 fixed caching of locales/x/plugins.json 2019-02-11 11:51:12 +01:00
Sebastian Sdorra
ad4277ba41 merge with 2.0.0-m3 2019-02-05 16:50:14 +01:00
Mohamed Karray
6efaf081b5 merge 2019-02-05 08:49:01 +01:00
Sebastian Sdorra
21441aed45 added appendEmbedded method to HalAppender
With this change we could not longer use @AfterMapping from MapStruct.
We should use @ObjectFactory instead and create Links and Embedded before.
2019-02-04 16:18:47 +01:00