Commit Graph

14 Commits

Author SHA1 Message Date
Trenton Holmes 1df517afd3 Removes last vestiges of PNG from the tests, code, docs and samples 2022-06-11 14:20:50 -07:00
Trenton Holmes 12cdcf7681 Adds information system check for PNG thumbnail existence 2022-06-10 08:56:55 -07:00
Trenton Holmes 1771d18a21 Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
kpj fc695896dd Format Python code with black 2022-02-27 15:26:41 +01:00
jonaswinkler b7d310ef90 more tests 2020-12-22 13:04:08 +01:00
jonaswinkler ecfae9dadd fixed some issues with the ordering, test cases and migrations. 2020-12-16 18:40:19 +01:00
Jonas Winkler 0421031128 add some more checks. 2020-11-12 21:20:12 +01:00
Jonas Winkler 11adc94e5e mode change 2018-09-06 12:00:01 +02:00
Jonas Winkler 75beb91791 added options to change database backend 2018-07-15 13:40:38 +02:00
Daniel Quinn d37aabfb06 Put imports at the top 2018-06-17 20:14:46 +01:00
Erik Arvstedt b3624f6375 Improve password check
1. Fail when the db contains encrypted docs and no password is set.
   Previously, this case wasn't detected.

2. Exit with an error instead of showing warnings.
   This ensures that we never store docs with different encryption passwords.
2018-06-17 20:07:32 +01:00
Daniel Quinn a1cb67c4ce Don't check changed passphrase if no passphrase set 2018-05-28 12:58:28 +01:00
Daniel Quinn 52b0249d71 Don't run document checks if table doesn't exist yet 2018-05-28 12:58:28 +01:00
Daniel Quinn f72fa43e86 Add check for changed password
These tests are incomplete, but I have no idea how to write the other
half.
2018-05-28 12:58:28 +01:00