]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
ArthurHoaro [Wed, 10 Feb 2016 12:08:19 +0000 (13:08 +0100)]
Wallabag plugin: add version parameter in the meta file
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 [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>
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