Commit Graph

  • 7ba33cae07 Update README.md Kristóf Tóth 2018-03-09 11:14:00 +01:00
  • b955a570fd Fix DirectoryMonitor.stop() raising unhandled KeyError on rm -rf workdir Kristóf Tóth 2018-03-09 09:50:13 +01:00
  • 0e4be3c22f Refactor DirectoryMonitor handling in SourceCodeEventHandler Kristóf Tóth 2018-03-09 09:37:48 +01:00
  • 3b241a3930 Implement error handling in SourceCodeEventHandler.select_dir() Kristóf Tóth 2018-03-09 09:07:21 +01:00
  • 20895cb989 Add workind directory to SourceCodeEventHandler's default fileinfos Kristóf Tóth 2018-03-09 08:52:13 +01:00
  • c84b526b03 Add argument names to __init__() calls in event_handler_main.py Kristóf Tóth 2018-03-09 08:50:54 +01:00
  • 9e4fe87d84 Implement support to change working directories in SourceCodeEventHandler Kristóf Tóth 2018-03-09 08:45:30 +01:00
  • 7858caf51a Make excluded stuff in FileManager configurable from __init__() Kristóf Tóth 2018-03-09 08:41:12 +01:00
  • b224ed519d Add support to FileManager to change working directory Kristóf Tóth 2018-03-09 08:37:08 +01:00
  • 491bbe5df6 Remove ambiguous log (already logged in networking) Kristóf Tóth 2018-03-08 16:41:43 +01:00
  • af1a6261cc Refactor naming conventions: data_json -> message in TFW EventHandlers Kristóf Tóth 2018-03-08 16:11:43 +01:00
  • 36724c5c51 Implement 'tail' on stderr feedback Kristóf Tóth 2018-03-08 16:05:44 +01:00
  • f874deff6e Implement stderr feedback on deployment failure (ProcessManagingEventHandler) Kristóf Tóth 2018-03-08 16:04:35 +01:00
  • cb3d7b0e04 Merge pull request #19 from avatao-content/error_handling Bokros Bálint 2018-03-07 17:07:42 +01:00
  • 8588328a8f Improve handling of supervisor errors in ProcessManagingEventHandler Kristóf Tóth 2018-03-07 16:35:55 +01:00
  • 9b550f724d Extend ProcessManagingEventHander with deployment failure detection Kristóf Tóth 2018-03-07 15:14:33 +01:00
  • d11d9a70cb Remove TFW antipattern I wrote without thinking Kristóf Tóth 2018-03-07 14:47:24 +01:00
  • 2c816d5a38 Implement error handling on EventHandler exposing APIs Kristóf Tóth 2018-03-07 14:45:43 +01:00
  • be6f657de1 Merge pull request #18 from avatao-content/callbackmixin Bokros Bálint 2018-03-07 12:05:03 +01:00
  • 6a6236e704 Refactor callback subscription stuff to a mixin Kristóf Tóth 2018-03-07 10:12:58 +01:00
  • 6db4c80671 Merge pull request #17 from avatao-content/terminado_commands Bokros Bálint 2018-03-07 11:43:02 +01:00
  • 6d59762e2b Clean up confusing usage of data_json['data'] in TerminadoEventHandler Kristóf Tóth 2018-03-07 11:37:52 +01:00
  • cb7e8c5663 Make DirectoryMonitor.ignore setter more pythonic Kristóf Tóth 2018-03-07 11:36:21 +01:00
  • e064c34d8f Enforce HISTFILE consistency Kristóf Tóth 2018-03-07 11:34:21 +01:00
  • 4e0f95acbd Rename JOHN CENA to avataobot as per business demands Kristóf Tóth 2018-03-07 10:19:11 +01:00
  • 3cf404ee9a Implement inotify event ignoration logic Kristóf Tóth 2018-03-07 09:17:29 +01:00
  • 1165fa4ec9 Refactor pty resetting logic to TerminadoMiniServer Kristóf Tóth 2018-03-06 16:15:04 +01:00
  • e20a5dab23 Implement pty recovery Kristóf Tóth 2018-03-06 14:33:01 +01:00
  • 555d571112 Expose term_manager in TerminadoMiniServer as a property Kristóf Tóth 2018-03-06 14:28:36 +01:00
  • 021a122523 Stop HistoryMonitor in TerminadoEventHandler.cleanup() Kristóf Tóth 2018-03-06 13:16:52 +01:00
  • 02bc317009 Refactor CallbackEventHandler to be a PatternMatchingEventHandler Kristóf Tóth 2018-03-05 16:57:50 +01:00
  • d88728bb71 Implement command logging as exampe for HistoryMonitor usage Kristóf Tóth 2018-03-05 16:36:59 +01:00
  • a4b07e549e Rename & expose as property TerminadoEventHandler.monitor Kristóf Tóth 2018-03-05 16:24:36 +01:00
  • 0a20cffa09 Implement callback subscription logic in HistoryMonitor Kristóf Tóth 2018-03-05 16:23:01 +01:00
  • 7dd2512300 Fix history monitoring stuff in Dockerfile (AVATAO baseimage bashrc) Kristóf Tóth 2018-03-05 16:17:56 +01:00
  • 100ec96e63 Fix shopt magic in Dockerfile Kristóf Tóth 2018-03-05 13:30:34 +01:00
  • ac8e5506a5 Improve handling of bash history Kristóf Tóth 2018-03-04 11:28:34 +01:00
  • 82073fda8c Rename TerminadoEventHandler's key to shell for consistency Kristóf Tóth 2018-03-04 10:46:03 +01:00
  • ab76e3d024 Store length of history list requested in every case Kristóf Tóth 2018-03-03 23:02:49 +01:00
  • cc964fdf27 Strip newlines from stored history in HistoryMonitor Kristóf Tóth 2018-03-03 23:02:19 +01:00
  • 180cf41f85 Implement history reading API Kristóf Tóth 2018-03-03 22:46:14 +01:00
  • 5133806d33 Make Historymonitor.history a list instead of a deque (for slicing) Kristóf Tóth 2018-03-03 22:44:05 +01:00
  • eea6a418a8 Start work on HistoryMonitor to read command history Kristóf Tóth 2018-03-03 17:15:21 +01:00
  • 6312e22117 Make TerminadoMiniServer compatible with an external IOLoop Kristóf Tóth 2018-03-03 14:47:55 +01:00
  • 4873bbf421 Implement simple pty writing API Kristóf Tóth 2018-03-03 14:14:44 +01:00
  • c4c07a4c85 Add proof of concept for terminal pty writing Kristóf Tóth 2018-03-02 18:02:44 +01:00
  • bddc10269b Replace UniqueTermManager with SingleTermManager to support pty manipulation Kristóf Tóth 2018-03-02 18:01:00 +01:00
  • b7f9acd3b0 Expose pty reference from TerminadoMiniServer Kristóf Tóth 2018-03-02 17:05:01 +01:00
  • cc2c6009dd Delegate ownership of terminado server to TerminadoEventHandler Kristóf Tóth 2018-03-02 16:23:19 +01:00
  • 338e690842 Remove terminado from supervisor Kristóf Tóth 2018-03-02 16:18:47 +01:00
  • 0f8a1acc92 Fix magic starter macOS compatibility Kristóf Tóth 2018-03-06 13:26:41 +01:00
  • 404c88a419 Update magic starter with auto pathname detection Kristóf Tóth 2018-03-05 13:57:40 +01:00
  • cbf2caa4c3 Improve magic startup script Kristóf Tóth 2018-03-03 21:59:34 +01:00
  • 8a80797d14 Add simple script to start development backend & frontend Kristóf Tóth 2018-03-03 14:16:27 +01:00
  • c9caf56ce9 Update frontend Kristóf Tóth 2018-03-02 16:09:49 +01:00
  • a785a1a76f Merge pull request #16 from avatao-content/pmgeh_monitorpasuse_fix Bokros Bálint 2018-03-02 14:20:02 +01:00
  • 207f984db1 Delete key instead of setting it to empty string value Kristóf Tóth 2018-03-02 14:02:05 +01:00
  • 3e06f5c196 Optimize write event responses by removing unused file content Kristóf Tóth 2018-03-02 11:04:58 +01:00
  • cb88acb54f Fix ProcessMonitor pausing being useless due to pmgeh refactor Kristóf Tóth 2018-03-02 10:43:09 +01:00
  • 715e39af0d Expose DirectoryMonitor instance from SourceCodeEventHandler Kristóf Tóth 2018-03-02 10:23:10 +01:00
  • e451de2179 Implement DirectoryMonitor support in ProcessManagingEventHandler Kristóf Tóth 2018-03-02 10:21:56 +01:00
  • feb946a1bb Merge pull request #15 from avatao-content/pmgeh Bokros Bálint 2018-02-28 17:57:27 +01:00
  • e29b300925 Refactor ServerUplinkConnector to avoid passing redundant data Kristóf Tóth 2018-02-28 15:57:44 +01:00
  • 9eaced9f02 Remove unused __init__ attributes from pmgeh related classes Kristóf Tóth 2018-02-27 16:51:10 +01:00
  • 7d5b93077f Merge pull request #14 from avatao-content/fsm_api Bokros Bálint 2018-02-27 16:48:11 +01:00
  • a6bbe6df55 Update SupervisorMixin users to support stateless API Kristóf Tóth 2018-02-27 15:54:31 +01:00
  • 789db7416d Refactor SupervisorMixin to be stateless Kristóf Tóth 2018-02-27 15:54:10 +01:00
  • 57bd2aec45 Implement uplink notifications in ProcessManagingEventHandler Kristóf Tóth 2018-02-27 15:26:16 +01:00
  • b50a2e401f Update ProcessManagingEventHandler to support new architecture Kristóf Tóth 2018-02-27 14:39:54 +01:00
  • 3341e97ef6 Fix anchor->key refactor conflicts after rebase Kristóf Tóth 2018-02-27 14:11:13 +01:00
  • c96f50711d Add ProcessManagingEventHandler to event_handler_main Kristóf Tóth 2018-02-21 14:44:49 +01:00
  • 387d07bc4a Remove SupervisorMixin from ProcessManagingEventHandler Kristóf Tóth 2018-02-21 14:43:48 +01:00
  • 3506f5abb4 Fix ProcessMonitor not being compatible with SupervisorMixin Kristóf Tóth 2018-02-20 16:38:51 +01:00
  • 69c998bfde Rename ProcessManager.__init__() arguments to be more specific Kristóf Tóth 2018-02-20 16:29:19 +01:00
  • 8d8b60d143 Refactor ProcessManagingEventHandler Kristóf Tóth 2018-02-20 14:45:16 +01:00
  • a50a173f54 Implement ProcessManagingEventHandler Kristóf Tóth 2018-02-16 12:07:16 +01:00
  • 58d2977731 Merge pull request #13 from avatao-content/bottomless_pit Bokros Bálint 2018-02-26 17:06:22 +01:00
  • f21036091c Expose TFWServer.fsm_manager as a property Kristóf Tóth 2018-02-27 13:39:31 +01:00
  • 770123310a Refactor FSMManager.(un)?subscribe() family of methods to accept lists Kristóf Tóth 2018-02-26 17:52:34 +01:00
  • 5d7223779a Rework FSMManager predicate contract Kristóf Tóth 2018-02-26 17:47:35 +01:00
  • 250b9da6d6 Fix FSMManager.unsubscribe_predicate() Kristóf Tóth 2018-02-26 16:20:28 +01:00
  • 78b689f650 Rename FSMManager handler -> predicate so it actually makes some sense Kristóf Tóth 2018-02-26 15:54:10 +01:00
  • 7e8ea0c7ac Make FSM triggering dependent on FSMManager Kristóf Tóth 2018-02-26 15:08:29 +01:00
  • 50c940b21d FSMManager no longer owns the managed FSM Kristóf Tóth 2018-02-26 15:07:37 +01:00
  • 5776400990 Make FSMManager.fsm a property Kristóf Tóth 2018-02-26 15:02:06 +01:00
  • 25fd71a2b8 Add message argument to FSMManager.trigger() Kristóf Tóth 2018-02-26 15:01:26 +01:00
  • 47a4e078de Replace homemade hacky defaultdict with defaultdict ¯\_(ツ)_/¯ Kristóf Tóth 2018-02-26 15:00:17 +01:00
  • 5e9eb88bfc Implement crude FSMManager – wip Kristóf Tóth 2018-02-26 14:26:14 +01:00
  • 41a32437b2 Merge pull request #13 from avatao-content/bottomless_pit Bokros Bálint 2018-02-26 17:06:22 +01:00
  • 76456b36de Enable proxying of Triggerless messages in TFWServer Kristóf Tóth 2018-02-23 15:14:23 +01:00
  • cf4a5bc09d Refactor FSMUpdate message sending logic to class FSMUpdater Kristóf Tóth 2018-02-23 14:55:58 +01:00
  • 940e74d6da Implement triggered and triggerless EventHandler base classes Kristóf Tóth 2018-02-23 14:07:41 +01:00
  • fd1cb100ad Unify (key, response) ordering Kristóf Tóth 2018-02-23 12:13:19 +01:00
  • 38ca56fa9d Fix generate_fsm_update() not listing valid transitions properly Kristóf Tóth 2018-02-23 12:08:14 +01:00
  • ecbb61a862 Overhaul WS->ZMQ proxying Kristóf Tóth 2018-02-23 12:07:30 +01:00
  • 26538a4ad9 Make ZMQWebSocketHandler "abstract" Kristóf Tóth 2018-02-21 16:46:25 +01:00
  • 31ba6cb623 Rename anchor -> key globally ¯\_(ツ)_/¯ Kristóf Tóth 2018-02-21 15:28:16 +01:00
  • 654ddacb74 Merge pull request #12 from avatao-content/multi_websockets Bokros Bálint 2018-02-19 10:08:40 +01:00
  • 609cd19589 Remove unnecessary super call Bálint Bokros 2018-02-19 10:02:42 +01:00
  • acb292460f Log token setup failure properly Bálint Bokros 2018-02-19 09:49:51 +01:00