aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1672 from ArthurHoaro/feature/api-parse-tags-stringArthurHoaro2021-01-034-6/+123
|\
| * API: POST/PUT Link - properly parse tags stringArthurHoaro2020-12-294-6/+123
|/ | | | | | Even though the documentation specify that tags should be passed as an array, tags string is actually allowed. So this adds a proper parsing with configured separator. Related to #1651
* Merge pull request #1664 from ArthurHoaro/fix/metadata-syncArthurHoaro2020-12-293-4/+9
|\ | | | | Fix: synchronous metadata retrieval is failing in strict mode
| * Fix: synchronous metadata retrieval is failing in strict modeArthurHoaro2020-12-163-4/+9
| | | | | | | | | | | | Metadata can now only be string or null. Fixes #1653
* | Merge pull request #1665 from ArthurHoaro/fix/metadata-regexes-2ArthurHoaro2020-12-292-2/+14
|\ \ | | | | | | Fix metadata extract regex (2)
| * | Fix metadata extract regex (2)ArthurHoaro2020-12-172-2/+14
| |/ | | | | | | | | | | Reference: https://stackoverflow.com/questions/8055727/negating-a-backreference-in-regular-expressions Fixes #1656
* | Merge pull request #1666 from ArthurHoaro/feature/daily-rss-cacheArthurHoaro2020-12-296-68/+213
|\ \ | | | | | | Daily RSS Cache: invalidate cache base on the date
| * | Daily RSS Cache: invalidate cache base on the dateArthurHoaro2020-12-176-68/+213
| | | | | | | | | | | | | | | | | | Currently the cache is only invalidated when the datastore changes, while it should rely on selected period of time. Fixes #1659
* | | Merge pull request #1669 from leyrer/masterArthurHoaro2020-12-291-1/+1
|\ \ \ | |/ / |/| | Typo fix line 76 'Authentication' -> Authorization
| * | Typo fix line 76 'Authentication' -> Authorizationleyrer2020-12-261-1/+1
|/ /
* | Merge pull request #1644 from ArthurHoaro/fix/daily-rssArthurHoaro2020-12-163-8/+39
|\ \ | | | | | | Daily RSS - Remove relative description (today, yesterday)
| * | Daily RSS - Remove relative description (today, yesterday)ArthurHoaro2020-11-153-8/+39
| | | | | | | | | | | | It is not useful for the RSS feed, as every new entry will be 'yesterday', and it requires an update the next day.
* | | Merge pull request #1645 from ArthurHoaro/feature/plugin-register-routeArthurHoaro2020-12-1613-13/+270
|\ \ \ | | | | | | | | Plugin system: allow plugins to provide custom routes
| * | | Plugin system: allow plugins to provide custom routesArthurHoaro2020-11-1513-13/+270
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | - each route will be prefixed by `/plugin/<plugin_name>` - add a new template for plugins rendering - add a live example in the demo_plugin Check out the "Plugin System" documentation for more detail. Related to #143
* | | Merge pull request #1658 from dougbreaux/masterArthurHoaro2020-12-161-1/+1
|\ \ \ | | | | | | | | newer alpine (for newer PHP) and apk upgrade #1655
| * | | remove apk upgrade #1655Doug Breaux2020-12-061-2/+1
| | | |
| * | | newer alpine (for newer PHP) and apk upgrade #1655Doug Breaux2020-12-041-2/+3
| | |/ | |/|
* | | Merge pull request #1652 from ArthurHoaro/fix/failing-mutexArthurHoaro2020-12-165-93/+145
|\ \ \ | | | | | | | | Fix: soft fail if the mutex is not working
| * | | Fix: soft fail if the mutex is not workingArthurHoaro2020-11-245-93/+145
| |/ / | | | | | | | | | | | | | | | And display the error in server admin page Fixes #1650
* | | Merge pull request #1661 from shaarli/dependabot/npm_and_yarn/ini-1.3.7ArthurHoaro2020-12-161-3/+3
|\ \ \
| * | | Bump ini from 1.3.5 to 1.3.7dependabot[bot]2020-12-111-3/+3
| |/ / | | | | | | | | | | | | | | | | | | Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com>
* | | Merge pull request #1660 from e2jk/patch-1ArthurHoaro2020-12-161-4/+4
|\ \ \ | |/ / |/| | Upgrade alpine from 3.8 to 3.10 in armhf Dockerfile
| * | Upgrade alpine from 3.8 to 3.10 in armhf DockerfileEmilien Klein2020-12-061-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Docker for armhf doesn't build anymore on Alpine 3.8, upgrading to 3.10. Building works fine on a Rapsberry Pi 4 running Raspbian GNU/Linux 10 (buster) This is the error with 3.8: ``` [2/4] Fetching packages... error css-loader@4.3.0: The engine "node" is incompatible with this module. Expected version ">= 10.13.0". error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. The command '/bin/sh -c apk --update --no-cache add yarn nodejs-current python2 build-base && cd /shaarli && yarn install && yarn run build && rm -rf node_modules' returned a non-zero code: 1 ``` Not upgrading to 3.11, due to this error: ``` 2/4] Fetching packages... error browserslist@4.14.3: The engine "node" is incompatible with this module. Expected version "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7". Got "13.1.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. The command '/bin/sh -c apk --update --no-cache add yarn nodejs-current python2 build-base && cd /shaarli && yarn install && yarn run build && rm -rf node_modules' returned a non-zero code: 1 ``` Not upgrading to 3.12 either, due to this error: ``` ERROR: unsatisfiable constraints: py2-pip (missing): required by: world[py2-pip] The command '/bin/sh -c apk --update --no-cache add py2-pip && cd /usr/src/app/shaarli && pip install --no-cache-dir mkdocs && mkdocs build --clean' returned a non-zero code: 1 ``` There's probably a way to have Python2 pip installed on 3.12, but I suppose other issues would arise (such as the one happening with 3.11), so only proposing to upgrade to 3.10 now. This would probably be looked at more in detail when merging the amd64 and arm/v7 Docker builds, see #1496.
* | Merge pull request #1648 from nodiscc/fix-ConfigureControllerTestArthurHoaro2020-11-242-1/+1
|\ \ | | | | | | ConfigureControllerTest.php: update expected languages number to 6
| * | chmod -x russian translation fileArthurHoaro2020-11-241-0/+0
| | |
| * | ConfigureControllerTest.php: update expected languages number to 6nodiscc2020-11-221-1/+1
|/ / | | | | | | Following the addition of russian translations in #1642 Fixes https://github.com/shaarli/Shaarli/issues/1647
* | Merge pull request #1642 from prog-it/masterArthurHoaro2020-11-172-0/+1945
|\ \
| * | Add russian language fileprog-it2020-11-151-0/+1944
| | |
| * | Add russian language selectionprog-it2020-11-141-0/+1
| |/
* | Merge pull request #1639 from ArthurHoaro/doc/fix-releaseArthurHoaro2020-11-151-0/+8
|\ \ | |/ |/| Doc: fix missing merge on Release page
| * Doc: fix missing merge on Release pageArthurHoaro2020-11-121-0/+8
|/
* Update badge versionsArthurHoaro2020-11-121-1/+1
|
* Merge pull request #1638 from ArthurHoaro/changelog/v0.12.1ArthurHoaro2020-11-122-2/+53
|\ | | | | CHANGELOG v0.12.1
| * CHANGELOG v0.12.1ArthurHoaro2020-11-122-2/+53
|/
* Merge pull request #1635 from ArthurHoaro/feature/phpcsArthurHoaro2020-11-1095-386/+480
|\
| * Update Static Analysis documentationArthurHoaro2020-11-091-5/+7
| |
| * Run PHPCS during Travis CI checks + disable xdebugArthurHoaro2020-11-091-0/+5
| |
| * Manually fix remaining PHPCS errorsArthurHoaro2020-11-0918-42/+61
| |
| * Apply PHP Code Beautifier on source code for linter automatic fixesArthurHoaro2020-11-0987-336/+408
| |
| * Coding style: switch PHPCS to PSR12ArthurHoaro2020-11-082-7/+3
| | | | | | | | | | | | | | | | Also temporarily ignore test code (one step at a time). Reference: https://www.php-fig.org/psr/psr-12/ Related to #95
* | Merge pull request #1637 from ArthurHoaro/fix/server-admin-update-checkArthurHoaro2020-11-103-44/+88
|\ \ | | | | | | Server admin: do not retrieve latest version without update_check
| * | Server admin: do not retrieve latest version without update_checkArthurHoaro2020-11-093-44/+88
| |/ | | | | | | | | | | | | | | | | If the setting 'updates.check_updates' is disabled, do not retrieve the latest version on server administration page. Additionally, updated default values for - updates.check_updates from false to true - updates.check_updates_branch from stable to latest
* | Merge pull request #1636 from ArthurHoaro/fix/vintage-async-metadataArthurHoaro2020-11-104-11/+114
|\ \
| * | Vintage theme: fix routes in daily pageArthurHoaro2020-11-091-4/+4
| | |
| * | Vintage theme: display global messagesArthurHoaro2020-11-092-0/+34
| | |
| * | Vintage theme: support async metadata retrievalArthurHoaro2020-11-092-7/+76
| |/
* | Merge pull request #1630 from ArthurHoaro/fix/apache-configArthurHoaro2020-11-102-8/+13
|\ \ | | | | | | Reviewed Apache configuration
| * | Reviewed Apache configurationArthurHoaro2020-11-082-8/+13
| | | | | | | | | | | | | | | | | | | | | (in documentation) For security purpose, block access to any static file not matching the list of allowed extensions. It allows us to remove the specific retriction on dotfiles, and fix Apache part of #1608.
* | | Merge pull request #1634 from ArthurHoaro/fix/docker-composeArthurHoaro2020-11-102-6/+10
|\ \ \ | | | | | | | | Docker-compose: fix SSL certificate + add parameter for Docker tag
| * | | Docker-compose: fix SSL certificate + add parameter for Docker tagArthurHoaro2020-11-092-6/+10
| | |/ | |/| | | | | | | | | | | | | | | | | | | Use envvar SHAARLI_VIRTUAL_HOST for Traefik's docker.domain parameter instead of localhost (I'm not sure if did work at some point). Add an environment variable to choose which Docker tag to use instead of using master by default. Fixes #1632