Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Add Markdown Extra formatter | ArthurHoaro | 2020-10-13 | 2 | -1/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169 | |||||
* | | | | Security: fix multiple XSS vulnerabilities + fix search tags with special chars | ArthurHoaro | 2020-10-06 | 7 | -15/+50 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 #1575 from ArthurHoaro/feature/php8 | ArthurHoaro | 2020-10-03 | 1 | -1/+1 | |
|\ \ \ \ | ||||||
| * | | | | Compatibility with PHP 8 | ArthurHoaro | 2020-09-29 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Merge pull request #1574 from stoeps13/hosting-fix | ArthurHoaro | 2020-10-03 | 1 | -2/+8 | |
|\ \ \ \ \ | ||||||
| * | | | | | Revert unrelated changes and add unit tests | ArthurHoaro | 2020-09-30 | 1 | -7/+17 | |
| | | | | | | ||||||
| * | | | | | 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 | 1 | -2/+6 | |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | The hoster writes the environment variable with bearer token to REDIRECT_HTTP_AUTHORIZATION and needs to provide RewriteBase / to .htaccess | |||||
* | | | | | Fix a bug preventing to edit bookmark with ID #0 | ArthurHoaro | 2020-09-30 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Fix warning if the encoding retrieved from external headers is invalid | ArthurHoaro | 2020-09-30 | 2 | -2/+2 | |
|/ / / / | | | | | | | | | | | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n" | |||||
* | | | | Fix invalid redirection using the path of an external domain | ArthurHoaro | 2020-09-22 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | Fixes #1554 | |||||
* | | | | Merge pull request #1559 from ArthurHoaro/fix/edit-redirect | ArthurHoaro | 2020-09-22 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | Fix redirection to referer after editing a link | |||||
| * | | | | Fix redirection to referer after editing a link | ArthurHoaro | 2020-09-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | Fixes #1545 | |||||
* | | | | | Merge pull request #1539 from ArthurHoaro/feature/manual-root-url | ArthurHoaro | 2020-09-22 | 3 | -6/+10 | |
|\ \ \ \ \ | |/ / / / |/| | | | | ||||||
| * | | | | Fix subfolder configuration in unit tests | ArthurHoaro | 2020-09-12 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Add manual configuration for root URL | ArthurHoaro | 2020-09-12 | 2 | -5/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -4/+38 | |
|\ \ \ \ \ | | | | | | | | | | | | | Properly handle 404 errors | |||||
| * | | | | | Properly handle 404 errors | ArthurHoaro | 2020-09-12 | 3 | -4/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -14/+16 | |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Plugins: do not save metadata along plugin parameters | |||||
| * | | | | | Plugins: do not save metadata along plugin parameters | ArthurHoaro | 2020-09-12 | 2 | -14/+16 | |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | Also prevent the token to be saved. Fixes #1550 | |||||
* | | | | | Merge pull request #1552 from ArthurHoaro/feature/better-initializer | ArthurHoaro | 2020-09-12 | 1 | -11/+63 | |
|\ \ \ \ \ | |/ / / / |/| | | | | ||||||
| * | | | | Improve default bookmarks after install | ArthurHoaro | 2020-09-10 | 1 | -11/+63 | |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 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 | -7/+14 | |
|\ \ \ \ | | | | | | | | | | | Fix visibility issue on daily page | |||||
| * | | | | Fix visibility issue on daily page | ArthurHoaro | 2020-09-06 | 2 | -7/+14 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | This filter (links by day) didn't apply any visibility parameter. Fixes #1543 | |||||
* | | | | Merge pull request #1538 from ArthurHoaro/feature/plugins-bookmark-service | ArthurHoaro | 2020-09-06 | 3 | -14/+18 | |
|\ \ \ \ | | | | | | | | | | | Inject BookmarkServiceInterface in plugins data | |||||
| * | | | | Inject BookmarkServiceInterface in plugins data | ArthurHoaro | 2020-09-03 | 3 | -14/+18 | |
| | | | | | | | | | | | | | | | | | | | | Related discussion: ilesinge/shaarli-related#7 | |||||
* | | | | | Merge pull request #1541 from ArthurHoaro/fix/legacy-login-encoding | ArthurHoaro | 2020-09-03 | 1 | -1/+11 | |
|\ \ \ \ \ | ||||||
| * | | | | | Fix: encoding in legacy route login redirection to post bookmark | ArthurHoaro | 2020-09-03 | 1 | -1/+11 | |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | When a bookmark is post from a logged out user, he is first redirected to the login page with 'returnurl' containing the link, then redirected again when the login is processed. We need to reencode the posted URL, otherwise the browser does not handle the fragment as a part of the posted parameter. | |||||
* | | | | | Merge pull request #1537 from ArthurHoaro/fix/back-compatible-targets | ArthurHoaro | 2020-09-03 | 2 | -131/+7 | |
|\ \ \ \ \ | |/ / / / |/| | | | | ||||||
| * | | | | Improve backward compatibility for LegacyRouter | ArthurHoaro | 2020-09-03 | 2 | -131/+7 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | 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 #1520 from ArthurHoaro/fix/jp-language | ArthurHoaro | 2020-09-03 | 1 | -1/+2 | |
|\ \ \ \ | ||||||
| * | | | | Japanese translation: add language to admin configuration page | ArthurHoaro | 2020-08-27 | 1 | -1/+2 | |
| | |/ / | |/| | | | | | | | | | | Also use ISO country code (JP) instead of JA. | |||||
* | | | | Merge pull request #1526 from kcaran/links_per_page | ArthurHoaro | 2020-09-03 | 1 | -0/+2 | |
|\ \ \ \ | ||||||
| * | | | | Avoid using global variables | Keith Carangelo | 2020-08-31 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Co-authored-by: ArthurHoaro <arthur@hoa.ro> | |||||
| * | | | | Added $links_per_page variable to template and display on default | Keith Carangelo | 2020-08-29 | 1 | -0/+2 | |
| |/ / / | ||||||
* | | | | Merge pull request #1524 from ArthurHoaro/fix/rss-sticky | ArthurHoaro | 2020-09-03 | 4 | -8/+25 | |
|\ \ \ \ | | | | | | | | | | | Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds | |||||
| * | | | | Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds | ArthurHoaro | 2020-08-29 | 4 | -8/+25 | |
| |/ / / | | | | | | | | | | | | | Fixes #1485 | |||||
* | | | | Merge pull request #1536 from ArthurHoaro/fix/login-private-shaarli | ArthurHoaro | 2020-09-03 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | Fix login loop for private instances | |||||
| * | | | | Fix login loop for private instances | ArthurHoaro | 2020-09-01 | 1 | -1/+1 | |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | GET /login and POST /login have 2 distinct route name. Fixes #1533 | |||||
* | | | | Merge pull request #1534 from ArthurHoaro/fix/legacy-route-post | ArthurHoaro | 2020-09-03 | 1 | -5/+27 | |
|\ \ \ \ | |/ / / |/| | | | ||||||
| * | | | Support redirection of legacy route 'do=configure' | ArthurHoaro | 2020-09-01 | 1 | -0/+17 | |
| | | | | ||||||
| * | | | Fix legacy redirection when Shaarli instance is under a subfolder | ArthurHoaro | 2020-09-01 | 1 | -6/+9 | |
| | | | | ||||||
| * | | | Fix support for legacy route login redirection | ArthurHoaro | 2020-09-01 | 1 | -3/+5 | |
| |/ / | | | | | | | | | | 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 | -1/+0 | |
|/ / | | | | | | | | | | | Also display the filter for visitors. Fixes #1529 | |||||
* | | Better handling of plugin incompatibility | ArthurHoaro | 2020-08-27 | 4 | -4/+13 | |
| | | | | | | | | | | 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 | 3 | -25/+51 | |
| | | ||||||
* | | Move all admin controller into a dedicated group | ArthurHoaro | 2020-08-13 | 6 | -23/+53 | |
| | | | | | | | | Also handle authentication check in a new middleware for the admin group. | |||||
* | | Bookmark's thumbnails PHPDoc improvement | ArthurHoaro | 2020-08-01 | 1 | -3/+3 | |
| | | ||||||
* | | Remove anonymous permission and initialize bookmarks on login | ArthurHoaro | 2020-08-01 | 6 | -49/+33 | |
| | |