Commit Graph

70 Commits

Author SHA1 Message Date
posativ
f2eff22ff7 circumvent CGI 1.1 specs (PATH_INFO is quoted) 2012-10-19 18:58:55 +02:00
posativ
3cb623e7c2 check if url exists before creating a comment 2012-10-18 16:16:36 +02:00
posativ
2c8c97b2a8 add db.activate function and use UNIX-style permission bits for normal/activated/deleted comments 2012-10-18 15:41:12 +02:00
posativ
05336728f4 use itsdangerous 2012-10-17 22:43:51 +02:00
posativ
759b304cb5 refactor configuration variables 2012-10-17 18:32:53 +02:00
posativ
27801eef26 delete only when not referenced 2012-10-17 12:22:52 +02:00
posativ
af8fcdab19 most database operations now return Comment object 2012-10-17 12:00:11 +02:00
posativ
ca79ee5b67 rm url tests 2012-10-17 11:27:53 +02:00
posativ
e2198ed74a add update and delete views 2012-10-17 11:06:26 +02:00
posativ
1b2b4da490 fix db update 2012-10-17 10:56:43 +02:00
posativ
27007547bb return 404 if none found 2012-10-16 22:56:21 +02:00
posativ
5d23bff409 clean json fuckup and add create and get views 2012-10-16 22:52:02 +02:00
posativ
8301f0af78 replace db.initialize with db.__init__ 2012-10-16 21:30:30 +02:00
posativ
98c4b6ccb2 move Comment class to isso.models 2012-10-16 21:07:29 +02:00
posativ
36add653a7 change modified timestamp after update 2012-10-16 21:04:20 +02:00
posativ
633b0bee33 add update, get and delete methods to SQLite adapter 2012-10-16 21:00:10 +02:00
posativ
48cff63d4c add Comment.fromjson and update table definitions 2012-10-16 20:20:59 +02:00
posativ
54548d4bd5 docs and input sanitization 2012-10-16 19:32:55 +02:00
posativ
1199424a2b add basic SQLite adapter + tests 2012-10-16 19:11:59 +02:00
posativ
0333f7efb0 first tests and general code layout 2012-10-16 16:18:07 +02:00