]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
7 years agoUpdate LinkFilter to be able to filter only public links 768/head
ArthurHoaro [Mon, 16 Jan 2017 12:57:11 +0000 (13:57 +0100)] 
Update LinkFilter to be able to filter only public links

No update regarding the UI or the API for now

Fixes #758

7 years agoBump version to v0.8.2 765/head
ArthurHoaro [Thu, 15 Dec 2016 10:52:31 +0000 (11:52 +0100)] 
Bump version to v0.8.2

7 years agov0.8.2 Changelog
ArthurHoaro [Thu, 15 Dec 2016 10:49:41 +0000 (11:49 +0100)] 
v0.8.2 Changelog

7 years agoMerge pull request #761 from ArthurHoaro/hotfix/referrer-warning
ArthurHoaro [Mon, 16 Jan 2017 11:40:00 +0000 (12:40 +0100)] 
Merge pull request #761 from ArthurHoaro/hotfix/referrer-warning

Prevent warning if HTTP_REFERER isn't set

7 years agoMerge pull request #760 from ArthurHoaro/plugins/addlink-css-404
ArthurHoaro [Mon, 16 Jan 2017 11:39:24 +0000 (12:39 +0100)] 
Merge pull request #760 from ArthurHoaro/plugins/addlink-css-404

Remove CSS call for addlink toolbar plugin

7 years agoMerge pull request #759 from ArthurHoaro/hotfix/dup-tags
ArthurHoaro [Mon, 16 Jan 2017 11:39:01 +0000 (12:39 +0100)] 
Merge pull request #759 from ArthurHoaro/hotfix/dup-tags

Prevent tag duplicate when renaming

7 years agoUpdate Changelog
VirtualTam [Sun, 15 Jan 2017 18:24:17 +0000 (19:24 +0100)] 
Update Changelog

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoBump expected minimal PHP version to 5.5
VirtualTam [Sun, 15 Jan 2017 18:27:57 +0000 (19:27 +0100)] 
Bump expected minimal PHP version to 5.5

Relates to https://github.com/shaarli/Shaarli/issues/599
Relates to db6b09b69ee265a7d775924fcff9c61aaaabf1cb

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoPrevent warning if HTTP_REFERER isn't set 761/head
ArthurHoaro [Sun, 15 Jan 2017 16:58:19 +0000 (17:58 +0100)] 
Prevent warning if HTTP_REFERER isn't set

Fixes #723

7 years agoRemove CSS call for addlink toolbar plugin 760/head
ArthurHoaro [Sun, 15 Jan 2017 16:50:16 +0000 (17:50 +0100)] 
Remove CSS call for addlink toolbar plugin

Fixes #724

7 years agoPrevent tag duplicate when renaming 759/head
ArthurHoaro [Sun, 15 Jan 2017 16:46:24 +0000 (17:46 +0100)] 
Prevent tag duplicate when renaming

Fixes #757

7 years agoMerge pull request #727 from ArthurHoaro/api/getlinks
ArthurHoaro [Sun, 15 Jan 2017 15:49:50 +0000 (16:49 +0100)] 
Merge pull request #727 from ArthurHoaro/api/getlinks

REST API: implement getLinks service

7 years agoMerge pull request #746 from ArthurHoaro/hotfix/delete-button
ArthurHoaro [Sun, 15 Jan 2017 13:01:47 +0000 (14:01 +0100)] 
Merge pull request #746 from ArthurHoaro/hotfix/delete-button

Fix delete button in editlink

7 years agoREST API: implement getLinks service 727/head
ArthurHoaro [Thu, 22 Dec 2016 13:36:45 +0000 (14:36 +0100)] 
REST API: implement getLinks service

See http://shaarli.github.io/api-documentation/#links-links-collection-get

7 years agoAPI: expect JWT in the Authorization header
VirtualTam [Sat, 7 Jan 2017 21:23:47 +0000 (22:23 +0100)] 
API: expect JWT in the Authorization header

Relates to https://github.com/shaarli/Shaarli/pull/731

Added:
- require the presence of the 'Authorization' header

Changed:
- use the HTTP Bearer Token authorization schema

See:
- https://jwt.io/introduction/#how-do-json-web-tokens-work-
- https://tools.ietf.org/html/rfc6750
- http://security.stackexchange.com/q/108662

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #753 from ArthurHoaro/usercss
ArthurHoaro [Sat, 14 Jan 2017 16:56:28 +0000 (17:56 +0100)] 
Merge pull request #753 from ArthurHoaro/usercss

Move user.css to data folder

7 years agoMove user.css to data folder 753/head
ArthurHoaro [Sat, 14 Jan 2017 15:43:32 +0000 (16:43 +0100)] 
Move user.css to data folder

7 years agoAdd an AUTHORS file, simplify COPYING, bump year to 2017
VirtualTam [Fri, 6 Jan 2017 17:34:36 +0000 (18:34 +0100)] 
Add an AUTHORS file, simplify COPYING, bump year to 2017

Added:
- AUTHORS file listing Shaarli contributors
- mailmap information to group a Git author's different aliases
- Makefile target to list contributors from Git commit data

Changed:
- Simplify COPYING by using a single "Shaarli Community" entry
- Bump year to 2017

See:
- man git-shortlog
- https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html#_mapping_authors

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoCleanup: use safe boolean comparisons
VirtualTam [Fri, 6 Jan 2017 17:54:29 +0000 (18:54 +0100)] 
Cleanup: use safe boolean comparisons

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoFix delete button in editlink 746/head
ArthurHoaro [Fri, 6 Jan 2017 15:08:19 +0000 (16:08 +0100)] 
Fix delete button in editlink

This one was forgotten in #682

7 years agoMerge pull request #732 from ArthurHoaro/feature/theme-manager
Arthur [Fri, 6 Jan 2017 10:40:54 +0000 (11:40 +0100)] 
Merge pull request #732 from ArthurHoaro/feature/theme-manager

Theme manager: improvements

7 years agoCleanup: explicit method visibility
VirtualTam [Thu, 5 Jan 2017 18:33:06 +0000 (19:33 +0100)] 
Cleanup: explicit method visibility

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoCleanup: remove unused variables
VirtualTam [Thu, 5 Jan 2017 18:20:41 +0000 (19:20 +0100)] 
Cleanup: remove unused variables

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoFix permalink image alignement in daily page 732/head
ArthurHoaro [Thu, 5 Jan 2017 15:15:51 +0000 (16:15 +0100)] 
Fix permalink image alignement in daily page

7 years agoUpdater: keep custom theme preference with the new theme setting
ArthurHoaro [Tue, 3 Jan 2017 11:01:25 +0000 (12:01 +0100)] 
Updater: keep custom theme preference with the new theme setting

7 years agoMinor improvements regarding #705 (coding style, unit tests, etc.)
ArthurHoaro [Tue, 3 Jan 2017 10:42:21 +0000 (11:42 +0100)] 
Minor improvements regarding #705 (coding style, unit tests, etc.)

7 years agoAPI+Docker: enable nginx URL rewriting
VirtualTam [Wed, 4 Jan 2017 17:06:14 +0000 (18:06 +0100)] 
API+Docker: enable nginx URL rewriting

Closes https://github.com/shaarli/Shaarli/issues/668

Changed:
- let nginx rewrite API URLs

See:
- https://www.slimframework.com/docs/start/web-servers.html
- https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #739 from virtualtam/fix/api/jwt-signature
VirtualTam [Thu, 5 Jan 2017 11:39:17 +0000 (12:39 +0100)] 
Merge pull request #739 from virtualtam/fix/api/jwt-signature

API: fix JWT signature verification

7 years agoChange templates set through administration UI
Knah Tsaeb [Wed, 7 Dec 2016 10:58:25 +0000 (11:58 +0100)] 
Change templates set through administration UI

7 years agoAPI: fix JWT signature verification 739/head
VirtualTam [Wed, 4 Jan 2017 10:41:05 +0000 (11:41 +0100)] 
API: fix JWT signature verification

Fixes https://github.com/shaarli/Shaarli/issues/737

Added:
- Base64Url utilities

Fixed:
- use URL-safe Base64 encoding/decoding functions
- use byte representations for HMAC digests
- all JWT parts are Base64Url-encoded

See:
- https://en.wikipedia.org/wiki/JSON_Web_Token
- https://tools.ietf.org/html/rfc7519
- https://scotch.io/tutorials/the-anatomy-of-a-json-web-token
- https://jwt.io/introduction/
- https://en.wikipedia.org/wiki/Base64#URL_applications
- https://secure.php.net/manual/en/function.base64-encode.php#103849

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #682 from ArthurHoaro/delete-button
Arthur [Wed, 4 Jan 2017 15:35:29 +0000 (16:35 +0100)] 
Merge pull request #682 from ArthurHoaro/delete-button

Bugfixes on link deletion, and use a GET form

7 years agoMerge pull request #733 from ArthurHoaro/hotfix/reverse-proxy-port
Arthur [Wed, 4 Jan 2017 15:34:06 +0000 (16:34 +0100)] 
Merge pull request #733 from ArthurHoaro/hotfix/reverse-proxy-port

Hide default ports in local URL behind a reverse proxy

7 years agoMerge pull request #736 from virtualtam/url/annoying/campaign
VirtualTam [Wed, 4 Jan 2017 10:48:22 +0000 (11:48 +0100)] 
Merge pull request #736 from virtualtam/url/annoying/campaign

URL cleanup: add 'campaign_' to the annoying parameters

7 years agoURL cleanup: add 'campaign_' to the annoying parameters 736/head
VirtualTam [Tue, 3 Jan 2017 16:04:18 +0000 (17:04 +0100)] 
URL cleanup: add 'campaign_' to the annoying parameters

Closes https://github.com/shaarli/Shaarli/issues/735

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #731 from virtualtam/fix/api/namespaces
VirtualTam [Tue, 3 Jan 2017 15:21:18 +0000 (16:21 +0100)] 
Merge pull request #731 from virtualtam/fix/api/namespaces

API: fix Slim namespaces

7 years agoMerge pull request #734 from ArthurHoaro/hotfix/api-install-error
Arthur [Tue, 3 Jan 2017 13:45:10 +0000 (14:45 +0100)] 
Merge pull request #734 from ArthurHoaro/hotfix/api-install-error

Fix fatal error during the install

7 years agoFix fatal error during the install 734/head
ArthurHoaro [Tue, 3 Jan 2017 13:25:04 +0000 (14:25 +0100)] 
Fix fatal error during the install

7 years agoHide default port in local URL behind a reverse proxy 733/head
ArthurHoaro [Tue, 3 Jan 2017 13:17:05 +0000 (14:17 +0100)] 
Hide default port in local URL behind a reverse proxy

7 years agoMerge pull request #719 from ArthurHoaro/feed-opensearch
Arthur [Tue, 3 Jan 2017 09:07:08 +0000 (10:07 +0100)] 
Merge pull request #719 from ArthurHoaro/feed-opensearch

Add opensearch to RSS and ATOM feeds

7 years agoMerge pull request #725 from ArthurHoaro/hotfix/privatetags-split
Arthur [Tue, 3 Jan 2017 08:57:52 +0000 (09:57 +0100)] 
Merge pull request #725 from ArthurHoaro/hotfix/privatetags-split

Fixes presence of empty tags for private tags and in search results

7 years agoAdd opensearch to RSS and ATOM feeds 719/head
ArthurHoaro [Fri, 16 Dec 2016 13:03:42 +0000 (14:03 +0100)] 
Add opensearch to RSS and ATOM feeds

Fixes #709

7 years agoFixes presence of empty tags for private tags and in search results 725/head
ArthurHoaro [Tue, 20 Dec 2016 10:06:22 +0000 (11:06 +0100)] 
Fixes presence of empty tags for private tags and in search results

  * Private tags: make sure empty tags are properly filtered
  * Search results:
    * Use preg_split instead of function combination
    * Add normalize_spaces to remove extra whitespaces displaying empty tags search

7 years agoAPI: fix Slim namespaces 731/head
VirtualTam [Mon, 2 Jan 2017 17:37:08 +0000 (18:37 +0100)] 
API: fix Slim namespaces

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #620 from ArthurHoaro/pubsubhub
Arthur [Tue, 20 Dec 2016 10:44:19 +0000 (11:44 +0100)] 
Merge pull request #620 from ArthurHoaro/pubsubhub

Move Pubsubhub to a default plugin

7 years agoMove PubSubHubbub code as a default plugin 620/head
ArthurHoaro [Tue, 2 Aug 2016 09:55:49 +0000 (11:55 +0200)] 
Move PubSubHubbub code as a default plugin

7 years agoAdd plugin placeholders in RSS and ATOM feeds templates
ArthurHoaro [Tue, 2 Aug 2016 09:55:11 +0000 (11:55 +0200)] 
Add plugin placeholders in RSS and ATOM feeds templates

7 years agoMerge pull request #666 from ArthurHoaro/slim-api
Arthur [Tue, 20 Dec 2016 10:30:05 +0000 (11:30 +0100)] 
Merge pull request #666 from ArthurHoaro/slim-api

REST API structure using Slim framework

7 years agoFix typo in markdown plugin meta description
ArthurHoaro [Sun, 18 Dec 2016 13:27:32 +0000 (14:27 +0100)] 
Fix typo in markdown plugin meta description

7 years agoBugfixes on link deletion, and use a GET form 682/head
ArthurHoaro [Sat, 5 Nov 2016 13:13:18 +0000 (14:13 +0100)] 
Bugfixes on link deletion, and use a GET form

Use a GET form to delete links: harmonize with edit_link and preparation for #585

Bug fixes:

  * LinkDB element can't be passed as reference, fix error:

    PHP Notice:  Indirect modification of overloaded element of LinkDB has no effect

  * Resource cache folder setting wasn't set correctly

7 years agoMerge pull request #714 from ArthurHoaro/hotfix/banlogin
Arthur [Fri, 16 Dec 2016 11:23:47 +0000 (12:23 +0100)] 
Merge pull request #714 from ArthurHoaro/hotfix/banlogin

Fixes can login function call in loginform.html

7 years agoMerge pull request #716 from ArthurHoaro/hotfix/editoldlinks
Arthur [Thu, 15 Dec 2016 10:41:22 +0000 (11:41 +0100)] 
Merge pull request #716 from ArthurHoaro/hotfix/editoldlinks

Fix a regression: permalinks change when old links are edited

7 years agoFix a regression: permalinks change when old links are edited 716/head
ArthurHoaro [Thu, 15 Dec 2016 10:18:56 +0000 (11:18 +0100)] 
Fix a regression: permalinks change when old links are edited

fixes #713

7 years agoFixes can login function call in loginform.html 714/head
ArthurHoaro [Thu, 15 Dec 2016 09:57:11 +0000 (10:57 +0100)] 
Fixes can login function call in loginform.html

Fixes #711

7 years agoREST API structure using Slim framework 666/head
ArthurHoaro [Thu, 15 Dec 2016 09:13:00 +0000 (10:13 +0100)] 
REST API structure using Slim framework

  * REST API routes are handle by Slim.
  * Every API controller go through ApiMiddleware which handles security.
  * First service implemented `/info`, for tests purpose.

7 years agoPHP requirement increased to PHP 5.5 - See #599
ArthurHoaro [Thu, 15 Dec 2016 09:04:05 +0000 (10:04 +0100)] 
PHP requirement increased to PHP 5.5 - See #599

7 years agoPrepare settings for the API in the admin page and during the install
ArthurHoaro [Sun, 31 Jul 2016 08:46:17 +0000 (10:46 +0200)] 
Prepare settings for the API in the admin page and during the install

API settings:
   - api.enabled
   - api.secret

The API settings will be initialized (and the secret generated) with an update method.

7 years agoIgnore compressed tar archive help
ArthurHoaro [Mon, 12 Dec 2016 02:51:48 +0000 (03:51 +0100)] 
Ignore compressed tar archive

7 years agoMerge pull request #708 from ArthurHoaro/v0.8.1 v0.8.1
Arthur [Mon, 12 Dec 2016 02:40:09 +0000 (03:40 +0100)] 
Merge pull request #708 from ArthurHoaro/v0.8.1

Bump version to v0.8.1

7 years agoBump version to v0.8.1 708/head
ArthurHoaro [Mon, 12 Dec 2016 02:38:12 +0000 (03:38 +0100)] 
Bump version to v0.8.1

Signed-off-by: ArthurHoaro <arthur@hoa.ro>
7 years agoMerge pull request #707 from ArthurHoaro/changelog
Arthur [Mon, 12 Dec 2016 02:32:13 +0000 (03:32 +0100)] 
Merge pull request #707 from ArthurHoaro/changelog

changelog: add release date for v0.8.1 and add section v0.9.0

7 years agochangelog: add release date for v0.8.1 and add section v0.9.0 707/head
ArthurHoaro [Mon, 12 Dec 2016 02:30:54 +0000 (03:30 +0100)] 
changelog: add release date for v0.8.1 and add section v0.9.0

7 years agoMerge pull request #706 from ArthurHoaro/changelog
Arthur [Mon, 12 Dec 2016 02:28:02 +0000 (03:28 +0100)] 
Merge pull request #706 from ArthurHoaro/changelog

changelog update

7 years agochangelog update 706/head
ArthurHoaro [Mon, 12 Dec 2016 02:26:56 +0000 (03:26 +0100)] 
changelog update

7 years agoMerge pull request #697 from ArthurHoaro/feature/ids-bis
Arthur [Mon, 12 Dec 2016 02:15:32 +0000 (03:15 +0100)] 
Merge pull request #697 from ArthurHoaro/feature/ids-bis

Link ID refactoring

7 years agoMerge pull request #679 from ArthurHoaro/plugins/header
Arthur [Mon, 12 Dec 2016 02:07:13 +0000 (03:07 +0100)] 
Merge pull request #679 from ArthurHoaro/plugins/header

Improve theme dependent plugin placeholders:

7 years agoAdd a persistent 'shorturl' key to all links 697/head
ArthurHoaro [Mon, 28 Nov 2016 17:24:15 +0000 (18:24 +0100)] 
Add a persistent 'shorturl' key to all links

All existing link will keep their permalinks.
New links will have smallhash generated with date+id.

The purpose of this is to avoid collision between links due to their creation date.

7 years agoUnit Test for the new ID system
ArthurHoaro [Mon, 28 Nov 2016 15:17:25 +0000 (16:17 +0100)] 
Unit Test for the new ID system

7 years agoApply the new ID system accros the whole codebase
ArthurHoaro [Mon, 28 Nov 2016 15:16:44 +0000 (16:16 +0100)] 
Apply the new ID system accros the whole codebase

7 years agoUpdate method to use the new ID system, which replaces linkdate primary keys.
ArthurHoaro [Mon, 28 Nov 2016 15:14:33 +0000 (16:14 +0100)] 
Update method to use the new ID system, which replaces linkdate primary keys.

creation and update dates are now DateTime objects.
Since this update is very sensitve (changing the whole database), the datastore will be automatically backed up into the file datastore.<datetime>.php.

7 years agoLink ID refactoring
ArthurHoaro [Mon, 28 Nov 2016 14:30:17 +0000 (15:30 +0100)] 
Link ID refactoring

    Links now use an incremental unique numeric identifier.
    This ID is persistent and must never change.

    ArrayAccess is used to match the link ID with the array keys (see the comment in LinkDB for more details)

    Key 'created' added, with creation date as a DateTime object. 'updated' is now also a DateTime.

7 years agoMerge pull request #702 from ArthurHoaro/feed-cdata
Arthur [Mon, 5 Dec 2016 10:18:59 +0000 (11:18 +0100)] 
Merge pull request #702 from ArthurHoaro/feed-cdata

Remove new line between content tag and CDATA in ATOM feed

7 years agoMerge pull request #703 from ArthurHoaro/changelog
Arthur [Mon, 5 Dec 2016 10:18:39 +0000 (11:18 +0100)] 
Merge pull request #703 from ArthurHoaro/changelog

Add latest merged changes to the CHANGELOG

7 years agoAdd latest merged changes to the CHANGELOG 703/head
ArthurHoaro [Sat, 3 Dec 2016 08:17:14 +0000 (09:17 +0100)] 
Add latest merged changes to the CHANGELOG

7 years agoMerge pull request #701 from ArthurHoaro/plugins/md-html-doc
Arthur [Sat, 3 Dec 2016 07:52:12 +0000 (08:52 +0100)] 
Merge pull request #701 from ArthurHoaro/plugins/md-html-doc

Describe markdown HTML rendering and display a warning

7 years agoRemove new line between content tag and CDATA in ATOM feed 702/head
ArthurHoaro [Fri, 2 Dec 2016 17:37:41 +0000 (18:37 +0100)] 
Remove new line between content tag and CDATA in ATOM feed

Content not starting directly with CDATA can be misinterpreted by some feed parsers.

8 years agoDescribe markdown HTML rendering and display a warning 701/head
ArthurHoaro [Thu, 1 Dec 2016 10:40:24 +0000 (11:40 +0100)] 
Describe markdown HTML rendering and display a warning

Fixes #688

8 years agoImprove theme dependent plugin placeholders: 679/head
ArthurHoaro [Thu, 1 Dec 2016 10:38:21 +0000 (11:38 +0100)] 
Improve theme dependent plugin placeholders:

  - buttons_toolbar: now expect links represented by an array instead of HTML content
  - fields_toolbar: now expect a form represented by an array instead of HTML content
  - action_plugin: now expect links represented by an array instead of HTML content

Default templates updated accordingly
mprove theme dependent plugin placeholders:

8 years agoMerge pull request #691 from ArthurHoaro/plugins/no-md-feed
Arthur [Thu, 1 Dec 2016 10:13:04 +0000 (11:13 +0100)] 
Merge pull request #691 from ArthurHoaro/plugins/no-md-feed

Markdown: fixes feed rendering with nomarkdown tag

8 years agoMerge pull request #700 from teromene/firefox-social-title
Arthur [Wed, 30 Nov 2016 08:13:38 +0000 (09:13 +0100)] 
Merge pull request #700 from teromene/firefox-social-title

Show page title when sharing via Firefox Social.

8 years agoMerge pull request #699 from teromene/https-no-social
Arthur [Wed, 30 Nov 2016 08:13:22 +0000 (09:13 +0100)] 
Merge pull request #699 from teromene/https-no-social

Disable Firefox Social in the tools section if the page is not loaded using HTTPS.

8 years agoShow page title when sharing via Firefox Social. 700/head
Teromene [Tue, 29 Nov 2016 11:30:37 +0000 (11:30 +0000)] 
Show page title when sharing via Firefox Social.

8 years agoDisable Firefox Social in the tools section if the page is not loaded using HTTPS... 699/head
Teromene [Tue, 29 Nov 2016 11:06:31 +0000 (11:06 +0000)] 
Disable Firefox Social in the tools section if the page is not loaded using HTTPS, as Firefox will deny the request.

8 years agoMarkdown: fixes feed rendering with nomarkdown tag 691/head
ArthurHoaro [Sun, 13 Nov 2016 15:51:21 +0000 (16:51 +0100)] 
Markdown: fixes feed rendering with nomarkdown tag

 * make sure we match exactly `nomarkdown` tag
 * pass the whole link data to stripNoMarkdownTag() to:
   * strip the noMD tag in taglist (array)
   * strip the tag in tags (string)

Fixes #689

tmp

8 years agoMerge pull request #692 from fpunktk/patch-1
Arthur [Tue, 22 Nov 2016 08:30:27 +0000 (09:30 +0100)] 
Merge pull request #692 from fpunktk/patch-1

add meta tag to block sending the referrer

8 years agoAdd meta tag to block sending the referrer 692/head
Felix Kästner [Wed, 16 Nov 2016 13:57:44 +0000 (14:57 +0100)] 
Add meta tag to block sending the referrer

Add a meta tag that tells the browser not to send the referrer header to
external sites.

8 years agoMerge pull request #680 from ArthurHoaro/apache-htaccess
Arthur [Tue, 8 Nov 2016 14:32:14 +0000 (15:32 +0100)] 
Merge pull request #680 from ArthurHoaro/apache-htaccess

.htaccess files: support Apache 2.4+ syntax

8 years agoMerge pull request #684 from virtualtam/fix/docker/nginx
Arthur [Tue, 8 Nov 2016 11:06:00 +0000 (12:06 +0100)] 
Merge pull request #684 from virtualtam/fix/docker/nginx

Docker: fix & improve nginx+php-fpm configuration

8 years ago.htaccess files: support Apache 2.4+ syntax 680/head
ArthurHoaro [Thu, 3 Nov 2016 12:59:18 +0000 (13:59 +0100)] 
.htaccess files: support Apache 2.4+ syntax

If `mod_version` is enabled, the previous syntax will apply for Apache <2.4.
If not, the new syntax is used by default.

Fixes #676

`mod_version` identifier is `version_module` across all Apache versions. See:

  * https://httpd.apache.org/docs/current/mod/mod_version.html
  * https://httpd.apache.org/docs/2.2/mod/mod_version.html
  * https://serverfault.com/questions/733910/how-do-i-load-mod-version-only-if-it-isnt-built-in-to-apache

Note that version_module comes built-in with Debian (and derivatives) Apache2 packages, see https://wiki.debian.org/Apache/PackagingFor24

8 years agoMerge pull request #683 from ArthurHoaro/plugins/w3ccompliance
VirtualTam [Sun, 6 Nov 2016 13:38:56 +0000 (14:38 +0100)] 
Merge pull request #683 from ArthurHoaro/plugins/w3ccompliance

Plugins W3C compliance

8 years agoDocker: increase maximum file upload size to 10 MiB 684/head
VirtualTam [Sat, 5 Nov 2016 19:42:54 +0000 (20:42 +0100)] 
Docker: increase maximum file upload size to 10 MiB

Relates to https://github.com/shaarli/Shaarli/issues/681

Changed:
- nginx+php-fpm: set maximum upload size to 10 MiB

See:
- https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
- https://secure.php.net/manual/en/ini.core.php#ini.post-max-size
- https://secure.php.net/manual/en/ini.core.php#ini.upload-max-filesize

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoDocker: set favicon location in nginx configuration
VirtualTam [Sat, 5 Nov 2016 18:51:03 +0000 (19:51 +0100)] 
Docker: set favicon location in nginx configuration

Relates to https://github.com/shaarli/Shaarli/issues/681

Fixed:
- nginx: set the favicon location

See http://serverfault.com/a/352861

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoPlugins W3C compliance 683/head
ArthurHoaro [Sat, 5 Nov 2016 14:12:23 +0000 (15:12 +0100)] 
Plugins W3C compliance

Add an alt attribute to images

8 years agoMerge pull request #677 from yapbreak/master
Arthur [Wed, 2 Nov 2016 12:04:37 +0000 (13:04 +0100)] 
Merge pull request #677 from yapbreak/master

Piwik Plugin

8 years agoAdd Piwik Plugin 677/head
Adrien Oliva [Fri, 28 Oct 2016 08:03:32 +0000 (10:03 +0200)] 
Add Piwik Plugin

[PullRequest #677] Change after Review

Fix logic, my bad!

8 years agoMerge pull request #674 from ArthurHoaro/parsedown-composer
VirtualTam [Sat, 22 Oct 2016 10:53:15 +0000 (12:53 +0200)] 
Merge pull request #674 from ArthurHoaro/parsedown-composer

Use Composer for Parsedown and fix an issue with links

8 years agoFix an issue with links not being reversed in code blocks 674/head
ArthurHoaro [Fri, 21 Oct 2016 10:38:38 +0000 (12:38 +0200)] 
Fix an issue with links not being reversed in code blocks

Fixes #672

+ Markdown to HTML unit test

8 years agoUse Composer to import Parsedown library
ArthurHoaro [Fri, 21 Oct 2016 09:48:51 +0000 (11:48 +0200)] 
Use Composer to import Parsedown library

Reference #613

8 years agoMerge pull request #673 from virtualtam/cleanup/linkdb
VirtualTam [Fri, 21 Oct 2016 09:04:52 +0000 (11:04 +0200)] 
Merge pull request #673 from virtualtam/cleanup/linkdb

LinkDB: code cleanup

8 years agoMerge pull request #665 from ArthurHoaro/fix/feed-hashtags
VirtualTam [Thu, 20 Oct 2016 19:37:28 +0000 (21:37 +0200)] 
Merge pull request #665 from ArthurHoaro/fix/feed-hashtags

Fix hashtag links in Feeds

8 years agoLinkDB: explicit method visibility 673/head
VirtualTam [Thu, 20 Oct 2016 19:24:39 +0000 (21:24 +0200)] 
LinkDB: explicit method visibility

Relates to https://github.com/shaarli/Shaarli/issues/95

Signed-off-by: VirtualTam <virtualtam@flibidi.net>