Commit Graph

146 Commits

Author SHA1 Message Date
Philipp Häfelfinger 5bf0b0b4e1 added first unit test 2019-03-13 00:14:19 +01:00
Philipp Häfelfinger cd226af651 Fixed go test findings on method usage 2019-03-12 23:52:04 +01:00
Philipp Häfelfinger 2cc33641a7 moved filesystemnode to the filesystem scanner 2019-03-12 23:47:19 +01:00
Philipp Häfelfinger 105c89538e moved imagenode to the imagelist file where it gets created 2019-03-12 23:46:35 +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 6064e94858 moved piwigo authentication 2019-03-11 21:47:16 +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 e1c1f9578a made local image preparations use channels and go routines to speed it up and use all cpu cores to calculate the md5 sums 2019-03-03 22:35:24 +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 8659aba430 fixed log output of total file size 2019-03-02 00:25:24 +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 665f0e18e1 fixed missing directory handling 2019-03-01 21:51:30 +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 958631df5d filtering all except png and jpg 2019-02-28 22:30:58 +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 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 d80348053e prepared some parameters 2019-02-26 00:02:22 +01:00
Philipp Häfelfinger 50e6979b00 inverted if for better readability 2019-02-26 00:00:21 +01:00
Philipp Häfelfinger 2195920b38 updated path handling 2019-02-25 23:58:44 +01:00
Philipp Häfelfinger 470df78264 error handling one more time :-D 2019-02-25 23:51:18 +01:00
Philipp Häfelfinger 1fbf889a4b fixed category path separator usage 2019-02-25 23:40:26 +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
Philipp Häfelfinger fbd92489f2 added category tree build up and missing category detection 2019-02-25 23:11:09 +01:00
Philipp Häfelfinger e6e7e46fd1 added first query to get categories
moved piwigo context to the upper package piwigo
2019-02-25 00:02:59 +01:00
Philipp Häfelfinger f65698c587 automatically add the rpc php part to the url 2019-02-24 23:39:55 +01:00
Philipp Häfelfinger b6ba48b2ab updated errorhandling again 2019-02-24 23:32:05 +01:00
Philipp Häfelfinger a897d82bfa refactored errorhandling one more time :-D 2019-02-24 23:27:31 +01:00
Philipp Häfelfinger 6472eeba37 added iniflags to support config files 2019-02-24 23:11:52 +01:00
Philipp Häfelfinger a8890c1d2d refactored error handling 2019-02-24 21:38:28 +01:00
Philipp Häfelfinger ca43177d49 code cleanup 2019-02-24 21:28:07 +01:00
Philipp Häfelfinger ff00ca9f0a format and function visibility fixed 2019-02-24 01:17:10 +01:00
Philipp Häfelfinger 4721c762f1 implemented piwigo authentication code with cookiehandling 2019-02-24 00:33:46 +01:00
Philipp Häfelfinger 37f6aefe5e formatted / restructured app folder 2019-02-23 22:02:12 +01:00
Philipp Häfelfinger 894a039591 restructured project folders 2019-02-23 21:57:54 +01:00