Commit Graph

21 Commits

Author SHA1 Message Date
Martin Zimmermann
f0c1574c15 remove stale comments from DB, closes #9 2013-09-08 17:21:33 +02:00
Martin Zimmermann
5cad8fb8b5 clean db interface and comment model 2013-09-08 13:02:25 +02:00
Martin Zimmermann
11c6e4d720 remove email column 2013-09-06 15:56:43 +02:00
Martin Zimmermann
59706815e7 add comment.hash to recognize user by email or ip fallback
also: fixed test_comment json.dumps(json.loads(json.dumps(...)))
madness.
2013-09-05 23:09:56 +02:00
Martin Zimmermann
35926037a6 fix tests 2013-09-05 21:13:33 +02:00
Martin Zimmermann
dd4ba9263a refactor all the things (use werkzeug instead of NIH to handle WSGI)
Also: use ?uri=%2Fpath%2F as path indicator.
2013-09-02 14:44:53 +02:00
posativ
63b990838d fix tests 2012-12-16 00:31:55 +01:00
posativ
a4514e1f91 rewrite using NIH 2012-12-16 00:14:30 +01:00
posativ
66cc7911f5 limit to 20 by default 2012-10-24 23:56:52 +02:00
posativ
39899dda81 /comment/ -> /1.0/ 2012-10-23 21:09:51 +02:00
posativ
ecd4c6b120 fix an edge case, where mallory can delete comments by bo 2012-10-23 16:40:30 +02:00
posativ
d2bc2537a1 remove limit, introduced unnecessary complexity 2012-10-21 22:37:39 +02:00
posativ
443eb2bbe1 fix tests 2012-10-21 09:51:32 +02:00
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
05336728f4 use itsdangerous 2012-10-17 22:43:51 +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
e2198ed74a add update and delete views 2012-10-17 11:06:26 +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