263 Commits

Author SHA1 Message Date
Nick Daly
b6b1736f43 Created new Learn handler. v0.3 2012-06-28 22:42:31 -05:00
Nick Daly
8870af39f3 Removed outdated handlers. 2012-06-28 22:42:09 -05:00
Nick Daly
fa44235241 Ate some whitespace. 2012-06-28 22:40:47 -05:00
Nick Daly
8e6d6613f0 Removed some completed TODOs. 2012-06-28 22:40:19 -05:00
Nick Daly
2f13741896 Started building clients. 2012-06-28 00:45:16 -05:00
Nick Daly
a464841867 Added escaped JSON output. 2012-06-28 00:34:08 -05:00
Nick Daly
13a2880fa0 Properly escape output to prevent XSS. 2012-06-28 00:33:10 -05:00
Nick Daly
d71f7d9f48 Added some FIXMEs. Ugh. 2012-06-28 00:31:39 -05:00
Nick Daly
388d6a4d51 Started adding JSON output. 2012-06-26 20:53:18 -05:00
Nick Daly
a6cb8bf916 New TODO: don't be stupid with remote execution. 2012-06-26 20:49:40 -05:00
Nick Daly
fcb23166e2 Started filling out test _controller. 2012-06-26 20:48:56 -05:00
Nick Daly
5f1998c5b4 Moved Privoxy todos into Privoxy repository. 2012-06-26 20:48:16 -05:00
Nick Daly
f5a36f94c8 Renamed http encoding to html. 2012-06-26 20:47:49 -05:00
Nick Daly
c8987ad96b Renamed templates in preparation for other formats. 2012-06-18 10:41:26 -05:00
Nick Daly
278f060fbd Renamed templates. 2012-06-18 09:10:45 -05:00
Nick Daly
075ca80812 Cleaned up and simplified tests.
- Removed old documentation.
- Removed old, unused, tests.
- Simplified the hosting and consuming tests.
2012-06-18 09:02:02 -05:00
Nick Daly
01998366a2 Fix uninitialized variable error. 2012-06-18 09:00:15 -05:00
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