]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
7 years agoFixes #806: display overflow for awesomplete list 811/head
ArthurHoaro [Sun, 12 Mar 2017 12:28:37 +0000 (13:28 +0100)] 
Fixes #806: display overflow for awesomplete list

7 years agoMerge pull request #809 from ArthurHoaro/cleanup/inline-js
ArthurHoaro [Sun, 12 Mar 2017 11:59:05 +0000 (12:59 +0100)] 
Merge pull request #809 from ArthurHoaro/cleanup/inline-js

Remove inline JS and add LibreJS headers in JS files

7 years agoRemove inline JS and add LibreJS headers in JS files 809/head
ArthurHoaro [Sun, 12 Mar 2017 11:45:32 +0000 (12:45 +0100)] 
Remove inline JS and add LibreJS headers in JS files

Fixes #33 (wow!)
Relates to #395

7 years agoMerge pull request #808 from ArthurHoaro/demo-readme
ArthurHoaro [Sat, 11 Mar 2017 19:32:35 +0000 (20:32 +0100)] 
Merge pull request #808 from ArthurHoaro/demo-readme

Shaarli demo moved to shaarli.org

7 years agoShaarli demo moved to shaarli.org 808/head
ArthurHoaro [Sat, 11 Mar 2017 19:27:35 +0000 (20:27 +0100)] 
Shaarli demo moved to shaarli.org

7 years agoMerge pull request #779 from ArthurHoaro/feature/import-parser-logs
ArthurHoaro [Sat, 11 Mar 2017 13:23:05 +0000 (14:23 +0100)] 
Merge pull request #779 from ArthurHoaro/feature/import-parser-logs

Link imports are now logged in `data/` folder, and can be debug using…

7 years agoMerge pull request #803 from ArthurHoaro/feature/awesomplete-autofirst
ArthurHoaro [Sat, 11 Mar 2017 13:20:55 +0000 (14:20 +0100)] 
Merge pull request #803 from ArthurHoaro/feature/awesomplete-autofirst

Fixes #657: use data-autofirst parameter for awesomeplete

7 years agoMerge pull request #805 from ArthurHoaro/mobile-logo
ArthurHoaro [Sat, 11 Mar 2017 13:20:40 +0000 (14:20 +0100)] 
Merge pull request #805 from ArthurHoaro/mobile-logo

Fixes #793: display the star logo on mobile instead of home logo

7 years agoFixes #793: display the star logo on mobile instead of home logo 805/head
ArthurHoaro [Sat, 11 Mar 2017 13:19:04 +0000 (14:19 +0100)] 
Fixes #793: display the star logo on mobile instead of home logo

7 years agoMerge pull request #799 from ArthurHoaro/plugins/piwik-url
ArthurHoaro [Sat, 11 Mar 2017 12:52:00 +0000 (13:52 +0100)] 
Merge pull request #799 from ArthurHoaro/plugins/piwik-url

Fix #773: set Piwik URL protocol

7 years agoFixes #657: use data-autofirst parameter for awesomeplete 803/head
ArthurHoaro [Sat, 11 Mar 2017 12:47:07 +0000 (13:47 +0100)] 
Fixes #657: use data-autofirst parameter for awesomeplete

data-autofirst automatically selects the first item of the list of choice automatically. You just have to press enter to use it.

7 years agoFix #773: set Piwik URL protocol 799/head
ArthurHoaro [Thu, 9 Mar 2017 19:51:28 +0000 (20:51 +0100)] 
Fix #773: set Piwik URL protocol

7 years agoFix namespace issue 779/head
ArthurHoaro [Fri, 10 Mar 2017 17:49:53 +0000 (18:49 +0100)] 
Fix namespace issue

7 years agoUpgrade netscape-bookmark-parser dependency to v2.x
ArthurHoaro [Thu, 9 Mar 2017 18:54:48 +0000 (19:54 +0100)] 
Upgrade netscape-bookmark-parser dependency to v2.x

7 years agoLink imports are now logged in `data/` folder, and can be debug using `dev.debug...
ArthurHoaro [Thu, 9 Feb 2017 19:54:56 +0000 (20:54 +0100)] 
Link imports are now logged in `data/` folder, and can be debug using `dev.debug=true` setting

related to #741 and #681

7 years agoMerge pull request #797 from ArthurHoaro/hotfix/font-git
ArthurHoaro [Thu, 9 Mar 2017 19:10:14 +0000 (20:10 +0100)] 
Merge pull request #797 from ArthurHoaro/hotfix/font-git

Prevent git from messing with font files

7 years agoMerge pull request #794 from ArthurHoaro/hotfix/namespace
ArthurHoaro [Thu, 9 Mar 2017 18:45:52 +0000 (19:45 +0100)] 
Merge pull request #794 from ArthurHoaro/hotfix/namespace

Move config exception to dedicated classes with proper namespace

7 years agoPrevent git from messing with font files 797/head
ArthurHoaro [Thu, 9 Mar 2017 18:39:13 +0000 (19:39 +0100)] 
Prevent git from messing with font files

This should remove font related errors in browser debig consoles

7 years agoMove config exception to dedicated classes with proper namespace 794/head
ArthurHoaro [Wed, 8 Mar 2017 19:28:33 +0000 (20:28 +0100)] 
Move config exception to dedicated classes with proper namespace

7 years agoMerge pull request #792 from ArthurHoaro/feature/private-filter-visual
ArthurHoaro [Thu, 9 Mar 2017 18:15:48 +0000 (19:15 +0100)] 
Merge pull request #792 from ArthurHoaro/feature/private-filter-visual

Display private only filter as search criteria

7 years agoMerge pull request #791 from ArthurHoaro/feature/ctrl-enter-submit
ArthurHoaro [Thu, 9 Mar 2017 18:14:10 +0000 (19:14 +0100)] 
Merge pull request #791 from ArthurHoaro/feature/ctrl-enter-submit

Submit editlink textarea using CTRL+Enter shortcut

7 years agoMerge pull request #796 from virtualtam/changelog
VirtualTam [Wed, 8 Mar 2017 22:07:53 +0000 (23:07 +0100)] 
Merge pull request #796 from virtualtam/changelog

Add v0.7.1 to CHANGELOG.md

7 years agoAdd v0.7.1 to CHANGELOG.md 796/head
VirtualTam [Wed, 8 Mar 2017 21:58:44 +0000 (22:58 +0100)] 
Add v0.7.1 to CHANGELOG.md

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoFix blocking namespace issue 792/head
ArthurHoaro [Wed, 8 Mar 2017 18:59:00 +0000 (19:59 +0100)] 
Fix blocking namespace issue

7 years agoDisplay private only filter as search parameter
ArthurHoaro [Wed, 8 Mar 2017 18:57:15 +0000 (19:57 +0100)] 
Display private only filter as search parameter

7 years agoSubmit editlink textarea using CTRL+Enter shortcut 791/head
ArthurHoaro [Wed, 8 Mar 2017 17:59:54 +0000 (18:59 +0100)] 
Submit editlink textarea using CTRL+Enter shortcut

7 years agoMerge pull request #790 from ArthurHoaro/feature/intl-dates
ArthurHoaro [Tue, 7 Mar 2017 18:32:36 +0000 (19:32 +0100)] 
Merge pull request #790 from ArthurHoaro/feature/intl-dates

Fix autoLocale error and cover it with unit tests

7 years agoFix autoLocale error and cover it with unit tests 790/head
ArthurHoaro [Tue, 7 Mar 2017 18:27:17 +0000 (19:27 +0100)] 
Fix autoLocale error and cover it with unit tests

7 years agoMerge pull request #750 from ArthurHoaro/feature/intl-dates
ArthurHoaro [Mon, 6 Mar 2017 20:13:48 +0000 (21:13 +0100)] 
Merge pull request #750 from ArthurHoaro/feature/intl-dates

Improve datetime display

7 years agoUse all_tests target in Travis CI 750/head
ArthurHoaro [Mon, 6 Mar 2017 19:34:02 +0000 (20:34 +0100)] 
Use all_tests target in Travis CI

7 years agoRun languages tests using PHPUnit test suites
ArthurHoaro [Sun, 15 Jan 2017 15:31:53 +0000 (16:31 +0100)] 
Run languages tests using PHPUnit test suites

7 years agoImprove datetime display
ArthurHoaro [Sat, 7 Jan 2017 13:30:42 +0000 (14:30 +0100)] 
Improve datetime display

Use php-intl extension to display datetimes a bit more nicely, depending on the locale.

What changes:

  * the day is no longer displayed
  * day number and month are ordered according to the locale
  * the timezone is more readable (UTC+1 instead of CET)

7 years agoImprove autoLocale() detection
ArthurHoaro [Sat, 7 Jan 2017 13:28:58 +0000 (14:28 +0100)] 
Improve autoLocale() detection

  - Creates arrays_combination function to cover all cases
  - add the underscore separator in the regex
  - add `utf8` encoding in addition to `UTF-8`

7 years agoMerge pull request #788 from virtualtam/application/namespace/config
VirtualTam [Sat, 4 Mar 2017 19:28:38 +0000 (20:28 +0100)] 
Merge pull request #788 from virtualtam/application/namespace/config

application: introduce the Shaarli\Config namespace

7 years agoMerge pull request #789 from virtualtam/changelog
VirtualTam [Sat, 4 Mar 2017 16:08:25 +0000 (17:08 +0100)] 
Merge pull request #789 from virtualtam/changelog

Update CHANGELOG.md

7 years agoapplication: introduce the Shaarli\Config namespace 788/head
VirtualTam [Fri, 3 Mar 2017 22:06:12 +0000 (23:06 +0100)] 
application: introduce the Shaarli\Config namespace

Namespaces have been introduced with the REST API, and should be generalized
to the whole codebase to manage object scope and benefit from autoloading.

See:
- https://secure.php.net/manual/en/language.namespaces.php
- http://www.php-fig.org/psr/psr-4/

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoUpdate CHANGELOG.md 789/head
VirtualTam [Sat, 4 Mar 2017 10:06:16 +0000 (11:06 +0100)] 
Update CHANGELOG.md

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #785 from ArthurHoaro/hotfix/markdown-html
VirtualTam [Sat, 4 Mar 2017 08:29:29 +0000 (09:29 +0100)] 
Merge pull request #785 from ArthurHoaro/hotfix/markdown-html

Add markdown_escape setting

7 years agoAdd markdown_escape setting 785/head
ArthurHoaro [Mon, 27 Feb 2017 18:45:55 +0000 (19:45 +0100)] 
Add markdown_escape setting

This setting allows to escape HTML in markdown rendering or not.
The goal behind it is to avoid XSS issue in shared instances.

More info:

  * the setting is set to true by default
  * it is set to false for anyone who already have the plugin enabled
  (avoid breaking existing entries)
  * improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof
  * mention the setting in the plugin README

7 years agoMerge pull request #754 from ArthurHoaro/webdesign2
ArthurHoaro [Mon, 27 Feb 2017 19:24:28 +0000 (20:24 +0100)] 
Merge pull request #754 from ArthurHoaro/webdesign2

New default template

7 years agoSet the vintage theme by default for the time being 754/head
ArthurHoaro [Mon, 27 Feb 2017 19:20:53 +0000 (20:20 +0100)] 
Set the vintage theme by default for the time being

7 years agoMultiple minor improvements and bugfixes regarding the new templates:
ArthurHoaro [Tue, 21 Feb 2017 13:16:48 +0000 (14:16 +0100)] 
Multiple minor improvements and bugfixes regarding the new templates:

  * Add API settings in `configure.html`
  * Fix textarea autoresize
  * Load user.css from data folder
  * Move fold/expand all button to the right and fix an issue with already folded items
  * Reset datetime display to international datetime
  * Temporarilly remove JS login panel (need improvement and integration with the plugin system)
  * Body background is slightly lighter
  * Fix an issue where thumbnails were hidden by description
  * Fix an issue where private orange bar wasn't displayed with thumbnails
  * Remove the gradient bar behind titles
  * Fix empty bookmarklet name in Firefox

7 years agoUpgrade awesomplete + fix multiple autocompletion fields
ArthurHoaro [Sat, 14 Jan 2017 15:13:32 +0000 (16:13 +0100)] 
Upgrade awesomplete + fix multiple autocompletion fields

7 years agoFix markdown plugin color overriding
ArthurHoaro [Sat, 14 Jan 2017 14:57:34 +0000 (15:57 +0100)] 
Fix markdown plugin color overriding

7 years agoImprove plugin_admin.js to support multiple ordered rows
ArthurHoaro [Sat, 14 Jan 2017 14:53:39 +0000 (15:53 +0100)] 
Improve plugin_admin.js to support multiple ordered rows

7 years agoIntroduce the new default Shaarli template
ArthurHoaro [Sat, 14 Jan 2017 14:52:17 +0000 (15:52 +0100)] 
Introduce the new default Shaarli template

7 years agoMove default template to vintage folder
ArthurHoaro [Sat, 14 Jan 2017 14:51:30 +0000 (15:51 +0100)] 
Move default template to vintage folder

7 years agoMerge pull request #783 from Sbgodin/spaceInBookmarklets
ArthurHoaro [Fri, 24 Feb 2017 11:21:49 +0000 (12:21 +0100)] 
Merge pull request #783 from Sbgodin/spaceInBookmarklets

Removes spaces before bookmarklet's name

7 years agoRemoves spaces before and after bookmarklet's name 783/head
Christophe HENRY [Wed, 22 Feb 2017 13:55:52 +0000 (14:55 +0100)] 
Removes spaces before and after bookmarklet's name

Carriage returns turns into space in some cases. The name of the
bookmarklet, once in the browser bookmarks, is surrounded by spaces.

7 years agoMerge pull request #728 from ArthurHoaro/api/getLink
ArthurHoaro [Sun, 19 Feb 2017 15:48:59 +0000 (16:48 +0100)] 
Merge pull request #728 from ArthurHoaro/api/getLink

REST API: implements getLink by ID service

7 years agoREST API: implements getLink by ID service 728/head
ArthurHoaro [Sat, 24 Dec 2016 09:30:21 +0000 (10:30 +0100)] 
REST API: implements getLink by ID service

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

7 years agoMerge pull request #769 from ArthurHoaro/api/getlinks-visibility
ArthurHoaro [Mon, 13 Feb 2017 07:41:12 +0000 (08:41 +0100)] 
Merge pull request #769 from ArthurHoaro/api/getlinks-visibility

REST API - getLinks: support the visibility parameter

7 years agoMerge pull request #776 from ArthurHoaro/hotfix/linkdb-update
ArthurHoaro [Sat, 4 Feb 2017 14:24:49 +0000 (15:24 +0100)] 
Merge pull request #776 from ArthurHoaro/hotfix/linkdb-update

Fixes #775: LinkDB do not access LinkDB before ID system migration

7 years agoFixes #775: LinkDB do not access LinkDB before ID system migration 776/head
ArthurHoaro [Sat, 4 Feb 2017 11:01:48 +0000 (12:01 +0100)] 
Fixes #775: LinkDB do not access LinkDB before ID system migration

To access LinkDB items with its ArrayAccess implementation, the IDs must be consistent, which isn't the case before `updateMethodDatastoreIds()` execution. v0.6.4 method `updateMethodRenameDashTags()` was accessing it, so an upgrade <0.6.4 to >0.8.x was failing.

This just move the minor update `RenameDashTags` after the IDs update.

7 years agoMerge pull request #771 from ArthurHoaro/master
ArthurHoaro [Fri, 20 Jan 2017 16:04:51 +0000 (17:04 +0100)] 
Merge pull request #771 from ArthurHoaro/master

v0.8.3 version bump in master

7 years agoBump version to v0.8.3 771/head
ArthurHoaro [Fri, 20 Jan 2017 15:47:36 +0000 (16:47 +0100)] 
Bump version to v0.8.3

Signed-off-by: ArthurHoaro <arthur@hoa.ro>
7 years agoChangelog v0.8.3
ArthurHoaro [Fri, 20 Jan 2017 15:44:52 +0000 (16:44 +0100)] 
Changelog v0.8.3

7 years agoREST API - getLinks: support the visibility parameter 769/head
ArthurHoaro [Tue, 17 Jan 2017 17:51:40 +0000 (18:51 +0100)] 
REST API - getLinks: support the visibility parameter

7 years agoMerge pull request #768 from ArthurHoaro/feature/get-public-links
ArthurHoaro [Tue, 17 Jan 2017 08:55:25 +0000 (09:55 +0100)] 
Merge pull request #768 from ArthurHoaro/feature/get-public-links

Update LinkFilter to be able to filter only public links

7 years agoMerge pull request #767 from ArthurHoaro/feature/delete-tag-redirect
ArthurHoaro [Tue, 17 Jan 2017 08:54:25 +0000 (09:54 +0100)] 
Merge pull request #767 from ArthurHoaro/feature/delete-tag-redirect

Stay on the changetag page after tag deletion

7 years agoMerge pull request #766 from ArthurHoaro/hotfix/deletion-redirect
ArthurHoaro [Tue, 17 Jan 2017 08:53:55 +0000 (09:53 +0100)] 
Merge pull request #766 from ArthurHoaro/hotfix/deletion-redirect

Fix redirection after link deletion

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 agoStay on the changetag page after tag deletion 767/head
ArthurHoaro [Mon, 16 Jan 2017 12:16:03 +0000 (13:16 +0100)] 
Stay on the changetag page after tag deletion

+ fix changetag CSS alignement

relates to #756

7 years agoFix redirection after link deletion 766/head
ArthurHoaro [Mon, 16 Jan 2017 12:07:53 +0000 (13:07 +0100)] 
Fix redirection after link deletion

relates to #756

7 years agoMerge pull request #765 from ArthurHoaro/master
ArthurHoaro [Mon, 16 Jan 2017 11:57:56 +0000 (12:57 +0100)] 
Merge pull request #765 from ArthurHoaro/master

Cherry-pick version bump from v0.8 branch

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