aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Logging: move logm() from index.php to application/Utils.phpVirtualTam2016-01-163-13/+84
| | | | | | | | | | | Relates to #436 Modifications: - inject dependencies to global variables ($_SERVER, $GLOBALS) - apply coding conventions - add test coverage Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #432 from ArthurHoaro/title-retrieveVirtualTam2016-01-118-72/+285
|\ | | | | Fixes #410 - Retrieve title fails in multiple cases
| * Fixes #410 - Retrieve title fails in multiple casesArthurHoaro2016-01-118-72/+285
|/ | | | | | | | | * `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.
* Git *wants* to rewrite this file in the exact same way...ArthurHoaro2016-01-061-71/+71
| | | | Probably a line ending issue...
* Merge pull request #424 from ArthurHoaro/searchArthur2016-01-068-416/+680
|\ | | | | Link filter refactoring
| * Fixes a bug preventing to remove a tag with special chars when searchingArthurHoaro2016-01-061-1/+1
| |
| * Fixes #426 - Do not filter with blank tags.ArthurHoaro2016-01-062-5/+7
| |
| * Link filter refactoringArthurHoaro2016-01-068-411/+673
| | | | | | | | | | | | | | | | | | | | * 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.
* | Merge pull request #429 from ArthurHoaro/changetag-buttonsVirtualTam2016-01-031-9/+9
|\ \ | | | | | | Fixes #428: validate buttons presence instead of value
| * | Fixes #428: validate buttons presence instead of valueArthurHoaro2016-01-031-9/+9
|/ / | | | | | | | | Also adds a validation where renaming with 'fromtag' specified and empty 'totag'. It was causing a 404, now it just re-render the form.
* | Merge pull request #417 from ArthurHoaro/wallabag-improveVirtualTam2016-01-029-11/+194
|\ \ | | | | | | Wallabag plugin improvement
| * | Wallabag plugin improvementArthurHoaro2015-12-279-11/+194
| | | | | | | | | | | | | | | | | | | | | | | | * Fixes a bug where URL weren't properly encoded. * Adds Wallabag V2 support. * Adds a URL function to handle trailing slash. * UT. * README updated.
* | | Merge pull request #423 from virtualtam/dockerVirtualTam2016-01-0214-0/+308
|\ \ \ | | | | | | | | Docker: move Dockerfiles to the main repository
| * | | Docker: move Dockerfiles to the main repositoryVirtualTam2016-01-0214-0/+308
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #419 from virtualtam/gitattributesVirtualTam2015-12-241-0/+28
|\ \ \ | |_|/ |/| | Add a .gitattributes to ease repository management
| * | Add a .gitattributes to ease repository managementVirtualTam2015-12-231-0/+28
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Bump version to v0.6.2v0.6.2VirtualTam2015-12-232-3/+3
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #418 from ArthurHoaro/qrcode-bugVirtualTam2015-12-233-4/+10
|\ \ | | | | | | QRCode plugin: use url instead of real_url
| * | QRCode plugin: use url instead of real_urlArthurHoaro2015-12-223-4/+10
| |/ | | | | | | | | | | Fixes #414 and avoid usage of redirector in QRCode. Also fixed a bug with URL encoding.
* | Merge pull request #413 from ArthurHoaro/qrcode-effectVirtualTam2015-12-215-24/+52
|\ \ | |/ |/| Fixes QRCode style
| * Fixes QRCode styleArthurHoaro2015-12-215-24/+52
|/ | | | | * fixes a regression misplacing QRCode popup. * adds a 'show' class in JS to handle CSS transition.
* Merge pull request #406 from ArthurHoaro/qrcode-styleVirtualTam2015-12-092-15/+3
|\ | | | | Fixes #403 : Remove QRCode in core CSS and fix plugin layout
| * Fixes #403 : Remove QRCode in core CSS and fix plugin layoutArthurHoaro2015-12-072-15/+3
| |
* | Merge pull request #408 from ArthurHoaro/gototopVirtualTam2015-12-093-0/+17
|\ \ | | | | | | Adding a new placeholder in render_footer hook.
| * | Adding a new placeholder in render_footer hook.ArthurHoaro2015-12-083-0/+17
| |/ | | | | | | Allow free elements at the end of the page.
* | Merge pull request #407 from ArthurHoaro/daily-routerVirtualTam2015-12-083-6/+22
|\ \ | | | | | | Fixes #402: build the daily page through renderPage()
| * | Fixes #403: build the daily page through renderPage()ArthurHoaro2015-12-083-6/+22
| |/ | | | | | | | | * new entry in the Router for daily page. * add an always displayed button in demo_plugin
* | Reset permissions on index.php (changed in ↵ArthurHoaro2015-12-081-0/+0
| | | | | | | | 18cca483b0b51f190bd875fc4273a0fff3fedebd ).
* | Merge pull request #393 from ArthurHoaro/tools-js-indentVirtualTam2015-12-071-4/+47
|\ \ | | | | | | Minimal indent of tools.html
| * | Minimal indent of tools.htmlArthurHoaro2015-12-071-4/+47
| | |
* | | Merge pull request #405 from ArthurHoaro/titles-fixArthur2015-12-071-1/+4
|\ \ \ | |_|/ |/| | Temporary fix for head titles
| * | Temporary fix for head titlesArthurHoaro2015-12-071-1/+4
|/ / | | | | | | only set the title on permalink.
* | Merge pull request #400 from ArthurHoaro/title-399VirtualTam2015-12-061-0/+1
|\ \ | | | | | | Fixes #399 - show single link title as page title
| * | Fixes #399 - show single link title as page titleArthurHoaro2015-12-051-0/+1
|/ /
* | Merge pull request #398 from virtualtam/fix/initialize-version-varsVirtualTam2015-12-032-0/+4
|\ \ | | | | | | fix: assign template variables to empty values so they can be evaluated
| * | fix: assign template variables to empty values so they can be evaluatedVirtualTam2015-12-032-0/+4
|/ / | | | | | | | | | | Regression introduced in #394 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Remove dummycache folder on tear down.ArthurHoaro2015-12-031-1/+10
| |
* | Bump version to v0.6.1v0.6.1VirtualTam2015-12-012-3/+3
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | [doc] add apache2 CSP confignodiscc2015-11-301-1/+9
| |
* | remove obsolete docnodiscc2015-11-301-8/+8
| |
* | Merge pull request #394 from virtualtam/app-utils/check-update/stable-branchVirtualTam2015-11-304-21/+55
|\ \ | | | | | | application: default to the "stable" branch for update checks
| * | application: default to the "stable" branch for update checksVirtualTam2015-11-274-21/+55
|/ / | | | | | | | | | | | | Relates to #372 Relates to #390 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #390 from virtualtam/app-utils/check-updateVirtualTam2015-11-268-35/+331
|\ \ | | | | | | application: refactor version checks, move to ApplicationUtils
| * | application: refactor version checks, move to ApplicationUtilsVirtualTam2015-11-268-35/+331
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #355 from ArthurHoaro/redirector-urlVirtualTam2015-11-2610-37/+160
|\ \ | | | | | | URL encode links when a redirector is set
| * | URL encode links when a redirector is set.ArthurHoaro2015-11-2610-37/+160
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* / Fixes incorrect call toArthurHoaro2015-11-261-1/+1
|/ | | | From 2e28269baed195d58bbe169841eed176b171db76
* Merge pull request #391 from nicolasdanelon/patch-1Arthur2015-11-251-39/+0
|\ | | | | json_encode removed
| * cleanup: remove json_encode() (built-in since PHP 5.2)Nicolas Danelon2015-11-251-39/+0
|/ | | | | | 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
* Merge pull request #389 from virtualtam/utils/check-php-versionVirtualTam2015-11-245-52/+52
|\ | | | | application: move checkPHPVersion from Utils to ApplicationUtils