Dan
ff9407aba1
Implement a storage update mechanism (for FileStorage)
...
The idea is pretty simple: get the current database version and for each
older version, do what needs to be done in order to get to the next
version state. This will make schema changes transparent to the user in
case they are needed.
2019-09-14 20:35:59 +02:00
Dan
0097df2952
Rework File and Memory storage to accommodate the new abstract class
2019-09-14 19:56:07 +02:00
Dan
1efce33070
Tiny SQL style fixup
2019-09-14 19:40:15 +02:00
Dan
e226bdbf89
Create SQLiteStorage for better abstraction
2019-09-14 19:39:47 +02:00
Dan
108fa08878
Update Storage abstract class
2019-09-14 19:39:21 +02:00
Dan
c5498c3b4e
Rename Storage .destroy to .delete
2019-09-14 19:22:08 +02:00
Dan
2983a3b87a
Workaround for SQLite VACUUM on Python 3.6.0
2019-09-09 15:45:19 +02:00
Dan
a015f998fa
Revert "Stop instantiating logger objects and directly use the logging module"
...
This reverts commit 792068d7
2019-09-08 19:24:06 +02:00
Dan
792068d7c8
Stop instantiating logger objects and directly use the logging module
2019-09-08 12:59:28 +02:00
Dan
cfd756bd24
Add log_out method
2019-09-08 11:58:34 +02:00
Dan
aa135ea457
Reformat project
2019-08-01 19:11:43 +02:00
Dan
46a03a2000
Log the invalid values when raising errors
2019-07-01 13:17:16 +02:00
Dan
40b0c57b54
Don't rename the in-memory sessions
2019-06-30 20:53:35 +02:00
Dan
83c386cbec
Use consistent naming
2019-06-30 20:53:05 +02:00
Dan
9ebf2983fe
Cast Paths to string: pathlib for older pythons doesn't properly work
2019-06-20 14:15:02 +02:00
Dan
8c96e5f46a
Smarter session migration
2019-06-20 03:31:37 +02:00
Dan
6cc9688e49
Implement FileStorage and MemoryStorage engines
2019-06-19 16:04:35 +02:00
Dan
6177abbfa4
Add Storage abstract class
2019-06-19 16:04:06 +02:00
Dan
682591ea8f
Update Auth and Session to accommodate Storage Engines
2019-06-19 16:02:29 +02:00