Commit Graph

104 Commits (8bf4b82051cddd8b285b4a9ba21e3ca101620ea5)

Author SHA1 Message Date
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
trivernis 957e618d84 Expose socket types
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 33c753b135 Add all_files event
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 216120ca1d Add more functions to repo type
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 17e6e04dd3 Remove gtk stuff and add a socket crate
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 0f90ad8984 Change base of the file hash store
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9e9d15d26e Add FileHashStore to store files identified by hashes
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a10c49c2a3 Add more functionality to file model
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