Commit Graph

1046 Commits

Author SHA1 Message Date
Benoît Latinier
53d5ad441c
Reply notification (#443)
Merging @pellenilsson reply notification PR

* Added reply notification for commenter

* Removed debug info

* Bugfix

* Add notification column to database if needed

* Make SMTP connections thread safe

* Include link to comment in email notifications

* Implement opt-out for email notifications

* Fix faulty check for parent comment

* Support notifications also for replies

* Don't send notification when someone responds to his/her own comment

* Make unsubscribe work with notifications for replies

* Correct hash in 'unsubscribe' API example

* Introduce public-endpoint setting

* Fix whitespace issue

* Postpone notifications to users until comment has been approved by moderator

* New setting general.reply-notifications

* Add client-side configuration setting reply-notifications

* Documentation for reply notifications
2018-07-26 22:56:36 +02:00
Pelle Nilsson
d80f7c4224 Documentation for reply notifications 2018-07-24 20:01:19 +02:00
Pelle Nilsson
18b1d11007 Add client-side configuration setting reply-notifications 2018-07-24 19:54:04 +02:00
Pelle Nilsson
1dd95d5aad New setting general.reply-notifications 2018-07-24 18:31:22 +02:00
Pelle Nilsson
171fcfab72 Postpone notifications to users until comment has been approved by moderator 2018-07-24 18:20:44 +02:00
Benoît Latinier
9c3a209850
Merge pull request #456 from farooqkz/patch-1
a little improvement for Persian translation

I guess it's ok :)
2018-07-03 12:27:24 +02:00
Farooq Karimi Zadeh
70f9aab7cb
a little improvements 2018-07-03 09:31:13 +04:30
Pelle Nilsson
3e45ccb7e5 Fix whitespace issue 2018-06-03 19:59:05 +02:00
Pelle Nilsson
9b2a56e467 Introduce public-endpoint setting 2018-06-03 19:55:31 +02:00
Pelle Nilsson
717837b35a Correct hash in 'unsubscribe' API example 2018-05-10 20:59:27 +02:00
Pelle Nilsson
0063fd6e88 Make unsubscribe work with notifications for replies 2018-05-10 20:48:13 +02:00
Benoît Latinier
3d0fdffcb7
Merge pull request #415 from facundobatista/generic-importer
Generic importer
2018-05-07 21:13:05 +02:00
Benoît Latinier
2135743ea7
Merge branch 'master' into generic-importer 2018-05-07 21:12:55 +02:00
Benoît Latinier
893f35a4e4
Merge pull request #436 from JuliusPC/patch-1
Fix spelling of "E-Mail" (german)
2018-05-07 08:55:22 +02:00
JuliusPC
729a65f177
Fix spelling of "E-Mail" → https://www.duden.de/rechtschreibung/E_Mail 2018-05-07 02:13:23 +02:00
Benoît Latinier
9d92f59aac
Merge pull request #434 from Lucas-C/deprecated_scss
Substituting scss command in Makefile by node-sass + adding comment with instructions on how to install Makefile dependencies
2018-05-06 21:15:52 +02:00
Benoît Latinier
2b7c6629ea
Merge pull request #435 from Lucas-C/env_vars_doc
Adding documentation on the ISSO_CORS_ORIGIN env variable - close #407
2018-05-06 21:15:19 +02:00
Lucas Cimon
b73255ec2e
Adding documentation on the ISSO_CORS_ORIGIN env variable - close #407 2018-05-06 10:17:31 +02:00
Lucas Cimon
575c433fda
Substituting scss command in Makefile by node-sass + adding comment with instructions on how to install Makefile dependencies 2018-05-06 09:59:52 +02:00
Benoît Latinier
97721c7eef
Merge pull request #425 from vincentbernat/fix/dockerfile-cffi
docker: install cffi inside virtualenv
2018-05-02 23:47:24 +02:00
Benoît Latinier
5e65e46b59
Merge pull request #426 from vincentbernat/fix/feedlink-append
embed: fix feed link creation on older browsers
2018-05-01 23:38:53 +02:00
Benoît Latinier
e745f326db
Merge pull request #428 from pozitron57/patch-2
Correct russian translation for "preview" button
2018-04-30 17:22:47 +02:00
Benoît Latinier
2064f3a29b
Merge pull request #427 from Rocket1184/hotfix/i18n-zh-postbox-preview
i18n: fix zh_CN/TW translate of 'postbox-preview'
2018-04-30 17:22:20 +02:00
Sergey Lisakov
530b541f68
Correct translation for "preview" button 2018-04-30 18:21:02 +03:00
Rocka
dda616eef3
i18n: fix zh_CN/TW translate of 'postbox-preview' 2018-04-29 23:54:57 +08:00
Pelle Nilsson
f6f61c547a Merge remote-tracking branch 'posativ/master' into reply_notification
Conflicts:
	isso/css/isso.css
	isso/ext/notifications.py
	isso/js/app/text/postbox.jade
	isso/views/comments.py
2018-04-29 14:48:13 +02:00
Vincent Bernat
311f65d52b embed: fix feed link creation on older browsers
When a browser doesn't support DOM manipulation convenience methods,
the addition of the feed link was triggering an error because elements
created by `$.new()` are regular elements, not elements from our own
mini-DOM implementation. Therefore, the `append()` method may be
absent. Use `appendChild()` instead.
2018-04-29 10:39:02 +02:00
Vincent Bernat
9b911f3257 docker: install cffi inside virtualenv
`python setup.py install` installs it outside the virtualenv (because
it's in `setup_requires`?), then reuse it as is when installing the
dependencies. On the final container, cffi is therefore missing.
2018-04-26 08:32:57 +02:00
Benoît Latinier
c26d59de08
Merge pull request #424 from posativ/misaka_2
Upgrade to Misaka 2
2018-04-25 23:29:43 +02:00
Steffen Prince
7cdb47d875 Update renderer to match Misaka 2.0 API 2018-04-25 23:29:13 +02:00
Steffen Prince
eef7ea261d Add cffi to setup_requires 2018-04-25 23:19:55 +02:00
Steffen Prince
c38851a6cd Update to misaka 2.0
Fixes #208
2018-04-25 23:19:27 +02:00
Benoît Latinier
ce98f93934 update changelog 2018-04-25 23:13:55 +02:00
Benoît Latinier
94d031444d add: CONTRIBUTORS + pep8 2018-04-25 23:03:55 +02:00
Benoît Latinier
b21f2e4aaa
Merge pull request #317 from benjhess/feature/gravatar-support
Feature/gravatar support
2018-04-25 22:54:50 +02:00
Benoît Latinier
6da91d4ace
Merge branch 'master' into feature/gravatar-support 2018-04-25 22:45:45 +02:00
Benoît Latinier
3754ba7596
Merge pull request #414 from vincentbernat/fix/no-eval
jade: avoid using eval once compiled
2018-04-25 22:32:13 +02:00
Benoît Latinier
3d1cded70f Merge branch 'master' of github.com:posativ/isso 2018-04-25 22:31:12 +02:00
Benoît Latinier
466654b50d update CONTRIBUTORS 2018-04-25 22:31:01 +02:00
Benoît Latinier
514c5d42b6
Merge pull request #422 from Lucas-C/master
Bugfix to support <a> elements in SVG diagrams - close #421
2018-04-25 22:26:27 +02:00
Benoît Latinier
c14f639e75 add: CONTRIBUTORS update 2018-04-25 22:24:05 +02:00
Benoît Latinier
ad6e868ba5
Merge pull request #416 from vincentbernat/feature/preview
js: add a preview button to see a rendered preview
2018-04-25 22:23:06 +02:00
Benoît Latinier
dc6157897f
Merge pull request #423 from posativ/fix-tests
fix tests due to non predictive html rendering
2018-04-25 21:58:19 +02:00
Benoît Latinier
3d648c2d29
fix tests due to non predictive html rendering 2018-04-25 21:24:27 +02:00
Lucas Cimon
501bdc59bf Bugfix to support <a> elements in SVG diagrams - close #421 2018-04-25 10:55:37 +02:00
Vincent Bernat
b0264bc807 js: add a preview button to see a rendered preview
When the button is clicked, the /preview endpoint is used to render a
preview text. The preview is inserted and the preview button is
replaced by an edit button to go back to edit mode. Alternatively, the
use can click on the preview to edit.

Some small CSS modifications are done to accomodate the
modification. Also, the preview is wrapped into `.isso-common
.text-wrapper .text` to not make the CSS more complex.

When in preview mode, the background is stripped/greyish in case it's not easy
to make a difference between preview and not preview (due to
unformatted text). We avoid to modify borders/shadow boxes because it
would make the design "jumpy".
2018-04-25 08:17:17 +02:00
Benoît Latinier
55dac39bdd
Merge pull request #418 from vincentbernat/feature/nofollow-links
html: add nofollow/noopener to links
2018-04-24 23:28:53 +02:00
Benoît Latinier
b5c40bedf7
Merge pull request #419 from vincentbernat/feature/atom-feed
api: add /feed API to get an Atom feed for an URI
2018-04-24 21:56:09 +02:00
Vincent Bernat
01cf96eeb7 feed: ensure Markdown rendering is applied to feeds 2018-04-23 11:37:14 +02:00
Benoît Latinier
502747cb75
Merge pull request #411 from Rocket1184/hotfix/demo-and-admin-redirect
fix: admin and demo view redirect issue
2018-04-22 21:35:24 +02:00