github eitchtee/WYGIWYH 0.7.0

latest releases: 0.20.0, 0.19.1, 0.19.0...
14 months ago

This update brings a lot of changes, some big, some small, please read carefully:

Soft Delete

Transactions can now be soft deleted, i.e. when you delete a transaction it will be hidden, but remain in the database. This is extremely important for importing, to avoid duplicating transactions you deleted in the past.

For now only the import function checks for deleted transactions.

By default soft delete is disabled, to enable it set both variables below on your .env file:

# Enable this if you want to keep deleted transactions in the database
ENABLE_SOFT_DELETE=true
# If ENABLE_SOFT_DELETE is true, transactions deleted for more than KEEP_DELETED_TRANSACTIONS_FOR days will be truly deleted. Set to 0 to keep all.
KEEP_DELETED_TRANSACTIONS_FOR=365

Accounts' names are now unique

Due to an oversight this wasn't set earlier. If you have any accounts with duplicate names they will be appended by numbers automatically.


CSV Import is here

The much requested function to import CSV's is here, in beta. Expect bugs and breaking changes while everything gets in place.

Basic documentation can be found here.

Warning

If you're planning on using this function you'll need to add a docker volume shared between the web and procrastinate containers. See docker-compose.prod.yml for an example.


New transaction's fields

Transactions now have a bunch of new fields:

  • created_at and updated_at
  • deleted and deleted_at (for soft deletion)
  • internal_note, a non-unique field that's not visible or available trough the normal UI, but can be accessed by the API and import function. This is useful for de-duplication.
  • internal_id, a unique field that's not visible or available trough the normal UI, but can be accessed by the API and import function. This is useful for de-duplication.

PWA Support

If you're running behind a domain with https, or on localhost, you can now install WYGIWYH as an app on most modern platforms. This isn't obligatory.


Other changes

  • fix(datepicker): missing leading zeros on times by @eitchtee in #53
  • feat(datepicker): bring back today/now button behavior by @eitchtee in #54

Full Changelog: 0.6.0...0.7.0

Don't miss a new WYGIWYH release

NewReleases is sending notifications on new releases.