Commit Graph

81 Commits (426203b8e5ed76545f5898125dbd4cc1150fa616)

Author SHA1 Message Date
trivernis 426203b8e5
Improve performance of sorting data fetching
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0378f400d7
Update dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3c005c3a7e
Add single lookup for cd-tag-mappings for better performance
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 37322b13a7
Implement integrity check
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0261d2fe3c
Remove remaining models in favour of dao-dto architecture
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 31addcda87
Move tag adding and retrieval by name to dao
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 744475dd1e
Move tag and namespace retrieval to dao
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 745c6bf856
Delete old models
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis cb493b4651
Add file dao and tag dao
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1dedd8b327
Rename mediarepo-model to mediarepo-logic crate
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ea14222e44
Add duplicate check on import
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ef30e38246 Implement api to change the status of a file
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c087f2d281 Add more tracing
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9e0c72bd66 Implement filtering based on file properties
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 796eb56a62 Add jobs to be run when opening the repository
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ff844f3156 Fix CD handling and update api types
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 8d108c699e Implement changes to size fetching api
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 bddce4d60a Implement missing client api
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis fb139c9091 Add backend wildcard support
TG-17

Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
trivernis c116b22739 Update thumbnailer
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c201e3f3d6 Implement api to store the state of the frontend
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4f631511de Implement api to store the state of the frontend
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bc5210230e Update api
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bf17174401 Update api and bromine version
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7f42804cc5 Update thumbnailer
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f6d69b4b9f Update thumbnailer
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7c155f8229 Update dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e9d5aa6122 Implement thumbnail delete command and update thumbnailer
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 699698a251 Fix mapping issues of files when sorting
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 c3b744ed02 Change implementation to store thumbnails independent from the database
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis de41cb3a9b Implement api to get metadata on a single file
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 90eae0bc16 Fix problems with logging binary data
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis de0f6fcbdf Implement api to add files
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 31f0345fbe Fix issues with windows build
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 04271b6df0 Implement api to request thumbnails of specific sizes
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ce2533292d Implement support for unix domain sockets on unix
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9b2092270a Update rmp-ipc and add dynamic tcp ports
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2735033859 Move thumbnail generation to thumbnailer crate
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 31d8c7d6fd Implement api to change the name of a file
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0d3fffe980 Implement api to create tag and change file tags
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 20f75d0983 Implement api to get tags for a list of file hashes
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1c633d9581 Change storages to be resolved by name instead of path on init
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago