Commit Graph

103 Commits

Author SHA1 Message Date
Robert von Burg 905db8c297 [Project] Set new version 1.5.0-SNAPSHOT 2016-11-03 12:07:38 +01:00
Robert von Burg bff0215510 [Major] Refactored the DurationExecutionTimer to not be singleton
Once again it is clear how bad singletons are. One test killed the
timer, thus all other tests failed. Now the DelayedExecutionTimer is
retrieved from the ExecutionHandler and is called DelayedExecutionTimer
with a default implementation of SimpleDurationExecutionTimer
instantiated by the EventBasedExecutionHandler
2016-10-11 14:59:52 +02:00
Robert von Burg 992f3966dc [New] Rewrote the Paging class to use offset/limit
Also returns next, previous and last offsets. Added helper method to
create a REST Response from a page in ResponseUtil
2016-10-07 11:55:08 +02:00
Robert von Burg 2b701d5d74 [Fix] Fixed json object not marshalled in AuthenticationService 2016-10-05 17:03:01 +02:00
Robert von Burg 7a537e7886 [Major] REST APIs are supposed to be plural 2016-09-30 10:13:22 +02:00
Robert von Burg dd227c65d0 [Major] Refactored SystemAction in privileges
Simplified the API, removed the privileged user - now always use the
agent system user for running system actions. One method has no return
value and one has a return value. Now it is easy to perform a system
action using:

    runAsAgent(ctx -> {
      // do work			
    });

    String result = runAsAgentWithResult(ctx -> {
      // do work
      return "done";
    });

    // execute a SystemAction
    runAsAgent(action);

    // execute a SystemActionWithResult
    String result = runAsAgentWithResult(actionWithResult);
2016-09-29 12:26:27 +02:00
Robert von Burg dc0a34dc9d [Project] Set new snapshot version 1.4.0-SNAPSHOT 2016-09-22 11:33:15 +02:00
Robert von Burg bda16a0f80 [Project] Updated project for deployment to Maven Central 2016-09-22 09:37:55 +02:00
Robert von Burg 813c7bc13d [Minor] Added JsonElement service argument result objects 2016-09-19 21:19:51 +02:00
Robert von Burg 6d65064117 [New] Allow for optional parameters in to flat json 2016-09-17 17:20:45 +02:00
Robert von Burg 2fe9f74be8 [Project] Extended documentation with policies and transactions 2016-09-16 10:58:47 +02:00
Robert von Burg b8834b9b82 [Major] Refactored to not use JAXB in PrivilegeUsersService 2016-09-08 20:06:38 +02:00
Robert von Burg 68327da042 [Minor] Added further helper methods to ResponseUtil 2016-09-08 15:53:48 +02:00
Robert von Burg 7a090f3d68 [Major] REST APIs are now singular 2016-09-08 13:19:44 +02:00
Robert von Burg bcc0bf4a10 [Major] Now users can reset their own passwords
- built in User Challenge feature (currently only console)
- extended REST API to allow user to initiate a challenge and then use
the challenge to authenticate for a one time change password session
2016-09-07 14:41:16 +02:00
Robert von Burg 2cbdca3da8 [Minor] Allow to query by Id and Name when without prefix 2016-08-31 18:33:35 +02:00
Robert von Burg d25e7577f7 [New] QueryParser can now handle parameters incl. without prefixes 2016-08-30 11:44:55 +02:00
Robert von Burg c5cd74b168 [New] Added hooks to ToFlatJsonVisitor 2016-08-29 14:27:46 +02:00
Robert von Burg 313eaf0026 [New] New classes to flat map elements to/from Json 2016-08-26 16:43:36 +02:00
Robert von Burg d2de579b84 [New] Added convenience methods to open TXs on RestfulStrolchComponent 2016-08-26 16:43:11 +02:00
Robert von Burg 249ba41944 [New] AuthenicationRequestFilter now allows overriding of paths
This is needed to be able to add project specific unsecured paths which
should be allowed to be accessed without being authenticated
2016-08-20 13:38:12 +02:00
Robert von Burg 612745098b [Project] Set new SNAPSHOT version 1.3.0-SNAPSHOT 2016-07-05 09:57:44 +02:00
Robert von Burg 611a7c670a [Project] Set new SNAPSHOT version 1.2.1-SNAPSHOT 2016-07-05 09:56:56 +02:00
Robert von Burg e15b93e690 [Project] Set version 1.2.0 2016-07-05 09:52:34 +02:00
Robert von Burg 11ba7eb1de [Major] Moved ch.eitchnet to li.strolch 2016-06-26 11:38:41 +02:00
Robert von Burg f0bba0f915 [Major] Moving eitchnet projects into Strolch 2016-06-24 18:13:02 +02:00
Robert von Burg 14197ed644 [Major] Cleaning up parents 2016-06-24 18:00:44 +02:00
Robert von Burg c697316661 [Project] Added proper repository management 2016-04-09 14:49:20 +02:00
Robert von Burg 454b36d659 [New] Now also showing activities in model view 2016-04-08 18:04:37 +02:00
Robert von Burg 21690f7c68 [Project] Using PetitParser 2.0.3 2016-04-08 14:40:52 +02:00
Robert von Burg 2a0d7c93ab [Fix] Fixed ordering by name and type problem 2016-04-06 09:29:54 +02:00
Robert von Burg 9294711639 [Major] Now using a nice query parser for resource querying in planning 2016-04-06 09:25:55 +02:00
Robert von Burg 8a5c4468c5 [Major] Now using a nice query parser for resource querying in planning 2016-04-05 08:30:40 +02:00
Robert von Burg 5f71427d33 [New] Added a QueryParser to parse String queries to Strolch queries 2016-04-05 08:30:07 +02:00
Robert von Burg 0246adb4ab [WIP] Added Resource table loading to planning web with filter 2016-04-03 17:58:47 +02:00
Robert von Burg a74508ba12 [WIP] Added Resource table loading to planning web 2016-04-01 18:24:35 +02:00
Robert von Burg 0cadf66f3f [Major] Refactored Privilege to use separate mode files
So now users and roles are in their own files. This makes it far easier
to add new privileges without needing to take care if the user changed
their data.
2016-02-28 19:54:17 +01:00
Robert von Burg e2b3e5f7b0 [Minor] removed unnecessary else 2016-02-10 17:48:18 +01:00
Robert von Burg fba2b09e04 [New] Also write a cookie when authenticating
- and of course allow the user to authenticate using the cookie
2015-12-04 15:10:52 +01:00
Robert von Burg e6697eb9c2 [Fix] Fixing startup race condition on timeout of old sessions 2015-11-20 19:58:46 +01:00
Robert von Burg d06fe4fb04 [New][Major] Initial to JSON visitors for Resources and Orders
- added PolicyDefs to Actions
- also fixed a bug in StringSetValue().getValueAsString()
- further refactorings and clean-up
2015-11-16 22:37:00 +01:00
Robert von Burg 8e76e5658e [New] AuthenticationService now uses byte array for password 2015-10-25 11:55:28 +01:00
Robert von Burg 292050a8f9 [New] Use InvalidCredentialsException 2015-10-23 18:22:05 +02:00
Robert von Burg a22a6db408 [Fix] fixed compiler error 2015-10-16 17:59:20 +02:00
Robert von Burg c37fd20efb [Major] Added persisting and reloading of sessions 2015-10-16 17:21:49 +02:00
Robert von Burg 60300ab21d [New] Added AbstractService.runPrivilege()
- This runs the given action as the system user 'privileged'
2015-10-08 22:09:45 +02:00
Robert von Burg d8650b0ab1 [Minor] Added gson to rest 2015-09-28 11:15:07 +02:00
Robert von Burg 69eb5ccf38 [Major] Refactored query API
- Now added ordering
- added setters for visitors on query
-
2015-08-10 22:21:45 +02:00
Robert von Burg 29a88fe6ab [New] Added StrolchComponent.getConfiguration()
- and thus removed any instance variables to it in subclasses
2015-07-10 10:48:17 +02:00
Robert von Burg 521bd84ce0 [Major] StrolchComponent methods can now throw Exception
- execption handling is done in the ComponentContainerStateHandler
- clients now not need to worry about exceptions which would make them
  rethrow anyhow as a runtime exception
2015-06-11 19:19:52 +02:00