Compare commits

...

1004 Commits

Author SHA1 Message Date
Samuel FORESTIER 06c3d6ac11
r-strips the configured URL unconditionally
4 years ago
Samuel FORESTIER cd49dce78f
[PATCH v2] Removes potential '//' from email links (#420, #519, #523)
4 years ago
Andy c2cd06da52
add .drone.yml
4 years ago
ix5 d7eefbc072
admin: Set default order_by to 'created' (desc) (#649)
4 years ago
frenchvandal 2ba7217900
Dockerfile update (#644)
4 years ago
Lucas Cimon bdaa5240d1
Adding docs/extras/contribs.rst (#640)
4 years ago
Lucas Cimon 080ee36371
Adding a [server] proxy-fix-enable-x-prefix configuration option to take into consideration the `X-Forwarded-Prefix` HTTP header (#639)
4 years ago
Lucas Cimon a548fbf45b
Add warnings on Comments.vote failures (#635)
4 years ago
Lucas Cimon f70eaf315a
Using .access_route instead of .remote_addr to take into account HTTP_X_FORWARDED_FOR header (#636)
4 years ago
Lucas Cimon 04d138dc77
Adding contrib/dump_comments.py (#638)
4 years ago
Lucas Cimon c4373186f9
Fixing likes counter of replies not being displayed (#637)
4 years ago
Jelmer Vernooij 54f8fb7a7f
Drop python2 support. (#613)
4 years ago
Benoit Latinier bb9d947c76
Merge pull request #618 from frenchvandal/master
4 years ago
frenchvandal de8867a9d2
[i18n] Added the Brazilian Portuguese language
4 years ago
Jelmer Vernooij 86b65f817e
html: Add markdown render flag option (#616)
4 years ago
Jelmer Vernooij 2a4e8c231e
Add python 3.8 support. (#615)
4 years ago
Jelmer Vernooij 3e3ee8b641
Fix compatibility with werkzeug 1.0.0. Fixes #611 (#614)
4 years ago
Facundo Batista 1633d9261e New 'latest' endpoint to serve latest comments. Fixes #556. (#610)
4 years ago
Benjamin Pereto 1de758887a FIX: include admin.js in Python Package (#606)
4 years ago
jasdeepgill 5655f194b3 Various text improvements to documentation.
4 years ago
Shimmy Xu 7eed747e7a Use `html.escape` for Python versions where `cgi.escape` is removed (#600)
4 years ago
Charl P. Botha (X1E) 2e8cb81179
Add a approve-if-email-previously-approved setting.
5 years ago
Marcin Kurczewski 9eaaad4775 Fall back to author names in gravatars (#482)
5 years ago
Jonathan Watt 4944d595f6 Make Isso compatible with Content Security Policies without `script-src 'unsafe-inline'` (#597)
5 years ago
Michiel Scholten 472c9ed3de Set subject for notification about new comment, subject should not be empty (#589)
5 years ago
jasdeepgill 95b05bd3fe Improve grammar of index.rst. (#588)
5 years ago
Jonathan Watt 3be36fd8b0 Fix rendering of disabled.html for 'Sub URI' sites (#587)
5 years ago
JocelynDelalande 0f4e72c0e0 Mention official Debian repo instead of 3rd party (#581)
5 years ago
Alberto Mardegan c24ee69a1e contrib: Add Blogger importer tool (#529)
5 years ago
tdro f4b0376f1a Return 200 with empty array when there are no comments #301 (#565)
5 years ago
Andy 1f77ecc25e fix typo in i18n.js (#575)
5 years ago
Quentí b9e31bf6fe [i18n] Adds the Occitan language (#568)
5 years ago
Jelmer Vernooij 78997f4910
Remove shm hack.
5 years ago
Jelmer Vernooij b3ae160cff Ignore .eggs directories as well.
5 years ago
Jelmer Vernooij 0df8000144 Exclude .tox directory from flakes.
5 years ago
Jelmer Vernooij e2cfd6c08c
Run tests on Python 3.7.
5 years ago
Jelmer Vernooij bd39dd6788 Ignore backup files.
5 years ago
Jelmer Vernooij f51d9cc4f5 Fix flake8 errors.
5 years ago
Jelmer Vernooij e08c378900 Move flake8 configuration to setup.cfg.
5 years ago
Chris Warrick 1b13458e6a Implement #358 (Redirect to comment after moderation) (#534)
5 years ago
Jelmer Vernooij 77871a8bab
Merge pull request #543 from krtcom/feat_i18n_sk
5 years ago
krtcom 0d721f9ebe
Alphabetical order
5 years ago
Jelmer Vernooij 3eb7f349e6
Merge pull request #544 from krtcom/bug_fetch_comments
5 years ago
Michal Krnáč 9161983a05 cancel fetching comments if #isso-root is not available
5 years ago
Michal Krnáč 0d4d758099 add slovak translations
5 years ago
Jelmer Vernooij 31db6b61e7 Fix code-block syntax.
5 years ago
Jelmer Vernooij 8c82ffde9f
Merge pull request #535 from Kwpolska/patch-1
5 years ago
Chris Warrick 22abbcdbb4
Include user e-mails in admin notifications only
5 years ago
Jelmer Vernooij c2136ce10a
Merge pull request #532 from Kwpolska/update-polish-translation
5 years ago
Chris Warrick f1dcd17e37 Enable Polish locale and use Polish plural forms
5 years ago
Chris Warrick bcff21f06f
Add missing messages to Polish translation
5 years ago
Chris Warrick 86a88b5ea5
Fix Polish translation of Preview button
5 years ago
Jelmer Vernooij 6092881bb2
Merge pull request #528 from mardy/fcgi-doc
5 years ago
Alberto Mardegan 02bf0a0759 docs: update deployment info for FastCGI
5 years ago
Jelmer Vernooij b0d385b6b5
Start on 0.12.3.
5 years ago
Jelmer Vernooij 7be6a756a3
Preparing
5 years ago
Jelmer Vernooij 0748eedd30
Merge pull request #526 from posativ/revert-356-feature/postbox-input-labels-2
5 years ago
Jelmer Vernooij 8aeff4acb2
Revert "Use <label>s rather than placeholders"
5 years ago
Jelmer Vernooij 1d5d356237
Merge pull request #525 from lioman/patch-1
5 years ago
Lioman 771f6b7c95
fix typo
5 years ago
Jelmer Vernooij 4fe24296a2 Start on 0.12.2.
5 years ago
Jelmer Vernooij 534d35e3c6
Preparing 0.12.1.
5 years ago
Jelmer Vernooij 12766c1e88 Make check no longer exists, update releasing docs.
5 years ago
Jelmer Vernooij a0b637eb5a Update NEWS.
5 years ago
Jelmer Vernooij 161f2dfa20
Revert "Removes potential '//' from email links (#420)"
5 years ago
Jelmer Vernooij 2f54c9236b Start on 0.12.1.
5 years ago
Jelmer Vernooij 434d0341f6
Preparing 0.12.0
5 years ago
Jelmer Vernooij bd22b0017f
Fix compatibility with new XML API.
5 years ago
Jelmer Vernooij abba561a1d
Fix some typos.
5 years ago
Jelmer Vernooij 24aeb9e567
Merge pull request #520 from Matolivier-1/master
5 years ago
Matthieu Olivier b1ea9b2fb3 Fix missing letter
5 years ago
root e3d5741c51 Rollback quickstart + split documentation for advanced migrations
5 years ago
Jelmer Vernooij 57af7a782d
Merge pull request #356 from mpchadwick/feature/postbox-input-labels-2
5 years ago
Benoit Latinier 5cfbb3274c
Merge pull request #522 from silberzwiebel/patch-1
5 years ago
kartoffelsalat b2251e9201
German translation for reply notification in de.js
5 years ago
Matthieu Olivier acb1e25193 Code was not visible
5 years ago
Matthieu Olivier 97ceaa1748 Activate generic importer + document usage
5 years ago
Matthieu Olivier c47f705907 Activate generic importer + document usage
5 years ago
Jelmer Vernooij 5d15728eb0
Merge pull request #511 from fliiiix/improvement/docs
5 years ago
Jelmer Vernooij 06d49292a6
Merge pull request #510 from fliiiix/bugfix/disqus_import
5 years ago
fliiiix d2ced12f80 Consistency and link to client config
5 years ago
Jelmer Vernooij 5b44ca8fb2
Merge pull request #519 from HorlogeSkynet/master
5 years ago
Samuel FORESTIER 1a3f803b96
Removes potential '//' from email links (#420)
5 years ago
Benoit Latinier 784e08170a
Merge pull request #514 from WanderlandTravelers/override-translations
5 years ago
Jelmer Vernooij 2ca39dee82
Merge pull request #515 from SnorlaxYum/patch-3
5 years ago
Sim ad2b7b6233
Update faq.rst
5 years ago
Jelmer Vernooij 915c74dc1b
Merge pull request #513 from WanderlandTravelers/attr-data-isso-reply-notifications
5 years ago
Brad Pitcher ebefbe6a4a
fix inline code highlighting
5 years ago
Brad Pitcher 423d73664b fix typo in translation override docs
5 years ago
Brad Pitcher 47a5b2c84b override translation strings using data attributes
5 years ago
Brad Pitcher dfbb7fa413
Add data-isso-reply-notifications to attributes
5 years ago
fliiiix a3ac7b9081 Use default IP if none is found Fix #477
6 years ago
fliiiix 1f4ced626c Import disqus posts without Email Fix #477
6 years ago
Jelmer Vernooij 40d011e6bb
List Benoît and myself as co-maintainers.
6 years ago
Jelmer Vernooij a45ef339e6
Merge pull request #490 from vincentbernat/fix/css-notification
6 years ago
Jelmer Vernooij adc4f839fc
Merge pull request #504 from doenietzomoeilijk/patch-1
6 years ago
Max Roeleveld 8a46e13028
Add a missing closing brace
6 years ago
Jelmer Vernooij 966d403ebb
Merge pull request #499 from jelmer/admin-bool
6 years ago
Jelmer Vernooij afc90a05cc
Reject actual logins when admin is disabled.
6 years ago
Jelmer Vernooij 5d811e3a51
Document the admin configuration.
6 years ago
Jelmer Vernooij 77813de8f9
Don't open the admin page with a default password by default. Fixes #491
6 years ago
Jelmer Vernooij e6132580a9
Merge pull request #496 from vincentbernat/fix/feedlink-append
6 years ago
Vincent Bernat fd46a7d86e embed: fix feed link creation on older browsers
6 years ago
Jelmer Vernooij 1d16db53da
Merge pull request #495 from flortsch/master
6 years ago
Florian Latifi c5311e1d7d Properly handle to field in mail notifications when using uWSGI spooler
6 years ago
Jelmer Vernooij b88e6e870d
Start on 0.11.2.
6 years ago
Jelmer Vernooij 8ad5496585
Release 0.11.1
6 years ago
Jelmer Vernooij 1e9465e3fe
Support providing path to SASS.
6 years ago
Jelmer Vernooij 1957ae517e
Add notes about building js and css.
6 years ago
Vincent Bernat 80257353ba css: reduce size of the label for reply notifications
6 years ago
Vincent Bernat 527f287826 css: fix vertical alignment of notification checkbox
6 years ago
Jelmer Vernooij 5dc07b29e4
Start on 0.11.1.
6 years ago
Jelmer Vernooij e648bee33d
Preparing release 0.11.0.
6 years ago
Jelmer Vernooij 54c72f379a
Add notes on releasing new versions.
6 years ago
Jelmer Vernooij cc07f0b22f
Fix another python3-specific flake.
6 years ago
Jelmer Vernooij 20f2f2a1f5
Remove old pyflakes commands.
6 years ago
Jelmer Vernooij 63cc15a962
Fix current flakes.
6 years ago
Jelmer Vernooij 62ddcba701
Move flakes command into Makefile.
6 years ago
Jelmer Vernooij eb0052c53f
Fix rst syntax error.
6 years ago
Jelmer Vernooij 0456d68f29
Fix address anonimization function on Python 2.
6 years ago
Jelmer Vernooij 8801c6eec8
remove unused imports.
6 years ago
Jelmer Vernooij f2333d716d
Merge pull request #489 from agdg/patch-1
6 years ago
Antonio Guillen 9619f56269
Fix markdown
6 years ago
Benoît Latinier dfbc80d5b6
Merge pull request #486 from vincentbernat/fix/anchor-load
6 years ago
Vincent Bernat 463f76cb0b embed: do not jump to unrelated anchor on load
6 years ago
Jelmer Vernooij f6271a04a2
Merge pull request #485 from gloomy-ghost/bleach
6 years ago
gloomy-ghost 13426ca43c fix tests
6 years ago
Jelmer Vernooij f1a4478272 Use bleach to sanitize HTML; allows use with newer versions of html5lib.
6 years ago
Jelmer Vernooij 8e37a88d6d
Merge pull request #484 from gloomy-ghost/tests
6 years ago
gloomy-ghost c27e3d9838 do not use `NOT NULL` with `DEFAULT` at the same time
6 years ago
Benoît Latinier d214e53bb6
Merge pull request #480 from frenchvandal/master
6 years ago
Benoît Latinier 14303d0377
Merge pull request #479 from javier-lopez/patch-1
6 years ago
Philippe e993b498a0
Minor typographic tweaks in French translation
6 years ago
Javier López 32f98ce3f2
update es.js
6 years ago
Benoît Latinier 5bc176d85b
Merge pull request #473 from jtanx/inet
6 years ago
Jeremy Tan faaff1d4ac Use AF_INET if AF_UNIX isn't available (i.e. Windows)
6 years ago
Benoît Latinier 4c9692264f add: contributors & changes
6 years ago
Benoît Latinier e680c91f4a
Merge pull request #472 from Rocket1184/hotfix/i18n-fix-zh-optional-placeholder
6 years ago
Benoît Latinier c9230d5a52
Merge pull request #438 from vincentbernat/fix/rss-relative
6 years ago
Rocka 2f45f3f82e
i18n: fix zh_CN/TW 'optional' in postbox placeholder
6 years ago
Benoît Latinier 9c57ac22e5
Merge pull request #471 from pozitron57/patch-6
6 years ago
Sergey Lisakov 20ba003791
Make password form focused on page load
6 years ago
Benoît Latinier dc4b0a7baf
Merge pull request #468 from pozitron57/patch-5
6 years ago
Benoît Latinier 263305f718
Merge pull request #469 from Rocket1184/hotfix/i18n-zh-postbox-notification
6 years ago
Sergey Lisakov be1e81b109
typo
6 years ago
Rocka 6d62e91a77
i18n: zh_CN/TW translate for 'postbox-notification; use full-width brackets
6 years ago
Sergey Lisakov fe3088df2b
fix link to misaka extensions
6 years ago
Benoît Latinier 0a7b8ae7df
Merge pull request #447 from tribut/wsgi-docs
6 years ago
Benoît Latinier 5dad7bd353
Merge pull request #466 from pozitron57/patch-4
6 years ago
Sergey Lisakov b1bbf70fd8
add "postbox-notification"
6 years ago
Benoît Latinier b93e055677
Merge pull request #463 from Rocket1184/hotfix/admin-page-comment-style
6 years ago
Benoît Latinier c801d18bd9
Merge pull request #452 from Rocket1184/fetaure/client-async-comment-load
6 years ago
Rocka 7f2b4eec8c
update CONTRIBUTORS.txt
6 years ago
Rocka 858d64d092
doc: minor syntax changes about async comments loading
6 years ago
Benoît Latinier 1d9cea8831
Merge pull request #458 from craigphicks/host-subdir
6 years ago
Benoît Latinier 53d5ad441c
Reply notification (#443)
6 years ago
Pelle Nilsson d80f7c4224 Documentation for reply notifications
6 years ago
Pelle Nilsson 18b1d11007 Add client-side configuration setting reply-notifications
6 years ago
Pelle Nilsson 1dd95d5aad New setting general.reply-notifications
6 years ago
Pelle Nilsson 171fcfab72 Postpone notifications to users until comment has been approved by moderator
6 years ago
Craig P Hicks 96575323cd conform to public_endpoint config option with internal local host fallback
6 years ago
Craig P Hicks af023741d9 changes as requested by @blatinier
6 years ago
root b7e1666dd4 allow isso to be accessed/mounted on a server subdirectory, e.g., https://example.com/isso
6 years ago
Benoît Latinier 9c3a209850
Merge pull request #456 from farooqkz/patch-1
6 years ago
Farooq Karimi Zadeh 70f9aab7cb
a little improvements
6 years ago
Rocka 795035ff6c
template: admin: add id `isso-root` to comments wrapper
6 years ago
Rocka 61b3b69557
doc: add doc for dynamic comment loading
6 years ago
Rocka a87815fcba
client: define an global object `Isso`, for loading comments dynamically
6 years ago
Pelle Nilsson 3e45ccb7e5 Fix whitespace issue
6 years ago
Pelle Nilsson 9b2a56e467 Introduce public-endpoint setting
6 years ago
Felix Eckhofer 8360dacbb1
Update docs for mod_wsgi
6 years ago
Pelle Nilsson 717837b35a Correct hash in 'unsubscribe' API example
6 years ago
Pelle Nilsson 0063fd6e88 Make unsubscribe work with notifications for replies
6 years ago
Vincent Bernat 8e4f2ab1c7 feed: remove trailing / from base URL
6 years ago
Benoît Latinier 3d0fdffcb7
Merge pull request #415 from facundobatista/generic-importer
6 years ago
Benoît Latinier 2135743ea7
Merge branch 'master' into generic-importer
6 years ago
Benoît Latinier 893f35a4e4
Merge pull request #436 from JuliusPC/patch-1
6 years ago
JuliusPC 729a65f177
Fix spelling of "E-Mail" → https://www.duden.de/rechtschreibung/E_Mail
6 years ago
Benoît Latinier 9d92f59aac
Merge pull request #434 from Lucas-C/deprecated_scss
6 years ago
Benoît Latinier 2b7c6629ea
Merge pull request #435 from Lucas-C/env_vars_doc
6 years ago
Lucas Cimon b73255ec2e
Adding documentation on the ISSO_CORS_ORIGIN env variable - close #407
6 years ago
Lucas Cimon 575c433fda
Substituting scss command in Makefile by node-sass + adding comment with instructions on how to install Makefile dependencies
6 years ago
Benoît Latinier 97721c7eef
Merge pull request #425 from vincentbernat/fix/dockerfile-cffi
6 years ago
Benoît Latinier 5e65e46b59
Merge pull request #426 from vincentbernat/fix/feedlink-append
6 years ago
Benoît Latinier e745f326db
Merge pull request #428 from pozitron57/patch-2
6 years ago
Benoît Latinier 2064f3a29b
Merge pull request #427 from Rocket1184/hotfix/i18n-zh-postbox-preview
6 years ago
Sergey Lisakov 530b541f68
Correct translation for "preview" button
6 years ago
Rocka dda616eef3
i18n: fix zh_CN/TW translate of 'postbox-preview'
6 years ago
Pelle Nilsson f6f61c547a Merge remote-tracking branch 'posativ/master' into reply_notification
6 years ago
Vincent Bernat 311f65d52b embed: fix feed link creation on older browsers
6 years ago
Vincent Bernat 9b911f3257 docker: install cffi inside virtualenv
6 years ago
Benoît Latinier c26d59de08
Merge pull request #424 from posativ/misaka_2
6 years ago
Steffen Prince 7cdb47d875 Update renderer to match Misaka 2.0 API
6 years ago
Steffen Prince eef7ea261d Add `cffi` to `setup_requires`
6 years ago
Steffen Prince c38851a6cd Update to misaka 2.0
6 years ago
Benoît Latinier ce98f93934 update changelog
6 years ago
Benoît Latinier 94d031444d add: CONTRIBUTORS + pep8
6 years ago
Benoît Latinier b21f2e4aaa
Merge pull request #317 from benjhess/feature/gravatar-support
6 years ago
Benoît Latinier 6da91d4ace
Merge branch 'master' into feature/gravatar-support
6 years ago
Benoît Latinier 3754ba7596
Merge pull request #414 from vincentbernat/fix/no-eval
6 years ago
Benoît Latinier 3d1cded70f Merge branch 'master' of github.com:posativ/isso
6 years ago
Benoît Latinier 466654b50d update CONTRIBUTORS
6 years ago
Benoît Latinier 514c5d42b6
Merge pull request #422 from Lucas-C/master
6 years ago
Benoît Latinier c14f639e75 add: CONTRIBUTORS update
6 years ago
Benoît Latinier ad6e868ba5
Merge pull request #416 from vincentbernat/feature/preview
6 years ago
Benoît Latinier dc6157897f
Merge pull request #423 from posativ/fix-tests
6 years ago
Benoît Latinier 3d648c2d29
fix tests due to non predictive html rendering
6 years ago
Lucas Cimon 501bdc59bf Bugfix to support <a> elements in SVG diagrams - close #421
6 years ago
Vincent Bernat b0264bc807 js: add a preview button to see a rendered preview
6 years ago
Benoît Latinier 55dac39bdd
Merge pull request #418 from vincentbernat/feature/nofollow-links
6 years ago
Benoît Latinier b5c40bedf7
Merge pull request #419 from vincentbernat/feature/atom-feed
6 years ago
Vincent Bernat 01cf96eeb7 feed: ensure Markdown rendering is applied to feeds
6 years ago
Benoît Latinier 502747cb75
Merge pull request #411 from Rocket1184/hotfix/demo-and-admin-redirect
6 years ago
Benoît Latinier bb924ead86
Merge pull request #417 from vincentbernat/fix/css-cleanup
6 years ago
Vincent Bernat 45f6b1eda3 feed: make /feed API call configurable server and client-side
6 years ago
Vincent Bernat bceb69518b js: put a link to Atom feed on top of the main postbox
6 years ago
Vincent Bernat a89debbc9c api: add a simple test for /feed endpoint
6 years ago
Vincent Bernat 5c6e78b9c1 api: ensure /feed is easily cacheable by issuing etag/last-modified headers
6 years ago
Vincent Bernat ebca06059a api: add /feed API to get an Atom feed for an URI
6 years ago
Vincent Bernat 8d8f9c8c59 html: add nofollow/noopener to links
6 years ago
Vincent Bernat fcf576dd08 css: remove CSS code for avatar in postbox
6 years ago
Pelle Nilsson 36d4ceb2d9 Don't send notification when someone responds to his/her own comment
6 years ago
Facundo Batista 14195d3711 Used proper open and not check timing
6 years ago
Facundo Batista 3ee13ab9fc Removed debug line
6 years ago
Facundo Batista be5792cb79 Merged master in
6 years ago
Facundo Batista 04b6d70b01 Added a generic way to migrate from a json file
6 years ago
Benoît Latinier 07ce742b77
add documentation for uberspaces users (closes #409)
6 years ago
Benoît Latinier 93ea722992
add contributors
6 years ago
Benoît Latinier e285c91112
Merge pull request #412 from vincentbernat/feature/dockerfile
6 years ago
Vincent Bernat 9618c0f3a3 jade: avoid using eval once compiled
6 years ago
Benoît Latinier 47b14ab0c8
Merge pull request #413 from vincentbernat/fix/doc-isso-id
6 years ago
Vincent Bernat 30f0c7eeb8 docs: document data-isso-id
6 years ago
Vincent Bernat 2b7c17a361 Provide a multi-staged Dockerfile
6 years ago
Pelle Nilsson 22a36bdb7c Support notifications also for replies
6 years ago
Pelle Nilsson da6bb0cec7 Fix faulty check for parent comment
6 years ago
Rocka 30fef390f5
fix: admin and demo view redirect issue
6 years ago
Benoît Latinier d854ce8347
Merge pull request #410 from Rocket1184/hotfix/space-between-number-and-cjk-char
6 years ago
Rocka 4e2d2dfb20
i18n: add space between number and CJK character
6 years ago
Yuchen Pei 73c7933548 A quick dirty fix of #401 (#406)
6 years ago
Cimon Lucas (LCM) 361c596bf2 Adding support for ISSO_CORS_ORIGIN env variable to allow defining wildcard CORS origins
6 years ago
Jelmer Vernooij af3903e462
Merge pull request #399 from facundobatista/patch-1
6 years ago
Facundo Batista 28e154acfc
Small typo
6 years ago
Pelle Nilsson c9045f5b1f Implement opt-out for email notifications
6 years ago
Pelle Nilsson bc4bc55025 Include link to comment in email notifications
6 years ago
Pelle Nilsson 2e85ec653f Make SMTP connections thread safe
6 years ago
Pelle Nilsson 107b9be003 Add notification column to database if needed
6 years ago
Pelle Nilsson c30873e8a2 Merge remote-tracking branch 'tsileo/reply_notification' into reply_notification
6 years ago
Benoît Latinier 450291440f update doc
6 years ago
Benoît Latinier 0ff39017c6 drop wheezy testing which is EndOfLife (closes #385)
6 years ago
cclauss 7f55c81e08 autopep8 the code and then flake8
6 years ago
Benoît Latinier a68d392f9c add changes in CHANGES file to prepare release
6 years ago
Jelmer Vernooij 2cc564eeca
Merge pull request #380 from cclauss/drop-support-for-python-2.6-and-3.3
6 years ago
cclauss 343f24377f
Return to pyflakes
6 years ago
Martin Schenck 6ccebce041 Improved German translation
6 years ago
cclauss b569b19a7f compat.py passes pyflakes test
6 years ago
Benoît Latinier 2b56963f31 fix pyflakes error, make travis happy
6 years ago
Benoît Latinier d2b573a4d5
Merge pull request #256 from blatinier/issue-10/admin-interface
7 years ago
Jelmer Vernooij ea3507910f
Merge pull request #354 from mpchadwick/feature/comment-placeholder-color
7 years ago
Jelmer Vernooij 42bbe174cd
Merge pull request #357 from mpchadwick/feature/hu-order
7 years ago
Max Chadwick 3efe0c86d9 Put hu into correct alphabetical order
7 years ago
Max Chadwick be26948fff Use <label>s rather than placeholders
7 years ago
Jelmer Vernooij 0232051d1d
Merge pull request #355 from mpchadwick/fix/hu-translation
7 years ago
Max Chadwick 9ab23c0908 Fix hungarian translation
7 years ago
Max Chadwick 21983a61b6 Darken placeholder text
7 years ago
Jelmer Vernooij b7526ecab1
Merge pull request #350 from guthypeter/master
7 years ago
Peter Guthy 02eaffea21 Added hungarian translation
7 years ago
Martin Zimmermann 650c6cf126 Merge pull request #341 from macedigital/fix-identicon-hash-size
7 years ago
Martin Zimmermann 6a60f831b0 remove unused variable
7 years ago
Martin Zimmermann 9b0e3d29fe revert incorrect removal of the internal server startup CLI
7 years ago
Matthias Adler 43623f349b
Fix: Truncate key-length when generating identicons
7 years ago
Martin Zimmermann c3933bd9fd fix sphinx build
7 years ago
Martin Zimmermann c72946dc14 Run travis tests with python 3.5 & python 3.6
7 years ago
Martin Zimmermann 4c03a43c28 remove data-isso-id from documentation, it usually doesn't work as expected
7 years ago
Martin Zimmermann e3a8d0b93d fix db test with incorrect SQL id, that happened work with pre-3.6 dicts before
7 years ago
Jelmer Vernooij dc883e672a
Fix short title underline.
7 years ago
Jelmer Vernooij 539e6e4486 Merge pull request #336 from jelmer/flakes
7 years ago
Jelmer Vernooij 280b0d925a
Skip compat module when running flakes checks.
7 years ago
Jelmer Vernooij 39debdb011
Fix flakes errors.
7 years ago
Jelmer Vernooij 59b345b648
Run pyflakes on travis.
7 years ago
Jelmer Vernooij 8c33a84dd3 Merge pull request #253 from jGleitz/apidoc
7 years ago
Jelmer Vernooij b8adfe3f18 Merge pull request #316 from shengbinmeng/patch-1
7 years ago
Shengbin Meng 2f7d6aa09b Merge branch 'master' into patch-1
7 years ago
Jelmer Vernooij 71bda25568 Merge pull request #312 from pellenilsson/fix-require-email
7 years ago
Jelmer Vernooij c8e4e74514 Merge pull request #335 from philipcmonk/time
7 years ago
Jelmer Vernooij afbcb6413e
Add da entry to i18n.js.
7 years ago
Jelmer Vernooij 6006cd9e82
Merge Danish translation from https://github.com/MadsRC/isso
7 years ago
Philip Monk 26f0e06e78 display only complete units of time
7 years ago
Jelmer Vernooij 616c61ea88 Merge pull request #291 from ivegotasthma/ivegotasthma-patch-1
7 years ago
Jelmer Vernooij a23317818f Merge pull request #315 from ginggs/patch-1
7 years ago
Jelmer Vernooij 384673ebdb
Run travis tests with python 3.5 & python 3.6.
7 years ago
Jelmer Vernooij 7bfe36bfdf
Specify Python versions to use in travis.
7 years ago
Jelmer Vernooij 2f3cd0ac46 Merge pull request #325 from SilverRainZ/patch-1
7 years ago
Jelmer Vernooij fe4a1a11e9 Merge pull request #298 from kAworu/patch-2
7 years ago
谷月轩 fd0147e8ab Fixed typo in isso.conf
7 years ago
Jeremy Tan b14b1b51a9 validate->activate
7 years ago
Jeremy Tan cc8e61533f Add templates to MANIFEST.in
7 years ago
Benoît Latinier 84381f4f48 add: link to the thread
7 years ago
Benoît Latinier 2adb779fef add: edit author/email/website/message
7 years ago
Benoît Latinier e3fddf4ae8 add: orders in administration
7 years ago
Benoît Latinier 3212bf762f fix 500 error on pagination
7 years ago
Benoît Latinier 0b6a0e4d5f add: group by thread
7 years ago
Benoît Latinier 1516f56cbd fix: cursor pointer on links delete/validate
7 years ago
Benoît Latinier 7a79746f73 add: show author email
7 years ago
Benoît Latinier 0a93c866ff Add a basic admin interface (Fix issue #10)
7 years ago
benjhess e9eebf58e3 Refactored comments unittest to work with optional gravatar feature
7 years ago
benjhess 48a3bd72c8 Trigger
7 years ago
benjhess cbd4d90cb7 Added optional gravatar support
7 years ago
Shengbin Meng a9500e29dd Add language "zh" as alias of "zh_CN"
7 years ago
Shengbin Meng 4b7a32afac Make the Chinese translations actually work
7 years ago
Graham Inggs 88aafa60e5 add SOURCELINK_SUFFIX for compatibility with Sphinx 1.5
7 years ago
Pelle Nilsson 45a481daeb Fix require-email setting, #308
7 years ago
Martin Zimmermann d37b5bb030 Merge pull request #303 from MorrisJobke/highlight-links-in-text
7 years ago
Morris Jobke f33ca31320
Highlight links by underline in comments
7 years ago
Mads R. Havmand cd460ef152 Danish translation
7 years ago
Alexandre Perrin 03b0de2d81 api.rst: JSON and english typos
7 years ago
Martin Zimmermann e853442468 Merge pull request #295 from kAworu/patch-1
7 years ago
Alexandre Perrin 3d67f10c72 default isso.conf typo
7 years ago
Martin Zimmermann f3b1d0ba07 Merge pull request #293 from ckoepp/master
7 years ago
Christian Koepp 45316e535a added FreeBSD rc.d script
7 years ago
ivegotasthma 09b69feae9 fix: add missing i18n entry
8 years ago
Martin Zimmermann 750bcd4829 Merge commit 'f9a36c8'
8 years ago
Martin Zimmermann 6e56afdd02 Merge branch 'pr/281'
8 years ago
Martin Zimmermann 5e7f010241 add persian to i18n
8 years ago
Philip Monk f9a36c8b92 update doc to reflect 5ce48de
8 years ago
Aidin Gharibnavaz 5bd7de084f Adding Persian translation.
8 years ago
Martin Zimmermann a361ee3980 Back to development: 0.10.7
8 years ago
Martin Zimmermann ed6542c764 Preparing release 0.10.6
8 years ago
Martin Zimmermann 339318eb92 set require-author to false by default
8 years ago
Martin Zimmermann 80c1faeb82 Back to development: 0.10.6
8 years ago
Martin Zimmermann 9114275bca Preparing release 0.10.5
8 years ago
Martin Zimmermann bc244c9218 add changelog for 0.10.5
8 years ago
Martin Zimmermann 121b9aa3af update authors
8 years ago
Martin Zimmermann eeb091974d add bulgarian translation to i18n.js, #272
8 years ago
Martin Zimmermann 37b7690b2b append Github's .gitignore to .gitignore
8 years ago
Martin Zimmermann 2542acfca8 remove duplicated werkzeug compat middleware
8 years ago
Martin Zimmermann 4fc6d5ac33 Merge pull request #263 from gumblex/master
8 years ago
Martin Zimmermann a52a0862a8 Merge pull request #260 from panta82/vote-levels
8 years ago
Martin Zimmermann 3dff66c2de Merge pull request #268 from lynndotconfig/master
8 years ago
Liping Wang 12d85242dc correct offset localtime for comments ago
8 years ago
Dingyuan Wang c83346834e fix "optional" in zh translations
8 years ago
Martin Zimmermann 689f3b906c Merge remote-tracking branch 'tska/finnish'
8 years ago
Timo Kankare 75371bdd43 Ordered fi after en.
8 years ago
Ivan Pantic fd3f6f820d Documentation for vote levels
8 years ago
Ivan Pantic 4972433406 Vote levels features (custom classes based on the comment votes)
8 years ago
Ivan Pantic b0f8606b0f Hiding zero votes is now done through CSS instead of javascript.
8 years ago
Ivan Pantic b620f2c0b0 Bug when content is number 0.
8 years ago
Timo Kankare 14962ad51f Added fi to i18.n.js.
8 years ago
Timo Kankare cf20bc5687 Finnish translation. i18n/fi.js added.
8 years ago
Martin Zimmermann 46b2874b3d Merge pull request #252 from blatinier/issue-27/data-attr-overide
8 years ago
Martin Zimmermann bbff002bd6 Merge pull request #254 from jGleitz/preview
8 years ago
Martin Zimmermann 7cba8f9880 Merge pull request #257 from blatinier/issue-124/mandatory-name
8 years ago
Benoît Latinier 459611c0e7 Add an option for mandatory author (Fix issue #124)
8 years ago
Joshua Gleitze 3c9bbda252 preview endpoint
8 years ago
Joshua Gleitze 2a11c000d4 convert bad tabs to spaces
8 years ago
Joshua Gleitze 084f6e5cf0 apidoc settings
8 years ago
Joshua Gleitze 8a9fe29bce apidoc for count
8 years ago
Joshua Gleitze afd4107ac3 apidoc for like & dislike
8 years ago
Joshua Gleitze ded4927ae4 apidoc for moderate
8 years ago
Joshua Gleitze c3439e5c79 apidoc for "delete comment"
8 years ago
Joshua Gleitze 9b79a98851 apidoc for "edit comment"
8 years ago
Joshua Gleitze 1f804bcf8e apidoc for "view comment"
8 years ago
Joshua Gleitze b2d9c80b5f apidoc for "new comment"
8 years ago
Joshua Gleitze 5ca5d680fa apidoc for fetch
8 years ago
Joshua Gleitze aa373f798f + apidoc.json
8 years ago
Benoît Latinier 54a11c95f7 Update documentation
8 years ago
Benoît Latinier f1325ccaca Fix issue #27 on override thread discovery with custom data-attributes
8 years ago
Martin Zimmermann 4d3f6fa390 Back to development: 0.10.5
8 years ago
Martin Zimmermann 40ba1663aa Preparing release 0.10.4
8 years ago
Martin Zimmermann edf62b1c61 update changelog
8 years ago
Martin Zimmermann 0377c8bb20 fix reponse for OPTIONS response on Python 3, #242
8 years ago
Martin Zimmermann e2fba8af66 no longer install as zipped egg
8 years ago
Martin Zimmermann 2612fbc0f5 fix missing wrapper attribute
8 years ago
Martin Zimmermann c8311bdda7 Merge pull request #243 from pozitron57/patch-2
8 years ago
Sergey Lisakov 2a6aa1203b Fix pluralisation issues and inexact translation
8 years ago
Martin Zimmermann b5e7c78dcc Merge pull request #237 from jelmer/rjs
8 years ago
Martin Zimmermann 05bd6b3137 Merge pull request #236 from jelmer/man
8 years ago
Jelmer Vernooij ba43de3f9b
Add make variable for r.js, so it can easily be overriden.
8 years ago
Jelmer Vernooij 2dca30f46d
Create man page directory before moving files to them.
8 years ago
Martin Zimmermann 6971f14233 Back to development: 0.10.4
8 years ago
Martin Zimmermann 8d9ee1db14 Preparing release 0.10.3
8 years ago
Martin Zimmermann 3cd475ec31 follow redirects, fix #193
8 years ago
Martin Zimmermann 00bb42e831 add support for older setuptools (6.0 or maybe even older)
8 years ago
Martin Zimmermann 0e1b8b38b2 Back to development: 0.10.3
8 years ago
Martin Zimmermann 0e817a928a Preparing release 0.10.2
8 years ago
Martin Zimmermann 8b76a7a208 update changelog and fix wording
8 years ago
Martin Zimmermann 3281d645f8 run Tox with setuptools 6.1 or higher
8 years ago
Martin Zimmermann a3a1d8cb86 fix getAttribute return value
8 years ago
Martin Zimmermann 098f09e6df upgrade Travis' pip for PEP 426
8 years ago
Martin Zimmermann 032058b778 fix typo
8 years ago
Martin Zimmermann e24ac9aff8 Back to development: 0.10.2
8 years ago
Martin Zimmermann 7961943571 Preparing release 0.10.1
8 years ago
Martin Zimmermann 2e132f26db update changelog
8 years ago
Martin Zimmermann 3e309e0850 fix input field value access
8 years ago
Martin Zimmermann 6fdcbfb1b7 Back to development: 0.11
8 years ago
Martin Zimmermann b4da20a541 Preparing release 0.10
8 years ago
Martin Zimmermann 9496d7d4c2 use environment markers as defined by PEP 426
8 years ago
Martin Zimmermann 1401132c73 pin html5lib to 0.9999999
8 years ago
Martin Zimmermann 829ef4f502 make universal wheels
8 years ago
smileboy b48ac000b1 config.js error.
8 years ago
Martin Zimmermann 84f8acb21e Merge pull request #225 from gdyer/patch-1
8 years ago
Graham Dyer 890f296d58 fixes 2 typos
8 years ago
Martin Zimmermann 57f902acd4 actually include isso/defaults.ini
8 years ago
Martin Zimmermann 622b59f8a4 move default config expansion to function body (`default` already exists)
8 years ago
Martin Zimmermann 93e783ed60 symlink share/isso.conf to isso/defaults.ini and include it properly
8 years ago
Martin Zimmermann 5eb101fcb3 bump copyright year in docs and manpages
8 years ago
Martin Zimmermann 8579cbd6f8 fix undefined variable usage and enumeration logic
8 years ago
Martin Zimmermann 00ed48a1d3 fix incorrect define header
8 years ago
Martin Zimmermann 4c36db1ad2 Merge branch 'legacy/0.9'
8 years ago
Martin Zimmermann 1f86fa897e add vi (vietnamese) translation, #222
8 years ago
Martin Zimmermann dd9ebdc46b Merge remote-tracking branch 'origin/pr/222'
8 years ago
Martin Zimmermann 815c7f54b5 add hr (croatian) translation
8 years ago
Martin Zimmermann dc1d83b74b add cs (czech) translation
8 years ago
Martin Zimmermann 1201c5145d fix link to gevent, #204
8 years ago
Martin Zimmermann 7d89b94d66 Merge remote-tracking branch 'origin/pr/198'
8 years ago
Martin Zimmermann e52c7f801a ignore pip-selfcheck.json
8 years ago
Martin Zimmermann 4517235f85 add py35 to tox, fix missing dependency for py26
8 years ago
Martin Zimmermann fc10a30091 fix init script, #221
8 years ago
Martin Zimmermann 2e41c4728a don't extend native objects, #191
8 years ago
Đinh Xuân Sâm 5ce7084f59 Fix typo: s/trướ/trước
9 years ago
Đinh Xuân Sâm f1a8aed320 Completed Vietnamese translation.
9 years ago
Đinh Xuân Sâm 17747368e1 Created new branch for translation: vietnamese.
9 years ago
Martin Zimmermann 2137441958 Merge remote-tracking branch 'origin/pr/214'
9 years ago
Martin Zimmermann 33c02b45b4 Merge remote-tracking branch 'origin/pr/202'
9 years ago
Martin Zimmermann 54952e67ad Merge remote-tracking branch 'origin/pr/199'
9 years ago
Martin Zimmermann bf9e803dce Merge remote-tracking branch 'origin/pr/195'
9 years ago
Steffen Prince 367ee48b76 Pin misaka to 1.x
9 years ago
Sergey Lisakov 45c4e43ba2 Update ru.js
9 years ago
Sergey Lisakov 11dff33450 Update ru.js
9 years ago
Sergey Lisakov ed0f680e97 Update Russian translation
9 years ago
Nick Hu b9ce411f85 write unit tests for require-email
9 years ago
Nick Hu cb21af4cc5 Add config for requiring emails
9 years ago
Nick Hu 9e9e7b6f66 Make Vagrant actually work
9 years ago
Mushiyo 2af17b6204 corrected punctuation
9 years ago
Mushiyo 19179b1764 modify to a better translation
9 years ago
Mushiyo b98133836d Added zh_TW translation
9 years ago
Martin Zimmermann 5d21e1b20a pin html5lib due to regression
9 years ago
Martin Zimmermann 88e77bf9a3 typo
9 years ago
Martin Zimmermann 8018a7e23d update russian translation
9 years ago
Martin Zimmermann f940d630c4 update changelog
9 years ago
Martin Zimmermann cd0b41f2a6 Merge pull request #189 from avinassh/patch-1
9 years ago
avinassh 23c19a061c Added instructions to deploy Isso on Openshift
9 years ago
Martin Zimmermann 8f23a73edd update changelog for 0.9.10
9 years ago
Martin Zimmermann 3a18013db6 Back to development: 0.9.11
9 years ago
Martin Zimmermann 42e0642263 Preparing release 0.9.10
9 years ago
Julien Enselme 7e58f6b97c Correct auth without password or username.
9 years ago
Martin Zimmermann 3f73d83c99 Merge pull request #184 from wendal/i18n_zh_CN
9 years ago
wendal 6e4d9ba446 add: zh_CN Translation
9 years ago
Martin Zimmermann 35897ef01f Merge pull request #175 from Jenselme/fedora
9 years ago
Martin Zimmermann a2bda63bf0 Merge pull request #174 from Jenselme/smptAuth
9 years ago
Julien Enselme 7e51915f54 Add fedora in the prebuilt-package section of docs/docs/install.rst.
9 years ago
Julien Enselme 6973128eac Correct auth without password or username.
9 years ago
Martin Zimmermann 630e76f66c Merge branch 'legacy/0.9'
9 years ago
Martin Zimmermann beca18a344 Back to development: 0.9.10
9 years ago
Martin Zimmermann c8655731d6 Preparing release 0.9.9
9 years ago
Martin Zimmermann ed38ce13d8 update changelog
9 years ago
Martin Zimmermann f5566c1325 encode username/password in SMTP auth only for Python 2, fix #146
9 years ago
Martin Zimmermann 596acb7f79 request with User-Agent 'Isso/...', #151
9 years ago
Sergey 56c81c2d06 Update ru.js
9 years ago
Martin Zimmermann 45053f9c0c catch errors in http response
9 years ago
Martin Zimmermann 8e4db5a7a2 typo
9 years ago
Martin Zimmermann f681002e7e add support for html5lib below 0.95, #168
9 years ago
Martin Zimmermann c3c519ad0e add compatibility middleware for werkzeug 0.8, #170
9 years ago
Martin Zimmermann 9451704d3d Revert "require html5lib 0.95 or higher, #168"
9 years ago
Martin Zimmermann e5219157a7 Merge pull request #172 from xuhdev/fix-159-2
9 years ago
Hong Xu 21e91efbf9 Save the session-key as a unicode string in the db
9 years ago
Martin Zimmermann 957fc72eb1 reject request if reject is actually defined, fix #165
9 years ago
Martin Zimmermann 0466977109 replace bullet with HTML entity, fix #169
9 years ago
Martin Zimmermann e97d2aba04 require html5lib 0.95 or higher, #168
9 years ago
Martin Zimmermann aa64b27684 Python 2.7.9 didn't get the context=ssl... backport unfortunately
9 years ago
Martin Zimmermann e3dedef7ed Merge pull request #167 from albohlabs/feature/ansible
9 years ago
Daniel Gräber 09ad29aa81 Remove .idea from gitignore
9 years ago
Martin Zimmermann e098a199f3 Merge pull request #164 from xuhdev/typo
9 years ago
Martin Zimmermann 4c9a2aba30 fetch polish translation
9 years ago
Daniel Gräber 7725cfeefc Remove old apache conf
9 years ago
Daniel Gräber b37487dcef Add comments for debugging
9 years ago
Daniel Gräber aea85f807f Edit uwsgi and nginx use tcp socket
9 years ago
Daniel Gräber 5a29d2742d Remove virtualenv
9 years ago
Daniel Gräber 6deacf9527 Update add myself to contributors list
9 years ago
Daniel Gräber 894086bda2 Fix catch socket timeout and error exceptions
9 years ago
Daniel Gräber 63c3e1252c Update gitignore
9 years ago
Daniel Gräber 8387a5390f Replace vagrant shell provisioning with ansible
9 years ago
Hong Xu 81d09bfbe4 Fix some typos in the intallation doc.
9 years ago
Martin Zimmermann 0d55dadf46 Merge pull request #163 from albohlabs/patch-1
9 years ago
Daniel Gräber 763586448a Fix npm uglifyjs missing package error
9 years ago
Martin Zimmermann 5f511023e9 Merge pull request #158 from rolisz/patch-1
9 years ago
Roland Szabo 2a3075d0fb Catch exception in anonymize function
9 years ago
Martin Zimmermann 26b889d381 Merge remote-tracking branch 'origin/pr/157'
9 years ago
Matias 1957f4f99f Update CONTRIBUTORS.txt
9 years ago
Matias dc172975ee Update CONTRIBUTORS.txt
9 years ago
Matias c5496b103d Added spanish translation
9 years ago
Matias 68a8c2c380 Update client.rst
9 years ago
Matias 4d7fc956ab Create es.js
9 years ago
Martin Zimmermann e271851b50 fetch greek translation
9 years ago
Martin Zimmermann f80460a685 Merge pull request #152 from jelmer/dutch
9 years ago
Jelmer Vernooij 00c4d4149e Import transifex improvements to Dutch translation.
9 years ago
Martin Zimmermann 81756dcefa Merge pull request #150 from jelmer/dutch
9 years ago
Jelmer Vernooij dcb7f6457c Add Dutch translations.
9 years ago
Martin Zimmermann 7c4565afc7 Merge pull request #148 from richard-fine/feature/vagrant
10 years ago
Richard Fine 6ac5e8c6d0 Reverted change to demo file; changed web server config to mount the uWSGI app at the root, as it turns out it's capable of serving the demo file itself
10 years ago
Richard Fine 18118ec080 tell uWSGI to auto-reload when .py files are changed during development
10 years ago
Richard Fine 3977a8d00d set up Vagrant support to make it easy to get a dev environment going quickly
10 years ago
Martin Zimmermann a6c859c5a5 add changelog for 0.10
10 years ago
Martin Zimmermann f47df75422 use system's CA certificates for Python 2.7.9 or higher to verify TLS connection
10 years ago
Martin Zimmermann d70eb160b9 Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann 83d3c7443c remove email field from JSON example
10 years ago
Martin Zimmermann d6602b7fe4 Merge branch 'pr/143'
10 years ago
Martin Zimmermann 7f5ff457c1 integrate swedish translation into Isso
10 years ago
Martin Zimmermann afe6ece865 Merge branch 'pr/144'
10 years ago
Martin Zimmermann b45f39e662 resolve when comment is in moderation queue, too
10 years ago
Théo Zimmermann bba91b3f93 don't lose comment if it failed to create
10 years ago
Gustav Näslund da47dbd374 Added swedish translation file
10 years ago
Martin Zimmermann 4b97684e22 fix editing when avatars are disabled
10 years ago
Martin Zimmermann c9be737f5e document broken stdout notifications, #138
10 years ago
Martin Zimmermann 89d6ea076b add --empty-id flag to import weird Disqus exports, fixes #135
10 years ago
Martin Zimmermann 8918c4a186 Merge pull request #137 from Zimmi48/master
10 years ago
Martin Zimmermann 928198f340 update translations
10 years ago
Martin Zimmermann a1be81f6c8 add UnicodeDecodeError to troubleshooting (via #93)
10 years ago
Théo Zimmermann 97015d4034 correct order by in sql request
10 years ago
Martin Zimmermann 4b64615f92 set encoding to UTF-8 for Disqus and WordPress import, also fixes #93
10 years ago
Martin Zimmermann 0d6d975f98 use /opt/isso as virtualenv and add a simple sysvinit script
10 years ago
Martin Zimmermann f0a0f40223 add fallback localStorage implementation if not functional, #134
10 years ago
Martin Zimmermann f06be982e7 add target to lint for Python 2 and 3
10 years ago
Martin Zimmermann d469324392 fix 'undefined name 'buffer'' on Python 3.x
10 years ago
Martin Zimmermann b800a8bbe7 Merge pull request #130 from Zimmi48/master
10 years ago
Théo Zimmermann d0a0ac39b0 bug fixed: was trying to remove an unexisting span.votes
10 years ago
Martin Zimmermann 74363d44ba Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann da174cd712 Back to development: 0.9.9
10 years ago
Martin Zimmermann 33a1edafac Preparing release 0.9.8
10 years ago
Martin Zimmermann a07296b9fd update changelog
10 years ago
Martin Zimmermann 88be07d5de import backports.configparser before configparser, #128
10 years ago
Martin Zimmermann 9aaac16d17 add #125 and #129 to troubleshooting
10 years ago
Julien Lamy 4bc70dd09b Update documentation for deployment with mod_wsgi
10 years ago
Martin Zimmermann 9c2a48b388 Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann 1bfd4fb916 Back to development: 0.9.8
10 years ago
Martin Zimmermann 278f5c74bc Preparing release 0.9.7
10 years ago
Martin Zimmermann 6a3a9ea114 SMTP authentication uses bytes, not unicode, fixes #126
10 years ago
Martin Zimmermann ad1fdfdb32 add note about broken WXR (use xmllint to fix)
10 years ago
Martin Zimmermann 721e87a843 Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann 6c345f5d81 Back to development: 0.9.7
10 years ago
Martin Zimmermann 9f90e67f0a Preparing release 0.9.6
10 years ago
Martin Zimmermann 4b4b4a6a66 add changes for 0.9.6
10 years ago
Martin Zimmermann c712d196d7 add option to hide voting feature, closes #115
10 years ago
Martin Zimmermann e2911da560 fix #106
10 years ago
Martin Zimmermann d21aed83f8 save name, email and website in localStorage, closes #119
10 years ago
Martin Zimmermann d9098b83f0 use different identifiers to avoid mixin events
10 years ago
Martin Zimmermann c8acd461d3 do not export email field
10 years ago
Martin Zimmermann f7e51fd03d Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann 1a4b252bfe Back to development: 0.9.6
10 years ago
Martin Zimmermann 3e8d8f0122 Preparing release 0.9.5
10 years ago
Martin Zimmermann 77508ffb3a add changes for 0.9.5
10 years ago
Martin Zimmermann 5e76d406dc add link to Docker image
10 years ago
Martin Zimmermann 881788a049 fix <time> semantics and add title attribute, closes #104
10 years ago
Martin Zimmermann 0f1b95a125 add log to file option, closes #103
10 years ago
Martin Zimmermann 8a58afc8e6 fix order of converting HTML back to text
10 years ago
Martin Zimmermann 4a8cbcd8f0 limit request size, closes #107
10 years ago
Martin Zimmermann 7008e88314 prevent &nbsp; insertion, closes #112
10 years ago
Martin Zimmermann 7701dafa13 remove old Markup.js module
10 years ago
Martin Zimmermann 4aaa5bbdd2 fix #106
10 years ago
Martin Zimmermann 57d4380106 fix french 'date-now'
10 years ago
Martin Zimmermann e02687a066 remove superscript extension from defaults (again)
10 years ago
Martin Zimmermann 392add88e6 disable intra emphasis
10 years ago
Martin Zimmermann f0d1958cc0 Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann a89f228477 fix virtualenv path, add yum/apt-get hints and AUR package
10 years ago
Martin Zimmermann 7f82745cd0 Back to development: 0.9.5
10 years ago
Martin Zimmermann 203f9c7c1a Preparing release 0.9.4
10 years ago
Martin Zimmermann 978d22e77e fix wrong status code type
10 years ago
Martin Zimmermann ce9781df51 Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann b59f650c99 Back to development: 0.9.4
10 years ago
Martin Zimmermann d2769d73b4 Preparing release 0.9.3
10 years ago
Martin Zimmermann 261d0e4985 update changelog
10 years ago
Martin Zimmermann 35acf1e17e from __future__ import unicode_literals
10 years ago
Martin Zimmermann ee8a84c0b2 add CSS for blockquote and pre
10 years ago
Martin Zimmermann ad9384e8d7 preserve HTML tags while editing comments
10 years ago
Martin Zimmermann 0c8ec38dda don't scrollIntoView on expanding comments
10 years ago
Martin Zimmermann 9674afbeed remove isso.css from pypi distribution
10 years ago
Martin Zimmermann 9fa7edb74b add version fallback, closes #102
10 years ago
Martin Zimmermann 3975227ada Revert "border-radius only for first and last input"
10 years ago
Martin Zimmermann b2b6af24d6 fix clode block generation
10 years ago
Martin Zimmermann d386590e57 Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann 400e523c4c Back to development: 0.9.3
10 years ago
Martin Zimmermann a201b24802 Preparing release 0.9.2
10 years ago
Martin Zimmermann fbb55bf38a add esperanto translation
10 years ago
Martin Zimmermann 221b782157 refactor configuration parsing
10 years ago
Martin Zimmermann f489ae63d6 Python3.4 now uses system's CA to connect to SMTP via TLS
10 years ago
Martin Zimmermann 4a7830a96d add [hash] to isso.conf and update some strings
10 years ago
Martin Zimmermann 396eccfa00 fix error message
10 years ago
Martin Zimmermann 33ce5959e9 Merge branch 'pr/101'
10 years ago
Martin Zimmermann 4c697c50fd reuse environment variable
10 years ago
Federico Ceratto fb28eb85c5 Enable isso settings directory
10 years ago
Martin Zimmermann 9260e143f1 decouple hash generation from comment view and allow customization
10 years ago
Martin Zimmermann 91e63c7e5f simplify import format detection
10 years ago
Martin Zimmermann 3f50db4174 add link to package on AUR
10 years ago
Martin Zimmermann dc40d80c81 Merge branch 'legacy/0.9'
10 years ago
Martin Zimmermann 41dd7d8173 Back to development: 0.9.2
10 years ago
Martin Zimmermann d5a30bc09f Preparing release 0.9.1
10 years ago
Schoewilliam ad32243708 Fix issue #97 : Alignment problem with the submission forms fields
10 years ago
Martin Zimmermann 3f8bbd6f3c remvoe pagination and css improvements from the contribution page
10 years ago
Martin Zimmermann 661f2a6881 Back to development: 0.10
10 years ago
Martin Zimmermann 82932eb57f Preparing release 0.9
10 years ago
Martin Zimmermann d2644c3ba3 increase Copyright year
10 years ago
Martin Zimmermann a201534c8d differenciate between deployment and init scripts
10 years ago
Martin Zimmermann 119ceb0035 improve site targets
10 years ago
Martin Zimmermann 460db1dd1e update landing page
10 years ago
Martin Zimmermann a741c62cd6 use python-passlib fallback on Debian
10 years ago
Martin Zimmermann 211f637569 remove Django's PBKDF2 in favour of werkzeug.security.pbkdf2_hex
10 years ago
Martin Zimmermann 932274921c extend FastCGI deployment example with virtualenv
10 years ago
Martin Zimmermann 64054ec029 remove unused code, fix pyflakes and jshint hints
10 years ago
Martin Zimmermann 8c6a7e209e pin versions for Squeeze and Wheezy, also remove py26 from default run
10 years ago
Martin Zimmermann 94ee6a6981 use el.on("click") to load more comments and prevent default
10 years ago
Martin Zimmermann d0a50c7905 fix french translation
10 years ago
Martin Zimmermann 2d37637019 add fr and de translation for postbox-website, fix french translation
10 years ago
Martin Zimmermann 20fc700e98 fix typos
10 years ago
Martin Zimmermann 96206b110c fix pagination translations and pluralization
10 years ago
Martin Zimmermann cff9cabe9a update changelog
10 years ago
Martin Zimmermann 9c16237a6a update authors
10 years ago
Martin Zimmermann 8b5462ed2e remove /check-ip
10 years ago
Martin Zimmermann 5d3f178fca remove debug statement
10 years ago
Martin Zimmermann e00ef92a67 remove now unused parent-hightlight rule
10 years ago
Martin Zimmermann 96620e8cd0 rename .postbox to .isso-postbox
10 years ago
Martin Zimmermann 165caa9620 show all top-level comments (for now)
10 years ago
Martin Zimmermann f2aedff1a3 Merge branch 'fix/reference-deleted-comment'
10 years ago
Martin Zimmermann 8fefe3a616 fix hidden reply to deleted comment (and change a few names)
10 years ago
Martin Zimmermann 6bfd1344ba Merge branch 'remove-avatar-preview'
10 years ago
Martin Zimmermann e1b4ddb123 remove sha1.js and pbkdf2.js, part of #51
10 years ago
Martin Zimmermann 14fac577df fix syntax
10 years ago
Martin Zimmermann 16663d44f8 hide avatar during editing
10 years ago
Martin Zimmermann 0211322915 remove avatar preview in postbox
10 years ago
Martin Zimmermann 7474be12f0 Merge branch 'add-website-field'
10 years ago
Martin Zimmermann 77d40a99eb border-radius only for first and last input
10 years ago
Martin Zimmermann 065460d78a add tests for website validation
10 years ago
Martin Zimmermann 5b0ce6471a add website input
10 years ago
Martin Zimmermann fd8465eb1c warn about incorrect notification backends, fix #95
10 years ago
Martin Zimmermann 8cf9ea348e .gitignore /lib64 and /man
10 years ago
Martin Zimmermann c334655d91 Merge branch 'jade'
10 years ago
Martin Zimmermann 29085979e5 document jade as new (build) dependency
10 years ago
Martin Zimmermann 1a970557b8 add new JS deps to Makefile
10 years ago
Martin Zimmermann b60dbd3e42 remove old template 'struct'
10 years ago
Martin Zimmermann 608119e8ce add r.js build optimization for jade plugin
10 years ago
Martin Zimmermann ccf59fba2a initial support for jade
10 years ago
Martin Zimmermann 7c3bd52821 stub requirejs-text to save ~5kb
10 years ago
Martin Zimmermann 47618d06f2 simplify GH readme to avoid repetition
10 years ago
Martin Zimmermann fcc4cd63b4 fix #93
10 years ago
Martin Zimmermann a5e1dcc225 Merge pull request #92 from Schoewilliam/39-84
10 years ago
Schoewilliam dd14bb91db #49 : Comments thread and submission form now support data-isso-avatar="false"
10 years ago
Martin Zimmermann 4f98bca202 hide avatars with data-isso-avatar="false", part of #49
10 years ago
Martin Zimmermann 29b4643c5e Merge pull request #91 from Schoewilliam/39-84
10 years ago
Schoewilliam 34a50910f2 Tweaking the submission form — making it responsive
10 years ago
Martin Zimmermann c7c7595991 Merge branch 'pr-89'
10 years ago
Martin Zimmermann 9e3d933d82 remove targets to generate CSS from SCSS
10 years ago
Schoewilliam c2dd9d3bb5 getting rid of SCSS
10 years ago
Martin Zimmermann fb182ae93f Merge branch 'pr-83', closes #83
10 years ago
Martin Zimmermann e6fdfb03eb do not limit From: field to email address-only, closes #87
10 years ago
Martin Zimmermann 5c91a84951 fix uWSGI spooling for Python3
10 years ago
Martin Zimmermann d5e5e9c7e2 use numerical values in default configuration to match user-provided values
10 years ago
Martin Zimmermann ed810cdf39 fetch all nested comments when set to 'inf'
10 years ago
Martin Zimmermann 324326c2ba translate Hidden to german and french
10 years ago
Martin Zimmermann f3a7f65687 remove keyworded function arguments and fix JS hints
10 years ago
Martin Zimmermann 59bfde7c03 idiomatic python
10 years ago
Martin Zimmermann 4ee509ed02 Merge branch 'feature/75', closes #75
10 years ago
Martin Zimmermann 123ea26ca9 handle WP's query-string "pages" and variable WXR namespaces
10 years ago
Srijan Choudhary 26ae30f76c Update docs
10 years ago
Srijan Choudhary 26d26ae71b Add i18n for "Hidden"
10 years ago
Srijan Choudhary 8879db59b8 Show all comments if limit/nested_limit set as inf
10 years ago
Srijan Choudhary baef73f1e8 Change default values of config params
10 years ago
Srijan Choudhary ab927e39d0 Add a reveal on click parameter
10 years ago
Srijan Choudhary 2e2fba89a6 Add some tests
10 years ago
Srijan Choudhary abc0eaaf1d Handle limit/nested_limit zero
10 years ago
Martin Zimmermann 333bba728b update docs
10 years ago
Martin Zimmermann 346b60a9b3 disqus import imports anonymized IP address now
10 years ago
Martin Zimmermann 39101c2ac7 Disqus import uses Progressbar class as well
10 years ago
Martin Zimmermann 12f8af8434 add initial support to import WordPress comments
10 years ago
Martin Zimmermann 263095cf5f allow Travis CI to disturb the IRC channel
10 years ago
Martin Zimmermann 9dabf88b93 Travis supports Python 3.4 now
10 years ago
Martin Zimmermann 0154113c80 replace assert with assertEqual
10 years ago
Martin Zimmermann 910da2a6c0 refactor disqus migration code into a class
10 years ago
Martin Zimmermann cb36107eda reword and clean documentation
10 years ago
Srijan Choudhary 54b156844b Add max-comments limit for nested replies
10 years ago
Srijan Choudhary f5da45e525 Correct total comments count
10 years ago
Srijan Choudhary 76d5dbc97f Take max comments to load from config.js
10 years ago
Srijan Choudhary 8dbf4d5337 Client side changes for new API
10 years ago
Srijan Choudhary a5d8a0cfe1 Change in API: hidden_replies field instead of passed_replies
10 years ago
Srijan Choudhary 3c3e83b05c Bug in API: Reply count should also filter by the after value passed
10 years ago
Srijan Choudhary 8fdceeaafb Handle edge cases occuring in tests
10 years ago
Srijan Choudhary 71024cea70 API update - new comments format
10 years ago
Martin Zimmermann d3aa8129c4 Merge branch 'pr/85'
10 years ago
Martin Zimmermann a753efe42d add doctype and charset
10 years ago
Srijan Choudhary cb0acc5ac0 Add a basic demo page
10 years ago
Martin Zimmermann 087b9e98ff fix tx-push script to work with GNU mktemp
10 years ago
Martin Zimmermann b9102b44e2 fix russian translation for "Anonymous"
10 years ago
Martin Zimmermann 9706d7df12 ... but Travis does not ship Python 3.4
10 years ago
Martin Zimmermann f48cbf65b0 add Python 3.4 to Tox and Travis CI
10 years ago
Martin Zimmermann 26cc7eb634 Merge branch 'feature/79', closes #79
10 years ago
Martin Zimmermann 344f94e5a0 rm forward (reference) arrow
10 years ago
Martin Zimmermann 1e5878bec3 auto-correct wrong/invalid parent to max nesting level of 1
10 years ago
Martin Zimmermann ce14726f2f set parent to null if parent is not top-level comment
10 years ago
Martin Zimmermann 24adafa25b increase db version after migration
10 years ago
Martin Zimmermann 9ee0a1a2eb reply to comment now nests to max. level of 1, part of #79
10 years ago
Martin Zimmermann 5d2daa1244 add db migration, part of #79
10 years ago
Martin Zimmermann 1253d40422 Merge branch 'fix/issue-77'
10 years ago
Martin Zimmermann f09b6b9bdb preserve line breaks when editing comments, finally closes #77
10 years ago
Martin Zimmermann 748da790da Merge branch 'fix/issue-77'
10 years ago
Martin Zimmermann 13d979e290 Back to development: 0.8.3
10 years ago
Martin Zimmermann 16d79891da Preparing release 0.8.2
10 years ago
Martin Zimmermann 4444abc3d6 Merge branch 'fix/issue-77' into legacy/0.8
10 years ago
Martin Zimmermann 5ab3a7bed4 remove white-space: pre, closes #77
10 years ago
Martin Zimmermann d6237de982 Back to development: 0.8.2
10 years ago
Martin Zimmermann d5f3a118bb Preparing release 0.8.1
10 years ago
Martin Zimmermann 3fc52b94b9 Merge branch 'hotfix/origin-fallback'
10 years ago
Martin Zimmermann 52c41eef44 Merge branch 'hotfix/origin-fallback' into legacy/0.8
10 years ago
Martin Zimmermann 0509e15f67 clarify [general] host usage a bit
10 years ago
Martin Zimmermann 765a91fefb return first item of [general] -> host if origin is hidden
10 years ago
Martin Zimmermann cef44ab0ad Back to development: 0.9
10 years ago
Martin Zimmermann 87179fe8fa Preparing release 0.8
10 years ago
Martin Zimmermann e60ebfbdca correct manpage title
10 years ago
Martin Zimmermann eeebb4c34c fix coverage generation
10 years ago
Martin Zimmermann c4430c857c add test for database migration
10 years ago
Martin Zimmermann 6bb8207236 update changelog
10 years ago
Martin Zimmermann b199651548 run testsuite via setuptools
10 years ago
Martin Zimmermann 0233619d35 mv specs/ to tests/
10 years ago
Martin Zimmermann fb68f9a820 adjust coverage generation a bit
10 years ago
Martin Zimmermann 5166e69265 remove doctest-ignore-unicode dependency
10 years ago
Martin Zimmermann 4fa0f0d8ea fix server time offset calculation for IE10
10 years ago
Martin Zimmermann e393711859 use HTTP_REFERER as fallback if HTTP_ORIGIN is not sent
10 years ago
Martin Zimmermann 09451ff707 replace textarea with a content-editable div
10 years ago
Martin Zimmermann 638ddc6359 pass event through for $.on
10 years ago
Martin Zimmermann dd0837c0f7 remove superscript extension from Markdown
10 years ago
Martin Zimmermann 103e68e27b update changelog
10 years ago
Martin Zimmermann 78b34ecdd2 return only publicely visible comments on /count
10 years ago
Martin Zimmermann 1e2efb24b3 remove duplicate test
10 years ago
Martin Zimmermann 5ce48de94a add POST request to get comment counts for multiple URLs
10 years ago
Martin Zimmermann 0d6d072281 add isso.conf example to source distribution
10 years ago
Martin Zimmermann ce35b9ff0e Merge branch 'doc-improvements'
10 years ago
Martin Zimmermann da782654b2 remove warning when SMTP is not configured as notifcation backend
10 years ago
Martin Zimmermann e4ad81cde0 exit if no website(s) are configured and remove default host
10 years ago
Martin Zimmermann d69bfc2511 fix visual update up/downvote
10 years ago
Martin Zimmermann 0b816a0677 store session-key in database (once generated on db creation), #74
10 years ago
Martin Zimmermann de50c683bc extend installation docs
10 years ago
Martin Zimmermann e75fa4b7e1 add target to generate Isso's CSS
10 years ago
Martin Zimmermann 2c2c911ba4 Isso requires SQLite 3.3.8 or later
10 years ago
Martin Zimmermann ac41731c6a update changelog to reflect latest changes
10 years ago
Martin Zimmermann 5df4b40a1f rewrite Makefile
10 years ago
Martin Zimmermann b19084b3e2 add manpage stuff
10 years ago
Martin Zimmermann ad31a67d8f get doc version via installed distribution
10 years ago
Martin Zimmermann 8f293ad435 configurable avatar colors
10 years ago
Martin Zimmermann c6e9c7eee4 Revert "run tests without depending on an already installed instance"
10 years ago
Martin Zimmermann a94472d062 add BSD license header to crypto.py
10 years ago
Martin Zimmermann f6e25d7acb Merge pull request #72 from eroen/master.public
10 years ago
eroen 4e5e8c44f7 run tests without depending on an already installed instance
10 years ago
Martin Zimmermann 33fa56d8e9 add suggested flattr button
10 years ago
Martin Zimmermann 83361fbdac improve "time from now" helper, based on moment.js
10 years ago
Martin Zimmermann ffd5882810 Merge branch 'fix-time-ago', closes #69
10 years ago
Martin Zimmermann 9a678e4691 an attempt to address #69
10 years ago
Martin Zimmermann 8540d45fae cumtime is only available in Python 2.7.4 or later
10 years ago
Martin Zimmermann 772730dbcd fix make_app logic
10 years ago
Martin Zimmermann c4b80ff702 make CORS middleware more generic to use
10 years ago
Martin Zimmermann 3b248b293f set SMTP timeout to 10 seconds and make it configurable, ref 9a735e8
10 years ago
Martin Zimmermann 72c38c2312 set day_diff to 0 if negative, related to #69
10 years ago
Martin Zimmermann 9a735e8eac initial SMTP connection now timeouts after 5 seconds, closes #70
10 years ago
Martin Zimmermann 154d591ae9 add CONTRIBUTORS.txt
10 years ago
Martin Zimmermann 9272e7390f Merge branch 'feature/configurable-markdown', closes #62
10 years ago
Martin Zimmermann 1b0a74e188 expand db path, closes #68
10 years ago
Martin Zimmermann c6214e31d7 document new [markup] section
10 years ago
Martin Zimmermann 8f70a3a7cb add tests for 81ecc8e
10 years ago
Martin Zimmermann d93d77c8c7 refactor markup and sanitization code
10 years ago
Martin Zimmermann 6071a85787 add `Config.getlist` method
10 years ago
Martin Zimmermann 8f86109cb6 use system's python interpreter
10 years ago
Martin Zimmermann d1a0b3f6f9 refactor docs a bit, add section for mod_fastcgi and uberspace.de
10 years ago
Martin Zimmermann 56316b8998 remove html5 writer (does not work with Sphinx)
10 years ago
Martin Zimmermann f4cfa6f63c Merge pull request #67 from srijan/master
10 years ago
Srijan Choudhary 5525184243 Docs update: forward url protocol in sample nginx configs
10 years ago
Martin Zimmermann 079e5d19da add note about insecure connections, #65
10 years ago
Martin Zimmermann 16d085c9d1 improve tests for comment field validation
10 years ago
Martin Zimmermann 5efa81b57e replace assert foo == bar with appropriate self.assert$Foo calls
10 years ago
Martin Zimmermann b100517e4b update developer's guide
10 years ago
Martin Zimmermann 6aa122bc58 fix typo
10 years ago
Martin Zimmermann 3d9665b523 remove now obsolete Makefile
10 years ago
Martin Zimmermann 1c3c826ada replace requirejs-domready with a (self-made) HTML5 idiom, #51
10 years ago
Martin Zimmermann cfbf595605 mention mailing list and fix CSS typo
10 years ago
Martin Zimmermann a92471ca9a allow failures for TOX_ENV=backport
10 years ago
Martin Zimmermann 4681a391ee pin versions to current Debian Wheezy/Unstable
10 years ago
Martin Zimmermann f3e5d8dc1c add support for html5lib==0.95, fixes #60
10 years ago
Martin Zimmermann 417bd4614c Back to development: 0.8
10 years ago
Martin Zimmermann 45e838fab1 Preparing release 0.7
10 years ago
Martin Zimmermann d65c984220 update changelog
10 years ago
Martin Zimmermann 518820a4af fix typo in reply-to-self conf, #59
10 years ago
Martin Zimmermann 14a2f82134 s/tls/starttls/
10 years ago
Martin Zimmermann 335caa4887 Merge pull request #58 from JocelynDelalande/default-to-587-starttls
10 years ago
Jocelyn Delande cbf63f5a4e default smtp to port=587 and security=starttls
10 years ago
Martin Zimmermann aae07a3c24 Merge branch 'pr/57'
10 years ago
Martin Zimmermann b94329fc66 also mention count.min.js
10 years ago
Jocelyn Delande 5cdab92a4b Documentation on comment counter.
10 years ago
Martin Zimmermann baff120800 fix french pluralform
10 years ago
Martin Zimmermann 442cca5030 Merge pull request #56 from JocelynDelalande/patch-1
10 years ago
JocelynDelalande 2e60fc7f68 Update api.rst
10 years ago
Martin Zimmermann cbd449dcd0 Merge branch 'transifex'
10 years ago
Martin Zimmermann 5f990e3697 link example cfg, fix markup errors and show content table, closes #52
10 years ago
Martin Zimmermann 3a1f92b8bd use html5lib's sanitizer, supersedes 3713d5e
10 years ago
Martin Zimmermann 3713d5e8ee allow raw HTML markup for a few (whitelisted) tags
10 years ago
Martin Zimmermann 36d702c7bc proper use of Misaka's HTML render flags (fix malicious HTML injection)
10 years ago
Martin Zimmermann 241b278863 whitelist external ipaddr package in tox configuration
11 years ago
Martin Zimmermann dcd473967b Merge branch 'remove-q-lib'
11 years ago
Martin Zimmermann 6006a12778 fix wrong logic when vote counter stays at zero (e.g. self-vote)
11 years ago
Martin Zimmermann 306d2d9f9e log 5xx errors
11 years ago
Martin Zimmermann a29393ee3f replace kriskowal/q with 50 LoC homebrew implementation, part of #51
11 years ago
Martin Zimmermann ebf6ca7a85 add Transifex translation to contributing guide
11 years ago
Martin Zimmermann bfae158bde update translations from Transifex (initial pull)
11 years ago
Martin Zimmermann 4d530fb2f1 add Transifex project configuration file
11 years ago
Martin Zimmermann 055a20606a add tx-pull and tx-push FILE helper scripts
11 years ago
Martin Zimmermann 9dd066c6a6 reflect security = ... in docs and print warning if used
11 years ago
Martin Zimmermann c50fe22eb1 fix port -> listen snippet
11 years ago
Thomas Sileo a322cf673a Bugfix
11 years ago
Thomas Sileo e50ecc7811 Removed debug info
11 years ago
Thomas Sileo 08313c191c Added reply notification for commenter
11 years ago
Martin Zimmermann ab27ce5450 Merge pull request #48 from chimo/starttls
11 years ago
Chimo 658e065f23 Adds STARTTLS support to SMTP notifications
11 years ago
Martin Zimmermann 85e637d017 simplify JSON response
11 years ago
Martin Zimmermann 905bd63eee CORS middleware must return bytes
11 years ago
Martin Zimmermann 82da63a81b check if hash is a base-16 string
11 years ago
Martin Zimmermann e244227f41 convert proxy object to string before passing to urllib
11 years ago
Martin Zimmermann d4f836fd65 add test for /check-ip
11 years ago
Martin Zimmermann cbee3f7b2e clarify copyright headers
11 years ago
Martin Zimmermann ecfaf9828e add faq.rst
11 years ago
Martin Zimmermann 1153b9cf6e extend API documentation
11 years ago
Martin Zimmermann a728d3e32d add doctest for IPv6 mapped IPv4 addresses
11 years ago
Martin Zimmermann 26b9088c9d add coverage target to Makefile
11 years ago
Martin Zimmermann 2a86b46893 add test for disqus import
11 years ago
Martin Zimmermann f81b955aa5 use SHA1 instead of MD5 to verify comment owner
11 years ago
Martin Zimmermann 29a825b575 remove unused utility functions
11 years ago
Martin Zimmermann 8bf9b1145a add link to supervisor init script, close #47
11 years ago
Martin Zimmermann cc1ccfd70d change project status from alpha to beta
11 years ago
Martin Zimmermann 65f260d0ba show session-key on application startup
11 years ago
Martin Zimmermann a4213e4304 update docstrings for isso.db
11 years ago
Martin Zimmermann c99fe3d583 remove unused SQLite3.mode attribute
11 years ago
Martin Zimmermann 7255e01375 replace isso module with isso.run
11 years ago
Martin Zimmermann fcd0a01de3 make_app uses threading.Lock now by default
11 years ago
Martin Zimmermann a7375e8016 Back to development: 0.7
11 years ago
Martin Zimmermann 0f39d17843 Preparing release 0.6
11 years ago
Martin Zimmermann 9db762ad5e italian translation by alzeco
11 years ago
Martin Zimmermann 525b2db6f1 fix french pluralization
11 years ago
Martin Zimmermann 150726df13 Merge branch 'feature/27', override thread id
11 years ago
Martin Zimmermann bcb60c4e74 add documentation
11 years ago
Martin Zimmermann 77df31d06f override thread discovery with data-isso-id="...", close #27
11 years ago
Martin Zimmermann 79112940e6 reduce heading size in comments, fix #26
11 years ago
Martin Zimmermann c5daa66c82 remove old CSS rule
11 years ago
Martin Zimmermann 0152e627ea use apache lexer and add recipe for session key generation
11 years ago
Martin Zimmermann f0be9e9655 add latest work to changelog
11 years ago
Martin Zimmermann 336ca3ffe7 add deployment docs for mod_wsgi
11 years ago
Martin Zimmermann ba03f0105d generate CSS for docs properly
11 years ago
Martin Zimmermann 8169b30c04 add isso.svg
11 years ago
Martin Zimmermann 75dd18ece4 add favicon.ico
11 years ago
Martin Zimmermann dcbe282c34 rm extras/multi-site.rst, already in configuration/setup.rst
11 years ago
Martin Zimmermann 990688f6e0 Merge branch 'fix/multsite'
11 years ago
Martin Zimmermann adc722359d move application export to isso.run
11 years ago
Martin Zimmermann b15f17738e isso.dispatch now dispatches multiple sites based on relative URLs
11 years ago
Martin Zimmermann ac74418179 move dispatch into isso package
11 years ago
Martin Zimmermann ebad039d0e Merge pull request #43 from FedericoCeratto/patch-1
11 years ago
Federico Ceratto 9f40ba848d Create example.conf
11 years ago
Martin Zimmermann 982316c04b show PHP #vulnerability versus Python
11 years ago
Martin Zimmermann fc984bb656 add Date header, close #42
11 years ago
Martin Zimmermann 232e2fb474 another approach to fix #40 (return 403 on false Content-Type)
11 years ago
Martin Zimmermann 1db06bbf39 Revert "HTTP Origin is only sent on cross-origin requests in Firefox"
11 years ago
Martin Zimmermann b839b2be31 HTTP Origin is only sent on cross-origin requests in Firefox
11 years ago
Martin Zimmermann 8802b73b52 Merge pull request #41 from spk/blank
11 years ago
Laurent Arnoud 02db978308 Add check with blank text
11 years ago
Martin Zimmermann 7d64d84d9d write contribute section
11 years ago
Martin Zimmermann 6f504ee8f5 show modal dialog before delete or activate comments, close #36
11 years ago
Martin Zimmermann 83b48d5db6 use el.getAttribute instead of el.dataset to support IE10 m(
11 years ago
Martin Zimmermann 59b70e7109 Merge branch 'fix/csrf', closes #40
11 years ago
Martin Zimmermann 9a03cca793 use Referer instead of Origin when using IE
11 years ago
Martin Zimmermann 4c16ba76cc fix unittests
11 years ago
Martin Zimmermann 32e4b70510 check if Origin matches Host to mitigate CSRF, part of #40
11 years ago
Martin Zimmermann b0ecc9c16a add reason for SQLite
11 years ago
Martin Zimmermann 6e31111554 add application object into ns only when using uwsgi and gunicorn
11 years ago
Martin Zimmermann baabd30e74 more descriptive logging
11 years ago
Martin Zimmermann a6f54f0191 wat
11 years ago
Martin Zimmermann c2291c1121 fix links to PyPi and GitHub
11 years ago
Martin Zimmermann 90468cbc27 simplify nosetest usage
11 years ago
Martin Zimmermann ce950259b4 show traceback when smtp connection failed
11 years ago
Martin Zimmermann 350cf406c2 remove installation and configuration from README
11 years ago
Martin Zimmermann a045c963bd Merge branch 'feature/gunicorn'
11 years ago
Martin Zimmermann 706186acd8 Merge branch 'feature/docs'
11 years ago
Martin Zimmermann b79ac583e8 use sphinx for documentation
11 years ago
Martin Zimmermann 896b4f5e33 support for gunicorn (and other pre-forking wsgi servers)
11 years ago
Martin Zimmermann aa65873fa6 uWSGI works also with multiprocessing.Lock
11 years ago
Martin Zimmermann 6405f258f3 replace nested middleware calls with reduce and partials
11 years ago
Martin Zimmermann c9c0df229a Merge branch 'feature/info'
11 years ago
Martin Zimmermann 1541cc90a9 Merge branch 'fix/notify-links'
11 years ago
Martin Zimmermann 8dac5375b6 add /info view for debugging purposes
11 years ago
Martin Zimmermann 5449b0cea4 add route for comment activation
11 years ago
Martin Zimmermann 63a7df1099 translate deletion and activation links
11 years ago
Martin Zimmermann e77ae273f4 replace Jenkins with Travis Build Status
11 years ago
Martin Zimmermann c84d75582f add Travis CI configuration
11 years ago
Martin Zimmermann b3d6215d2b fix unittest for werkzeug==0.8
11 years ago
Martin Zimmermann c2a0331dbd remove indexserver from tox.ini (use PyPi instead)
11 years ago
Martin Zimmermann 598b08bd1c add russian translation
11 years ago
Martin Zimmermann 653ac0b6a2 Back to development: 0.6
11 years ago
Martin Zimmermann f9507a3eec Preparing release 0.5
11 years ago
Martin Zimmermann 8196f3f465 remove unnecessary imports
11 years ago
Martin Zimmermann 17aa3e6fc5 use english text for mail notifications
11 years ago
Martin Zimmermann 97cc894d8c update changelog
11 years ago
Martin Zimmermann 60d15e0f41 fix unittest
11 years ago
Martin Zimmermann b9158a660c move SocketHTTPServer to isso/wsgi.py
11 years ago
Martin Zimmermann 96f29e1cc5 add query parameter to build status to hopefully avoid caching
11 years ago
Martin Zimmermann 9c94e66702 add fr.js to i18n module, appendum to #38
11 years ago
Martin Zimmermann aeb7c35d8f override useragent's language with data-isso-lang
11 years ago
Martin Zimmermann 2e9c21db15 add X-Origin to GET requests, so isso.dispatch works on a single host
11 years ago
Martin Zimmermann 8a408aea1d reST is hard
11 years ago
Martin Zimmermann 6f66960df8 add an isso.dispatch module to support multiple sites, #34
11 years ago
Martin Zimmermann b21e216b06 mv app/fancy to /app/lib/fancy
11 years ago
Martin Zimmermann edafc5f88f client configuration for reply-to-self
11 years ago
Martin Zimmermann 64c0d770c6 remove edit and remove buttons when comment is marked as deleted
11 years ago
Martin Zimmermann 519112a8fc add some documentation
11 years ago
Martin Zimmermann 320cb7313f upgrade notifications for old configuration values
11 years ago
Martin Zimmermann 0d3d5e4f94 update changelog
11 years ago
Martin Zimmermann 2446e6ac6a Merge pull request #38 from sploinga/master
11 years ago
Sploinga 5a20a4a4bf French translation
11 years ago
Martin Zimmermann 5e7ee3dffd use <link> tag to extract the relative post url, fixes #37
11 years ago
Martin Zimmermann 89ffe98106 add Jenkins CI build status
11 years ago
Martin Zimmermann 0be3c69e1d Merge branch 'fix/spam-guard'
11 years ago
Martin Zimmermann 4367e56734 fix Python 3.3
11 years ago
Martin Zimmermann d4e7ee134d add option reply-to-self, defaults to false
11 years ago
Martin Zimmermann 70b426d770 add unittest for spam guard
11 years ago
Martin Zimmermann 9f2062a900 fix #35
11 years ago
Martin Zimmermann 6ed9cb02c5 update changelog
11 years ago
Martin Zimmermann 5cbda11158 Merge branch 'fix/bloomfilter'
11 years ago
Martin Zimmermann 6178e93348 add database migration
11 years ago
Martin Zimmermann 58645ca945 do not reference bytearray in a method definition, fixes #5
11 years ago
Martin Zimmermann f0ee0a18b1 move unittest helpers into a separate file
11 years ago
Martin Zimmermann ba19900406 yet another location where I forgot MIT
11 years ago
Martin Zimmermann 1e7a4d43b2 add Changelog for 0.5 (so far)
11 years ago
Martin Zimmermann 6356ce800e add various init scripts
11 years ago
Martin Zimmermann 6aad11c291 mention #isso channel on Freenode
11 years ago
Martin Zimmermann dfed955f23 Merge branch 'feature/migration'
11 years ago
Martin Zimmermann d4f2123b58 Merge branch 'tmp/refactorization'
11 years ago
Martin Zimmermann 6e85c54a2e refactor views and introduce an API for notifications
11 years ago
Martin Zimmermann 162fe78aa6 ask to continue import if DB is not empty
11 years ago
Martin Zimmermann 5ca3137ddd add --dry-run option to import command
11 years ago
Martin Zimmermann a8cd418b5e remove website todo, not a high priority
11 years ago
Martin Zimmermann 850b2b4bfb set mode to 4 (deleted) when isDeleted is true
11 years ago
Martin Zimmermann 8c0af3b10f show orphan comments after Disqus import (if any)
11 years ago
Martin Zimmermann 29170ac258 install ipaddr for python2, appendum to #32
11 years ago
Martin Zimmermann 80aaf15128 Merge remote-tracking branch 'origin/pr/32'
11 years ago
Federico Ceratto 68be70af24 Support Python2 ipaddr library.
11 years ago
Martin Zimmermann a442b8e0ee remove dead code
11 years ago
Martin Zimmermann ab5d907172 move comments.requires to views package
11 years ago
Martin Zimmermann 1174259b27 mv comment -> comments
11 years ago
Martin Zimmermann 18d7f37878 typo
11 years ago
Martin Zimmermann ac8d987392 don't monkeypatch if uwsgi is available
11 years ago
Martin Zimmermann 616ec57de2 Merge branch 'feature/data-configuration'
11 years ago
Martin Zimmermann 6f3a2d8072 add an option to prevent Isso from appending the default CSS, closes #29
11 years ago
Martin Zimmermann c06c11aeca api.js parses custom data attributes for client configuration, part of #29
11 years ago
Martin Zimmermann 4bb6e91f61 Isso can now listen on unix domain sockets, closes #25
11 years ago
Martin Zimmermann 6374d8a9e1 fix application profiling
11 years ago
Martin Zimmermann 0a247a7927 data-isso-prefix is now ony data-isso
11 years ago
Martin Zimmermann 6d9f43939a Back to development: 0.5
11 years ago
Martin Zimmermann 5431dd0f0b Preparing release 0.4
11 years ago
Martin Zimmermann 33fb15e241 rename data-prefix to data-isso
11 years ago
Martin Zimmermann af6695e935 lowercase MiddleWare and fix TypeError in Headers
11 years ago
Martin Zimmermann 1e3245098b change license to MIT setup.py
11 years ago
Martin Zimmermann 4950e7dd4d add unittest for CORS headers
11 years ago
Martin Zimmermann aa6665c8f0 fix endpoint detection when using require.js
11 years ago
Martin Zimmermann 8d1171df29 improve request decoding and json parsing
11 years ago
Martin Zimmermann 6691810316 handle cross-origin cookies with a custom header X-Set-Cookie, fix #24
11 years ago
Martin Zimmermann 05c8b571e2 requirejs-text now uses CORS XHR requests to static files
11 years ago
Martin Zimmermann 6126f0ec6f add CORS middleware to add CORS header to *all* requests
11 years ago
Martin Zimmermann e3fc33fec4 add backport for werkzeug 0.8 to test matrix
11 years ago
Martin Zimmermann e14a04ab6c support for werkzeug 0.8 (Python2-only)
11 years ago
Martin Zimmermann 312578457b uwsgi can only cache bytes
11 years ago
Martin Zimmermann cc2ac11850 inline CSS
11 years ago
Martin Zimmermann d8a254c304 fix api endpoint detection
11 years ago
Martin Zimmermann d59fc2ef8e handle OPTIONS request and return CORS headers
11 years ago
Martin Zimmermann fe63a76960 increase uWSGI's hash cache to 10240 items (=320kb)
11 years ago
Martin Zimmermann c581e0f05a cache email hash on comment creation
11 years ago
Martin Zimmermann c567758d81 limit email length to 254 to avoid hash-DDoS
11 years ago
Martin Zimmermann 0473afe2db add profiling option to server configuration
11 years ago
Martin Zimmermann 3c193bef27 request remote_addr only when using the comment form
11 years ago
Martin Zimmermann 7e73986667 remove trailing slash from API endpoint, appendum to 8da9d0b
11 years ago
Martin Zimmermann 375b32a151 Merge branch 'feature/data-attributes'
11 years ago
Martin Zimmermann 8da9d0b13b override API location with `data-prefix="..."`
11 years ago
Martin Zimmermann 0d07515c18 override HTML title parsing with a `data-title="...` attribute
11 years ago
Martin Zimmermann fa496669e2 use lowercase [smtp] as written in the docs
11 years ago
Martin Zimmermann 54413dfcf3 add copyright header to embed.js (and it's MIT not BSD)
11 years ago
Martin Zimmermann 46d5ccc38f fix indentation
11 years ago
Martin Zimmermann d4aff7a197 Back to development: 0.4
11 years ago
Martin Zimmermann 7a0ee11099 Preparing release 0.3
11 years ago
Martin Zimmermann c5d52721c4 use cache.delete a) with an actual key and b) only on delete
11 years ago
Martin Zimmermann b3b26c1117 mv isso.ini to uwsgi.ini
11 years ago
Martin Zimmermann 40c554265b changelog for 0.3
11 years ago
Martin Zimmermann b115c00150 update README.md
11 years ago
Martin Zimmermann afcfa91179 add uWSGI docs
11 years ago
Martin Zimmermann 2b7d263735 only create a reply box when needed
11 years ago
Martin Zimmermann cac4694f43 cache PBKDF2 hash, closes #18
11 years ago
Martin Zimmermann 74ab58167e replace abort(code) with proper exceptions and refactor request dispatch
11 years ago
Martin Zimmermann 2794734258 remove Jinja2 dependency
11 years ago
Martin Zimmermann c96913f221 remove static/post.html from MANIFEST.in
11 years ago
Martin Zimmermann 4a59ad95c3 rewrite website integration part
11 years ago
Martin Zimmermann dea4c88162 remove admin interface fragments
11 years ago
Martin Zimmermann 2cac3f0567 detect Isso API endpoint when using *.dev.js script
11 years ago
Martin Zimmermann d19933072f move developer section from CONTRIBUTING into its own document
11 years ago
Martin Zimmermann 2a2cfe4644 include uncompressed JS files for debugging purposes
11 years ago
Martin Zimmermann e08e7be464 remove stale threads after all comments have been deleted
11 years ago
Martin Zimmermann a658021f7e fix unittest for 1358fac and extend internal documentation
11 years ago
Martin Zimmermann 1358fac258 fix empty thread title due premature HTTP connection closing
11 years ago
Martin Zimmermann ceb804e01b Back to development: 0.3
11 years ago

@ -0,0 +1,47 @@
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: publish
pull: default
image: plugins/docker:18.09
settings:
registry: https://registry.nixaid.com
repo: "registry.nixaid.com/${DRONE_REPO_NAMESPACE}/${DRONE_REPO_NAME}"
tags:
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
# storage_path: /drone/docker
# storage_driver: aufs
# ipv6: false
# debug: true
when:
branch:
- master
event:
- push
- tag
- name: notify
pull: default
image: drillster/drone-email:latest
settings:
from: "Drone CI <noreply@nixaid.com>"
host: mx.nixaid.com
port: 587
subject: "NIXAID Drone Pipeline {{#success build.status}}SUCCESS{{else}}FAILURE{{/success}} Notification"
when:
event:
- push
- tag
status:
- success
- failure

@ -0,0 +1,85 @@
# workspace:
# base: /workspace
# path: src/git.nixaid.com/arno/myapp/
#
# branches:
# - master
pipeline:
restore_cache:
image: drillster/drone-volume-cache:latest
restore: true
mount:
- /drone/docker
# Set the ``DRONE_VOLUME=/tmp/drone-cache:/cache`` drone-server variable,
# so you can benefit from the caching.
# Otherwise you will have to make this repository trusted in Drone and use
# the volumes as follows.
# volumes:
# - /tmp/drone-cache:/cache
# drone repo add arno/isso
# drone secret add/update --name docker_username --value arno --event push --event tag --event deployment arno/isso
# drone secret add/update --name docker_password --value "$(pass show vps/registry.nixaid.com | head -1)" --event push --event tag --event deployment arno/isso
publish:
image: plugins/docker:17.12
# repo: andrey01/${DRONE_REPO_NAME}
registry: registry.nixaid.com
repo: registry.nixaid.com/arno/${DRONE_REPO_NAME}
tags:
- latest
# - ${DRONE_COMMIT_SHA:0:7}
# group: docker
# dockerfile: Dockerfile
secrets: [docker_username, docker_password]
# Since we restore the docker image cache to /drone/docker
storage_path: /drone/docker
use_cache: true
when:
event: [push, tag]
branch: master
rebuild_cache:
image: drillster/drone-volume-cache:latest
rebuild: true
mount:
- /drone/docker
# Set the ``DRONE_VOLUME=/tmp/drone-cache:/cache`` drone-server variable,
# so you can benefit from the caching.
# Otherwise you will have to make this repository trusted in Drone and use
# the volumes as follows.
# volumes:
# - /tmp/drone-cache:/cache
# # ca_cert comes from /srv/data/registry/certs/ca.crt
# claircheck:
# # image: jmccann/drone-clair:1
# image: andrey01/drone-clair
# url: http://clair:6060
# secrets: [ docker_username, docker_password ]
# # ignore errors for now. This will work only in drone 0.9 https://github.com/drone/drone-runtime/commit/3e8bd99f60f4032226523320cd2b2321f9525159
# err_ignore: true
# scan_image: registry.nixaid.com/arno/${DRONE_REPO_NAME}:latest
# ca_cert: |
# -----BEGIN CERTIFICATE-----
# MIIBOjCB4KADAgECAgkAzhpbLWXa4H0wCgYIKoZIzj0EAwIwEDEOMAwGA1UEAwwF
# bXktQ0EwHhcNMTgwNzA5MjIzMTAzWhcNMjgwNzA2MjIzMTAzWjAQMQ4wDAYDVQQD
# DAVteS1DQTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABFIE8bTfQ76U5qG/Xgjw
# BbQU0oRJLYlRxBIWF9MTNSJr2LoaoyrU8jrcWQGRrfKPoVuwUJWp2tp5SJy0AHH7
# 4fijIzAhMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgKkMAoGCCqGSM49
# BAMCA0kAMEYCIQCYbTbxRD2yX4LzGjh84fKPWPQM9ps8RE2nfwZjqdRUGgIhAOHb
# USigh6FzqEPk2jiaV3t1wNtChRWRfupTKG6CD345
# -----END CERTIFICATE-----
notify:
image: drillster/drone-email:latest
from: Drone CI <noreply@nixaid.com>
subject: NIXAID Drone Pipeline {{#success build.status}}SUCCESS{{else}}FAILURE{{/success}} Notification
host: mx.nixaid.com
port: 587
# username: arno
# secrets: [ email_username, email_password ]
# recipients: [ andrey.arapov@nixaid.com ]
when:
status: [success, failure] # changed
event: [push, tag]

106
.gitignore vendored

@ -3,15 +3,119 @@
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
*~
*.pyc
.Python
.sass-cache
.vagrant
/bin
/include
/lib
/lib64
/man
/share
/isso.egg-info/
/isso/js/components
/isso/js/embed.min.js
/isso/js/embed.dev.js
/isso/js/count.min.js
/isso/js/count.dev.js
/docs/_build
/docs/_static/css/site.css
/pip-selfcheck.json
# github/gitignore
Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# IPython Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# dotenv
.env
# virtualenv
.venv/
venv/
ENV/
# Spyder project settings
.spyderproject
# Rope project settings
.ropeproject

@ -0,0 +1,25 @@
language: python
matrix:
include:
- python: 3.5
env: TOX_ENV=py35
- python: 3.6
env: TOX_ENV=py36
- python: 3.7
dist: xenial
env: TOX_ENV=py37
- python: 3.8
dist: xenial
env: TOX_ENV=py38
install:
- pip install -U pip
- pip install flake8 tox
script:
- tox -e $TOX_ENV
- make flakes
notifications:
irc:
channels:
- "chat.freenode.net#isso"
on_success: change
on_failure: always

@ -0,0 +1,6 @@
[main]
host = https://www.transifex.com
[isso.js]
file_filter = .tx/js/<lang>
source_lang = en
type = KEYVALUEJSON

@ -1,10 +1,563 @@
Changelog for Isso
==================
0.2.1 (2013-10-30)
0.12.3 (UNRELEASED)
-------------------
- 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
Check docs/configuration/server.rst for more details.
0.12.2 (2019-01-21)
-------------------
- Revert use of labels instead of placeholders, since it breaks
mail notifications. #524
0.12.1 (2019-01-19)
-------------------
- Revert fix for duplicate slashes, as it prevents isso from
starting in some cases. #523
0.12.0 (2019-01-18)
-------------------
- Fix compatibility with new XML API.
- Don't enable admin interface with default password by default. #491
- Add support and documentation for "generic" imports.
- Remove potential duplicate slashes in URLs from
email links. #420
- Add data-isso-reply-notifications to attributes in configuration.
- Use default IP in imports if none is found. Fixes imports of some comments.
- embed: fix feed link creation on older browsers.
- Properly handle to field in mail notifications when using uWSGI spooler
- css: fix vertical alignment of notification checkbox
0.11.1 (2018-11-03)
-------------------
- Include pre-built minified JavaScript and CSS.
0.11.0 (2018-11-03)
-------------------
Bugs & features:
- Fix link in moderation mails if isso is setup on a sub-url (e.g. domain.tld/comments/)
- Add reply notifications
- Add admin interface
- Add links highlighting in comments
- Add apidoc
- Add rc.d script for FreeBSD
- Add the possibility to set CORS Origin through ISSO_CORS_ORIGIN environ variable
- Add preview button
- Add Atom feed at /feed?uri={thread-id}
- Add optionnal gravatar support
- Add nofollow noopener on links inside comments
- Add Dockerfile
- Upgraded to Misaka 2
- Some tests/travis/documentation improvements and fixes + pep8
Translations:
- Fix Chinese translation & typo in CJK
- Add Danish translation
- Add Hungarian translation
- Add Persian translation
- Improvement on german translation
0.10.6 (2016-09-22)
-------------------
- fix missing configuration field
0.10.5 (2016-09-20)
-------------------
- add support for different vote levels, #260
List of vote levels used to customize comment appearance based on score.
Provide a comma-separated values (eg. `"0,5,10,25,100"`) or a JSON array (eg.
`"[-5,5,15]"`).
For example, the value `"-5,5"` will cause each `isso-comment` to be given
one of these 3 classes:
- `isso-vote-level-0` for scores lower than `-5`
- `isso-vote-level-1` for scores between `-5` and `4`
- `isso-vote-level-2` for scores of `5` and greater
These classes can then be used to customize the appearance of comments (eg.
put a star on popular comments).
- add new post preview API endpoint, #254
- add an option for mandatory author, #257
- clients can now use `data-title` to get the HTML title for a new page, #252
- add finish translation and other minor bugfixes
0.10.4 (2016-04-12)
-------------------
- fix wrapper attribute when using data-isso-require-mail="true", #238
- fix reponse for OPTIONS response on Python 3, #242
0.10.3 (2016-02-24)
-------------------
- follow redirects, #193
0.10.2 (2016-02-21)
-------------------
- fix getAttribute return value
0.10.1 (2016-02-06)
-------------------
- fix empty author, email and website values when writing a comment
0.10 (2016-02-06)
-----------------
- add new configuration section for hash handling.
[hash]
salt = Eech7co8Ohloopo9Ol6baimi
algorithm = pbkdf2
You can customize the salt, choose different hash functions and tweak the
parameters for PBKDF2.
- Python 3.4+ validate TLS connections against the system's CA. Previously no
validation was in place, see PEP-446__ for details.
- add `fenced_code` and `no_intra_emphasis` to default configuration.
Fenced code allows to write code without indentation using `~~~` delimiters
(optionally with language identifier).
Intra emphasis would compile `foo_bar_baz` to foo<em>bar</em>baz. This
behavior is very confusing for users not knowing the Markdown spec in detail.
- new configuration to require an email when submitting comments, #199. Set
[guard]
require-email = true
and use `data-isso-require-email="true"` to enable this feature. Disabled by
default.
- new Bulgarian translation by sahwar, new Swedish translation by Gustav
Näslund #143, new Vietnamese translation by Đinh Xuân Sâm, new Croatian
translation by streger, new Czech translation by Jan Chren
- fix SMTP setup without credentials, #174
- version pin Misaka to 1.x, html5lib to 0.9999999
.. __: https://www.python.org/dev/peps/pep-0466/
0.9.10 (2015-04-11)
-------------------
- fix regression in SMTP authentication, #174
0.9.9 (2015-03-04)
------------------
- several Python 3.x related bugfixes
- don't lose comment form if the server rejected the POST request, #144
- add localStorage fallback if QUOTA_EXCEEDED_ERR is thrown (e.g. Safari
private browsing)
- add '--empty-id' flag to Disqus import, because Disqus' export sucks
- (re)gain compatibility with Werkzeug 0.8 and really old html5lib versions
available in Debian Squeeze, #170 & #168
- add User-Agent when Isso requests the URL, an alternate way to #151 (add
'X-Isso' when requesting).
0.9.8 (2014-10-08)
------------------
- add compatibility with configparser==3.5.0b1, #128
0.9.7 (2014-09-25)
------------------
- fix SMTP authentication using CRAM-MD5 (incorrect usage of
`smtplib`), #126
0.9.6 (2014-08-18)
------------------
- Nothing changed yet.
- remember name, email and website in localStorage, #119
- add option to hide voting feature, #115
data-isso-vote="true|false"
- remove email field from JSON responses
This is a quite serious issue. For the identicon, an expensive hash is used
to avoid the leakage of personal information like a real email address. A
`git blame` reveals, the email has been unintenionally exposed since the very
first release of Isso :-/
The testsuite now contains a dedicated test to prevent this error in the
future.
0.9.5 (2014-08-10)
------------------
- prevent no-break space (&nbsp;) insertion to enable manual line breaks using
two trailing spaces (as per Markdown convention), #112
- limit request size to 256 kb, #107
Previously unlimited or limited by proxy server). 256 kb is a rough
approximation of the next database schema with comments limited to 65535
characters and additional fields.
- add support for logging to file, #103
[general]
log-file =
- show timestamp when hovering <time>, #104
- fix a regression when editing comments with multiple paragraphs introduced
in 0.9.3 which would HTML escape manually inserted linebreaks.
0.9.4 (2014-07-09)
------------------
- fixed a regression when using Isso and Gevent
0.9.3 (2014-07-09)
------------------
- remove scrollIntoView while expanding further comments if a fragment is used
(e.g. #isso-thread brought you back to the top, unexpectedly)
- implement a custom Markdown renderer to support multi-line code listings. The
extension "fenced_code" is now enabled by default and generates HTML
compatible with Highlight.js__.
- escape HTML entities when editing a comment with raw HTML
- fix CSS for input
- remove isso.css from binary distribution to avoid confusion (it's still there
from the very first release, but modifications do not work)
.. __: http://highlightjs.org/
0.9 (2014-05-29)
----------------
- comment pagination by Srijan Choudhary, #15
Isso can now limit the amount of comments shown by default and add link to
show more. By default, all top-level comments are shown but only 5 nested
comments (per reply). You can override the settings:
isso-data-max-comments-top="N"
isso-data-max-comments-nested="N"
Where N is a number from 0 to infinity ("inf"). If you limit the amount of
shown top level comments, the overall comment count may be incorrect and a
known issue.
You can also configure the amount of comments shown per click (5 by default):
isso-data-reveal-on-click="N"
This feature also required a change in the comment structure. Previously, all
comments are stored tree-like but shown linearly. To ease the implementation
of pagination, the comment tree is now limited to a maximum depth of one.
Jeff Atwood explains, why `discussions are flat by design`__.
.. __: http://blog.codinghorror.com/web-discussions-flat-by-design/
When you upgrade, Isso will automatically normalize the tree and some
information gets lost. All new replies to a comment are now automatically a
direct child of the top-level comment.
- style improvements by William Dorffer, #39, #84 #90 and #91
Isso now longer uses a fat SCSS library, but plain CSS instead. The design is
now responsive and no longer sets global CSS rules.
- experimental WordPress import, #75
Isso should be able to import WXR 1.0-1.2 exports. The import code is based
on two WXR dumps I found (and created) and may not work for you. Please
report any failure.
- avatar changes, #49
You can now configure the client to not show avatars:
data-isso-avatar="false"
Also there is no longer an avatar shown next to the comment box. This is due
to the new CSS and removes two runtime dependencies.
- you may now set a full From header, #87
[smtp]
from = Foo Bar <spam@local>
- SMTP (all caps) is now recognized for notifications, #95
- Isso now ships a small demo site at /demo, #44
- a few bugfixes: Disqus import now anonymizes IP addresses, uWSGI spooling for
Python 3, HTTP-Referer fallback for HTTP-Origin
- remove Django's PBKDF2 implementation in favour of the PBKDF2 function
available in werkzeug 0.9 or higher. If you're still using werkzeug 0.8, Isso
imports passlib__ as fallback (if available).
This release also features a new templating engine Jade__ which replaces
Markup.js__. Jade can compile directly to JavaScript with a tiny runtime module
on the client. Along with the removal of sha1.js and pbkdf2.js and a few build
optimizations, the JS client now weighs only 40kb (12kb gzipped) 52kb resp.
17kb before.
.. __: https://pypi.python.org/pypi/passlib
.. __: http://jade-lang.com/
.. __: https://github.com/adammark/Markup.js
0.8 (2014-03-28)
----------------
- replace ``<textarea>`` with ``<div contentedtiable="true">`` to remove the
sluggish auto-resize on input feature. If you use a custom CSS, replace
``textarea`` with ``.textarea`` and also set ``white-space: pre``.
- remove superscript extension from Markdown defaults as it may lead to
unexpected behavior for certain smileys such as "^^". To enable the extension,
add
[markup]
options = superscript
allowed-elements = sup
to your configuration.
- comment count requests are now bundled into a single POST request, but the old
API is still there (deprecated though).
- store *session-key* in database (once generated on database creation). That
means links to activate, edit or delete comments are now always valid even
when you restart Isso.
Currently statically set session keys in ``[general]`` are automatically
migrated into the database on startup and you will get a notice that you can
remove this option.
- fix undefined timestamp when client time differs for more than 1 second.
The human-readable "time ago" deltas have been refined to match `Moment.js`_
behavior.
- avatar colors and background can now be customized:
* ``data-isso-avatar-bg="#f0f0f0"`` sets the background color
* ``data-isso-avatar-fg="#9abf88 #5698c4 #e279a3 #9163b6 ..."`` sets possible
avatar colors (up to 8 colors are possible).
- new [markup] section to customize Misaka's Markdown generation (strikethrough,
superscript and autolink enabled by default). Furthermore, you can now allow
certain HTML elemenets and attributes in the generated output, e.g. to enable
images, set
[markup]
allowed-elements = img
allowed-attributes = src
Check docs/configuration/server.rst for more details.
- replace requirejs-domready with a (self-made) HTML5 idiom, #51
.. _Moment.js: http://momentjs.com/docs/#/displaying/fromnow/
0.7 (2014-01-29)
----------------
- fix malicious HTML injection (due to wrong API usage). All unknown/unsafe
HTML tags are now removed from the output (`html5lib` 0.99(9) or later) or
properly escaped (older `html5lib` versions).
See 36d702c and 3a1f92b for more details.
- remove kriskowal/q JS library (promises implementation) in favour of a
self-made 50 LoC implementation to ease packaging (for Debian), #51
- add documentation to display a comment counter, #56 and #57
- SMTP notifications now support STARTTLS and use this transport security
by default, #48 and #58. This also changes the configuration option from
`ssl = [yes|no]` to `security = [none|starttls|ssl]`.
- translation can now be made (and updated) with Transifex_. If you want to
take ownership for a language, contact me on IRC.
- fix french pluralform
- the (by default random) session-key is now shown on application startup
to make different keys per startup more visible
- use `threading.lock` by default for systems without semaphore support
.. _Transifex: https://www.transifex.com/projects/p/isso/
0.6 (2013-12-16)
----------------
Major improvements:
- override thread discovery with data-isso-id="...", #27
To use the same thread for different URLs, you can now add a custom
``data-isso-id="my-id"`` attribute which is used to identify and retrieve
comments (defaults to current URL aka `window.location.pathname`).
- `isso.dispatch` now dispatches multiple websites (= configurations) based on
URL prefixes
- fix a cross-site request forgery vulnerability for comment creation, voting,
editing and deletion, #40
- show modal dialog to confirm comment deletion and activation, #36
- new, comprehensive documentation based on reST + Sphinx:
http://posativ.org/docs (or docs/ in the repository). Also includes an
annotated `example.conf`, #43
- new italian and russian translations
Minor improvements:
- move `isso:application` to `isso.run:application` to avoid uneccessary
initialization in some cases (change module if you use uWSGI or Gunicorn)
- add Date header to email notifications, #42
- check for blank text in new comment, #41
- work around IE10's HTML5 abilities for custom data-attributes
- add support for Gunicorn (and other pre-forking WSGI servers)
0.5 (2013-11-17)
----------------
Major improvements:
- `listen` option replaces `host` and `port` to support UNIX domain sockets, #25
Instead of `host = localhost` and `port = 8080`, use
`listen = http://localhost:8080`. To listen on a UNIX domain socket, replace
`http://` with `unix://`, e.g. `unix:///tmp/isso.sock`.
- new option `notify` (in the general section) is used to choose (one or more)
notification backends (currently only SMTP is available, though). Isso will
no longer automatically use SMTP for notifications if the initial connection
succeeds.
- new options to control the client integration
* ``data-isso-css="false"`` prevents the client from appending the CSS to the
document. Enabled by default.
* ``data-isso-lang="de"`` overrides the useragent's preferred language (de, en
and fr are currently supported).
* ``data-isso-reply-to-self="true"`` should be set, when you allow reply to
own comments (see server configuration for details).
- add support for `gevent <http://www.gevent.org/>`_, a coroutine-based Python
networking library that uses greenlets (lightweight threads). Recommended
WSGI server when not running with uWSGI (unfortunately stable gevent is not
yet able to listen on a UNIX domain socket).
- fix a serious issue with the voters bloomfilter. During an Isso run, the
ip addresses from all commenters accumulated into the voters bloomfilter
for new comments. Thus, previous commenters could no longer vote other
comments. This fixes the rare occurences of #5.
In addition to this fix, the current voters bloomfilter will be re-initialized
if you are using Isso 0.4 or below (this is not necessary, but on the
other hand, the current bloomfilter for each comment is sort-of useless).
- french translation (thanks to @sploinga), #38
- support for multiple sites, part of #34
Minor improvements:
- `ipaddr` is now used as `ipaddress` fallback for Python 2.6 and 2.7, #32
- changed URL to activate and delete comments to `/id/<N:int>/activate` etc.
- import command uses `<link>` tag instead of `<id>` to extract the relative
URL path, #37
- import command now uses `isDeleted` to mark comments as deleted (and
eventually remove stale comments). This seems to affect only a few comments
from a previous WordPress import into Disqus.
- import command lists orphaned comments after import.
- import command now has a ``--dry-run`` option to do no actual operation on
the database.
0.4 (2013-11-05)
----------------
- Isso now handles cross-domain requests and cookies, fixes #24
- Isso for Python 2.x now supports werkzeug>=0.8
- limit email length to 254 to avoid Hash-DDoS
- override Isso API location with ``data-isso="..."`` in the script tag
- override HTML title parsing with a custom ``data-title="..."`` attribute
in ``<div id="isso-thread"></div>``
0.3 (2013-11-01)
----------------
- improve initial comment loading performance in the client
- cache slow REST requests, see #18
- add a SQLite trigger that detects and removes stale threads (= threads,
with all comments being removed) from the database when a comment is
removed.
- PyPi releases now include an uncompressed version of the JavaScript
files -- `embed.dev.js` and `count.dev.js` -- to track down errors.
- use uWSGI's internal locking instead of a self-made shared memory lock
0.2 (2013-10-29)

@ -1,89 +0,0 @@
Contributing
============
I appreciate any help and love pull requests. Here are some things
you need to respect:
* no hard-wired external services
* no support for ancient browsers (e.g. IE6-9)
Reporting Issues
----------------
### Disqus import fails
If `isso import /path/to/disqus.xml` fails, please do *NOT* attach the raw
dump file to GH:Issues. Please anonymize all IP addresses inside the `<ipAddress>`
tag first, as second step, replace all email addresses with a generic one (
email tag).
### embed.min.js-related issues
In case of a JavaScript traceback, please setup Isso in development mode
described below. Otherwise it is very hard to "guess" the reason.
### isso-related issues
Copy and paste traceback into a ticket and provide some details of your usage.
Development
-----------
If you want to hack on Isso or track down issues, there's an alternate
way to set up Isso. It requires a lot more dependencies and effort.
Requirements:
- Python 2.6, 2.7 or 3.3
- Ruby 1.8 or higher
- Node.js, [NPM](https://npmjs.org/) and [Bower](http://bower.io/)
On Debian/Ubuntu install the following packages
~> sudo aptitude install python-setuptools python-dev npm ruby
~> ln -s /usr/bin/nodejs /usr/bin/node
Get the repository:
~> git clone https://github.com/posativ/isso.git
~> cd isso/
Install `virtualenv` and create a new environment for Isso (recommended):
~> pip install virtualenv
~> virtualenv .
~> source ./bin/activate
Install Isso dependencies:
~> python setup.py develop
~> isso run
Compile SCSS to CSS:
~> gem install sass
~> scss --watch isso/css/isso.scss
Install JS components:
~> cd isso/js
~> bower install almond q requirejs requirejs-domready requirejs-text
Integration
-----------
```html
<script src="/isso/js/config.js"></script>
<script data-main="/isso/js/embed" src="/isso/js/components/requirejs/require.js"></script>
```
Optimization
------------
~> npm install -g requirejs uglifyjs
~> cd isso/js
~> r.js -o build.embed.js
~> r.js -o build.count.js

@ -0,0 +1 @@
docs/contribute.rst

@ -0,0 +1,121 @@
# Contributions to Isso
## Creator & Maintainer
* Martin Zimmermann <info@posativ.org>
## Co-Maintainers
* Benoît Latinier @blatinier <benoit@latinier.fr>
* Jelmer Vernooij <jelmer@jelmer.uk>
## Contributors
In chronological order:
* Florian Baumann <flo@noqqe.de>
* Documentation fixes in the early days
* Federico Ceratto <federico.ceratto@gmail.com>
* Support for ipaddr
* Added a sample configuration file
* Sploinga <xavier@sploing.be>
* French translation
* Laurent Arnoud <laurent@spkdev.net>
* Make Isso not accept blank comments
* Chimo <chimo@chromic.org>
* STARTTLS for SMTP notifications
* Jocelyn Delande <jocelyn at delalande dot fr>
* Documentation for comment counter and API
* Default SMTP security to STARTTLS
* Srijan Choudhary <srijan4@gmail.com>
* Correct nginx examples in documentation
* Added comment pagination feature
* Provide a demo site
* William Dorffer <schoewilliam@gmail.com>
* Convert SCSS to plain CSS
* Refresh style, make it responsive
* Baptiste Darthenay
* Esperanto translation
* Matías Ducasa <https://github.com/matiasducasa>
* Spanish translation
* Daniel Gräber <https://github.com/albohlabs>
* Added ansible for provisioning
* Nick Hu <https://github.com/NickHu>
* Added configuration to require email addresses (no validation)
* Fix Vagrantfile
* Benoît Latinier @blatinier <benoit@latinier.fr>
* Fix thread discovery
* Added mandatory author
* Added admin interface
* Ivan Pantic <ivanpantic82@gmail.com>
* Added vote levels
* Martin Schenck @schemar
* Improvement in the german translation
* @cclauss
* Pep8 and drop of legacy supports (old python & debian version tested in travis)
* Make travis use pyflakes
* Lucas Cimon @Lucas-C
* Added the possibility to define CORS origins through ISSO_CORS_ORIGIN environment variable
* Fix a bug with <a> in <svg>
* Fixing likes counter of replies not being displayed
* Adding contrib/dump_comments.py
* Adding a [server] proxy-fix-enable-x-prefix configuration option
* Using .access_route instead of .remote_addr to take into account HTTP_X_FORWARDED_FOR header
* Yuchen Pei @ycpei
* Fix link in moderation emails when isso is installed in a sub URL
* @Rocket1184
* Fix typo in CJK translations
* @vincentbernat
* Added documentation about data-isso-id attribute (overriding the standard isso-thread-id)
* Added multi-staged Dockerfile
* Added atom feed
* Added a nofollow/noopener on links inside comments to protect against bots
* Added a preview using the existing preview endpoint
* @p-vitt & @M4a1x
* Documentation on troubleshooting for uberspace users
* Facundo Batista <facundo@taniquetil.com.ar>
* Added a generic way to migrate from a json file
* @benjhess
* Optionnal gravatar support
* Steffen Prince @sprin
* Upgrade to Misaka 2
* Rocka <i@rocka.me>
* Implementation and documentation about async comment loading
* Pelle Nilsson @pellenilsson
* Reply notifications
* Craig P Hicks @craigphicks
* Fix sub urls configurations on admin interface
* Chris Warrick @Kwpolska
* Update Polish translation
* Redirect to comment after moderation
* [Your name or handle] <[email or website]>
* [Brief summary of your changes]

@ -0,0 +1,34 @@
# First, compile JS stuff
FROM node:dubnium-buster
WORKDIR /src/
COPY . .
RUN npm install -g requirejs uglify-js jade bower \
&& make init js
# Second, create virtualenv
FROM python:3.8-buster
WORKDIR /src/
COPY --from=0 /src .
RUN python3 -m venv /isso \
&& . /isso/bin/activate \
&& pip3 install --no-cache-dir --upgrade pip \
&& pip3 install --no-cache-dir gunicorn cffi flask \
&& python setup.py install \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Third, create final repository
FROM python:3.8-slim-buster
WORKDIR /isso/
COPY --from=1 /isso .
# Configuration
VOLUME /db /config
EXPOSE 8080
ENV ISSO_SETTINGS /config/isso.cfg
CMD ["/isso/bin/gunicorn", "-b", "0.0.0.0:8080", "-w", "4", "--preload", "isso.run", "--worker-tmp-dir", "/dev/shm"]
# Example of use:
#
# docker build -t isso .
# docker run -it --rm -v /opt/isso:/config -v /opt/isso:/db -v $PWD:$PWD isso /isso/bin/isso -c \$ISSO_SETTINGS import disqus.xml
# docker run -d --rm --name isso -p 8080:8080 -v /opt/isso:/config -v /opt/isso:/db isso

@ -1,5 +1,19 @@
include man/man1/isso.1
include man/man5/isso.conf.5
include share/isso.conf
include isso/js/embed.min.js
include isso/js/embed.dev.js
include isso/js/count.min.js
include isso/js/count.dev.js
include isso/js/admin.js
include isso/defaults.ini
include isso/templates/admin.html
include isso/templates/disabled.html
include isso/templates/login.html
include isso/css/admin.css
include isso/css/isso.css
include isso/static/post.html
include isso/img/isso.svg

@ -0,0 +1,75 @@
# INSTALLATION: pip install sphinx && npm install --global node-sass
ISSO_JS_SRC := $(shell find isso/js/app -type f) \
$(shell ls isso/js/*.js | grep -vE "(min|dev)") \
isso/js/lib/requirejs-jade/jade.js
ISSO_JS_DST := isso/js/embed.min.js isso/js/embed.dev.js \
isso/js/count.min.js isso/js/count.dev.js
ISSO_CSS := isso/css/isso.css
ISSO_PY_SRC := $(shell git ls-files | grep -E "^isso/.+.py$$")
DOCS_RST_SRC := $(shell find docs/ -type f -name '*.rst') \
$(wildcard docs/_isso/*) \
docs/index.html docs/conf.py docs/docutils.conf \
share/isso.conf
DOCS_CSS_SRC := docs/_static/css/site.scss
DOCS_CSS_DEP := $(shell find docs/_static/css/neat -type f) \
$(shell find docs/_static/css/bourbon -type f)
DOCS_CSS_DST := docs/_static/css/site.css
DOCS_MAN_DST := man/man1/isso.1 man/man5/isso.conf.5
DOCS_HTML_DST := docs/_build/html
RJS = r.js
SASS = node-sass
all: man js site
init:
(cd isso/js; bower --allow-root install almond requirejs requirejs-text jade)
flakes:
flake8 . --count --max-line-length=127 --show-source --statistics
isso/js/%.min.js: $(ISSO_JS_SRC) $(ISSO_CSS)
$(RJS) -o isso/js/build.$*.js out=$@
isso/js/%.dev.js: $(ISSO_JS_SRC) $(ISSO_CSS)
$(RJS) -o isso/js/build.$*.js optimize="none" out=$@
js: $(ISSO_JS_DST)
man: $(DOCS_RST_SRC)
sphinx-build -b man docs/ man/
mkdir -p man/man1/ man/man5
mv man/isso.1 man/man1/isso.1
mv man/isso.conf.5 man/man5/isso.conf.5
${DOCS_CSS_DST}: $(DOCS_CSS_SRC) $(DOCS_CSS_DEP)
$(SASS) --no-cache $(DOCS_CSS_SRC) $@
${DOCS_HTML_DST}: $(DOCS_RST_SRC) $(DOCS_CSS_DST)
sphinx-build -b dirhtml docs/ $@
site: $(DOCS_HTML_DST)
coverage: $(ISSO_PY_SRC)
nosetests --with-doctest --with-coverage --cover-package=isso --cover-html isso/
test: $($ISSO_PY_SRC)
python3 setup.py nosetests
clean:
rm -f $(DOCS_MAN_DST) $(DOCS_CSS_DST) $(ISSO_JS_DST)
rm -rf $(DOCS_HTML_DST)
.PHONY: clean site man init js coverage test

@ -1,147 +1,12 @@
Isso Ich schrei sonst
=======================
[![Build Status](https://drone.nixaid.com/api/badges/arno/isso/status.svg)](https://drone.nixaid.com/arno/isso)
You love static blog generators (especially [Acrylamid][1] *cough*) and the
only option to interact with the community is [Disqus][2]. There's nothing
wrong with it, but if you care about the privacy of your audience you are
better off with a comment system that is under your control. This is, where
Isso comes into play.
Isso a commenting server similar to Disqus
============================================
[1]: https://github.com/posativ/acrylamid
[2]: https://disqus.com/
Isso *Ich schrei sonst* is a lightweight commenting server written in
Python and JavaScript. It aims to be a drop-in replacement for
[Disqus](http://disqus.com).
**[Try Yourself!](http://posativ.org/isso/)**
![Isso in Action](http://posativ.org/~tmp/isso-sample.png)
Isso is not stable (pretty far from that state) and the database format may
change without any backwards compatibility. Just saying.
Features
--------
* [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) comments written in Markdown
* SQLite backend, Disqus import
* client-side JS (currently 61kb minified, 21kb gzipped)
* I18N, available in german and english (also fallback)
Roadmap
-------
- Ping/TrackBack™ support
- simple admin interface (needs contributor)
- spam filtering
Installation
------------
- Python 2.6, 2.7 or 3.3
- easy_install or pip
Install Isso (and its dependencies) with:
~> pip install isso
Before you start, you may want to import comments from
[Disqus.com](https://disqus.com/):
~> isso import ~/Downloads/user-2013-09-02T11_39_22.971478-all.xml
[100%] 53 threads, 192 comments
You start the server via (try to visit [http://localhost:8080/static/post.html]()).
~> isso run
If that is working, you may want to [edit the configuration](https://github.com/posativ/isso/blob/master/docs/CONFIGURATION.rst).
Webserver Configuration
-----------------------
This part is not fun, I know. I have prepared two possible setups for nginx,
using Isso on the same domain as the blog, and on a different domain. Each
setup has its own benefits.
### Isso on a Sub URI
Let's assume you want Isso on `/isso`, use the following nginx snippet:
```nginx
server {
listen [::]:80;
listen [::]:443 ssl;
server_name example.tld;
root /var/www/example.tld;
location /isso {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Script-Name /isso;
proxy_pass http://localhost:8080;
}
}
```
```html
<script src="http://example.tld/isso/js/embed.min.js"></script>
<div id="isso-thread"></div>
```
### Isso on a Dedicated Domain
Now, assuming you have your isso instance running on a different URL, such as
`http://example.tld:8080`, but your blog runs on `http://example.tld`:
~> cat example.cfg
[general]
host = http://example.tld/
~> isso -c example.cfg run
2013-10-30 09:32:48,369 WARNING: unable to connect to SMTP server
2013-10-30 09:32:48,408 WARNING: connected to HTTP server
2013-10-30 09:32:48,409 INFO: * Running on http://localhost:8080/
Make sure, Isso can connect to server that hosts your blog, otherwise you are
not able to post comments.
Integrate Isso with:
```html
<script src="http://example.tld:8080/js/embed.min.js"></script>
<div id="isso-thread"></div>
```
Also, put the plain isso server behind a real web server or [use uWSGI][3].
[3]: https://github.com/posativ/isso/blob/master/docs/uWSGI.md
Website Integration
-------------------
To enable comments, add a `<div id="isso-thread"></div>` or `<section id="isso-thread" ...`
below your post.
To add comment count links to your index page, include `count.min.js` at the
very bottom of your document. All links followed by `#isso-thread`, are
updated with the current comment count.
This functionality is already included when you embed `embed.min.js`, do
*not* mix `embed.min.js` and `count.min.js` in a single document.
Other Documents
---------------
- [Configuration](https://github.com/posativ/isso/blob/master/docs/CONFIGURATION.rst)
- [API overview](https://github.com/posativ/isso/raw/master/docs/API.md)
- [uWSGI usage](https://github.com/posativ/isso/blob/master/docs/uWSGI.md)
Alternatives
------------
- [talkatv](https://github.com/talkatv/talkatv) Python
- [Juvia](https://github.com/phusion/juvia) Ruby on Rails
- [Tildehash.com](http://www.tildehash.com/?article=why-im-reinventing-disqus) PHP
- [SO: Unobtrusive, self-hosted comments](http://stackoverflow.com/q/2053217)
See [posativ.org/isso](http://posativ.org/isso/) for more details.

65
Vagrantfile vendored

@ -0,0 +1,65 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This is the Vagrant config file for setting up an environment for Isso development.
# It requires:
#
# * Vagrant (https://vagrantup.com)
# * A VM engine, like VirtualBox (https://virtualbox.org)
# * The Vagrant-Hostmanager plugin (https://github.com/smdahlen/vagrant-hostmanager)
# * Ansible (https://www.ansible.com)
#
# With them installed, cd into this directory and do 'vagrant up'. It's possible Vagrant will
# ask for your root password so it can update your /etc/hosts file. Once it's happily churning out
# console output, go get a coffee :)
#
# The resulting VM should be accessible at http://isso-dev.local/ so you can try the demo page out.
# Edit files in your checkout as usual. If you need to look at log files and stuff, 'vagrant ssh'
# to get into the VM. Useful info about it:
#
# * Running Ubuntu 14.04
# * Isso is running on uWSGI
# * Actual webserver is Nginx to talk to uWSGI over a unix socket
# * uWSGI log file is /var/log/uwsgi/apps/isso.log
# * Isso DB file is /var/isso/comments.db
# * Isso log file is /var/log/isso.log
#
# When the VM is getting rebooted vagrant mounts the shared folder after uWSGI is getting startet. To fix this issue for
# the moment you need to 'vagrant ssh' into the VM and execute 'sudo service uwsgi restart'.
#
# For debugging with _pudb_ stop uWSGI service and start it manually
# 'sudo uwsgi --ini /etc/uwsgi/apps-available/isso.ini'.
#
# Enjoy!
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
config.vm.box = "ubuntu/trusty32"
config.vm.hostname = 'isso-dev.local'
config.vm.network "private_network", type: "dhcp"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
config.hostmanager.ip_resolver = proc do |machine|
result = ""
machine.communicate.execute("ifconfig eth1") do |type, data|
result << data if type == :stdout
end
(ip = /inet addr:(\d+\.\d+\.\d+\.\d)/.match(result)) && ip[1]
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/site.yml"
ansible.limit = "all"
ansible.verbose = "v"
end
config.vm.post_up_message = "Browse to http://isso-dev.local/demo/index.html to start."
end

@ -0,0 +1,39 @@
user root;
worker_processes 4;
worker_rlimit_nofile 8192;
error_log /var/log/nginx/error.log warn;
pid /run/nginx.pid;
events {
worker_connections 2014;
multi_accept on;
use epoll;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format timed '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" '
'$request_time $upstream_response_time $upstream_addr '
' $upstream_status $upstream_cache_status $pipe';
access_log /var/log/nginx/access.log timed;
sendfile on;
tcp_nopush on;
keepalive_timeout 30;
gzip on;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}

@ -0,0 +1,13 @@
server {
client_max_body_size 20M;
listen 80 default_server;
server_name isso-dev.local;
root /vagrant/isso/demo;
location / {
# uwsgi_pass unix:///run/uwsgi/app/isso/socket;
uwsgi_pass 127.0.0.1:8080;
include uwsgi_params;
}
}

@ -0,0 +1,24 @@
[uwsgi]
plugins = python
chdir = /vagrant
uid = root
gid = root
socket = :8080
master = true
processes = 4
cache2 = name=hash,items=10240,blocksize=32
spooler = /var/isso/spool
module = isso.run
env = ISSO_SETTINGS=/vagrant/share/isso-dev.conf
env = PYTHON_EGG_CACHE=/tmp
# uncomment for debugging
# daemonize = /var/log/uwsgi/uwsgi.log
py-autoreload = 1
# prevent uWSGI from remapping stdin to /dev/null
honour-stdin = true

@ -0,0 +1,85 @@
---
- name: Provision development server
hosts: all
sudo: true
tasks:
- name: Apt | Add nodesource keys
apt_key: url=https://deb.nodesource.com/gpgkey/nodesource.gpg.key state=present
- name: Apt | Add nodesource sources list deb
apt_repository: repo='deb https://deb.nodesource.com/node {{ ansible_distribution_release }} main' state=present
- name: Apt | Add nodesource sources list deb src
apt_repository: repo='deb-src https://deb.nodesource.com/node {{ ansible_distribution_release }} main' state=present
- name: Apt | Install packages
apt: pkg={{ item }} state=latest update_cache=true
with_items:
- build-essential
- curl
- htop
- vim
- git
- python-dev
- python-software-properties
- python-setuptools
- python-pip
- nginx
- uwsgi
- uwsgi-plugin-python
- supervisor
- sqlite3
- nodejs
- libffi-dev
- name: NPM | Install packages
npm: name={{ item }} global=yes
with_items:
- bower
- requirejs
- uglify-js
- jade
- name: Python | Install egg
shell: cd /vagrant; python setup.py develop
- name: Make
shell: cd /vagrant; {{ item }}
with_items:
- make init
- make js
- name: Spool | Create directory
file: path=/var/isso/spool state=directory mode=0777
- name: uwsgi | Deploy configuration
copy: src=files/uwsgi.ini dest=/etc/uwsgi/apps-available/isso.ini
- name: uwsgi | Enable app
file: src=/etc/uwsgi/apps-available/isso.ini dest=/etc/uwsgi/apps-enabled/isso.ini state=link
- name: uwsgi | Restart service daemon
service: name=uwsgi state=restarted enabled=yes
- name: uwsgi | Chmod logfile
file: path=/var/log/uwsgi/uwsgi.log state=touch mode="a+r"
- name: nginx | Deploy nginx.conf
copy: src=files/nginx.conf dest=/etc/nginx/nginx.conf
- name: nginx | Delete default vhost
action: file path=/etc/nginx/sites-enabled/default state=absent
- name: nginx | Deploy vhost config
copy: src=files/nginx.vhost.conf dest=/etc/nginx/sites-available/isso.conf
- name: nginx | Enable vhost
file: src=/etc/nginx/sites-available/isso.conf dest=/etc/nginx/sites-enabled/000-isso state=link
- name: nginx | Chmod logfile
file: path=/var/log/nginx mode="a+rx" state=directory recurse=true
- name: nginx | Restart service daemon
service: name=nginx state=restarted enabled=yes

@ -0,0 +1,11 @@
{
"name": "isso",
"description": "a Disqus alternative",
"title": "isso API",
"order": ["Thread", "Comment"],
"template": {
"withCompare": false
}
}

@ -0,0 +1,13 @@
#!/usr/bin/env fish
set -g TRANSIFEX ".tx/js/"
set -g JS "isso/js/app/i18n/%s.js"
# fetch latest translations to .tx/<ressource>/<lang>
tx pull -a
for lang in (ls $TRANSIFEX)
printf "define(" > (printf $JS $lang)
cat .tx/js/$lang >> (printf $JS $lang)
printf ");\n" >> (printf $JS $lang)
end

@ -0,0 +1,34 @@
#!/usr/bin/env fish
set TRANSIFEX "https://www.transifex.com/api/2"
if [ (count $argv) -ne 1 ]
echo "tx-push FILE"
exit 2
end
if [ ! -f ~/.transifexrc ]
echo "no ~/.transifexrc found"
exit 1
end
set user (cat ~/.transifexrc | grep -E "^username" | awk -F " ?= ?" '{ print $2 }')
set pass (cat ~/.transifexrc | grep -E "^password" | awk -F " ?= ?" '{ print $2 }')
set lang (echo $argv | cut -d / -f 5 | cut -d . -f 1)
set trans (mktemp -t tx.XXX)
if [ $lang = "en" ]
set url "$TRANSIFEX/project/isso/resource/js/content/"
else
set url "$TRANSIFEX/project/isso/resource/js/translation/$lang/"
end
printf '{"content":' > $trans
cat $argv \
| sed "s,^define(,,g;\$ s,);,,g" \
| python -c 'import json,sys; print json.dumps(sys.stdin.read())' \
>> $trans
printf '}' >> $trans
curl -L -u $user:$pass -XPUT $url -H "Content-Type: application/json" -d @$trans

@ -0,0 +1,128 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
#
# The MIT License (MIT)
#
# Copyright (c) 2020 Lucas Cimon.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
"""Dump isso comments as text
The script can be run like this:
contrib/dump_comments.py .../path/to/isso.db --sort-by-last-reply
To get a list of all available options:
contrib/dump_comments.py --help
By installing the optional colorama dependency, you'll get a colored output.
An example of output can be found at https://github.com/posativ/isso/issues/634
"""
import argparse
import sqlite3
from collections import defaultdict, namedtuple
from datetime import date
from textwrap import indent
class ColorFallback():
__getattr__ = lambda self, name: '' # noqa: E731
try:
from colorama import Fore, Style, init
init() # needed for Windows
except ImportError: # fallback so that the imported classes always exist
Fore = Style = ColorFallback()
Comment = namedtuple('Comment', ('uri', 'id', 'parent', 'created', 'text', 'author', 'email', 'website', 'likes', 'dislikes', 'replies'))
INDENT = ' '
QUERY = 'SELECT uri, comments.id, parent, created, text, author, email, website, likes, dislikes FROM comments INNER JOIN threads on comments.tid = threads.id'
def main():
args = parse_args()
if not args.colors:
global Fore, Style
Fore = Style = ColorFallback()
db = sqlite3.connect(args.db_path)
comments_per_uri = defaultdict(list)
for result in db.execute(QUERY).fetchall():
comment = Comment(*result, replies=[])
comments_per_uri[comment.uri].append(comment)
root_comments_per_sort_date = {}
for comments in comments_per_uri.values():
comments_per_id = {comment.id: comment for comment in comments}
root_comments, sort_date = [], None
for comment in comments:
if comment.parent: # == this is a "reply" comment
comments_per_id[comment.parent].replies.append(comment)
if args.sort_by_last_reply and (sort_date is None or comment.created > sort_date):
sort_date = comment.created
else:
root_comments.append(comment)
if sort_date is None or comment.created > sort_date:
sort_date = comment.created
root_comments_per_sort_date[sort_date] = root_comments
for _, root_comments in sorted(root_comments_per_sort_date.items(), key=lambda pair: pair[0]):
print(Fore.MAGENTA + args.url_prefix + root_comments[0].uri + Fore.RESET)
for comment in root_comments:
print_comment(INDENT, comment)
for comment in comment.replies:
print_comment(INDENT * 2, comment)
print()
def print_comment(prefix, comment):
author = comment.author or 'Anonymous'
email = comment.email or ''
website = comment.website or ''
when = date.fromtimestamp(comment.created)
popularity = ''
if comment.likes:
popularity = '+{.likes}'.format(comment)
if comment.dislikes:
if popularity:
popularity += '/'
popularity = '-{.dislikes}'.format(comment)
print(prefix + '{Style.BRIGHT}{author}{Style.RESET_ALL} {Style.DIM}- {email} {website}{Style.RESET_ALL} {when} {Style.DIM}{popularity}{Style.RESET_ALL}'.format(Style=Style, **locals()))
print(indent(comment.text, prefix))
def parse_args():
parser = argparse.ArgumentParser(description='Dump all Isso comments in chronological order, grouped by replies',
formatter_class=ArgparseHelpFormatter)
parser.add_argument('db_path', help='File path to Isso Sqlite DB')
parser.add_argument('--sort-by-last-reply', action='store_true', help='By default comments are sorted by "parent" comment date, this sort comments based on the last replies')
parser.add_argument('--url-prefix', default='', help='Optional domain name to prefix to pages URLs')
parser.add_argument('--no-colors', action='store_false', dest='colors', default=True, help='Disabled colored output')
return parser.parse_args()
class ArgparseHelpFormatter(argparse.RawTextHelpFormatter, argparse.ArgumentDefaultsHelpFormatter):
pass
if __name__ == '__main__':
main()

@ -0,0 +1,123 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""Comment importer from Blogger
This python script can convert comments posted to a Blogger-powered blog to a
JSON file with can then be imported into Isso (by following the procedure
explained in docs/docs/extras/advanced-migration.rst.
The script can be run like this:
python import_blogger.py -p 'http://myblog.com/' blogger.xml out.json
where `blogger.xml` is a dump of the blog produced by the Blogger platform, and
the URL following the `-p` option is a prefix that will be applied to all post
URLs: the original host will be stripped and the path will be appended to the
string you specify here (this can be useful in the case that your blog moved to
a different domain, subdomain, or just into a new directory).
The `out.json` file is the file which will be generated by this tool, and which
can then be fed into isso:
isso -c /path/to/isso.cfg import -t generic out.json
"""
from __future__ import unicode_literals
import json
import feedparser
import time
from urllib.parse import urlparse
class Post:
def __init__(self, url):
self.url = url
self.title = None
self.comments = []
def add_comment(self, comment):
comment['id'] = len(self.comments) + 1
self.comments.append(comment)
def encode_post(post):
ret = {}
ret['id'] = post.url
ret['title'] = post.title
ret['comments'] = post.comments
return ret
class ImportBlogger:
TYPE_COMMENT = 'http://schemas.google.com/blogger/2008/kind#comment'
TYPE_POST = 'http://schemas.google.com/blogger/2008/kind#post'
def __init__(self, filename_in, filename_out, prefix):
self.channel = feedparser.parse(filename_in)
self.filename_out = filename_out
self.prefix = prefix
def run(self):
self.posts = {}
for item in self.channel.entries:
terms = [tag.term for tag in item.tags]
if not terms:
continue
if terms[0] == self.TYPE_COMMENT:
post = self.ensure_post(item)
post.add_comment(self.process_comment(item))
elif terms[0] == self.TYPE_POST:
self.process_post(item)
data = [encode_post(p) for p in self.posts.values() if p.comments]
with open(self.filename_out, 'w') as fp:
json.dump(data, fp, indent=2)
def process_post(self, item):
pid = self.post_id(item)
if pid in self.posts:
post = self.posts[pid]
else:
post = Post(pid)
self.posts[pid] = post
post.title = item.title
def ensure_post(self, item):
pid = self.post_id(item)
post = self.posts.get(pid, None)
if not post:
post = Post(pid)
self.posts[pid] = post
return post
def process_comment(self, item):
comment = {}
comment['author'] = item.author_detail.name
comment['email'] = item.author_detail.email
comment['website'] = item.author_detail.get('href', '')
t = time.strftime('%Y-%m-%d %H:%M:%S', item.published_parsed)
comment['created'] = t
comment['text'] = item.content[0].value
comment['remote_addr'] = '127.0.0.1'
return comment
def post_id(self, item):
u = urlparse(item.link)
return self.prefix + u.path
if __name__ == '__main__':
import argparse
parser = argparse.ArgumentParser(
description='Convert comments from blogger.com')
parser.add_argument('input', help='input file')
parser.add_argument('output', help='output file')
parser.add_argument('-p', dest='prefix',
help='prefix to be added to paths (ID)',
type=str, default='')
args = parser.parse_args()
importer = ImportBlogger(args.input, args.output, args.prefix)
importer.run()

@ -1,100 +0,0 @@
Isso API
========
The Isso API uses HTTP and JSON as primary communication protocol.
## JSON format
When querying the API you either get an error, an object or list of objects
representing the comment. Here's a example JSON returned from Isso:
```json
{
"text": "Hello, World!",
"author": "Bernd",
"website": null,
"votes": 0,
"mode": 1,
"id": 1,
"parent": null,
"hash": "68b329da9893e34099c7d8ad5cb9c940",
"created": 1379001637.50,
"modified": null
}
```
text
: required, comment as HTML
author
: author's name, may be `null`
website
: author's website, may be `null`
votes
: sum of up- and downvotes, defaults to zero.
mode
: * 1, accepted comment
* 2, comment in moderation queue
* 4, comment deleted, but is referenced
id
: unique comment number per thread
parent
: answer to a parent id, may be `null`
hash
: user identification, used to generate identicons
created
: time in seconds sinde epoch
modified
: last modification time in seconds, may be `null`
## List comments
List all visible comments for a thread. Does not include deleted and
comments currently in moderation queue.
GET /?uri=path
You must encode `path`, e.g. to retrieve comments for `/hello-world/`:
GET /?uri=%2Fhello-world%2F
To disable automatic Markdown-to-HTML conversion, pass `plain=1` to the
query URL:
GET /?uri=...&plain=1
As response, you either get 200, 400, or 404, which are pretty self-explanatory.
GET /
400 BAD REQUEST
GET /?uri=%2Fhello-world%2F
404 NOT FOUND
GET /?uri=%2Fcomment-me%2F
[{comment 1}, {comment 2}, ...]
## Create comments
...
## Delete comments
...
## Up- and downvote comments
...

@ -1,188 +0,0 @@
Isso Configuration
==================
The Isso configuration file is an `INI-style`__ textfile. Below is an example for
a basic Isso configuration. Each section has its own documentation.
.. code-block:: ini
[general]
dbpath = /var/lib/isso/comments.db
host = https://example.tld/
[server]
port = 1234
You can point Isso to your configuration file either witg a command-line parameter
or using an environment variable:
.. code-block:: sh
~> isso -c path/to/isso.cfg
~> env ISSO_SETTINGS=path/to/isso.cfg isso
__ https://en.wikipedia.org/wiki/INI_file
General
-------
In this section, you configure most comment-related options such as database path,
session key and hostname. Here are the default values for this section:
.. code-block:: ini
[general]
dbpath = /tmp/isso.db
host = http://localhost:8080/
max-age = 15m
session-key = ... # python: binascii.b2a_hex(os.urandom(24))
dbpath
file location to the SQLite3 database, highly recommended to change this
location to a non-temporary location!
host
URL to your website. When you start Isso, it will probe your website with
a simple ``GET /`` request to see if it can reach the webserver. If this
fails, Isso may not be able check if a web page exists, thus fails to
accept new comments.
You can supply more than one host:
.. code-block:: ini
[general]
host =
http://localhost/
https://localhost/
This is useful, when your website is available on HTTP and HTTPS.
session-key
private session key to validate client cookies. If you restart the
application several times per hour for whatever reason, use a fixed
key.
max-age
time range that allows users to edit/remove their own comments. See
:ref:`Appendum: Timedelta <appendum-timedelta>` for valid values.
Moderation
----------
Enable moderation queue and handling of comments still in moderation queue
.. code-block:: ini
[moderation]
enabled = false
purge-after = 30d
enabled
enable comment moderation queue. This option only affects new comments.
Comments in modertion queue are not visible to other users until you
activate them.
purge-after
remove unprocessed comments in moderation queue after given time.
Server
------
HTTP server configuration, does **not** apply to uWSGI.
.. code-block:: ini
[server]
host = localhost
port = 8080
reload = off
host
listen on specified interface
port
application port
reload
reload application, when the source code has changed. Useful for
development (don't forget to use a fixed `session-key`).
SMTP
----
Isso can notify you on new comments via SMTP. In the email notification, you
also can moderate comments. If the server connection fails during startup, a
null mailer is used.
.. code-block:: ini
[smtp]
username =
password =
host = localhost
port = 465
ssl = on
to =
from =
username
self-explanatory, optional
password
self-explanatory (yes, plain text, create a dedicated account for
notifications), optional.
host
SMTP server
port
SMTP port
ssl
use SSL to connect to the server. Python probably does not validate the
certificate. Needs research, though. But you should use a dedicated
email account anyways.
to
recipient address, e.g. your email address
from
sender address, e.g. isso@example.tld
Guard
-----
Enable basic spam protection features, e.g. rate-limit per IP address (``/24``
for IPv4, ``/48`` for IPv6).
.. code-block:: ini
[guard]
enabled = true
ratelimit = 2
enabled
enable guard, recommended in production. Not useful for debugging
purposes.
ratelimit: N
limit to N new comments per minute.
Appendum
---------
.. _appendum-timedelta:
Timedelta
A human-friendly representation of a time range: `1m` equals to 60
seconds. This works for years (y), weeks (w), days (d) and seconds (s),
e.g. `30s` equals 30 to seconds.
You can add different types: `1m30s` equals to 90 seconds, `3h45m12s`
equals to 3 hours, 45 minutes and 12 seconds (12512 seconds).

@ -0,0 +1,124 @@
<!DOCTYPE html>
{%- set url_root = pathto('', 1) %}
{# XXX necessary? #}
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
{%- macro script() %}
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '{{ url_root }}',
VERSION: '{{ release|e }}',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }},
SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
};
</script>
{%- for scriptfile in script_files %}
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
{%- endfor %}
{%- endmacro %}
{%- macro css() %}
<!--link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /-->
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/css/site.css', 1) }}"/>
{%- for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
{%- endfor %}
{%- endmacro %}
<html>
<head>
<meta charset="utf-8">
{{ metatags }}
{%- block htmltitle %}
<title>{{ title|striptags|e }}</title>
{%- endblock %}
{{ css() }}
{%- if not embedded %}
{{ script() }}
{%- if use_opensearch %}
<link rel="search" type="application/opensearchdescription+xml"
title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"
href="{{ pathto('_static/opensearch.xml', 1) }}"/>
{%- endif %}
{%- if favicon %}
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
{%- endif %}
{%- endif %}
{%- block linktags %}
{%- if hasdoc('about') %}
<link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
{%- endif %}
{%- if hasdoc('genindex') %}
<link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
{%- endif %}
{%- if hasdoc('search') %}
<link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
{%- endif %}
{%- if hasdoc('copyright') %}
<link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
{%- endif %}
<link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" />
{%- if parents %}
<link rel="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}" />
{%- endif %}
{%- if next %}
<link rel="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}" />
{%- endif %}
{%- if prev %}
<link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}" />
{%- endif %}
{%- endblock %}
{%- block extrahead %} {% endblock %}
</head>
<body>
<div class="wrapper">
<div class="header">
<header>
<img class="logo" src="{{ pathto('_static/isso.svg', 1) }}" alt="Wynaut by @veekun"/>
<div class="title">
<a href="{{ pathto(".") }}">
<h1>Isso</h1>
<h2>a commenting server similar to Disqus</h2>
</a>
</div>
</header>
<nav>
<ul>
<li><a href="{{ pathto('faq') }}">FAQ</a></li>
<li><a href="{{ pathto('contribute') }}">Contribute</a></li>
<li><a href="{{ pathto('docs') }}">Documentation</a></li>
</ul>
</nav>
</div>
<div class="outer">
{% block header %} {% endblock %}
</div>
<main>
{% block body %} {% endblock %}
</main>
<div class="push"></div>
</div>
<div class="outer footer">
{%- block footer %}
<footer>
&copy; Copyright {{ copyright }}.
{%- if last_updated %}
Last updated on {{ last_updated }}.
{%- endif %}
Made with <a href="http://sphinx-doc.org/">Sphinx</a>.
</footer>
</div>
{%- endblock %}
</body>
</html>

@ -0,0 +1,16 @@
{%- extends "layout.html" %}
{% block header %}
<header>
<h1>{{- title -}}</h1>
</header>
{% endblock %}
{% block body %}
<div class="sidebar">
{% if pagename.startswith("docs/") %}
{% include "sidebar-docs.html" %}
{% endif %}
</div>
<div class="docs">
{{ body }}
</div>
{% endblock %}

@ -0,0 +1,11 @@
from docutils import nodes
from sphinx.writers.html import HTMLTranslator
class IssoTranslator(HTMLTranslator):
def visit_title(self, node):
if self.section_level == 1:
raise nodes.SkipNode
HTMLTranslator.visit_title(self, node)

@ -0,0 +1,54 @@
{% extends "layout.html" %}
{% block header %}
<header>
<h1>Search</h1>
</header>
{% endblock %}
{% set title = _('Search') %}
{% set script_files = script_files + ['_static/searchtools.js'] %}
{% block extrahead %}
<script type="text/javascript">
jQuery(function() { Search.loadIndex("{{ pathto('searchindex.js', 1) }}"); });
</script>
{# this is used when loading the search index using $.ajax fails,
such as on Chrome for documents on localhost #}
<script type="text/javascript" id="searchindexloader"></script>
{{ super() }}
{% endblock %}
{% block body %}
<div id="fallback" class="admonition warning">
<script type="text/javascript">$('#fallback').hide();</script>
<p>
{% trans %}Please activate JavaScript to enable the search
functionality.{% endtrans %}
</p>
</div>
<p>
{% trans %}From here you can search these documents. Enter your search
words into the box below and click "search". Note that the search
function will automatically search for all of the words. Pages
containing fewer words won't appear in the result list.{% endtrans %}
</p>
<form action="" method="get">
<input type="text" name="q" value="" />
<input type="submit" value="{{ _('search') }}" />
<span id="search-progress" style="padding-left: 10px"></span>
</form>
{% if search_performed %}
<h2>{{ _('Search Results') }}</h2>
{% if not search_results %}
<p>{{ _("Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.") }}</p>
{% endif %}
{% endif %}
<div id="search-results">
{% if search_results %}
<ul>
{% for href, caption, context in search_results %}
<li><a href="{{ pathto(item.href) }}">{{ caption }}</a>
<div class="context">{{ context|e }}</div>
</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endblock %}

@ -0,0 +1,12 @@
{%- if pagename != "search" %}
<div id="searchbox" style="display: none">
<h2>{{ _('Quick search') }}</h2>
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" />
<input type="submit" value="{{ _('Go') }}" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}

@ -0,0 +1,32 @@
{% macro doc(path, title) %}
{%- if pagename == path -%}
<li class="active">
{% else %}
<li>
{%- endif -%}
<a href="{{ pathto(path) }}">{{ title }}</a></li>
{% endmacro %}
<strong>Getting Started</strong>
<ul>
{{ doc("docs/install", "Installation") }}
{{ doc("docs/quickstart", "Quickstart") }}
{{ doc("docs/troubleshooting", "Troubleshooting") }}
</ul>
<strong>Advanced Setup</strong>
<ul>
{{ doc("docs/setup/sub-uri", "Sub URI") }}
{{ doc("docs/setup/multiple-sites", "Multiple Sites") }}
</ul>
<strong>Configuration</strong>
<ul>
{{ doc("docs/configuration/server", "Server") }}
{{ doc("docs/configuration/client", "Client") }}
</ul>
<strong>Extras</strong>
<ul>
{{ doc("docs/extras/deployment", "Deployment") }}
{{ doc("docs/extras/advanced-integration", "Advanced Integration") }}
{{ doc("docs/extras/api", "API") }}
{{ doc("docs/extras/contribs", "Community tools") }}
</ul>

@ -0,0 +1,3 @@
[theme]
inherit = basic
stylesheet = css/site.css

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save