]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
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

8 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

8 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

8 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

8 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>
8 years agoMerge pull request #375 from virtualtam/utils/permissions
VirtualTam [Tue, 24 Nov 2015 00:26:30 +0000 (01:26 +0100)] 
Merge pull request #375 from virtualtam/utils/permissions

tools: check file/directory permissions for Shaarli resources

8 years agoinstall: check file/directory permissions for Shaarli resources 375/head
VirtualTam [Wed, 11 Nov 2015 21:49:58 +0000 (22:49 +0100)] 
install: check file/directory permissions for Shaarli resources

Relates to #40
Relates to #372

Additions:
 - FileUtils: IOException
 - ApplicationUtils:
   - check if Shaarli resources are accessible with sufficient permissions
   - basic test coverage
 - index.php:
   - check access permissions and redirect to an error page if needed:
     - before running the first installation

Modifications:
 - LinkDB:
   - factorize datastore write code
   - check if the datastore
     (exists AND is writeable) OR (doesn't exist AND its parent dir is writable)
   - raise an IOException if needed

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #384 from roidelapluie/master
VirtualTam [Mon, 23 Nov 2015 19:24:35 +0000 (20:24 +0100)] 
Merge pull request #384 from roidelapluie/master

fill session info when shaarli is in open mode

8 years agoFix authentification when Shaarli is in Open Mode. 384/head
Julien Pivotto [Sun, 22 Nov 2015 16:39:50 +0000 (17:39 +0100)] 
Fix authentification when Shaarli is in Open Mode.

8 years agoMerge pull request #377 from ArthurHoaro/search-tag-autocomplete
VirtualTam [Sun, 22 Nov 2015 22:22:17 +0000 (23:22 +0100)] 
Merge pull request #377 from ArthurHoaro/search-tag-autocomplete

Fixes #360 - Auto-complete more than one tag in tag filter field

8 years agoMerge pull request #277 from virtualtam/doxygen
VirtualTam [Sun, 22 Nov 2015 20:01:02 +0000 (21:01 +0100)] 
Merge pull request #277 from virtualtam/doxygen

Add a target to generate Doxygen documentation

8 years agoAdd a target to generate Doxygen documentation 277/head
VirtualTam [Mon, 13 Jul 2015 15:53:36 +0000 (17:53 +0200)] 
Add a target to generate Doxygen documentation

Relates to #95

Customizations for PHP/Shaarli:
 - add project information
 - index PHP files
 - index global functions
 - exclude directories

Usage
 $ make doxygen
 $ firefox doxygen/index.html &

Notes
 - classes can be found under "Data Structures"
 - global functions can be found under "Files > Globals > Functions"

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoAdd default Doxygen configuration
VirtualTam [Mon, 13 Jul 2015 15:50:31 +0000 (17:50 +0200)] 
Add default Doxygen configuration

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #387 from ArthurHoaro/bookmarklet-quote
VirtualTam [Sun, 22 Nov 2015 17:10:50 +0000 (18:10 +0100)] 
Merge pull request #387 from ArthurHoaro/bookmarklet-quote

Fixes #382: Bookmarklet can not retrieve title when there is a quotation mark in it

8 years agoMerge pull request #376 from ArthurHoaro/opensearch
VirtualTam [Sun, 22 Nov 2015 16:53:24 +0000 (17:53 +0100)] 
Merge pull request #376 from ArthurHoaro/opensearch

Fixes #176 - Add opensearch functionality

8 years agoMerge pull request #385 from ArthurHoaro/plugins-error-fix
Arthur [Sun, 22 Nov 2015 16:32:17 +0000 (17:32 +0100)] 
Merge pull request #385 from ArthurHoaro/plugins-error-fix

Bugfix: do not store plugin errors in data.php

8 years agoFixes #382: Bookmarklet can not retrieve title when there is a quotation mark in it 387/head
ArthurHoaro [Sun, 22 Nov 2015 14:47:41 +0000 (15:47 +0100)] 
Fixes #382: Bookmarklet can not retrieve title when there is a quotation mark in it

    bookmarklet fields weren't correctly escaped

8 years agoBugfix: do not store plugin errors in data.php 385/head
ArthurHoaro [Sun, 22 Nov 2015 13:45:09 +0000 (14:45 +0100)] 
Bugfix: do not store plugin errors in data.php

Before this, calling writeConfig() would have write error messages in data.php, because it uses 'plugins' array which is used for plugin configuration.

Causing the message error appear everytime.

8 years agoMerge pull request #383 from ArthurHoaro/master
Arthur [Wed, 18 Nov 2015 12:39:46 +0000 (13:39 +0100)] 
Merge pull request #383 from ArthurHoaro/master

Bump version to v0.6.0

8 years agoBump version to v0.6.0 383/head v0.6.0
ArthurHoaro [Wed, 18 Nov 2015 12:38:30 +0000 (13:38 +0100)] 
Bump version to v0.6.0

Signed-off-by: ArthurHoaro <arthur@hoa.ro>
8 years agoFixes #176 - Add opensearch functionality 376/head
ArthurHoaro [Fri, 13 Nov 2015 18:32:35 +0000 (19:32 +0100)] 
Fixes #176 - Add opensearch functionality

 * add a new page in Router: do=opensearch which displays the opensearch plugin
 * using base64 compressed image to avoid issue encountered with HTTPS

8 years agoFixes #360 - Auto-complete more than one tag in tag filter field 377/head
ArthurHoaro [Fri, 13 Nov 2015 19:24:12 +0000 (20:24 +0100)] 
Fixes #360 - Auto-complete more than one tag in tag filter field

  * Group awesomplete for multi data in a single JS file.
  * Use it in editlink and linklist.
  * Move awesomplete JS lib at the end of page in editlink.

8 years agoMerge pull request #374 from virtualtam/cleanup
VirtualTam [Wed, 11 Nov 2015 18:22:04 +0000 (19:22 +0100)] 
Merge pull request #374 from virtualtam/cleanup

cleanup: remove the executable bit from source scripts

8 years agocleanup: remove the executable bit from source scripts 374/head
VirtualTam [Wed, 11 Nov 2015 18:06:12 +0000 (19:06 +0100)] 
cleanup: remove the executable bit from source scripts

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #373 from virtualtam/index/format-globals-comments
VirtualTam [Wed, 11 Nov 2015 17:58:32 +0000 (18:58 +0100)] 
Merge pull request #373 from virtualtam/index/format-globals-comments

index.php: group globals by theme, format comments

8 years agoindex.php: group globals by theme, format comments 373/head
VirtualTam [Wed, 11 Nov 2015 17:45:46 +0000 (18:45 +0100)] 
index.php: group globals by theme, format comments

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #275 from shaarli/plugin-proposition
Arthur [Sun, 8 Nov 2015 12:29:32 +0000 (13:29 +0100)] 
Merge pull request #275 from shaarli/plugin-proposition

Plugin proposition

8 years agoHandle errors raised by plugins in template. fixes #370 275/head
ArthurHoaro [Sun, 8 Nov 2015 12:22:44 +0000 (13:22 +0100)] 
Handle errors raised by plugins in template. fixes #370

8 years agoMerge pull request #286 from ArthurHoaro/plugin-demo_plugin
Arthur [Sun, 8 Nov 2015 11:54:02 +0000 (12:54 +0100)] 
Merge pull request #286 from ArthurHoaro/plugin-demo_plugin

PLUGIN demo_plugin

8 years agoPLUGIN demo_plugin 286/head
ArthurHoaro [Thu, 15 Oct 2015 10:50:40 +0000 (12:50 +0200)] 
PLUGIN demo_plugin

This plugin try to cover Shaarli's plugin API entirely.
Can be used by plugin developper to make their own.

8 years agoMerge pull request #281 from ArthurHoaro/plugin-wallabag
Arthur [Sun, 8 Nov 2015 11:46:17 +0000 (12:46 +0100)] 
Merge pull request #281 from ArthurHoaro/plugin-wallabag

PLUGIN wallabag

8 years agoMerge pull request #280 from ArthurHoaro/plugin-readityourself
Arthur [Sun, 8 Nov 2015 11:45:19 +0000 (12:45 +0100)] 
Merge pull request #280 from ArthurHoaro/plugin-readityourself

PLUGIN readityourself

8 years agoMerge pull request #279 from ArthurHoaro/plugin-addlink_toolbar
Arthur [Sun, 8 Nov 2015 11:45:07 +0000 (12:45 +0100)] 
Merge pull request #279 from ArthurHoaro/plugin-addlink_toolbar

PLUGIN: addlink_toolbar

8 years agounit tests for the wallabag plugin 281/head
ArthurHoaro [Sun, 8 Nov 2015 11:00:06 +0000 (12:00 +0100)] 
unit tests for the wallabag plugin
+ removed exit error if the config is not found
+ coding style

8 years agounit tests for readityourself plugin + remove hard error 280/head
ArthurHoaro [Sun, 8 Nov 2015 11:16:55 +0000 (12:16 +0100)] 
unit tests for readityourself plugin + remove hard error

8 years agounit test for addlink_toolbar + coding style 279/head
ArthurHoaro [Sun, 8 Nov 2015 11:40:14 +0000 (12:40 +0100)] 
unit test for addlink_toolbar + coding style

8 years agoPLUGIN: addlink_toolbar
ArthurHoaro [Thu, 15 Oct 2015 10:25:38 +0000 (12:25 +0200)] 
PLUGIN: addlink_toolbar

Add a field in linklist page to paste a new link.

Displayed in fields toolbar.

8 years agoPLUGIN readityourself
ArthurHoaro [Wed, 15 Jul 2015 10:04:22 +0000 (12:04 +0200)] 
PLUGIN readityourself

Add an icon for each link (linklist) for ReadItYourself

8 years agoMerge pull request #284 from ArthurHoaro/plugin-playvideos
Arthur [Sat, 7 Nov 2015 15:53:07 +0000 (16:53 +0100)] 
Merge pull request #284 from ArthurHoaro/plugin-playvideos

PLUGIN playvideos

8 years agoMerge pull request #285 from ArthurHoaro/plugin-qrcode
Arthur [Sat, 7 Nov 2015 15:52:53 +0000 (16:52 +0100)] 
Merge pull request #285 from ArthurHoaro/plugin-qrcode

PLUGIN QRCode

8 years agoMerge pull request #283 from ArthurHoaro/plugin-archiveorg
Arthur [Sat, 7 Nov 2015 15:52:41 +0000 (16:52 +0100)] 
Merge pull request #283 from ArthurHoaro/plugin-archiveorg

PLUGIN archiveorg

8 years agoMerge pull request #368 from ArthurHoaro/returnurl-again
Arthur [Sat, 7 Nov 2015 15:51:50 +0000 (16:51 +0100)] 
Merge pull request #368 from ArthurHoaro/returnurl-again

Fixes #356 -  adding a link should return added link's hash

8 years agoPLUGIN wallabag
ArthurHoaro [Wed, 15 Jul 2015 10:05:36 +0000 (12:05 +0200)] 
PLUGIN wallabag

Add a Wallabag icon in linklist for each link.

8 years agoAdd unit test for archiveorg plugin 283/head
ArthurHoaro [Sat, 7 Nov 2015 15:37:23 +0000 (16:37 +0100)] 
Add unit test for archiveorg plugin
+ coding style

8 years agoPLUGIN archiveorg
ArthurHoaro [Thu, 15 Oct 2015 10:47:04 +0000 (12:47 +0200)] 
PLUGIN archiveorg

Display an archive.org icon in linklist, foreach links.

8 years agoAdd unit tests for Playvideos plugin 284/head
ArthurHoaro [Sat, 7 Nov 2015 15:30:56 +0000 (16:30 +0100)] 
Add unit tests for Playvideos plugin
+ coding style

8 years agoPLUGIN playvideos
ArthurHoaro [Wed, 15 Jul 2015 10:01:06 +0000 (12:01 +0200)] 
PLUGIN playvideos

Display a button in buttons toolbar which allows to play all videos found.

8 years agoAdd unit tests for the QRCode plugin 285/head
ArthurHoaro [Sat, 7 Nov 2015 15:13:08 +0000 (16:13 +0100)] 
Add unit tests for the QRCode plugin
+ coding style

8 years agoPLUGIN QRCode
ArthurHoaro [Wed, 15 Jul 2015 10:02:56 +0000 (12:02 +0200)] 
PLUGIN QRCode

Add an icon in linklist to display links QRCode

8 years agoAdd plugins folder to test analysis
ArthurHoaro [Sat, 25 Jul 2015 08:39:13 +0000 (10:39 +0200)] 
Add plugins folder to test analysis

8 years agoUnit tests for Router and PluginManager.
ArthurHoaro [Thu, 16 Jul 2015 11:53:39 +0000 (13:53 +0200)] 
Unit tests for Router and PluginManager.

8 years agoTemplate upgrade to handle plugin zones
ArthurHoaro [Wed, 15 Jul 2015 09:47:12 +0000 (11:47 +0200)] 
Template upgrade to handle plugin zones

Add a bunch of plugin placeholders in templates

8 years agoPlugins TODO.md
ArthurHoaro [Wed, 15 Jul 2015 10:08:52 +0000 (12:08 +0200)] 
Plugins TODO.md

8 years agoPlugin system - CORE
ArthurHoaro [Wed, 15 Jul 2015 09:42:15 +0000 (11:42 +0200)] 
Plugin system - CORE

see shaarli/Shaarli#275

8 years agoFixes #356 368/head
ArthurHoaro [Wed, 4 Nov 2015 18:53:59 +0000 (19:53 +0100)] 
Fixes #356
 * adding a link should return added link's hash
* allow redirection relative urls in generateLocation

8 years agoBump version to 0.5.4 v0.5.4
VirtualTam [Mon, 14 Sep 2015 19:02:52 +0000 (21:02 +0200)] 
Bump version to 0.5.4

Fixes:
 - PHP session IDs: handle hash algorithms and bits per char representations

Minor changes:
 - HTTPS: support being served behing an SSL-enabled proxy
 - HTTP/Server utilities: refactor & add test coverage

Project & documentation:
 - improve/rewrite `README.md`
 - update contributor list
 - update `index.php` header

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoUpdate project information: contributors, `index.php` header
VirtualTam [Mon, 14 Sep 2015 18:54:13 +0000 (20:54 +0200)] 
Update project information: contributors, `index.php` header

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #346 from virtualtam/refactor/http-url-utils
VirtualTam [Mon, 14 Sep 2015 18:40:41 +0000 (20:40 +0200)] 
Merge pull request #346 from virtualtam/refactor/http-url-utils

HTTP: move server URL functions to `HttpUtils.php`

8 years agoHTTP: move server URL functions to `HttpUtils.php` 346/head
VirtualTam [Sun, 6 Sep 2015 19:31:37 +0000 (21:31 +0200)] 
HTTP: move server URL functions to `HttpUtils.php`

Relates to #333

Modifications:
 - refactor server URL utility functions
 - do not access global `$_SERVER` variables
 - add test coverage
 - improve readability
 - apply coding conventions

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoSSL detection: add support for `X-Forwarded-Proto`
Fanch [Tue, 1 Sep 2015 11:37:04 +0000 (13:37 +0200)] 
SSL detection: add support for `X-Forwarded-Proto`

Duplicates #332

See:
 - RFC 7239 - Forwarded HTTP Extension
   http://www.ietf.org/rfc/rfc7239.txt
 - RFC 6238 - Deprecating the "X-" Prefix and Similar Constructs in Application Protocols
   http://www.ietf.org/rfc/rfc6648.txt
 - StackOverflow - Custom HTTP headers: naming conventions
   http://stackoverflow.com/a/3561399

8 years agoMerge pull request #337 from doc75/doublon_url
VirtualTam [Tue, 8 Sep 2015 20:03:18 +0000 (22:03 +0200)] 
Merge pull request #337 from doc75/doublon_url

#325 small enhancement to fix the GetLinkFromUrl method

8 years agoUrl: introduce global helper functions for cleanup and scheme detection 337/head
Guillaume Virlet [Wed, 2 Sep 2015 11:55:39 +0000 (13:55 +0200)] 
Url: introduce global helper functions for cleanup and scheme detection

Relates to #314 & #326

Additions:
 - add global `cleanup_url()` and `get_url_scheme()` functions

Modifications:
 - replace `Url` usage in `index.php` by calls to global functions
 - fix `Url` tests not being run: PHPUnit expects a single test class per file
   - move classes to separate files

8 years agoMerge pull request #334 from virtualtam/refactor/http-utils
VirtualTam [Sun, 6 Sep 2015 18:32:01 +0000 (20:32 +0200)] 
Merge pull request #334 from virtualtam/refactor/http-utils

HTTP: move utils to a proper file, add tests

8 years agoHTTP: move utils to a proper file, add tests 334/head
VirtualTam [Tue, 1 Sep 2015 19:45:06 +0000 (21:45 +0200)] 
HTTP: move utils to a proper file, add tests

Relates to #333

Modifications:
 - move HTTP utils to 'application/HttpUtils.php'
 - simplify logic
   - replace 'http_parse_headers_shaarli' by built-in 'get_headers()'
   - remove superfluous '$status' parameter (provided by the HTTP headers)
 - apply coding conventions
 - add test coverage (unitary only)

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #338 from virtualtam/fix/unique-uniqid
VirtualTam [Sun, 6 Sep 2015 14:16:53 +0000 (16:16 +0200)] 
Merge pull request #338 from virtualtam/fix/unique-uniqid

Session ID: extend the regex to match possible hash representations

8 years agoSession ID: extend the regex to match possible hash representations 338/head
VirtualTam [Thu, 3 Sep 2015 21:12:58 +0000 (23:12 +0200)] 
Session ID: extend the regex to match possible hash representations

Improves #306
Relates to #335 & #336
Duplicated by #339

Issues:
 - PHP regenerates the session ID if it is not compliant
 - the regex checking the session ID does not cover all cases
   - different algorithms: md5, sha1, sha256, etc.
   - bit representations: 4, 5, 6

Fix:
 - `index.php`:
   - remove `uniqid()` usage
   - call `session_regenerate_id()` if an invalid cookie is detected
 - regex: support all possible characters - '[a-zA-Z,-]{2,128}'
 - tests: add coverage for all algorithms & bit representations

See:
 - http://php.net/manual/en/session.configuration.php#ini.session.hash-function
 - https://secure.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character
 - http://php.net/manual/en/function.session-id.php
 - http://php.net/manual/en/function.session-regenerate-id.php
 - http://php.net/manual/en/function.hash-algos.php

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #344 from virtualtam/copying
VirtualTam [Sun, 6 Sep 2015 02:07:28 +0000 (04:07 +0200)] 
Merge pull request #344 from virtualtam/copying

COPYING: update contributor list

8 years agoCOPYING: update contributor list 344/head
VirtualTam [Sun, 6 Sep 2015 01:07:25 +0000 (03:07 +0200)] 
COPYING: update contributor list

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoUpdate README.md
VirtualTam [Sun, 6 Sep 2015 00:22:52 +0000 (02:22 +0200)] 
Update README.md

8 years agoMerge pull request #343 from virtualtam/readme
VirtualTam [Sun, 6 Sep 2015 00:16:39 +0000 (02:16 +0200)] 
Merge pull request #343 from virtualtam/readme

Rewrite README.md

8 years agoRewrite README.md 343/head
VirtualTam [Sat, 5 Sep 2015 23:56:37 +0000 (01:56 +0200)] 
Rewrite README.md

Modifications:
 - group content in sections
 - homogenize formatting
 - replace installation instructions by links to the corresponding wiki pages
 - update badges
   - use http://shields.io/ to generate SVGs with custom labels
   - master branch: update Travis label
   - stable branch: add Travis status
   - GitHub release: display the latest released version

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #340 from virtualtam/doc/update
VirtualTam [Fri, 4 Sep 2015 19:35:27 +0000 (21:35 +0200)] 
Merge pull request #340 from virtualtam/doc/update

Doc: sync from Wiki, generate HTML

8 years agoDoc: sync from Wiki, generate HTML 340/head
VirtualTam [Fri, 4 Sep 2015 19:25:47 +0000 (21:25 +0200)] 
Doc: sync from Wiki, generate HTML

Additions:
 - Installation/Download: how to get Shaarli
 - Community software: ShaarliOS app

Modifications:
 - Installation/Server requirements: PHP 5.4 EOL, PHP 7 announcements
 - Installation/Server configuration: improve Nginx security
 - Troubleshooting: PHP sessions on `free.fr`

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoBump version to v0.5.3 v0.5.3
ArthurHoaro [Wed, 2 Sep 2015 16:06:21 +0000 (18:06 +0200)] 
Bump version to v0.5.3

Fixes a bug that could prevent user to login.

8 years agoMerge pull request #336 from ArthurHoaro/login-hotfix 0.5.3
Arthur [Wed, 2 Sep 2015 15:55:11 +0000 (17:55 +0200)] 
Merge pull request #336 from ArthurHoaro/login-hotfix

Allow uppercase letters in PHP sessionid format

8 years agoAllow uppercase letters in PHP sessionid format 336/head
ArthurHoaro [Wed, 2 Sep 2015 15:00:38 +0000 (17:00 +0200)] 
Allow uppercase letters in PHP sessionid format

Fixes shaarli/Shaarli#335 - Wrong login/password since v0.5.2

Regression introduced in 06b6660a7e8891c6e1c47815cf50ee5b2ef5f270

8 years agoBump version to 0.5.2 v0.5.2
VirtualTam [Mon, 31 Aug 2015 18:36:13 +0000 (20:36 +0200)] 
Bump version to 0.5.2

Minor changes
 - fix Full Path Disclosure upon cookie forgery
 - fix regression preventing to load LinkDB info when adding an existing link
 - also extract HTTPS page metadata (title)
 - add PHP 7 to Travis platforms

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #326 from ArthurHoaro/bug-url
VirtualTam [Mon, 31 Aug 2015 18:31:41 +0000 (20:31 +0200)] 
Merge pull request #326 from ArthurHoaro/bug-url

Fixes #325 - Shaarli does not recognize saved links

8 years agoAdd HTTPS support for title extracting feature 326/head
ArthurHoaro [Mon, 31 Aug 2015 10:27:56 +0000 (12:27 +0200)] 
Add HTTPS support for title extracting feature

8 years agoFixes #325 - Shaarli does not recognize saved links
ArthurHoaro [Thu, 20 Aug 2015 17:47:01 +0000 (19:47 +0200)] 
Fixes #325 - Shaarli does not recognize saved links

PHP doesn't seem to autoconvert objects to strings when they're use as array indexes.

Fixes regression introduced in d9d776af19fd0a191f82525991dafbb56e1bcfcb

8 years agoMerge pull request #306 from ArthurHoaro/fpd
VirtualTam [Mon, 24 Aug 2015 19:25:33 +0000 (21:25 +0200)] 
Merge pull request #306 from ArthurHoaro/fpd

Avoid Full Path Disclosure error on session error.

8 years agoMerge pull request #327 from virtualtam/travis/php7
VirtualTam [Sun, 23 Aug 2015 22:30:05 +0000 (00:30 +0200)] 
Merge pull request #327 from virtualtam/travis/php7

travis: add PHP 7 to the tested environments

8 years agoAvoid Full Path Disclosure error on session error. 306/head
ArthurHoaro [Sat, 25 Jul 2015 11:15:47 +0000 (13:15 +0200)] 
Avoid Full Path Disclosure error on session error.

  * Add a function to validate session ID.
  * Generate a new session ID if an invalid token is passed.

8 years agotravis: add PHP 7 to the tested environments 327/head
VirtualTam [Fri, 21 Aug 2015 22:06:42 +0000 (00:06 +0200)] 
travis: add PHP 7 to the tested environments

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoBump version to 0.5.1 v0.5.1
VirtualTam [Mon, 17 Aug 2015 22:35:42 +0000 (00:35 +0200)] 
Bump version to 0.5.1

Minor changes
 - fix 404 after editing a link while being logged out
 - update local documentation
 - improve timezone detection at installation
 - improve feed cache handling
 - improve URL cleanup for new links
 - add a link to the shaarli/shaarli DockerHub repository

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoDoc: sync from Wiki, generate HTML
VirtualTam [Mon, 17 Aug 2015 22:33:25 +0000 (00:33 +0200)] 
Doc: sync from Wiki, generate HTML

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #314 from shaarli/clean-utm_term
VirtualTam [Sun, 16 Aug 2015 21:01:54 +0000 (23:01 +0200)] 
Merge pull request #314 from shaarli/clean-utm_term

clean utm_term url parameter

8 years agoREADME: add DockerHub badge
VirtualTam [Sun, 16 Aug 2015 12:50:16 +0000 (14:50 +0200)] 
README: add DockerHub badge

See [docker-shaarli](https://github.com/shaarli/docker-shaarli) for Dockerfiles and documentation

8 years agoLinks: refactor & improve URL cleanup 314/head
VirtualTam [Thu, 13 Aug 2015 23:14:07 +0000 (01:14 +0200)] 
Links: refactor & improve URL cleanup

Relates to #141
Relates to #133

Modifications
 - move URL cleanup to `application/Url.php`
 - rework the cleanup function
   - fragments: `#stuff`
   - GET parameters: `?var1=val1&var2=val2`
 - add documentation (APIs the params belong to)
 - add test coverage

Reference
 - http://php.net/parse_url
 - http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.tostring

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #309 from virtualtam/refactor/PageCache
VirtualTam [Thu, 13 Aug 2015 21:54:26 +0000 (23:54 +0200)] 
Merge pull request #309 from virtualtam/refactor/PageCache

CachedPage: move to a proper file, add tests

8 years agoCache: simplify cached content cleanup, improve tests 309/head
VirtualTam [Thu, 13 Aug 2015 19:39:51 +0000 (21:39 +0200)] 
Cache: simplify cached content cleanup, improve tests

Signed-off-by: VirtualTam <virtualtam@flibidi.net>