summaryrefslogtreecommitdiff
path: root/src/session.ml
AgeCommit message (Collapse)Author
2018-05-21Get the show_config operation to work correctly.Daniil Baturin
2018-02-16Implement config reading functions and a minimal command line client for ↵Daniil Baturin
using them. Yes, I hate oversized commits too, but this is hard to avoid sometimes. Adjustments to the Session functions logic required to make it work: Do not try to validate the path. The validation function is geared towards validating _set_ paths, so when path lacks a value, it doesn't work right. We assume that the path has been through set at some point, so if a path currently exists in the config tree, it is also a valid path that can be used for Reference_tree.is_leaf etc.
2018-02-11Rename Util.string_of_path to string_of_list since it can be used for any lists,Daniil Baturin
not just config tree paths. Add analogous function for converting a list of strings to JSON.
2017-01-19Add basic session setup/teardown functionality to vyconfd.Daniil Baturin
2017-01-16Add client_app and user fields to session data.Daniil Baturin
I wonder if the user field should be an UID rather than name.
2016-12-30Fix missing quotes around values in Session.string_of_opDaniil Baturin
2016-12-28Add a function to convert config operations to commands.Daniil Baturin
2016-12-25Add value retrieval functions to the session module.Daniil Baturin
2016-12-15T212: use a directory (normally $program_dir/validators) for external ↵Daniil Baturin
validators. What's bad is that right now way too many things are aware of the nature of external validators, and the validators dir (formerly validators hashtable) is passed around a lot. We'll need to think it through.
2015-09-23Add delete function to session.Daniil Baturin
2015-09-23Factor out common session data into a world type.Daniil Baturin
2015-09-23Add session module stub.Daniil Baturin