]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
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 [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>
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
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>
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
Julien Pivotto [Sun, 22 Nov 2015 16:39:50 +0000 (17:39 +0100)]
Fix authentification when Shaarli is in Open Mode.
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
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
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>
VirtualTam [Mon, 13 Jul 2015 15:50:31 +0000 (17:50 +0200)]
Add default Doxygen configuration
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
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
VirtualTam [Sun, 22 Nov 2015 16:53:24 +0000 (17:53 +0100)]
Merge pull request #376 from ArthurHoaro/opensearch
Fixes #176 - Add opensearch functionality
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
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
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.
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
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>
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
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.
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
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>
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
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>
Arthur [Sun, 8 Nov 2015 12:29:32 +0000 (13:29 +0100)]
Merge pull request #275 from shaarli/plugin-proposition
Plugin proposition
ArthurHoaro [Sun, 8 Nov 2015 12:22:44 +0000 (13:22 +0100)]
Handle errors raised by plugins in template. fixes #370
Arthur [Sun, 8 Nov 2015 11:54:02 +0000 (12:54 +0100)]
Merge pull request #286 from ArthurHoaro/plugin-demo_plugin
PLUGIN demo_plugin
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.
Arthur [Sun, 8 Nov 2015 11:46:17 +0000 (12:46 +0100)]
Merge pull request #281 from ArthurHoaro/plugin-wallabag
PLUGIN wallabag
Arthur [Sun, 8 Nov 2015 11:45:19 +0000 (12:45 +0100)]
Merge pull request #280 from ArthurHoaro/plugin-readityourself
PLUGIN readityourself
Arthur [Sun, 8 Nov 2015 11:45:07 +0000 (12:45 +0100)]
Merge pull request #279 from ArthurHoaro/plugin-addlink_toolbar
PLUGIN: addlink_toolbar
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
ArthurHoaro [Sun, 8 Nov 2015 11:16:55 +0000 (12:16 +0100)]
unit tests for readityourself plugin + remove hard error
ArthurHoaro [Sun, 8 Nov 2015 11:40:14 +0000 (12:40 +0100)]
unit test for addlink_toolbar + coding style
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.
ArthurHoaro [Wed, 15 Jul 2015 10:04:22 +0000 (12:04 +0200)]
PLUGIN readityourself
Add an icon for each link (linklist) for ReadItYourself
Arthur [Sat, 7 Nov 2015 15:53:07 +0000 (16:53 +0100)]
Merge pull request #284 from ArthurHoaro/plugin-playvideos
PLUGIN playvideos
Arthur [Sat, 7 Nov 2015 15:52:53 +0000 (16:52 +0100)]
Merge pull request #285 from ArthurHoaro/plugin-qrcode
PLUGIN QRCode
Arthur [Sat, 7 Nov 2015 15:52:41 +0000 (16:52 +0100)]
Merge pull request #283 from ArthurHoaro/plugin-archiveorg
PLUGIN archiveorg
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
ArthurHoaro [Wed, 15 Jul 2015 10:05:36 +0000 (12:05 +0200)]
PLUGIN wallabag
Add a Wallabag icon in linklist for each link.
ArthurHoaro [Sat, 7 Nov 2015 15:37:23 +0000 (16:37 +0100)]
Add unit test for archiveorg plugin
+ coding style
ArthurHoaro [Thu, 15 Oct 2015 10:47:04 +0000 (12:47 +0200)]
PLUGIN archiveorg
Display an archive.org icon in linklist, foreach links.
ArthurHoaro [Sat, 7 Nov 2015 15:30:56 +0000 (16:30 +0100)]
Add unit tests for Playvideos plugin
+ coding style
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.
ArthurHoaro [Sat, 7 Nov 2015 15:13:08 +0000 (16:13 +0100)]
Add unit tests for the QRCode plugin
+ coding style
ArthurHoaro [Wed, 15 Jul 2015 10:02:56 +0000 (12:02 +0200)]
PLUGIN QRCode
Add an icon in linklist to display links QRCode
ArthurHoaro [Sat, 25 Jul 2015 08:39:13 +0000 (10:39 +0200)]
Add plugins folder to test analysis
ArthurHoaro [Thu, 16 Jul 2015 11:53:39 +0000 (13:53 +0200)]
Unit tests for Router and PluginManager.
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
ArthurHoaro [Wed, 15 Jul 2015 10:08:52 +0000 (12:08 +0200)]
Plugins TODO.md
ArthurHoaro [Wed, 15 Jul 2015 09:42:15 +0000 (11:42 +0200)]
Plugin system - CORE
see shaarli/Shaarli#275
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
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>
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>
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`
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>
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
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
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
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
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>
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
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>
VirtualTam [Sun, 6 Sep 2015 02:07:28 +0000 (04:07 +0200)]
Merge pull request #344 from virtualtam/copying
COPYING: update contributor list
VirtualTam [Sun, 6 Sep 2015 01:07:25 +0000 (03:07 +0200)]
COPYING: update contributor list
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 6 Sep 2015 00:22:52 +0000 (02:22 +0200)]
Update README.md
VirtualTam [Sun, 6 Sep 2015 00:16:39 +0000 (02:16 +0200)]
Merge pull request #343 from virtualtam/readme
Rewrite README.md
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>
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
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>
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.