| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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>
|
|\
| |
| | |
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.
|
|
|
|
| |
Probably a line ending issue...
|
|\
| |
| | |
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.
|
|\ \
| | |
| | | |
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.
|
|\ \
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
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>
|
|\ \ \
| |_|/
|/| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
QRCode plugin: use url instead of real_url
|
| |/
| |
| |
| |
| |
| | |
Fixes #414 and avoid usage of redirector in QRCode.
Also fixed a bug with URL encoding.
|
|\ \
| |/
|/| |
Fixes QRCode style
|
|/
|
|
|
| |
* fixes a regression misplacing QRCode popup.
* adds a 'show' class in JS to handle CSS transition.
|
|\
| |
| | |
Fixes #403 : Remove QRCode in core CSS and fix plugin layout
|
| | |
|
|\ \
| | |
| | | |
Adding a new placeholder in render_footer hook.
|
| |/
| |
| |
| | |
Allow free elements at the end of the page.
|
|\ \
| | |
| | | |
Fixes #402: build the daily page through renderPage()
|
| |/
| |
| |
| |
| | |
* new entry in the Router for daily page.
* add an always displayed button in demo_plugin
|
| |
| |
| |
| | |
18cca483b0b51f190bd875fc4273a0fff3fedebd ).
|
|\ \
| | |
| | | |
Minimal indent of tools.html
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Temporary fix for head titles
|
|/ /
| |
| |
| | |
only set the title on permalink.
|
|\ \
| | |
| | | |
Fixes #399 - show single link title as page title
|
|/ / |
|
|\ \
| | |
| | | |
fix: assign template variables to empty values so they can be evaluated
|
|/ /
| |
| |
| |
| |
| | |
Regression introduced in #394
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
|
| | |
|
|\ \
| | |
| | | |
application: default to the "stable" branch for update checks
|
|/ /
| |
| |
| |
| |
| |
| | |
Relates to #372
Relates to #390
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
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>
|
|\ \
| | |
| | | |
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
|
|/
|
|
| |
From 2e28269baed195d58bbe169841eed176b171db76
|
|\
| |
| | |
json_encode removed
|
|/
|
|
|
|
| |
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
|