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 )
...
This shows recent comments first in the admin panel.
4 years ago
frenchvandal
2ba7217900
Dockerfile update ( #644 )
...
- Updated images with newer versions, except for Node: the js stuff will not compile with a version > 10
- Removed python3-dev and sqlite3 in step 2, they are not needed
- Added flask to pip, cf. issue #621
- Some small improvements here and there like a good practice for gunicorn use in Docker cf. https://pythonspeed.com/articles/gunicorn-in-docker/
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 )
...
Until this fix, likes counters of replies are only displayed if the parent comment has likes.
This is because the previous CSS rule there applied to **all** HTML children of the element with the `isso-no-votes` class, not only its own footer likes ounter.
With this PR we get the expected behaviour
4 years ago
Jelmer Vernooij
54f8fb7a7f
Drop python2 support. ( #613 )
4 years ago
Benoit Latinier
bb9d947c76
Merge pull request #618 from frenchvandal/master
...
[i18n] Added the Brazilian Portuguese language
4 years ago
frenchvandal
de8867a9d2
[i18n] Added the Brazilian Portuguese language
...
Fix #548
4 years ago
Jelmer Vernooij
86b65f817e
html: Add markdown render flag option ( #616 )
...
New "flags" option in the [markdown] section to customize
Misaka's Markdown HTML rendering.
By default, no flags are set.
```
[markup]
flags = skip-html, escape, hard-wrap
```
Update CHANGES.rst and add the section to the sample
isso.conf and isso-dev.conf
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 )
...
New 'latest' endpoint to serve latest comments.
4 years ago
Benjamin Pereto
1de758887a
FIX: include admin.js in Python Package ( #606 )
...
Include admin.js in python package
4 years ago
jasdeepgill
5655f194b3
Various text improvements to documentation.
...
* Minor text improvements to faq.rst
* Fixed minor mistake to faq.rst
* Minor grammar fixes to troubleshooting.rst
* Minor grammar improvements to quickstart.rst
* Minor text changes to install.rst
* Improved text in multiple-sites.rst
* Misspelled word
* Minor text changes
4 years ago
Shimmy Xu
7eed747e7a
Use `html.escape` for Python versions where `cgi.escape` is removed ( #600 )
...
Use html.escape as cgi.escape is removed in 3.8
4 years ago
Charl P. Botha (X1E)
2e8cb81179
Add a approve-if-email-previously-approved setting.
...
Automatically approve comments by an email address if that address has
had a comment approved within the last 6 months. No ownership verification
is done on the entered email address. This means that if someone is able
to guess correctly the email address used by a previously approved author,
they will be able to have their new comment auto-approved.
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 )
...
* Move templates/admin.html's JS to an external file
This allow Isso to be used with websites that have a Content
Security Policy that doesn't include `script-src 'unsafe-inline'`.
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 )
...
The disabled.html template uses the isso_host_script variable, but
that variable was not being passed when rendering that template
file.
5 years ago
JocelynDelalande
0f4e72c0e0
Mention official Debian repo instead of 3rd party ( #581 )
...
- isso is now packaged in official debian
- packages.crapouillou.net is no longer maintained
what else ? :)
5 years ago
Alberto Mardegan
c24ee69a1e
contrib: Add Blogger importer tool ( #529 )
...
* contrib: Add Blogger importer tool
* doc: fix minor issues in migration documentation
5 years ago
tdro
f4b0376f1a
Return 200 with empty array when there are no comments #301 ( #565 )
...
* Return 200 with empty array when there are no comments #301
{"id": null, "total_replies": 0, "hidden_replies": 0, "replies": []}
5 years ago
Andy
1f77ecc25e
fix typo in i18n.js ( #575 )
5 years ago
Quentí
b9e31bf6fe
[i18n] Adds the Occitan language ( #568 )
...
* Add the Occitan language
* Update i18n.js
* Update oc.js
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 )
...
* Redirect to comment after moderation (fix #358 )
5 years ago
Jelmer Vernooij
77871a8bab
Merge pull request #543 from krtcom/feat_i18n_sk
...
add slovak translations
5 years ago
krtcom
0d721f9ebe
Alphabetical order
...
Change order alphabetically in define call and in catalogue object
5 years ago
Jelmer Vernooij
3eb7f349e6
Merge pull request #544 from krtcom/bug_fetch_comments
...
cancel fetching comments if #isso-root is not available
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
...
Include user e-mails in admin notifications only
5 years ago
Chris Warrick
22abbcdbb4
Include user e-mails in admin notifications only
...
Fixes #533 .
5 years ago
Jelmer Vernooij
c2136ce10a
Merge pull request #532 from Kwpolska/update-polish-translation
...
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
...
docs: update deployment info for FastCGI
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
...
Revert "Use <label>s rather than placeholders"
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
...
fix typo
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 )"
...
It breaks some installations. See https://github.com/posativ/isso/issues/523
This reverts commit 1a3f803b96
.
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
...
Add support for a "generic" import method.
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
...
Use <label>s rather than placeholders
5 years ago
Benoit Latinier
5cfbb3274c
Merge pull request #522 from silberzwiebel/patch-1
...
German translation for reply notification in de.js
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
...
Be more consistent and link to client config.
5 years ago
Jelmer Vernooij
06d49292a6
Merge pull request #510 from fliiiix/bugfix/disqus_import
...
Fix handling of disqus exports with missing email fields.
5 years ago
fliiiix
d2ced12f80
Consistency and link to client config
5 years ago
Jelmer Vernooij
5b44ca8fb2
Merge pull request #519 from HorlogeSkynet/master
...
Removes potential '//' from email links (#420 )
5 years ago
Samuel FORESTIER
1a3f803b96
Removes potential '//' from email links ( #420 )
...
If the user specifies a public endpoint as `http[s]://comments.exemple.com/` in configuration, the trailing slash will involve a `//` in the generated email links.
5 years ago
Benoit Latinier
784e08170a
Merge pull request #514 from WanderlandTravelers/override-translations
...
Override translations
5 years ago
Jelmer Vernooij
2ca39dee82
Merge pull request #515 from SnorlaxYum/patch-3
...
Remove question about gravatar from FAQ.
5 years ago
Sim
ad2b7b6233
Update faq.rst
...
Now we've got Gravatar support
5 years ago
Jelmer Vernooij
915c74dc1b
Merge pull request #513 from WanderlandTravelers/attr-data-isso-reply-notifications
...
Add data-isso-reply-notifications to attributes in configuration.
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
...
There is a header describing `data-isso-reply-notifications` but it is not in the initial data attributes examples. I assume the initial list is meant to be exhaustive? I overlooked this setting on my initial read through the docs because it wasn't there, so I thought it would be helpful to add.
5 years ago
fliiiix
a3ac7b9081
Use default IP if none is found Fix #477
...
This is related to the email one. Disqus
doesn't export ip for posts. If none is
present '0.0.0.0' is used.
6 years ago
fliiiix
1f4ced626c
Import disqus posts without Email Fix #477
...
It looks like disqus has stoped to add a Email
into there exports. So this sets the email just
to ''. This can be changed to a default email
if that is prefered.
Signed-off-by: fliiiix <de-ch@hotmail.de>
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
...
css: fix vertical alignment of notification checkbox
6 years ago
Jelmer Vernooij
adc4f839fc
Merge pull request #504 from doenietzomoeilijk/patch-1
...
Add a missing closing brace.
6 years ago
Max Roeleveld
8a46e13028
Add a missing closing brace
...
Gotta love IDE highlighting: one little brace was missing near the end of the CSS file. This means the last couple of definitions were ignored previously.
6 years ago
Jelmer Vernooij
966d403ebb
Merge pull request #499 from jelmer/admin-bool
...
Don't open the admin page with a default password by default. Fixes #491
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
...
embed: fix feed link creation on older browsers
6 years ago
Vincent Bernat
fd46a7d86e
embed: fix feed link creation on older browsers
...
When a browser doesn't support DOM manipulation convenience methods,
the addition of the feed link was triggering an error because elements
created by `$.new()` are regular elements, not elements from our own
mini-DOM implementation. Therefore, the `append()` method may be
absent. Use `appendChild()` instead.
6 years ago
Jelmer Vernooij
1d16db53da
Merge pull request #495 from flortsch/master
...
Properly handle to field in mail notifications when using uWSGI spooler.
6 years ago
Florian Latifi
c5311e1d7d
Properly handle to field in mail notifications when using uWSGI spooler
...
This commit fixes an error occuring when isso sends out mail
notifications via the uWSGI spooler.
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
...
Otherwise, the label seems too big for me.
6 years ago
Vincent Bernat
527f287826
css: fix vertical alignment of notification checkbox
...
This is usually a pain to vertically align without additional markup.
The proposed solution happens to be the shortest solution I know of,
but it may be outdated.
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
...
Fix markdown
6 years ago
Antonio Guillen
9619f56269
Fix markdown
6 years ago
Benoît Latinier
dfbc80d5b6
Merge pull request #486 from vincentbernat/fix/anchor-load
...
embed: do not jump to unrelated anchor on load
6 years ago
Vincent Bernat
463f76cb0b
embed: do not jump to unrelated anchor on load
...
When loading, Isso scrolls to the current document hash. This makes
sense when the document hash references a comment, but this doesn't
for an unrelated anchor. Tell Isso to only scroll for a comment.
6 years ago
Jelmer Vernooij
f6271a04a2
Merge pull request #485 from gloomy-ghost/bleach
...
Use bleach to sanitize HTML
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.
...
This fixes #296
6 years ago
Jelmer Vernooij
8e37a88d6d
Merge pull request #484 from gloomy-ghost/tests
...
Fix 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
...
Minor typographic tweaks in French translation
6 years ago
Benoît Latinier
14303d0377
Merge pull request #479 from javier-lopez/patch-1
...
update es.js
6 years ago
Philippe
e993b498a0
Minor typographic tweaks in French translation
...
Replace single quotes by the proper apostrophe normally used in French typography. Much cleaner!
6 years ago
Javier López
32f98ce3f2
update es.js
...
according to commit b0264bc807
a new preview field was added, the spanish translation probably was taken from an automatic translator which sounds weird, I've updated such field.
6 years ago
Benoît Latinier
5bc176d85b
Merge pull request #473 from jtanx/inet
...
Use AF_INET if AF_UNIX isn't available (i.e. Windows)
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
...
i18n: fix zh_CN/TW 'optional' in postbox placeholder
6 years ago
Benoît Latinier
c9230d5a52
Merge pull request #438 from vincentbernat/fix/rss-relative
...
feed: remove trailing / from base URL
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
...
Make password form focused on page load
6 years ago
Sergey Lisakov
20ba003791
Make password form focused on page load
...
No need to click on the input form to type in the password, it is active by default
6 years ago
Benoît Latinier
dc4b0a7baf
Merge pull request #468 from pozitron57/patch-5
...
fix link to misaka extensions
6 years ago
Benoît Latinier
263305f718
Merge pull request #469 from Rocket1184/hotfix/i18n-zh-postbox-notification
...
i18n: zh_CN/TW translate for 'postbox-notification
6 years ago
Sergey Lisakov
be1e81b109
typo
...
at least on site → at least one site
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
...
Update docs for mod_wsgi
6 years ago
Benoît Latinier
5dad7bd353
Merge pull request #466 from pozitron57/patch-4
...
add "postbox-notification"
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
...
template: admin: add id `isso-root` to comments wrapper
6 years ago
Benoît Latinier
c801d18bd9
Merge pull request #452 from Rocket1184/fetaure/client-async-comment-load
...
Async comment loading for dynamic websites
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
...
Allow subdirectory server configuration, e.g. https://example.com/isso
6 years ago
Benoît Latinier
53d5ad441c
Reply notification ( #443 )
...
Merging @pellenilsson reply notification PR
* Added reply notification for commenter
* Removed debug info
* Bugfix
* Add notification column to database if needed
* Make SMTP connections thread safe
* Include link to comment in email notifications
* Implement opt-out for email notifications
* Fix faulty check for parent comment
* Support notifications also for replies
* Don't send notification when someone responds to his/her own comment
* Make unsubscribe work with notifications for replies
* Correct hash in 'unsubscribe' API example
* Introduce public-endpoint setting
* Fix whitespace issue
* Postpone notifications to users until comment has been approved by moderator
* New setting general.reply-notifications
* Add client-side configuration setting reply-notifications
* Documentation for reply notifications
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
...
a little improvement for Persian translation
I guess it's ok :)
6 years ago
Farooq Karimi Zadeh
70f9aab7cb
a little improvements
6 years ago
Rocka
795035ff6c
template: admin: add id `isso-root` to comments wrapper
...
the admin page layout would be more neat
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
...
This way, one can use "/" as base URL. This is only valid if we are
sure that URI should always have a leading "/". Is that the case?
Fix #437 .
6 years ago
Benoît Latinier
3d0fdffcb7
Merge pull request #415 from facundobatista/generic-importer
...
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
...
Fix spelling of "E-Mail" (german)
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
...
Substituting scss command in Makefile by node-sass + adding comment with instructions on how to install Makefile dependencies
6 years ago
Benoît Latinier
2b7c6629ea
Merge pull request #435 from Lucas-C/env_vars_doc
...
Adding documentation on the ISSO_CORS_ORIGIN env variable - close #407
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
...
docker: install cffi inside virtualenv
6 years ago
Benoît Latinier
5e65e46b59
Merge pull request #426 from vincentbernat/fix/feedlink-append
...
embed: fix feed link creation on older browsers
6 years ago
Benoît Latinier
e745f326db
Merge pull request #428 from pozitron57/patch-2
...
Correct russian translation for "preview" button
6 years ago
Benoît Latinier
2064f3a29b
Merge pull request #427 from Rocket1184/hotfix/i18n-zh-postbox-preview
...
i18n: fix zh_CN/TW translate of '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
...
Conflicts:
isso/css/isso.css
isso/ext/notifications.py
isso/js/app/text/postbox.jade
isso/views/comments.py
6 years ago
Vincent Bernat
311f65d52b
embed: fix feed link creation on older browsers
...
When a browser doesn't support DOM manipulation convenience methods,
the addition of the feed link was triggering an error because elements
created by `$.new()` are regular elements, not elements from our own
mini-DOM implementation. Therefore, the `append()` method may be
absent. Use `appendChild()` instead.
6 years ago
Vincent Bernat
9b911f3257
docker: install cffi inside virtualenv
...
`python setup.py install` installs it outside the virtualenv (because
it's in `setup_requires`?), then reuse it as is when installing the
dependencies. On the final container, cffi is therefore missing.
6 years ago
Benoît Latinier
c26d59de08
Merge pull request #424 from posativ/misaka_2
...
Upgrade to 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
...
Fixes #208
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
...
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
...
jade: avoid using eval once compiled
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
...
Bugfix to support <a> elements in SVG diagrams - close #421
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
...
js: add a preview button to see a rendered preview
6 years ago
Benoît Latinier
dc6157897f
Merge pull request #423 from posativ/fix-tests
...
fix tests due to non predictive html rendering
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
...
When the button is clicked, the /preview endpoint is used to render a
preview text. The preview is inserted and the preview button is
replaced by an edit button to go back to edit mode. Alternatively, the
use can click on the preview to edit.
Some small CSS modifications are done to accomodate the
modification. Also, the preview is wrapped into `.isso-common
.text-wrapper .text` to not make the CSS more complex.
When in preview mode, the background is stripped/greyish in case it's not easy
to make a difference between preview and not preview (due to
unformatted text). We avoid to modify borders/shadow boxes because it
would make the design "jumpy".
6 years ago
Benoît Latinier
55dac39bdd
Merge pull request #418 from vincentbernat/feature/nofollow-links
...
html: add nofollow/noopener to links
6 years ago
Benoît Latinier
b5c40bedf7
Merge pull request #419 from vincentbernat/feature/atom-feed
...
api: add /feed API to get an Atom feed for an URI
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
...
fix: admin and demo view redirect issue
6 years ago
Benoît Latinier
bb924ead86
Merge pull request #417 from vincentbernat/fix/css-cleanup
...
css: remove CSS code for avatar in postbox
6 years ago
Vincent Bernat
45f6b1eda3
feed: make /feed API call configurable server and client-side
...
On server-side, this can be enabled by providing a base URL to use to
build the full URL. Limit also becomes configurable. On client-side,
we need to add a switch to know whatever or not the additional link
can be displayed.
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
...
We need absolute URL at some places. We assume the first host
configured is the base of the URI we have.
Fix #81
6 years ago
Vincent Bernat
8d8f9c8c59
html: add nofollow/noopener to links
...
"nofollow" is a deterrent for spammers: they cannot put links and hope
to increase their SEO when all these links have the nofollow
relationship.
"noopener" is a security for links opening a new window. They ensure
the target cannot control us.
Fix #373
6 years ago
Vincent Bernat
fcf576dd08
css: remove CSS code for avatar in postbox
...
It has been removed in 0211322915
.
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
...
Provide a multi-staged Dockerfile
6 years ago
Vincent Bernat
9618c0f3a3
jade: avoid using eval once compiled
...
Use of eval is handy when we need to automatically reload a
template. However, in production, this is slow and unsafe. Moreover,
when using CSP, we have to use 'unsafe-eval' which brings shame to
most of us. It appears use of eval() is not needed because the
template has already been translated to Javascript. We just need to
bind "jade" to its local scope.
So, we add an additional wrapper function binding "jade" to the local
scope. Moreover, when compiling the template, we add a flag to the
function to know it has already been compiled. In this case, we
execute it with "jade" in its scope. Otherwise, we keep using eval.
Quickly tested in both situations. Seem to work.
Fix #274 .
6 years ago
Benoît Latinier
47b14ab0c8
Merge pull request #413 from vincentbernat/fix/doc-isso-id
...
docs: document data-isso-id
6 years ago
Vincent Bernat
30f0c7eeb8
docs: document data-isso-id
6 years ago
Vincent Bernat
2b7c17a361
Provide a multi-staged Dockerfile
...
Many of the Docker images on hub.docker.com are outdated. The one
specified in the documentation doesn't exist anymore. We provide a
decent Dockerfile to build our own Docker image.
This uses a multi-stage build to avoid polluting the final image with
the intermediate artifacts. The final image is 155 MB. It should be
possible to squeeze it even more by using Alpine Linux for the last
two parts instead of Stretch.
The service is using gunicorn. The user is expected to complete the
installation with a reverse proxy configuration.
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
...
i18n: add space between number and CJK character
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 )
...
Fix URL in moderation mails if isso runs in a sub-URL (closes #401 )
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
...
Small typo fix.
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
...
Conflicts:
isso/css/isso.scss
isso/db/comments.py
isso/ext/notifications.py
isso/js/app/i18n/fr.js
isso/js/app/isso.js
isso/js/app/text/postbox.html
isso/views/comments.py
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
...
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
...
Drop support for Python 2.6 and 3.3
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
...
Add a basic admin interface (Fix issue #10 )
There are more to add in the interface but it's a good start.
7 years ago
Jelmer Vernooij
ea3507910f
Merge pull request #354 from mpchadwick/feature/comment-placeholder-color
...
Darken placeholder text
7 years ago
Jelmer Vernooij
42bbe174cd
Merge pull request #357 from mpchadwick/feature/hu-order
...
Put hu into correct alphabetical 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
...
Fix hungarian translation
7 years ago
Max Chadwick
9ab23c0908
Fix hungarian translation
7 years ago
Max Chadwick
21983a61b6
Darken placeholder text
...
Previously color contrast was insufficient per WCAG AA
7 years ago
Jelmer Vernooij
b7526ecab1
Merge pull request #350 from guthypeter/master
...
Added hungarian translation
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
...
Fix: Truncate key-length when generating identicons
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
...
Hex-digits with character count above 17 cannot be safely converted to an Integer, see [MAX_SAFE_INTEGER](https://medium.com/the-node-js-collection/javascripts-number-type-8d59199db1b6#53cd ).
Therefore, when long keys (e.g. 32 characters) are passed into `generateIdenticon()`, and the modulus of 2^18 is performed, the result is 0 all the time. This means, the identicon will render as an empty svg image.
Here is a proof-of-concept (run in any modern browser):
```js
const key = '841b625dcf75413ff3ed5137a81ff1c3';
const int = parseInt(key, 16);
const hash = int % Math.pow(2, 18);
// throws, due to floating point conversion / integer overflow
console.assert(258499 === hash, "Modulus for 'hash' should be != 0");
const int2 = parseInt(key.substr(-16), 16);
const hash2 = int2 % Math.pow(2, 18);
// works as expected
console.assert(258048 === hash2, "Modulus 'hash2' should be != 0");
```
Truncating the passed in argument to a maximum of 16 characters solves the issue.
As a sidenote, the same code in Python will work correctly:
```python
key = '841b625dcf75413ff3ed5137a81ff1c3'
int = int(key, 16)
hash = int % pow(2, 18)
assert 258499 == hash
```
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
...
Fix pyflakes errors & run pyflakes on travis.
7 years ago
Jelmer Vernooij
280b0d925a
Skip compat module when running flakes checks.
...
Python2-specific code fails on Python3 flakes and vice versa.
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
...
Update API documentation.
7 years ago
Jelmer Vernooij
b8adfe3f18
Merge pull request #316 from shengbinmeng/patch-1
...
Better configure options for Chinese language
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
...
Fix require-email setting
7 years ago
Jelmer Vernooij
c8e4e74514
Merge pull request #335 from philipcmonk/time
...
Display only complete units of 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
...
fixes #283
7 years ago
Jelmer Vernooij
616c61ea88
Merge pull request #291 from ivegotasthma/ivegotasthma-patch-1
...
fix: add missing i18n entry
7 years ago
Jelmer Vernooij
a23317818f
Merge pull request #315 from ginggs/patch-1
...
add SOURCELINK_SUFFIX for compatibility with Sphinx 1.5
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.
...
This should address python2.6 being missing in the default environment. Fixes #332
7 years ago
Jelmer Vernooij
2f3cd0ac46
Merge pull request #325 from SilverRainZ/patch-1
...
Fix typo in isso.conf
7 years ago
Jelmer Vernooij
fe4a1a11e9
Merge pull request #298 from kAworu/patch-2
...
api.rst: JSON and english typos
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 )
...
Add a basic admin interface (Fix issue #10 )
wip again
still wip
fix login page
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
...
Before this change, the user must configure `lang="zh"` to use the CN version (neither `lang="zh_CN"` nor `lang="zh_TW"` works).
7 years ago
Graham Inggs
88aafa60e5
add SOURCELINK_SUFFIX for compatibility with Sphinx 1.5
...
With Sphinx 1.5, this is needed by searchtools.js to display the source
snippets (see sphinx-doc/sphinx#2454 ).
With earlier Sphinx versions, this is a no-op because the undefined variable
will evaluate to an empty string.
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
...
Highlight links by underline in comments
7 years ago
Morris Jobke
f33ca31320
Highlight links by underline in comments
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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
...
default isso.conf typo
7 years ago
Alexandre Perrin
3d67f10c72
default isso.conf typo
7 years ago
Martin Zimmermann
f3b1d0ba07
Merge pull request #293 from ckoepp/master
...
added FreeBSD rc.d script
7 years ago
Christian Koepp
45316e535a
added FreeBSD rc.d script
7 years ago
ivegotasthma
09b69feae9
fix: add missing i18n entry
...
Fixes an indexing error a user gets when he tries to make the language of isso to `bg`
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
...
A typo that always chained the legacy middleware although not necessary.
This causes errors with certain configurations (gevent + ???).
8 years ago
Martin Zimmermann
4fc6d5ac33
Merge pull request #263 from gumblex/master
...
fix "optional" in zh translations
8 years ago
Martin Zimmermann
a52a0862a8
Merge pull request #260 from panta82/vote-levels
...
Vote levels
8 years ago
Martin Zimmermann
3dff66c2de
Merge pull request #268 from lynndotconfig/master
...
correct offset localtime for comments ago
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
...
Fix issue #27 on override thread discovery with custom data-attributes
8 years ago
Martin Zimmermann
bbff002bd6
Merge pull request #254 from jGleitz/preview
...
Preview endpoint
8 years ago
Martin Zimmermann
7cba8f9880
Merge pull request #257 from blatinier/issue-124/mandatory-name
...
Add an option for mandatory author (Fix issue #124 )
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
...
The apidoc.json file configures the ApiDoc tools. It generates AJAX API
documentation out of comments in the source code.
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
...
Actually most installations have been broken since refactoring of
default configurations into a dedicated file. I feel a little bad, but
Python Packaging is broken anyways.
8 years ago
Martin Zimmermann
2612fbc0f5
fix missing wrapper attribute
8 years ago
Martin Zimmermann
c8311bdda7
Merge pull request #243 from pozitron57/patch-2
...
Fix pluralisation issues and inexact translation
8 years ago
Sergey Lisakov
2a6aa1203b
Fix pluralisation issues and inexact translation
...
Noticed inexact translation for comment-hidden and no-comments.
Pluralisation had bugs, now it works correctly.
8 years ago
Martin Zimmermann
b5e7c78dcc
Merge pull request #237 from jelmer/rjs
...
Add make variable for r.js, so it can easily be overriden.
8 years ago
Martin Zimmermann
05bd6b3137
Merge pull request #236 from jelmer/man
...
Create man page directory before moving files to them.
8 years ago
Jelmer Vernooij
ba43de3f9b
Add make variable for r.js, so it can easily be overriden.
...
This is useful for platforms like Debian that don't ship with r.js in
the path.
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
...
This is a quote from http://wheel.readthedocs.org/en/latest/ . I have no
idea what I'm doing. Tested the universal wheel on Python 2.6, 2.7 and
3.4 with pip 7.1.
I have no idea what happens with older versions of pip. There is
absolutely no documentation. Typical python packaging experience.
8 years ago
Martin Zimmermann
1401132c73
pin html5lib to 0.9999999
...
Seriously, what is wrong with them…
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
...
fixes 2 typos
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.
...
Added Vietnamese translation.
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
...
With the release of misaka 2.0, new users experienced breakage when
2.0 was installed (#208 ).
2.0 has a slightly different API, and Python 2.6 support in 2.0 is not
yet released. #212 contains the update to 2.0, so this change should
only be a stopgap until the next misaka release with Py2.6 support.
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
...
Pluralization will work just fine now with Russian. Also I corrected several typos and added translation for missed "comment-hidden". I installed Isso via pip and have this part of code in other files.
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
...
Added instructions to deploy Isso on Openshift
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.
...
If no username is set, returns an empty string. So the test `username is
not None` is always True. Idem for password. This can lead to
authentication problems. This commit fixes the test to `if username and
password` as it was in the previous version.
9 years ago
Martin Zimmermann
3f73d83c99
Merge pull request #184 from wendal/i18n_zh_CN
...
add: zh_CN Translation
9 years ago
wendal
6e4d9ba446
add: zh_CN Translation
9 years ago
Martin Zimmermann
35897ef01f
Merge pull request #175 from Jenselme/fedora
...
Add fedora in the prebuilt-package section of docs/docs/install.rst.
9 years ago
Martin Zimmermann
a2bda63bf0
Merge pull request #174 from Jenselme/smptAuth
...
Correct auth without password or username.
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.
...
If no username is set, returns an empty string. So the test `username is
not None` is always True. Idem for password. This can lead to
authentication problems. This commit fixes the test to `if username and
password` as it was in the previous version.
9 years ago
Martin Zimmermann
630e76f66c
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/ext/notifications.py
isso/utils/http.py
setup.py
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"
...
This reverts commit e97d2aba04
.
9 years ago
Martin Zimmermann
e5219157a7
Merge pull request #172 from xuhdev/fix-159-2
...
Save the session-key as a unicode string in the db
9 years ago
Hong Xu
21e91efbf9
Save the session-key as a unicode string in the db
...
The session-key should be saved as a string, not a byte string.
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
...
Add ansible for provisioning
9 years ago
Daniel Gräber
09ad29aa81
Remove .idea from gitignore
9 years ago
Martin Zimmermann
e098a199f3
Merge pull request #164 from xuhdev/typo
...
Fix some typos in the intallation doc.
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
...
Fix npm uglifyjs missing package error
9 years ago
Daniel Gräber
763586448a
Fix npm uglifyjs missing package error
...
uglifyjs has been [unpublished](https://www.npmjs.com/package/uglifyjs ). Instead use uglify-js.
9 years ago
Martin Zimmermann
5f511023e9
Merge pull request #158 from rolisz/patch-1
...
Catch exception in anonymize function
9 years ago
Roland Szabo
2a3075d0fb
Catch exception in anonymize function
9 years ago
Martin Zimmermann
26b889d381
Merge remote-tracking branch 'origin/pr/157'
...
Conflicts:
isso/js/app/i18n.js
9 years ago
Matias
1957f4f99f
Update CONTRIBUTORS.txt
9 years ago
Matias
dc172975ee
Update CONTRIBUTORS.txt
9 years ago
Matias
c5496b103d
Added spanish translation
...
Added spanish translation
9 years ago
Matias
68a8c2c380
Update client.rst
9 years ago
Matias
4d7fc956ab
Create es.js
...
Added spanish translation
9 years ago
Martin Zimmermann
e271851b50
fetch greek translation
9 years ago
Martin Zimmermann
f80460a685
Merge pull request #152 from jelmer/dutch
...
Import transifex improvements to Dutch translation.
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
...
Add Dutch translations.
9 years ago
Jelmer Vernooij
dcb7f6457c
Add Dutch translations.
9 years ago
Martin Zimmermann
7c4565afc7
Merge pull request #148 from richard-fine/feature/vagrant
...
Vagrant support
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'
...
Conflicts:
isso/migrate.py
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
...
correct order by in sql request
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
...
The SysVinit script is not tested, but it looks fine to me. Also added a
few lines on how to execute `isso` when using a virtualenv from the
outside (both changes suggested on IRC).
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
...
bug fixed: was trying to remove an unexisting span.votes
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'
...
Conflicts:
CHANGES.rst
isso/core.py
setup.py
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
...
backports.configparser got a major rewrite and an upgrade from 3.3 to
3.5 imports the wrong configparser module on Python 2.6/2.7.
Hopefully, this commit makes it work again. Alternatively, you can
remove the old configparser module(s):
rm lib/python2.7/site-packages/configparser*
And re-install configparser from PyPi.
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'
...
Conflicts:
CHANGES.rst
setup.py
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
...
Encode configuration variables as ascii, ignoring non-ascii characters
(Python's smtplib is not yet able to support the UTF8SMTP).
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'
...
Conflicts:
CHANGES.rst
docs/docs/configuration/client.rst
setup.py
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'
...
Conflicts:
CHANGES.rst
isso/core.py
setup.py
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
...
The browser shows a human-readable, absolute timestamp when hovering the
"time ago" element
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
...
Fixes a regression introduced by ad9384e
, which escapes wanted line
breaks, such as <br /> and <div>.
10 years ago
Martin Zimmermann
4a8cbcd8f0
limit request size, closes #107
10 years ago
Martin Zimmermann
7008e88314
prevent 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'
...
Conflicts:
CHANGES.rst
docs/docs/install.rst
setup.py
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'
...
Conflicts:
CHANGES.rst
isso/core.py
isso/dispatch.py
setup.py
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
...
A regression introduced in 94ee6a69
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"
...
If input fields are not close enough to each other, it looks weird. Also
it didn't work in mobile view.
This reverts commit 77d40a99eb
.
10 years ago
Martin Zimmermann
b2b6af24d6
fix clode block generation
...
added fenced code blocks to default extension list
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
...
* use a single default configuration, share/isso.conf
* try to use config.new in some tests which are decoupled
A few tests now depend on `isso.dist` to show that they (or the used
objects) have too much dependencies and need to be rewritten.
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
...
Useful to start multiple sites in a simpler way e.g. export ISSO_SETTINGS_DIR=/etc/isso.d/enabled
10 years ago
Martin Zimmermann
9260e143f1
decouple hash generation from comment view and allow customization
...
Tests now use a dummy hash function that does nothing (basically) and
run a bit faster now.
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
...
Python2.6 is EOL and my distributions is about to remove it. Travis CI
uses Ubuntu 12.04 LTS and can still test Python2.6 for at least three
years.
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
...
If a message does not contain '\n', pluralize is not called. Also
replace {{ hidden_replies }} with {{ n }}.
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)
...
There is a bug, when you hide N top-level comments, that shows the wrong
comment count. With a JSON API like data structure, the total comment
count can be sent as a different key, related to #96 .
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
...
SMTP is now also recognized as `smtp`backend. You may use multiple
notification backends (separated by comma). Defaults to `stdout`.
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
...
Replace Markup.js with Jade [1] for real templating (like expression
evaluation and sane syntax). Jade compiles directly to JavaScript which
makes it possible to only have Jade as build dependency with a tiny
runtime wrapper for the client (around 40% of Markup.js's size).
Templates are rewritten for Jade but do not use all features from Jade
(such as filters, mixins and includes) for now.
A simple requirejs-jade wrapper to compile Jade during runtime is
already included.
i18n
----
I also rewrote the i18n module and moved translation and pluralization
functions back into the module, thus decoupling it from the previous
markup language. The module now exposes:
* i18n.translate(msgid) -> string
* i18n.pluralize(msgid, n) -> string
I18n depends on app/config and thus has access to the user's prefered
language and exposes both function with `i18n.lang` already set. If the
msgid was not found, it returns "???" (like Markup.js).
The pluralization function replaces `{{ n }}` with the function argument
just like with Markup.js (to keep the diffs clean).
[1] http://jade-lang.com/
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
...
Issue #49 : Comments thread and submission form now support avatar disabling
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
...
Tweaking the submission form — making it responsive
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
...
You may now set a full From header, e.g.:
[smtp]
from = Foo Bar <spam@local>
If not, the old name "Ich schrei sonst!" is used.
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
...
* make "process_fetched_list" private
* rename fetch_args to args
* a few logic simplifications
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
...
Site links such as /?p=1234 are imported *as is* and maybe do work in
Isso. Do not use a query-based URL structure as permalinks. Ever.
Also, depending on the pages you are going to export, WXR' XML namespace
may change from ../export/1.0/ to ../export/1.2/. Isso tries to import
any WXR 1.x
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
...
This returns zero comments now
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
...
http://gehrcke.de/2014/04/travis-ci-finally-supports-python-3-4/
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
...
* Handle hierarchal comments data format
* New comments fetching parameters: limit, parent, after
* Link to load more comments
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
...
A minor regression introduced by the latest refactorings. A functional
test is now included. Only affects Firefox users that use non-SSL and
supress their HTTP Referer completely
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
...
Also refactor those function a bit and move doctests into a separate
module.
10 years ago
Martin Zimmermann
09451ff707
replace textarea with a content-editable div
...
Mainly because of the sluggish auto-resize "feature" which comes for
free when using a content-editable div.
If you use a custom CSS, make sure you replace textarea (element with
.textarea (class) and set `white-space: pre`.
10 years ago
Martin Zimmermann
638ddc6359
pass event through for $.on
10 years ago
Martin Zimmermann
dd0837c0f7
remove superscript extension from Markdown
...
Unexpected behavior for popular smileys like "^^" which does not render
properly and thus, needs to be escaped (like \^\^). If you want to
re-enable superscript, add
[markup]
options = superscript
allowed-elements = sup
to your configuration.
10 years ago
Martin Zimmermann
103e68e27b
update changelog
10 years ago
Martin Zimmermann
78b34ecdd2
return only publicely visible comments on /count
...
A regression introduced by 5ce48de
.
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
...
The old way via `GET /count?uri=...` still works, but is now deprecated
and might be removed in future releases.
The new way is much more efficient especially fore multiple listings.
The internal implemention is improvable though.
10 years ago
Martin Zimmermann
0d6d072281
add isso.conf example to source distribution
...
mv sample configuration to share/
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
...
Store a random session key used to sign and verify comment ownership
once the database is initialized, not on every application startup.
Currently fixed session keys in [general] session-key are migrated into
the database on startup. The configuration parser will notice you about
the change and suggest you to remove this option.
10 years ago
Martin Zimmermann
de50c683bc
extend installation docs
...
* add interludium for users new to Python
* include guides for prebuilt packages and building from source
(obsoletes DEVELOPMENT.md).
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
...
* data-isso-avatar-bg="#f0f0f0" sets the background color
* data-isso-avatar-fg="#0abf99 #5698c4 etc." sets up to 8 different
forground colors
10 years ago
Martin Zimmermann
c6e9c7eee4
Revert "run tests without depending on an already installed instance"
...
Breaks CLI (and probably other modules that use `dist.version`):
[*]~/d/isso:master> isso -c sample.cfg run
Traceback (most recent call last):
File "/home/.../dev/isso/bin/isso", line 9, in <module>
load_entry_point('isso==0.8.dev0', 'console_scripts', 'isso')()
File "/home/.../dev/isso/isso/__init__.py", line 198, in main
parser.add_argument('--version', action='version', version='%(prog)s ' + dist.version)
AttributeError: 'module' object has no attribute 'version
This reverts commit 4e5e8c44f7
.
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
...
run tests without depending on an already installed instance
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
...
http://momentjs.com/docs/#/displaying/fromnow/
10 years ago
Martin Zimmermann
ffd5882810
Merge branch 'fix-time-ago', closes #69
10 years ago
Martin Zimmermann
9a678e4691
an attempt to address #69
...
Add a global-like object that stores the delta from server time and
client time in a list and use the resulting average to "correct"
utils.ago diffs.
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
...
Similar to urllib3 [1] and based on
git log --format='%at %aN <%aE> %s' | sort -rn | grep -v posativ
Unfortunately only based on git's history.
[1] https://github.com/shazow/urllib3/blob/master/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
...
This commit introduces a new configuration section [markup] to refine
Misaka's Markdown extensions (by default strikethrough, superscript and
autolink).
Furthermore, you can set custom HTML elements/attributes that are
allowed, e.g. to enable images, set
[markup]
allowed-elements = img
allowed-attributes = src
The refactorization separates HTML sanitization from Markdown -> HTML
and allows to include new markup languages such as BB Code or
reStructuredText.
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)
...
Features like .. note:: and .. warning:: are not supported. Sadly back
to the default `html4css1` stuff :(
10 years ago
Martin Zimmermann
f4cfa6f63c
Merge pull request #67 from srijan/master
...
Docs update: forward url protocol in sample nginx configs
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
...
except for test_migration because there are improved tests available
in the feature/cli branch
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
...
This commit removes yet another dependency. The provided domready
function is compatible with IE9, Firefox and Safari/Chrome.
Inspired by:
* http://stackoverflow.com/a/15580098
* https://github.com/requirejs/domReady/blob/master/domReady.js
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
...
The python-html5lib package in Debian Wheezy does not support
`etree` as tree builder (called `simpletree` back then).
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
...
default smtp to port=587 and security=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
...
Update api.rst
10 years ago
JocelynDelalande
2e60fc7f68
Update api.rst
...
Added doc on count feature
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
...
and also reword a few paragraphs as suggested via mail.
10 years ago
Martin Zimmermann
3a1f92b8bd
use html5lib's sanitizer, supersedes 3713d5e
...
Python's HTMLParser is smart enough to filter malicious tags but fails
to repair invalid, user-inputted HTML. Instead of re-inventing the
wheel, Isso now uses html5lib's HTMLSanitizer with a whitelist of all
tags generated by Sundown.
Disallowed tags are discarded from the output to match the previous
unittests. This feature is only available for html5lib 0.99(9) and
later. Earlier releases just escape disallowed tags.
10 years ago
Martin Zimmermann
3713d5e8ee
allow raw HTML markup for a few (whitelisted) tags
...
To be compatible with comments from Disqus (and users unfamiliar with
Markdown), Misaka no longer disables user-inputted HTML, but the
generated HTML is now post-processed and all "unsafe" tags (not
possible with Markdown) are discarded.
Whitelist: p, a, pre, blockquote, h1-h6, em, sub, sup, del, ins, math,
dl, ol, ul, li
This commit also removes an unnecessary newline generated by
Misaka/Sundown.
10 years ago
Martin Zimmermann
36d702c7bc
proper use of Misaka's HTML render flags (fix malicious HTML injection)
...
This commit now sanitizes *all* HTML tags written by the user (also
prevents auto-link to "unsafe" web protocols and images) as intended.
Fortunately because of Sundown's typography support, it did not affect
JS injection, but custom style tags and iframes.
PS: thanks to the anonymous submitter of a comment including a style tag
for 24pt, red font ;-)
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
...
Also, fix console.log usage.
11 years ago
Martin Zimmermann
a29393ee3f
replace kriskowal/q with 50 LoC homebrew implementation, part of #51
...
As a result, it is no longer possible to chain promises
(then().then().then(etc.)), but that is actually not an issue for Isso.
The deferred/promise implementation is roughly based on
http://stackoverflow.com/a/17722683 and stackp/promisejs.
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
...
tx-pull fetches translations from Transifex to .tx/<ressource>/<lang>
and converts the JSON into an AMD module. Requires `transifex-client`
from PyPi.
tx-push FILE submits a AMD translation module to Transifex using `curl`
and credentials from ~/.transifexrc.
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
...
Adds STARTTLS support to SMTP notifications
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
...
Maybe useful to see that it really changes if unset. Also reduced key
size to 16 bytes form /dev/urandom (cosmetic reason, still enough).
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
...
Uses keyword arguments to use multiprocessing or uwsgi mixin. This
fixes an issue on exotic *BSDs such as NetBSD where Python comes not
with inter-process semaphores (issue 3307):
mod_wsgi (pid=14365): Target WSGI script '/var/www/vhosts/my.hostname.org/htdocs/isso.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=14365): Exception occurred processing WSGI script '/var/www/vhosts/my.hostname.org/htdocs/isso.wsgi'.
Traceback (most recent call last):
File "/var/www/vhosts/my.hostname.org/htdocs/isso.wsgi", line 8, in <module>
application = make_app(Config.load("/var/www/vhosts/my.hostname.org/htdocs/isso.cfg"))
File "/usr/pkg/lib/python2.7/site-packages/isso/__init__.py", line 155, in make_app
isso = App(conf)
File "/usr/pkg/lib/python2.7/site-packages/isso/__init__.py", line 91, in __init__
super(Isso, self).__init__(conf)
File "/usr/pkg/lib/python2.7/site-packages/isso/core.py", line 223, in __init__
self.lock = multiprocessing.Lock()
File "/usr/pkg/lib/python2.7/multiprocessing/__init__.py", line 175, in Lock
from multiprocessing.synchronize import Lock
File "/usr/pkg/lib/python2.7/multiprocessing/synchronize.py", line 59, in <module>
" function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
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
...
When using Gunicorn or uWSGI to run `isso.dispatch` it would
automatically initialize and a default Isso instance (and cause
several logging messages), although never used.
If you use uWSGI or Gunicorn, you have to change the module from
`isso` to `isso.run`.
11 years ago
Martin Zimmermann
b15f17738e
isso.dispatch now dispatches multiple sites based on relative URLs
...
The previous approach using a custom X-Custom header did work for the
client-side, but not for activation and deletion links. Now, you need
to add a `name = foo` option to the general section. `isso.dispatch`
then binds this configuration to /foo and can distinguish all API
calls without a special HTTP header.
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
...
Create example.conf
11 years ago
Federico Ceratto
9f40ba848d
Create example.conf
...
Example configuration with comments
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)
...
When an attacker uses a <form> to downvote a comment, the browser
*should* add a `Content-Type: ...` header with three possible values:
* application/x-www-form-urlencoded
* multipart/form-data
* text/plain
If the header is not sent or requests `application/json`, the
request is not forged (XHR is restricted by CORS separately).
11 years ago
Martin Zimmermann
1db06bbf39
Revert "HTTP Origin is only sent on cross-origin requests in Firefox"
...
Revert "use Referer instead of Origin when using IE"
Revert "fix unittests"
Revert "check if Origin matches Host to mitigate CSRF, part of #40"
This reverts commit 9376511485c70deaf908aa67bcdc8f0c9a0b003e.
This reverts commit 9a03cca793
.
This reverts commit 4c16ba76cc
.
This reverts commit 32e4b70510
.
11 years ago
Martin Zimmermann
b839b2be31
HTTP Origin is only sent on cross-origin requests in Firefox
...
Therefore, only raise Forbidden if Origin (or Referer for MSIE) is sent
(which is a protected header and all modern browsers (except IE)).
Also add a basic unit test which asserts the failure for false origins.
11 years ago
Martin Zimmermann
8802b73b52
Merge pull request #41 from spk/blank
...
Add check with blank text
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
...
The URL sent in the email returns a short HTML document where
JS creates a modal dialog. If continued, the browser sends a
POST request to the same URL.
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
...
* IE10 (and 11) do not send HTTP_ORIGIN when requesting a URL no in
the same origin, although recommended by WHATWG [1]
* if IE10 is used, use the referer. If this header is supressed by the
user, it won't work (and I don't care).
IE10 needs to die, seriously:
> We have a long-standing interoperability difference with other browsers
> where we treat different ports as same-origin whereas other browsers
> treat them as cross-origin.
via https://connect.microsoft.com/IE/feedback/details/781303/origin-header-is-not-added-to-cors-requests-to-same-domain-but-different-port
[1] http://tools.ietf.org/html/draft-abarth-origin-09
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
...
http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html
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
...
also: move data-isso-* configuration to app/config
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
...
French translation
11 years ago
Sploinga
5a20a4a4bf
French translation
11 years ago
Martin Zimmermann
5e7ee3dffd
use <link> tag to extract the relative post url, fixes #37
...
The <id> tag does not necessarily contains the full URL, but also
relative URLs:
<id>http://example.com/foo/bar.html </id>
<id>/foo/bar.html</id>
<id>foo/bar.html</id>
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
...
Also add an option `direct-reply` to control the number of comments
on a thread without referencing a child (to avoid a simple while loop
that `curl -XPOST ...` the url).
Defaults to 3, that means a /24 (or /48 for IPv6) address can only post
3 direct responses on a thread at all.
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
...
Clear voters bloomfilter and initialize with an (almost) empty one.
11 years ago
Martin Zimmermann
58645ca945
do not reference bytearray in a method definition, fixes #5
...
This is a severe issue which makes the current voters bloomfilter
completely useless. Functions are first-class objects in Python, which
lead to interesting "issues" like:
>>> def foo(x=[]):
... x.append(1)
... print x
...
>>> foo()
[1]
>>> foo()
[1, 1]
For Isso, this means the bloomfilter, which is usually only initialized
with the author's IP address, is now initialized with pretty much all
ip addresses from previous authors, thus makes it impossible for the
author to vote on other's people comments.
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'
...
Conflicts:
isso/utils/__init__.py
11 years ago
Martin Zimmermann
6e85c54a2e
refactor views and introduce an API for notifications
...
Keep Isso modular, not monolithic. Make it easy to integrate a
web interface or add XMPP notifications.
This refactorization includes minor bugfixes and changes:
* CORS middleware did not work properly due to wrong unit tests
* more type checks on JSON input
* new detection for origin and public url, closes #28
* new activation and delete url (no redirect for old urls, but you can
convert the old urls: copy hash after `/activate/` (or delete) and
open `/id/<id of comment>/activate/<hash>`
* move crypto.py to utils/
With this commit, SMTP is no longer automatically configured: add
`notify = smtp` to the `[general]` section to use SMTP.
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)
...
An orphan comment is exported by Disqus but its thread id is
non-existent (probably deleted, moved). Usually from the earlier
days (or WordPress migration).
It is not possible to get the thread without manual intervention (
aka SQLite insertions).
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
...
All data-attributes beginning with `data-isso-` are stored in
`api.config` (without leading data-isso-). Isso tries to parse
the values with JSON (e.g. `-isso-foo="false"` returns false)
and falls back for a simple string value.
11 years ago
Martin Zimmermann
4bb6e91f61
Isso can now listen on unix domain sockets, closes #25
...
This also changes the server configuration from `host` and `port`
to `listen = http://localhost:8080 `.
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
...
Cookies set from a different domain can not be read by JS executed in
the current domain. As a workaround, Isso sends both a Set-Cookie and
X-Set-Cookie header. The former is used by the browser to make the
HTTP request to the API, the latter is read by `embed.min.js` to
determine if a comment can be edited or deleted.
When a comment is deleted, the server sends an expired cookies in
Set-Cookie and X-Set-Cookie.
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
...
If you don't use a <h1> to markup your post's title (but h2), it
is no longer possible to reliable detect the site's title.
E.g. you have a single page with only one <h1> and that's the
*real* title of that page. But on the other hand, it is also
possible, that the <h1> tag is just your website's name and the
actual post title is marked up in <h2>.
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
...
Previously this led to unnecessary object creation which impacted the
rendering time (on my machine 200 comments -> 1200ms) just to create
the postbox per comment (just the object initialization)).
11 years ago
Martin Zimmermann
cac4694f43
cache PBKDF2 hash, closes #18
...
Markdown conversion is not the reason for 2s per 100 comments response,
the hash function is. When using the email/remote_addr from cache, the
response time is pretty fast.
* when uWSGI is available, use their caching framework
* for multi-threaded environment (the default), use a simple cache
shipped with werkzeug
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