Commit Graph

7691 Commits

Author SHA1 Message Date
Sebastian Sdorra
6efa6ff29f remove HttpSessionListener, because SCMv2 does not use server side sessions anymore 2019-06-25 09:15:30 +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
Sebastian Sdorra
56c7fcc114 move Resteasy cleanup into the ResteasyAllInOneServletDispatcher 2019-06-25 08:31:49 +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
f0bb55e77b remove init and close method from context, because their were never used 2019-06-24 16:44:37 +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
Sebastian Sdorra
43777f1e27 move bootstrapping of plugins into own class PluginBootstrap 2019-06-21 08:32:58 +02:00
Sebastian Sdorra
eec4b282e6 remove MBeanCleanUp step to avoid exception on restart 2019-06-20 15:09:12 +02:00
Sebastian Sdorra
d658a1a662 fix re registration of BootstrapContextFilter after restart 2019-06-20 14:58:32 +02:00
Sebastian Sdorra
cbe983b9f1 log name of eventbus, to make restarts more debuggable 2019-06-20 14:57:22 +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
f747be4331 create instance counter for EventBus, to improve visibility during restarts 2019-06-19 11:53:13 +02:00
Sebastian Sdorra
91fd259f07 use ClassLoaderLeakPreventor to reduce ClassLoaderLeaks of plugins 2019-06-19 11:52:20 +02:00
Sebastian Sdorra
6cee35a9f1 update legman to avoid already shutdown exception, during restart 2019-06-19 11:46:49 +02:00
Sebastian Sdorra
b7af4fa902 shutdown jgit workqueue, when context is destroyed 2019-06-19 11:41:36 +02:00
Sebastian Sdorra
ece1a2b34a update jgit to v5.4.0.201906121030-r-scm1 2019-06-19 11:40:36 +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
Rene Pfeuffer
8a2573764f Merged in feature/fail_migration_if_to_old (pull request #270)
Feature/fail migration if to old
2019-06-13 09:04:02 +00:00
Rene Pfeuffer
ce9f3f29a1 Close branch feature/fail_migration_if_to_old 2019-06-13 09:04:02 +00: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
Rene Pfeuffer
04e5896295 Merged in feature/prettier_tables (pull request #269)
feature/prettier_tables
2019-06-13 08:03:10 +00:00
Rene Pfeuffer
d7318bdacd Close branch feature/prettier_tables 2019-06-13 08:03:10 +00: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
cd99402f78 Revert create forms 2019-06-13 09:38:44 +02:00
René Pfeuffer
a50d69d46b Merge with 2.0.0-m3 2019-06-13 09:16:46 +02:00
Rene Pfeuffer
e53b2f47b0 Merged in feature/migrate_custom_roles (pull request #267)
Migrate verbs to roles if possible
2019-06-13 06:07:26 +00:00
Rene Pfeuffer
e266b1edb5 Close branch feature/migrate_custom_roles 2019-06-13 06:07:26 +00:00
René Pfeuffer
a14a2060b6 Fix context 2019-06-13 06:41:46 +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
bc7402053a remove outdated error module 2019-06-12 18:25:38 +02:00
Sebastian Sdorra
df3e4395b0 remove unused template from v1 2019-06-12 18:23:21 +02:00
Sebastian Sdorra
4c91ef0100 make PluginLoader dependency of MustacheTemplateEngine optional 2019-06-12 17:04:32 +02:00
Florian Scholdei
2727679f6e rename local const 2019-06-12 16:35:08 +02:00
Florian Scholdei
5f435a524e clarifiy checkbox 2019-06-12 16:27:16 +02:00
Sebastian Sdorra
e4b187a393 Merged in feature/migration_servlet (pull request #261)
Feature migration servlet
2019-06-12 13:40:00 +00:00
Sebastian Sdorra
34b1047d39 Close branch feature/migration_servlet 2019-06-12 13:40:00 +00:00
Florian Scholdei
d50f6e0ec9 replace checkboxes with icons with hover 2019-06-12 15:29:53 +02:00
Florian Scholdei
d8d1513f3c add is-icon, is-darker class and colored border for card-table 2019-06-12 15:24:32 +02:00
Florian Scholdei
467d0fd4ae fix vertical alignment of icons in navigation 2019-06-12 15:23:11 +02:00
Florian Scholdei
bb38e9e2b9 add icon ui-component 2019-06-12 15:22:10 +02:00
Sebastian Sdorra
c491092c0c use for..in loop instead of for..of to increase compatibility 2019-06-12 14:20:20 +02:00
Sebastian Sdorra
249ee68986 use Arrays.stream instead of Arrays.asList(..).stream() 2019-06-12 14:19:38 +02:00