Commit Graph

25 Commits (7981303d683efd20392eaabf78b9548b7fa0ba1c)

Author SHA1 Message Date
trivernis 12d85b50cc
Fix preset creation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ed68b76a42
Add sorting preset table definitions
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 426203b8e5
Improve performance of sorting data fetching
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis acdad7ac7e
Fix warnings
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 810f9986af Fix shutdown to close the repository instead of aborting completely
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f77a45e963 Implement new settings format and remove storage table
TG-16 #done
TG-67 #closed

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2a3ba0d10d Change database schema to split mandatory file data and metadata
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 77fcd2e4f5 Implement api to retrieve repository metadata
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3fb98188dc Implement filter expressions supporting AND and OR
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 165151096d Implement missing sort keys
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 89e79c63fa Fix problems with creating and mapping tags on import
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 066914f50e Update api version
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d704cc91fa Add sorting of namespaces by numeric value if it can be parsed
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e0618b5781 Add basic sorting by tags and file properties
It's currently very slow. I have to write a bulk query to retrieve all
files with tags to speed it up.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis dbe0c20f63 Add tag import to file import
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis dd912a2fc7 Move adding of files to the repo helper
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 13f3b39f8b Add thumbnail model to model subcrate
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis fd092e8f3e Add mime_type column to files
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f0709a2a4b Add socket server and initialization
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a2c6e4cdf1 Add functions to write and retrieve file contents
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b22e85c77f Add storage and inimplemented file model
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9e5d6c9bdd Restructure database crate
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 72c5796311 Add remaining entities with relations
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 551d556b75 Add first models and database connection
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d0648b556f Add migration script
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago