Commit Graph

693 Commits

Author SHA1 Message Date
Jelmer Vernooij
8aeff4acb2
Revert "Use <label>s rather than placeholders" 2019-01-21 22:07:29 +00:00
Jelmer Vernooij
161f2dfa20
Revert "Removes potential '//' from email links (#420)"
It breaks some installations. See https://github.com/posativ/isso/issues/523

This reverts commit 1a3f803b96.
2019-01-19 14:15:48 +00:00
Jelmer Vernooij
bd22b0017f
Fix compatibility with new XML API. 2019-01-18 20:04:13 +00:00
Jelmer Vernooij
24aeb9e567
Merge pull request #520 from Matolivier-1/master
Add support for a "generic" import method.
2019-01-18 19:50:04 +00:00
Jelmer Vernooij
57af7a782d
Merge pull request #356 from mpchadwick/feature/postbox-input-labels-2
Use <label>s rather than placeholders
2019-01-07 02:18:11 +00:00
kartoffelsalat
b2251e9201
German translation for reply notification in de.js 2019-01-04 14:57:52 +01:00
Matthieu Olivier
c47f705907 Activate generic importer + document usage 2019-01-01 22:37:00 +01:00
Jelmer Vernooij
06d49292a6
Merge pull request #510 from fliiiix/bugfix/disqus_import
Fix handling of disqus exports with missing email fields.
2019-01-01 18:46:50 +00:00
Samuel FORESTIER
1a3f803b96
Removes potential '//' from email links (#420)
If the user specifies a public endpoint as `http[s]://comments.exemple.com/` in configuration, the trailing slash will involve a `//` in the generated email links.
2018-12-30 13:55:24 +01:00
Brad Pitcher
47a5b2c84b override translation strings using data attributes 2018-12-21 21:04:36 -08:00
fliiiix
a3ac7b9081 Use default IP if none is found Fix #477
This is related to the email one. Disqus
doesn't export ip for posts. If none is
present '0.0.0.0' is used.
2018-12-15 20:14:37 +01:00
fliiiix
1f4ced626c Import disqus posts without Email Fix #477
It looks like disqus has stoped to add a Email
into there exports. So this sets the email just
to ''. This can be changed to a default email
if that is prefered.

Signed-off-by: fliiiix <de-ch@hotmail.de>
2018-12-15 20:14:37 +01:00
Jelmer Vernooij
a45ef339e6
Merge pull request #490 from vincentbernat/fix/css-notification
css: fix vertical alignment of notification checkbox
2018-11-27 19:48:49 +00:00
Max Roeleveld
8a46e13028
Add a missing closing brace
Gotta love IDE highlighting: one little brace was missing near the end of the CSS file. This means the last couple of definitions were ignored previously.
2018-11-25 10:18:23 +01:00
Jelmer Vernooij
966d403ebb
Merge pull request #499 from jelmer/admin-bool
Don't open the admin page with a default password by default. Fixes #491
2018-11-23 03:21:12 +00:00
Jelmer Vernooij
afc90a05cc
Reject actual logins when admin is disabled. 2018-11-11 16:20:23 +00:00
Jelmer Vernooij
77813de8f9
Don't open the admin page with a default password by default. Fixes #491 2018-11-11 15:29:33 +00:00
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
Vincent Bernat
80257353ba css: reduce size of the label for reply notifications
Otherwise, the label seems too big for me.
2018-11-03 18:15:57 +01:00
Vincent Bernat
527f287826 css: fix vertical alignment of notification checkbox
This is usually a pain to vertically align without additional markup.
The proposed solution happens to be the shortest solution I know of,
but it may be outdated.
2018-11-03 18:15:56 +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