]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
8 years agoMerge pull request #470 from ArthurHoaro/description-trim
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

8 years agoFixes #468: don't trim description 470/head
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

8 years agoMerge pull request #455 from ArthurHoaro/improved-search-454
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.

8 years agoSupport text search across link fields. 455/head
ArthurHoaro [Tue, 2 Feb 2016 18:42:48 +0000 (19:42 +0100)] 
Support text search across link fields.

8 years agoImproved search: combine AND, exact terms and exclude search.
ArthurHoaro [Mon, 1 Feb 2016 19:33:58 +0000 (20:33 +0100)] 
Improved search: combine AND, exact terms and exclude search.

8 years agoMerge pull request #461 from ArthurHoaro/tagcloud-sort
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

8 years agoMerge pull request #447 from ArthurHoaro/hidden-tags
Arthur [Mon, 15 Feb 2016 20:22:35 +0000 (21:22 +0100)] 
Merge pull request #447 from ArthurHoaro/hidden-tags

Private/Hidden tags

8 years agoPrivate/Hidden tags 447/head
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

8 years agoMerge pull request #446 from ArthurHoaro/search-tag-exclude
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

8 years agoRemove first '-' char when saving tags 446/head
ArthurHoaro [Mon, 15 Feb 2016 20:06:17 +0000 (21:06 +0100)] 
Remove first '-' char when saving tags

8 years agoAdd exclusion in tag search
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.

8 years agoMerge pull request #479 from ArthurHoaro/pluginsadmin-error-url
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

8 years agoMerge pull request #460 from ArthurHoaro/440-editlink-404
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

8 years agoMerge pull request #442 from ArthurHoaro/updater
Arthur [Mon, 15 Feb 2016 19:36:42 +0000 (20:36 +0100)] 
Merge pull request #442 from ArthurHoaro/updater

Introduce the Updater class which

8 years agoFixes typo in plugin admin redirection URL 479/head
ArthurHoaro [Mon, 15 Feb 2016 19:34:44 +0000 (20:34 +0100)] 
Fixes typo in plugin admin redirection URL

8 years agoIntroduce the Updater class which 442/head
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).

8 years agoMerge pull request #473 from ArthurHoaro/commonhook-order
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

8 years agoCommon hooks: process includes before header/footer 473/head
ArthurHoaro [Wed, 10 Feb 2016 14:40:11 +0000 (15:40 +0100)] 
Common hooks: process includes before header/footer

8 years agoMerge pull request #472 from ArthurHoaro/wallabag-version-parameter
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

8 years agoWallabag plugin: add version parameter in the meta file 472/head
ArthurHoaro [Wed, 10 Feb 2016 12:08:19 +0000 (13:08 +0100)] 
Wallabag plugin: add version parameter in the meta file

8 years agoFixes #456: Tag cloud does not sort tags (fully) alphabetically 461/head
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.

8 years agoMerge pull request #458 from ArthurHoaro/plugins-init-parameters
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.

8 years agoMerge pull request #457 from ArthurHoaro/updatecheck-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

8 years agoFixes #440 - 404 error after editing a link 460/head
ArthurHoaro [Thu, 4 Feb 2016 19:24:17 +0000 (20:24 +0100)] 
Fixes #440 - 404 error after editing a link

Remove unnecessary escape().

8 years agoCode cleanup: index.php - save_edit
ArthurHoaro [Thu, 4 Feb 2016 18:58:47 +0000 (19:58 +0100)] 
Code cleanup: index.php - save_edit

8 years agoInitialize plugin parameters array to avoid unnecessary warning. 458/head
ArthurHoaro [Tue, 2 Feb 2016 20:07:25 +0000 (21:07 +0100)] 
Initialize plugin parameters array to avoid unnecessary warning.

8 years agoAdd a default value to ENABLE_UPDATECHECK to avoid unnecessary warning. 457/head
ArthurHoaro [Tue, 2 Feb 2016 19:10:49 +0000 (20:10 +0100)] 
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning.

8 years agoMerge pull request #453 from ArthurHoaro/pr450
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)

8 years agoImplemented searching for a phrase in double-quotes or all words in no particular... 453/head
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

8 years agoMerge pull request #452 from ArthurHoaro/v0.6.3 v0.6.3
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

8 years agoBump version to v0.6.3 452/head
ArthurHoaro [Sun, 31 Jan 2016 18:32:22 +0000 (19:32 +0100)] 
Bump version to v0.6.3

8 years agoMerge pull request #451 from ArthurHoaro/markdown-gitdiff
Arthur [Sun, 31 Jan 2016 18:25:29 +0000 (19:25 +0100)] 
Merge pull request #451 from ArthurHoaro/markdown-gitdiff

Fixes forced git changes

8 years agoFixes forced git changes 451/head
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.

8 years agoMerge pull request #388 from ArthurHoaro/pluginadmin
Arthur [Sun, 31 Jan 2016 18:00:13 +0000 (19:00 +0100)] 
Merge pull request #388 from ArthurHoaro/pluginadmin

Fixes #378 - Plugin administration UI.

8 years agoMerge pull request #379 from ArthurHoaro/plugin-markdown
Arthur [Sun, 31 Jan 2016 17:57:29 +0000 (18:57 +0100)] 
Merge pull request #379 from ArthurHoaro/plugin-markdown

PLUGIN Markdown

8 years agoFixes #378 - Plugin administration UI. 388/head
ArthurHoaro [Wed, 18 Nov 2015 16:40:42 +0000 (17:40 +0100)] 
Fixes #378 - Plugin administration UI.

8 years agoMerge pull request #448 from shaarli/whitespace
Arthur [Sun, 31 Jan 2016 16:50:07 +0000 (17:50 +0100)] 
Merge pull request #448 from shaarli/whitespace

remove whitespace

8 years agofix whitespace 448/head
nodiscc [Fri, 22 Jan 2016 14:00:18 +0000 (15:00 +0100)] 
fix whitespace

8 years agoMerge pull request #444 from dimtion/404_template
Arthur [Thu, 21 Jan 2016 18:27:00 +0000 (19:27 +0100)] 
Merge pull request #444 from dimtion/404_template

Create 404 template

8 years agoCreate 404 template 444/head
Dimtion [Wed, 20 Jan 2016 09:57:07 +0000 (10:57 +0100)] 
Create 404 template

Solve #430 for links

8 years agoBugfix: prevent LinkFilter to work on outdated data.
ArthurHoaro [Wed, 20 Jan 2016 21:51:56 +0000 (22:51 +0100)] 
Bugfix: prevent LinkFilter to work on outdated data.

8 years agoMerge pull request #441 from virtualtam/tests/check-file-permissions
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

8 years agoMerge pull request #443 from virtualtam/fix/logm-eol
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

8 years agofix: use PHP_EOL for carriage returns in file logs 443/head
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>
8 years agotests: add a make target to check file permissions 441/head
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>
8 years agoMerge pull request #438 from virtualtam/utils/logm/date-format
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

8 years agoLogging: improve formatting to enable fail2ban parsing 438/head
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>
8 years agoMerge pull request #437 from virtualtam/refactor/utils/logm
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

8 years agoLogging: move logm() from index.php to application/Utils.php 437/head
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>
8 years agoMerge pull request #432 from ArthurHoaro/title-retrieve
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

8 years agoFixes #410 - Retrieve title fails in multiple cases 432/head
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.

8 years agoGit *wants* to rewrite this file in the exact same way...
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...

8 years agoMerge pull request #424 from ArthurHoaro/search
Arthur [Wed, 6 Jan 2016 18:57:42 +0000 (19:57 +0100)] 
Merge pull request #424 from ArthurHoaro/search

Link filter refactoring

8 years agoFixes a bug preventing to remove a tag with special chars when searching 424/head
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

8 years agoFixes #426 - Do not filter with blank tags.
ArthurHoaro [Sun, 3 Jan 2016 14:29:15 +0000 (15:29 +0100)] 
Fixes #426 - Do not filter with blank tags.

8 years agoLink filter refactoring
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.

8 years agoPLUGIN Markdown 379/head
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.

8 years agoMerge pull request #429 from ArthurHoaro/changetag-buttons
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

8 years agoFixes #428: validate buttons presence instead of value 429/head
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.

8 years agoMerge pull request #417 from ArthurHoaro/wallabag-improve
VirtualTam [Sat, 2 Jan 2016 19:09:29 +0000 (20:09 +0100)] 
Merge pull request #417 from ArthurHoaro/wallabag-improve

Wallabag plugin improvement

8 years agoMerge pull request #423 from virtualtam/docker
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

8 years agoDocker: move Dockerfiles to the main repository 423/head
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>
8 years agoWallabag plugin improvement 417/head
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.

8 years agoMerge pull request #419 from virtualtam/gitattributes
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

8 years agoAdd a .gitattributes to ease repository management 419/head
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>
8 years agoBump version to v0.6.2 v0.6.2
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>
8 years agoMerge pull request #418 from ArthurHoaro/qrcode-bug
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

8 years agoQRCode plugin: use url instead of real_url 418/head
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.

8 years agoMerge pull request #413 from ArthurHoaro/qrcode-effect
VirtualTam [Mon, 21 Dec 2015 21:31:45 +0000 (22:31 +0100)] 
Merge pull request #413 from ArthurHoaro/qrcode-effect

Fixes QRCode style

8 years agoFixes QRCode style 413/head
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.

8 years agoMerge pull request #406 from ArthurHoaro/qrcode-style
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

8 years agoMerge pull request #408 from ArthurHoaro/gototop
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.

8 years agoMerge pull request #407 from ArthurHoaro/daily-router
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()

8 years agoAdding a new placeholder in render_footer hook. 408/head
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.

8 years agoFixes #403: build the daily page through renderPage() 407/head
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

8 years agoReset permissions on index.php (changed in 18cca483b0b51f190bd875fc4273a0fff3fedebd ).
ArthurHoaro [Tue, 8 Dec 2015 14:09:17 +0000 (15:09 +0100)] 
Reset permissions on index.php (changed in 18cca483b0b51f190bd875fc4273a0fff3fedebd ).

8 years agoMerge pull request #393 from ArthurHoaro/tools-js-indent
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

8 years agoFixes #403 : Remove QRCode in core CSS and fix plugin layout 406/head
ArthurHoaro [Mon, 7 Dec 2015 09:50:28 +0000 (10:50 +0100)] 
Fixes #403 : Remove QRCode in core CSS and fix plugin layout

8 years agoMinimal indent of tools.html 393/head
ArthurHoaro [Thu, 26 Nov 2015 20:09:09 +0000 (21:09 +0100)] 
Minimal indent of tools.html

8 years agoMerge pull request #405 from ArthurHoaro/titles-fix
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

8 years agoTemporary fix for head titles 405/head
ArthurHoaro [Mon, 7 Dec 2015 09:29:24 +0000 (10:29 +0100)] 
Temporary fix for head titles

only set the title on permalink.

8 years agoMerge pull request #400 from ArthurHoaro/title-399
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

8 years agoFixes #399 - show single link title as page title 400/head
ArthurHoaro [Sat, 5 Dec 2015 10:05:08 +0000 (11:05 +0100)] 
Fixes #399 - show single link title as page title

8 years agoMerge pull request #398 from virtualtam/fix/initialize-version-vars
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

8 years agofix: assign template variables to empty values so they can be evaluated 398/head
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>
8 years agoRemove dummycache folder on tear down.
ArthurHoaro [Thu, 3 Dec 2015 18:27:34 +0000 (19:27 +0100)] 
Remove dummycache folder on tear down.

8 years agoBump version to v0.6.1 v0.6.1
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>
8 years ago[doc] add apache2 CSP config
nodiscc [Mon, 30 Nov 2015 22:17:01 +0000 (23:17 +0100)] 
[doc] add apache2 CSP config

8 years agoremove obsolete doc
nodiscc [Mon, 30 Nov 2015 21:43:28 +0000 (22:43 +0100)] 
remove obsolete doc

8 years agoMerge pull request #394 from virtualtam/app-utils/check-update/stable-branch
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

8 years agoapplication: default to the "stable" branch for update checks 394/head
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>
8 years agoMerge pull request #390 from virtualtam/app-utils/check-update
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

8 years agoapplication: refactor version checks, move to ApplicationUtils 390/head
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>
8 years agoMerge pull request #355 from ArthurHoaro/redirector-url
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

8 years agoFixes incorrect call to
ArthurHoaro [Thu, 26 Nov 2015 19:51:53 +0000 (20:51 +0100)] 
Fixes incorrect call to

From 2e28269baed195d58bbe169841eed176b171db76

8 years agoURL encode links when a redirector is set. 355/head
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

9 years agoMerge pull request #391 from nicolasdanelon/patch-1
Arthur [Wed, 25 Nov 2015 14:07:20 +0000 (15:07 +0100)] 
Merge pull request #391 from nicolasdanelon/patch-1

json_encode removed

9 years agocleanup: remove json_encode() (built-in since PHP 5.2) 391/head
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

9 years agoMerge pull request #389 from virtualtam/utils/check-php-version
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

9 years agoapplication: move checkPHPVersion from Utils to ApplicationUtils 389/head
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>