aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #558 from ArthurHoaro/hashtag4Arthur2016-07-095-45/+124
|\ | | | | Hashtag system
| * Hashtag systemArthurHoaro2016-06-065-45/+124
| | | | | | | | | | | | * Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks)
* | Merge pull request #570 from ArthurHoaro/config-managerArthur2016-07-0916-373/+722
|\ \ | |/ |/| Introduce a configuration manager
| * Add closing PHP tags to JSON config filesArthurHoaro2016-06-203-1/+4
| |
| * Rename configuration key for better sectionsArthurHoaro2016-06-114-41/+43
| |
| * PluginManager no longer uses singleton patternArthurHoaro2016-06-113-22/+29
| |
| * ConfigManager no longer uses singleton patternArthurHoaro2016-06-114-53/+51
| |
| * Rename configuration keys and fix GLOBALS in templatesArthurHoaro2016-06-117-140/+93
| |
| * Use the configuration manager for wallabag and readityourself pluginArthurHoaro2016-06-112-4/+7
| |
| * Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-116-16/+348
| | | | | | | | Also use the Updater to make the transition
| * Replace $GLOBALS configuration with the configuration manager in the whole ↵ArthurHoaro2016-06-1110-332/+118
| | | | | | | | code base
| * Introduce a configuration manager (not plugged yet)ArthurHoaro2016-06-114-0/+265
| |
* | Merge pull request #582 from ArthurHoaro/hotfix/nomarkdownArthur2016-06-061-2/+4
|\ \ | | | | | | The "nomarkdown" tag is no longer private
| * | The tag is no longer privateArthurHoaro2016-05-301-2/+4
| |/ | | | | | | A private tag is never loaded for visitor, making this feature useless.
* | Merge pull request #583 from ArthurHoaro/enhance/tag-caseArthur2016-06-033-4/+6
|\ \ | | | | | | Fixes #497: ignore case difference between tags
| * | Fixes #497: ignore case difference between tagsArthurHoaro2016-05-313-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | While retrieving all tags, case differences will be ignored. This affects: * tag cloud * tag autocompletion
* | | Url.php: remove unwanted ?PHPSESSID= URL parameters,nodiscc2016-05-201-0/+1
| |/ |/| | | | | update test case
* | Add private link counterArthurHoaro2016-05-131-0/+9
| |
* | Export: allow prepending notes with the Shaarli instance's URLVirtualTam2016-05-061-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | typoArthurHoaro2016-05-051-2/+2
| |
* | Merge pull request #551 from ArthurHoaro/hotfix/timezoneArthur2016-05-051-1/+1
|\ \ | | | | | | Use correct 'UTC' timezone
| * | Use correct 'UTC' timezoneArthurHoaro2016-05-031-1/+1
| | |
* | | Merge pull request #532 from ArthurHoaro/hotfix/title-retrieve-the-returnArthur2016-05-032-0/+42
|\ \ \ | | | | | | | | Fixes #531 - Title retrieving is failing with multiple use case
| * | | Fixes #531 - Title retrieving is failing with multiple use caseArthurHoaro2016-05-032-0/+42
| | |/ | |/| | | | | | | see https://github.com/shaarli/Shaarli/issues/531 for details
* | | Refactor Netscape bookmark exportingVirtualTam2016-04-101-0/+104
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fixes #480: add an option to urlencode redirector URLArthurHoaro2016-04-091-0/+7
|/ | | | | | | | * 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
* Merge pull request #522 from ArthurHoaro/hotfix/readershaareVirtualTam2016-03-301-0/+7
|\ | | | | Refactor and rebase #380: Firefox reader view links
| * Refactor and rebase #380: Firefox reader view linksArthurHoaro2016-03-261-0/+7
| | | | | | | | | | Fixes #366 Closes #380
* | Merge pull request #520 from ArthurHoaro/plugins/nomarkdownArthur2016-03-261-1/+36
|\ \ | | | | | | Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare fro…
| * | Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare from being ↵ArthurHoaro2016-03-211-1/+36
| | | | | | | | | | | | | | | | | | parsed with markdown Also add the tag in tag list in edit_link, so it will appear on autocompletion.
* | | Merge pull request #515 from ArthurHoaro/template-feedsArthur2016-03-255-25/+284
|\ \ \ | |_|/ |/| | Refactor RSS feeds generation, and do it through templates
| * | Refactor filter in LinkDBArthurHoaro2016-03-253-10/+57
| | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | FeedBuilder unit testsArthurHoaro2016-03-253-15/+227
| |/
* / Fixes #512: retrieving title didn't match the first closing tagArthurHoaro2016-03-081-0/+2
|/
* Fixes #477: support multi reverse proxy with comma syntaxArthurHoaro2016-02-281-0/+13
| | | | 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.
* Merge pull request #496 from ArthurHoaro/cross-searchArthur2016-02-281-1/+50
|\ | | | | Allow crossed search between terms and tags
| * Allow crossed search between terms and tagsArthurHoaro2016-02-281-1/+50
| | | | | | | | | | | | | | * Partial fix of #449 * Current use case: search term + click on tag. * LinkFilter now returns all links if no filter is given. * Unit tests.
* | Markdown: don't escape content + sanitize sensible tagsArthurHoaro2016-02-191-7/+12
|/ | | | Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
* Support text search across link fields.ArthurHoaro2016-02-153-10/+50
|
* Improved search: combine AND, exact terms and exclude search.ArthurHoaro2016-02-153-5/+47
|
* Private/Hidden tagsArthurHoaro2016-02-153-2/+20
| | | | | | | Tags starting with a dot '.' are now private. They can only be seen and searched when logged in. Fixes #315
* Add exclusion in tag searchArthurHoaro2016-02-154-3/+39
| | | | | | | | | | | * 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.
* Introduce the Updater class whichArthurHoaro2016-02-153-42/+295
| | | | | | | * 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).
* Merge pull request #453 from ArthurHoaro/pr450Arthur2016-02-011-1/+16
|\ | | | | Implemented a little more sophisticated searching (squashed)
| * Implemented searching for a phrase in double-quotes or all words in no ↵Florian Voigt2016-02-011-1/+16
| | | | | | | | | | | | particular order. + unit tests
* | Merge pull request #388 from ArthurHoaro/pluginadminArthur2016-01-313-0/+130
|\ \ | | | | | | Fixes #378 - Plugin administration UI.
| * | Fixes #378 - Plugin administration UI.ArthurHoaro2016-01-313-0/+130
| |/
* | Merge pull request #379 from ArthurHoaro/plugin-markdownArthur2016-01-311-0/+112
|\ \ | |/ |/| PLUGIN Markdown
| * PLUGIN MarkdownArthurHoaro2016-01-031-0/+112
| | | | | | | | | | | | | | | | | | | | Parse link description in Markdown (HTML) before rendering. * hard remove of Shaarli's HTML before parsing. * Using Parsedown <https://github.com/erusev/parsedown> PHP lib. * Includes basic markdown CSS. * Style: removed 400px height max limit for shaares. * Unit tests.
* | fix: use PHP_EOL for carriage returns in file logsVirtualTam2016-01-181-1/+1
| | | | | | | | | | | | Relates to #436 Signed-off-by: VirtualTam <virtualtam@flibidi.net>