Commit Graph

7173 Commits

Author SHA1 Message Date
René Pfeuffer
2e93a9efec Implement peer review comments 2019-03-29 15:39:44 +01:00
René Pfeuffer
89de300137 Add minimal error handling 2019-03-29 13:39:55 +01: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
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
Rene Pfeuffer
ada8977175 Close branch feature/mark_default_branch 2019-03-29 10:23:56 +00:00
René Pfeuffer
2a19313df5 Remove unknown val 2019-03-29 11:06:10 +01: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
f010fb7711 Fix unit test 2019-03-28 16:57:46 +01:00
René Pfeuffer
93cec3d282 Add parameter for parent of new branch 2019-03-28 16:15:31 +01:00
René Pfeuffer
81e493ddf0 Fetch error when creating token without request 2019-03-28 15:10:39 +01:00
René Pfeuffer
df9e16c485 Clean up generics 2019-03-28 14:10:43 +01:00
René Pfeuffer
79be188777 Clean up dependencies 2019-03-28 13:30:04 +01:00
René Pfeuffer
cc4bd6ddd1 Use bearer tokens to authenticate hg hook callbacks 2019-03-28 08:40:56 +01:00
René Pfeuffer
daaa50f08c Move environment preparations to new class 2019-03-27 10:57:09 +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
58b7dff631 Create REST endpoint for branch creation 2019-03-26 10:55:39 +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
Sebastian Sdorra
58d2a03498 Merged in bugfix/harmonize_name_check (pull request #220)
Harmonize user and group name validation, again
2019-03-26 06:57:31 +00:00
Sebastian Sdorra
71f4d81305 Close branch bugfix/harmonize_name_check 2019-03-26 06:57:31 +00:00
René Pfeuffer
b14eadb13d Add missing mockito config file 2019-03-25 16:44:05 +01:00
René Pfeuffer
5ca4bf6b30 Create intermediate branch 2019-03-29 10:03:59 +01:00
René Pfeuffer
39ae41327a Add missing mockito config file 2019-03-25 16:44:05 +01:00
René Pfeuffer
b1547d2b69 Harmonize user and group name validation, again 2019-03-25 15:41:21 +01:00
René Pfeuffer
56e61ab966 Mark default branch for hg 2019-03-25 14:20:23 +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
René Pfeuffer
5aab95b651 Change spotter version
This fixes the issue, that markdown files were not recognized as such
but had the language "GCC Machine Definition" (or the like)
2019-03-25 10:55:27 +01:00
Sebastian Sdorra
563dfa015e Merged in feature/consolidate_admin_permissions (pull request #219)
Feature/consolidate admin permissions
2019-03-21 12:17:01 +00:00
Sebastian Sdorra
4e9fe8e698 Close branch feature/consolidate_admin_permissions 2019-03-21 12:17:01 +00:00
René Pfeuffer
424120c964 Delete unused methods 2019-03-21 13:13:12 +01:00
Sebastian Sdorra
691f84a801 removes comments which are not useful without the context of the current change 2019-03-21 13:04:53 +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
Sebastian Sdorra
827a188713 merge repository heads 2019-03-14 17:43:28 +01:00
Sebastian Sdorra
dbdbe2fcf7 fixes SyncingRealmHelper not providing internal groups (from xml) 2019-03-14 17:42:27 +01:00
Sebastian Sdorra
913cb9c6c7 fixed loading of plugin bundles with activated cas plugin 2019-03-14 17:38:00 +01:00
René Pfeuffer
1ad2ea61f5 Remove not implemented config options 2019-03-14 13:42:13 +01:00
Sebastian Sdorra
aec702ff89 Merged in bugfix/disable_repository_config (pull request #218)
Bugfix: Disable repository config without permission
2019-03-14 10:48:06 +00:00
Sebastian Sdorra
6aec9a9d1f Close branch bugfix/disable_repository_config 2019-03-14 10:48:06 +00:00
René Pfeuffer
960780946b Fix repo config for user without permission
Disable fields and remove submit buttons when user has not permission,
aka no config links.
2019-03-14 11:14:09 +01:00
Sebastian Sdorra
7f54a13d49 Merged in feature/error_boundary (pull request #217)
Feature/error boundary
2019-03-14 09:58:27 +00:00
Sebastian Sdorra
867e73b499 Close branch feature/error_boundary 2019-03-14 09:58:27 +00:00
René Pfeuffer
451b25a95f Merge with 2.0.0-m3 2019-03-14 10:48:57 +01:00
Sebastian Sdorra
ba3f3acc7b fix wrong line endings 2019-03-14 10:15:15 +01:00