Commit Graph

41 Commits (a11a2f3dc5d663df78dc19f230f450e9c5672866)

Author SHA1 Message Date
trivernis a11a2f3dc5
Add opt-in performance tracing telemetry
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis aa772ea173
Add tracing layer list and refactor logging implementation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a2aef104ee
Move whole main function into an async context
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2e3e55406b
Fix init when settings path doesn't exist
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 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 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 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 c201e3f3d6 Implement api to store the state of the frontend
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 c3b744ed02 Change implementation to store thumbnails independent from the database
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 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 702c8ec2bd Improve thunmbnail generation
Signed-off-by: trivernis <trivernis@protonmail.com>
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 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 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 381a1fb507 Add automatic thumbnail generation on import
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 957e618d84 Expose socket types
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 d0648b556f Add migration script
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago