Commit Graph

17 Commits

Author SHA1 Message Date
2645109839 admin: Display commit ID in admin interface 2022-01-21 08:02:23 +01:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
aebfb7bf96 sync: Add Init and Sync functions
Init initializes the directory/repository before the first use.
Sync is called to unsure the directory is up-to-date.
2021-11-14 17:30:29 +01:00
adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
aee3500fdf sync: avoid depending on database when importing files 2020-01-23 18:26:30 +01:00
3f55845374 sync: Extract function that import files from importer 2019-07-06 04:08:29 +02:00
6042f9b477 sync: check video file size during import process 2019-01-21 09:58:36 +01:00
492ab72dcd sync: read UTF8 string, don't expect sane encoding from imported files, just force it 2018-05-13 14:16:06 +02:00
dcb67fba63 Docs, docs, docs! 2018-05-13 14:15:07 +02:00
bcc598ebd5 Write docs! 2018-05-11 15:03:09 +02:00
62aea5413e use more official blake2b checksum 2018-05-11 05:27:51 +02:00
db9077a85c admin/sync: add stat method to importer 2018-01-18 12:08:12 +01:00
68bb0e6b21 admin/sync: hide full URI from error message 2018-01-17 18:52:43 +01:00
8ed23ddc7a admin: localimporter can make symlink instead of copying whole files 2018-01-17 18:52:42 +01:00
3d59042802 admin: sync.ImportFile takes Importer as first arg 2018-01-17 18:52:41 +01:00
a033f81f5f admin: new function to retrieve file content 2018-01-17 18:52:40 +01:00
8f7de926d3 admin: Implement sychronization backends
We are now able, depending on configuration, to retrieve files from either WebDAV or local file system.
2018-01-17 18:52:39 +01:00