- Add
SUBMISSIONS.FOOTER
,JOURNALS.HEADER
, andJOURNALS.FOOTER
columns - Add bbcode setting to
SettingsTable
- Use normal class variables instead of enums for columns
Database.merge
andDatabase.copy
skip existing entries directly when replace is set toFalse
- Improve detection of plain text file
- Fix file folder error for 5.3.2 (now 5.3.4) update
- Fix backup error
- Fix broken extensions
- Fix extension error when saving submissions with special extensions
- Change
SUBMISSIONS.FILEURL
andSUBMISSIONS.FILEEXT
to lists and support multiple files per submission - Add backup method to
Database
- Change keys of
COMMENTS
table toID
,PARENT_TABLE
,PARENT_ID
- Add
COMMENTS
table
- Add boolean USERS.ACTIVE column to store whether user is active or not
- Complete rewrite with typing-powered formatting and parsing of row values
FADatabase.move_files_folder()
accepts extra argument to skip moving old files to new location
- Improved handling of
Selector
objects - Create
Selector
objects more easily via theSelectorBuilder
object
DATE
columns are now saved in ISO formatYYYY-MM-DDTHH:MM
- Use new query syntax for selection based on MongoDB queries
- Add custom exceptions for version mismatch and multiple connections errors
- Use
pathlib
for all path operations - Add
FADatabase.move_files_folder
to move files folder FADatabaseSubmissions.get_submissions_files
returnsPath
objects
- Add
FADatabaseSubmissions.get_submissions_files
to retrieve submissions files and thumbnails - Add
FADatabase.files_folder
to compute files folder path
- Change behaviour of
FADatabase.merge
to accept cursors likeFADatabase.copy
- Use custom class to handle cursors and
SELECT
results - Add copy method to database class to copy cursors to a second database
- Add method to check database version against the library's with optional exception raised on error
- Add method to check if a database has multiple connections with optional exception raised on error
FILESAVED
stores information regarding both submission files and thumbnails- Migration to Python 3.9
- Overhaul update functions with wrappers
- Improve 4.8 to 4.9 update
- Rename
FADatabase.update
tomerge
- Add
TYPE
toSUBMISSIONS
- Submissions file are now saved as
submission
instead ofsubmission.
if the extension is blank
- Rename
FILELINK
toFILEURL
- Use
|
to separate lists fields to better isolate all items
- Added
MENTIONS
toJOURNALS
- Add
USERUPDATE
column toSUBMISSIONS
andJOURNALS
to track if an item was added as a user update or not
- Added
MENTIONS
andFOLDER
toSUBMISSIONS
. RemovedGALLERY
,SCRAPS
,FAVORITES
,MENTIONS
fromUSERS
table.
- Added
FAVORITE
column toSUBMISSIONS
to hold users that have "faved" the submission
- Removed
JRNN
,SUBN
, andUSRN
counters fromSETTINGS
.
- Changes in database functions, simply update
VERSION
.
- Rename
UDATE
column inSUBMISSIONS
andJOURNALS
toDATE
. Add automatic insertion checks to all tables.
- Changes in database functions, simply update
VERSION
.
- Update
HISTORY
entry inSETTINGS
to use theList[List[float, str]]
format.
- Changes in database functions, simply update
VERSION
.
- Remove
LASTSTART
andLASTUPDATE
entries and addHISTORY
entry inSETTINGS
table.
- Add
JOURNALS
table andJOURNALS
field inUSERS
table.
EXTRAS
field inUSERS
table is changed toMENTIONS
, andextras
andExtras
folders are renamed tomentions
andmentions_all
respectively.
- Information from the database are copied over to the new version, but otherwise remain unaltered save for a few
changed column names in the
SUBMISSIONS
andUSERS
tables- Files are moved to the new structure, and the old files' folder is deleted. Only submissions files are kept starting from version 3.0.0.