Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Markdown Extra formatter | ArthurHoaro | 2020-10-13 | 2 | -1/+163 |
| | | | | | | | | Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169 | ||||
* | Merge pull request #1575 from ArthurHoaro/feature/php8 | ArthurHoaro | 2020-10-03 | 111 | -287/+368 |
|\ | |||||
| * | Use assertRegExp polyfill instead of regexMatches | ArthurHoaro | 2020-09-29 | 1 | -1/+2 |
| | | |||||
| * | Fix missing @expectedException convertion | ArthurHoaro | 2020-09-29 | 8 | -20/+14 |
| | | |||||
| * | Compatibility with PHP 8 | ArthurHoaro | 2020-09-29 | 3 | -18/+7 |
| | | |||||
| * | Compatibility with PHPUnit 9 | ArthurHoaro | 2020-09-29 | 110 | -249/+346 |
| | | |||||
* | | Merge pull request #1574 from stoeps13/hosting-fix | ArthurHoaro | 2020-10-03 | 1 | -0/+47 |
|\ \ | |||||
| * | | Revert unrelated changes and add unit tests | ArthurHoaro | 2020-09-30 | 1 | -0/+47 |
| |/ | |||||
* | | Fix a bug preventing to edit bookmark with ID #0 | ArthurHoaro | 2020-09-30 | 1 | -0/+24 |
| | | |||||
* | | Merge pull request #1569 from ArthurHoaro/fix/bad-encoding | ArthurHoaro | 2020-09-30 | 1 | -0/+13 |
|\ \ | |/ |/| | Fix warning if the encoding retrieved from external headers is invalid | ||||
| * | Fix warning if the encoding retrieved from external headers is invalid | ArthurHoaro | 2020-09-30 | 1 | -0/+13 |
| | | | | | | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n" | ||||
* | | Convert legacy PHPUnit @expected* to new ->expect* | ArthurHoaro | 2020-09-27 | 21 | -170/+183 |
| | | | | | | | | Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect | ||||
* | | Comply with PHPUnit V8: setup/teardown functions must return void | ArthurHoaro | 2020-09-26 | 47 | -72/+72 |
|/ | |||||
* | Merge pull request #1560 from ArthurHoaro/fix/redirect-wrong-path | ArthurHoaro | 2020-09-25 | 4 | -16/+47 |
|\ | | | | | Fix invalid redirection using the path of an external domain | ||||
| * | Fix invalid redirection using the path of an external domain | ArthurHoaro | 2020-09-22 | 4 | -16/+47 |
| | | | | | | | | Fixes #1554 | ||||
* | | Merge pull request #1558 from ArthurHoaro/fix/plugins-base-path | ArthurHoaro | 2020-09-25 | 2 | -21/+39 |
|\ \ | |/ |/| | Fix plugin base path in core plugins | ||||
| * | Fix plugin base path in core plugins | ArthurHoaro | 2020-09-22 | 2 | -21/+39 |
| | | | | | | | | | | | | | | Also fix note check in archiveorg plugin, and regression on vintage template. Documentation regarding relative path has been added. Fixes #1548 | ||||
* | | Merge pull request #1539 from ArthurHoaro/feature/manual-root-url | ArthurHoaro | 2020-09-22 | 9 | -20/+140 |
|\ \ | |/ |/| | |||||
| * | Fix subfolder configuration in unit tests | ArthurHoaro | 2020-09-12 | 7 | -19/+54 |
| | | |||||
| * | Add manual configuration for root URL | ArthurHoaro | 2020-09-12 | 2 | -1/+86 |
| | | | | | | | | | | | | This new setting under 'general.root_url' allows to override automatic discovery of Shaarli instance's URL. Fixes #1339 | ||||
* | | Merge pull request #1553 from ArthurHoaro/fix/404-page | ArthurHoaro | 2020-09-12 | 3 | -1/+83 |
|\ \ | | | | | | | Properly handle 404 errors | ||||
| * | | Properly handle 404 errors | ArthurHoaro | 2020-09-12 | 3 | -1/+83 |
| | | | | | | | | | | | | | | | | | | Use 404 template instead of default Slim error page if the route is not found. Fixes #827 | ||||
* | | | Merge pull request #1551 from ArthurHoaro/fix/plugin-save-metadata | ArthurHoaro | 2020-09-12 | 3 | -17/+35 |
|\ \ \ | |_|/ |/| | | Plugins: do not save metadata along plugin parameters | ||||
| * | | Plugins: do not save metadata along plugin parameters | ArthurHoaro | 2020-09-12 | 3 | -17/+35 |
| |/ | | | | | | | | | | | Also prevent the token to be saved. Fixes #1550 | ||||
* | | Merge pull request #1552 from ArthurHoaro/feature/better-initializer | ArthurHoaro | 2020-09-12 | 2 | -29/+59 |
|\ \ | |/ |/| | |||||
| * | Improve default bookmarks after install | ArthurHoaro | 2020-09-10 | 2 | -29/+59 |
| | | | | | | | | | | | | | | Used @nodiscc suggestion in #1148 (slightly edited). It provides a description of what Shaarli does, Markdown rendering demo, and a thumbnail link. Fixes #1148 | ||||
* | | Merge pull request #1547 from ArthurHoaro/fix/daily-visibility | ArthurHoaro | 2020-09-06 | 2 | -2/+42 |
|\ \ | | | | | | | Fix visibility issue on daily page | ||||
| * | | Fix visibility issue on daily page | ArthurHoaro | 2020-09-06 | 2 | -2/+42 |
| |/ | | | | | | | | | | | This filter (links by day) didn't apply any visibility parameter. Fixes #1543 | ||||
* | | Merge pull request #1537 from ArthurHoaro/fix/back-compatible-targets | ArthurHoaro | 2020-09-03 | 2 | -515/+3 |
|\ \ | |/ |/| | |||||
| * | Fix feed target in UT | ArthurHoaro | 2020-09-03 | 1 | -3/+3 |
| | | |||||
| * | Improve backward compatibility for LegacyRouter | ArthurHoaro | 2020-09-03 | 1 | -512/+0 |
| | | | | | | | | | | | | | | LegacyRouter is no longer used for routing, only in existing plugins to match the _PAGE_ parameter. So we change a few of its values there, to match the new ones defined in TemplatePage. @see discussion in shaarli/Shaarli#1537 | ||||
* | | Merge pull request #1523 from ArthurHoaro/fix/default-colors-generation | ArthurHoaro | 2020-09-03 | 1 | -9/+10 |
|\ \ | | | | | | | Default colors plugin: generate CSS file during initialization | ||||
| * | | Default colors plugin: generate CSS file during initialization | ArthurHoaro | 2020-08-29 | 1 | -9/+10 |
| | | | | | | | | | | | | | | | Current behaviour only generate the custom CSS file when the plugin settings are saved, which can be annoying if the file is deleted but the settings are set. Most common use case is Docker deployment, because the plugin directory is not mounted as a volume. | ||||
* | | | Merge pull request #1520 from ArthurHoaro/fix/jp-language | ArthurHoaro | 2020-09-03 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | Fix UT | ArthurHoaro | 2020-08-27 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #1524 from ArthurHoaro/fix/rss-sticky | ArthurHoaro | 2020-09-03 | 1 | -6/+6 |
|\ \ \ | | | | | | | | | Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds | ||||
| * | | | Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds | ArthurHoaro | 2020-08-29 | 1 | -6/+6 |
| |/ / | | | | | | | | | | Fixes #1485 | ||||
* | | | Merge pull request #1534 from ArthurHoaro/fix/legacy-route-post | ArthurHoaro | 2020-09-03 | 1 | -3/+5 |
|\ \ \ | |_|/ |/| | | |||||
| * | | Support redirection of legacy route 'do=configure' | ArthurHoaro | 2020-09-01 | 1 | -0/+2 |
| | | | |||||
| * | | Fix legacy redirection when Shaarli instance is under a subfolder | ArthurHoaro | 2020-09-01 | 1 | -3/+3 |
| | | | |||||
| * | | Fix support for legacy route login redirection | ArthurHoaro | 2020-09-01 | 1 | -3/+3 |
| |/ | | | | | | | Makes sure that the user is properly redirected to the bookmark form after login, even with legacy routes | ||||
* / | Fix broken route to filter not tagged bookmarks | ArthurHoaro | 2020-08-31 | 1 | -6/+7 |
|/ | | | | | | Also display the filter for visitors. Fixes #1529 | ||||
* | Better handling of plugin incompatibility | ArthurHoaro | 2020-08-27 | 3 | -15/+42 |
| | | | | | If a PHP is raised while executing plugin hook, Shaarli will display an error instead of rendering the error page (or just ending in fatal error for default hooks). Also added phpErrorHandler which is handled differently that regular errorHandler by Slim.: | ||||
* | Move error handling to dedicated controller instead of middleware | ArthurHoaro | 2020-08-21 | 2 | -15/+84 |
| | |||||
* | Move all admin controller into a dedicated group | ArthurHoaro | 2020-08-13 | 6 | -69/+154 |
| | | | | Also handle authentication check in a new middleware for the admin group. | ||||
* | Remove anonymous permission and initialize bookmarks on login | ArthurHoaro | 2020-08-01 | 2 | -8/+9 |
| | |||||
* | Fix basePath in unit tests reference DB | ArthurHoaro | 2020-07-28 | 7 | -27/+25 |
| | |||||
* | Better support for notes permalink | ArthurHoaro | 2020-07-28 | 4 | -8/+8 |
| | |||||
* | New basePath: fix officiel plugin paths and vintage template | ArthurHoaro | 2020-07-26 | 6 | -11/+50 |
| | |||||
* | Fix: visitor are allowed to chose nb of links per page | ArthurHoaro | 2020-07-24 | 2 | -47/+72 |
| |