Benoît Latinier
c14f639e75
add: CONTRIBUTORS update
2018-04-25 22:24:05 +02:00
Benoît Latinier
ad6e868ba5
Merge pull request #416 from vincentbernat/feature/preview
...
js: add a preview button to see a rendered preview
2018-04-25 22:23:06 +02:00
Benoît Latinier
dc6157897f
Merge pull request #423 from posativ/fix-tests
...
fix tests due to non predictive html rendering
2018-04-25 21:58:19 +02:00
Benoît Latinier
3d648c2d29
fix tests due to non predictive html rendering
2018-04-25 21:24:27 +02:00
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".
2018-04-25 08:17:17 +02:00
Benoît Latinier
55dac39bdd
Merge pull request #418 from vincentbernat/feature/nofollow-links
...
html: add nofollow/noopener to links
2018-04-24 23:28:53 +02:00
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
2018-04-24 21:56:09 +02:00
Vincent Bernat
01cf96eeb7
feed: ensure Markdown rendering is applied to feeds
2018-04-23 11:37:14 +02:00
Benoît Latinier
502747cb75
Merge pull request #411 from Rocket1184/hotfix/demo-and-admin-redirect
...
fix: admin and demo view redirect issue
2018-04-22 21:35:24 +02:00
Benoît Latinier
bb924ead86
Merge pull request #417 from vincentbernat/fix/css-cleanup
...
css: remove CSS code for avatar in postbox
2018-04-22 21:00:33 +02:00
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.
2018-04-22 16:55:06 +02:00
Vincent Bernat
bceb69518b
js: put a link to Atom feed on top of the main postbox
2018-04-22 13:31:11 +02:00
Vincent Bernat
a89debbc9c
api: add a simple test for /feed endpoint
2018-04-22 13:11:58 +02:00
Vincent Bernat
5c6e78b9c1
api: ensure /feed is easily cacheable by issuing etag/last-modified headers
2018-04-22 13:11:58 +02:00
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
2018-04-22 13:11:58 +02:00
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
2018-04-21 14:30:02 +02:00
Vincent Bernat
fcf576dd08
css: remove CSS code for avatar in postbox
...
It has been removed in 0211322915
.
2018-04-20 21:50:08 +02:00
Benoît Latinier
07ce742b77
add documentation for uberspaces users ( closes #409 )
2018-04-18 10:51:17 +02:00
Benoît Latinier
93ea722992
add contributors
2018-04-17 23:47:06 +02:00
Benoît Latinier
e285c91112
Merge pull request #412 from vincentbernat/feature/dockerfile
...
Provide a multi-staged Dockerfile
2018-04-17 23:03:47 +02:00
Benoît Latinier
47b14ab0c8
Merge pull request #413 from vincentbernat/fix/doc-isso-id
...
docs: document data-isso-id
2018-04-17 09:31:27 +02:00
Vincent Bernat
30f0c7eeb8
docs: document data-isso-id
2018-04-17 07:40:52 +02:00
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.
2018-04-16 22:09:28 +02:00
Rocka
30fef390f5
fix: admin and demo view redirect issue
2018-04-05 23:10:46 +08:00
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
2018-04-05 17:03:08 +02:00
Rocka
4e2d2dfb20
i18n: add space between number and CJK character
2018-04-05 22:46:17 +08:00
Yuchen Pei
73c7933548
A quick dirty fix of #401 ( #406 )
...
Fix URL in moderation mails if isso runs in a sub-URL (closes #401 )
2018-04-02 23:02:45 +02:00
Cimon Lucas (LCM)
361c596bf2
Adding support for ISSO_CORS_ORIGIN env variable to allow defining wildcard CORS origins
2018-04-02 09:40:34 +02:00
Jelmer Vernooij
af3903e462
Merge pull request #399 from facundobatista/patch-1
...
Small typo fix.
2018-03-21 23:36:35 +00:00
Facundo Batista
28e154acfc
Small typo
2018-03-21 19:39:02 -03:00
Benoît Latinier
450291440f
update doc
2018-02-17 00:00:15 +01:00
Benoît Latinier
0ff39017c6
drop wheezy testing which is EndOfLife ( closes #385 )
2018-02-08 22:57:29 +01:00
cclauss
7f55c81e08
autopep8 the code and then flake8
2018-02-08 22:46:14 +01:00
Benoît Latinier
a68d392f9c
add changes in CHANGES file to prepare release
2018-02-08 22:38:02 +01:00
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
2018-01-31 12:42:41 +00:00
cclauss
343f24377f
Return to pyflakes
2018-01-31 07:23:54 +01:00
Martin Schenck
6ccebce041
Improved German translation
2018-01-28 19:52:46 +01:00
cclauss
b569b19a7f
compat.py passes pyflakes test
...
Drop support for Python 2.6 and 3.3
2018-01-25 15:03:12 +01:00
Benoît Latinier
2b56963f31
fix pyflakes error, make travis happy
2018-01-20 23:03:08 +01:00
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.
2017-11-27 22:55:53 +01:00
Jelmer Vernooij
ea3507910f
Merge pull request #354 from mpchadwick/feature/comment-placeholder-color
...
Darken placeholder text
2017-11-22 22:11:56 +00:00
Jelmer Vernooij
42bbe174cd
Merge pull request #357 from mpchadwick/feature/hu-order
...
Put hu into correct alphabetical order
2017-11-22 12:09:52 +00:00
Max Chadwick
3efe0c86d9
Put hu into correct alphabetical order
2017-11-21 21:34:06 -05:00
Jelmer Vernooij
0232051d1d
Merge pull request #355 from mpchadwick/fix/hu-translation
...
Fix hungarian translation
2017-11-22 02:01:34 +00:00
Max Chadwick
9ab23c0908
Fix hungarian translation
2017-11-21 20:50:14 -05:00
Max Chadwick
21983a61b6
Darken placeholder text
...
Previously color contrast was insufficient per WCAG AA
2017-11-20 22:15:09 -05:00
Jelmer Vernooij
b7526ecab1
Merge pull request #350 from guthypeter/master
...
Added hungarian translation
2017-10-31 18:25:06 +00:00
Peter Guthy
02eaffea21
Added hungarian translation
2017-10-31 13:47:49 +01:00
Martin Zimmermann
650c6cf126
Merge pull request #341 from macedigital/fix-identicon-hash-size
...
Fix: Truncate key-length when generating identicons
2017-08-17 11:27:59 +02:00
Martin Zimmermann
6a60f831b0
remove unused variable
2017-08-17 10:42:36 +02:00