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
3c373a4c4d
replace QuartzScheduler with a more lightweight scheduler
...
The new scheduler is based on the cron-utils package and uses the same cron syntax as quartz.
CronScheduler was mainly introduced, because of a ClassLoader leak with the old Quartz implementation.
The leak comes from shiros use of InheriatableThreadLocal in combination with the WorkerThreads of Quartz.
CronScheduler uses a ThreadFactory which clears the Shiro context before a new Thread is created (see CronThreadFactory).
2019-06-05 16:15:06 +02:00
René Pfeuffer
1b6bc64092
Merge with 2.0.0-m3
2019-05-28 08:02:59 +02:00
René Pfeuffer
dad8ea5fa1
Merge with 2.0.0-m3
2019-05-20 08:51:59 +02:00
René Pfeuffer
313666b0bb
Organize imports
2019-05-16 10:04:36 +02:00
René Pfeuffer
561b56338a
Remove redundant binding
2019-05-15 15:52:45 +02:00
René Pfeuffer
bcd249a332
Cleanup modules
2019-05-14 11:54:25 +02:00
René Pfeuffer
02ee9425e0
Do not bind repository dao in bootstrap module
2019-05-14 11:17:45 +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
76b9100e7e
Add endpoint for repository roles (tests pending)
2019-05-03 17:44:27 +02:00
René Pfeuffer
7a2166a365
Bind repository role dao
2019-05-03 16:30:50 +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
3774b5abb3
Do not send basic auth for /repo requests from web browser
...
This fixes the basic auth popups in browsers after session timeout and
reload in browsers "inside" of repositories.
2018-12-20 10:05:17 +01:00
Sebastian Sdorra
306482094d
move AccessTokenCookieIssue from scm-webapp to scm-core
2018-12-14 08:29:30 +01:00
René Pfeuffer
581e6a9bff
Fix extension point injection
2018-12-03 08:20:41 +01:00
René Pfeuffer
aec5520e57
Implement simple JWT refresh filter
2018-11-30 16:57:04 +01:00
Mohamed Karray
b33b72aa80
remove the rest/ path from endpoints
2018-10-01 17:22:03 +02:00
René Pfeuffer
9aa9b77922
Use constant for rest api path
2018-09-12 12:24:57 +02:00
René Pfeuffer
e90dc11bc7
Cleanup for http protocol servlet changes
2018-09-11 10:50:53 +02:00
René Pfeuffer
8c675f5dd8
Compute base url in webapp
2018-09-10 11:59:21 +02:00
René Pfeuffer
be5c430bd2
Add POC protocol servlet with delegate to git
2018-09-06 10:58:09 +02:00
Sebastian Sdorra
b09c46abcf
remove old ui
2018-08-27 15:45:56 +02:00
Sebastian Sdorra
0fc09f5c0d
added PushStateDispatcher for production and development to WebResourceServlet
2018-08-23 11:48:42 +02:00
Sebastian Sdorra
90aff6b31f
merge branch heads of 2.0.0-m3
2018-07-16 15:21:29 +02:00
Sebastian Sdorra
187384088b
remove no longer required sonia.scm.url package
2018-07-16 14:17:05 +02:00
Philipp Czora
d3a2fc8219
Implemented namespace feature
2018-07-04 15:46:08 +02:00
René Pfeuffer
54776548ea
Merge parallel development
2018-07-02 14:36:04 +02:00
Philipp Czora
ffabda3f83
Set namespace while creating a repository
2018-06-29 17:10:14 +02:00
René Pfeuffer
5b5c30f054
POC for spaces strategy
2018-06-29 16:59:35 +02:00
René Pfeuffer
a8c61a9bfd
Cleanup and documentation
2018-06-06 16:24:59 +02:00
René Pfeuffer
2c5823e961
Add json enricher and json field filter
2018-06-06 10:36:27 +02:00
Sebastian Sdorra
3637a8de20
switch from jersey 1.x to resteasy
2017-06-27 20:16:05 +02:00
Sebastian Sdorra
aec3d5d65d
merge with branch 1.x
2017-06-25 19:01:33 +02:00
Sebastian Sdorra
acc3ff791b
#781 process all kinds authorization relevant event and produce AuthorizationChangedEvent
2017-02-26 13:19:35 +01:00
Sebastian Sdorra
df6d9dacf8
implement LoginAttemptHandler for scm-manager 2
2017-01-15 20:27:06 +01:00
Sebastian Sdorra
fc6287fd40
remove deprecations and fixed some compiler warnings
2017-01-12 20:02:06 +01:00
Sebastian Sdorra
bad99919f4
merge with branch 1.x
2017-01-12 19:50:39 +01:00
Sebastian Sdorra
5332ac2466
refactor store api
2016-12-11 21:31:05 +01:00
Sebastian Sdorra
13bea6e502
implemented small scheduler engine
2016-05-25 16:32:25 +02:00
Sebastian Sdorra
9497d88ee3
merge with branch issue-793
2016-05-24 21:27:44 +02:00
Sebastian Sdorra
920b2eca39
added option for plugins to change ssl context
2016-03-17 09:42:34 +01:00
Sebastian Sdorra
488d4e3323
implemented xsrf protection, see issue #793
2016-01-23 22:02:25 +01:00
Sebastian Sdorra
6dd765e3be
start implementation of repository permissions
2015-07-09 20:29:07 +02:00
Sebastian Sdorra
1f4524bb20
added json and xml support to ahc
2015-05-03 15:51:21 +02:00
Sebastian Sdorra
e5184ac6a0
merge with branch issue-627
2015-02-10 20:50:06 +01:00
Sebastian Sdorra
30b49490a7
make use of new WebElement and Priority annotation
2015-02-01 19:52:53 +01:00
Sebastian Sdorra
f64f29bb2e
improve extension binding and added api to query extensions
2014-12-19 17:15:50 +01:00
Sebastian Sdorra
4fa8e6e88a
replace scm-manager 1.x security api with apache shiro and use PasswordService for stronger password hashes
2014-12-14 12:26:03 +01:00
Sebastian Sdorra
8e608d2439
created small user-agent detection framework to choose the right encoding for basic authentication
2014-10-17 15:43:28 +02:00
Sebastian Sdorra
be24164b88
replace DefaultEngine annotation with the new Default annotation
2014-08-24 14:54:35 +02:00