224 Commits

Author SHA1 Message Date
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
Nick Daly
4d2713fc86 Removed unnecessary json call. 2012-05-28 17:38:58 -05:00
Nick Daly
ecf3dfcc5d Added output format parameter TODO. 2012-05-23 21:39:25 -05:00
Nick Daly
b7c89ed1b3 Less ridiculous debugging messages. 2012-05-23 21:27:18 -05:00
Nick Daly
35d641795b Documentation updates. 2012-05-23 20:58:55 -05:00
Nick Daly
5a6f25f300 Added a querying API. 2012-05-23 20:53:57 -05:00
Nick Daly
36f8fff888 Encrypt the data store instead of signing it. v0.2.1 2012-05-16 21:09:29 -05:00
Nick Daly
1e514b57c5 The hosting and consuming data store is now signed. v0.2 2012-05-16 19:51:48 -05:00
Nick Daly
2ba96ede89 Load and save data from file correctly.
Still need to sign the data though.
2012-05-16 17:33:22 -05:00
Nick Daly
07e7195d48 TODO cleanup. :) v0.1 2012-05-15 09:28:52 -05:00
Nick Daly
602e6732ab Removed server state saving. That was a bad approach to it. 2012-05-15 09:28:43 -05:00
Nick Daly
329e92ab86 Fixed imports. 2012-05-15 08:58:15 -05:00
Nick Daly
8d44a5c12a A little doc cleanup; load named key from config. 2012-05-15 08:44:40 -05:00
Nick Daly
244d71bdb2 Moved simplesantiago to santiago. 2012-05-15 08:44:09 -05:00
Nick Daly
ec8d401ea5 Moved simplesantiago to santiago. 2012-05-15 08:42:58 -05:00
Nick Daly
c8e269faaf Removed santiago.py. 2012-05-15 08:41:02 -05:00
Nick Daly
f6b4f0cc07 It works!
- Fixed error reporting.
- Fixed variable key error.
- Added a couple debugging statements.
2012-05-15 07:36:22 -05:00
Nick Daly
96b8171871 Removed evil data-loading hack. 2012-05-15 07:35:16 -05:00
Nick Daly
328a720d72 Almost done. 2012-05-14 22:21:12 -05:00
Nick Daly
29a1b41996 Completed Santiago.handle_request's tests. 2012-05-13 10:24:28 -05:00
Nick Daly
88d35a83ca A bunch of new tests and changes to support them. 2012-05-13 09:48:31 -05:00
Nick Daly
9dca3ed02e Santiago now knows required and optional keys at class level
This abstraction makes message processing more intuitive.
2012-05-13 09:47:56 -05:00
Nick Daly
edf035c222 Renamed errors to utilities, added more utility functions. 2012-05-13 09:45:33 -05:00