44 Commits

Author SHA1 Message Date
Josh Stark
f55fcded37 Updates to config for different environments 2015-11-02 20:36:50 +00:00
Josh Stark
0e3fdfedf0 Implemented FTPConnection
- Recursive downloading for FTP connections
 - Start of better environment config
2015-11-02 20:14:31 +00:00
Josh Stark
fccef4298e Updated UI to be more mobile friendly 2015-10-27 19:06:27 +00:00
Josh Stark
920b9b5a81 Re-added versioning 2015-10-26 20:03:52 +00:00
Josh Stark
74c31033ab Fix to lastRun 2015-10-26 19:39:21 +00:00
Josh Stark
63f9172dc4 Added automatic versioning via gradle task 2015-10-26 19:15:45 +00:00
Josh Stark
3ca80ea681 Ensured that lastRun is NEVER null 2015-10-26 18:54:38 +00:00
Josh Stark
92394302a2 Fixed issue with updating schedule zeroing lastRun 2015-10-26 18:39:32 +00:00
Josh Stark
c547476a49 Added more logging to download actions 2015-10-26 18:06:44 +00:00
Josh Stark
0db5a3e99b Changed config back to UNIX paths 2015-10-26 17:58:31 +00:00
Josh Stark
7ae33f8dd9 Fixed filtering bug
- Bug caused file to be downloaded n-times, where n is the number of
   duplicated filters. This has been fixed to return after first match of
   that filter.
 - Added ability to remove actions in UI. This is there to allow for
   reordering of actions. Proper reordering will be implemented at a later
   date
2015-10-26 17:56:42 +00:00
Josh Stark
26d984f71c Fixed failing test 2015-10-24 16:18:32 +01:00
Josh Stark
7bc79ff181 Bug fixes and additions to schedule page. Ready for alpha 2015-10-24 16:14:25 +01:00
Josh Stark
7636800e4f Added new generic API action 2015-10-24 11:27:37 +01:00
Josh Stark
9cda33806e Merge branch 'master' of github.com:linuxserver/davos 2015-10-23 21:04:35 +01:00
Josh Stark
e7eba69e96 Implemented UI into API. Can now create/update schedules 2015-10-23 21:04:12 +01:00
Josh Stark
7b1e7f9ce0 Update README.md 2015-10-20 23:19:22 +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