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 + ???).
2016-09-20 22:00:58 +02:00
Martin Zimmermann
4fc6d5ac33
Merge pull request #263 from gumblex/master
...
fix "optional" in zh translations
2016-09-20 21:49:25 +02:00
Martin Zimmermann
a52a0862a8
Merge pull request #260 from panta82/vote-levels
...
Vote levels
2016-09-20 21:49:04 +02:00
Liping Wang
12d85242dc
correct offset localtime for comments ago
2016-08-29 18:52:00 +08:00
Dingyuan Wang
c83346834e
fix "optional" in zh translations
2016-07-24 13:23:44 +08:00
Martin Zimmermann
689f3b906c
Merge remote-tracking branch 'tska/finnish'
2016-07-16 14:22:26 +02:00
Timo Kankare
75371bdd43
Ordered fi after en.
2016-07-16 15:19:02 +03:00
Ivan Pantic
4972433406
Vote levels features (custom classes based on the comment votes)
2016-07-16 04:35:54 +02:00
Ivan Pantic
b0f8606b0f
Hiding zero votes is now done through CSS instead of javascript.
2016-07-16 03:54:02 +02:00
Ivan Pantic
b620f2c0b0
Bug when content is number 0.
2016-07-16 03:46:37 +02:00
Timo Kankare
14962ad51f
Added fi to i18.n.js.
2016-07-15 10:07:26 +03:00
Timo Kankare
cf20bc5687
Finnish translation. i18n/fi.js added.
2016-07-15 09:41:05 +03:00
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
2016-07-13 21:06:06 +02:00
Martin Zimmermann
bbff002bd6
Merge pull request #254 from jGleitz/preview
...
Preview endpoint
2016-07-13 21:04:35 +02:00
Benoît Latinier
459611c0e7
Add an option for mandatory author (Fix issue #124 )
2016-07-05 17:28:03 +02:00
Joshua Gleitze
3c9bbda252
preview endpoint
2016-06-03 20:32:39 +02:00
Joshua Gleitze
2a11c000d4
convert bad tabs to spaces
2016-06-03 20:04:58 +02:00
Joshua Gleitze
8a9fe29bce
apidoc for count
2016-06-03 14:20:36 +02:00
Joshua Gleitze
afd4107ac3
apidoc for like & dislike
2016-06-03 14:09:16 +02:00
Joshua Gleitze
ded4927ae4
apidoc for moderate
2016-06-03 14:08:57 +02:00
Joshua Gleitze
c3439e5c79
apidoc for "delete comment"
2016-06-03 11:06:46 +02:00
Joshua Gleitze
9b79a98851
apidoc for "edit comment"
2016-06-03 11:06:31 +02:00
Joshua Gleitze
1f804bcf8e
apidoc for "view comment"
2016-06-03 10:28:51 +02:00
Joshua Gleitze
b2d9c80b5f
apidoc for "new comment"
2016-06-03 10:13:13 +02:00
Joshua Gleitze
5ca5d680fa
apidoc for fetch
2016-06-03 10:12:54 +02:00
Benoît Latinier
f1325ccaca
Fix issue #27 on override thread discovery with custom data-attributes
2016-06-01 23:02:46 +02:00
Martin Zimmermann
0377c8bb20
fix reponse for OPTIONS response on Python 3, #242
2016-04-12 21:15:22 +02:00
Martin Zimmermann
2612fbc0f5
fix missing wrapper attribute
2016-04-12 21:15:22 +02:00
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.
2016-03-25 16:26:47 +01:00
Martin Zimmermann
3cd475ec31
follow redirects, fix #193
2016-02-24 13:14:32 +01:00
Martin Zimmermann
a3a1d8cb86
fix getAttribute return value
2016-02-21 18:55:38 +01:00
Martin Zimmermann
3e309e0850
fix input field value access
2016-02-06 20:02:51 +01:00
smileboy
b48ac000b1
config.js error.
2016-01-30 12:31:58 +01:00
Martin Zimmermann
57f902acd4
actually include isso/defaults.ini
2016-01-09 01:01:39 +01:00
Martin Zimmermann
622b59f8a4
move default config expansion to function body (default
already exists)
2016-01-09 00:33:07 +01:00
Martin Zimmermann
93e783ed60
symlink share/isso.conf to isso/defaults.ini and include it properly
2016-01-09 00:15:04 +01:00
Martin Zimmermann
8579cbd6f8
fix undefined variable usage and enumeration logic
2016-01-08 23:03:18 +01:00
Martin Zimmermann
00ed48a1d3
fix incorrect define header
2016-01-08 22:56:45 +01:00
Martin Zimmermann
1f86fa897e
add vi (vietnamese) translation, #222
2016-01-08 22:47:13 +01:00
Martin Zimmermann
dd9ebdc46b
Merge remote-tracking branch 'origin/pr/222'
2016-01-08 22:42:15 +01:00
Martin Zimmermann
815c7f54b5
add hr (croatian) translation
2016-01-08 22:40:56 +01:00
Martin Zimmermann
dc1d83b74b
add cs (czech) translation
2016-01-08 21:32:16 +01:00
Martin Zimmermann
2e41c4728a
don't extend native objects, #191
2016-01-08 17:14:30 +01:00
Đinh Xuân Sâm
5ce7084f59
Fix typo: s/trướ/trước
2016-01-01 10:55:12 +07:00
Đinh Xuân Sâm
f1a8aed320
Completed Vietnamese translation.
2016-01-01 10:50:31 +07:00
Đinh Xuân Sâm
17747368e1
Created new branch for translation: vietnamese.
...
Added Vietnamese translation.
2016-01-01 10:48:36 +07:00
Martin Zimmermann
33c02b45b4
Merge remote-tracking branch 'origin/pr/202'
2015-11-08 17:39:04 +01:00
Martin Zimmermann
54952e67ad
Merge remote-tracking branch 'origin/pr/199'
2015-11-08 17:39:01 +01:00
Sergey Lisakov
45c4e43ba2
Update ru.js
2015-10-27 22:55:59 +01:00
Sergey Lisakov
11dff33450
Update ru.js
2015-09-18 13:15:59 +02:00
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.
2015-09-15 17:27:03 +02:00
Nick Hu
b9ce411f85
write unit tests for require-email
2015-08-28 16:17:02 +01:00
Nick Hu
cb21af4cc5
Add config for requiring emails
2015-08-28 15:59:48 +01:00
Mushiyo
2af17b6204
corrected punctuation
2015-08-14 10:35:00 +08:00
Mushiyo
19179b1764
modify to a better translation
2015-08-14 10:22:09 +08:00
Mushiyo
b98133836d
Added zh_TW translation
2015-08-13 23:22:46 +08:00
Martin Zimmermann
8018a7e23d
update russian translation
2015-05-17 23:45:16 +02:00
wendal
6e4d9ba446
add: zh_CN Translation
2015-04-07 10:47:04 +08:00
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.
2015-03-07 16:00:28 +01:00
Martin Zimmermann
630e76f66c
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/ext/notifications.py
isso/utils/http.py
setup.py
2015-03-04 22:13:03 +01:00
Martin Zimmermann
f5566c1325
encode username/password in SMTP auth only for Python 2, fix #146
2015-03-04 21:44:39 +01:00
Martin Zimmermann
596acb7f79
request with User-Agent 'Isso/...', #151
2015-03-04 21:33:01 +01:00
Sergey
56c81c2d06
Update ru.js
2015-03-04 21:10:42 +01:00
Martin Zimmermann
45053f9c0c
catch errors in http response
2015-03-04 21:09:28 +01:00
Martin Zimmermann
8e4db5a7a2
typo
2015-02-25 10:57:55 +01:00
Martin Zimmermann
f681002e7e
add support for html5lib below 0.95, #168
2015-02-25 10:48:11 +01:00
Martin Zimmermann
c3c519ad0e
add compatibility middleware for werkzeug 0.8, #170
2015-02-25 10:37:51 +01:00
Martin Zimmermann
e5219157a7
Merge pull request #172 from xuhdev/fix-159-2
...
Save the session-key as a unicode string in the db
2015-02-25 10:11:34 +01:00
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.
2015-02-25 00:21:55 -08:00
Martin Zimmermann
957fc72eb1
reject request if reject is actually defined, fix #165
2015-02-24 21:37:57 +01:00
Martin Zimmermann
0466977109
replace bullet with HTML entity, fix #169
2015-02-24 21:34:05 +01:00
Martin Zimmermann
aa64b27684
Python 2.7.9 didn't get the context=ssl... backport unfortunately
2015-02-24 20:56:20 +01:00
Martin Zimmermann
e3dedef7ed
Merge pull request #167 from albohlabs/feature/ansible
...
Add ansible for provisioning
2015-02-19 22:32:03 +01:00
Martin Zimmermann
4c9a2aba30
fetch polish translation
2015-02-19 18:56:27 +01:00
Daniel Gräber
894086bda2
Fix catch socket timeout and error exceptions
2015-02-19 13:38:48 +01:00
Roland Szabo
2a3075d0fb
Catch exception in anonymize function
2015-02-01 17:30:35 +01:00
Martin Zimmermann
26b889d381
Merge remote-tracking branch 'origin/pr/157'
...
Conflicts:
isso/js/app/i18n.js
2015-01-30 15:43:02 +01:00
Matias
c5496b103d
Added spanish translation
...
Added spanish translation
2015-01-29 02:59:52 -03:00
Matias
4d7fc956ab
Create es.js
...
Added spanish translation
2015-01-29 02:53:53 -03:00
Martin Zimmermann
e271851b50
fetch greek translation
2015-01-28 23:14:21 +01:00
Jelmer Vernooij
00c4d4149e
Import transifex improvements to Dutch translation.
2015-01-21 23:46:50 +01:00
Jelmer Vernooij
dcb7f6457c
Add Dutch translations.
2015-01-17 21:54:01 +01:00
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
2015-01-03 13:07:41 +00:00
Richard Fine
3977a8d00d
set up Vagrant support to make it easy to get a dev environment going quickly
2015-01-03 02:00:04 +00:00
Martin Zimmermann
f47df75422
use system's CA certificates for Python 2.7.9 or higher to verify TLS connection
2014-12-25 22:49:28 +01:00
Martin Zimmermann
d70eb160b9
Merge branch 'legacy/0.9'
...
Conflicts:
isso/migrate.py
2014-12-25 21:53:31 +01:00
Martin Zimmermann
d6602b7fe4
Merge branch 'pr/143'
2014-12-25 21:28:26 +01:00
Martin Zimmermann
7f5ff457c1
integrate swedish translation into Isso
2014-12-25 21:28:15 +01:00
Martin Zimmermann
b45f39e662
resolve when comment is in moderation queue, too
2014-12-25 21:08:10 +01:00
Théo Zimmermann
bba91b3f93
don't lose comment if it failed to create
2014-12-19 15:19:55 +01:00
Gustav Näslund
da47dbd374
Added swedish translation file
2014-12-13 14:29:40 +01:00
Martin Zimmermann
4b97684e22
fix editing when avatars are disabled
2014-11-26 00:06:54 +01:00
Martin Zimmermann
89d6ea076b
add --empty-id flag to import weird Disqus exports, fixes #135
2014-11-25 22:59:05 +01:00
Martin Zimmermann
928198f340
update translations
2014-11-16 14:27:42 +01:00
Théo Zimmermann
97015d4034
correct order by in sql request
2014-11-13 13:56:40 +01:00
Martin Zimmermann
4b64615f92
set encoding to UTF-8 for Disqus and WordPress import, also fixes #93
2014-11-12 22:34:07 +01:00
Martin Zimmermann
f0a0f40223
add fallback localStorage implementation if not functional, #134
2014-11-09 22:13:26 +01:00
Martin Zimmermann
d469324392
fix 'undefined name 'buffer'' on Python 3.x
2014-11-09 21:17:36 +01:00
Théo Zimmermann
d0a0ac39b0
bug fixed: was trying to remove an unexisting span.votes
2014-10-17 09:24:53 +02:00
Martin Zimmermann
74363d44ba
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/core.py
setup.py
2014-10-08 18:06:56 +02:00
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.
2014-10-07 12:09:41 +02:00
Martin Zimmermann
9c2a48b388
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
setup.py
2014-09-25 13:39:47 +02:00
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).
2014-09-25 13:35:39 +02:00
Martin Zimmermann
721e87a843
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
docs/docs/configuration/client.rst
setup.py
2014-08-18 13:09:24 +02:00
Martin Zimmermann
c712d196d7
add option to hide voting feature, closes #115
2014-08-18 12:32:16 +02:00
Martin Zimmermann
d21aed83f8
save name, email and website in localStorage, closes #119
2014-08-11 12:48:55 +02:00
Martin Zimmermann
d9098b83f0
use different identifiers to avoid mixin events
2014-08-11 12:48:05 +02:00
Martin Zimmermann
c8acd461d3
do not export email field
2014-08-11 10:39:07 +02:00
Martin Zimmermann
f7e51fd03d
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/core.py
setup.py
2014-08-10 12:09:11 +02:00
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
2014-08-10 11:33:45 +02:00
Martin Zimmermann
0f1b95a125
add log to file option, closes #103
2014-08-10 10:55:25 +02:00
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>.
2014-08-09 21:01:56 +02:00
Martin Zimmermann
4a8cbcd8f0
limit request size, closes #107
2014-08-09 20:55:02 +02:00
Martin Zimmermann
7008e88314
prevent insertion, closes #112
2014-08-09 20:28:54 +02:00
Martin Zimmermann
7701dafa13
remove old Markup.js module
2014-07-23 19:06:41 +02:00
Martin Zimmermann
57d4380106
fix french 'date-now'
2014-07-16 13:55:49 +02:00
Martin Zimmermann
f0d1958cc0
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
docs/docs/install.rst
setup.py
2014-07-13 11:26:23 +02:00
Martin Zimmermann
978d22e77e
fix wrong status code type
2014-07-09 23:23:12 +02:00
Martin Zimmermann
ce9781df51
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/core.py
isso/dispatch.py
setup.py
2014-07-09 12:37:53 +02:00
Martin Zimmermann
35acf1e17e
from __future__ import unicode_literals
2014-07-09 09:19:48 +02:00
Martin Zimmermann
ad9384e8d7
preserve HTML tags while editing comments
2014-07-06 19:29:42 +02:00
Martin Zimmermann
0c8ec38dda
don't scrollIntoView on expanding comments
...
A regression introduced in 94ee6a69
2014-07-06 19:13:58 +02:00
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
.
2014-07-06 18:39:59 +02:00
Martin Zimmermann
b2b6af24d6
fix clode block generation
...
added fenced code blocks to default extension list
2014-07-06 18:34:06 +02:00
Martin Zimmermann
d386590e57
Merge branch 'legacy/0.9'
2014-06-25 14:35:03 +02:00
Martin Zimmermann
fbb55bf38a
add esperanto translation
2014-06-25 14:31:34 +02:00
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.
2014-06-23 18:03:46 +02:00
Martin Zimmermann
f489ae63d6
Python3.4 now uses system's CA to connect to SMTP via TLS
2014-06-16 19:34:59 +02:00
Martin Zimmermann
396eccfa00
fix error message
2014-06-15 17:04:52 +02:00
Martin Zimmermann
4c697c50fd
reuse environment variable
2014-06-15 16:53:33 +02:00
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
2014-06-15 13:54:42 +00:00
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.
2014-06-11 14:27:44 +02:00
Martin Zimmermann
91e63c7e5f
simplify import format detection
2014-06-11 10:31:44 +02:00
Schoewilliam
ad32243708
Fix issue #97 : Alignment problem with the submission forms fields
2014-05-29 15:52:07 +02:00
Martin Zimmermann
d2644c3ba3
increase Copyright year
2014-05-29 14:16:31 +02:00
Martin Zimmermann
a741c62cd6
use python-passlib fallback on Debian
2014-05-29 13:12:35 +02:00
Martin Zimmermann
211f637569
remove Django's PBKDF2 in favour of werkzeug.security.pbkdf2_hex
2014-05-29 12:38:46 +02:00
Martin Zimmermann
64054ec029
remove unused code, fix pyflakes and jshint hints
2014-05-28 11:05:10 +02:00
Martin Zimmermann
94ee6a6981
use el.on("click") to load more comments and prevent default
2014-05-27 23:18:14 +02:00
Martin Zimmermann
d0a50c7905
fix french translation
2014-05-27 22:41:37 +02:00
Martin Zimmermann
2d37637019
add fr and de translation for postbox-website, fix french translation
2014-05-27 22:32:49 +02:00
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 }}.
2014-05-27 22:03:20 +02:00
Martin Zimmermann
8b5462ed2e
remove /check-ip
2014-05-27 17:36:03 +02:00
Martin Zimmermann
5d3f178fca
remove debug statement
2014-05-27 16:27:42 +02:00
Martin Zimmermann
e00ef92a67
remove now unused parent-hightlight rule
2014-05-27 16:27:02 +02:00
Martin Zimmermann
96620e8cd0
rename .postbox to .isso-postbox
2014-05-27 16:26:05 +02:00
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 .
2014-05-27 16:17:11 +02:00
Martin Zimmermann
8fefe3a616
fix hidden reply to deleted comment (and change a few names)
2014-05-27 16:10:15 +02:00
Martin Zimmermann
6bfd1344ba
Merge branch 'remove-avatar-preview'
2014-05-27 14:52:40 +02:00
Martin Zimmermann
e1b4ddb123
remove sha1.js and pbkdf2.js, part of #51
2014-05-27 14:35:29 +02:00
Martin Zimmermann
14fac577df
fix syntax
2014-05-27 14:27:35 +02:00
Martin Zimmermann
16663d44f8
hide avatar during editing
2014-05-27 14:27:19 +02:00
Martin Zimmermann
0211322915
remove avatar preview in postbox
2014-05-27 13:56:03 +02:00
Martin Zimmermann
7474be12f0
Merge branch 'add-website-field'
2014-05-27 13:44:45 +02:00
Martin Zimmermann
77d40a99eb
border-radius only for first and last input
2014-05-27 13:42:07 +02:00
Martin Zimmermann
065460d78a
add tests for website validation
2014-05-27 13:33:29 +02:00
Martin Zimmermann
5b0ce6471a
add website input
2014-05-27 13:33:16 +02:00
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`.
2014-05-27 12:18:40 +02:00
Martin Zimmermann
b60dbd3e42
remove old template 'struct'
2014-05-26 15:50:45 +02:00
Martin Zimmermann
608119e8ce
add r.js build optimization for jade plugin
2014-05-26 15:47:09 +02:00
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/
2014-05-25 23:46:26 +02:00
Martin Zimmermann
7c3bd52821
stub requirejs-text to save ~5kb
2014-05-25 14:59:09 +02:00
Martin Zimmermann
fcc4cd63b4
fix #93
2014-05-24 10:34:46 +02:00
Schoewilliam
dd14bb91db
#49 : Comments thread and submission form now support data-isso-avatar="false"
2014-05-22 20:06:31 +04:00
Martin Zimmermann
4f98bca202
hide avatars with data-isso-avatar="false", part of #49
2014-05-21 20:38:29 +02:00
Schoewilliam
34a50910f2
Tweaking the submission form — making it responsive
2014-05-21 21:26:21 +04:00
Schoewilliam
c2dd9d3bb5
getting rid of SCSS
2014-05-21 18:19:11 +04:00
Martin Zimmermann
fb182ae93f
Merge branch 'pr-83', closes #83
2014-05-17 11:07:51 +02:00
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.
2014-05-15 10:59:39 +02:00
Martin Zimmermann
5c91a84951
fix uWSGI spooling for Python3
2014-05-15 10:41:33 +02:00
Martin Zimmermann
d5e5e9c7e2
use numerical values in default configuration to match user-provided values
2014-05-03 12:00:46 +02:00
Martin Zimmermann
ed810cdf39
fetch all nested comments when set to 'inf'
2014-05-03 12:00:17 +02:00
Martin Zimmermann
324326c2ba
translate Hidden to german and french
2014-05-03 11:58:09 +02:00
Martin Zimmermann
f3a7f65687
remove keyworded function arguments and fix JS hints
2014-05-03 11:23:15 +02:00
Martin Zimmermann
59bfde7c03
idiomatic python
...
* make "process_fetched_list" private
* rename fetch_args to args
* a few logic simplifications
2014-05-03 11:23:12 +02:00
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
2014-05-03 00:16:54 +02:00
Srijan Choudhary
26d26ae71b
Add i18n for "Hidden"
2014-05-03 01:37:28 +05:30
Srijan Choudhary
8879db59b8
Show all comments if limit/nested_limit set as inf
2014-05-03 01:17:11 +05:30
Srijan Choudhary
baef73f1e8
Change default values of config params
2014-05-03 01:16:47 +05:30
Srijan Choudhary
ab927e39d0
Add a reveal on click parameter
2014-05-03 01:16:03 +05:30
Srijan Choudhary
2e2fba89a6
Add some tests
2014-05-03 01:14:33 +05:30
Srijan Choudhary
abc0eaaf1d
Handle limit/nested_limit zero
...
This returns zero comments now
2014-05-03 01:14:23 +05:30
Martin Zimmermann
346b60a9b3
disqus import imports anonymized IP address now
2014-05-02 11:43:13 +02:00
Martin Zimmermann
39101c2ac7
Disqus import uses Progressbar class as well
2014-05-02 11:40:16 +02:00
Martin Zimmermann
12f8af8434
add initial support to import WordPress comments
2014-04-30 18:57:17 +02:00
Martin Zimmermann
0154113c80
replace assert with assertEqual
2014-04-30 15:24:58 +02:00
Martin Zimmermann
910da2a6c0
refactor disqus migration code into a class
2014-04-30 15:07:11 +02:00
Srijan Choudhary
54b156844b
Add max-comments limit for nested replies
2014-04-27 11:44:18 +05:30
Srijan Choudhary
f5da45e525
Correct total comments count
2014-04-26 22:54:55 +05:30
Srijan Choudhary
76d5dbc97f
Take max comments to load from config.js
2014-04-25 01:07:40 +05:30
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
2014-04-25 00:09:48 +05:30
Srijan Choudhary
a5d8a0cfe1
Change in API: hidden_replies field instead of passed_replies
2014-04-25 00:09:48 +05:30
Srijan Choudhary
3c3e83b05c
Bug in API: Reply count should also filter by the after value passed
2014-04-25 00:09:48 +05:30
Srijan Choudhary
8fdceeaafb
Handle edge cases occuring in tests
2014-04-25 00:09:48 +05:30
Srijan Choudhary
71024cea70
API update - new comments format
2014-04-25 00:09:48 +05:30
Martin Zimmermann
a753efe42d
add doctype and charset
2014-04-24 17:38:53 +02:00
Srijan Choudhary
cb0acc5ac0
Add a basic demo page
2014-04-24 01:22:30 +05:30
Martin Zimmermann
b9102b44e2
fix russian translation for "Anonymous"
2014-04-23 10:23:55 +02:00
Martin Zimmermann
344f94e5a0
rm forward (reference) arrow
2014-04-21 10:27:37 +02:00
Martin Zimmermann
1e5878bec3
auto-correct wrong/invalid parent to max nesting level of 1
2014-04-21 10:23:45 +02:00