aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* namespacing: \Shaarli\RouterVirtualTam2019-01-125-7/+9
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\ApplicationUtilsVirtualTam2019-01-122-23/+23
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\UpdaterVirtualTam2019-01-123-16/+24
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: move LinkUtils along \Shaarli\Bookmark classesVirtualTam2019-01-123-115/+122
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkFilterVirtualTam2019-01-122-12/+17
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-1220-38/+55
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\FileUtilsVirtualTam2019-01-123-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Render\{PageBuilder,ThemeUtils}VirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: move HTTP utilities along \Shaarli\Http\ classesVirtualTam2019-01-1212-29/+50
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Http\UrlVirtualTam2019-01-121-11/+12
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Http\Base64UrlVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Feed\{Cache,CachedPage,FeedBuilder}VirtualTam2019-01-124-22/+25
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Exceptions\IOExceptionVirtualTam2019-01-123-6/+10
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\HistoryVirtualTam2019-01-129-32/+38
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-025-19/+56
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to tests/VirtualTam2018-12-0226-43/+38
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #1205 from ArthurHoaro/feature/opengraphArthurHoaro2018-10-061-0/+2
|\ | | | | Add OpenGraph meta tags on permalink page
| * Add OpenGraph meta tags on permalink pageArthurHoaro2018-08-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes: - og:title - og:type -> article - og:image -> if there is a thumbnail - og:url -> permalink - og:description -> first 300 chars of raw description - article:published_time - article:modified_time - article:tag -> one OG meta tag for each shaare tag Fixes #258
* | Merge pull request #1212 from ArthurHoaro/hotfix/hashtag-md-escapeArthurHoaro2018-10-065-6/+38
|\ \ | | | | | | Fix hashtags with markdown escape enabled
| * | Fix hashtags with markdown escape enabledArthurHoaro2018-08-145-6/+38
| |/ | | | | | | | | | | They're now transformed to markdown syntax links before processing them through Parsedown. Fixes #1210
* | Add a button to set links as stickyArthurHoaro2018-10-066-26/+133
| | | | | | | | | | | | Meaning that they always appear on top of all links Fixes #186
* | Isso plugin: add an icon in linklist if enabledArthurHoaro2018-08-141-6/+10
|/ | | | Fixes #1075
* Merge pull request #687 from ArthurHoaro/web-thumbArthurHoaro2018-07-285-12/+258
|\ | | | | Use web-thumbnailer to retrieve thumbnails
| * Bunch of improvement for thumbnails integration:ArthurHoaro2018-07-171-1/+1
| | | | | | | | | | | | | | | | - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config
| * Thumbnails: add a common mode to only retrieve thumbs from popular media ↵ArthurHoaro2018-07-053-11/+41
| | | | | | | | websites
| * Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-052-10/+42
| |
| * Update thumbnail integration after rebasing the branchArthurHoaro2018-07-054-27/+134
| |
| * ConfigManager: add a method to remove an entryArthurHoaro2018-07-051-0/+23
| |
| * Use web-thumbnailer to retrieve thumbnailsArthurHoaro2018-07-052-0/+54
| | | | | | | | | | | | | | | | | | | | * requires PHP 5.6 * use blazy on linklist since a lot more thumbs are retrieved * thumbnails can be disabled * thumbs size is now 120x120 * thumbs are now cropped to fit the expected size Fixes #345 #425 #487 #543 #588 #590
* | Merge pull request #1141 from ArthurHoaro/api/tagsArthurHoaro2018-07-1011-0/+711
|\ \ | |/ |/| Implements Tags endpoints for Shaarli's REST API
| * GetTagsTest - Update to alpha sort for equal occurencesArthurHoaro2018-07-053-8/+8
| |
| * Implements Tags endpoints for Shaarli's REST APIArthurHoaro2018-06-0411-0/+711
| | | | | | | | | | | | | | | | | | | | | | | | Endpoints: * List All Tags [GET] * Get a tag [GET] * Update a tag [PUT] * Delete a tag [DELETE] Fixes #904 References shaarli/api-documentation#34
* | docker: move testing resources to tests/dockerVirtualTam2018-06-164-0/+141
|/ | | | | | Relates to https://github.com/shaarli/Shaarli/issues/1153 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #1143 from ArthurHoaro/sort-equal-tagsArthurHoaro2018-06-041-0/+100
|\ | | | | Fix order of tags with the same number of occurrences
| * Tag sort - UT + comment + fix filter and visibilityArthurHoaro2018-05-291-0/+100
| | | | | | | | Before this, linksCountPerTag call without would have ignored visibility parameter
* | SessionManager+LoginManager: fix checkLoginState logicVirtualTam2018-06-021-5/+10
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Add test coverage for LoginManager methodsVirtualTam2018-06-023-6/+157
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | SessionManager: remove unused UID tokenVirtualTam2018-06-021-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There already are dedicated tokens for: - CSRF protection - user stay-signed-in feature, via cookie This token was most likely intended as a randomly generated, server-side, secret key to be used when generating hashes. See http://sebsauvage.net/wiki/doku.php?id=php:session [FR] Relevant section: Une clé secrète unique aléatoire est générée côté serveur (et jamais envoyée). Elle peut servir pour signer les formulaires (HMAC) ou générer des token de formulaires (protection contre XSRF). Voir $_SESSION['uid']. Translation: A unique, server-side secret key is randomly generated (and never transmitted). It can be used to sign forms (HMAC) or generate form tokens (protection against XSRF). See $_SESSION['uid'] Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Refactor LoginManager stay-signed-in token managementVirtualTam2018-06-021-0/+31
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Refactor session and cookie timeout controlVirtualTam2018-06-021-22/+159
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Move LoginManager and SessionManager to the Security namespaceVirtualTam2018-06-022-2/+2
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Refactor user credential validation at login timeVirtualTam2018-05-291-2/+2
| | | | | | | | | | | | | | | | Changed: - move login/password verification to LoginManager - code cleanup Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Refactor client session hijacking protectionVirtualTam2018-05-291-0/+52
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Fix feed permalink rendering with markdown escape set to trueArthurHoaro2018-05-191-0/+55
|/ | | | Fixes #1134
* Update parsedown to its latest version instead of fixed 1.6ArthurHoaro2018-03-311-2/+2
|
* Merge pull request #1093 from ArthurHoaro/feature/theme-translationArthurHoaro2018-03-264-0/+68
|\ | | | | Load theme translations files automatically
| * Load theme translations files automaticallyArthurHoaro2018-03-264-0/+68
| | | | | | | | | | | | Fixes #1077 Take a look at the docs update to see how it works