Commit Graph

63 Commits

Author SHA1 Message Date
d55ddb0807 financer release version 8 2019-06-16 20:25:59 +02:00
4182c38656 Fix a bug in the rec. trx. service if it has HWT 'NW' and LO on a weekend
Adjust it so that recurring transactions that have their last occurrence
(LO) on a weekend or a holiday in the near past and HWT NEXT_WORKDAY (NW)
are also grabbed. Otherwise there would never be a reminder about them.
On the actual due date the reminder is deferred because of the HWT and
for later runs it's not grabbed because of the condition
'...LastOccurrenceGreaterThanEqual(now)'.

Also add a unit test case for this. Further add better logging.
2019-06-16 11:48:03 +02:00
5356bb209f Prepare next development iteration for v8 2019-06-16 01:44:37 +02:00
f08f987fd0 financer release version 7 2019-06-16 01:43:54 +02:00
f5fac22347 Introduce new feature 'Account groups'
Account groups are a simple way to group accounts. Currently the design
of the group is very sparse and supports only a name. However, as this
feature is a stepping stone for the much bigger 'Reports' feature this
will most likely be subject to change.
With this change new accounts are also required to get assigned to a group.
2019-06-16 01:34:55 +02:00
5e12dbeb2b Bug fix for recurring transactions with HWT 'PREVIOUS_WORKDAY'
Fix the actual bug and add a test case (test case also contains a more
detailed description)
2019-06-15 23:42:16 +02:00
735a83107f Prepare next development iteration for v7 2019-06-10 22:23:47 +02:00
2fb63d757e financer release version 6 2019-06-10 22:21:59 +02:00
6b748489dc Use JPA query to query candidates for recurring transactions due today
Previously the query was autogenerated but the WHERE clause was wrong,
because the braces where at the wrong places and thus the query matched
wrong data.
2019-06-10 22:02:30 +02:00
781f0e0ac9 Re-add .gitignore file 2019-06-10 21:25:54 +02:00
adf6573429 Add parent module financer-parent
Rework POM structure:
- Move general profiles to new parent
- Add dependency management for project dependencies
- Move general properties to new parent
- Alo remove version numbers from child modules, so versioning is now done via parent
2019-06-10 12:40:49 +02:00
52525ff0d1 Add flag to control whether to remind about maturity of rec. transaction 2019-06-10 02:29:43 +02:00
4ae49df145 Prepare next development iteration for v6 2019-05-19 11:59:30 +02:00
18440694ed financer release version 5 v5 2019-05-19 11:58:39 +02:00
8a62bb8bea Fix a bug in handling of recurring transactions with HWT NEXT_WORKDAY
If a recurring transaction has its firstOccurrence on a saturday it was falsely recognized as due today, if today was a sunday
2019-05-19 11:57:57 +02:00
7d1f915dd8 Prepare next development iteration for v5 2019-05-14 20:20:11 +02:00
31faf60da1 financer release version 4 v4 2019-05-14 20:19:37 +02:00
2208348cd5 Various fixes
Use URLdecode also for the descriptions of (recurring) transactions.
Further fix a bug with recurring transactions that have a firstOccurrence date in the future.
2019-05-14 20:18:17 +02:00
148a1a4421 Handle duplicate account key issue gracefully
Change transaction propagation to SUPPORTS for that as otherwise an UnexpectedRollbackException gets thrown
2019-05-12 11:13:22 +02:00
c830a8e0b2 Fix rename script 2019-05-12 01:17:21 +02:00
2827297d01 Prepare next development iteration for v4 2019-05-12 01:07:51 +02:00
a78c0f217b financer release version 3 v3 2019-05-12 01:06:49 +02:00
8f605a17e4 Adjust log file settings
Retain max seven days of logs and change max file size to 50MB
2019-05-12 01:05:37 +02:00
c96a36f325 Remove artificial restriction that account keys need to start with 'accounts.'
Rework URL decoding into own util method because the previously used method
is only available since Java 10 (current runtime is 1.9 however).
Further adjust unit tests and test data to reflect the change.
Also add a migration script for already installed instances.
2019-05-12 00:43:28 +02:00
4e29ecff6a URL decode account key to prepare for account keys with spaces
Also extend DEBUG logging in controllers
2019-05-11 23:44:48 +02:00
4d192e30fa Disable JMX to enable seamless parallel deployments 2019-05-09 21:25:07 +02:00
b288397b7f Increase parallel deployment version to match the project version 2019-05-05 12:07:58 +02:00
137369ab58 Prepare next development iteration for v3 2019-05-05 12:01:43 +02:00
f830586a4f financer release version 2 v2 2019-05-05 12:00:28 +02:00
6c7a418828 Update database setup guide and introduce password for DB connection 2019-05-05 11:58:09 +02:00
ab3f08356e Prepare next development iteration for v2 2019-05-05 02:12:11 +02:00
762c373104 financer release version 1 v1 2019-05-05 02:08:33 +02:00
9b82084f21 Introduce 'deleted' flag to RecurringTransaction
Hard-deleting recurring transaction cannot be done reliable because a transaction may have a foreign key reference to a recurring transaction of this transaction has been created from a recurring transaction. Thus hard-deleting a recurring transaction may lead to data inconsistencies.
2019-05-05 02:01:12 +02:00
2d780267ef Yet yet yet another test commit for permissions handling 2019-04-22 21:55:14 +02:00
ab5d0e447a Yet yet another test commit for permissions handling 2019-04-22 21:51:38 +02:00
78f4dea907 Yet another test commit for permissions handling 2019-04-22 21:49:59 +02:00
c88bf83834 Another test commit for permissions handling 2019-04-22 21:40:02 +02:00
52f36ebddd Test commit for permissions handling 2019-04-22 21:25:23 +02:00
f9b448f24e Various fixes and additions all over the tree
Add a method to obtain all active recurring transactions. Add and adjust
unit and integration tests.
2019-03-24 23:20:02 +01:00
d6572e26f1 Also rename log file and embedded tomcat context path 2019-03-17 15:46:20 +01:00
0468094f3c Rename from financer to financer-server
In fact this is the server part of the financer app, so the new name is
more fitting. Also adjust the group ID accordingly, so -server and
-client can reside in the same group.

Also add property parallelDeploymentVersion as the String version
comparison of the context version is a bit quirky on Tomcat.
2019-03-17 15:33:43 +01:00
44af29c7a7 Select active Spring profile based on Maven profile
build-war uses the Spring postgres profile, default is hsqldb and dev
2019-03-16 22:52:13 +01:00
57643f5b5b Various stuff
build-war maven profile now builds a tomcat parallel deployment
compatible war file. Fix test data and integrations tests. Add a bunch
of accounts to the init data.
2019-03-16 22:27:02 +01:00
aa92718e74 Add PostgreSQL support
Therefore add migration scripts and default connection settings. Also
add a draft chapter in the documentation about how to setup the database
. Make HSQLDB the default for integration tests.
2019-03-16 00:04:13 +01:00
e9774b3b35 Add various delete methods
Add delete methods for transactions and recurring transactions. Also add
 open/close methods for accounts. Add unit tests for all new methods.
 Also JAXB is no longer a provided dependency for build-war.
2019-03-15 20:24:47 +01:00
ab7fb15254 Add integration test for RecurringTransactionController.getAll()
Also adjust .gitignore to ignore financer.log* because of rotation
2019-03-13 22:43:21 +01:00
a8d4d6682c Enable file logging and add .gitignore file 2019-03-12 22:36:09 +01:00
bae50081c2 Make financer deployable on a standalone servlet container 2019-03-12 22:28:01 +01:00
07a454e227 Various cleanups according to code check 2019-03-11 22:11:24 +01:00
0d83ea75b2 Add build-war maven profile
The profile builds a .war file with no embedded tomcat, so it can be
deployed on a standalone tomcat instance
2019-03-11 21:58:33 +01:00