pax_global_header00006660000000000000000000000064132004702650014511gustar00rootroot0000000000000052 comment=57a9539bc34edb69592ea70edc76db5810c064ed isso-0.10.6+git20170928+dfsg/000077500000000000000000000000001320047026500151055ustar00rootroot00000000000000isso-0.10.6+git20170928+dfsg/.gitignore000066400000000000000000000030431320047026500170750ustar00rootroot00000000000000# git ls-files --others --exclude-from=.git/info/exclude # Lines that start with '#' are comments. # For a project mostly in C, the following would be a good set of # exclude patterns (uncomment them if you want to use them): # *.[oa] # *~ *.pyc .Python .sass-cache .vagrant /bin /include /lib /lib64 /man /share /isso.egg-info/ /isso/js/components /isso/js/embed.min.js /isso/js/embed.dev.js /isso/js/count.min.js /isso/js/count.dev.js /docs/_build /docs/_static/css/site.css /pip-selfcheck.json # github/gitignore Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ *.egg-info/ .installed.cfg *.egg # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *,cover .hypothesis/ # Translations *.mo *.pot # Django stuff: *.log local_settings.py # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # IPython Notebook .ipynb_checkpoints # pyenv .python-version # celery beat schedule file celerybeat-schedule # dotenv .env # virtualenv .venv/ venv/ ENV/ # Spyder project settings .spyderproject # Rope project settings .ropeproject isso-0.10.6+git20170928+dfsg/.travis.yml000066400000000000000000000014401320047026500172150ustar00rootroot00000000000000language: python matrix: allow_failures: - env: TOX_ENV=squeeze include: - python: 2.6 env: TOX_ENV=py26 - python: 2.7 env: TOX_ENV=py27 - python: 3.3 env: TOX_ENV=py33 - python: 3.4 env: TOX_ENV=py34 - python: 3.5 env: TOX_ENV=py35 - python: 3.6 env: TOX_ENV=py36 - python: 2.6 env: TOX_ENV=squeeze - python: 2.7 env: TOX_ENV=wheezy install: - pip install -U pip - pip install tox - pip install pyflakes - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: - tox -e $TOX_ENV - python -m pyflakes.__main__ $(git ls-files | grep -E "^isso/.+.py$" | grep -v "^isso/compat.py") notifications: irc: channels: - "chat.freenode.net#isso" on_success: change on_failure: always isso-0.10.6+git20170928+dfsg/.tx/000077500000000000000000000000001320047026500156165ustar00rootroot00000000000000isso-0.10.6+git20170928+dfsg/.tx/config000066400000000000000000000001631320047026500170060ustar00rootroot00000000000000[main] host = https://www.transifex.com [isso.js] file_filter = .tx/js/ source_lang = en type = KEYVALUEJSON isso-0.10.6+git20170928+dfsg/CHANGES.rst000066400000000000000000000372771320047026500167270ustar00rootroot00000000000000Changelog for Isso ================== 0.10.7 (unreleased) ------------------- - Nothing changed yet. 0.10.6 (2016-09-22) ------------------- - fix missing configuration field 0.10.5 (2016-09-20) ------------------- - add support for different vote levels, #260 List of vote levels used to customize comment appearance based on score. Provide a comma-separated values (eg. `"0,5,10,25,100"`) or a JSON array (eg. `"[-5,5,15]"`). For example, the value `"-5,5"` will cause each `isso-comment` to be given one of these 3 classes: - `isso-vote-level-0` for scores lower than `-5` - `isso-vote-level-1` for scores between `-5` and `4` - `isso-vote-level-2` for scores of `5` and greater These classes can then be used to customize the appearance of comments (eg. put a star on popular comments). - add new post preview API endpoint, #254 - add an option for mandatory author, #257 - clients can now use `data-title` to get the HTML title for a new page, #252 - add finish translation and other minor bugfixes 0.10.4 (2016-04-12) ------------------- - fix wrapper attribute when using data-isso-require-mail="true", #238 - fix reponse for OPTIONS response on Python 3, #242 0.10.3 (2016-02-24) ------------------- - follow redirects, #193 0.10.2 (2016-02-21) ------------------- - fix getAttribute return value 0.10.1 (2016-02-06) ------------------- - fix empty author, email and website values when writing a comment 0.10 (2016-02-06) ----------------- - add new configuration section for hash handling. [hash] salt = Eech7co8Ohloopo9Ol6baimi algorithm = pbkdf2 You can customize the salt, choose different hash functions and tweak the parameters for PBKDF2. - Python 3.4+ validate TLS connections against the system's CA. Previously no validation was in place, see PEP-446__ for details. - add `fenced_code` and `no_intra_emphasis` to default configuration. Fenced code allows to write code without indentation using `~~~` delimiters (optionally with language identifier). Intra emphasis would compile `foo_bar_baz` to foobarbaz. This behavior is very confusing for users not knowing the Markdown spec in detail. - new configuration to require an email when submitting comments, #199. Set [guard] require-email = true and use `data-isso-require-email="true"` to enable this feature. Disabled by default. - new Bulgarian translation by sahwar, new Swedish translation by Gustav Näslund – #143, new Vietnamese translation by Đinh Xuân Sâm, new Croatian translation by streger, new Czech translation by Jan Chren - fix SMTP setup without credentials, #174 - version pin Misaka to 1.x, html5lib to 0.9999999 .. __: https://www.python.org/dev/peps/pep-0466/ 0.9.10 (2015-04-11) ------------------- - fix regression in SMTP authentication, #174 0.9.9 (2015-03-04) ------------------ - several Python 3.x related bugfixes - don't lose comment form if the server rejected the POST request, #144 - add localStorage fallback if QUOTA_EXCEEDED_ERR is thrown (e.g. Safari private browsing) - add '--empty-id' flag to Disqus import, because Disqus' export sucks - (re)gain compatibility with Werkzeug 0.8 and really old html5lib versions available in Debian Squeeze, #170 & #168 - add User-Agent when Isso requests the URL, an alternate way to #151 (add 'X-Isso' when requesting). 0.9.8 (2014-10-08) ------------------ - add compatibility with configparser==3.5.0b1, #128 0.9.7 (2014-09-25) ------------------ - fix SMTP authentication using CRAM-MD5 (incorrect usage of `smtplib`), #126 0.9.6 (2014-08-18) ------------------ - remember name, email and website in localStorage, #119 - add option to hide voting feature, #115 data-isso-vote="true|false" - remove email field from JSON responses This is a quite serious issue. For the identicon, an expensive hash is used to avoid the leakage of personal information like a real email address. A `git blame` reveals, the email has been unintenionally exposed since the very first release of Isso :-/ The testsuite now contains a dedicated test to prevent this error in the future. 0.9.5 (2014-08-10) ------------------ - prevent no-break space ( ) insertion to enable manual line breaks using two trailing spaces (as per Markdown convention), #112 - limit request size to 256 kb, #107 Previously unlimited or limited by proxy server). 256 kb is a rough approximation of the next database schema with comments limited to 65535 characters and additional fields. - add support for logging to file, #103 [general] log-file = - show timestamp when hovering