]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
VirtualTam [Sun, 22 Oct 2017 12:08:05 +0000 (14:08 +0200)]
Documentation: add reverse proxy examples for Docker images
Closes https://github.com/shaarli/Shaarli/issues/888
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 21 Oct 2017 16:00:08 +0000 (18:00 +0200)]
Merge pull request #846 from virtualtam/docker/alpine
Docker: switch to Alpine Linux
VirtualTam [Tue, 17 Oct 2017 20:39:29 +0000 (22:39 +0200)]
Merge pull request #996 from virtualtam/fix/user-css
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
VirtualTam [Mon, 16 Oct 2017 17:39:16 +0000 (19:39 +0200)]
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
Relates to https://github.com/shaarli/Shaarli/issues/872
Relates to https://github.com/shaarli/Shaarli/issues/993
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 16 Oct 2017 17:38:33 +0000 (19:38 +0200)]
EditorConfig: add .htaccess support
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 16 Oct 2017 17:18:29 +0000 (19:18 +0200)]
Merge pull request #995 from virtualtam/lint/editorconfig
Add EditorConfig configuration
VirtualTam [Wed, 11 Oct 2017 19:35:17 +0000 (21:35 +0200)]
Add EditorConfig configuration
EditorConfig allows specifying indentation, line feed and encoding
properties according to the type of file being edited.
Most editors support it out-of-the-box, or can benefit from it through a
plugin.
See:
- http://editorconfig.org/
- https://github.com/editorconfig/editorconfig
- https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 8 Oct 2017 14:35:57 +0000 (16:35 +0200)]
Merge pull request #992 from ArthurHoaro/feature/import-history
Don't write History for link import
VirtualTam [Sun, 8 Oct 2017 14:35:33 +0000 (16:35 +0200)]
Merge pull request #990 from danieljakots/master
Fix link in Upgrade-and-migration.md
ArthurHoaro [Sat, 7 Oct 2017 14:40:16 +0000 (16:40 +0200)]
Don't write History for link import
With large imports it has a large impact on performances and isn't really useful.
Instead, write an IMPORT event, which let client using the history service resync its DB.
-> 15k link import done in 6 seconds.
Fixes #985
Daniel Jakots [Sat, 7 Oct 2017 13:35:40 +0000 (09:35 -0400)]
Fix link in Upgrade-and-migration.md
ArthurHoaro [Sat, 7 Oct 2017 10:27:50 +0000 (12:27 +0200)]
Badge version
ArthurHoaro [Sat, 7 Oct 2017 10:12:34 +0000 (12:12 +0200)]
Merge pull request #988 from ArthurHoaro/changelog-0.9.2
Changelog 0.9.2 + AUTHORS
ArthurHoaro [Sat, 7 Oct 2017 10:06:29 +0000 (12:06 +0200)]
Update AUTHORS
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
ArthurHoaro [Sat, 7 Oct 2017 10:05:07 +0000 (12:05 +0200)]
Changelog v0.9.2
ArthurHoaro [Sat, 7 Oct 2017 09:33:20 +0000 (11:33 +0200)]
Merge pull request #987 from ArthurHoaro/hotfix/security-issue
Fix security issue reported by @chb9
ArthurHoaro [Sat, 7 Oct 2017 09:27:44 +0000 (11:27 +0200)]
Fix security issue reported by @chbi
Vulnerability introduced by
6ccd0b218fbd34de750f55b78f3dc43bb3d9fa8e - release with Shaarli v0.9.1.
VirtualTam [Fri, 6 Oct 2017 12:32:07 +0000 (14:32 +0200)]
Merge pull request #979 from ArthurHoaro/feature/assets-cache-version
Add a version hash for asset loading to prevent browser's cache issue
VirtualTam [Fri, 6 Oct 2017 12:31:16 +0000 (14:31 +0200)]
Merge pull request #980 from ArthurHoaro/hotfix/textarea-resize-jumpy
Fix jumpy textarea with long content in post edit
VirtualTam [Fri, 6 Oct 2017 12:30:18 +0000 (14:30 +0200)]
Merge pull request #983 from bvberkum/pullrequest/shaarli-docker-quickstart
Docker quickstart
B. van Berkum [Thu, 5 Oct 2017 22:25:50 +0000 (00:25 +0200)]
Minor docker-101 doc updates, typos fixed #983
VirtualTam [Tue, 3 Oct 2017 18:07:46 +0000 (20:07 +0200)]
docker: rename resources for the stable image
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 9 Apr 2017 12:50:13 +0000 (14:50 +0200)]
docker: switch to Alpine Linux for the master image
Relates to https://github.com/shaarli/Shaarli/issues/843
Changed:
- switch base image from Debian:Jessie to Alpine:3.6
- switch to PHP 7.1
- switch from supervisord to s6 to manage services
See:
- https://alpinelinux.org/
- https://wiki.alpinelinux.org/wiki/Nginx_with_PHP
- http://www.skarnet.org/software/s6/
- http://www.skarnet.org/software/s6/s6-svscan.html
- http://www.skarnet.org/software/s6/s6-svc.html
- http://www.skarnet.org/software/s6/s6-svstat.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 3 Oct 2017 17:26:48 +0000 (19:26 +0200)]
Merge pull request #981 from mark-gerarts/default-note-title
Allow setting of a default note title, see #963
B. van Berkum [Mon, 2 Oct 2017 23:03:27 +0000 (01:03 +0200)]
Docker quickstart: one more grammar mistake. Made it a bit more terse.
B. van Berkum [Mon, 2 Oct 2017 22:57:46 +0000 (00:57 +0200)]
Docker-101: added working systemd config example
B. van Berkum [Mon, 2 Oct 2017 22:33:39 +0000 (00:33 +0200)]
Typo's, unified structure a bit.
- Fixes inevitable typo that crept in.
- Removed some blank lines, newlines, to match established whitespace use better.
- Minor grammar improvement.
B. van Berkum [Mon, 2 Oct 2017 22:24:23 +0000 (00:24 +0200)]
Docker 101: container start and cleanup
B. van Berkum [Mon, 2 Oct 2017 22:23:34 +0000 (00:23 +0200)]
Added docker quickstart example, with user-data volume
Mark Gerarts [Sun, 1 Oct 2017 12:19:57 +0000 (14:19 +0200)]
Allow setting of a default note title, see #963
ArthurHoaro [Sun, 1 Oct 2017 09:49:17 +0000 (11:49 +0200)]
Fix jumpy textarea with long content in post edit
We manually reset the scroll position, to avoid height = 'auto' jump to the top
Fixes #971
ArthurHoaro [Sun, 1 Oct 2017 09:09:12 +0000 (11:09 +0200)]
Rename shaarli_version constant to uppercase
ArthurHoaro [Sun, 1 Oct 2017 09:02:48 +0000 (11:02 +0200)]
Add a version hash for asset loading to prevent browser's cache issue
The hash is generated using the same salt as the one used for credentials (1 salt per instance) in order to avoid exposing the instance version.
Fixes #965
ArthurHoaro [Sat, 30 Sep 2017 12:25:53 +0000 (14:25 +0200)]
Merge pull request #976 from ArthurHoaro/hotfix/url-parentheses
Fix parsing for description links with parentheses
VirtualTam [Sat, 30 Sep 2017 08:56:56 +0000 (10:56 +0200)]
Merge pull request #975 from virtualtam/robustness
Improve robustness for zlib and file operations
ArthurHoaro [Fri, 29 Sep 2017 16:52:38 +0000 (18:52 +0200)]
Fix parsing for description links with parentheses
With markdown plugin disabled
relates to #966
ArthurHoaro [Fri, 29 Sep 2017 16:38:02 +0000 (18:38 +0200)]
Merge pull request #947 from thewilli/wildcardsearch
wildcard tag search support
VirtualTam [Tue, 19 Sep 2017 20:08:29 +0000 (22:08 +0200)]
Robustness: safer gzinflate/zlib usage
Relates to https://github.com/shaarli/Shaarli/pull/846
PHP's `gzinflate()` fails with an error when being passed an empty string
See:
- https://bugs.php.net/bug.php?id=71395
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 19 Sep 2017 18:21:28 +0000 (20:21 +0200)]
Robustness: safer RainTPL directory handling
Relates to https://github.com/shaarli/Shaarli/issues/845
Relates to https://github.com/shaarli/Shaarli/issues/846
Relates to https://github.com/shaarli/Shaarli/pull/909
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 19 Sep 2017 17:22:33 +0000 (19:22 +0200)]
Merge pull request #972 from virtualtam/travis/trusty
Travis: switch to Ubuntu Trusty build environment
VirtualTam [Tue, 19 Sep 2017 17:17:16 +0000 (19:17 +0200)]
Tests: update localization tests
Rely on `mag_IN` (Magahi - INDIA) being unavailable when running localization
test suites, instead of `pt_BR` that is now available from Travis build images.
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 19 Sep 2017 16:36:41 +0000 (18:36 +0200)]
Travis: switch to Ubuntu Trusty build environment
Relates to https://github.com/shaarli/Shaarli/issues/970
Relates to https://github.com/shaarli/Shaarli/pull/912
See:
- https://docs.travis-ci.com/user/reference/trusty/
- https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
Added:
- print available locales before running tests
Removed:
- do not install extra language packs
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 19 Sep 2017 16:18:35 +0000 (18:18 +0200)]
Merge pull request #909 from virtualtam/docker/test-environments
docker: add alpine,debian,ubuntu test images
VirtualTam [Mon, 18 Sep 2017 19:25:02 +0000 (21:25 +0200)]
Merge pull request #961 from thewilli/private-shaarli-login-redirect
added option to redirect all anonymous users to login page
VirtualTam [Tue, 30 May 2017 21:45:17 +0000 (23:45 +0200)]
docker: add alpine,debian,ubuntu test images
Relates to https://github.com/shaarli/Shaarli/issues/843
Added:
- Makefile target to run commands in a Docker test context
- Docker images to run Shaarli test suites:
- Alpine 3.6
- Debian 8
- Debian 9
- Ubuntu 16.04
- Documentation
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
nodiscc [Mon, 4 Sep 2017 20:36:21 +0000 (22:36 +0200)]
visited links color: same hue as unvisited links, darkened
Related to https://github.com/shaarli/Shaarli/issues/877
Plain grey links would lead to think that the link is somehow disabled/inaccessible/private
This slightly improves clarity/usability
Willi Eggeling [Wed, 30 Aug 2017 22:39:15 +0000 (00:39 +0200)]
added option to redirect all anonymous users to login page
- new setting *force_login* added and documented
- if both, *force_login* and *hide_public_links* are set to true, all requests
(except for the feeds) are redirected to the login page
ArthurHoaro [Sat, 2 Sep 2017 11:54:38 +0000 (13:54 +0200)]
Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-title
Firefox Social title: Use document.title instead of RainTPL variable
ArthurHoaro [Sat, 2 Sep 2017 11:50:03 +0000 (13:50 +0200)]
Firefox Social title: Use document.title instead of RainTPL variable
Fixes #929
ArthurHoaro [Fri, 25 Aug 2017 17:47:57 +0000 (19:47 +0200)]
Make work behind a reverse proxy
Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
VirtualTam [Sat, 2 Sep 2017 11:00:45 +0000 (13:00 +0200)]
Merge pull request #956 from virtualtam/fix/make-authors
Documentation+Makefile: update AUTHORS generation
ArthurHoaro [Fri, 1 Sep 2017 16:25:44 +0000 (18:25 +0200)]
Merge pull request #950 from thewilli/delete-fix
fixed link deletion
ArthurHoaro [Fri, 1 Sep 2017 16:25:09 +0000 (18:25 +0200)]
Merge pull request #951 from thewilli/fix-daily
fixed daily links if there are no links
Willi Eggeling [Sat, 26 Aug 2017 21:05:02 +0000 (23:05 +0200)]
wildcard tag search support
- when searching for tags you can now include '*' as wildcard placeholder
- new search reduces overall overhead when filtering for tags
- fixed combination with description tag search ('#' prefix)
- tests added
Willi Eggeling [Sun, 27 Aug 2017 17:19:59 +0000 (19:19 +0200)]
fixed link deletion
When deleting links, the js of the default theme separated ids by an escaped space ('+').
There was a trailing '+' after the ids which led to the php code detecting multiple values
even for single values. In combination with the id '0' this could led to no id found at all
and a resulting php error.
this commit fixes the behavior and adds an additional error handling and trimming to the php code.
Willi Eggeling [Sun, 27 Aug 2017 17:36:48 +0000 (19:36 +0200)]
fixed daily links if there are no links
- the previous code tried to use links from a previous day if there are no one for the current one
- the new code skips this part if there are no entries (i.e. days) at all
- modified showDaily() to fit PSR-1 and PSR-2
VirtualTam [Tue, 29 Aug 2017 17:46:23 +0000 (19:46 +0200)]
Documentation+Makefile: update AUTHORS generation
Fixes https://github.com/shaarli/Shaarli/issues/935
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 27 Aug 2017 14:36:53 +0000 (16:36 +0200)]
Merge pull request #944 from thewilli/configure-rememberme
new setting: default value for 'remember me' checkbox
Willi Eggeling [Sat, 26 Aug 2017 07:27:10 +0000 (09:27 +0200)]
new setting: default value for 'remember me' checkbox
- the default state for the login page's 'remember me' checkbox can now be configured
- adapted the default and vintage theme to consider the new setting
- added documentation for the new setting
VirtualTam [Sun, 27 Aug 2017 11:15:43 +0000 (13:15 +0200)]
Merge pull request #940 from ArthurHoaro/hotfix/empty-urls
Generates a permalink URL if the URL is set to blank
VirtualTam [Sun, 27 Aug 2017 11:12:58 +0000 (13:12 +0200)]
Merge pull request #942 from thewilli/fix-wiki-links
migrated Github wiki links to readthedocs
VirtualTam [Sun, 27 Aug 2017 11:10:05 +0000 (13:10 +0200)]
Merge pull request #946 from thewilli/clean
small code cleanup
Willi Eggeling [Sat, 26 Aug 2017 10:20:38 +0000 (12:20 +0200)]
code clean: cookie expiration
- unified code style (spaces around operators)
- prevented expiration time to be calculated twice
- replaced tabs with spaces
Willi Eggeling [Sat, 26 Aug 2017 09:27:18 +0000 (11:27 +0200)]
removed doc and code references to magic quotes
- removed all references to magic quotes
- magic quotes are not supported on PHP >= 5.4 (https://secure.php.net/manual/en/security.magicquotes.php)
- Shaarli does not support PHP < 5.5
Willi Eggeling [Sat, 26 Aug 2017 07:40:57 +0000 (09:40 +0200)]
migrated Github wiki links to readthedocs
ArthurHoaro [Fri, 25 Aug 2017 18:08:07 +0000 (20:08 +0200)]
Generates a permalinks URL if the URL is set to blank
Fixes #926
ArthurHoaro [Fri, 25 Aug 2017 17:58:32 +0000 (19:58 +0200)]
Merge pull request #938 from ArthurHoaro/hotfix/tagcloud-order
Sort tag cloud in alphabetical order
ArthurHoaro [Fri, 25 Aug 2017 17:25:00 +0000 (19:25 +0200)]
Sort tag cloud in alphabetical order
Fixes #932
ArthurHoaro [Fri, 25 Aug 2017 17:15:24 +0000 (19:15 +0200)]
Merge pull request #934 from thewilli/fix-note-bookmarklet
fixed note bookmarklet
Willi Eggeling [Thu, 24 Aug 2017 08:20:32 +0000 (10:20 +0200)]
fixed note bookmarklet
- the double quotes used in the alert() call of the note bookmarklet in the default template collided with the ones of the href tag
- replaced the double quotes with single ones (just like the link bookmarklet)
VirtualTam [Tue, 22 Aug 2017 23:35:10 +0000 (01:35 +0200)]
Merge pull request #928 from virtualtam/documentation/v0.9.1
documentation: update installation instructions for 0.9.1
VirtualTam [Tue, 22 Aug 2017 23:22:07 +0000 (01:22 +0200)]
documentation: update installation instructions for 0.9.1
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 22 Aug 2017 23:07:28 +0000 (01:07 +0200)]
Merge pull request #927 from virtualtam/changelog
Update Changelog for 0.9.1
VirtualTam [Tue, 22 Aug 2017 23:01:58 +0000 (01:01 +0200)]
Update CHANGELOG.md for 0.9.1
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 22 Aug 2017 22:57:50 +0000 (00:57 +0200)]
documentation: fix list formatting
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Sat, 19 Aug 2017 15:57:29 +0000 (17:57 +0200)]
Merge pull request #925 from ArthurHoaro/theme/remove-2nd-sort-by
Remove the 2nd green 'sort by' row in link list
ArthurHoaro [Sat, 19 Aug 2017 15:57:21 +0000 (17:57 +0200)]
Merge pull request #924 from ArthurHoaro/feature/hide-list-search
Hide the search link if no tag has been searched in tag list
ArthurHoaro [Sat, 19 Aug 2017 15:52:28 +0000 (17:52 +0200)]
Merge pull request #923 from ArthurHoaro/hotfix/untagged
Fix untagged only button
ArthurHoaro [Sat, 19 Aug 2017 15:51:06 +0000 (17:51 +0200)]
Remove the 2nd green 'sort by' row in link list
It isn't really useful and doesn't look good if there isn't enough tags
ArthurHoaro [Sat, 19 Aug 2017 15:49:11 +0000 (17:49 +0200)]
Hide the search link if no tag has been searched in tag list
ArthurHoaro [Sat, 19 Aug 2017 15:41:56 +0000 (17:41 +0200)]
Fix untagged only button
VirtualTam [Tue, 8 Aug 2017 20:21:54 +0000 (22:21 +0200)]
Merge pull request #920 from virtualtam/documentation/rest-3rd
documentation: update 3rd-party resources
VirtualTam [Tue, 8 Aug 2017 20:02:50 +0000 (22:02 +0200)]
documentation: update 3rd-party resources
Relates to https://github.com/shaarli/Shaarli/issues/915
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 7 Aug 2017 14:20:36 +0000 (16:20 +0200)]
Merge pull request #918 from Lucas-C/master
Adding missing empty() as spotted in #889 code review
Lucas Cimon [Sun, 6 Aug 2017 19:26:37 +0000 (21:26 +0200)]
Adding missing empty() as spotted in #889 code review
VirtualTam [Sun, 6 Aug 2017 14:15:32 +0000 (16:15 +0200)]
Merge pull request #917 from virtualtam/documentation/fixes+improvements
Documentation fixes, improvements and additions
VirtualTam [Sat, 5 Aug 2017 12:46:05 +0000 (14:46 +0200)]
documentation: elaborate on REST API server & client prerequisites
Relates to https://github.com/shaarli/Shaarli/issues/903
Relates to https://github.com/shaarli/Shaarli/issues/905
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 12:33:07 +0000 (14:33 +0200)]
documentation: remove obsolete doc release instructions
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 12:30:43 +0000 (14:30 +0200)]
documentation: add links to example REST API clients
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 12:15:59 +0000 (14:15 +0200)]
documentation: rewrite the REST API PHP client example
Closes https://github.com/shaarli/Shaarli/issues/905
Relates to https://github.com/shaarli/Shaarli/pull/751
See https://shaarli.github.io/api-documentation/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 10:08:09 +0000 (12:08 +0200)]
documentation: update release download and usage information
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 10:05:10 +0000 (12:05 +0200)]
documentation: remove duplicate "Coding guidelines" page
The information is already present under "Static analysis"
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 09:56:24 +0000 (11:56 +0200)]
documentation: fix rendering and internal references
This is mainly cleanup after switching from Github-flavoured Markdown
rendered by Github Pages, to standard Markdown rendered by MkDocs.
Changed:
- rephrase some section titles
Fixed:
- list rendering (items, sub-items))
- code rendering
- quotes
- dead links
Removed:
- extraneous navigational elements
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Sat, 5 Aug 2017 09:09:13 +0000 (11:09 +0200)]
Merge pull request #916 from ArthurHoaro/hotfix/fix-composer-php-version
Fix PHP version configuration in composer.json
ArthurHoaro [Sat, 5 Aug 2017 08:59:39 +0000 (10:59 +0200)]
Fix PHP version configuration in composer.json
Without this setting, composer would download dependencies depending on the PHP version installed on the system.
E.G. I was getting doctrine/instantiator 1.1, which requires at least PHP 7.1.
VirtualTam [Sat, 5 Aug 2017 08:40:35 +0000 (10:40 +0200)]
Merge pull request #910 from virtualtam/documentation/improvements
Include generated doc in release archives, remove HTML from SCM
ArthurHoaro [Sat, 5 Aug 2017 07:59:03 +0000 (09:59 +0200)]
Merge pull request #887 from ArthurHoaro/hotfix/dash-tag-rename
Make sure that the tag exists before altering/removing it
ArthurHoaro [Fri, 4 Aug 2017 17:10:00 +0000 (19:10 +0200)]
Move tag renaming code to LinkDB and unit test it
VirtualTam [Thu, 3 Aug 2017 14:27:59 +0000 (16:27 +0200)]
Merge pull request #889 from Lucas-C/master
Using only one form in linklist.html - fix #885
VirtualTam [Wed, 2 Aug 2017 12:58:35 +0000 (14:58 +0200)]
Merge pull request #913 from virtualtam/fix/readme
readme: fix logo uri