Philipp Häfelfinger
3c3eaa8da7
generated mocks for the datastore
5 years ago
Philipp Häfelfinger
ce64892222
added mocks for piwigo context
5 years ago
Philipp Häfelfinger
061bb112d5
formatting
5 years ago
Philipp Häfelfinger
ea4d3a28a4
a little readme fix
5 years ago
Philipp Häfelfinger
9beadfe1f8
updated readme and default config
5 years ago
Philipp Häfelfinger
f71fcefc1a
removed flag piwigoUploadChunkSizeInKB as it gets loaded from the server during login. Default is 512KB
5 years ago
Philipp Häfelfinger
44369daaa1
updated default config file
5 years ago
Philipp Häfelfinger
262307bb6f
ignore executable
5 years ago
Philipp Häfelfinger
4d50d5bb15
changed usage to piwigo interface instead of context
5 years ago
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
5 years ago
Philipp Häfelfinger
8e3c736bf9
added interfaces to the piwigo context to make testing easier
5 years ago
Philipp Häfelfinger
390a60418f
added unittest to test upload required in datastore -> probably not a good idea to set the flag here ;-)
5 years ago
Philipp Häfelfinger
28f7b6eaef
fixed messages and stop processing if no images are ready to process
5 years ago
Philipp Häfelfinger
f40308e378
fixed upload required
5 years ago
Philipp Häfelfinger
a871cfbb11
fixed missing reset of the uploadRequired flag
5 years ago
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
5 years ago
Philipp Häfelfinger
f3f864ec49
Removed old empty method
...
added synchronizePiwigoMetadata implementations to update local metadata from piwigo
5 years ago
Philipp Häfelfinger
7bf14e5ca3
Added SavePiwigoIdAndUpdateUploadFlag
5 years ago
Philipp Häfelfinger
58b5b79b34
renamed ImageUploadRequired to ImageExistOnPiwigo
...
Added ImageCheckFile to check the piwigo file state
5 years ago
Philipp Häfelfinger
00404788cb
Renamed methods as GO has no Getter or Setter
5 years ago
Philipp Häfelfinger
5166b0c6b8
started synchronization of piwigo ids and upload required
5 years ago
Philipp Häfelfinger
20eeba2615
made cookiejar internal
5 years ago
Philipp Häfelfinger
066f8f5f95
extended datastore to get the images that should be uploaded
5 years ago
Philipp Häfelfinger
798b74d071
Implemented synchronizeLocalImageMetadata to build the local image database
5 years ago
Philipp Häfelfinger
2333eccd0e
added column UploadRequired to the image metadata
5 years ago
Philipp Häfelfinger
02f59c47f9
made checksum calculator exportable to use it in the app package
5 years ago
Philipp Häfelfinger
10ffa029f8
started rethinking of the image upload process
5 years ago
Philipp Häfelfinger
faa7a33f8f
save dataStore context field as reference type
5 years ago
Philipp Häfelfinger
b917511e95
Added first datastore implementation with tests
5 years ago
Philipp Häfelfinger
9ca31bcb2b
started adding sqlite code
5 years ago
Philipp Häfelfinger
54e59a3f98
updated gitignore to ignore local database
5 years ago
Philipp Häfelfinger
5bf0b0b4e1
added first unit test
5 years ago
Philipp Häfelfinger
cd226af651
Fixed go test findings on method usage
5 years ago
Philipp Häfelfinger
2cc33641a7
moved filesystemnode to the filesystem scanner
5 years ago
Philipp Häfelfinger
105c89538e
moved imagenode to the imagelist file where it gets created
5 years ago
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 ;-)
5 years ago
Philipp Häfelfinger
eae6db1683
refactored piwigo context to a interface on most of the functions
5 years ago
Philipp Häfelfinger
6064e94858
moved piwigo authentication
5 years ago
Philipp Häfelfinger
a194e2f5ae
merged piwigo category code
5 years ago
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#
5 years ago
Philipp Häfelfinger
6ff859b57c
fixed executable name
5 years ago
Philipp Häfelfinger
96d4b70dac
updated readme
5 years ago
Philipp Häfelfinger
3e7cc0fd2d
renamed project to PiwigoDirectoryUploader
5 years ago
Philipp Häfelfinger
084b3a3e2b
Made log level configurable
...
#7
5 years ago
Philipp Häfelfinger
48a89da9a6
ignore local build executable
5 years ago
Philipp Häfelfinger
951c8249dd
removed duplicated log message
5 years ago
Philipp Häfelfinger
35a74989ed
fixed methodname to make it internal
5 years ago
Philipp Häfelfinger
e1c1f9578a
made local image preparations use channels and go routines to speed it up and use all cpu cores to calculate the md5 sums
5 years ago
Philipp Häfelfinger
cc778e5615
added sort to populate by category not by random file order
5 years ago
Philipp Häfelfinger
8659aba430
fixed log output of total file size
5 years ago