| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Refactor RSS feeds generation, and do it through templates
|
| |
| |
| |
| |
| |
| |
| |
| | |
* search type now carried by LinkDB in order to factorize code between different search sources.
* LinkDB->filter split in 3 method: filterSearch, filterHash, filterDay (we know what type of filter is needed).
* filterHash now throw a LinkNotFoundException if it doesn't exist: internal implementation choice, still displays a 404.
* Smallhash regex has been rewritten.
* Unit tests update
|
| | |
|
| |
| |
| |
| | |
Create an example of the new hook in the demo plugin.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|