Commit Graph

184 Commits (7047dc79036c699e8307b5dc7262cb0620bcbd27)

Author SHA1 Message Date
trivernis 12d85b50cc
Fix preset creation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5aadd9c245
Add api implementation for sorting presets
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 78a5780ff1
Add function to delete sorting presets
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c34d9d5649
Add function to add sorting presets
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3e768d7c7c
Add sorting preset dto and function to retrieve all presets
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 0378f400d7
Update dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0de740932f
Increment version to 0.13.3
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d6372d6e16
Fix tags are not searched correctly when adding
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0b511bb54f
Fix tags of untagged files cannot be edited
TG-80 #closed

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5f5af3473e
Increment version to 0.13.2
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c64881da0d
Change order of integrity check and add vacuum
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 06e43bb77e
Fix retrieval of tags for multiple cds
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 272b0bf7dc
Restructure job dao
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 e9641e604e
Improve order of execution for adding tags
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 a6da2b9e1e
Add dto objects
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 de69491a88
Increment version to 0.13.1
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 96c44d1fbc
Allow folder size scanning to fail
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9b0dbf4363
Increment version to 0.13.0
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 313d65512d
Adjust github actions
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 603b182e9f
Adjust dependency paths
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 15e31fbf79 Fix deletion not deleting thumbnails of file
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 f627015bfb Fix tag count filter sql generation
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 90b9f17be2 Update bromine
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 6dc4caebe2 Increment version
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 0d4eb47a11 Increment version to 0.9.0
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 9b1da88a32 Add icon to README
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 ff03b8a4ff Fix error when trying to initialize a repository in an non-existent path
TG-1 #closed

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 bff4499d4f Add github action ffmpeg setup task
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 019ff0a266 Add github action to build releases
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 6c51808fe0 Fix creation of duplicate tags on import
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bac13f4853 Fix issue with default paths on init
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ab16ba4873 Fix init and import command
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
trivernis 307b8c400c Rename crate to mediarepo-daemon
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 702c8ec2bd Improve thunmbnail generation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b9bf5861b6 Add support for negated tag queries
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7cf30cbfa1 Merge branch 'develop' 3 years ago
trivernis 9fde0f08e2 Use mediarepo-api for api types and remove lib config
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e06b37b400 Change name of repo in readme
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel a0c0e5727f Create LICENSE 3 years ago
trivernis 215da027ea Add README
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 15fa52b9bb Add more indices
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7abdf00db4 Add tracing output instead of log
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a99d3235a8 Add tracing and optional firechart analysis
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 19e6d21ef7 Fix file search query
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f06ed85052 Fix null checking in tag selection query
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b9468b9645 Add search function for files
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c0011b9e6e Update rmp-ipc
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago