28 Commits

Author SHA1 Message Date
Josh Stark
e7eba69e96 Implemented UI into API. Can now create/update schedules 2015-10-23 21:04:12 +01:00
Josh Stark
c15d8fca38 Start on getting config model onto page 2015-10-20 21:40:57 +01:00
Josh Stark
db60c81b4a Updated API
- Changed API to be a bit more uniform
 - Added Model->DTO conversion to stop leakage of model in API
2015-10-20 20:07:01 +01:00
Josh Stark
9aa4c3b0d1 Small refactor of log text in DownloadFilesWorkflowStep 2015-10-19 20:07:29 +01:00
Josh Stark
21f78c6bea Implemented full recursion in SFTP downloads
- If given item to download is a folder, davos will now check all
   contents and download. If any sub-items are folders, it will traverse
   that sub-item and repeat the process until complete.
 - This is a depth-first type algorithm.
2015-10-19 19:56:57 +01:00
Josh Stark
e332d356a7 Removed file-base db in config 2015-10-18 20:01:29 +01:00
Josh Stark
4895e044e4 Implemented SFTP download and listing.
- SFTP download supports 1-level directory searching and will create
   local directory to download individual files
 - Additions to logging
2015-10-18 20:00:27 +01:00
Josh Stark
034847b2d3 Implemented initial ScheduleExecutor 2015-10-18 14:22:09 +01:00
Josh Stark
37b84758ce Added updating of lastRun into config
- First cut at this action. Not completely happy with it but it should
   work
2015-10-18 13:48:41 +01:00
Josh Stark
bfbc29ddc6 Implemented TransferStrategies 2015-10-18 12:15:39 +01:00
Josh Stark
38b6ef1353 Added concept of 'Backout' in workflow steps
- A workflow step can define a 'backout'; i.e. a step to call if
   something goes wrong. This is important for steps that are dealing with
   an open connection as any open connections must be closed.
2015-10-17 17:28:29 +01:00
Josh Stark
5debe9aebd Implemented DownloadWorkflowStep
- DownloadWorkflowStep still calls next step as connection needs to be
   closed
 - Added more debug logging
2015-10-17 17:14:55 +01:00
Josh Stark
455b074bd4 Changed method signature of TransferStrategy 2015-10-17 16:32:23 +01:00
Josh Stark
b997da42db Implemented FilterWorkflowStep 2015-10-17 16:30:05 +01:00
Josh Stark
406da69330 Added INFO logging to ConnectWorkflowStep 2015-10-17 13:44:46 +01:00
Josh Stark
4cc4b6124c Implemented first schedule step / Added FTPCLient
- ConnectStep implemented and tested
 - Ported FTPClient over from old JFTP libs
 - Added some DEBUG logging around SFTP client
2015-10-17 13:40:07 +01:00
Josh Stark
28bc100670 Added patterns for schedule steps and actions
- Defined pattern for schedule workflow and steps
 - Implemented first 2 post-download actions (move, pushbullet)
2015-10-16 21:19:16 +01:00
Josh Stark
5176a12827 Update application.properties 2015-10-16 10:43:14 +01:00
Josh Stark
ba933854dc Start on initial structure of Java classes 2015-10-15 22:13:38 +01:00
Josh Stark
f64a359e75 Ensured gradle-wrapper.jar is included in git 2015-10-15 19:52:02 +01:00
Josh Stark
19885873fc Added log configuration 2015-10-15 19:38:54 +01:00
Josh Stark
acf672a8ab Merge branch 'master' of github.com:linuxserver/davos 2015-10-15 19:10:51 +01:00
Josh Stark
e43b56f49f Created initial Spring Boot application setup. Moved resources to new location 2015-10-15 19:10:46 +01:00
Josh Stark
245d1c5dbb Update README.md 2015-10-15 12:40:46 +01:00
Josh Stark
77b9bb042b Further additions to fields on Schedule edit page design 2015-10-14 19:24:51 +01:00
Josh Stark
a96cb6d9e2 Initial commit of first rough designs
- Designs for overal theme and schedule pages.
2015-10-13 21:51:01 +01:00
Josh Stark
800e08d4a1 Update README.md 2015-07-21 13:33:21 +01:00
Josh Stark
f69abb67ba Initial commit 2015-07-21 13:13:25 +01:00