Commit Graph

  • bad7297c94 Fix TerminalEventHandler returning none as 'data' Kristóf Tóth 2018-07-20 20:34:18 +02:00
  • 878b6d3f2a Merge branch 'state_rewind' Kristóf Tóth 2018-07-20 15:19:53 +02:00
  • cb4ba563e9 Fix LinearFSM not being compatible with controller stuff Kristóf Tóth 2018-07-20 15:03:28 +02:00
  • 96b4e314a9 Add 'in_accepted_state' to fsm_update messages Kristóf Tóth 2018-07-20 14:39:23 +02:00
  • e1e0acb3b8 Fix FSMBase default accepted_state Kristóf Tóth 2018-07-20 14:38:26 +02:00
  • 446d453947 Make TFW lib code location a volume so controller can use it Kristóf Tóth 2018-07-20 14:37:26 +02:00
  • 3e5dd6e102 Fix typo Kristóf Tóth 2018-07-20 10:27:58 +02:00
  • bd6cdc5409 Fix stored messages growing infinitely on reloads Kristóf Tóth 2018-07-20 09:20:42 +02:00
  • 7376504dd2 Make frontend state recovery recover selected file in IDE Kristóf Tóth 2018-07-20 09:16:06 +02:00
  • a8fdd3b0d8 Refactor SnapshotProvider Kristóf Tóth 2018-07-19 16:15:54 +02:00
  • 0dd66c33bf Make error handling more robust Kristóf Tóth 2018-07-19 15:05:43 +02:00
  • a703ee821d Fix SnapshotProvider initialization stuff Kristóf Tóth 2018-07-19 14:56:59 +02:00
  • 1bb6286d24 Fix timeline property Kristóf Tóth 2018-07-19 14:29:14 +02:00
  • 889ec92928 Use UUIDs instead of commit hashes for new branch names (git ambigous) Kristóf Tóth 2018-07-19 14:26:41 +02:00
  • 98e1bbe9d6 Remove unnecessary _last_valid_tag stuff Kristóf Tóth 2018-07-19 14:25:25 +02:00
  • d8ac0dc311 Reorder SnapshotProvider methods in accordance with Uncle Bob Kristóf Tóth 2018-07-19 11:37:51 +02:00
  • c6d3b8ad21 Ensure _last_valid_branch consistency Kristóf Tóth 2018-07-19 11:31:31 +02:00
  • dd056a37bb Make coding style more consistent Kristóf Tóth 2018-07-19 11:11:56 +02:00
  • 85523ede32 Make SnapshotProvider more in line with reality Kristóf Tóth 2018-07-19 11:06:13 +02:00
  • fa3ce317f0 Rename stuff to improve code readability Kristóf Tóth 2018-07-18 16:26:10 +02:00
  • fb2beb470f Make subprocess calls fail if something goes wrong Kristóf Tóth 2018-07-18 15:50:35 +02:00
  • d306d0e484 Implement properties to get info from SnapshotProvider instance Kristóf Tóth 2018-07-18 15:47:12 +02:00
  • e80782aa6c Implement checking whether directories passed exsist Kristóf Tóth 2018-07-18 14:26:14 +02:00
  • 49e0efa4c9 Run git init only if there is no repo present Kristóf Tóth 2018-07-18 14:15:19 +02:00
  • 2f5e8d11f3 Automatically init git in SnapshotProvider Kristóf Tóth 2018-07-18 13:42:05 +02:00
  • c279b2517f Implement branching in SnapshotProvider Kristóf Tóth 2018-07-18 13:38:17 +02:00
  • 8e87025905 Implement git based fs snapshot provider Kristóf Tóth 2018-07-17 16:04:28 +02:00
  • d5feba7076 Implement HMAC signatures of fsm_update broadcast messages Kristóf Tóth 2018-07-16 14:31:52 +02:00
  • c658894c12 Implement authentication key management Kristóf Tóth 2018-07-16 14:28:40 +02:00
  • c28a66fc48 Make forward slash usage more consistent Kristóf Tóth 2018-07-16 13:30:53 +02:00
  • a79c68515b Remove controller stuff, tidy code based on pylint suggestions Kristóf Tóth 2018-07-16 11:17:06 +02:00
  • 7c13d31de0 Refactor message signing and verifying logic Kristóf Tóth 2018-07-16 10:29:06 +02:00
  • 5770e29733 Move message checksum logic to crypto.py Kristóf Tóth 2018-07-15 17:30:19 +02:00
  • b2cb60ef02 Implement message signing and verification logic Kristóf Tóth 2018-07-15 17:29:16 +02:00
  • eb2c3a8dd0 Add crypto module with HMAC-SHA256 implementation Kristóf Tóth 2018-07-15 17:27:35 +02:00
  • 16d98c75ca Add message_bytes() function to serialization module Kristóf Tóth 2018-07-15 17:26:00 +02:00
  • 646a671ff3 Add FSMAwareEventHandler which keeps track of FSM state Kristóf Tóth 2018-07-14 20:45:56 +02:00
  • 4236a17b69 Include last trigger in fsm_update messages Kristóf Tóth 2018-07-14 20:45:26 +02:00
  • 77f14df17b Implement trigger history in FSMBase Kristóf Tóth 2018-07-14 20:44:31 +02:00
  • d98ce58651 Add proper multikey support for EventHandlers with compatibility Kristóf Tóth 2018-07-14 20:06:34 +02:00
  • cfa8fc5ab6 Remove deprecated 'reset' key. Sad to see you go :( Kristóf Tóth 2018-07-13 15:42:18 +02:00
  • 688c615fd7 Implement frontend state recovery backend (partial) Kristóf Tóth 2018-07-13 15:24:45 +02:00
  • 9c20e94dd8 Implement generating single messages from a queue Kristóf Tóth 2018-07-13 14:09:13 +02:00
  • d2084b2e51 Add frontend/eventhandler message callback capabilities to ZMQWSProxy Kristóf Tóth 2018-07-13 14:08:30 +02:00
  • f6cc7ae495 Refactor ZMQWSProxy.__init__ Kristóf Tóth 2018-07-12 15:55:26 +02:00
  • da98576260 Add note on FSM update messages in API docs Kristóf Tóth 2018-07-12 15:30:10 +02:00
  • b06472ad19 Reintroduce FSM update messages with minor changes mainecoon-20180712 Kristóf Tóth 2018-07-12 15:20:35 +02:00
  • 17b24377dd Implement a ZMQ prefix-match countermeasure in EHBase Kristóf Tóth 2018-07-12 15:17:39 +02:00
  • 558e660268 Use ServerUplinkConnetor.broadcast() instead of local helper Kristóf Tóth 2018-07-12 14:58:31 +02:00
  • 381cd2b11e Simplify ServerUplinkConnector mirror logic, add broadcast support Kristóf Tóth 2018-07-12 14:57:43 +02:00
  • 9f6ac6d27e Implement optional Jinja2 templating support for YamlFSM Kristóf Tóth 2018-07-11 15:30:52 +02:00
  • 09bcb7de6b Merge branch 'fsm_as_eventhandler' mainecoon-20180711 Kristóf Tóth 2018-07-11 10:23:28 +02:00
  • 0e8f529726 Optimize FSMBase by using generators for predicate logic Kristóf Tóth 2018-07-10 15:40:10 +02:00
  • f78f01d6e1 Provide full event handler API documentation Kristóf Tóth 2018-07-10 14:37:20 +02:00
  • 5262401b18 Update README and explain TFW server behaviour better Kristóf Tóth 2018-07-07 21:30:24 +02:00
  • 57d2475ebc Fix invalid trigger killing FSMBase Kristóf Tóth 2018-07-06 15:40:27 +01:00
  • 7cfa63bacf Rename config transformation method for easier understanding Kristóf Tóth 2018-07-06 12:31:25 +01:00
  • 7f583d8d1f Improve YamlFSM initialization logic Kristóf Tóth 2018-07-06 12:27:26 +01:00
  • c7ee97f0c6 Simplify predicate finding logic YamlFSM Kristóf Tóth 2018-07-04 21:58:30 +02:00
  • 1beb419b09 Remove subprocess spawning stuff from YamlFSM for SRP Kristóf Tóth 2018-07-04 18:15:34 +02:00
  • d71a25e30a Implement subscribing predicates found in yaml Kristóf Tóth 2018-07-04 18:11:42 +02:00
  • ea76a19595 Refactor YamlFSM moar Kristóf Tóth 2018-07-04 18:00:41 +02:00
  • bfa1bffbc5 Refactor YamlFSM Kristóf Tóth 2018-07-04 16:22:03 +02:00
  • 7a92d88b73 Refactor FSMBase to subclass transitions.Machine Kristóf Tóth 2018-07-04 15:48:16 +02:00
  • 91c257554f Simplify callback monkeypatching logic in YamlFSM Kristóf Tóth 2018-07-03 20:09:47 +02:00
  • 022a997dc2 Implement monkey patching callbacks in YamlFSM config Kristóf Tóth 2018-07-03 19:06:54 +02:00
  • f575a80bd4 Implement optional delay in bash history command appending bombay-20180703 Kristóf Tóth 2018-07-03 15:22:29 +02:00
  • 5e4303ac06 Add first version of YamlFSM Kristóf Tóth 2018-07-03 15:14:00 +02:00
  • 7c0e6d49bc Handle starting TFWServer in baseimage Kristóf Tóth 2018-06-29 22:53:44 +02:00
  • 708c920784 Move FSM handling logic to an event handler Kristóf Tóth 2018-06-29 22:03:19 +02:00
  • a6563bcd89 Implement event handler base class that broadcasts everything Kristóf Tóth 2018-06-29 22:02:26 +02:00
  • 196e753fb9 Fix typo in comment Kristóf Tóth 2018-06-29 15:59:03 +02:00
  • 427694623f Rename file to harmonize with new networking code structure Kristóf Tóth 2018-06-29 15:40:07 +02:00
  • 7ed0715f4c Reorder stuff to follow the teachings of Uncle Bob Kristóf Tóth 2018-06-29 15:33:45 +02:00
  • b217ac59c8 Move message validation code to where it belongs Kristóf Tóth 2018-06-29 12:06:08 +02:00
  • 36a86b0454 Hide ZMQ serialization magic from EHConnector clients Kristóf Tóth 2018-06-29 11:58:05 +02:00
  • 934f8ec74c Hide ZMQ serialization magic from ServerConnector clients Kristóf Tóth 2018-06-29 11:50:36 +02:00
  • 1b65bd4d3d Implement message broadcasting Kristóf Tóth 2018-06-29 10:54:08 +02:00
  • f8233d51a9 Completely rework TFWServer networking 🍰 Kristóf Tóth 2018-06-28 17:33:20 +02:00
  • 3ba56a8096 Implement batch callback subscription in CallbackMixin Kristóf Tóth 2018-06-28 17:31:55 +02:00
  • 9eacf3f79c Add message queueing capabilities to MessageSender bombay-20180627 Kristóf Tóth 2018-06-27 15:48:32 +02:00
  • 83dd6ae836 Fix IdeEventHandler not working with arbitrary keys bombay-20180618 Kristóf Tóth 2018-06-18 15:13:39 +02:00
  • 20f8cdb00c Merge pull request #36 from avatao-content/sphinx-static therealkrispet 2018-06-15 11:16:47 +02:00
  • 26adada2db Merge pull request #34 from avatao-content/docs-dep therealkrispet 2018-06-15 11:16:03 +02:00
  • fa3bd1334a Fix a Sphinx warning message Paul-Emmanuel Raoul 2018-06-14 16:28:30 +01:00
  • cd2b732b8f Add Sphinx as an extra requirement to 'setup.py' Paul-Emmanuel Raoul 2018-06-14 15:52:38 +01:00
  • 2fc54832f3 Include new docs building method in readme Kristóf Tóth 2018-06-08 14:15:44 +02:00
  • 24780a9285 Strip ANSI color sequences from supervisor logs bombay-20180608 Kristóf Tóth 2018-06-08 11:07:29 +02:00
  • 2e3b49f8b5 Use update_wrapper in lazy_property update attribute info Kristóf Tóth 2018-06-05 00:15:43 +02:00
  • ab966f6d27 Merge pull request #33 from avatao-content/message-types bombay-20180604 therealkrispet 2018-06-04 22:18:25 +02:00
  • d0667253c2 Harmonize code formatting style across project Kristóf Tóth 2018-06-04 22:16:44 +02:00
  • afc84e1d1a Conciliate FileManager attribute names and formatting Kristóf Tóth 2018-06-04 21:47:10 +02:00
  • 92e9812776 Remove unnecessary additional_dirs IdeEH.__init__ argument Kristóf Tóth 2018-06-04 21:20:36 +02:00
  • edc46a8ae6 Rename LazyInitialise to make IDEs recognise it as a property Kristóf Tóth 2018-06-02 11:48:34 +02:00
  • d5b0bb4d32 Avoid potential TypeErrors using LazyInitialise Kristóf Tóth 2018-06-02 11:25:48 +02:00
  • a743b01bcf Reduce line length to 120 Kristóf Tóth 2018-06-01 17:19:58 +02:00
  • 7a67b68cba Add info on Sphinx-docs to README.md Kristóf Tóth 2018-06-01 16:23:44 +02:00
  • e80cce00f3 Add sphinx API documentation Kristóf Tóth 2018-06-01 16:20:20 +02:00
  • c0fb28c46c Stop LogMonitor on EventHandler.cleanup() in LogMonitoringEH Kristóf Tóth 2018-06-01 15:15:07 +02:00
  • 469c1e7217 Name new TFW version due to API breaking Kristóf Tóth 2018-06-01 14:24:00 +02:00