Jelmer Vernooij
2a4e8c231e
Add python 3.8 support. ( #615 )
4 years ago
Facundo Batista
1633d9261e
New 'latest' endpoint to serve latest comments. Fixes #556 . ( #610 )
...
New 'latest' endpoint to serve latest comments.
4 years ago
tdro
f4b0376f1a
Return 200 with empty array when there are no comments #301 ( #565 )
...
* Return 200 with empty array when there are no comments #301
{"id": null, "total_replies": 0, "hidden_replies": 0, "replies": []}
5 years ago
Jelmer Vernooij
f51d9cc4f5
Fix flake8 errors.
5 years ago
Jelmer Vernooij
63cc15a962
Fix current flakes.
6 years ago
Benoît Latinier
94d031444d
add: CONTRIBUTORS + pep8
6 years ago
Benoît Latinier
6da91d4ace
Merge branch 'master' into feature/gravatar-support
6 years ago
Vincent Bernat
01cf96eeb7
feed: ensure Markdown rendering is applied to feeds
6 years ago
Vincent Bernat
45f6b1eda3
feed: make /feed API call configurable server and client-side
...
On server-side, this can be enabled by providing a base URL to use to
build the full URL. Limit also becomes configurable. On client-side,
we need to add a switch to know whatever or not the additional link
can be displayed.
6 years ago
Vincent Bernat
a89debbc9c
api: add a simple test for /feed endpoint
6 years ago
cclauss
7f55c81e08
autopep8 the code and then flake8
6 years ago
cclauss
b569b19a7f
compat.py passes pyflakes test
...
Drop support for Python 2.6 and 3.3
6 years ago
benjhess
e9eebf58e3
Refactored comments unittest to work with optional gravatar feature
7 years ago
Joshua Gleitze
3c9bbda252
preview endpoint
8 years ago
Martin Zimmermann
221b782157
refactor configuration parsing
...
* use a single default configuration, share/isso.conf
* try to use config.new in some tests which are decoupled
A few tests now depend on `isso.dist` to show that they (or the used
objects) have too much dependencies and need to be rewritten.
10 years ago
Martin Zimmermann
9260e143f1
decouple hash generation from comment view and allow customization
...
Tests now use a dummy hash function that does nothing (basically) and
run a bit faster now.
10 years ago
Martin Zimmermann
211f637569
remove Django's PBKDF2 in favour of werkzeug.security.pbkdf2_hex
10 years ago
Martin Zimmermann
64054ec029
remove unused code, fix pyflakes and jshint hints
10 years ago
Martin Zimmermann
8b5462ed2e
remove /check-ip
10 years ago
Martin Zimmermann
8fefe3a616
fix hidden reply to deleted comment (and change a few names)
10 years ago
Martin Zimmermann
065460d78a
add tests for website validation
10 years ago
Srijan Choudhary
2e2fba89a6
Add some tests
10 years ago
Srijan Choudhary
8fdceeaafb
Handle edge cases occuring in tests
10 years ago
Martin Zimmermann
1e5878bec3
auto-correct wrong/invalid parent to max nesting level of 1
10 years ago
Martin Zimmermann
0233619d35
mv specs/ to tests/
10 years ago