Commit Graph

1207 Commits

Author SHA1 Message Date
ix5
d7eefbc072
admin: Set default order_by to 'created' (desc) (#649)
This shows recent comments first in the admin panel.
2020-05-09 13:22:44 +00:00
frenchvandal
2ba7217900
Dockerfile update (#644)
- Updated images with newer versions, except for Node: the js stuff will not compile with a version > 10
- Removed python3-dev and sqlite3 in step 2, they are not needed
- Added flask to pip, cf. issue #621
- Some small improvements here and there like a good practice for gunicorn use in Docker cf. https://pythonspeed.com/articles/gunicorn-in-docker/
2020-04-25 16:51:49 +00:00
Lucas Cimon
bdaa5240d1
Adding docs/extras/contribs.rst (#640) 2020-04-22 14:45:32 +00:00
Lucas Cimon
080ee36371
Adding a [server] proxy-fix-enable-x-prefix configuration option to take into consideration the X-Forwarded-Prefix HTTP header (#639) 2020-04-22 14:44:26 +00:00
Lucas Cimon
a548fbf45b
Add warnings on Comments.vote failures (#635) 2020-04-17 17:06:46 +00:00
Lucas Cimon
f70eaf315a
Using .access_route instead of .remote_addr to take into account HTTP_X_FORWARDED_FOR header (#636) 2020-04-16 18:28:50 +00:00
Lucas Cimon
04d138dc77
Adding contrib/dump_comments.py (#638) 2020-04-16 13:11:30 +00:00
Lucas Cimon
c4373186f9
Fixing likes counter of replies not being displayed (#637)
Until this fix, likes counters of replies are only displayed if the parent comment has likes.

This is because the previous CSS rule there applied to **all** HTML children of the element with the `isso-no-votes` class, not only its own footer likes ounter.
With this PR we get the expected behaviour
2020-04-16 02:28:39 +00:00
Jelmer Vernooij
54f8fb7a7f
Drop python2 support. (#613) 2020-04-16 02:21:42 +00:00
Benoit Latinier
bb9d947c76
Merge pull request #618 from frenchvandal/master
[i18n] Added the Brazilian Portuguese language
2020-02-28 09:58:17 +01:00
frenchvandal
de8867a9d2
[i18n] Added the Brazilian Portuguese language
Fix #548
2020-02-28 07:58:06 +01:00
Jelmer Vernooij
86b65f817e
html: Add markdown render flag option (#616)
New "flags" option in the [markdown] section to customize
Misaka's Markdown HTML rendering.

By default, no flags are set.

```
[markup]
flags = skip-html, escape, hard-wrap
```

Update CHANGES.rst and add the section to the sample
isso.conf and isso-dev.conf
2020-02-15 16:24:32 +01:00
Jelmer Vernooij
2a4e8c231e
Add python 3.8 support. (#615) 2020-02-15 16:24:13 +01:00
Jelmer Vernooij
3e3ee8b641
Fix compatibility with werkzeug 1.0.0. Fixes #611 (#614) 2020-02-15 15:52:10 +01:00
Facundo Batista
1633d9261e New 'latest' endpoint to serve latest comments. Fixes #556. (#610)
New 'latest' endpoint to serve latest comments.
2020-01-26 15:14:15 +01:00
Benjamin Pereto
1de758887a FIX: include admin.js in Python Package (#606)
Include admin.js in python package
2019-12-30 23:06:07 +01:00
jasdeepgill
5655f194b3 Various text improvements to documentation.
* Minor text improvements to faq.rst
* Fixed minor mistake to faq.rst
* Minor grammar fixes to troubleshooting.rst
* Minor grammar improvements to quickstart.rst
* Minor text changes to install.rst
* Improved text in multiple-sites.rst
* Misspelled word
* Minor text changes
2019-12-21 11:33:02 +01:00
Shimmy Xu
7eed747e7a Use html.escape for Python versions where cgi.escape is removed (#600)
Use html.escape as cgi.escape is removed in 3.8
2019-12-12 23:05:59 +01:00
Charl P. Botha (X1E)
2e8cb81179
Add a approve-if-email-previously-approved setting.
Automatically approve comments by an email address if that address has
had a comment approved within the last 6 months. No ownership verification
is done on the entered email address. This means that if someone is able
to guess correctly the email address used by a previously approved author,
they will be able to have their new comment auto-approved.
2019-12-07 18:28:51 +00:00
Marcin Kurczewski
9eaaad4775 Fall back to author names in gravatars (#482) 2019-12-04 00:45:20 +01:00
Jonathan Watt
4944d595f6 Make Isso compatible with Content Security Policies without script-src 'unsafe-inline' (#597)
* Move templates/admin.html's JS to an external file

This allow Isso to be used with websites that have a Content
Security Policy that doesn't include `script-src 'unsafe-inline'`.
2019-12-04 00:24:49 +01:00
Michiel Scholten
472c9ed3de Set subject for notification about new comment, subject should not be empty (#589) 2019-11-25 10:06:42 +01:00
jasdeepgill
95b05bd3fe Improve grammar of index.rst. (#588) 2019-11-25 06:22:06 +01:00
Jonathan Watt
3be36fd8b0 Fix rendering of disabled.html for 'Sub URI' sites (#587)
The disabled.html template uses the isso_host_script variable, but
that variable was not being passed when rendering that template
file.
2019-11-22 20:15:12 +01:00
JocelynDelalande
0f4e72c0e0 Mention official Debian repo instead of 3rd party (#581)
- isso is now packaged in official debian
- packages.crapouillou.net is no longer maintained

what else ? :)
2019-11-09 20:01:02 +01:00
Alberto Mardegan
c24ee69a1e contrib: Add Blogger importer tool (#529)
* contrib: Add Blogger importer tool
* doc: fix minor issues in migration documentation
2019-10-13 19:55:17 +02:00
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": []}
2019-10-01 01:04:28 +02:00
1f77ecc25e fix typo in i18n.js (#575) 2019-09-29 23:47:14 +02:00
Quentí
b9e31bf6fe [i18n] Adds the Occitan language (#568)
* Add the Occitan language

* Update i18n.js

* Update oc.js
2019-09-28 22:56:29 +02:00
Jelmer Vernooij
78997f4910
Remove shm hack. 2019-04-16 22:46:25 +00:00
Jelmer Vernooij
b3ae160cff Ignore .eggs directories as well. 2019-04-15 22:52:20 +00:00
Jelmer Vernooij
0df8000144 Exclude .tox directory from flakes. 2019-04-15 21:43:48 +00:00
Jelmer Vernooij
e2cfd6c08c
Run tests on Python 3.7. 2019-04-15 21:34:43 +00:00
Jelmer Vernooij
bd39dd6788 Ignore backup files. 2019-04-14 15:24:45 +00:00
Jelmer Vernooij
f51d9cc4f5 Fix flake8 errors. 2019-04-14 15:21:23 +00:00
Jelmer Vernooij
e08c378900 Move flake8 configuration to setup.cfg. 2019-04-14 15:18:27 +00:00
Chris Warrick
1b13458e6a Implement #358 (Redirect to comment after moderation) (#534)
* Redirect to comment after moderation (fix #358)
2019-03-16 13:55:58 -04:00
Jelmer Vernooij
77871a8bab
Merge pull request #543 from krtcom/feat_i18n_sk
add slovak translations
2019-03-12 09:34:00 -04:00
krtcom
0d721f9ebe
Alphabetical order
Change order alphabetically in define call and in catalogue object
2019-03-12 07:22:41 +01:00
Jelmer Vernooij
3eb7f349e6
Merge pull request #544 from krtcom/bug_fetch_comments
cancel fetching comments if #isso-root is not available
2019-03-11 23:56:58 -04:00
Michal Krnáč
9161983a05 cancel fetching comments if #isso-root is not available 2019-03-11 14:06:27 +01:00
Michal Krnáč
0d4d758099 add slovak translations 2019-03-11 14:04:52 +01:00
Jelmer Vernooij
31db6b61e7 Fix code-block syntax. 2019-02-16 17:36:33 +00:00
Jelmer Vernooij
8c82ffde9f
Merge pull request #535 from Kwpolska/patch-1
Include user e-mails in admin notifications only
2019-02-16 00:47:02 +00:00
Chris Warrick
22abbcdbb4
Include user e-mails in admin notifications only
Fixes #533.
2019-02-15 22:50:27 +01:00
Jelmer Vernooij
c2136ce10a
Merge pull request #532 from Kwpolska/update-polish-translation
Update Polish translation
2019-02-15 15:12:13 +00:00
Chris Warrick
f1dcd17e37 Enable Polish locale and use Polish plural forms 2019-02-15 15:58:21 +01:00
Chris Warrick
bcff21f06f
Add missing messages to Polish translation 2019-02-15 15:50:10 +01:00
Chris Warrick
86a88b5ea5
Fix Polish translation of Preview button 2019-02-15 15:44:35 +01:00
Jelmer Vernooij
6092881bb2
Merge pull request #528 from mardy/fcgi-doc
docs: update deployment info for FastCGI
2019-01-27 17:03:59 +00:00