Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1600 from yudete/master | ArthurHoaro | 2020-10-20 | 1 | -999/+1039 |
|\ | |||||
| * | Update translations (Japanese) | yudete | 2020-10-19 | 1 | -2/+24 |
| | | |||||
| * | Update translations (Japanese) | yudete | 2020-10-19 | 1 | -999/+1017 |
|/ | |||||
* | Merge pull request #1588 from ArthurHoaro/feature/search-highlight | ArthurHoaro | 2020-10-16 | 13 | -38/+533 |
|\ | |||||
| * | add search highlight unit tests | ArthurHoaro | 2020-10-16 | 6 | -3/+184 |
| | | |||||
| * | Feature: highlight fulltext search results | ArthurHoaro | 2020-10-16 | 7 | -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-tag | ArthurHoaro | 2020-10-16 | 4 | -47/+49 |
|\ | | | | | Improve Manage tags page | ||||
| * | Improve Manage tags page | ArthurHoaro | 2020-10-16 | 4 | -47/+49 |
|/ | | | | Fixes #1125 | ||||
* | Merge pull request #1593 from ArthurHoaro/fix/no-url-rewriting | ArthurHoaro | 2020-10-16 | 15 | -16/+41 |
|\ | |||||
| * | Doc: typo | ArthurHoaro | 2020-10-16 | 1 | -1/+1 |
| | | |||||
| * | Inject ROOT_PATH in plugin instead of regenerating it everywhere | ArthurHoaro | 2020-10-16 | 7 | -9/+14 |
| | | |||||
| * | Support using Shaarli without URL rewriting | ArthurHoaro | 2020-10-16 | 10 | -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-daily | ArthurHoaro | 2020-10-16 | 2 | -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 int | ArthurHoaro | 2020-10-16 | 2 | -3/+3 |
| |/ | |||||
* | | Merge pull request #1591 from ArthurHoaro/doc/server-conf-php-v | ArthurHoaro | 2020-10-15 | 1 | -2/+4 |
|\| | | | | | Doc: add PHP 7.4 and 8.0 as supported version | ||||
| * | Doc: add PHP 7.4 and 8.0 as supported version | ArthurHoaro | 2020-10-15 | 1 | -2/+4 |
|/ | |||||
* | Merge pull request #1583 from ArthurHoaro/feature/bookmark-strict-types | ArthurHoaro | 2020-10-13 | 19 | -285/+209 |
|\ | | | | | Add strict types for bookmarks management | ||||
| * | Add strict types for bookmarks management | ArthurHoaro | 2020-10-13 | 19 | -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-mutex | ArthurHoaro | 2020-10-13 | 26 | -63/+218 |
|\ | | | | | Add mutex on datastore I/O operations | ||||
| * | Add mutex on datastore I/O operations | ArthurHoaro | 2020-10-13 | 26 | -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-regexes | ArthurHoaro | 2020-10-13 | 2 | -2/+93 |
|\ | | | | | Improve regex to extract HTML metadata (title, description, etc.) | ||||
| * | Improve regex to extract HTML metadata (title, description, etc.) | ArthurHoaro | 2020-09-03 | 2 | -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-dates | ArthurHoaro | 2020-10-13 | 4 | -8/+18 |
|\ \ | | | | | | | REST API: allow override of creation and update dates | ||||
| * | | REST API: allow override of creation and update dates | ArthurHoaro | 2020-08-29 | 4 | -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-extra | ArthurHoaro | 2020-10-13 | 7 | -13/+256 |
|\ \ \ | | | | | | | | | Add Markdown Extra formatter | ||||
| * | | | Add Markdown Extra formatter | ArthurHoaro | 2020-10-13 | 7 | -13/+256 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169 | ||||
* | | | Update badge versions | ArthurHoaro | 2020-10-13 | 1 | -3/+3 |
| | | | |||||
* | | | Merge pull request #1589 from ArthurHoaro/changelog/v0.12.0 | ArthurHoaro | 2020-10-13 | 2 | -6/+4 |
|\ \ \ | | | | | | | | | CHANGELOG and AUTHORS for v0.12.0 | ||||
| * | | | CHANGELOG and AUTHORS for v0.12.0 | ArthurHoaro | 2020-10-13 | 2 | -6/+4 |
|/ / / | |||||
* | | | Merge pull request #1586 from ArthurHoaro/changelog/v0.12.0-beta-2 | ArthurHoaro | 2020-10-08 | 2 | -4/+10 |
|\ \ \ | | | | | | | | | CHANGELOG and AUTHORS for v0.12.0-beta-2 | ||||
| * | | | CHANGELOG and AUTHORS for v0.12.0-beta-2 | ArthurHoaro | 2020-10-08 | 2 | -4/+10 |
|/ / / | |||||
* | | | Merge pull request #1585 from ArthurHoaro/fix/xss-and-tag-search | ArthurHoaro | 2020-10-08 | 11 | -27/+68 |
|\ \ \ | | | | | | | | | Security: fix multiple XSS vulnerabilities + fix search tags with special chars | ||||
| * | | | Security: fix multiple XSS vulnerabilities + fix search tags with special chars | ArthurHoaro | 2020-10-06 | 11 | -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-ui | nodiscc | 2020-10-04 | 2 | -5/+5 |
|\ \ \ | | | | | | | | | Fix #1437 - Make tag cloud/list views buttons more obvious | ||||
| * | | | Issue #1437 - Make tag cloud/list views buttons more obvious | sprak3000 | 2020-10-02 | 2 | -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-version | nodiscc | 2020-10-04 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | docker-compose.yml: pin traefik image to 1.7-alpine | ||||
| * | | | | docker-compose.yml: pin traefik image to 1.7-alpine | nodiscc | 2020-10-03 | 1 | -1/+1 |
|/ / / / | | | | | | | | | | | | | | | | | - fixes https://github.com/shaarli/Shaarli/issues/1493 - https://hub.docker.com/_/traefik/ | ||||
* | | | | Merge pull request #1575 from ArthurHoaro/feature/php8 | ArthurHoaro | 2020-10-03 | 115 | -785/+690 |
|\ \ \ \ | |||||
| * | | | | Use assertRegExp polyfill instead of regexMatches | ArthurHoaro | 2020-09-29 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | Ignore PHP deps when removing phpunit in PHP 8.0 environment | ArthurHoaro | 2020-09-29 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Update composer dependencies from PHP 7.1 | ArthurHoaro | 2020-09-29 | 1 | -494/+311 |
| | | | | | |||||
| * | | | | Fix missing @expectedException convertion | ArthurHoaro | 2020-09-29 | 8 | -20/+14 |
| | | | | | |||||
| * | | | | Compatibility with PHP 8 | ArthurHoaro | 2020-09-29 | 5 | -19/+11 |
| | | | | | |||||
| * | | | | Compatibility with PHPUnit 9 | ArthurHoaro | 2020-09-29 | 112 | -253/+351 |
| | | | | | |||||
| * | | | | Run CI against PHP 8.0 | ArthurHoaro | 2020-09-29 | 2 | -1/+4 |
| | | | | | |||||
* | | | | | Merge pull request #1574 from stoeps13/hosting-fix | ArthurHoaro | 2020-10-03 | 3 | -2/+59 |
|\ \ \ \ \ | |_|/ / / |/| | | | | |||||
| * | | | | Revert unrelated changes and add unit tests | ArthurHoaro | 2020-09-30 | 2 | -7/+64 |
| | | | | | |||||
| * | | | | Fix identation | Christoph Stoettner | 2020-09-30 | 1 | -5/+5 |
| | | | | | |||||
| * | | | | Change to ->container->environment | Christoph Stoettner | 2020-09-30 | 1 | -18/+10 |
| | | | | | |||||
| * | | | | Workaround for hoster (ionos) | Christoph Stoettner | 2020-09-29 | 2 | -2/+10 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | The hoster writes the environment variable with bearer token to REDIRECT_HTTP_AUTHORIZATION and needs to provide RewriteBase / to .htaccess |