| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fix update method escapeUnescapedConfig
|
| |
| |
| |
| |
| |
| |
| | |
* Actually run it
* unit tests
Fixes #611
|
| |
| |
| |
| |
| |
| | |
Correct PR #573 to work properly with hidden tags, and add ReferenceLinkDB UT.
Fixes #571 - Closes #573
|
|/ |
|
|\
| |
| | |
Hide expected 'error_log' while running TU (clean PHPUnit log)
|
| | |
|
|/ |
|
|\
| |
| | |
Hashtag system
|
| |
| |
| |
| |
| |
| | |
* Hashtag are auto-linked with a filter search
* Supports unicode
* Compatible with markdown (excluded in code blocks)
|
|\ \
| |/
|/| |
Introduce a configuration manager
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Also use the Updater to make the transition
|
| |
| |
| |
| | |
code base
|
| | |
|
|\ \
| | |
| | | |
The "nomarkdown" tag is no longer private
|
| |/
| |
| |
| | |
A private tag is never loaded for visitor, making this feature useless.
|
|\ \
| | |
| | | |
Fixes #497: ignore case difference between tags
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While retrieving all tags, case differences will be ignored.
This affects:
* tag cloud
* tag autocompletion
|
| |/
|/|
| |
| | |
update test case
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\
| |
| | |
Refactor and rebase #380: Firefox reader view links
|
| |
| |
| |
| |
| | |
Fixes #366
Closes #380
|
|\ \
| | |
| | | |
Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare fro…
|
| | |
| | |
| | |
| | |
| | |
| | | |
parsed with markdown
Also add the tag in tag list in edit_link, so it will appear on autocompletion.
|
|\ \ \
| |_|/
|/| | |
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
|
| |/ |
|
|/ |
|
|
|
|
| |
Going through multiple reverse proxy will store multiple scheme and port in HTTP header separated by a comma. Shaarli will use the first one to generate server_url.
|
|\
| |
| | |
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.
|
|/
|
|
| |
Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Tags starting with a dot '.' are now private.
They can only be seen and searched when logged in.
Fixes #315
|
|
|
|
|
|
|
|
|
|
|
| |
* Searching '-mytag' will now exlude all shaares with 'mytag' tag.
* All tags starting with a '-' are renamed without it (through the Updater).
* Unit tests.
Minor code changes:
* LinkDB->filter() can now take no parameters (get all link depending on logged status).
* tagsStrToArray() is now static and filters blank tags.
|
|
|
|
|
|
|
| |
* 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).
|