Commit Graph

11 Commits

Author SHA1 Message Date
Philipp Häfelfinger ce64892222 added mocks for piwigo context 2019-03-21 22:37:08 +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 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 20eeba2615 made cookiejar internal 2019-03-17 23:48:44 +01:00
Philipp Häfelfinger cd226af651 Fixed go test findings on method usage 2019-03-12 23:52:04 +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 bfd90cf1b6 made upload of images work 2019-03-02 00:21:01 +01:00
Philipp Häfelfinger 704a3da759 small http handling optimization 2019-03-01 00:26:15 +01:00