treewide: better cross-device sync capabilities; in-database storage
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id99798df6f7e4470caae8a193c2654aa6a6a6964
This commit is contained in:
parent
5521488a93
commit
f34c78b238
41 changed files with 8806 additions and 138 deletions
|
|
@ -11,9 +11,9 @@ use tower::ServiceExt;
|
|||
use pinakes_core::cache::CacheLayer;
|
||||
use pinakes_core::config::{
|
||||
AccountsConfig, AnalyticsConfig, CloudConfig, Config, DirectoryConfig, EnrichmentConfig,
|
||||
JobsConfig, PhotoConfig, PluginsConfig, ScanningConfig, ServerConfig, SqliteConfig,
|
||||
StorageBackendType, StorageConfig, ThumbnailConfig, TlsConfig, TranscodingConfig, UiConfig,
|
||||
UserAccount, UserRole, WebhookConfig,
|
||||
JobsConfig, ManagedStorageConfig, PhotoConfig, PluginsConfig, ScanningConfig, ServerConfig,
|
||||
SharingConfig, SqliteConfig, StorageBackendType, StorageConfig, SyncConfig, ThumbnailConfig,
|
||||
TlsConfig, TranscodingConfig, UiConfig, UserAccount, UserRole, WebhookConfig,
|
||||
};
|
||||
use pinakes_core::jobs::JobQueue;
|
||||
use pinakes_core::storage::StorageBackend;
|
||||
|
|
@ -127,6 +127,9 @@ fn default_config() -> Config {
|
|||
cloud: CloudConfig::default(),
|
||||
analytics: AnalyticsConfig::default(),
|
||||
photos: PhotoConfig::default(),
|
||||
managed_storage: ManagedStorageConfig::default(),
|
||||
sync: SyncConfig::default(),
|
||||
sharing: SharingConfig::default(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -156,6 +159,7 @@ async fn setup_app() -> axum::Router {
|
|||
scheduler: Arc::new(scheduler),
|
||||
plugin_manager: None,
|
||||
transcode_service: None,
|
||||
managed_storage: None,
|
||||
};
|
||||
|
||||
pinakes_server::app::create_router(state)
|
||||
|
|
@ -227,6 +231,7 @@ async fn setup_app_with_auth() -> (axum::Router, String, String, String) {
|
|||
scheduler: Arc::new(scheduler),
|
||||
plugin_manager: None,
|
||||
transcode_service: None,
|
||||
managed_storage: None,
|
||||
};
|
||||
|
||||
let app = pinakes_server::app::create_router(state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue