Nick Daly
b51ae97f5e
Moved TODOs from mailing list to source files.
2012-06-17 16:39:33 -05:00
Nick Daly
f07c62564e
Don't crash if there's no production.cfg.
2012-06-16 14:57:43 -05:00
Nick Daly
ded7cde70b
Created for later.
2012-06-16 14:42:52 -05:00
Nick Daly
affabcb45f
Simplified controllers, updated related templates.
...
We now take put and delete parameters which control the code's flow.
2012-06-16 14:42:14 -05:00
Nick Daly
7dbb3e67d2
Finished Tom's renaming.
...
learn_ and provide_service are now create_, might as well use them
that way. Added a couple line breaks.
2012-06-16 14:39:56 -05:00
Nick Daly
8422127faf
Removed irrelevant files.
2012-06-16 14:37:42 -05:00
Nick Daly
fbe00ede37
Merge branch 'santiago' of https://github.com/tomgalloway/Plinth into santiago
2012-06-15 21:41:35 -05:00
Nick Daly
10a82468ce
Updated documentation.
2012-06-15 21:39:19 -05:00
Tom Galloway
f99d2453ae
Test cases for new functions.
2012-06-15 12:14:35 +01:00
Tom Galloway
51dfa91dcf
List in wrong place.
2012-06-15 08:57:30 +01:00
Tom Galloway
e60fa63e22
Monitor controller changes.
...
I have built out the Hosting & Consuming Monitors to allow
create/delete through website of Hosts/Clients/Services/Locations.
I moved the code for this back to santiago.py to allow us to test
these create/delete operations.
2012-06-15 08:46:57 +01:00
Tom Galloway
0460318044
Merge remote-tracking branch 'upstream/santiago' into santiago
2012-06-13 14:38:24 +01:00
Nick Daly
ebf0472766
Update Santiago tests so all tests pass.
...
- Reversed the order of keys in "consuming".
- Wrap dictionaries directly, not strings of dictionaries.
2012-06-13 08:16:59 -05:00
Nick Daly
9e0379d59f
Clarified a few comments.
2012-06-13 08:15:52 -05:00
Nick Daly
38b8cdac74
Fail the message if list-keys aren't lists.
2012-06-13 08:15:38 -05:00
Tom Galloway
e215045500
Merge remote-tracking branch 'upstream/santiago' into santiago
2012-06-13 09:54:19 +01:00
Nick Daly
200357b1ff
Merge pull request #2 from tomgalloway/santiago
...
Avoid creating null listeners/senders/monitors.
2012-06-12 17:38:59 -07:00
Nick Daly
9d0921d5a5
Remove self.require_gpg.
...
Making GPG optional requires a lot more rework than I'm prepared to do
right now. GPG *is* currently the fundamental identity base of this
system and I don't know what upending that would look like. The most
likely result is that authenticated clients couldn't talk to
non-authenticated clients.
2012-06-12 19:24:51 -05:00
Tom Galloway
3309ec1868
Merge remote-tracking branch 'upstream/santiago' into santiago
2012-06-12 08:09:49 +01:00
Nick Daly
eaf14dc906
Fix variable name.
2012-06-11 21:28:14 -05:00
Nick Daly
f2b2af9f3b
Exchange encrypted JSON, not Python data.
2012-06-11 21:26:17 -05:00
Tom Galloway
2ed91f70d7
Don't try to load listeners/senders/monitors if set to None.
...
Santiago init needed to reference require_gpg.
2012-06-11 12:44:42 +01:00
Nick Daly
9bff19c827
Overcame my stupid obsession with sets.
...
They were useful, but unnecessarily complicated lots of things. Now,
all of the data is stored as a list or a dict, no more sets or
DefaultDicts.
2012-06-10 21:19:32 -05:00
Nick Daly
1c5e698122
Convert sets to lists for easier JSONification.
2012-06-10 21:02:16 -05:00
Nick Daly
093247355b
Simplify connector creation.
2012-06-10 21:01:42 -05:00
Nick Daly
c2c5cce683
Remove completed TODOs.
2012-06-10 21:00:35 -05:00
Nick Daly
445c89838a
Make IP filtering simpler. Use it everywhere.
2012-06-10 21:00:26 -05:00
Nick Daly
c9cf5d28c6
Made stop accessible.
2012-06-01 19:18:41 -05:00
Nick Daly
169b7d2037
Added Stop action.
...
Added Post, Put, and Delete to /consuming.
2012-06-01 19:17:43 -05:00
Nick Daly
2b19b2bc37
Added the other missing template.
2012-05-31 15:00:43 -05:00
Nick Daly
e8a4ca44e7
Added necessary missing templates. Oops. :)
2012-05-31 14:55:27 -05:00
Nick Daly
6ed3e2b344
Removed unnecessary test file.
2012-05-30 16:29:03 -05:00
Nick Daly
9126088e29
Santiago now handles self-monitoring.
2012-05-30 16:28:28 -05:00
Nick Daly
6859ec76c0
Updated templates.
2012-05-30 16:27:59 -05:00
Nick Daly
9da1fc8893
Add monitor controller.
2012-05-30 16:27:37 -05:00
Nick Daly
b24fc07970
Explicitly handle routes.
2012-05-30 16:27:12 -05:00
Nick Daly
7ef96dda12
Use those module-level start and stop functions.
2012-05-29 19:58:34 -05:00
Nick Daly
1aab4c98c1
Removed setup and added stop module-level function.
2012-05-29 19:58:14 -05:00
Nick Daly
4da0abfd5e
Cleaned up debug messages a little.
2012-05-29 19:57:17 -05:00
Nick Daly
8c42f7e56d
Debug now logs times too.
2012-05-29 18:39:34 -05:00
Nick Daly
118acf5c39
Converted hosting and consuming to defaultdicts.
...
Accessing the data is easier, no getters needed.
2012-05-29 18:39:12 -05:00
Nick Daly
f5c38fdf8c
Inverted consuming dictionary.
...
It now has the same structure as the hosting dictionary, making
generalized data processing *much* easier. Inverting one was an
interesting experiment, but one that didn't pan out.
2012-05-29 18:27:34 -05:00
Nick Daly
db2186f2ca
Removed protocol stuff, it's not ready yet.
2012-05-29 18:04:00 -05:00
Nick Daly
975f3e747c
Added stop to listener.
2012-05-29 17:47:22 -05:00
Nick Daly
9dbb11e4bd
Abstracted connection process somewhat.
...
Everything's data! Whee!
2012-05-29 17:46:41 -05:00
Nick Daly
5979987c45
Added support for module-leve setup and start tags.
2012-05-29 17:45:57 -05:00
Nick Daly
1ce3bb1a96
Added viewing consuming data.
2012-05-29 07:37:40 -05:00
Nick Daly
eb15e94822
Added basic GET templates.
2012-05-28 17:49:29 -05:00
Nick Daly
af8c23a332
Started building the hosting and consuming handlers.
...
- Remove todo, the idea's there.
2012-05-28 17:46:37 -05:00
Nick Daly
44495093d2
Move protocol controllers into subdirectories.
2012-05-28 17:43:24 -05:00