Commit Graph

1234 Commits (FREEZE-blogpost-2021-01-20)

Author SHA1 Message Date
Felix 8edf5f1b78 Thanks button: Post reactions to Telegram 2021-01-20 17:18:42 +01:00
Felix 0f59b1b485 Thanks button: MVP 2021-01-20 17:18:39 +01:00
Felix 940df38858 [WIP] Rudimentary Telegram integration 2021-01-20 17:18:35 +01:00
Felix 2ec137fded [TEMP] Makefile: use sassc 2021-01-20 17:13:42 +01:00
Felix 70066cfb3f postbox: Bigger text on mobile, Markdown supported 2021-01-20 15:18:19 +01:00
Felix 2c16304c26 admin: Fix pull#470 edit-abort-save with <pre> 2021-01-20 15:18:14 +01:00
fluffy e1a708d075 Require an edit cookie to be able to view a comment before editing.
Fixes #679
2021-01-20 15:18:09 +01:00
Felix ab18a974d9 [WIP] Tooltip saying email won't be public 2021-01-17 20:29:24 +01:00
Felix 0caff99fb8 utils: Improve cookie SameSite/secure handling
Set `Secure` attribute in response header so that cookies
will only be sent when requesting content from `https://`
URLs.

Fixes:
```
Cookie “isso-[id]” will be soon rejected because it has the “SameSite” attribute set to “None”
```

See: https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
and https://werkzeug.palletsprojects.com/en/1.0.x/http/#werkzeug.http.dump_cookie
2021-01-17 20:25:03 +01:00
Felix e0c3c95b02 js: Remove unused languages 2021-01-17 20:25:03 +01:00
Rocka 50c59b6348 admin: restore comment content after cancel edit
Cherry-picked from posativ/isso/pull/470/commits/395e8765f10584963d4e394bf556e286de325733
Adapted to new location inside admin.js.
2021-01-15 23:19:36 +01:00
Felix 86e0cb02b3 TEMP: Use <pre> for comments in admin area
Also update admin.css so that lines get wrapped
2021-01-13 23:17:16 +01:00
Felix 3e89147ffa FIXME: Use absolute URIs for threads 2021-01-13 23:17:11 +01:00
fluffy 944e484684
Add HTML escaping to code blocks (#631) 2020-10-10 20:21:05 +00:00
Timothée Mazzucotelli f4d2705d4f
Fix dead links to init scripts (#672) 2020-09-14 12:10:22 +00:00
Özcan Oğuz 4cb189494e
Add Turkish translation (#669) 2020-09-05 21:51:37 +00:00
Jelmer Vernooij c06aa46efb Drop reference to librelist, which has disappeared. 2020-08-22 14:37:58 +00:00
Jelmer Vernooij aa06f3c626 Remove unused import. 2020-08-16 23:52:39 +00:00
Jelmer Vernooij b241476351 Drop leftover check for PY2K. Fixes #663 2020-08-16 23:48:04 +00:00
Jelmer Vernooij dd76aa0cf1
Drop python 2 support. 2020-08-08 02:13:48 +00:00
Jelmer Vernooij ea0020c134
Add an (empty) metrics page. 2020-08-08 02:12:13 +00:00
Jelmer Vernooij 3cff7da2b3
Ignore .mypy_cache. 2020-08-08 02:12:12 +00:00
Jelmer Vernooij c1be7312e0
Don't require new options to be present. 2020-08-08 02:12:11 +00:00
Jelmer Vernooij 9c86fcb53d
Drop support for configparser from backports. 2020-08-08 02:12:10 +00:00
Jelmer Vernooij 3d526a7b9d
Preparing 0.12.3 2020-08-08 02:12:06 +00:00
Jeff Turner f9e62e3751
Fix #657 flask_caching 1.9 backend names (#660)
* Fix #657 flask_caching 1.9 backend names

* With the new import, we now *require* Flask-Caching 1.9
2020-08-08 01:15:15 +00:00
jingwanhsu 56ada5ca91
Fixing a zh_TW translation text (#654) 2020-05-24 00:23:31 +00:00
Felix 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