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
28f7b6eaef
fixed messages and stop processing if no images are ready to process
2019-03-20 00:31:23 +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
00404788cb
Renamed methods as GO has no Getter or Setter
2019-03-19 21:21:45 +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
10ffa029f8
started rethinking of the image upload process
2019-03-16 00:11:57 +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
b089bf34ee
merged all picture code in one go file as it is small and go works with different rules for handling code files than c#
2019-03-11 21:42:20 +01:00
Philipp Häfelfinger
3e7cc0fd2d
renamed project to PiwigoDirectoryUploader
2019-03-03 23:44:13 +01:00
Philipp Häfelfinger
951c8249dd
removed duplicated log message
2019-03-03 23:21:46 +01:00
Philipp Häfelfinger
cc778e5615
added sort to populate by category not by random file order
2019-03-02 00:32:15 +01:00
Philipp Häfelfinger
bfd90cf1b6
made upload of images work
2019-03-02 00:21:01 +01:00
Philipp Häfelfinger
515a3c6950
added category output
2019-03-01 21:51:37 +01:00
Philipp Häfelfinger
930d27bff7
fixed namespace and clone target
2019-03-01 21:36:16 +01:00
Philipp Häfelfinger
704a3da759
small http handling optimization
2019-03-01 00:26:15 +01:00
Philipp Häfelfinger
28f89c54d5
started upload file implementation
2019-03-01 00:14:52 +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
2808c85147
added md5 sums to the local file upload indexing
2019-02-27 22:11:47 +01:00
Philipp Häfelfinger
643729af1f
started coding of image handling
2019-02-27 00:09:41 +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