Martin Zimmermann
b65b86d664
fix german utils.ago strings
2013-09-09 14:14:10 +02:00
Martin Zimmermann
9484a8fa6f
add heading 'Kommentieren' etc.
2013-09-09 14:13:34 +02:00
Martin Zimmermann
18ebf6f95a
disable threading, use processes
2013-09-09 14:13:05 +02:00
Martin Zimmermann
3037f5926d
clean imports and remove old code
2013-09-09 13:37:57 +02:00
Martin Zimmermann
56ea90d7e0
JavaScript Identicons (awww), closes #8
2013-09-09 13:27:35 +02:00
Martin Zimmermann
bebda530b6
clear comment that still has references
2013-09-09 13:24:47 +02:00
Martin Zimmermann
413fb0c9a6
automatically update time(ago) every minute
2013-09-09 13:24:03 +02:00
Martin Zimmermann
fa277c98c1
disable scrollIntoView
2013-09-09 13:23:18 +02:00
Martin Zimmermann
20f82dcfcd
fix disqus import
2013-09-08 17:37:26 +02:00
Martin Zimmermann
aecab5cf01
scoll into view
2013-09-08 17:24:54 +02:00
Martin Zimmermann
f0c1574c15
remove stale comments from DB, closes #9
2013-09-08 17:21:33 +02:00
Martin Zimmermann
f1ffe444bc
don't remove root msg box on submit, but clear fields
2013-09-08 14:17:46 +02:00
Martin Zimmermann
449c838be3
REMOTE_ADDR is not unicode
2013-09-08 14:13:17 +02:00
Martin Zimmermann
5cad8fb8b5
clean db interface and comment model
2013-09-08 13:02:25 +02:00
Martin Zimmermann
c7ee35423b
implement db backend for votes/likes #5
2013-09-06 17:19: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
f6271e5cf6
commit work in progress
...
completely revamp JS client because JS sucks^W^W^W to feature AMD,
require.js, promises and HTML.js.
The comment listing is now more like Disqus and for now comment
retrieval, comment creation and deletion works. Form validation is
rudimentary implemented as well.
replaced Mako with Jinja2 (because... I forgot.), admin interface will
use Bootstrap™ but is not functional yet.
features a progress indicator in case you're sqlite db performs *really*
bad
2013-09-05 19:31:18 +02:00
Martin Zimmermann
7e6fa0438b
use argparse and configparser
2013-09-03 13:40:40 +02:00
Martin Zimmermann
2d075f867a
move code around™
2013-09-03 12:15:43 +02:00
Martin Zimmermann
cb20f159fb
add bootstrap 2.3.2
2013-09-02 14:58:07 +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
Martin Zimmermann
76d6d46521
add progress bar to migration
2013-09-02 14:22:08 +02:00
Martin Zimmermann
57fa577e54
whatever I made there
2013-09-01 23:40:55 +02:00
posativ
26c74cb521
admin.js now used isso.js as API
...
JS is a horrible language. The more you try to modularize and DRY
it, the greater the LoC grows...
2012-12-17 00:06:46 +01:00
posativ
261f2fe18e
introduce namespaces for JS and trying to escape the pyramid of doom
2012-12-16 23:29:07 +01:00
posativ
525a2828c5
fix Makefile and move utilities to js/utils.js
2012-12-16 20:29:18 +01:00
posativ
a753045f8b
some documentation and move login to /admin/
2012-12-16 19:54:56 +01:00
posativ
588a8c306b
approved comments now move to recent comments
2012-12-16 18:13:03 +01:00
posativ
65c2fce636
better admin 'theme', 304 Not Modified support and minor improvements
2012-12-16 17:59:20 +01:00
posativ
eaaf1f4653
moar syntactic sugar
2012-12-16 13:38:24 +01:00
posativ
8e2e90ed4e
add threaded WSGI server mixin to check URL existence on same host :>
2012-12-16 00:46:20 +01: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
440787ff67
fix Augenkrebs in dashboard
2012-10-28 00:57:31 +02:00
posativ
28162d7ca9
edit comment works when comment is still pending
2012-10-28 00:50:09 +02:00
posativ
2e1831f609
show pending status, add some css
2012-10-28 00:39:23 +02:00
posativ
1bafe193ad
approve comments
2012-10-28 00:39:22 +02:00
posativ
23232d4f0e
fix admin.js
2012-10-28 00:39:22 +02:00
posativ
5d15ab0ea3
use highly sophisticated '2 weeks ago' dates including microformats
2012-10-28 00:39:20 +02:00
posativ
c7d4b5a071
use promise.js -> less code, less indentation, 2 kb less framework
2012-10-25 23:26:20 +02:00
posativ
6f4b02ab12
show deleted comments when they are referenced
2012-10-25 20:45:22 +02:00
posativ
35310300ac
add 'edit comment' functionality. Use with care.
2012-10-25 20:09:12 +02:00
posativ
b4708fb284
modify can return plain text and marked up content
2012-10-25 20:08:28 +02:00
posativ
db32d1c7f0
refactor JS and add YUI compression.
2012-10-25 16:20:50 +02:00
posativ
66cc7911f5
limit to 20 by default
2012-10-24 23:56:52 +02:00
posativ
6bb7b8c8d9
admin interface can delete comments :>
2012-10-24 23:22:39 +02:00
posativ
15ead12683
I can't still remember what ASC and DESC means
2012-10-24 20:38:39 +02:00
posativ
7420e6a130
add path to comment class
2012-10-24 20:38:07 +02:00
posativ
05b77f99fe
add db.recent(mode, limit) method
2012-10-24 20:09:22 +02:00
posativ
2bfbad39ca
begin dashboard using mako templates
2012-10-24 19:53:56 +02:00
posativ
39899dda81
/comment/ -> /1.0/
2012-10-23 21:09:51 +02:00
posativ
ac6d88f61e
isso import FILE
can import Disqus export
2012-10-23 20:36:43 +02:00
posativ
ecd4c6b120
fix an edge case, where mallory can delete comments by bo
2012-10-23 16:40:30 +02:00
posativ
3459b7b9ee
delete comment works for non-referenced comments now
2012-10-22 00:44:22 +02:00
posativ
d9a9eaf8c5
zero-fill date and add cookie recognition
2012-10-22 00:12:05 +02:00
posativ
10b1b1b470
use unique cookie name
2012-10-21 23:40:47 +02:00
posativ
ae96122ea1
fix issues caused by @moschlar
2012-10-21 23:30:40 +02:00
posativ
d2bc2537a1
remove limit, introduced unnecessary complexity
2012-10-21 22:37:39 +02:00
posativ
3b197c4c3c
close form after reply
2012-10-21 22:34:48 +02:00
posativ
d6e4312e47
threaded comments :>
2012-10-21 22:26:05 +02:00
posativ
eee2e43588
refactor and re-indentation
2012-10-21 21:57:36 +02:00
posativ
63f3d6ff2f
add date formatting and link to website
2012-10-21 21:05:56 +02:00
posativ
a15338209b
basic XSS protection m)
2012-10-21 11:47:57 +02:00
posativ
443eb2bbe1
fix tests
2012-10-21 09:51:32 +02:00
posativ
487d76ba61
add API for different markup languages
2012-10-20 18:12:02 +02:00
posativ
9aeed1a47e
client-side draft using qwery, bean, bonzo and domReady
2012-10-20 17:57:01 +02:00
posativ
efa334de39
markdown support (using misaka)
2012-10-20 17:55:29 +02:00
posativ
d30c3c059b
sort in chronological order
2012-10-19 21:12:56 +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
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
f1fb80f5ef
add license decoration
2012-10-18 15:05:54 +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
3d398341a3
update database requirements
2012-10-17 11:42:21 +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
3bb830e86c
add mode for comments (normal, pending, deleted)
2012-10-16 19:42:51 +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
posativ
7d905ed4ea
initial commit
2012-10-16 15:45:02 +02:00