Commit Graph

1661 Commits

Author SHA1 Message Date
René Pfeuffer
84ae5646a4 Fix bug for repository owners without global role permission
Repository owners got an frontend error when they hat no permission to
read the global repository roles. We therefore remove the dedicated
permission to read repository.

Additionally we fix the 'write' permission to match the entry in the
'permissions.xml' file.
2019-05-31 10:20:44 +02:00
Eduard Heimbuch
4fbaf89e19 migrate users from v1 to v2 & migrate adminFlag to security.xml 2019-05-23 17:18:03 +02:00
René Pfeuffer
ac851d4e8a Implement copy strategy 2019-05-22 16:05:35 +02:00
René Pfeuffer
f3d7727198 Add documentation 2019-05-20 16:34:22 +02:00
René Pfeuffer
bacfde7cab Add documentation 2019-05-20 16:34:22 +02:00
René Pfeuffer
dad8ea5fa1 Merge with 2.0.0-m3 2019-05-20 08:51:59 +02:00
René Pfeuffer
ed7c2a01e7 Log steps for updates 2019-05-15 13:29:50 +02:00
René Pfeuffer
93dbaeae7c Run update steps only if they have not been run before 2019-05-14 15:52:05 +02:00
René Pfeuffer
bafc8ea668 Execute updates in order 2019-05-14 14:45:12 +02:00
René Pfeuffer
46b1bb8869 Find update steps and execute them with bootstrap context 2019-05-14 14:12:08 +02:00
René Pfeuffer
e0ad5c76a7 Cleanup tests for repository dao 2019-05-14 10:08:45 +02:00
René Pfeuffer
a83e2813a3 Fix path computation and resolving 2019-05-10 13:26:06 +02:00
René Pfeuffer
7f4792ec49 Remove PathBasedRepositoryDAO
The computation of the file path for the repository is done by
RepositoryLocationResolver.
2019-05-10 08:06:36 +02:00
René Pfeuffer
c44d38cc61 Introduce abstraction for repository location 2019-05-09 14:08:18 +02:00
René Pfeuffer
d29fa32c8e First steps to create a bootstrap module for data migration 2019-05-09 10:36:27 +02:00
René Pfeuffer
798eb5a846 Replace wrong endpoint for repository roles with endpoint for verbs 2019-05-09 09:45:33 +02:00
René Pfeuffer
c5b20566c1 Fix bugs with integration test 2019-05-07 09:20:19 +02:00
René Pfeuffer
0099740a22 Remove permissions for deleted roles 2019-05-06 16:38:54 +02:00
René Pfeuffer
76b9100e7e Add endpoint for repository roles (tests pending) 2019-05-03 17:44:27 +02:00
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
83b629222b Fix toString 2019-05-03 13:26:18 +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
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
fbd6f4f3c7 Introduce filter parameter in Manager 2019-04-09 13:09:16 +02:00
René Pfeuffer
08260fd7be Add localization option for template engines 2019-04-03 11:52:01 +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
2e93a9efec Implement peer review comments 2019-03-29 15:39:44 +01:00
René Pfeuffer
9833bfd34d Merge with 2.0.0-m3 2019-03-29 11:54:17 +01:00
René Pfeuffer
00b27b5488 Close repositories after usage 2019-03-29 11:47:44 +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
ee219f2d59 Remove unnecessary interface 2019-03-29 10:36:55 +01:00
René Pfeuffer
1162536e21 Simplify workdir factory 2019-03-29 10:02:38 +01:00
René Pfeuffer
93cec3d282 Add parameter for parent of new branch 2019-03-28 16:15:31 +01:00
René Pfeuffer
df9e16c485 Clean up generics 2019-03-28 14:10:43 +01:00
René Pfeuffer
cc4bd6ddd1 Use bearer tokens to authenticate hg hook callbacks 2019-03-28 08:40:56 +01:00
René Pfeuffer
b65e84249d Use clone and push to create branches
Generalize workdir creation for git and hg and create branches in
clones instead of the scm repository, so that hooks will be fired
correctly once the changes are pushed back.

Missing:

- Evaluation of the git response from the push command
- configuration of the hg environment and the authentication, so that
  the scmhooks.py script can be triggeret correctly and can callback
  the scm manager
2019-03-27 10:08:20 +01:00
René Pfeuffer
744af9bcfc Fix branch command builder 2019-03-26 10:04:39 +01:00
René Pfeuffer
3c7930d1a9 Add "production" branch command
There already was a branch command for test purposes. This was adapted
for production use with git and hg.
2019-03-26 09:16:33 +01:00
René Pfeuffer
b1547d2b69 Harmonize user and group name validation, again 2019-03-25 15:41:21 +01:00
René Pfeuffer
b36f1ca3e4 Mark default branch for git 2019-03-25 12:08:44 +01:00
René Pfeuffer
4ec7006108 Enhance branch object with default flag 2019-03-25 11:28:29 +01:00
Sebastian Sdorra
5d9331d514 fixes external always true after copy properties 2019-03-21 11:36:57 +01:00
Sebastian Sdorra
50cb7e9370 merge with 2.0.0-m3 2019-03-21 10:47:33 +01:00
Sebastian Sdorra
7c6bfdaaac removes admin role 2019-03-21 10:46:11 +01:00
Sebastian Sdorra
3e9f59ef47 support for managing external managed groups 2019-03-21 09:58:36 +01:00