aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Support using Shaarli without URL rewritingArthurHoaro2020-10-1610-11/+31
| | | | | | | | | - Shaarli can be fully used by prefixing any URL with /index.php/ - {$base_path} used in templates already works with this configuration - Assets path (outside of theme's assets) must be prefixed with {$root_url}/ - Documentation section in « Server configuration » Fixes #1590
* Doc: add PHP 7.4 and 8.0 as supported versionArthurHoaro2020-10-151-2/+4
|
* Merge pull request #1583 from ArthurHoaro/feature/bookmark-strict-typesArthurHoaro2020-10-1319-285/+209
|\ | | | | Add strict types for bookmarks management
| * Add strict types for bookmarks managementArthurHoaro2020-10-1319-285/+209
|/ | | | | | | | Parameters typing and using strict types overall increase the codebase quality by enforcing the a given parameter will have the expected type. It also removes the need to unnecessary unit tests checking methods behavior with invalid input.
* Merge pull request #1570 from ArthurHoaro/feature/datastore-mutexArthurHoaro2020-10-1326-63/+218
|\ | | | | Add mutex on datastore I/O operations
| * Add mutex on datastore I/O operationsArthurHoaro2020-10-1326-63/+218
|/ | | | | | To make sure that there is no concurrent operation on the datastore file. Fixes #1132
* Merge pull request #1540 from ArthurHoaro/fix/metadata-regexesArthurHoaro2020-10-132-2/+93
|\ | | | | Improve regex to extract HTML metadata (title, description, etc.)
| * Improve regex to extract HTML metadata (title, description, etc.)ArthurHoaro2020-09-032-2/+93
| | | | | | | | | | | | Also added a bunch of tests to cover more use cases. Fixes #1375
* | Merge pull request #1525 from ArthurHoaro/feature/rest-api-bookmark-datesArthurHoaro2020-10-134-8/+18
|\ \ | | | | | | REST API: allow override of creation and update dates
| * | REST API: allow override of creation and update datesArthurHoaro2020-08-294-8/+18
| | | | | | | | | | | | | | | | | | | | | Note that if they're not provided, default behaviour will apply: creation and update dates will be autogenerated, and not empty. Fixes #1223
* | | Merge pull request #1521 from ArthurHoaro/feature/markdown-extraArthurHoaro2020-10-137-13/+256
|\ \ \ | | | | | | | | Add Markdown Extra formatter
| * | | Add Markdown Extra formatterArthurHoaro2020-10-137-13/+256
|/ / / | | | | | | | | | | | | | | | | | | | | | Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169
* | | Update badge versionsArthurHoaro2020-10-131-3/+3
| | |
* | | Merge pull request #1589 from ArthurHoaro/changelog/v0.12.0ArthurHoaro2020-10-132-6/+4
|\ \ \ | | | | | | | | CHANGELOG and AUTHORS for v0.12.0
| * | | CHANGELOG and AUTHORS for v0.12.0ArthurHoaro2020-10-132-6/+4
|/ / /
* | | Merge pull request #1586 from ArthurHoaro/changelog/v0.12.0-beta-2ArthurHoaro2020-10-082-4/+10
|\ \ \ | | | | | | | | CHANGELOG and AUTHORS for v0.12.0-beta-2
| * | | CHANGELOG and AUTHORS for v0.12.0-beta-2ArthurHoaro2020-10-082-4/+10
|/ / /
* | | Merge pull request #1585 from ArthurHoaro/fix/xss-and-tag-searchArthurHoaro2020-10-0811-27/+68
|\ \ \ | | | | | | | | Security: fix multiple XSS vulnerabilities + fix search tags with special chars
| * | | Security: fix multiple XSS vulnerabilities + fix search tags with special charsArthurHoaro2020-10-0611-27/+68
|/ / / | | | | | | | | | | | | | | | XSS vulnerabilities fixed in editlink, linklist, tag.cloud and tag.list. Also fixed tag search with special characters: urlencode function needs to be applied on raw data, before espaping, otherwise the rendered URL is wrong.
* | | Merge pull request #1579 from sprak3000/issue-1437-tag-sort-buttons-uinodiscc2020-10-042-5/+5
|\ \ \ | | | | | | | | Fix #1437 - Make tag cloud/list views buttons more obvious
| * | | Issue #1437 - Make tag cloud/list views buttons more obvioussprak30002020-10-022-5/+5
| | | | | | | | | | | | | | | | This work alters the markup and CSS for the tag sort UI to match the button feel filters and links per page uses.
* | | | Merge pull request #1581 from nodiscc/compose-traefik-versionnodiscc2020-10-041-1/+1
|\ \ \ \ | | | | | | | | | | docker-compose.yml: pin traefik image to 1.7-alpine
| * | | | docker-compose.yml: pin traefik image to 1.7-alpinenodiscc2020-10-031-1/+1
|/ / / / | | | | | | | | | | | | | | | | - fixes https://github.com/shaarli/Shaarli/issues/1493 - https://hub.docker.com/_/traefik/
* | | | Merge pull request #1575 from ArthurHoaro/feature/php8ArthurHoaro2020-10-03115-785/+690
|\ \ \ \
| * | | | Use assertRegExp polyfill instead of regexMatchesArthurHoaro2020-09-291-1/+2
| | | | |
| * | | | Ignore PHP deps when removing phpunit in PHP 8.0 environmentArthurHoaro2020-09-291-1/+1
| | | | |
| * | | | Update composer dependencies from PHP 7.1ArthurHoaro2020-09-291-494/+311
| | | | |
| * | | | Fix missing @expectedException convertionArthurHoaro2020-09-298-20/+14
| | | | |
| * | | | Compatibility with PHP 8ArthurHoaro2020-09-295-19/+11
| | | | |
| * | | | Compatibility with PHPUnit 9ArthurHoaro2020-09-29112-253/+351
| | | | |
| * | | | Run CI against PHP 8.0ArthurHoaro2020-09-292-1/+4
| | | | |
* | | | | Merge pull request #1574 from stoeps13/hosting-fixArthurHoaro2020-10-033-2/+59
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Revert unrelated changes and add unit testsArthurHoaro2020-09-302-7/+64
| | | | |
| * | | | Fix identationChristoph Stoettner2020-09-301-5/+5
| | | | |
| * | | | Change to ->container->environmentChristoph Stoettner2020-09-301-18/+10
| | | | |
| * | | | Workaround for hoster (ionos)Christoph Stoettner2020-09-292-2/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | The hoster writes the environment variable with bearer token to REDIRECT_HTTP_AUTHORIZATION and needs to provide RewriteBase / to .htaccess
* | | | Merge pull request #1577 from ArthurHoaro/fix/edit-zeroArthurHoaro2020-10-022-1/+25
|\ \ \ \ | | | | | | | | | | Fix a bug preventing to edit bookmark with ID #0
| * | | | Fix a bug preventing to edit bookmark with ID #0ArthurHoaro2020-09-302-1/+25
|/ / / /
* | | | Merge pull request #1576 from ArthurHoaro/release/v0.12.0-beta-1/changelogArthurHoaro2020-09-303-10/+23
|\ \ \ \ | | | | | | | | | | Update CHANGELOG and AUTHOR
| * | | | Update CHANGELOG and AUTHORArthurHoaro2020-09-303-10/+23
|/ / / /
* | | | Merge pull request #1569 from ArthurHoaro/fix/bad-encodingArthurHoaro2020-09-303-2/+15
|\ \ \ \ | | | | | | | | | | Fix warning if the encoding retrieved from external headers is invalid
| * | | | Fix warning if the encoding retrieved from external headers is invalidArthurHoaro2020-09-303-2/+15
| | | | | | | | | | | | | | | | | | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n"
* | | | | Merge pull request #1566 from nodiscc/makefile-composer-installArthurHoaro2020-09-302-10/+9
|\ \ \ \ \ | |_|/ / / |/| | | | doc/Makefile: remove references to composer update
| * | | | doc/Makefile: remove references to composer updatenodiscc2020-09-242-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add make composer_dependencies_dev Makefile target and use this instead - fix composer initial installation procedure - fix php-xdebug install instructions
* | | | | Merge pull request #1572 from ArthurHoaro/feature/php8ArthurHoaro2020-09-2952-244/+258
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Convert legacy PHPUnit @expected* to new ->expect*ArthurHoaro2020-09-2722-171/+184
| | | | | | | | | | | | | | | | | | | | Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
| * | | | Comply with PHPUnit V8: setup/teardown functions must return voidArthurHoaro2020-09-2647-72/+72
| | | | |
| * | | | tmpArthurHoaro2020-09-261-1/+2
| | | | |
| * | | | Travis CI: run composer update instead of installArthurHoaro2020-09-262-2/+2
|/ / / / | | | | | | | | | | | | And ignore PHP 7.1 platform requirement, in order to get matching version of PHPUnit
* | | | Merge pull request #1568 from ArthurHoaro/fix/vintage-linkdateArthurHoaro2020-09-261-1/+0
|\ \ \ \ | | | | | | | | | | Fix undefined linkdate variable in vintage theme