]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
Arthur [Thu, 18 Feb 2016 18:40:19 +0000 (19:40 +0100)]
Merge pull request #470 from ArthurHoaro/description-trim
Fixes #468: don't trim description
ArthurHoaro [Wed, 10 Feb 2016 10:31:45 +0000 (11:31 +0100)]
Fixes #468: don't trim description
Spaces at the start of shaares can be intended. Eg: markdown plugin.
#468
Arthur [Mon, 15 Feb 2016 20:43:07 +0000 (21:43 +0100)]
Merge pull request #455 from ArthurHoaro/improved-search-454
Improved search: combine AND, exact terms and exclude search.
ArthurHoaro [Tue, 2 Feb 2016 18:42:48 +0000 (19:42 +0100)]
Support text search across link fields.
ArthurHoaro [Mon, 1 Feb 2016 19:33:58 +0000 (20:33 +0100)]
Improved search: combine AND, exact terms and exclude search.
Arthur [Mon, 15 Feb 2016 20:26:33 +0000 (21:26 +0100)]
Merge pull request #461 from ArthurHoaro/tagcloud-sort
Fixes #456: Tag cloud does not sort tags (fully) alphabetically
Arthur [Mon, 15 Feb 2016 20:22:35 +0000 (21:22 +0100)]
Merge pull request #447 from ArthurHoaro/hidden-tags
Private/Hidden tags
ArthurHoaro [Thu, 21 Jan 2016 19:18:44 +0000 (20:18 +0100)]
Private/Hidden tags
Tags starting with a dot '.' are now private.
They can only be seen and searched when logged in.
Fixes #315
Arthur [Mon, 15 Feb 2016 20:12:39 +0000 (21:12 +0100)]
Merge pull request #446 from ArthurHoaro/search-tag-exclude
Add exclusion in tag search
ArthurHoaro [Mon, 15 Feb 2016 20:06:17 +0000 (21:06 +0100)]
Remove first '-' char when saving tags
ArthurHoaro [Wed, 20 Jan 2016 22:34:33 +0000 (23:34 +0100)]
Add exclusion in tag search
* Searching '-mytag' will now exlude all shaares with 'mytag' tag.
* All tags starting with a '-' are renamed without it (through the Updater).
* Unit tests.
Minor code changes:
* LinkDB->filter() can now take no parameters (get all link depending on logged status).
* tagsStrToArray() is now static and filters blank tags.
Arthur [Mon, 15 Feb 2016 19:38:31 +0000 (20:38 +0100)]
Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url
Fixes typo in plugin admin redirection URL
Arthur [Mon, 15 Feb 2016 19:38:10 +0000 (20:38 +0100)]
Merge pull request #460 from ArthurHoaro/440-editlink-404
Fixes #440 - 404 error after editing a link
Arthur [Mon, 15 Feb 2016 19:36:42 +0000 (20:36 +0100)]
Merge pull request #442 from ArthurHoaro/updater
Introduce the Updater class which
ArthurHoaro [Mon, 15 Feb 2016 19:34:44 +0000 (20:34 +0100)]
Fixes typo in plugin admin redirection URL
ArthurHoaro [Tue, 12 Jan 2016 18:50:48 +0000 (19:50 +0100)]
Introduce the Updater class which
* contains methods designed to be run once.
* is able to upgrade the datastore or the configuration.
* is based on methods names, stored in a text file with ';' separator (updates.txt).
* begins with existing function 'mergeDeprecatedConfigFile()' (options.php).
Arthur [Thu, 11 Feb 2016 19:07:16 +0000 (20:07 +0100)]
Merge pull request #473 from ArthurHoaro/commonhook-order
Common hooks: process includes before header/footer
ArthurHoaro [Wed, 10 Feb 2016 14:40:11 +0000 (15:40 +0100)]
Common hooks: process includes before header/footer
Arthur [Wed, 10 Feb 2016 12:09:05 +0000 (13:09 +0100)]
Merge pull request #472 from ArthurHoaro/wallabag-version-parameter
Wallabag plugin: add version parameter in the meta file
ArthurHoaro [Wed, 10 Feb 2016 12:08:19 +0000 (13:08 +0100)]
Wallabag plugin: add version parameter in the meta file
ArthurHoaro [Fri, 5 Feb 2016 15:10:26 +0000 (16:10 +0100)]
Fixes #456: Tag cloud does not sort tags (fully) alphabetically
* Use Collator class to sort tags using the locale (in PECL intl, included in most PHP installation).
* Use strcasecmp if Collator is not found.
Both sorts are case insensitive.
Arthur [Thu, 4 Feb 2016 19:29:02 +0000 (20:29 +0100)]
Merge pull request #458 from ArthurHoaro/plugins-init-parameters
Initialize plugin parameters array to avoid unnecessary warning.
Arthur [Thu, 4 Feb 2016 19:28:52 +0000 (20:28 +0100)]
Merge pull request #457 from ArthurHoaro/updatecheck-warning
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning
ArthurHoaro [Thu, 4 Feb 2016 19:24:17 +0000 (20:24 +0100)]
Fixes #440 - 404 error after editing a link
Remove unnecessary escape().
ArthurHoaro [Thu, 4 Feb 2016 18:58:47 +0000 (19:58 +0100)]
Code cleanup: index.php - save_edit
ArthurHoaro [Tue, 2 Feb 2016 20:07:25 +0000 (21:07 +0100)]
Initialize plugin parameters array to avoid unnecessary warning.
ArthurHoaro [Tue, 2 Feb 2016 19:10:49 +0000 (20:10 +0100)]
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning.
Arthur [Mon, 1 Feb 2016 18:21:47 +0000 (19:21 +0100)]
Merge pull request #453 from ArthurHoaro/pr450
Implemented a little more sophisticated searching (squashed)
Florian Voigt [Sun, 24 Jan 2016 06:13:11 +0000 (06:13 +0000)]
Implemented searching for a phrase in double-quotes or all words in no particular order.
+ unit tests
Arthur [Sun, 31 Jan 2016 18:47:49 +0000 (19:47 +0100)]
Merge pull request #452 from ArthurHoaro/v0.6.3
Bump version to v0.6.3
ArthurHoaro [Sun, 31 Jan 2016 18:32:22 +0000 (19:32 +0100)]
Bump version to v0.6.3
Arthur [Sun, 31 Jan 2016 18:25:29 +0000 (19:25 +0100)]
Merge pull request #451 from ArthurHoaro/markdown-gitdiff
Fixes forced git changes
ArthurHoaro [Sun, 31 Jan 2016 18:22:14 +0000 (19:22 +0100)]
Fixes forced git changes
Probably related to the introduction of .gitattribute with forced line ending.
Arthur [Sun, 31 Jan 2016 18:00:13 +0000 (19:00 +0100)]
Merge pull request #388 from ArthurHoaro/pluginadmin
Fixes #378 - Plugin administration UI.
Arthur [Sun, 31 Jan 2016 17:57:29 +0000 (18:57 +0100)]
Merge pull request #379 from ArthurHoaro/plugin-markdown
PLUGIN Markdown
ArthurHoaro [Wed, 18 Nov 2015 16:40:42 +0000 (17:40 +0100)]
Fixes #378 - Plugin administration UI.
Arthur [Sun, 31 Jan 2016 16:50:07 +0000 (17:50 +0100)]
Merge pull request #448 from shaarli/whitespace
remove whitespace
nodiscc [Fri, 22 Jan 2016 14:00:18 +0000 (15:00 +0100)]
fix whitespace
Arthur [Thu, 21 Jan 2016 18:27:00 +0000 (19:27 +0100)]
Merge pull request #444 from dimtion/404_template
Create 404 template
Dimtion [Wed, 20 Jan 2016 09:57:07 +0000 (10:57 +0100)]
Create 404 template
Solve #430 for links
ArthurHoaro [Wed, 20 Jan 2016 21:51:56 +0000 (22:51 +0100)]
Bugfix: prevent LinkFilter to work on outdated data.
VirtualTam [Sun, 17 Jan 2016 23:29:14 +0000 (00:29 +0100)]
Merge pull request #441 from virtualtam/tests/check-file-permissions
tests: add a make target to check file permissions
VirtualTam [Sun, 17 Jan 2016 23:28:21 +0000 (00:28 +0100)]
Merge pull request #443 from virtualtam/fix/logm-eol
fix: use PHP_EOL for carriage returns in file logs
VirtualTam [Sun, 17 Jan 2016 23:24:36 +0000 (00:24 +0100)]
fix: use PHP_EOL for carriage returns in file logs
Relates to #436
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 17 Jan 2016 19:48:39 +0000 (20:48 +0100)]
tests: add a make target to check file permissions
Additions:
- [makefile] check versioned files are not executable
- [travis] call the new make target
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 17 Jan 2016 19:11:42 +0000 (20:11 +0100)]
Merge pull request #438 from virtualtam/utils/logm/date-format
Logging: improve formatting to enable fail2ban parsing
VirtualTam [Sat, 16 Jan 2016 15:16:56 +0000 (16:16 +0100)]
Logging: improve formatting to enable fail2ban parsing
Fixes #436
Modifications:
- remove calls to strval() on safe data
- update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s'
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 16 Jan 2016 15:10:14 +0000 (16:10 +0100)]
Merge pull request #437 from virtualtam/refactor/utils/logm
Logging: move logm() from index.php to application/Utils.php
VirtualTam [Sat, 16 Jan 2016 14:48:26 +0000 (15:48 +0100)]
Logging: move logm() from index.php to application/Utils.php
Relates to #436
Modifications:
- inject dependencies to global variables ($_SERVER, $GLOBALS)
- apply coding conventions
- add test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 11 Jan 2016 20:47:00 +0000 (21:47 +0100)]
Merge pull request #432 from ArthurHoaro/title-retrieve
Fixes #410 - Retrieve title fails in multiple cases
ArthurHoaro [Mon, 4 Jan 2016 09:45:54 +0000 (10:45 +0100)]
Fixes #410 - Retrieve title fails in multiple cases
* `get_http_url()` renamed to `get_http_response()`.
* Use the same HTTP context to retrieve response headers and content.
* Follow HTTP 301 and 302 redirections to retrieve the title (default max 3 redirections).
* Add `LinkUtils` to extract titles and charset.
* Try to retrieve charset from HTTP headers first (new), then HTML content.
* Use mb_string to re-encode title if necessary.
ArthurHoaro [Wed, 6 Jan 2016 19:40:17 +0000 (20:40 +0100)]
Git *wants* to rewrite this file in the exact same way...
Probably a line ending issue...
Arthur [Wed, 6 Jan 2016 18:57:42 +0000 (19:57 +0100)]
Merge pull request #424 from ArthurHoaro/search
Link filter refactoring
ArthurHoaro [Wed, 6 Jan 2016 18:54:44 +0000 (19:54 +0100)]
Fixes a bug preventing to remove a tag with special chars when searching
ArthurHoaro [Sun, 3 Jan 2016 14:29:15 +0000 (15:29 +0100)]
Fixes #426 - Do not filter with blank tags.
ArthurHoaro [Sun, 27 Dec 2015 09:08:20 +0000 (10:08 +0100)]
Link filter refactoring
* introduce class LinkFilter to handle link filter operation (and lighten LinkDB).
* handle 'private only' in filtering.
* update template to prefill search fields with current search terms.
* coding style.
* unit test (mostly move from LinkDB to LinkFilter).
PS: preparation for #358 #315 and 'AND' search.
ArthurHoaro [Tue, 17 Nov 2015 20:01:11 +0000 (21:01 +0100)]
PLUGIN Markdown
Parse link description in Markdown (HTML) before rendering.
* hard remove of Shaarli's HTML before parsing.
* Using Parsedown <https://github.com/erusev/parsedown> PHP lib.
* Includes basic markdown CSS.
* Style: removed 400px height max limit for shaares.
* Unit tests.
VirtualTam [Sun, 3 Jan 2016 15:54:13 +0000 (16:54 +0100)]
Merge pull request #429 from ArthurHoaro/changetag-buttons
Fixes #428: validate buttons presence instead of value
ArthurHoaro [Sun, 3 Jan 2016 13:42:43 +0000 (14:42 +0100)]
Fixes #428: validate buttons presence instead of value
Also adds a validation where renaming with 'fromtag' specified and empty 'totag'.
It was causing a 404, now it just re-render the form.
VirtualTam [Sat, 2 Jan 2016 19:09:29 +0000 (20:09 +0100)]
Merge pull request #417 from ArthurHoaro/wallabag-improve
Wallabag plugin improvement
VirtualTam [Sat, 2 Jan 2016 18:19:16 +0000 (19:19 +0100)]
Merge pull request #423 from virtualtam/docker
Docker: move Dockerfiles to the main repository
VirtualTam [Thu, 24 Dec 2015 16:17:46 +0000 (17:17 +0100)]
Docker: move Dockerfiles to the main repository
Relates to #420
Fixes:
- [all] remove Nginx' 'server_name' attribute
- [dev] create the phpinfo() script from the Dockerfile
Modifications:
- [all] remove documentation/guide (to be added to the wiki)
- [all] update maintainer information
- [prod] differentiate 'master' (:latest) and 'stable' (:stable) images
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Tue, 22 Dec 2015 09:20:27 +0000 (10:20 +0100)]
Wallabag plugin improvement
* Fixes a bug where URL weren't properly encoded.
* Adds Wallabag V2 support.
* Adds a URL function to handle trailing slash.
* UT.
* README updated.
VirtualTam [Thu, 24 Dec 2015 15:01:23 +0000 (16:01 +0100)]
Merge pull request #419 from virtualtam/gitattributes
Add a .gitattributes to ease repository management
VirtualTam [Wed, 23 Dec 2015 18:11:33 +0000 (19:11 +0100)]
Add a .gitattributes to ease repository management
Features:
- enforce LF (Unix) line endings
- omit dev/test resources & code from Git(Hub) archives
- treat minified resources (CSS, JS) as binaries to avoid cluttered diffs
Resources:
- http://git-scm.com/docs/gitattributes
- https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
- https://help.github.com/articles/dealing-with-line-endings/
- http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/
- https://github.com/Danimoth/gitattributes
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Wed, 23 Dec 2015 18:54:37 +0000 (19:54 +0100)]
Bump version to v0.6.2
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Wed, 23 Dec 2015 18:50:33 +0000 (19:50 +0100)]
Merge pull request #418 from ArthurHoaro/qrcode-bug
QRCode plugin: use url instead of real_url
ArthurHoaro [Tue, 22 Dec 2015 09:24:31 +0000 (10:24 +0100)]
QRCode plugin: use url instead of real_url
Fixes #414 and avoid usage of redirector in QRCode.
Also fixed a bug with URL encoding.
VirtualTam [Mon, 21 Dec 2015 21:31:45 +0000 (22:31 +0100)]
Merge pull request #413 from ArthurHoaro/qrcode-effect
Fixes QRCode style
ArthurHoaro [Sun, 13 Dec 2015 19:44:22 +0000 (20:44 +0100)]
Fixes QRCode style
* fixes a regression misplacing QRCode popup.
* adds a 'show' class in JS to handle CSS transition.
VirtualTam [Wed, 9 Dec 2015 00:00:52 +0000 (01:00 +0100)]
Merge pull request #406 from ArthurHoaro/qrcode-style
Fixes #403 : Remove QRCode in core CSS and fix plugin layout
VirtualTam [Tue, 8 Dec 2015 23:55:52 +0000 (00:55 +0100)]
Merge pull request #408 from ArthurHoaro/gototop
Adding a new placeholder in render_footer hook.
VirtualTam [Tue, 8 Dec 2015 20:41:31 +0000 (21:41 +0100)]
Merge pull request #407 from ArthurHoaro/daily-router
Fixes #402: build the daily page through renderPage()
ArthurHoaro [Mon, 7 Dec 2015 10:54:18 +0000 (11:54 +0100)]
Adding a new placeholder in render_footer hook.
Allow free elements at the end of the page.
ArthurHoaro [Mon, 7 Dec 2015 10:25:11 +0000 (11:25 +0100)]
Fixes #403: build the daily page through renderPage()
* new entry in the Router for daily page.
* add an always displayed button in demo_plugin
ArthurHoaro [Tue, 8 Dec 2015 14:09:17 +0000 (15:09 +0100)]
Reset permissions on index.php (changed in
18cca483b0b51f190bd875fc4273a0fff3fedebd ).
VirtualTam [Mon, 7 Dec 2015 20:48:57 +0000 (21:48 +0100)]
Merge pull request #393 from ArthurHoaro/tools-js-indent
Minimal indent of tools.html
ArthurHoaro [Mon, 7 Dec 2015 09:50:28 +0000 (10:50 +0100)]
Fixes #403 : Remove QRCode in core CSS and fix plugin layout
ArthurHoaro [Thu, 26 Nov 2015 20:09:09 +0000 (21:09 +0100)]
Minimal indent of tools.html
Arthur [Mon, 7 Dec 2015 09:54:45 +0000 (10:54 +0100)]
Merge pull request #405 from ArthurHoaro/titles-fix
Temporary fix for head titles
ArthurHoaro [Mon, 7 Dec 2015 09:29:24 +0000 (10:29 +0100)]
Temporary fix for head titles
only set the title on permalink.
VirtualTam [Sun, 6 Dec 2015 16:40:29 +0000 (17:40 +0100)]
Merge pull request #400 from ArthurHoaro/title-399
Fixes #399 - show single link title as page title
ArthurHoaro [Sat, 5 Dec 2015 10:05:08 +0000 (11:05 +0100)]
Fixes #399 - show single link title as page title
VirtualTam [Thu, 3 Dec 2015 20:13:51 +0000 (21:13 +0100)]
Merge pull request #398 from virtualtam/fix/initialize-version-vars
fix: assign template variables to empty values so they can be evaluated
VirtualTam [Thu, 3 Dec 2015 19:30:46 +0000 (20:30 +0100)]
fix: assign template variables to empty values so they can be evaluated
Regression introduced in #394
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Thu, 3 Dec 2015 18:27:34 +0000 (19:27 +0100)]
Remove dummycache folder on tear down.
VirtualTam [Tue, 1 Dec 2015 20:25:50 +0000 (21:25 +0100)]
Bump version to v0.6.1
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
nodiscc [Mon, 30 Nov 2015 22:17:01 +0000 (23:17 +0100)]
[doc] add apache2 CSP config
nodiscc [Mon, 30 Nov 2015 21:43:28 +0000 (22:43 +0100)]
remove obsolete doc
VirtualTam [Mon, 30 Nov 2015 01:03:32 +0000 (02:03 +0100)]
Merge pull request #394 from virtualtam/app-utils/check-update/stable-branch
application: default to the "stable" branch for update checks
VirtualTam [Thu, 26 Nov 2015 23:10:43 +0000 (00:10 +0100)]
application: default to the "stable" branch for update checks
Relates to #372
Relates to #390
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Thu, 26 Nov 2015 22:29:20 +0000 (23:29 +0100)]
Merge pull request #390 from virtualtam/app-utils/check-update
application: refactor version checks, move to ApplicationUtils
VirtualTam [Tue, 24 Nov 2015 01:52:22 +0000 (02:52 +0100)]
application: refactor version checks, move to ApplicationUtils
Relates to #372
Modifications:
- move checkUpdate() to ApplicationUtils
- reduce file I/O operations during version checks
- apply coding conventions
- add test coverage
Tools:
- create a sandbox directory for tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Thu, 26 Nov 2015 22:05:58 +0000 (23:05 +0100)]
Merge pull request #355 from ArthurHoaro/redirector-url
URL encode links when a redirector is set
ArthurHoaro [Thu, 26 Nov 2015 19:51:53 +0000 (20:51 +0100)]
ArthurHoaro [Fri, 18 Sep 2015 11:26:36 +0000 (13:26 +0200)]
URL encode links when a redirector is set.
Fixes #328 - URL encode links when a redirector is set
* WARNING - template edit - new variable available : "real_url"
Contains the final real url (redirected or any other change on original URL)
* Don't redirect shaares link in RSS/Atom.
* Affects links shaared in description.
* Move text2clickable and keepMultipleSpaces to Utils.php + unit test
UPDATE:
* keepMultipleSpaces renamed to space2nbsp
* space2nbsp improved to handle single space at line beginning
* links in text description aren't 'nofollow' anymore
Arthur [Wed, 25 Nov 2015 14:07:20 +0000 (15:07 +0100)]
Merge pull request #391 from nicolasdanelon/patch-1
json_encode removed
Nicolas Danelon [Tue, 24 Nov 2015 15:29:26 +0000 (12:29 -0300)]
cleanup: remove json_encode() (built-in since PHP 5.2)
See http://php.net/manual/en/function.json-encode.php
Legacy since php 5.2.x . If php5.3 is required for the install script
VirtualTam [Tue, 24 Nov 2015 00:42:52 +0000 (01:42 +0100)]
Merge pull request #389 from virtualtam/utils/check-php-version
application: move checkPHPVersion from Utils to ApplicationUtils
VirtualTam [Tue, 24 Nov 2015 00:36:12 +0000 (01:36 +0100)]
application: move checkPHPVersion from Utils to ApplicationUtils
Relates to #372
Signed-off-by: VirtualTam <virtualtam@flibidi.net>