Commit Graph

16 Commits

Author SHA1 Message Date
Philipp Häfelfinger 4d50d5bb15 changed usage to piwigo interface instead of context 2019-03-20 23:30:04 +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 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 a194e2f5ae merged piwigo category code 2019-03-11 21:45:46 +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 a4a6cce943 made finding missing files work 2019-02-27 23:26:18 +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 5ea9fa2911 optimized handling if no category is missing 2019-02-26 22:55:45 +01:00
Philipp Häfelfinger 9e20d4ecc2 removed blocking error message 2019-02-26 22:51:42 +01:00
Philipp Häfelfinger 669bb18cf4 made category create work 2019-02-26 22:50:33 +01:00
Philipp Häfelfinger 50e6979b00 inverted if for better readability 2019-02-26 00:00:21 +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