]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
ArthurHoaro [Sat, 14 Jan 2017 14:46:39 +0000 (15:46 +0100)]
Keep up with master changes
ArthurHoaro [Sat, 14 Jan 2017 14:00:43 +0000 (15:00 +0100)]
Improve header login button
ArthurHoaro [Sat, 14 Jan 2017 13:43:06 +0000 (14:43 +0100)]
Fix scrolling issue with Chrome
ArthurHoaro [Sat, 14 Jan 2017 13:15:00 +0000 (14:15 +0100)]
Fix delete buttons issues
ArthurHoaro [Sat, 14 Jan 2017 12:51:29 +0000 (13:51 +0100)]
Use latest feedbacks
ArthurHoaro [Sat, 14 Jan 2017 10:13:15 +0000 (11:13 +0100)]
Fix responsive menu
ArthurHoaro [Sat, 7 Jan 2017 17:12:24 +0000 (18:12 +0100)]
tmp
ArthurHoaro [Fri, 6 Jan 2017 14:56:18 +0000 (15:56 +0100)]
fix delete button
ArthurHoaro [Fri, 6 Jan 2017 14:38:31 +0000 (15:38 +0100)]
Simplify admin fields, change home icon
ArthurHoaro [Fri, 6 Jan 2017 13:50:09 +0000 (14:50 +0100)]
A lot of minor improvements, cleanup, narrow mobile side blank spaces
ArthurHoaro [Wed, 4 Jan 2017 12:18:18 +0000 (13:18 +0100)]
Takin theme reviews into account
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
ArthurHoaro [Sun, 18 Dec 2016 13:32:41 +0000 (14:32 +0100)]
More merge mess up fixes
ArthurHoaro [Sun, 18 Dec 2016 13:23:24 +0000 (14:23 +0100)]
Apply v0.8.2 changes, add opensearch tpl, add favicon
ArthurHoaro [Sun, 18 Dec 2016 13:22:51 +0000 (14:22 +0100)]
Fix NetscapeImport merge
ArthurHoaro [Sun, 18 Dec 2016 11:40:27 +0000 (12:40 +0100)]
merge
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 [Mon, 12 Dec 2016 05:01:31 +0000 (06:01 +0100)]
Display link count only on linklist
ArthurHoaro [Mon, 12 Dec 2016 04:56:49 +0000 (05:56 +0100)]
Remove the green header
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
ArthurHoaro [Sat, 3 Dec 2016 08:17:14 +0000 (09:17 +0100)]
Add latest merged changes to the CHANGELOG
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
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.
ArthurHoaro [Thu, 1 Dec 2016 10:40:24 +0000 (11:40 +0100)]
Describe markdown HTML rendering and display a warning
Fixes #688
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:
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
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.
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.
Teromene [Tue, 29 Nov 2016 11:30:37 +0000 (11:30 +0000)]
Show page title when sharing via Firefox Social.
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.
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
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
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.
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
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
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
VirtualTam [Sun, 6 Nov 2016 13:38:56 +0000 (14:38 +0100)]
Merge pull request #683 from ArthurHoaro/plugins/w3ccompliance
Plugins W3C compliance
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>
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>
ArthurHoaro [Sat, 5 Nov 2016 14:12:23 +0000 (15:12 +0100)]
Plugins W3C compliance
Add an alt attribute to images
ArthurHoaro [Sat, 5 Nov 2016 14:09:32 +0000 (15:09 +0100)]
W3C Compliance
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
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!
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
ArthurHoaro [Fri, 21 Oct 2016 09:48:51 +0000 (11:48 +0200)]
Use Composer to import Parsedown library
Reference #613
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>
VirtualTam [Thu, 20 Oct 2016 19:19:51 +0000 (21:19 +0200)]
LinkDB: update datastore method names
Relates to https://github.com/shaarli/Shaarli/issues/95
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Thu, 20 Oct 2016 19:10:56 +0000 (21:10 +0200)]
LinkDB: do not prefix privates with an underscore
Relates to #95
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Wed, 19 Oct 2016 09:05:20 +0000 (11:05 +0200)]
Fix hashtags links in Feeds
Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
ArthurHoaro [Thu, 20 Oct 2016 09:31:52 +0000 (11:31 +0200)]
Minor code cleanup: PHPDoc, spelling, unused variables, etc.
VirtualTam [Wed, 19 Oct 2016 22:19:52 +0000 (00:19 +0200)]
Travis: enable Composer cache
See:
- https://docs.travis-ci.com/user/caching/
- https://blog.wyrihaximus.net/2015/07/composer-cache-on-travis/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 16 Oct 2016 17:33:29 +0000 (19:33 +0200)]
Update release archive generation
Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/shaarli/Shaarli/pull/608
Modifications:
- match the arborescence of the archives provided by GitHub
- generate compressed tarballs
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 18 Oct 2016 17:44:19 +0000 (19:44 +0200)]
CHANGELOG.md: add an UNPUBLISHED draft for v0.8.1
Relates to #663
See http://keepachangelog.com/en/0.3.0/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 17 Oct 2016 19:11:05 +0000 (21:11 +0200)]
CHANGELOG.md: improve formatting, fix typos
Relates to #663
See http://keepachangelog.com/en/0.3.0/
See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history
Modifications:
- keep 2 newlines between each release section
- keep reasonable line lengths (< 90 characters)
- remove extra final dots (only kept when there are several sentences)
- fix typos
- reword/rewrite/curate legacy changelog entries
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 17 Oct 2016 17:24:52 +0000 (19:24 +0200)]
CHANGELOG.md: add legacy Shaarli releases
Relates to https://github.com/shaarli/Shaarli/issues/663
See http://keepachangelog.com/en/0.3.0/
See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history
See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history&do=revisions
See http://sebsauvage.net/rhaa/index.php?q=shaarli
These entries correspond to the original (legacy) Shaarli release
notes by Sebsauvage.
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 17 Oct 2016 16:36:12 +0000 (18:36 +0200)]
CHANGELOG.md: add unpublished Shaarli Community releases
Relates to https://github.com/shaarli/Shaarli/issues/663
See http://keepachangelog.com/en/0.3.0/
These entries correspond to the first lightweight tags present on the
Shaarli Community repository. As there are no corresponding release (notes),
the changelog is based on relevant elements from the Git commit log.
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 17 Oct 2016 16:00:29 +0000 (18:00 +0200)]
CHANGELOG.md: add published Shaarli Community releases
Relates to https://github.com/shaarli/Shaarli/issues/663
See http://keepachangelog.com/en/0.3.0/
This file mirrors the content of the Shaarli release notes available at
https://github.com/shaarli/Shaarli/releases
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Mon, 3 Oct 2016 07:43:49 +0000 (09:43 +0200)]
Isso comments plugin
Use Isso client to let visitors comments on permalinks
VirtualTam [Sun, 16 Oct 2016 18:52:35 +0000 (20:52 +0200)]
Fix: return the proper value for the "self" feed attribute
Fixes https://github.com/shaarli/Shaarli/issues/629
Closes https://github.com/shaarli/Shaarli/pull/630
Note: you might need to empty the "pagecache" directory for the
fix to be taken into account
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 16 Oct 2016 15:41:08 +0000 (17:41 +0200)]
Cleanup: explicitely loop over PHP variables in templates
Relates to https://github.com/shaarli/Shaarli/issues/613
Before: {loop="someVariable"}
After: {loop="$someVariable"}
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Fri, 14 Oct 2016 11:22:58 +0000 (13:22 +0200)]
New init function for plugins, supports errors reporting
All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded.
This function is aware of the config, and can return initialization errors, which are displayed in the header template.
Note that the previous error system hack no longer work.
ArthurHoaro [Fri, 14 Oct 2016 10:48:01 +0000 (12:48 +0200)]
Bugfix: display plugin parameter description only if it exists
ArthurHoaro [Sat, 5 Nov 2016 12:28:43 +0000 (13:28 +0100)]
Use new header plugin placeholders
ArthurHoaro [Wed, 2 Nov 2016 15:34:10 +0000 (16:34 +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
ArthurHoaro [Fri, 4 Nov 2016 12:48:33 +0000 (13:48 +0100)]
Resize editlink textarea while editing an existing shaare
ArthurHoaro [Thu, 3 Nov 2016 16:18:50 +0000 (17:18 +0100)]
install template
ArthurHoaro [Wed, 2 Nov 2016 14:31:40 +0000 (15:31 +0100)]
add dailyrss and export templates
ArthurHoaro [Wed, 2 Nov 2016 14:31:09 +0000 (15:31 +0100)]
Minor adjustments
ArthurHoaro [Wed, 2 Nov 2016 14:29:52 +0000 (15:29 +0100)]
Fix an issue with textarea resizing
ArthurHoaro [Thu, 20 Oct 2016 13:44:27 +0000 (15:44 +0200)]
daily page internationalization
ArthurHoaro [Thu, 20 Oct 2016 13:39:04 +0000 (15:39 +0200)]
Use a class for 'window' titles instead of h2
ArthurHoaro [Thu, 20 Oct 2016 11:24:54 +0000 (13:24 +0200)]
Daily template
ArthurHoaro [Sat, 15 Oct 2016 15:33:18 +0000 (17:33 +0200)]
picwall template
ArthurHoaro [Sat, 15 Oct 2016 15:19:56 +0000 (17:19 +0200)]
tag cloud template
ArthurHoaro [Sat, 15 Oct 2016 15:01:37 +0000 (17:01 +0200)]
Import/export templates and minor fixes
Teromene [Tue, 11 Oct 2016 15:37:42 +0000 (16:37 +0100)]
Archive.org plugin: do not propose archival of private notes
Fixes #637
ArthurHoaro [Wed, 3 Aug 2016 07:45:28 +0000 (09:45 +0200)]
Set updated date for items in feeds
RSS doesn't support updated date for items, so we use the ATOM extension.
Updated dates also bump the global update
ArthurHoaro [Wed, 3 Aug 2016 07:44:04 +0000 (09:44 +0200)]
Save the update date in LinkDB and pass it to linklist templates
It can be used as a timestamp by templates under the key 'updated_timestamp'.
ArthurHoaro [Wed, 3 Aug 2016 08:36:47 +0000 (10:36 +0200)]
Add trusted IPs in config and try to ban forwarded IP on failed login
* Add a new settings (which needs to be manually set): `security.trusted_proxies`
* On login failure, if the `REMOTE_ADDR` is in the trusted proxies, try to retrieve the forwarded IP in headers.
* If found, the client address is added in ipbans, else we do nothing.
Fixes #409
ArthurHoaro [Wed, 12 Oct 2016 10:36:59 +0000 (12:36 +0200)]
Bump version to v0.8.0
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
Gary Marigliano [Wed, 14 Sep 2016 09:08:11 +0000 (11:08 +0200)]
Add a missing backslash in stable Dockerfile version
VirtualTam [Sun, 4 Sep 2016 21:57:21 +0000 (23:57 +0200)]
composer: display an error message if the autoload script is missing
Closes https://github.com/shaarli/Shaarli/issues/645
Relates to https://github.com/shaarli/Shaarli/issues/607
Signed-off-by: VirtualTam <virtualtam@flibidi.net>