Commit Graph

791 Commits

Author SHA1 Message Date
René Pfeuffer
8e3b0e4145 Archive repository (#1477)
This adds a flag "archived" to repositories. Repositories marked with this can no longer be modified in any way. To do this, we switch to a new version of Shiro Static Permissions (sdorra/shiro-static-permissions#4) and specify a permission guard to check for every permission request, whether the repository in question is archived or not. Further we implement checks in stores and other activies so that no writing request may be executed by mistake.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 10:58:29 +01:00
Sebastian Sdorra
3f018c2255 Update @scm-manager/jest-preset to v2.12.1 (#1474) 2020-12-14 17:48:45 +01:00
Konstantin Schaper
3c9c0c1792 Merge branch 'develop' into feature/import_svn_from_dump 2020-12-14 11:40:46 +01:00
Konstantin Schaper
fed16f296a support permalinks to lines in source code view (#1472)
This features adjusts the syntax checker to render a little link icon next to a hovered line. When clicked,
a permanent link to this line is created and copied to the user's clipboard. When visiting the link,
the focused row is highlighted.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-14 09:15:18 +01:00
Eduard Heimbuch
821cca2a06 cleanup 2020-12-10 16:22:39 +01:00
Eduard Heimbuch
6886f09f26 create fileUpload component 2020-12-10 13:55:19 +01:00
Sebastian Sdorra
1ef0b42eb5 Move plugin build modules to external repositories (#1462)
This pull request moves plugin build dependencies to separate repositories:

babel-preset -> https://github.com/scm-manager/babel-preset
eslint-config -> https://github.com/scm-manager/eslint-config
jest-preset -> https://github.com/scm-manager/jest-preset
prettier-config -> https://github.com/scm-manager/prettier-config
tsconfig -> https://github.com/scm-manager/tsconfig
This should speed up the build (a little bit) and prepare for gradle plugins.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-09 11:35:40 +01:00
CES Marvin
56c63cb5b7 prepare for next development iteration 2020-12-07 15:01:20 +00:00
CES Marvin
baf04a551c release version 2.11.1 2020-12-07 14:24:49 +00:00
CES Marvin
87d06a708b prepare for next development iteration 2020-12-04 08:10:20 +00:00
CES Marvin
df62ffbe16 release version 2.11.0 2020-12-04 07:27:13 +00:00
Sebastian Sdorra
8a31fd58a2 Update storyshots because of the updated Input component 2020-12-03 10:43:42 +01:00
Eduard Heimbuch
11755d3980 improve url regex 2020-12-03 09:47:41 +01:00
Eduard Heimbuch
715c76e2f4 set repository name suggestion in import form just at leaving the input field 2020-12-03 09:38:23 +01:00
Eduard Heimbuch
09c13100dd cleanup 2020-12-03 08:54:56 +01:00
Eduard Heimbuch
60cdc6f8cf Merge branch 'develop' into feature/import_git_from_url 2020-12-02 14:39:45 +01:00
Eduard Heimbuch
7db33d2e65 Mind review findings 2020-12-02 10:47:48 +01:00
Konstantin Schaper
9ec8b4efac fix review findings 2020-12-01 15:16:55 +01:00
Eduard Heimbuch
6a93a198e8 fix form validation after refactoring 2020-12-01 11:35:49 +01:00
Eduard Heimbuch
af9f6ab629 refactor UI 2020-12-01 08:53:56 +01:00
Konstantin Schaper
8986e3d378 Merge branch 'develop' into feature/manage-tags
# Conflicts:
#	scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/repository/spi/HgRepositoryServiceProvider.java
2020-11-30 14:18:05 +01:00
Konstantin Schaper
032982857f clean up code, fix bugs, improve ux, add docs 2020-11-30 10:01:21 +01:00
Konstantin Schaper
7895da0a2a implement frontend for creating tags 2020-11-27 08:49:10 +01:00
René Pfeuffer
9d25a93558 Distinct between active and stale branches 2020-11-26 08:31:14 +01:00
Florian Scholdei
f65f3222ee Update documentation, storyshots 2020-11-24 18:35:07 +01:00
Florian Scholdei
669cc39fa9 Add tooltip to shortlinks on repository overview 2020-11-24 17:34:21 +01:00
Eduard Heimbuch
fd79107468 Use preselected value with translation key for namespace filter / improve translations 2020-11-24 13:22:13 +01:00
Eduard Heimbuch
237c48356a Improve ux on overview 2020-11-24 13:22:13 +01:00
CES Marvin
9baa1f930b prepare for next development iteration 2020-11-20 10:22:37 +00:00
CES Marvin
a4d0771f6f release version 2.10.0 2020-11-20 09:36:03 +00:00
Sebastian Sdorra
1d63e008e9 Update storybook components to be compatible with jest 26 2020-11-18 17:07:55 +01:00
Eduard Heimbuch
6c16b74488 fix react error 2020-11-17 08:34:27 +01:00
Eduard Heimbuch
6343eddeb3 fix annoying react error "missing unique key prop" 2020-11-17 08:34:27 +01:00
Eduard Heimbuch
2087c27671 fix frontend react error 2020-11-17 08:34:27 +01:00
Eduard Heimbuch
831aa09cff Merge branch 'develop' into feature/delete_branches 2020-11-12 14:58:51 +01:00
René Pfeuffer
08a2cca06d Heed review comments 2020-11-12 13:55:01 +01:00
René Pfeuffer
8cfbc60fea Distinguish between errors with and without details 2020-11-12 11:41:04 +01:00
René Pfeuffer
01a5dbd091 Show messages from native scm protocol 2020-11-12 11:41:04 +01:00
CES Marvin
59e28ec313 prepare for next development iteration 2020-11-11 17:48:56 +00:00
CES Marvin
bc4c2df27c release version 2.9.1 2020-11-11 17:15:36 +00:00
Eduard Heimbuch
20d2f6b5d5 add 'delete branch' function to frontend 2020-11-11 15:58:58 +01:00
CES Marvin
9930d82d32 prepare for next development iteration 2020-11-06 08:40:11 +00:00
CES Marvin
ea6e24c212 release version 2.9.0 2020-11-06 08:05:48 +00:00
Eduard Heimbuch
4661e6f6b4 refactor FilterInput component / enable delayed instant search 2020-11-04 12:16:35 +01:00
Sebastian Sdorra
3c32073853 Merge with develop 2020-11-04 08:22:41 +01:00
Eduard Heimbuch
2f87afdbc2 make placeholders overwritable 2020-11-03 13:30:00 +01:00
Sebastian Sdorra
9fe065f796 Merge pull request #1399 from scm-manager/feature/default_branch
Make default branch for git configurable
2020-11-03 08:23:03 +01:00
René Pfeuffer
5f99ece3bb Fix branches link
Without the trailing '/' further links like 'create' will lead to
illegal links because they will not be appended but will replace the
'branches' part.
2020-11-02 10:08:49 +01:00
René Pfeuffer
c2a7ed8869 Validate banch names 2020-10-30 14:24:31 +01:00
Eduard Heimbuch
0c8fe5a60c confirm password modal by enter key / fix password link for logged in user 2020-10-30 11:48:05 +01:00