Eduard Heimbuch
86af7b23eb
remove groups from BearerRealm / SyncRealmHelper / DAORealmHelper
2019-08-01 15:43:12 +02:00
Eduard Heimbuch
b102c19f5f
fix test
2019-08-01 11:53:08 +02:00
Eduard Heimbuch
2fe8c154d3
small fixes
2019-08-01 09:57:18 +02:00
Eduard Heimbuch
853bf133ca
fix tests
2019-08-01 09:14:48 +02:00
Eduard Heimbuch
35c5a69511
add resource tests
2019-08-01 08:38:53 +02:00
Eduard Heimbuch
f699f0ef43
fix Test
2019-07-31 17:11:28 +02:00
Eduard Heimbuch
c2e7ecd164
add tests
2019-07-31 16:59:13 +02:00
Eduard Heimbuch
a9744d8df1
refactor plugin endpoints
2019-07-31 10:27:52 +02:00
Eduard Heimbuch
785e5e1142
refactor plugin backend + fix tests
2019-07-29 11:52:53 +02:00
Rene Pfeuffer
bc37ccef57
Make protocol auth filter available for legacy paths
2019-07-26 15:07:40 +02:00
Sebastian Sdorra
4ba9437410
fixed broken tests
2019-07-22 14:41:12 +02:00
Sebastian Sdorra
405ffcf164
migrate tests to junit 5
2019-07-22 14:26:15 +02:00
Sebastian Sdorra
56a683c7c5
fix checkout of repositories with dots in the names
2019-07-22 13:00:49 +02:00
Sebastian Sdorra
4a275c445e
removed unnecessary request provider
2019-07-22 09:44:03 +02:00
Sebastian Sdorra
ad772c778d
Merged in bugfix/migrate_security_xml (pull request #286 )
...
Bugfix/migrate security xml
2019-07-19 05:15:27 +00:00
Sebastian Sdorra
a4cb2f7caa
fix migration with unknown permissions
2019-07-18 12:17:20 +02:00
Eduard Heimbuch
0840109d56
add securityV1Migration-Test
2019-07-16 16:27:50 +02:00
Eduard Heimbuch
00e051a45f
fix Tests / add Test
2019-07-16 08:07:44 +02:00
Eduard Heimbuch
0c75dda18e
fix Test
2019-07-12 08:40:12 +02:00
René Pfeuffer
f631dc1724
Redirect protocol requests for migrated repositories
...
- Make old repository name and id available to plugins (MigrationDAO)
- Build Map with paths of migrated repositories to new location
- Implement redirect (RepositoryLegacyProtocolRedirectFilter)
2019-07-02 10:46:26 +02:00
René Pfeuffer
c881a3eca7
Store original repository name in migration plan
2019-07-01 15:30:03 +02:00
Sebastian Sdorra
bc4d6bfa74
merge with 2.0.0-m3
2019-06-26 09:27:52 +02:00
Eduard Heimbuch
802dfd73ca
Merged in feature/updatestep_api_for_plugins (pull request #273 )
...
Feature/updatestep api for plugins
2019-06-25 12:25:05 +00:00
Sebastian Sdorra
2654b017fb
fixed broken ClassLoaderLifeCycle unit tests
2019-06-25 13:34:42 +02:00
Sebastian Sdorra
ebb23981b2
merge with 2.0.0-m3
2019-06-25 09:53:44 +02:00
Sebastian Sdorra
80febf9424
added modules, classloading and view packages to sonia.scm.lifecycle
2019-06-25 09:49:52 +02:00
Sebastian Sdorra
c7365b74da
move StaticResourceServlet to package sonia.scm
2019-06-25 08:41:02 +02:00
Sebastian Sdorra
99f1c8c55e
rename package sonia.scm.boot to sonia.scm.lifecycle
2019-06-25 08:36:57 +02:00
René Pfeuffer
1e586b020c
Make sure task is not executed after is has cancelled himself
2019-06-24 17:51:38 +02:00
Sebastian Sdorra
9662b8a00b
simplify scm-manager bootstrap
...
We have simplified the scm-manager bootstrap process, by replacing the
ServletContextListener call hierarchy with much simpler ModuleProviders.
We have also removed the parent injector. Now we create always a new
injector. If something goes wrong in the process of injector creation,
we will show a nicely styled error page instead of stacktrace on a white
page.
2019-06-24 16:59:28 +02:00
Sebastian Sdorra
6c064a005a
implemented optional injection of ServletContextListeners
2019-06-21 09:50:03 +02:00
Sebastian Sdorra
de5bee4947
refactor listener modules
2019-06-21 09:29:06 +02:00
Sebastian Sdorra
bacdf4d711
close every registered Closeable, instead of explicitly close a special set of instances
2019-06-21 08:41:26 +02:00
René Pfeuffer
9581bf946b
Enable plugins to create config stores for repository config
...
Therefore we have to
- add an API to create stores for repository ids, not only for
repositories,
- make v1 properties available in scm-core
- make sure that properties are extracted from repositories before the
update step of a plugin runs (this is done by sorting the update steps
in a way so that "core" update steps are executed before plugin update
steps with the same version)
2019-06-20 16:12:16 +02:00
Sebastian Sdorra
d658a1a662
fix re registration of BootstrapContextFilter after restart
2019-06-20 14:58:32 +02:00
Sebastian Sdorra
c02ac21b6a
merge repository heads
2019-06-19 13:07:53 +02:00
Sebastian Sdorra
33702e0e9d
added RestartStrategies to be able to swap the context recreation strategy
2019-06-19 11:53:58 +02:00
Sebastian Sdorra
91fd259f07
use ClassLoaderLeakPreventor to reduce ClassLoaderLeaks of plugins
2019-06-19 11:52:20 +02:00
René Pfeuffer
d3b65ac3bd
Check stored values instead of resulting xml files
2019-06-19 10:38:22 +02:00
René Pfeuffer
d43ad44da9
Enhance in-memory store factories for tests
2019-06-19 10:14:29 +02:00
René Pfeuffer
fae3de7b6c
Extract update step test util
2019-06-19 09:31:56 +02:00
Sebastian Sdorra
bc8c89cbf8
fix sonar issue squid:S1989: Exceptions should not be thrown from servlet methods
2019-06-13 12:03:02 +02:00
René Pfeuffer
02616916af
Merge with 2.0.0-m3
2019-06-13 11:24:32 +02:00
René Pfeuffer
67a78fd3b2
Fix typo
2019-06-13 10:38:15 +02:00
René Pfeuffer
ffa4625e36
Merge with 2.0.0-m3
2019-06-13 10:06:38 +02:00
Sebastian Sdorra
3c5b7ab535
display error on startup, if previous version is older than 1.60
2019-06-13 09:58:30 +02:00
René Pfeuffer
4991c2ad31
Merge with 2.0.0-m3
2019-06-13 06:34:52 +02:00
René Pfeuffer
0dda448ac8
Heed peer review
2019-06-13 06:24:35 +02:00
Sebastian Sdorra
5c7ae749c2
create new error module, which displays errors before migration
2019-06-12 18:26:58 +02:00
Sebastian Sdorra
4c91ef0100
make PluginLoader dependency of MustacheTemplateEngine optional
2019-06-12 17:04:32 +02:00