aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Extract the title/charset during page download, and check content typeArthurHoaro2017-10-281-20/+224
| | | | | | | Use CURLOPT_WRITEFUNCTION to check the response code and content type (only allow HTML). Also extract the title and charset during downloading chunk of data, and stop it when everything has been extracted. Closes #579
* Merge pull request #947 from thewilli/wildcardsearchArthurHoaro2017-09-291-0/+83
|\ | | | | wildcard tag search support
| * wildcard tag search supportWilli Eggeling2017-08-301-0/+83
| | | | | | | | | | | | | | - when searching for tags you can now include '*' as wildcard placeholder - new search reduces overall overhead when filtering for tags - fixed combination with description tag search ('#' prefix) - tests added
* | Tests: update localization testsVirtualTam2017-09-193-18/+18
| | | | | | | | | | | | | | Rely on `mag_IN` (Magahi - INDIA) being unavailable when running localization test suites, instead of `pt_BR` that is now available from Travis build images. Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Make work behind a reverse proxyArthurHoaro2017-09-021-0/+36
|/ | | | Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
* Merge pull request #887 from ArthurHoaro/hotfix/dash-tag-renameArthurHoaro2017-08-051-0/+55
|\ | | | | Make sure that the tag exists before altering/removing it
| * Move tag renaming code to LinkDB and unit test itArthurHoaro2017-08-051-0/+55
| |
* | Merge pull request #889 from Lucas-C/masterVirtualTam2017-08-031-2/+1
|\ \ | | | | | | Using only one form in linklist.html - fix #885
| * | Using only one form in linklist.html + adding untaggedonly filter - fix #885Lucas Cimon2017-07-301-2/+1
| |/
* / Add tests to cover new server_url behaviorStephen Muth2017-07-121-0/+28
|/
* Merge pull request #880 from ArthurHoaro/hotfix/allowed-protocolsArthurHoaro2017-05-314-5/+92
|\ | | | | Add a whitelist of protocols for URLs
| * Add a whitelist of protocols for URLsArthurHoaro2017-05-254-5/+92
| | | | | | | | | | | | | | - for Shaare - for markdown description links and images Not whitelisted protocols will be replaced by `http://`
* | Merge pull request #841 from ArthurHoaro/feature/search-no-tagArthurHoaro2017-05-255-9/+46
|\ \ | | | | | | Empty tag search will look for not tagged links
| * | Empty tag search will look for not tagged linksArthurHoaro2017-05-255-9/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #784 From now, searching for tags with an empty value will return only not tagged links, with the search bar showing `x results [not tagged]`. Note that using the api, the searchtags request parameter must be set to `false` to get the same result. - [ ] Update API doc
* | | Adds a taglist view with edit/delete buttonsArthurHoaro2017-05-251-0/+112
| | | | | | | | | | | | | | | | | | * The tag list can be sort alphabetically or by most used tag * Edit/Delete are perform using AJAX, or fallback to 'do=changetag' page * New features aren't backported to vintage theme
* | | Adding ability to display subtags in tagcloudLucas Cimon2017-05-241-2/+29
| |/ |/|
* | Use the new 'default' theme... as defaultArthurHoaro2017-05-091-40/+0
| | | | | | | | Fixes #866
* | History: fix entries orderArthurHoaro2017-05-071-11/+11
| |
* | Add history entries for API endpointArthurHoaro2017-05-079-20/+86
| | | | | | | | CHANGED: datetime is now store as an object in history store file
* | API: Get History endpointArthurHoaro2017-05-072-0/+303
| | | | | | | | See http://shaarli.github.io/api-documentation/#links-history-get
* | Merge pull request #856 from ArthurHoaro/api/delete-linkArthurHoaro2017-05-071-0/+104
|\ \ | | | | | | API: add DELETE endpoint
| * | API: add DELETE endpointArthurHoaro2017-05-071-0/+104
| | | | | | | | | | | | | | | | | | Based on #840 See http://shaarli.github.io/api-documentation/\#links-link-delete
* | | Merge pull request #840 from ArthurHoaro/api/putLinkArthurHoaro2017-05-072-0/+277
|\| | | | | | | | REST API: implement PUT method
| * | REST API: implement PUT methodArthurHoaro2017-05-072-0/+277
| | | | | | | | | | | | | | | * Related to #609 * Documentation: http://shaarli.github.io/api-documentation/#links-link-put
* | | Merge pull request #764 from ArthurHoaro/feature/historyArthurHoaro2017-05-064-18/+380
|\ \ \ | | | | | | | | History mechanism
| * | | History: lazy loading for the history fileArthurHoaro2017-03-211-3/+15
| | | | | | | | | | | | | | | | Only read it when it's necessary
| * | | History mechanismArthurHoaro2017-03-212-17/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use case: rest API service * saved by default in data/history * same format as datastore.php * traced events: * save/edit/delete link * change settings or plugins settings * rename tag
| * | | Move database read/write to FileUtils class + additional unit testsArthurHoaro2017-03-212-1/+109
| | | |
* | | | Merge pull request #830 from ArthurHoaro/theme/timezoneArthurHoaro2017-04-251-32/+51
|\ \ \ \ | | | | | | | | | | Change timezone data structure send to the templates
| * | | | Change timezone data structure send to the templatesArthurHoaro2017-04-031-32/+51
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal of this is to be able to adapt the timezone form in template without hacking the HTML already rendered. * there are two arrays available: * `continents` which contains only a list of available continents * `cities` which contains a list of available timezone cities, associated with their continent Note: there are two distinct array because RainTPL doesn't support nested loop very well.
* | | | Use raw bytes for upload size hidden inputArthurHoaro2017-04-101-1/+12
| | | |
* | | | UtilsTest: PHP 5.5 compatibilityArthurHoaro2017-04-031-8/+8
| | | |
* | | | Fix a warning generated in return_bytes function and refactor itArthurHoaro2017-04-031-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | It was multiplying a string containing a letter. Moved function to Utils.php and display a human readable limit size
* | | | Remove readityourself pluginArthurHoaro2017-04-011-99/+0
| |_|/ |/| | | | | | | | Fixes #818
* | | Merge pull request #742 from ArthurHoaro/api/postLinkArthurHoaro2017-04-012-1/+194
|\ \ \ | | | | | | | | REST API: implement POST link service
| * | | REST API: implement POST link serviceArthurHoaro2017-03-272-1/+194
| |/ /
* / / Theme: use format_date function for daily dateArthurHoaro2017-03-283-5/+59
|/ /
* | Merge pull request #828 from ArthurHoaro/project/master-versionArthurHoaro2017-03-221-1/+1
|\ \ | | | | | | Fix version check branch for UT
| * | Fix version check branch for UTArthurHoaro2017-03-221-1/+1
| | |
* | | Merge pull request #816 from ArthurHoaro/project/master-versionArthurHoaro2017-03-221-7/+40
|\| | | |/ |/| Use 'dev' version on the master branch
| * Set Shaarli's version only in shaarli_version.php fileArthurHoaro2017-03-211-7/+29
| |
| * Use 'dev' version on the master branchArthurHoaro2017-03-121-0/+11
| | | | | | | | Allowed check branches are now `latest` and `stable`.
* | Merge pull request #804 from ArthurHoaro/feature/atom-defaultArthurHoaro2017-03-211-0/+45
|\ \ | | | | | | Fixes #304: use atom feed as default
| * | Fixes #304: use atom feed as defaultArthurHoaro2017-03-111-0/+45
| | | | | | | | | | | | RSS feed is still available with the setting set to false
* | | Proper error if the conf file is invalid instead of fatal errorArthurHoaro2017-03-121-1/+1
| |/ |/| | | | | | | | | | | | | Error: An error occurred while parsing configuration JSON file (data/config.json.php): error code #4 ➜ Syntax error Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com.
* | Merge pull request #779 from ArthurHoaro/feature/import-parser-logsArthurHoaro2017-03-112-18/+26
|\ \ | |/ |/| Link imports are now logged in `data/` folder, and can be debug using…
| * Fix namespace issueArthurHoaro2017-03-101-0/+1
| |
| * Link imports are now logged in `data/` folder, and can be debug using ↵ArthurHoaro2017-03-102-18/+25
| | | | | | | | | | | | `dev.debug=true` setting related to #741 and #681
* | Fix #773: set Piwik URL protocolArthurHoaro2017-03-111-0/+41
|/
* Move config exception to dedicated classes with proper namespaceArthurHoaro2017-03-091-1/+1
|