Commit Graph

164 Commits (1735d08c1deeb4cfd8a1ffa920d4ac69e9a52ede)

Author SHA1 Message Date
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
trivernis 813ddc669e Add event to get file tags
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 17edb0a72f Add tag and namespace model and socket namespace
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4cebfc7eb2 Refactor callback functions
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1769a54d53 Update rmp-ipc
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 19efd2f7d7 Update rmp-ipc
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d3ba1152ac Change thumbnail response to include more information
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 216e5892f9 Add socket event to read thumbnails
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b2c095c0a0 Add event to get file thumbnails
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 381a1fb507 Add automatic thumbnail generation on import
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bfeb946564 Add image processing functions to core
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 3d65a09e9b Add hash model
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 d62f5b38bf Add read_file event and parsing of file types from mimes
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0d26370caa Update rmp-ipc and add logging
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7715609629 Implement Deserialize and Serialize for all types
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6ffb6c5ebb Add info event
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 01b3a33099 Split features into runtime and library
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago