aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Update translations (Japanese)yudete2020-10-191-999/+1017
|
* Merge pull request #1588 from ArthurHoaro/feature/search-highlightArthurHoaro2020-10-1613-38/+533
|\
| * add search highlight unit testsArthurHoaro2020-10-166-3/+184
| |
| * Feature: highlight fulltext search resultsArthurHoaro2020-10-167-35/+349
|/ | | | | | | | | | | | | | | | | | | | How it works: 1. when a fulltext search is made, Shaarli looks for the first occurence position of every term matching the search. No change here, but we store these positions in an array, in Bookmark's additionalContent. 2. when formatting bookmarks (through BookmarkFormatter implementation): 1. first we insert specific tokens at every search result positions 2. we format the content (escape HTML, apply markdown, etc.) 3. as a last step, we replace our token with displayable span elements Cons: this tightens coupling between search filters and formatters Pros: it was absolutely necessary not to perform the search twice. this solution has close to no impact on performances. Fixes #205
* Merge pull request #1596 from ArthurHoaro/feature/better-rename-tagArthurHoaro2020-10-164-47/+49
|\ | | | | Improve Manage tags page
| * Improve Manage tags pageArthurHoaro2020-10-164-47/+49
|/ | | | Fixes #1125
* Merge pull request #1593 from ArthurHoaro/fix/no-url-rewritingArthurHoaro2020-10-1615-16/+41
|\
| * Doc: typoArthurHoaro2020-10-161-1/+1
| |
| * Inject ROOT_PATH in plugin instead of regenerating it everywhereArthurHoaro2020-10-167-9/+14
| |
| * 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
* | Merge pull request #1592 from ArthurHoaro/fix/strict-type-dailyArthurHoaro2020-10-162-3/+3
|\ \ | | | | | | Strict types: fix an issue in daily where the date could be an int
| * | Strict types: fix an issue in daily where the date could be an intArthurHoaro2020-10-162-3/+3
| |/
* | Merge pull request #1591 from ArthurHoaro/doc/server-conf-php-vArthurHoaro2020-10-151-2/+4
|\| | | | | Doc: add PHP 7.4 and 8.0 as supported version
| * 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
|/ / / /