Commit Graph

1202 Commits

Author SHA1 Message Date
Lucas Cimon
f70eaf315a
Using .access_route instead of .remote_addr to take into account HTTP_X_FORWARDED_FOR header () 2020-04-16 18:28:50 +00:00
Lucas Cimon
04d138dc77
Adding contrib/dump_comments.py () 2020-04-16 13:11:30 +00:00
Lucas Cimon
c4373186f9
Fixing likes counter of replies not being displayed ()
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. () 2020-04-16 02:21:42 +00:00
Benoit Latinier
bb9d947c76
Merge pull request 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 
2020-02-28 07:58:06 +01:00
Jelmer Vernooij
86b65f817e
html: Add markdown render flag option ()
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. () 2020-02-15 16:24:13 +01:00
Jelmer Vernooij
3e3ee8b641
Fix compatibility with werkzeug 1.0.0. Fixes () 2020-02-15 15:52:10 +01:00
Facundo Batista
1633d9261e New 'latest' endpoint to serve latest comments. Fixes . ()
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 ()
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 ()
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 () 2019-12-04 00:45:20 +01:00
Jonathan Watt
4944d595f6 Make Isso compatible with Content Security Policies without script-src 'unsafe-inline' ()
* 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 () 2019-11-25 10:06:42 +01:00
jasdeepgill
95b05bd3fe Improve grammar of index.rst. () 2019-11-25 06:22:06 +01:00
Jonathan Watt
3be36fd8b0 Fix rendering of disabled.html for 'Sub URI' sites ()
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 ()
- 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 ()
* 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 ()
* Return 200 with empty array when there are no comments 
{"id": null, "total_replies": 0, "hidden_replies": 0, "replies": []}
2019-10-01 01:04:28 +02:00
1f77ecc25e fix typo in i18n.js () 2019-09-29 23:47:14 +02:00
Quentí
b9e31bf6fe [i18n] Adds the Occitan language ()
* 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 (Redirect to comment after moderation) ()
* Redirect to comment after moderation (fix )
2019-03-16 13:55:58 -04:00
Jelmer Vernooij
77871a8bab
Merge pull request 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 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 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 .
2019-02-15 22:50:27 +01:00
Jelmer Vernooij
c2136ce10a
Merge pull request 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 from mardy/fcgi-doc
docs: update deployment info for FastCGI
2019-01-27 17:03:59 +00:00
Alberto Mardegan
02bf0a0759 docs: update deployment info for FastCGI 2019-01-27 18:20:50 +03:00
Jelmer Vernooij
b0d385b6b5
Start on 0.12.3. 2019-01-21 22:27:05 +00:00
Jelmer Vernooij
7be6a756a3
Preparing 2019-01-21 22:24:38 +00:00
Jelmer Vernooij
0748eedd30
Merge pull request from posativ/revert-356-feature/postbox-input-labels-2
Revert "Use <label>s rather than placeholders"
2019-01-21 22:07:56 +00:00
Jelmer Vernooij
8aeff4acb2
Revert "Use <label>s rather than placeholders" 2019-01-21 22:07:29 +00:00