Commit Graph

12 Commits

Author SHA1 Message Date
René Pfeuffer
ee02ba096f Mark config entry stores explicitly in exports (#1545)
The default (XML) store of SCM-Manager does not distinguish between config and config entry stores in regards to
storage locations. Nonetheless, we want to make a difference in export files, so that other store providers can handle
these stores differently. To do so, this change adds an attribute to the top level xml element of config entry stores
to mark them. In exports, these store files can now be exported in a different folder. To mark existing stores, this
introduces an update step.
2021-02-23 09:37:59 +01:00
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
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
René Pfeuffer
c44d38cc61 Introduce abstraction for repository location 2019-05-09 14:08:18 +02:00
Mohamed Karray
171f4e2f07 merge 2018-11-29 16:59:04 +01:00
Mohamed Karray
fb79cbfd02 merge + refactor getStoreDirectory 2018-11-28 15:14:49 +01:00
Mohamed Karray
7a1de0f67b add the interface StoreFactory and refactor storeFactories 2018-11-27 11:35:02 +01:00
Oliver Milke
80fe417206 fixing test execution on german / windows machines 2017-05-10 13:56:13 +02:00
Sebastian Sdorra
62bfcbc78f add unit test for DefaultSecuritySystem 2013-05-02 18:29:00 +02:00
Sebastian Sdorra
d165baffe9 improve repository manager test base 2013-01-29 21:55:08 +01:00
Sebastian Sdorra
23606842a3 fix repository manager test 2012-08-29 10:05:15 +02:00
Sebastian Sdorra
44c57b8ea6 improve scm-test 2010-12-06 20:05:04 +01:00