aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Process manage tags page through Slim controllerArthurHoaro2020-07-231-0/+272
|
* Process configure page through Slim controllerArthurHoaro2020-07-234-18/+294
|
* Password change: UT use case with open shaarliArthurHoaro2020-07-231-0/+17
|
* Test ShaarliAdminControllerArthurHoaro2020-07-232-1/+200
|
* Process password change controller through SlimArthurHoaro2020-07-2314-125/+188
|
* Process tools page through Slim controllerArthurHoaro2020-07-232-1/+74
|
* Initialize admin Slim controllersArthurHoaro2020-07-2313-33/+137
| | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links
* Process session filters through Slim controllersArthurHoaro2020-07-233-0/+478
| | | | | | | Including: - visibility - links per page - untagged only
* Process remove tag endpoint through Slim controllerArthurHoaro2020-07-231-0/+82
|
* Refactor front controller tests to create container mock using a traitArthurHoaro2020-07-2312-465/+232
|
* Process OpenSearch controller through SlimArthurHoaro2020-07-231-0/+92
| | | | Also it was missing on the default template feeds
* RSS/ATOM feeds: process through Slim controllerArthurHoaro2020-07-232-3/+222
|
* Make FeedBuilder instance creation independant of the request stackArthurHoaro2020-07-231-48/+15
|
* PHP 7.1 compatibilityArthurHoaro2020-07-231-2/+2
|
* Process Daily RSS feed through Slim controllerArthurHoaro2020-07-233-6/+182
| | | | The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
* Slim daily: minor bugfix with empty dataArthurHoaro2020-07-231-0/+4
|
* Process daily page through Slim controllerArthurHoaro2020-07-231-0/+423
|
* Process tag list page through Slim controllerArthurHoaro2020-07-231-12/+191
|
* Few optimizations and code readability for tag cloud controllerArthurHoaro2020-07-231-3/+3
|
* Handle tag filtering in the Bookmark serviceArthurHoaro2020-07-232-7/+2
|
* Working version before optimizationArthurHoaro2020-07-231-0/+258
|
* Slim router: handle add tag routeArthurHoaro2020-07-239-95/+197
|
* Process logout through Slim controllerArthurHoaro2020-07-232-1/+69
|
* Migrate cache purge function to a proper classArthurHoaro2020-07-233-24/+16
| | | | | | And update dependencies and tests. Note that SESSION['tags'] has been removed a log ago
* Process picwall rendering through Slim controller + UTArthurHoaro2020-07-232-0/+184
|
* fixed typoSébastien NOBILI2020-03-021-1/+1
|
* ldap authentication, fixes shaarli/Shaarli#1343Sébastien NOBILI2020-03-021-0/+34
|
* Execute common plugin hooks before rendering login pageArthurHoaro2020-01-262-2/+123
|
* Fix all existing links and redirection to ?do=loginArthurHoaro2020-01-261-2/+2
|
* Render login page through Slim controllerArthurHoaro2020-01-263-0/+292
|
* Fix an issue with private tags and fix nomarkdown tagArthurHoaro2020-01-187-6/+68
| | | | | | | | The new bookmark service wasn't handling private tags properly. nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists. Fixes #726
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-1842-1736/+4705
| | | | See #1307
* Run Unit Tests against PHP 7.4ArthurHoaro2020-01-176-8/+18
| | | | | | | | Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised.
* Markdown plugin: fix RSS feed direct link reverseArthurHoaro2019-08-151-0/+10
| | | | The plugin was only reversing permalinks and failed with setting rss_permalinks set to false
* Fix UT: LinkDBTest - make each tests independantArthurHoaro2019-08-101-13/+12
| | | | | Otherwise the datastore is empty in the last test, making it inconsistent due to dates issues.
* Make sure that bookmark sort is consistent, even with equal timestampsArthurHoaro2019-08-071-0/+35
| | | | Fixes #1348
* Default colors plugin - Add unit testsArthurHoaro2019-07-201-0/+195
|
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-061-11/+193
| | | | | | | | | | | | | | | If the option is enabled, it will try to find a meta tag containing the page description and keywords, just like we do for the page title. It will either look for regular meta tag or OpenGraph ones. The option is disabled by default. Note that keywords meta tags is mostly not used. In `configure` template, the variable associated with this setting is `$retrieve_description`. Fixes #1302
* Merge pull request #1273 from ArthurHoaro/feature/ban-managerArthurHoaro2019-05-252-97/+400
|\ | | | | Rewrite IP ban management
| * Rewrite IP ban managementArthurHoaro2019-02-092-97/+400
| | | | | | | | | | | | | | This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager. IPs are now stored in the same format as the datastore, through FileUtils. Fixes #1032 #587
* | Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieveArthurHoaro2019-03-021-0/+20
|\ \ | | | | | | Do not try to retrieve thumbnails for internal link
| * | Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-241-0/+20
| |/ | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* / Remove the redirector settingArthurHoaro2019-02-094-71/+23
|/ | | | Fixes #1239
* Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-loginArthurHoaro2019-02-091-0/+14
|\ | | | | Do not check the IP address with session protection disabled
| * Do not check the IP address with session protection disabledArthurHoaro2018-07-171-0/+14
| | | | | | | | | | | | This allows the user to stay logged in if his IP changes. Fixes #1106
* | Optimize and cleanup importsVirtualTam2019-01-1327-84/+86
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | API: update test regexes to comply with PCRE2VirtualTam2019-01-131-2/+2
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: add plugin tests to \Shaarli\Plugin\[...]VirtualTam2019-01-129-15/+22
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Plugin\PluginManagerVirtualTam2019-01-129-15/+14
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Netscape\NetscapeBookmarkUtilsVirtualTam2019-01-129-7/+8
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>