Commit Graph

42 Commits

Author SHA1 Message Date
Philipp Häfelfinger d95dcecda2 moves all flags from the entry point to flags.go 2020-04-14 23:14:11 +02:00
Philipp Häfelfinger e07a12409b adds support for file exteions and directory ignores to the local scanner
still some todos left
2020-04-14 01:08:07 +02:00
Philipp Häfelfinger 059b2df215 made upload run in parallel with 4 as default 2019-04-08 23:08:27 +02:00
Philipp Häfelfinger b99e990747 reenabled whole workflow and made it build 2019-04-06 22:48:11 +02:00
Philipp Häfelfinger 4f7aa3349b WIP: made it build -> will not work as all is currently commented out 2019-04-04 16:14:34 +02:00
Philipp Häfelfinger a364dc7a8a WIP: disabled logic to make API changes less painful 2019-04-04 15:51:29 +02:00
Philipp Häfelfinger 1bc176dd47 moved category to own package 2019-04-02 21:58:54 +02:00
Philipp Häfelfinger 58c1f8b9ff moved images to own package 2019-04-02 21:45:46 +02:00
Philipp Häfelfinger 86e26b1bb5 switched order. delete before upload 2019-03-25 23:40:28 +01:00
Philipp Häfelfinger 435af4b591 added flag to enable image removal 2019-03-24 23:58:35 +01:00
Philipp Häfelfinger 9ab0ddb2d0 updated copyright notice at the top of the files 2019-03-23 22:40:56 +01:00
Philipp Häfelfinger 061bb112d5 formatting 2019-03-21 22:31:16 +01:00
Philipp Häfelfinger f71fcefc1a removed flag piwigoUploadChunkSizeInKB as it gets loaded from the server during login. Default is 512KB 2019-03-20 23:51:01 +01:00
Philipp Häfelfinger 4d50d5bb15 changed usage to piwigo interface instead of context 2019-03-20 23:30:04 +01:00
Philipp Häfelfinger b326b0da84 added uploadImages
added piwigo image id to upload to support file updates
added noUpload flag to do all but skip file upload
changed metadata filepath to full file path
moved category detection during local file metadata generation
2019-03-20 23:15:41 +01:00
Philipp Häfelfinger 8e3c736bf9 added interfaces to the piwigo context to make testing easier 2019-03-20 21:41:41 +01:00
Philipp Häfelfinger 8068d829fe Refactored piwigo context to a object oriented implementation
Optimized http calls to reuse more code and DRY
Interface for PiwigoContext WIP
Naming WIP
2019-03-20 00:17:58 +01:00
Philipp Häfelfinger f3f864ec49 Removed old empty method
added synchronizePiwigoMetadata implementations to update local metadata from piwigo
2019-03-19 23:08:28 +01:00
Philipp Häfelfinger 5166b0c6b8 started synchronization of piwigo ids and upload required 2019-03-17 23:57:28 +01:00
Philipp Häfelfinger 798b74d071 Implemented synchronizeLocalImageMetadata to build the local image database 2019-03-17 23:11:56 +01:00
Philipp Häfelfinger 5a4c133f27 moved app types to appContext.go and added some methods
moved piwigo login from app.go to piwigoContext.go
Updated visibility of some types
Added first elements of the local data store including configuration on startup and flag
yea yea... I know, the commit contains to many changes ;-)
2019-03-12 23:44:05 +01:00
Philipp Häfelfinger eae6db1683 refactored piwigo context to a interface on most of the functions 2019-03-11 22:16:55 +01:00
Philipp Häfelfinger 6064e94858 moved piwigo authentication 2019-03-11 21:47:16 +01:00
Philipp Häfelfinger 3e7cc0fd2d renamed project to PiwigoDirectoryUploader 2019-03-03 23:44:13 +01:00
Philipp Häfelfinger bfd90cf1b6 made upload of images work 2019-03-02 00:21:01 +01:00
Philipp Häfelfinger 930d27bff7 fixed namespace and clone target 2019-03-01 21:36:16 +01:00
Philipp Häfelfinger 45db2fe79b made app context internal to the app parts 2019-02-27 22:13:23 +01:00
Philipp Häfelfinger 2808c85147 added md5 sums to the local file upload indexing 2019-02-27 22:11:47 +01:00
Philipp Häfelfinger 669bb18cf4 made category create work 2019-02-26 22:50:33 +01:00
Philipp Häfelfinger d80348053e prepared some parameters 2019-02-26 00:02:22 +01:00
Philipp Häfelfinger 470df78264 error handling one more time :-D 2019-02-25 23:51:18 +01:00
Philipp Häfelfinger 6df316fe19 restructured the app code a bit
updated errorhandling to make exit codes only in app.go
2019-02-25 23:36:18 +01:00
Philipp Häfelfinger fbd92489f2 added category tree build up and missing category detection 2019-02-25 23:11:09 +01:00
Philipp Häfelfinger e6e7e46fd1 added first query to get categories
moved piwigo context to the upper package piwigo
2019-02-25 00:02:59 +01:00
Philipp Häfelfinger f65698c587 automatically add the rpc php part to the url 2019-02-24 23:39:55 +01:00
Philipp Häfelfinger b6ba48b2ab updated errorhandling again 2019-02-24 23:32:05 +01:00
Philipp Häfelfinger a897d82bfa refactored errorhandling one more time :-D 2019-02-24 23:27:31 +01:00
Philipp Häfelfinger 6472eeba37 added iniflags to support config files 2019-02-24 23:11:52 +01:00
Philipp Häfelfinger a8890c1d2d refactored error handling 2019-02-24 21:38:28 +01:00
Philipp Häfelfinger ff00ca9f0a format and function visibility fixed 2019-02-24 01:17:10 +01:00
Philipp Häfelfinger 4721c762f1 implemented piwigo authentication code with cookiehandling 2019-02-24 00:33:46 +01:00
Philipp Häfelfinger 37f6aefe5e formatted / restructured app folder 2019-02-23 22:02:12 +01:00