Commit Graph

673 Commits

Author SHA1 Message Date
Vincent Bernat
fd46a7d86e 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-11-10 19:15:04 +01:00
Florian Latifi
c5311e1d7d Properly handle to field in mail notifications when using uWSGI spooler
This commit fixes an error occuring when isso sends out mail
notifications via the uWSGI spooler.
2018-11-06 18:20:22 +01:00
Jelmer Vernooij
cc07f0b22f
Fix another python3-specific flake. 2018-11-03 14:53:54 +00:00
Jelmer Vernooij
63cc15a962
Fix current flakes. 2018-11-03 14:50:55 +00:00
Jelmer Vernooij
0456d68f29
Fix address anonimization function on Python 2. 2018-11-03 14:40:47 +00:00
Jelmer Vernooij
8801c6eec8
remove unused imports. 2018-11-03 14:20:47 +00:00
Vincent Bernat
463f76cb0b embed: do not jump to unrelated anchor on load
When loading, Isso scrolls to the current document hash. This makes
sense when the document hash references a comment, but this doesn't
for an unrelated anchor. Tell Isso to only scroll for a comment.
2018-10-09 08:02:53 +02:00
gloomy-ghost
13426ca43c fix tests 2018-10-01 16:01:45 +13:00
Jelmer Vernooij
f1a4478272 Use bleach to sanitize HTML; allows use with newer versions of html5lib.
This fixes #296
2018-10-01 15:27:27 +13:00
gloomy-ghost
c27e3d9838 do not use NOT NULL with DEFAULT at the same time 2018-10-01 01:48:19 +00:00
Benoît Latinier
d214e53bb6
Merge pull request #480 from frenchvandal/master
Minor typographic tweaks in French translation
2018-09-23 22:16:35 +02:00
Philippe
e993b498a0
Minor typographic tweaks in French translation
Replace single quotes by the proper apostrophe normally used in French typography. Much cleaner!
2018-09-23 14:29:55 +02:00
Javier López
32f98ce3f2
update es.js
according to commit b0264bc807 a new preview field was added, the spanish translation probably was taken from an automatic translator which sounds weird, I've updated such field.
2018-09-23 00:17:48 -05:00
Jeremy Tan
faaff1d4ac Use AF_INET if AF_UNIX isn't available (i.e. Windows) 2018-08-07 20:44:16 +10:00
Benoît Latinier
e680c91f4a
Merge pull request #472 from Rocket1184/hotfix/i18n-fix-zh-optional-placeholder
i18n: fix zh_CN/TW 'optional' in postbox placeholder
2018-07-31 09:01:11 +02:00
Benoît Latinier
c9230d5a52
Merge pull request #438 from vincentbernat/fix/rss-relative
feed: remove trailing / from base URL
2018-07-31 08:59:22 +02:00
Rocka
2f45f3f82e
i18n: fix zh_CN/TW 'optional' in postbox placeholder 2018-07-31 09:07:52 +08:00
Sergey Lisakov
20ba003791
Make password form focused on page load
No need to click on the input form to type in the password, it is active by default
2018-07-30 19:13:32 +03:00
Rocka
6d62e91a77
i18n: zh_CN/TW translate for 'postbox-notification; use full-width brackets 2018-07-30 20:36:47 +08:00
Sergey Lisakov
b1bbf70fd8
add "postbox-notification" 2018-07-28 22:15:53 +03:00
Benoît Latinier
b93e055677
Merge pull request #463 from Rocket1184/hotfix/admin-page-comment-style
template: admin: add id `isso-root` to comments wrapper
2018-07-28 17:03:14 +02:00
Benoît Latinier
c801d18bd9
Merge pull request #452 from Rocket1184/fetaure/client-async-comment-load
Async comment loading for dynamic websites
2018-07-27 13:30:27 +02:00
Benoît Latinier
1d9cea8831
Merge pull request #458 from craigphicks/host-subdir
Allow subdirectory server configuration, e.g. https://example.com/isso
2018-07-27 00:20:24 +02:00
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
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
Craig P Hicks
96575323cd conform to public_endpoint config option with internal local host fallback 2018-07-18 02:24:44 -07:00
Craig P Hicks
af023741d9 changes as requested by @blatinier 2018-07-11 15:51:34 -07:00
root
b7e1666dd4 allow isso to be accessed/mounted on a server subdirectory, e.g., https://example.com/isso 2018-07-10 18:49:59 -07:00
Farooq Karimi Zadeh
70f9aab7cb
a little improvements 2018-07-03 09:31:13 +04:30
Rocka
795035ff6c
template: admin: add id isso-root to comments wrapper
the admin page layout would be more neat
2018-06-09 19:15:34 +08:00
Rocka
a87815fcba
client: define an global object Isso, for loading comments dynamically 2018-06-09 18:58:08 +08:00
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
Vincent Bernat
8e4f2ab1c7 feed: remove trailing / from base URL
This way, one can use "/" as base URL. This is only valid if we are
sure that URI should always have a leading "/". Is that the case?

Fix #437.
2018-05-07 21:16:48 +02:00
Benoît Latinier
2135743ea7
Merge branch 'master' into generic-importer 2018-05-07 21:12:55 +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
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
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
Steffen Prince
7cdb47d875 Update renderer to match Misaka 2.0 API 2018-04-25 23:29:13 +02:00
Steffen Prince
c38851a6cd Update to misaka 2.0
Fixes #208
2018-04-25 23:19:27 +02:00
Benoît Latinier
94d031444d add: CONTRIBUTORS + pep8 2018-04-25 23:03:55 +02:00
Benoît Latinier
6da91d4ace
Merge branch 'master' into feature/gravatar-support 2018-04-25 22:45:45 +02:00