]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
VirtualTam [Sat, 4 Mar 2017 10:06:16 +0000 (11:06 +0100)]
Update CHANGELOG.md
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
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
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
ArthurHoaro [Mon, 27 Feb 2017 19:24:28 +0000 (20:24 +0100)]
Merge pull request #754 from ArthurHoaro/webdesign2
New default template
ArthurHoaro [Mon, 27 Feb 2017 19:20:53 +0000 (20:20 +0100)]
Set the vintage theme by default for the time being
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
ArthurHoaro [Sat, 14 Jan 2017 15:13:32 +0000 (16:13 +0100)]
Upgrade awesomplete + fix multiple autocompletion fields
ArthurHoaro [Sat, 14 Jan 2017 14:57:34 +0000 (15:57 +0100)]
Fix markdown plugin color overriding
ArthurHoaro [Sat, 14 Jan 2017 14:53:39 +0000 (15:53 +0100)]
Improve plugin_admin.js to support multiple ordered rows
ArthurHoaro [Sat, 14 Jan 2017 14:52:17 +0000 (15:52 +0100)]
Introduce the new default Shaarli template
ArthurHoaro [Sat, 14 Jan 2017 14:51:30 +0000 (15:51 +0100)]
Move default template to vintage folder
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
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.
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
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
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
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
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.
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
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>
ArthurHoaro [Fri, 20 Jan 2017 15:44:52 +0000 (16:44 +0100)]
Changelog v0.8.3
ArthurHoaro [Tue, 17 Jan 2017 17:51:40 +0000 (18:51 +0100)]
REST API - getLinks: support the visibility parameter
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
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
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
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
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
ArthurHoaro [Mon, 16 Jan 2017 12:07:53 +0000 (13:07 +0100)]
Fix redirection after link deletion
relates to #756
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
ArthurHoaro [Thu, 15 Dec 2016 10:52:31 +0000 (11:52 +0100)]
Bump version to v0.8.2
ArthurHoaro [Thu, 15 Dec 2016 10:49:41 +0000 (11:49 +0100)]
v0.8.2 Changelog
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
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
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
VirtualTam [Sun, 15 Jan 2017 18:24:17 +0000 (19:24 +0100)]
Update Changelog
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
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>
ArthurHoaro [Sun, 15 Jan 2017 16:58:19 +0000 (17:58 +0100)]
Prevent warning if HTTP_REFERER isn't set
Fixes #723
ArthurHoaro [Sun, 15 Jan 2017 16:50:16 +0000 (17:50 +0100)]
Remove CSS call for addlink toolbar plugin
Fixes #724
ArthurHoaro [Sun, 15 Jan 2017 16:46:24 +0000 (17:46 +0100)]
Prevent tag duplicate when renaming
Fixes #757
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
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
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
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>
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
ArthurHoaro [Sat, 14 Jan 2017 15:43:32 +0000 (16:43 +0100)]
Move user.css to data folder
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>
VirtualTam [Fri, 6 Jan 2017 17:54:29 +0000 (18:54 +0100)]
Cleanup: use safe boolean comparisons
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Fri, 6 Jan 2017 15:08:19 +0000 (16:08 +0100)]
Fix delete button in editlink
This one was forgotten in #682
Arthur [Fri, 6 Jan 2017 10:40:54 +0000 (11:40 +0100)]
Merge pull request #732 from ArthurHoaro/feature/theme-manager
Theme manager: improvements
VirtualTam [Thu, 5 Jan 2017 18:33:06 +0000 (19:33 +0100)]
Cleanup: explicit method visibility
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Thu, 5 Jan 2017 18:20:41 +0000 (19:20 +0100)]
Cleanup: remove unused variables
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Thu, 5 Jan 2017 15:15:51 +0000 (16:15 +0100)]
Fix permalink image alignement in daily page
ArthurHoaro [Tue, 3 Jan 2017 11:01:25 +0000 (12:01 +0100)]
Updater: keep custom theme preference with the new theme setting
ArthurHoaro [Tue, 3 Jan 2017 10:42:21 +0000 (11:42 +0100)]
Minor improvements regarding #705 (coding style, unit tests, etc.)
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>
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
Knah Tsaeb [Wed, 7 Dec 2016 10:58:25 +0000 (11:58 +0100)]
Change templates set through administration UI
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>
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
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
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
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>
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
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
ArthurHoaro [Tue, 3 Jan 2017 13:25:04 +0000 (14:25 +0100)]
Fix fatal error during the install
ArthurHoaro [Tue, 3 Jan 2017 13:17:05 +0000 (14:17 +0100)]
Hide default port in local URL behind a reverse proxy
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
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
ArthurHoaro [Fri, 16 Dec 2016 13:03:42 +0000 (14:03 +0100)]
Add opensearch to RSS and ATOM feeds
Fixes #709
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
VirtualTam [Mon, 2 Jan 2017 17:37:08 +0000 (18:37 +0100)]
API: fix Slim namespaces
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
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
ArthurHoaro [Tue, 2 Aug 2016 09:55:49 +0000 (11:55 +0200)]
Move PubSubHubbub code as a default plugin
ArthurHoaro [Tue, 2 Aug 2016 09:55:11 +0000 (11:55 +0200)]
Add plugin placeholders in RSS and ATOM feeds templates
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
ArthurHoaro [Sun, 18 Dec 2016 13:27:32 +0000 (14:27 +0100)]
Fix typo in markdown plugin meta description
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
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
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
ArthurHoaro [Thu, 15 Dec 2016 10:18:56 +0000 (11:18 +0100)]
Fix a regression: permalinks change when old links are edited
fixes #713
ArthurHoaro [Thu, 15 Dec 2016 09:57:11 +0000 (10:57 +0100)]
Fixes can login function call in loginform.html
Fixes #711
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.
ArthurHoaro [Thu, 15 Dec 2016 09:04:05 +0000 (10:04 +0100)]
PHP requirement increased to PHP 5.5 - See #599
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.
ArthurHoaro [Mon, 12 Dec 2016 02:51:48 +0000 (03:51 +0100)]
Ignore compressed tar archive
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
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>
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
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
Arthur [Mon, 12 Dec 2016 02:28:02 +0000 (03:28 +0100)]
Merge pull request #706 from ArthurHoaro/changelog
changelog update
ArthurHoaro [Mon, 12 Dec 2016 02:26:56 +0000 (03:26 +0100)]
changelog update
Arthur [Mon, 12 Dec 2016 02:15:32 +0000 (03:15 +0100)]
Merge pull request #697 from ArthurHoaro/feature/ids-bis
Link ID refactoring
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:
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.
ArthurHoaro [Mon, 28 Nov 2016 15:17:25 +0000 (16:17 +0100)]
Unit Test for the new ID system
ArthurHoaro [Mon, 28 Nov 2016 15:16:44 +0000 (16:16 +0100)]
Apply the new ID system accros the whole codebase
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.
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.
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
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