Philipp Häfelfinger
|
dd03f75fca
|
rewrote tests to use mocks instead of the stub implementation
|
5 years ago |
Philipp Häfelfinger
|
8ed570728e
|
refactored image handling to use new local data store
|
5 years ago |
Philipp Häfelfinger
|
e0bf273e35
|
added test for SynchronizeCategories
|
5 years ago |
Philipp Häfelfinger
|
a3b3cc5b2c
|
added tests for addMissingPiwigoCategoriesToLocalDb
|
5 years ago |
Philipp Häfelfinger
|
edf5105680
|
some typos
|
5 years ago |
Philipp Häfelfinger
|
528e74b9fe
|
added some tests for createMissingCategories
fixed finding found in createMissingCategories
|
5 years ago |
Philipp Häfelfinger
|
fa54c63712
|
added tests for getParentId
fixed some small issues in getParentId
|
5 years ago |
Philipp Häfelfinger
|
7a2633d221
|
WIP: regenerated mocks
|
5 years ago |
Philipp Häfelfinger
|
4f7aa3349b
|
WIP: made it build -> will not work as all is currently commented out
|
5 years ago |
Philipp Häfelfinger
|
207580b73f
|
WIP: restructured existing code. Tests have to be added to make sure it does what it should :-D
|
5 years ago |
Philipp Häfelfinger
|
42009730b1
|
WIP: Added method to get categories that should get created on the server
|
5 years ago |
Philipp Häfelfinger
|
a364dc7a8a
|
WIP: disabled logic to make API changes less painful
|
5 years ago |
Philipp Häfelfinger
|
8c91dd2107
|
WIP: renamed function and made it package internal as it gets orchestrated by another sync function
|
5 years ago |
Philipp Häfelfinger
|
ca2620d426
|
WIP: implemented logic to update category
|
5 years ago |
Philipp Häfelfinger
|
0d7ca76b98
|
WIP: added test that existing entries should be updated
|
5 years ago |
Philipp Häfelfinger
|
550230195a
|
WIP: refactored tests
|
5 years ago |
Philipp Häfelfinger
|
41bf858523
|
WIP: Sync now saves the data
|
5 years ago |
Philipp Häfelfinger
|
b11464121c
|
added first test and empty function
|
5 years ago |
Philipp Häfelfinger
|
68aef12358
|
generated mocks
|
5 years ago |
Philipp Häfelfinger
|
0e5fcaf525
|
added CategoryProvider and CategoryData with some basic interface methods but no implementation yet
|
5 years ago |
Philipp Häfelfinger
|
710b76c79f
|
Fixed mock generation
|
5 years ago |
Philipp Häfelfinger
|
1bc176dd47
|
moved category to own package
|
5 years ago |
Philipp Häfelfinger
|
58c1f8b9ff
|
moved images to own package
|
5 years ago |
Philipp Häfelfinger
|
bd5250f0d5
|
moved datastore in own internal package
|
5 years ago |
Philipp Häfelfinger
|
582b0621c2
|
sorted image list that will be uploaded
|
5 years ago |
Philipp Häfelfinger
|
86e26b1bb5
|
switched order. delete before upload
|
5 years ago |
Philipp Häfelfinger
|
f2d83e57ea
|
optimized metadata create / update performance
|
5 years ago |
Philipp Häfelfinger
|
2e1c2c4e61
|
fixed logoutput
|
5 years ago |
Philipp Häfelfinger
|
8a361fff3c
|
added test to remove unneeded updates if a file is not found on the server
|
5 years ago |
Philipp Häfelfinger
|
e57fe635c2
|
fixed handling of upload required if there is no piwigo id
|
5 years ago |
Philipp Häfelfinger
|
c7d6fdb44f
|
updated readme
|
5 years ago |
Philipp Häfelfinger
|
435af4b591
|
added flag to enable image removal
|
5 years ago |
Philipp Häfelfinger
|
5896670c87
|
added delete images
|
5 years ago |
Philipp Häfelfinger
|
b52393feaa
|
added DeleteMarkedImages to the local datastore
|
5 years ago |
Philipp Häfelfinger
|
2c65c5827e
|
added DeleteImages to the piwigo context
|
5 years ago |
Philipp Häfelfinger
|
df349a85e6
|
added implementation for synchronizeLocalImageMetadataFindFilesToDelete
added test synchronizeLocalImageMetadataFindFilesToDelete
updated usage of entry and leave debug messages of the functions
|
5 years ago |
Philipp Häfelfinger
|
c4e33598e9
|
added ImageMetadataAll
|
5 years ago |
Philipp Häfelfinger
|
0d9579534d
|
moved the filesystem scan to a own function
|
5 years ago |
Philipp Häfelfinger
|
560f5057ac
|
added ImageMetadataToDelete to the datastore
added test if it selectes the records to delete
added todo to refactor some image tests to use the generated mocks
|
5 years ago |
Philipp Häfelfinger
|
5503a429c3
|
fixed namings and inlined som variables
|
5 years ago |
Philipp Häfelfinger
|
fc1f65ea84
|
copyright notice
|
5 years ago |
Philipp Häfelfinger
|
4aae22527c
|
introduced deferred cleanup calls
added test to ensure only files not to delete are part of the to upload list
fixed red test
|
5 years ago |
Philipp Häfelfinger
|
54bc3d603c
|
automatic codeformat
|
5 years ago |
Philipp Häfelfinger
|
5cb044d4b7
|
added deleteRequired to the database
|
5 years ago |
Philipp Häfelfinger
|
cc2656cb09
|
updated copyright notice at the top of the files
|
5 years ago |
Philipp Häfelfinger
|
9ab0ddb2d0
|
updated copyright notice at the top of the files
|
5 years ago |
Philipp Häfelfinger
|
21a3e08478
|
added tests for the filescanner using a testimage
|
5 years ago |
Philipp Häfelfinger
|
8efd309a9c
|
added some tests to the image code
|
5 years ago |
Philipp Häfelfinger
|
c9b6a7e6db
|
learned about mocking and made mocks work
added new tests for the images part of the app
added go generate info to help generate mocks for tests
|
5 years ago |
Philipp Häfelfinger
|
4fdcf5a090
|
updated readme with the part about dependencies and mocks
|
5 years ago |