Commit Graph

261 Commits

Author SHA1 Message Date
22c68215b9 financer release version 4 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
91d5385dbd 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
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
1050e9b258 Prepare next development iteration for v4 2019-05-12 01:07:51 +02:00
2827297d01 Prepare next development iteration for v4 2019-05-12 01:07:51 +02:00
b68f1a58d8 financer release version 3 2019-05-12 01:06:49 +02:00
a78c0f217b financer release version 3 v3 2019-05-12 01:06:49 +02:00
bcca233aac 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
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
9282c641d1 Remove artificial restriction that account keys need to start with 'accounts.' 2019-05-12 00:43:48 +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
2e7a809dd4 Map accountOverview to / so it acts as landing page 2019-05-09 21:21:15 +02:00
b288397b7f Increase parallel deployment version to match the project version 2019-05-05 12:07:58 +02:00
03b09859a2 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
cfdd406526 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
9203bd4ca7 financer release version 2 2019-05-05 12:00:28 +02:00
9c404021c4 Introduce 'fileName' property in POM to enable adjustments of later deployment 2019-05-05 11:59:07 +02:00
6c7a418828 Update database setup guide and introduce password for DB connection 2019-05-05 11:58:09 +02:00
9c7989d7ff Prepare next development iteration for v2 2019-05-05 02:12:11 +02:00
ab3f08356e Prepare next development iteration for v2 2019-05-05 02:12:11 +02:00
ccb9845e83 financer release version 1 2019-05-05 02:08:33 +02:00
762c373104 financer release version 1 v1 2019-05-05 02:08:33 +02:00
12a8b805fa Stuff all over the place 2019-05-05 02:03:02 +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
67bd7f951a WIP Initial commit for financer web client 2019-03-24 23:28:15 +01: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
a27d26596b Add basic logging
Add basic logging of exceptions, warnings, info and debug statements.
The implementation used is Logback.
2019-03-11 21:25:22 +01:00
a0884e1f21 Fix NPE in RecurringTransactionController.createTransaction
As the amount parameter is optional it may be null - use the appropriate
Optional method ofNullable()
2019-03-11 20:32:43 +01:00