| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relates to #102
Additions:
- application:
- export: allow prepending note permalinks with the instance's URL
- test coverage
Modifications:
- export template: switch to an HTML form
- link selection (all/private/public)
- prepend note permalinks with the instance's URL
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Use correct 'UTC' timezone
|
| | |
|
|\ \
| | |
| | | |
Fixes #531 - Title retrieving is failing with multiple use case
|
| | |
| | |
| | |
| | | |
see https://github.com/shaarli/Shaarli/issues/531 for details
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Relates to https://github.com/shaarli/netscape-bookmark-parser/issues/5
Fixes:
- respect the Netscape bookmark format "specification"
Modifications:
- [application] introduce the NetscapeBookmarkUtils class
- [template] export - improve formatting, rename export selection parameter
- [template] export.bookmarks - template for Netscape exports
- [tests] bookmark filtering, additional field generation
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| |
| |
| |
| |
| |
| |
| |
| | |
* New config: `$GLOBALS['config']['REDIRECTOR_URLENCODE']` (default `true`).
* Parameter added to LinkDB constructor.
* Fixes a bug with urlencode and escaped url.
* In `index.php`, LinkDB is now instanciate once for `importFile()` and `showDaily()`.
* TU
|
|/
|
|
|
| |
* Force the number format with number_format().
* Reduce the size deciment number to 2.
|
| |
|
|\
| |
| | |
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
|