Robert von Burg
1c2d048c45
[Major] Only use tx.get*Map() if you really need it!
2018-06-22 13:14:14 +02:00
Robert von Burg
2ee6f9a689
[Project] Fixed db test user examples in README.md
2018-06-18 11:07:34 +02:00
Robert von Burg
224a082f31
[Fix] Fixed Parsing date vor Version
2018-05-28 15:16:38 +02:00
Robert von Burg
2336121cc8
[Fix] Fixed Parsing date vor Version
2018-05-28 15:04:24 +02:00
Robert von Burg
3b69dc3354
[Major] Replaced ISO8601 formatting and parsing with JDK
2018-05-28 11:29:59 +02:00
Robert von Burg
c321712150
[Major] Refactored PosgreSQL persistence for easier extension
2018-05-26 13:21:22 +02:00
Robert von Burg
7bac0953bf
[Minor] Code cleanup
2018-03-27 16:52:00 +02:00
Robert von Burg
2907df815a
[Project] Added privilege StrolchSearch
2018-03-20 07:46:50 +01:00
Robert von Burg
fee696a5ef
[Fix] Fixed compile errors
2018-03-14 10:10:01 +01:00
Robert von Burg
315879ebe1
[Major] (Re-)Implemented XML Persistence
2018-02-27 09:00:26 +01:00
Robert von Burg
f3ea159052
[Major] RIP transactional mode
2018-02-09 22:16:34 +01:00
Robert von Burg
0d42defd2a
[Major] Reworked visitors: StrolchElement.accept(StrolchElementVisitor)
2018-02-09 11:32:50 +01:00
Robert von Burg
2d60a352b4
[Fix] Fix not allow to re-add removed element with versioning enabled
2017-11-01 10:15:21 +01:00
Robert von Burg
2cb799dfb4
[Major] Removed the need for javax.xml.bind.* imports. Using gson
2017-09-29 15:57:21 +02:00
Robert von Burg
76e7403974
[Project] Update all dependencies and plugin dependencies in pom.xml
2017-09-28 19:11:34 +02:00
Robert von Burg
f4e1ba83ee
[Minor] code cleanup
2017-09-28 19:09:08 +02:00
Robert von Burg
a27e9a2999
[Project] Set new snapshot version 1.6.0-SNAPSHOT
2017-08-24 14:11:29 +02:00
Robert von Burg
13d8ae3595
[Fix] Also add *.sql to jar
2017-08-22 17:49:58 +02:00
Robert von Burg
2863a5746b
[Fix] Fixed wrong filtering of resources
2017-08-18 09:46:54 +02:00
Robert von Burg
1183000520
[Major] Implemented privilege checking for DAO
...
Now the PrivilegeConfig.xml must include:
<Policies>
<Policy name="ModelPrivilege"
class="li.strolch.runtime.privilege.ModelPrivilege" />
</Policies>
And PrivilegeRoles.xml must include:
<Role>
<Privilege name="GetResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="GetOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="GetActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="AddResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="AddOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="AddActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="UpdateResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="UpdateOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="UpdateActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="RemoveResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="RemoveOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="RemoveActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
</Role>
2017-07-24 20:07:10 +02:00
Robert von Burg
c0cc6f57cb
[Major] Added add, update and remove methods to TX for elements
...
Moved add, update and remove commands to agent package
2017-07-24 13:51:17 +02:00
Robert von Burg
5244cf579d
[Fix] fixed broken test
2017-06-21 13:51:56 +02:00
Robert von Burg
ad8f0220e9
[Project] filter all property files
2017-06-20 15:38:46 +02:00
Robert von Burg
08631498dc
[Major] Creating LogMessages for exceptions in Migrations, TX, Execution
2017-06-14 15:54:58 +02:00
Robert von Burg
4c9e66876a
[Major] Privilege passwords are now salted!
2017-05-22 14:37:48 +02:00
Robert von Burg
f87c42f399
[Project] switched tests to use logback-classic
2017-05-22 09:50:48 +02:00
Robert von Burg
3622339896
[Major] Total refactoring of StrolchElementVisitor hierarchy
2017-05-17 09:20:27 +02:00
Robert von Burg
464fa8ac4a
[Minor] fixed broken test
2017-05-16 15:39:15 +02:00
Robert von Burg
f331babd3d
[Minor] Small fixes
2017-04-25 19:47:15 +02:00
Robert von Burg
476bd0f728
[Fix] Fixed migration scripts and added missing states in DB
2017-04-11 11:05:07 +02:00
Robert von Burg
6afba02c59
[Major] Implemented querying Activities by state and resolves #3
2017-04-06 10:02:04 +02:00
Robert von Burg
e0149cc4b0
[Major] Removed many visitors and implemented proper visitor pattern...
2017-03-02 16:52:50 +01:00
Robert von Burg
a963b1e94e
Added date range parameter tests
2016-12-07 14:42:07 +01:00
Robert von Burg
905db8c297
[Project] Set new version 1.5.0-SNAPSHOT
2016-11-03 12:07:38 +01:00
Robert von Burg
8c429ccb19
[Fix] Fixed version when loading from PostgreSQL
2016-09-30 10:12:59 +02:00
Robert von Burg
8392ab24d8
[Fix] Fixed PostgreSQL migration script
2016-09-29 17:37:01 +02:00
Robert von Burg
3aea4a223c
[Fix] Fixed PostgreSQL migration script
2016-09-29 17:29:04 +02:00
Robert von Burg
32438778b3
[Fix] Fixed PostgreSQL migration script
2016-09-29 17:20:04 +02:00
Robert von Burg
48caa84903
[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 15:54:30 +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
b4bc62d11c
[Major] Implemented first version of Activity execution
2016-09-23 14:03:42 +02:00
Robert von Burg
d413794213
[Major] Added Activity.TimeOrdering and updated Model XSD
2016-09-23 10:53:37 +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
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
acf3c12313
[Fix] Fixed errors due to new feature versioning
...
* When initializing the version was not set
* template copies had a version set
2016-08-20 18:24:21 +02:00
Robert von Burg
07daf34f86
[Major] Implemented opt-in versioning
...
- fixing remaining PostgreSQL DAO tests
2016-08-08 09:30:56 +02:00
Robert von Burg
8c4c8e539e
[Major] Implemented opt-in versioning
...
- Implemented marshalling of Version
- Added further tests for marshalled version
- added version in deep equals
- fixing further tests
2016-08-07 17:47:52 +02:00
Robert von Burg
26961b33cc
[Major] Implemented opt-in versioning
...
- adding versioning tests
- fixing broken tests
- implemented missing PostgreSQL DAO methods
2016-08-07 11:49:36 +02:00
Robert von Burg
9dc09515e9
[Major] Implemented opt-in versioning
...
Now all root elements have a version, and if the realm has versioning
enabled, then actions through the ElementMap lead to new versions being
created. There are also methods to revert/undo changes to an object.
Some tests are still failing, this will be fixed later
2016-08-05 20:24:23 +02:00