| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
Minor changes:
* Fix the date which was in a invalid format.
* Avoid empty categories (tags).
* Use the locale to set the language
|
| | |
|
|/ |
|
|
|
|
| |
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
|
| |
|
|
|
|
| |
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
|
|\
| |
| | |
Allow crossed search between terms and tags
|
| |
| |
| |
| |
| |
| |
| | |
* Partial fix of #449
* Current use case: search term + click on tag.
* LinkFilter now returns all links if no filter is given.
* Unit tests.
|
|\ \
| |/
|/| |
Fixes #481: tag cloud fatal error
|
| |
| |
| |
| | |
Only send LC_COLLATE to Collator and check that no error occured.
|
| | |
|
|\ \
| | |
| | | |
cleanup: use DateTime to format dates
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes #270
Modifications:
- replace custom date parsing by DateTime calls
- use proper date formatting for RSS feeds
Deletions:
- linkdate2timestamp()
- linkdate2rfc822
- linkdate2iso8601
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|/
|
|
|
|
| |
Spaces at the start of shaares can be intended. Eg: markdown plugin.
#468
|
|\
| |
| | |
Fixes #456: Tag cloud does not sort tags (fully) alphabetically
|
| |
| |
| |
| |
| |
| |
| | |
* Use Collator class to sort tags using the locale (in PECL intl, included in most PHP installation).
* Use strcasecmp if Collator is not found.
Both sorts are case insensitive.
|
| | |
|
|\ \
| | |
| | | |
Fixes typo in plugin admin redirection URL
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fixes #440 - 404 error after editing a link
|
| | | |
| | | |
| | | |
| | | | |
Remove unnecessary escape().
|
| | |/
| |/| |
|
|\ \ \
| |_|/
|/| | |
Introduce the Updater class which
|
| |/
| |
| |
| |
| |
| |
| | |
* contains methods designed to be run once.
* is able to upgrade the datastore or the configuration.
* is based on methods names, stored in a text file with ';' separator (updates.txt).
* begins with existing function 'mergeDeprecatedConfigFile()' (options.php).
|
| | |
|
|\ \
| | |
| | | |
Initialize plugin parameters array to avoid unnecessary warning.
|
| |/ |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Solve #430 for links
|
|
|
|
|
|
|
|
|
|
|
| |
Relates to #436
Modifications:
- inject dependencies to global variables ($_SERVER, $GLOBALS)
- apply coding conventions
- add test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
|
|
|
|
|
| |
* `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.
|
|\
| |
| | |
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.
|
|/
|
|
|
| |
Also adds a validation where renaming with 'fromtag' specified and empty 'totag'.
It was causing a 404, now it just re-render the form.
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
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 ).
|
|/
|
|
| |
only set the title on permalink.
|
| |
|
|
|
|
|
|
| |
Regression introduced in #394
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
|
|
|
| |
Relates to #372
Relates to #390
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|