9603ff163c
Missing js file in myShaarly plugin
2024-09-16 10:38:00 +02:00
be68590e2e
Update theme
...
Remove Doc, now link to official documentation page
2024-09-16 10:28:47 +02:00
6e400c221e
Update
2024-06-21 12:01:57 +02:00
59416eec4d
Merge remote-tracking branch 'github/v0.13' into myShaarli_commu
2024-06-20 17:25:16 +02:00
ArthurHoaro
df121586c1
Bump Shaarli version to v0.13.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2023-11-22 10:53:18 -05:00
ArthurHoaro
00a9ddd013
Changelog v0.13.0 + authors ( #2040 )
2023-11-22 10:47:58 -05:00
ArthurHoaro
326870f216
Fix XSS vulnerability in tag search ( #2039 )
...
It affect the title tag of the bookmark list page.
Fixes shaarli/Shaarli#2038
2023-11-22 10:29:30 -05:00
nodiscc
ca07f265f1
Merge pull request #2037 from nodiscc/doc-title-retrieval-limitations
...
doc: troubleshooting: automatic title retrieval fails when it is set by javascript
2023-11-15 15:52:26 +00:00
nodiscc
4557abb981
Merge pull request #2036 from nodiscc/doc-general-download-timeout-max-size
...
doc: document general.download_max_size/timeout configuration settings
2023-11-15 15:51:58 +00:00
nodiscc
c88bc1d760
Merge pull request #2035 from nodiscc/doc-rm-bountysource
...
doc: remove bountysource badge
2023-11-15 15:51:33 +00:00
nodiscc
bd3e71cacb
doc: automatic title retrieval fails when it is set by javascript
...
- related https://github.com/shaarli/Shaarli/issues/531
- fixes https://github.com/shaarli/Shaarli/issues/989
2023-11-15 16:04:39 +01:00
nodiscc
1697e7a4bd
doc: document general.download_max_size/timeout configuration settings
...
- fixes https://github.com/shaarli/Shaarli/issues/2034
2023-11-15 15:56:30 +01:00
nodiscc
db71d2fcd4
doc: remove bountysource badge
...
- fixes https://github.com/shaarli/Shaarli/issues/2033
2023-11-15 15:50:33 +01:00
nodiscc
2caa586a4d
Merge pull request #2030 from nodiscc/doc-cleanup-3rdparty
...
doc: themes: remove unmaintained themes
2023-11-04 14:31:49 +00:00
nodiscc
c60a42890b
doc: themes: remove unmaintained theme shaarli-blocks
...
- Attention: This theme will no longer be updated
- unmaintained since 2015
2023-11-02 16:40:51 +01:00
nodiscc
beb683e463
doc: themes: remove unmaintained theme dhoko/ShaarliTemplate
...
- unmaintained since 2014, shaarli 0.0.45
2023-11-02 16:40:10 +01:00
nodiscc
408b7e7d0a
doc: themes: remove unmaintained theme shaarli-launch
...
- This repository has been archived by the owner on Aug 16, 2018. It is now read-only.
- This theme is no longer maintained and won't get any support or update.
2023-11-02 16:38:40 +01:00
nodiscc
646f63e413
doc: themes: remove incompatible albinomouse theme
...
- not compatible with shaarli >=0.9 https://github.com/alexisju/albinomouse-template/issues/9
2023-11-02 16:37:57 +01:00
nodiscc
a98553b601
doc: themes: remove unmaintained superhero theme
...
- This repository has been archived by the owner on Oct 28, 2019. It is now read-only.
2023-11-02 16:36:46 +01:00
nodiscc
2ef90ec791
Merge pull request #2028 from dajare/add-stack-theme
...
Add shaarli-stack theme to Community-and-related-software.md
2023-11-01 17:33:17 +00:00
David
0222e62ea4
Add shaarli-stack theme to Community-and-related-software.md
2023-11-01 15:02:47 +00:00
nodiscc
5b21103d76
Merge pull request #2027 from shaarli/dependabot/npm_and_yarn/browserify-sign-4.2.2
...
build(deps): bump browserify-sign from 4.2.1 to 4.2.2
2023-10-27 14:03:16 +00:00
dependabot[bot]
728169f185
build(deps): bump browserify-sign from 4.2.1 to 4.2.2
...
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign ) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md )
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2 )
---
updated-dependencies:
- dependency-name: browserify-sign
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 13:31:57 +00:00
nodiscc
78f7a338c1
Merge pull request #2026 from shaarli/dependabot/npm_and_yarn/babel/traverse-7.23.2
...
build(deps): bump @babel/traverse from 7.14.0 to 7.23.2
2023-10-17 09:48:01 +00:00
dependabot[bot]
bfdbb62cd1
build(deps): bump @babel/traverse from 7.14.0 to 7.23.2
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.14.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 03:49:22 +00:00
nodiscc
ba21aa60d9
Merge pull request #2025 from nodiscc/doc-sphinx
...
replace mkdocs with sphinx/myst-parser for HTML documentation generation, documentation improvements
2023-10-15 16:16:49 +00:00
nodiscc
484ee2bbb0
tool/.gitattributes: exclude doc/html/.doctrees/ from zip exports
...
- https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-d
- https://stackoverflow.com/questions/33904042/is-doctrees-folder-required-for-displaying-html-docs-with-sphinx
2023-10-06 12:33:01 +02:00
nodiscc
e5545436b0
doc: development/release procedure: version number must be bumped in doc/conf.py and README.mdn as well
2023-10-05 15:28:22 +02:00
nodiscc
00db4f6bcc
doc: update external links based on redirects, fix/remove dead links
...
- checked with python -m sphinx -b linkcheck -c doc doc/md doc/linkcheck
2023-10-05 15:02:00 +02:00
nodiscc
e7a2d06a63
doc: server configuration: standardize whitespace/newlines
2023-10-05 15:01:56 +02:00
nodiscc
00ccae495c
doc: server configuration: update apache configuration, use php-fpm
...
- remove apache 2.2 configuration (2.4 was released in 2012)
2023-10-05 15:01:56 +02:00
nodiscc
1e7419eca9
doc: server configuration: replace fireHOL (unmaintained) with firewalld
2023-10-05 15:01:50 +02:00
nodiscc
2a88f7a526
doc: index: remove inline icon
2023-10-05 15:01:50 +02:00
nodiscc
8d3e224936
doc: index: remove a screenshot thumbnail so that all thumbnails fit on one line
2023-10-05 15:01:43 +02:00
nodiscc
4e653e1e97
tools/github actions: use makefile/sphinx instead of mkdocs to build HTML documentation
2023-10-05 15:01:43 +02:00
nodiscc
00264cb4a1
doc: community & related software: remove unmaintained shaarli forks (since 2014/2015)
2023-10-05 15:01:43 +02:00
nodiscc
ee5ee294b2
doc: server configuration: remove outdated screencast
...
- ref. https://github.com/shaarli/Shaarli/issues/2002
- uses old instructions/mod-php instead of the now recommended php-fpm
- server configuration may not be the ideal page for this, installation would be more suitable
2023-10-05 15:01:43 +02:00
nodiscc
81cfed8be4
doc: use relative links when possible
2023-10-05 15:01:42 +02:00
nodiscc
0992c86f16
doc: add missing h1 heading to Usage.md
2023-10-05 15:01:42 +02:00
nodiscc
256cffb289
doc: fix typo
2023-10-05 15:01:42 +02:00
nodiscc
62552cc413
doc: development: standardize hooks documentation, use less headings
2023-10-05 15:01:42 +02:00
nodiscc
a4b3430078
doc: fix link to translations documentation
2023-10-05 15:01:42 +02:00
nodiscc
5dd9bc93e1
doc: fix syntax highlighting in code blocks
...
- remove json syntax highlighting from invalid json block
- fix warning about unknown lexer `conf`
- fix syntax highlighting for example htaccess
2023-10-05 15:01:42 +02:00
nodiscc
9230af464d
doc: group all development-releated documentation under a single Development page
...
- add the Development page to the main TOC
2023-10-05 15:01:42 +02:00
nodiscc
b7719cdf0a
doc: plugin system: fix links to anchors
2023-10-05 15:01:41 +02:00
nodiscc
db1532214e
replace mkdocs with sphinx/myst-parser for HTML documentation generation
...
- fixes https://github.com/shaarli/Shaarli/issues/1451
- tools/.gitattributes: exclude doc/conf.py and doc/requirements.txt from zip exports
- tools/doc/sphinx: suppress myst.xref_missing warnings caused by https://github.com/executablebooks/MyST-Parser/issues/564
- dockerfile: use makefile/sphinx instead of mkdocs to build HTML documentation
- dockerfile: add bash to the docs build container (make: bash: No such file or directory)
- tools/doc/readthedocs: force use of python 3.11 (readthedocs ERROR: No matching distribution found for sphinx==7.1.0)
- tools/doc/readthedocs: add all required configuration variables https://docs.readthedocs.io/en/latest/config-file/v2.html#build-os
- tools/doc/readthedocs: override build commands to allow the source directory to be different from the conf.py directory (https://docs.readthedocs.io/en/stable/config-file/v2.html#build-commands , https://github.com/readthedocs/readthedocs.org/issues/1543 )
- tools/doc/readthedocs: manually set output directory (readthedocs ERROR: No _readthedocs/html folder was created during this build.)
- doc: replace all references to mkdocs with sphinx
2023-10-05 15:01:34 +02:00
nodiscc
c4d3e2d7ec
Merge pull request #2024 from nodiscc/update-alpine-3.16
...
docker: update base alpine docker image to 3.16.7
2023-10-03 16:46:44 +00:00
nodiscc
5db074fdef
docker: update base alpine docker image to 3.16.7
...
- the previous (0.12.2) release image was based on 3.16.4 since the .patch version was not specified, which shows vulnerabilities when scanned with trivy (https://github.com/shaarli/Shaarli/pull/2019 )
2023-10-03 18:43:25 +02:00
nodiscc
ea3cda543c
Merge pull request #2021 from shaarli/doc-php8.2-compat
...
doc: server configuration: add PHP 8.2 to PHP compatibility table
2023-09-25 15:06:08 +00:00
nodiscc
280e6138fc
Merge pull request #2003 from nodiscc/doc-hyphens
...
correct usage of hyphens in all occurences of 'super fast, database-free'
2023-09-25 14:57:55 +00:00
nodiscc
4b94854200
doc: server configuration: add PHP 8.2 to PHP compatibility table
...
- Tested with php-fpm 8.2.7-1~deb12u1 on Debian 12
- ref. https://github.com/shaarli/Shaarli/issues/2020
2023-09-21 12:48:23 +00:00
nodiscc
775fcb44f9
Merge pull request #2018 from nodiscc/doc-debian-package
...
doc: community/related software/integration with other platforms: add link to shaarli debian package
2023-09-08 19:43:19 +00:00
nodiscc
25d2a9b744
doc: community/related software/integration with other platforms: add link to shaarli debian package
...
- fixes https://github.com/shaarli/shaarli-pkg-debian/issues/8
- https://github.com/shaarli/shaarli-pkg-debian is unmaintained, please use downstream packaging repo at https://salsa.debian.org/php-team/pear/shaarli
- https://github.com/shaarli/shaarli-pkg-debian will be archived after this PR is merged
2023-08-27 15:59:39 +02:00
nodiscc
572c55f0b1
Merge pull request #2015 from nodiscc/doc-fix-mkdocs-warnings
...
doc: fix mkdocs build warnings/relative links
2023-08-20 21:18:28 +00:00
nodiscc
add670b8ab
doc: fix mkdocs build warnings/relative links
...
INFO - Cleaning site directory
INFO - Building documentation to directory: /home/live/GIT/Shaarli/doc/html
INFO - Doc file 'index.md' contains an unrecognized relative link 'Usage#tag-cloud', it was left
as is. Did you mean 'Usage.md#tag-cloud'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'Usage#picture-wall', it was
left as is. Did you mean 'Usage.md#picture-wall'?
INFO - Doc file 'index.md' contains an unrecognized relative link 'Usage#import-export', it was
left as is. Did you mean 'Usage.md#import-export'?
INFO - Doc file 'Community-and-related-software.md' contains an unrecognized relative link
'REST-API', it was left as is. Did you mean 'REST-API.md'?
INFO - Doc file 'Community-and-related-software.md' contains an unrecognized relative link
'Theming', it was left as is.
INFO - Doc file 'Installation.md' contains an unrecognized relative link
'dev/Development#third-party-libraries', it was left as is. Did you mean
'dev/Development.md#third-party-libraries'?
INFO - Doc file 'Installation.md' contains an unrecognized relative link
'Upgrade-and-migration', it was left as is. Did you mean 'Upgrade-and-migration.md'?
INFO - Doc file 'Plugins.md' contains an unrecognized relative link 'Shaarli-configuration', it
was left as is. Did you mean 'Shaarli-configuration.md'?
INFO - Doc file 'REST-API.md' contains an unrecognized relative link 'Server-configuration', it
was left as is. Did you mean 'Server-configuration.md'?
INFO - Doc file 'Reverse-proxy.md' contains an unrecognized relative link
'Shaarli-configuration', it was left as is. Did you mean 'Shaarli-configuration.md'?
INFO - Doc file 'Server-configuration.md' contains an unrecognized relative link
'Directory-structure', it was left as is.
INFO - Doc file 'Shaarli-configuration.md' contains an unrecognized relative link
'Translations', it was left as is.
INFO - Doc file 'dev/Development.md' contains an unrecognized relative link 'Unit-tests', it was
left as is. Did you mean 'Unit-tests.md'?
INFO - Doc file 'dev/Development.md' contains an unrecognized relative link 'GnuPG-signature',
it was left as is. Did you mean 'GnuPG-signature.md'?
INFO - Doc file 'dev/GnuPG-signature.md' contains an unrecognized relative link 'Release
Shaarli', it was left as is.
INFO - Doc file 'dev/Theming.md' contains an unrecognized relative link 'Shaarli-configuration',
it was left as is.
INFO - Doc file 'dev/Translations.md' contains an unrecognized relative link 'Theming', it was
left as is. Did you mean 'Theming.md'?
INFO - Documentation built in 0.40 seconds
2023-08-20 23:13:59 +02:00
nodiscc
5a6515c988
Merge pull request #2014 from nodiscc/build-docker-pr
...
tools: github actions: build docker images on pull requests
2023-08-19 11:48:29 +00:00
nodiscc
ea57088177
tools: github actions: build docker images on pull requests
...
- fixes https://github.com/shaarli/Shaarli/issues/1800
- do not push, only check that the image builds correctly
- tag the image as :pr-PR_NUMBER
2023-08-19 13:44:58 +02:00
nodiscc
638a7c5141
Merge pull request #2012 from nodiscc/update-trivy
...
tools/tests: update trivy to v0.44.0
2023-08-01 13:22:05 +00:00
nodiscc
c937d3e184
tools/tests: update trivy to v0.44.0
...
- https://github.com/aquasecurity/trivy/releases/tag/v0.44.0
2023-08-01 15:10:57 +02:00
nodiscc
4cbba2fe64
Merge pull request #2010 from shaarli/dependabot/npm_and_yarn/word-wrap-1.2.4
...
build(deps): bump word-wrap from 1.2.3 to 1.2.4
2023-07-19 13:47:28 +00:00
dependabot[bot]
949e03ca1f
build(deps): bump word-wrap from 1.2.3 to 1.2.4
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 00:03:56 +00:00
nodiscc
e91984b507
Merge pull request #2008 from clach04/patch-1
...
Doc update, WebSub (formerly PubSubHubbub) plugin
2023-07-15 12:31:18 +00:00
clach04
f812581234
Doc update, WebSub (formerly PubSubHubbub) plugin
...
Clarify old and new name along with Wikipedia link.
2023-07-15 02:11:57 -07:00
be6a3e28ca
Update soshot config
2023-07-13 17:22:58 +02:00
nodiscc
5af1c9dbae
Merge pull request #2006 from shaarli/dependabot/npm_and_yarn/semver-5.7.2
...
build(deps): bump semver from 5.7.1 to 5.7.2
2023-07-11 11:00:35 +00:00
nodiscc
e7ff18c864
Merge pull request #2005 from nodiscc/update-trivy
...
tools/Makefile: update trivy to v0.43.1
2023-07-11 10:53:05 +00:00
dependabot[bot]
66982b6f79
build(deps): bump semver from 5.7.1 to 5.7.2
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 03:32:45 +00:00
nodiscc
6d16b6c8a8
tools/Makefile: update trivy to v0.43.1
...
è https://github.com/aquasecurity/trivy/releases/tag/v0.43.1
2023-07-08 21:18:37 +02:00
nodiscc
910b695d4d
correct usage of hyphens in all occurences of 'super fast, database-free'
...
- fixes https://github.com/shaarli/Shaarli/issues/1758
2023-07-06 18:57:22 +02:00
nodiscc
d24fc65695
Merge pull request #1998 from nodiscc/trivy-repo-scan
...
tools/CI: scan repository with trivy security scanner (yarn.lock, composer.lock)
2023-07-06 16:37:13 +00:00
Amadeous
c44a0d200d
Expose tags_separator config through /info API ( #1997 )
2023-06-30 22:15:41 +00:00
Alistair Young
9fd6739a1f
docker: nginx: listen on IPv6 in addition to IPv4 ( #1983 )
2023-06-30 22:08:02 +00:00
nodiscc
3b5923b7e1
tools/CI: scan repository with trivy security scanner (yarn.lock, composer.lock)
...
- run scan on each push/pull request update
- can be run locally using make test_trivy_repo
- exit with error code 0/success when vulnerabilities are found, as not to make the workflow fail, a separate periodic run that exits with code 1 should be added in parallel
- update trivy to v0.43.0
- https://github.com/aquasecurity/trivy/releases/tag/v0.43.0
- also consider TRIVY_EXIT_CODE when running trivy on the latest docker image
- ref. https://github.com/shaarli/Shaarli/issues/1531
2023-06-30 23:56:09 +02:00
2c1f0981d9
Update for Shaarli 0.12.2
2023-05-25 11:13:43 +02:00
23a5fc1eef
Merge latest 0.12.2
2023-05-24 11:35:15 +02:00
nodiscc
467b28c237
Merge pull request #1989 from nodiscc/trivy-fix-target-docker-image
...
gihub actions: fix value of TRIVY_TARGET_DOCKER_IMAGE
2023-05-21 19:10:36 +00:00
nodiscc
0eee6a2ba1
gihub actions: fix value of TRIVY_TARGET_DOCKER_IMAGE
...
- fixes Error response from daemon: no such image: ghcr.io/***:trivy: No such image: ghcr.io/***:trivy
- introduced in https://github.com/shaarli/Shaarli/pull/1980 but the test target branch/tag was never reverted to 'latest'
2023-05-21 21:08:36 +02:00
nodiscc
27db81ab07
Merge pull request #1987 from nodiscc/doc-or-operator
...
doc: improve docs on usage of OR operator in tags search
2023-05-21 18:30:57 +00:00
nodiscc
f64b4666ea
Merge pull request #1980 from nodiscc/trivy
...
tools: run trivy vulnerability scanner on the 'latest' docker image
2023-05-21 18:29:11 +00:00
nodiscc
a1c6460077
doc: improve docs on usage of OR operator in tags search
...
- fixes https://github.com/shaarli/Shaarli/issues/1982
2023-05-21 20:27:12 +02:00
nodiscc
a8c7c5c4bf
Merge pull request #1984 from nlegaillart/patch-1
...
Update Community-and-related-software.md
2023-05-21 18:24:44 +00:00
Nicolas Le Gaillart
eb340c7eb6
Update Community-and-related-software.md
...
Hi, here are my two little plugins for Shaarli.
2023-05-17 22:33:36 +02:00
nodiscc
22b4044986
tools/github actions: revert temporary changes used for trivy tests on fork/branch
2023-05-02 12:27:49 +02:00
nodiscc
d48e06f438
run trivy vulnerability scanner on the 'latest' docker image
...
- run trivy from makefile so that it can be run both locally and through github actions
- usage: make test_trivy TRIVY_TARGET_DOCKER_IMAGE=regist.ry/user/image:tag
- tested by downgrading the base image to alpine 3.15.7 and verifying that vulnerabilities are reported (https://github.com/nodiscc/Shaarli/actions/runs/4860040980/jobs/8663400103 )
- TEMP/TESTING only push image to ghcr.io, run trivy on trivy branch/docker tag as well as master
- ref. https://github.com/shaarli/Shaarli/issues/1531
2023-05-02 12:24:50 +02:00
ArthurHoaro
88b76c44f7
Fix autofocus: load bulk action input on linklist only ( #1976 )
2023-04-15 12:46:09 -04:00
ArthurHoaro
1cd642619f
Documentation: fix broken link to 3rd party plugins ( #1975 )
2023-04-15 12:01:50 -04:00
Gregory
5f69e17310
Update Server-configuration.md ( #1973 )
2023-04-15 09:02:48 -04:00
ArthurHoaro
e0a8f961ba
Support: ignore disk_free_space if the function is unavailable ( #1970 )
2023-04-08 10:10:29 -04:00
bschwede
739776a754
Update german translation ( #1969 )
2023-04-08 15:26:27 +02:00
nodiscc
08d9347e9a
Merge pull request #1958 from ArthurHoaro/php-drop-7.3-and-less
...
Drop support for PHP 7.1, 7.2 and 7.3
2023-04-03 15:43:07 +00:00
ArthurHoaro
050bb50cdf
Update compatibility matrix
2023-03-25 09:42:42 -04:00
ArthurHoaro
ef9d019ccd
Docker build: add ARM64 platform and bump Github action version ( #1965 )
2023-03-25 09:35:58 -04:00
nodiscc
a7e361e22a
Merge pull request #1962 from nodiscc/docker-armv7
...
github actions: build OCI images that contain both amd64 and armv7
2023-03-21 17:22:24 +00:00
nodiscc
9a1ad45e90
remove ununsed Dockerfile.armhf
2023-03-21 18:18:12 +01:00
nodiscc
fd4379992d
github actions: build OCI images that contin both amd64 and armv7
...
- ref. https://docs.docker.com/engine/reference/commandline/buildx_build/#platform
- ref. https://docs.docker.com/build/ci/github-actions/multi-platform/
- replaces https://github.com/shaarli/Shaarli/pull/1496
- make docker image name configurable through CI variables for easier testing
2023-03-21 18:10:37 +01:00
nodiscc
9c9d6298bf
Merge pull request #1960 from nodiscc/doc-updte-release-branch
...
doc: update release procedure (merge the latest release to the release branch) + use the release branch for latest release version detection
2023-03-20 17:23:34 +00:00
nodiscc
625235787e
admin/server: use the 'release' branch as reference for latest release version number detection
...
- ref. https://github.com/shaarli/Shaarli/issues/1961
2023-03-20 18:17:13 +01:00
nodiscc
062698c123
doc: update release procedure (merge the latest release to the release branch)
...
- ref. https://github.com/shaarli/Shaarli/pull/1959
2023-03-20 18:08:02 +01:00
ArthurHoaro
0a47d89193
Drop support for PHP 7.1, 7.2 and 7.3
...
This commit doesn't yet enforce the new requirement since previous version will continue to work for a short while.
2023-03-18 14:27:41 -04:00
ArthurHoaro
6624f00c05
Makefile: Use GNU tar if available ( #1957 )
2023-03-18 14:03:34 -04:00
ArthurHoaro
c0c743f9c6
Bump badge version
2023-03-18 13:41:03 -04:00
ArthurHoaro
9e24bb317c
Changelog v0.12.2 ( #1956 )
2023-03-18 13:24:16 -04:00
ArthurHoaro
ebe9417981
Rename authors makefile target to avoid conflicts with filename ( #1955 )
2023-03-18 13:19:37 -04:00
ArthurHoaro
8cd369aee7
Fix Logger exception: gracefully handle permission issue ( #1954 )
2023-03-18 12:13:48 -04:00
ArthurHoaro
b858332f9f
Fix a bug when using '/' as a tag separator ( #1953 )
2023-03-18 11:59:00 -04:00
ArthurHoaro
8457001294
Do not display deprecated warnings by default ( #1952 )
2023-03-18 11:01:33 -04:00
nodiscc
f15ac5957a
Merge pull request #1951 from nodiscc/doc-ghcrio
...
doc: move OCI images hosting to ghcr.io
2023-03-18 14:10:28 +00:00
nodiscc
721c090198
doc: move OCI images hosting to ghcr.io
...
- dockerhub free team accounts will be deleted in < 30 days (https://www.docker.com/blog/we-apologize-we-did-a-terrible-job-announcing-the-end-of-docker-free-teams/ ), this affects the Shaarli team account
- automated builds will keep pushing latest builds to dockerhub in addition to gchr.io, until the account is deleted
- **users relying on `shaarli/shaarli` OCI images are advised to migrate to `ghcr.io/shaarli/shaarli` as soon as possible**
- existing tagged images have been copied from https://hub.docker.com/r/shaarli/shaarli/ to https://github.com/shaarli/Shaarli/pkgs/container/shaarli/versions?filters%5Bversion_type%5D=tagged
- prepend `ghcr.io/` to all references to OCI images
- update all references to dockerhub -> github packages registry, update developer documentation, cleanup dead links
- ref. https://github.com/shaarli/Shaarli/issues/1948
2023-03-17 16:17:37 +01:00
nodiscc
9195ce0378
Merge pull request #1950 from nodiscc/tests-php-8.2
...
github actions: add tests for PHP 8.2
2023-03-17 14:37:26 +00:00
nodiscc
4b88cbb56c
Merge pull request #1945 from nodiscc/docker-latest-replace-dev-with-hash
...
docker: latest: replace dev in shaarli_version.php with the latest commit hash
2023-03-17 14:20:58 +00:00
nodiscc
e4ee672404
github actions: add tests for PHP 8.2
...
- ref. https://github.com/shaarli/Shaarli/pull/1928
2023-03-17 15:11:08 +01:00
nodiscc
169755c6a9
docker: latest: replace dev in shaarli_version.php with the latest commit hash
...
- fixes https://github.com/shaarli/Shaarli/issues/1676
- testing was successful using docker run --entrypoint /bin/cat nodiscc/shaarli:latest shaarli/shaarli_version.php (returns <?php /* c4a5ef5 */ ?>)
2023-03-17 15:04:38 +01:00
Denis Renning
4c76d4eea9
Github actions: update node ( #1928 )
...
* update Node dependent actions
* doc: update compatibility table
Co-authored-by: William Desportes <williamdes@wdes.fr>
Co-authored-by: nodiscc <nodiscc@gmail.com>
2023-03-17 01:22:20 +00:00
nodiscc
99485504d0
Merge pull request #1949 from hydrargyrum/master
...
ci: push container images to github registry in addition to dockerhub
2023-03-17 01:15:26 +00:00
Hg
cc2ea94d06
ci: push container images to github registry in addition to dockerhub
...
it's good to have multiple container registries, in case one decides to not
be welcoming anymore to open-source projects
2023-03-16 21:30:43 +01:00
nodiscc
1222aa62c5
Merge pull request #1947 from shaarli/fix-vintage-visibility-link
...
template/vintage: fix typo in visibility selection link
2023-03-15 01:31:30 +00:00
nodiscc
50c27108c7
template/vintage: fix typo in visibility selection link
...
- fixes https://github.com/shaarli/Shaarli/issues/1946
2023-03-15 01:29:23 +00:00
nodiscc
0d70e5e44f
Merge pull request #1938 from nodiscc/doc-proxy-timeout
...
doc: troubleshooting: add note to adjust proxy timeouts or PHP max execution time if encountering timeouts
2023-03-01 14:15:41 +00:00
nodiscc
a9acad9e1a
doc: troubleshooting: add note to adjust proxy timeouts or PHP max execution time if encountering timeouts
...
- fixes https://github.com/shaarli/Shaarli/issues/1910
- fixes https://github.com/shaarli/Shaarli/issues/1854
2023-02-19 15:29:56 +01:00
nodiscc
f3316d707a
Merge pull request #1939 from nodiscc/fix-php8-tests
...
tools: github actions: fix PHP 8.0 tests
2023-02-19 15:28:51 +01:00
nodiscc
b9938cf084
tools: github actions: fix PHP 8.0 tests
...
- `--ignore-platform-req=php` is no longer needed
- fixes https://github.com/shaarli/Shaarli/issues/1933
2023-01-31 14:39:30 +01:00
nodiscc
8226308d67
Merge pull request #1936 from kcaran/upstream
...
1932: Fixed Roboto-Regular and Roboto-Bold font declarations
2023-01-29 23:26:22 +00:00
nodiscc
1ba35135a1
Merge pull request #1937 from shaarli/doc-file-uris
...
doc: shaarli configuration: mention file:/// URIs
2023-01-29 23:26:04 +00:00
nodiscc
de895c73b7
doc: shaarli configuration: mention file:/// URIs
...
fixes https://github.com/shaarli/Shaarli/issues/1906
2023-01-29 23:17:48 +00:00
Keith Carangelo
3c39cea735
1932: Fixed Roboto-Regular and Roboto-Bold font declarations
2023-01-25 09:30:28 -05:00
nodiscc
ab16f6a826
Merge pull request #1931 from shaarli/dependabot/npm_and_yarn/json5-1.0.2
...
build(deps): bump json5 from 1.0.1 to 1.0.2
2023-01-20 20:15:05 +00:00
dependabot[bot]
c0ace02c3a
build(deps): bump json5 from 1.0.1 to 1.0.2
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 04:07:05 +00:00
Sebastien Wains
6d4e397805
Add mention to Shaarli Archiver ( #1926 )
2022-12-24 07:23:54 -05:00
locness3
965f8948ee
Fix formatting of v0.9.0 changelog ( #1927 )
2022-12-24 07:21:59 -05:00
nodiscc
bc470ef8c7
doc: PHP extensions are also required for development ( #1922 )
2022-12-24 07:21:11 -05:00
dependabot[bot]
ff4d8b5198
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 ( #1920 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-24 07:20:02 -05:00
nodiscc
8f8abf2025
Merge pull request #1921 from shaarli/doc-bulk-creation
...
doc: usage.md: add note about batch/bulk creation operation
2022-12-04 12:06:10 +00:00
nodiscc
7bcf4255a7
doc: usage.md: add note about batch/bulk creation operation
...
added in https://github.com/shaarli/Shaarli/pull/1587
2022-12-04 13:02:07 +01:00
Keith Carangelo
733b40446e
Ensure tags are unique when adding and deleting them from bookmarks. ( #1918 )
...
* Ensure tags are unique when adding and deleting them from bookmarks.
* Fixed PHPCS issues with test script
2022-12-01 02:47:10 +01:00
ArthurHoaro
e957f8fb23
fix: bulk tag action - wrong controller name ( #1917 )
2022-11-30 12:49:28 -05:00
ArthurHoaro
c971344ddb
Fix ReadItLater checkbox label on bulk add ( #1916 )
...
* Fix ReadItLater checkbox label on bulk add
Adds a random string to the HTML ID so it can be unique in batch more,
where there are multiple checkboxes.
* Fix PHPUnit compatibility polyfill
2022-11-26 10:39:35 -05:00
nodiscc
f28b9d550e
docker: install php8-ldap in Docker images ( #1914 )
...
- fixes #1890
2022-11-26 08:58:21 -05:00
ArthurHoaro
00cce1f8c7
Bulk action: add or delete tag to multiple bookmarks ( #1898 )
2022-11-26 08:58:12 -05:00
ArthurHoaro
cd618bd8be
PubSubHub Plugin: make 1 external call per request ( #1877 )
...
On bulk operations, this plugin heavily impacts performances because it make 1 external request
per link saved. Add a simple limit to only make one call per request.
2022-11-26 08:57:59 -05:00
ArthurHoaro
84b37c7baa
Add an additional free disk space check before saving the datastore ( #1913 )
...
Fixes https://github.com/shaarli/Shaarli/issues/1810
2022-11-25 17:23:43 +01:00
ArthurHoaro
4242f6955a
Fix PHP 8 incompatibility with debug mode enabled ( #1915 )
2022-11-25 17:16:09 +01:00
nodiscc
611b794034
Merge pull request #1909 from heimpogo/patch-1
...
Fix mishandling of Shaare term
2022-11-20 15:13:10 +00:00
nodiscc
5abf19faf2
Merge pull request #1905 from philipp-r/autocapitalize
...
autocapitalize off for the username input
2022-11-20 15:12:55 +00:00
nodiscc
ac8966566e
Merge pull request #1912 from shaarli/dependabot/npm_and_yarn/minimatch-3.1.2
...
build(deps): bump minimatch from 3.0.4 to 3.1.2
2022-11-17 17:31:58 +00:00
dependabot[bot]
0a058bba45
build(deps): bump minimatch from 3.0.4 to 3.1.2
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 15:49:49 +00:00
nodiscc
864e0bf775
Merge pull request #1908 from shaarli/dependabot/npm_and_yarn/loader-utils-1.4.2
...
build(deps): bump loader-utils from 1.4.1 to 1.4.2
2022-11-17 15:48:39 +00:00
heimpogo
75e659e3a2
Fix mishandling of Shaare term
...
"Shaare" is used as a verb and as a noun. In the "shaare"/"shaares"-Keys this was mixed up. The Share term *is* used in the Translation. So there is no need to work around it.
2022-11-16 10:40:12 +01:00
dependabot[bot]
15fb1bdeef
build(deps): bump loader-utils from 1.4.1 to 1.4.2
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 22:18:07 +00:00
nodiscc
89a945a1c9
Merge pull request #1907 from shaarli/dependabot/npm_and_yarn/loader-utils-1.4.1
...
build(deps): bump loader-utils from 1.4.0 to 1.4.1
2022-11-08 23:00:00 +00:00
dependabot[bot]
bd0d639c60
build(deps): bump loader-utils from 1.4.0 to 1.4.1
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 00:46:52 +00:00
philipp
75fe26dbdb
autocapitalize off for username input
2022-11-06 18:24:40 +01:00
nodiscc
a54795f8eb
Merge pull request #1876 from ArthurHoaro/doc/apache-docs
...
doc(apache2): allow access to local docs folder
2022-10-14 15:52:37 +00:00
nodiscc
6775e2a2af
Merge pull request #1896 from ArthurHoaro/fix/translate-test
...
Fix translate Makefile target
2022-10-09 19:08:19 +00:00
ArthurHoaro
a265865124
Fix translate Makefile target
...
The syntax was invalid and this target was not actually doing anything
(it probably worked at some point in another context).
This change make sure that the .mo files are properly generated, even in
unit tests context and fixes #1893
2022-10-08 08:02:02 -04:00
nodiscc
ea1810d4da
Merge pull request #1895 from reinboldg/patch-1
...
Update shaarli.po/fix typo in french translation
2022-10-05 16:26:21 +00:00
Gregory
a66f036ece
Update shaarli.po
...
Fix typo
2022-10-05 10:10:41 +02:00
nodiscc
288b25ae61
Merge pull request #1891 from shaarli/github-actions-no-fail-fast
...
tools/github actions: do not cancel all PHP jobs when a single one fails
2022-09-24 16:10:01 +00:00
nodiscc
93a826f0a4
tools/github actions: do not cancel all PHP jobs when a single one fails
...
- https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#handling-failures
2022-09-24 18:07:54 +02:00
nodiscc
dc589b7490
Merge pull request #1869 from shaarli/docker-alpine-php8
...
update docker images to use PHP 8
2022-09-24 15:58:23 +00:00
nodiscc
5177e036fa
tests/docker: alpine316: add php8-gettext package
2022-09-24 17:55:16 +02:00
nodiscc
74883e373e
docker: Dockerfile: add php8-gettext package
2022-09-24 17:55:16 +02:00
nodiscc
8b1f9115ad
tests/docker: add php8-xmlwriter packate to alpine316 test image
...
- squizlabs/php_codesniffer[3.0.0, ..., 3.7.1] require ext-xmlwriter * -> it is missing from your system. Install or enable PHP's xmlwriter extension.
2022-09-24 17:55:16 +02:00
nodiscc
e0a9d66d99
tests/makefile: rewrite translate target to be compatible with busybox find
...
- https://manpages.debian.org/bullseye/busybox-static/busybox.1.en.html#find
2022-09-24 17:55:15 +02:00
nodiscc
bd81f94287
tests: update alpine316 test image to use php8
2022-09-24 17:55:15 +02:00
nodiscc
b5988ce296
docker: update s6 service definition to use php-fpm8
2022-09-24 17:55:15 +02:00
nodiscc
1da6caedfb
Dockerfile.armhf: upgrade python2 -> python3
...
- python2 no longer available in alpine 3.16
- ref. https://github.com/shaarli/Shaarli/issues/1048
2022-09-24 17:55:14 +02:00
nodiscc
db33cd79b5
update docker images to use PHP 8
...
- fixes https://github.com/shaarli/Shaarli/issues/1868
2022-09-24 17:55:14 +02:00
Aurélien Tamisier
6180c859d3
Merge pull request #1857 from virtualtam/export
...
Improve bookmark metadata formatting for Netscape exports
2022-09-24 15:00:02 +02:00
Hazhar Galeh
dbd99f310f
Resolve PHP 8.1 deprecations ( #1866 )
...
Co-authored-by: Adrien Crivelli <adrien.crivelli@gmail.com>
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
2022-09-14 08:17:07 +02:00
nodiscc
221a2534b2
Merge pull request #1858 from nodiscc/doc-thumbnailer-mode
...
doc: shaarli configuration: fixes/improvements to thumbnails settings documentation
2022-09-12 23:13:41 +00:00
nodiscc
8c4c408072
doc: shaarli configuration: update thumbnails-related configuration settings/examples
...
- remove obsolete config keys
2022-09-04 12:23:08 +02:00
ArthurHoaro
51603fe265
Merge pull request #1878 from ArthurHoaro/fix/github-assets-429
2022-08-20 22:58:36 +02:00
ArthurHoaro
0f896033fa
Github Action: fix failing pipeline due to rate limit on githubassets.com
...
Quick and easy solution: try to reach GitLab instead.
2022-08-20 22:55:28 +02:00
ArthurHoaro
dc08e17996
doc(apache2): allow access to local docs folder
2022-08-20 10:46:53 +02:00
ArthurHoaro
7c6df1c80f
Merge pull request #1872 from ArthurHoaro/feature/shaarli-netscape-upgrade
2022-08-20 08:52:59 +02:00
nodiscc
3665594d36
Merge pull request #1727 from ArthurHoaro/feature/readit
...
New Core Plugin: ReadItLater
2022-08-16 10:42:20 +02:00
ArthurHoaro
8a7a09df90
Merge pull request #1787 from yfdyh000/software.md
2022-08-13 16:12:59 +02:00
ArthurHoaro
bde1fdcb48
Netscape bookmark parser: bump to new major version
...
Apply breaking changes of the new version:
- parsed bookmarks have different field names
- default values (private and tags) are no longer handled by the library
- constructor signature has been updated
2022-08-13 16:08:23 +02:00
YFdyh000
10b460fbd2
refine Community-and-related-software.md and tools page
...
- tpl/default/tools.html: simplify Third-party resources section
- doc: community & related software: add AddToShaarli source code link
- fix addtoshaarli source link
- improve shields.io badges/formatting
- use shields.io for cloudron/yunohost links
- use a generic-looking icon
Worked on by @yfdyh000 and @nodiscc
2022-08-13 10:25:52 +02:00
ArthurHoaro
130008da03
Merge pull request #1792 from yfdyh000/sitetitle
2022-08-13 10:21:48 +02:00
ArthurHoaro
b59cdb3871
ArthurHoaro code review: use Shared Bookmark as default title instead of My links
2022-08-13 10:19:15 +02:00
YFdyh000
d5b218eed4
Simple and uniform localized website title
2022-08-13 10:19:15 +02:00
ArthurHoaro
22d43c303b
Merge pull request #1788 from yfdyh000/messages_210822
2022-08-13 10:11:21 +02:00
ArthurHoaro
8b10110c2b
ArthurHoaro code review: typo
2022-08-13 10:07:21 +02:00
ArthurHoaro
32777d9fd2
Merge pull request #1871 from ArthurHoaro/chore/bump-dependencies
2022-08-13 10:03:20 +02:00
ArthurHoaro
46a104e433
chore: bump minor composer dependencies
...
Especially for latest Slim minor which fix a few PHP 8.1 warnings
2022-08-13 09:54:06 +02:00
ArthurHoaro
11cf6e9b49
Fix PHPCS rules
2022-08-12 19:58:07 +02:00
ArthurHoaro
39c89d84f5
Update official plugin list in the documentation
2022-08-12 19:58:07 +02:00
ArthurHoaro
bf8bec322b
New Core Plugin: ReadItLater
...
Create a new core plugin allowing to mark bookmarks to read them later.
When enabled:
* checkbox is displayed in editlink view for new bookmarks
* a plugin setting is available to check it or not it by default
* in bookmark list:
* new global filter to display only bookmark flagged as read it
later
* for each bookmarks, new action icon to toggle read it later status
* for each « readitlater » bookmark, red label « To Read » added,
and red line on the right of the bookmark added (default template)
Fixes #143
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2022-08-12 19:58:07 +02:00
nodiscc
91dbe63e00
Merge pull request #1867 from shaarli/docker-update-alpine
...
Dockerfile/Dockerfile.armhf: update base alpine image to v3.16
2022-08-10 20:23:49 +02:00
nodiscc
fdfc09f73f
tests: update base alpine image to v3.16 in test Dockerfiles
2022-08-10 20:15:21 +02:00
nodiscc
0abe2f0dcc
Dockerfile/Dockerfile.armhf: update base alpine image to v3.16
...
- https://hub.docker.com/_/alpine
- https://hub.docker.com/r/arm32v6/alpine/
- related https://github.com/shaarli/Shaarli/issues/1757
- related https://github.com/shaarli/Shaarli/issues/1855
2022-08-10 20:10:52 +02:00
nodiscc
40a26241de
Merge pull request #1864 from shaarli/dependabot/npm_and_yarn/terser-4.8.1
...
build(deps): bump terser from 4.8.0 to 4.8.1
2022-07-26 13:17:59 +00:00
dependabot[bot]
e22c550cca
build(deps): bump terser from 4.8.0 to 4.8.1
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 02:01:01 +00:00
VirtualTam
3813b39a4c
Export: set a bookmark's PRIVATE attribute using an integer value
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2022-06-03 13:29:19 +02:00
VirtualTam
21af53f795
Export: set a bookmark's LAST_MODIFIED attribute to its update timestamp
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2022-06-03 13:28:08 +02:00
nodiscc
026ed40d90
Merge pull request #1848 from nodiscc/build-yarnpkg
...
build: use the yarnpkg command instead of yarn
2022-04-06 17:38:24 +00:00
nodiscc
7e39b5ee36
Merge pull request #1849 from nodiscc/doc-dev-install-deps
...
doc: installation/tests: clarify build tools installation procedure
2022-04-06 17:36:02 +00:00
nodiscc
febe0a6487
doc: installation/tests: clarify build tools installation procedure
...
- don't repeat link to getcomposer.org
- add an example of installing build dependencies on Debian
2022-04-06 19:29:35 +02:00
nodiscc
803f6a7e36
build: use the yarnpkg command instead of yarn
...
- yarnpkg is always aliased to the proper yarn binary on all distributions
- yarn command does not always point to yarn package managed (Debian)
2022-04-06 19:26:01 +02:00
nodiscc
1387e059eb
Merge pull request #1845 from kcaran/month_end
...
#1844 - Month end issues with the Daily Shaarli, updates to date processing
2022-04-06 17:21:28 +00:00
Keith Carangelo
9d99925615
Updated to pass codesniffer
2022-03-31 16:01:55 -04:00
Keith Carangelo
6ecc4745f4
Fix Github #1844 - Monthly views previous/next month links during month
...
end. Avoid deprecated strftime function. Got tests to pass in PHP 8.1.
2022-03-31 15:42:25 -04:00
nodiscc
f6076a9275
Merge pull request #1843 from shaarli/dependabot/npm_and_yarn/ansi-regex-4.1.1
...
Bump ansi-regex from 4.1.0 to 4.1.1
2022-03-29 18:01:51 +00:00
dependabot[bot]
abf5a0fb9f
Bump ansi-regex from 4.1.0 to 4.1.1
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 16:09:51 +00:00
nodiscc
c2c8990f23
Merge pull request #1842 from shaarli/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-03-29 16:09:21 +00:00
nodiscc
f2cd2215f0
Merge pull request #1837 from nfriedli/master
...
Correction: pubsubhubbub hub link in RSS / Atom.
The hub link variable is wrong in default template (this correction) but OK in the vintage one.
2022-03-29 16:08:57 +00:00
dependabot[bot]
441b755712
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 15:32:20 +00:00
Nicolas Friedli
cbb140a9af
Correction: pubsubhubbub hub link in RSS / Atom.
2022-03-14 14:21:29 +01:00
nodiscc
30cf6bf92e
Merge pull request #1826 from nodiscc/dockerfile-alpine-3.15
...
dockerfile: update base image to alpine 3.15
2022-01-14 13:38:10 +00:00
nodiscc
6067508bb1
dockerfile: update base image to alpine 3.15
...
- fixes https://github.com/shaarli/Shaarli/issues/1655
2022-01-14 14:23:23 +01:00
nodiscc
39a3749f3b
Merge pull request #1825 from nodiscc/fix-phpcs-blank-lines-after-brace
...
tests: phpcs: fix 'Opening brace must not be followed by a blank line' error
2022-01-13 19:54:45 +00:00
nodiscc
cf9031da22
tests: phpcs: fix 'Opening brace must not be followed by a blank line' error
...
- fixes https://github.com/shaarli/Shaarli/issues/1818
2022-01-13 20:50:39 +01:00
nodiscc
aeda845b3c
Merge pull request #1806 from nodiscc/doc-fix-example-config-json
...
doc: add "formatter" setting to example.json.php, remove duplicate "general" key
fixes https://github.com/shaarli/Shaarli/issues/1680
2021-12-17 14:35:14 +00:00
nodiscc
7ae4b2f8b0
doc: add "formatter" key to example config.json.php
...
- fixes https://github.com/shaarli/Shaarli/issues/1680
2021-10-10 15:11:38 +02:00
nodiscc
df0ca43873
doc: remove duplicate "general" key in example config.php.json
...
- ref. https://github.com/shaarli/Shaarli/issues/1680
2021-10-10 15:09:57 +02:00
nodiscc
21550cda7d
Merge pull request #1804 from nodiscc/doc-fix-icon
...
doc: fix homepage title/icon rendering
2021-10-02 11:25:16 +00:00
nodiscc
e0f4fd4537
doc: fix homepage title/icon rendering
...
- fixes https://github.com/shaarli/Shaarli/issues/1774
2021-09-26 21:53:41 +02:00
ArthurHoaro
163cd8ce2d
Merge pull request #1798 from kcaran/or-tag-search
2021-09-23 08:32:40 +02:00
Keith Carangelo
d2019d3a09
Fixed issue with suggestions on multiple terms
2021-09-08 20:45:56 -04:00
Keith Carangelo
c6f27b1ade
Fixed issues after running make code_sniffer
2021-09-08 15:46:51 -04:00
Keith Carangelo
6202038c65
Updated to pass eslint
2021-09-08 15:40:05 -04:00
Keith Carangelo
a7d43caccb
Added support for OR (~) and optional AND (+) operators for tag searches.
2021-09-08 15:26:58 -04:00
Keith Carangelo
6e0f92acb4
Merge branch 'master' of github.com:Shaarli/Shaarli into upstream
2021-09-07 13:41:59 -04:00
ArthurHoaro
6ca3980812
Merge pull request #1795 from shaarli/dependabot/npm_and_yarn/tar-6.1.11
...
Bump tar from 6.1.3 to 6.1.11
2021-09-05 10:22:10 +02:00
ArthurHoaro
a276e0c4e6
Merge pull request #1786 from yfdyh000/remove_travis.org
...
remove travis from README.md
2021-09-05 09:28:46 +02:00
ArthurHoaro
b1f026b674
Merge pull request #1791 from yfdyh000/plugin_enabled
...
Intuitive checkbox for Enabled Plugins
2021-09-05 09:27:55 +02:00
dependabot[bot]
a908ed6866
Bump tar from 6.1.3 to 6.1.11
...
Bumps [tar](https://github.com/npm/node-tar ) from 6.1.3 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v6.1.3...v6.1.11 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 16:51:51 +00:00
Keith Carangelo
6ca8ab31b2
Merge branch 'master' of github.com:Shaarli/Shaarli into upstream
2021-08-26 14:17:37 -04:00
YFdyh000
f33af48b59
Intuitive checkbox for Enabled Plugins
2021-08-22 22:34:28 +08:00
YFdyh000
dea58d5abd
trivial refine for messages
2021-08-22 21:58:52 +08:00
YFdyh000
36e16b3d17
remove travis from README.md
2021-08-22 21:44:39 +08:00
ArthurHoaro
3b1818dfa6
Merge pull request #1781 from yfdyh000/zh_CN
2021-08-14 10:52:58 +02:00
ArthurHoaro
9a62827452
UT: bump number of languages
2021-08-14 10:44:40 +02:00
nodiscc
dba8975f85
Merge pull request #1784 from shaarli/dependabot/npm_and_yarn/path-parse-1.0.7
...
Bump path-parse from 1.0.6 to 1.0.7
2021-08-14 00:21:20 +00:00
nodiscc
4dfabbf8a7
Merge pull request #1780 from shaarli/dependabot/npm_and_yarn/tar-6.1.3
...
Bump tar from 6.1.0 to 6.1.3
2021-08-14 00:21:01 +00:00
dependabot[bot]
65d9afa9b8
Bump path-parse from 1.0.6 to 1.0.7
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 22:52:25 +00:00
YFdyh000
142370f0a1
Add Chinese (Simplified) translation
2021-08-10 07:23:42 +08:00
dependabot[bot]
a0eed0546b
Bump tar from 6.1.0 to 6.1.3
...
Bumps [tar](https://github.com/npm/node-tar ) from 6.1.0 to 6.1.3.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.3 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-03 19:55:31 +00:00
nodiscc
ab6a4c9f7b
Merge pull request #1779 from letompouce/doc-rm-markdown-plugin
...
doc: remove the markdown plugin from the plugins list
2021-08-02 13:52:02 +00:00
ToM
63fe4881cc
doc: remove the markdown plugin from the plugins list
...
The plugin is now part of core since v0.12.0
2021-08-01 16:44:31 +02:00
nodiscc
a79707258f
Merge pull request #1768 from nodiscc/doc-proxy-subdirectory
...
doc: add notice about nginx location directive when shaarli is installed in a subdirectory
2021-07-19 17:02:29 +00:00
nodiscc
1a36e314ba
Merge pull request #1769 from nodiscc/doc-php-ldap
...
doc: LDAP login support, update php requirements list
2021-07-19 17:02:14 +00:00
nodiscc
4cfaa67e07
Merge pull request #1767 from nodiscc/doc-bookmarklet
...
doc: bookmarklet is now working on github.com
2021-07-19 17:02:05 +00:00
nodiscc
338648093f
Merge pull request #1765 from nodiscc/github-actions-docker-build
...
build and push docker images using Github Actions
2021-07-19 16:58:34 +00:00
nodiscc
d1fed70609
Merge pull request #1766 from shaarli/dependabot/npm_and_yarn/postcss-7.0.36
...
Bump postcss from 7.0.35 to 7.0.36
2021-06-18 15:47:38 +00:00
nodiscc
4a63c2bbb4
doc: LDAP login support, update php requirements list
...
- fixes https://github.com/shaarli/Shaarli/issues/1677
2021-06-17 17:57:07 +02:00
nodiscc
f841121a6e
doc: add notice about nginx location directive when shaarli is installed in a subdirectory
...
- fixes https://github.com/shaarli/Shaarli/issues/1679
2021-06-17 17:50:56 +02:00
nodiscc
2a569f1e93
doc: bookmarklet is now working on github.com
...
- left generic paragraph about this problem in place, since the problem may still be present on other sites
- closes https://github.com/shaarli/Shaarli/issues/1730
2021-06-17 17:46:00 +02:00
dependabot[bot]
bf63992617
Bump postcss from 7.0.35 to 7.0.36
...
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 20:38:40 +00:00
nodiscc
eeaabc05a7
build and push docker images using github actions
...
- push images to https://hub.docker.com/r/shaarli/shaarli/tags using a personal access token (access tokens are not available for organizations)
- push an image tagged :latest for builds on master
- push an image with the same tag as the git tag for v*.*.* tags, and for the "release" branch
- update documentation (remove references to Travis/Drone CI
- deprecate stable and master Docker tags (ref. https://github.com/shaarli/Shaarli/issues/1453 )
- add deprecation notices to CHANGELOG.md
2021-06-15 20:35:36 +02:00
nodiscc
11c6fc418d
Merge pull request #1763 from shaarli/dependabot/npm_and_yarn/trim-newlines-3.0.1
...
Bump trim-newlines from 3.0.0 to 3.0.1
2021-06-14 12:20:54 +00:00
dependabot[bot]
4f6a4f6107
Bump trim-newlines from 3.0.0 to 3.0.1
...
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases )
- [Commits](https://github.com/sindresorhus/trim-newlines/commits )
---
updated-dependencies:
- dependency-name: trim-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 18:23:13 +00:00
ArthurHoaro
a047b62c2b
Merge pull request #1760 from qbi/patch-1
...
Change Zeichen to Token
2021-05-28 08:19:27 +02:00
nodiscc
fbedbd8ee2
Merge pull request #1759 from ArthurHoaro/feat/github-actions
...
Setup Github Actions for Shaarli
2021-05-25 15:49:56 +00:00
Jens Kubieziel
0b97c4279e
Change Zeichen to Token
...
I'd recommend to change the German translation. The word "Zeichen" is misleading in this case. It means something like string or character. The word "Token" fits better. In general I'd change the message to "Wrong XSRF token". This makes it more clear what happens here.
2021-05-25 09:58:46 +00:00
ArthurHoaro
8887f9826a
Merge pull request #1752 from oblab/patch-3
...
Update includes.html
2021-05-23 11:43:24 +02:00
ArthurHoaro
2ce2ef3708
Setup Github Actions for Shaarli
...
This is kind of a quick & dirty setup in order to fix our non-CI current status.
We can later decide to either improve it or fix Drone CI.
Related to #1754
2021-05-23 11:36:24 +02:00
nodiscc
d8fe0e7276
Merge pull request #1741 from nodiscc/drone-ci
...
switch continuous integration system to Drone CI
2021-05-16 17:32:42 +00:00
Olivier
3d27ecbb37
Update includes.html
...
change permalink '<meta property="og:url" content="{$index_url}?{$link.shorturl}" />' by '<meta property="og:url" content="{$index_url}shaare/{$link.shorturl}" />'
2021-05-15 10:50:13 +02:00
ArthurHoaro
fbb33c723e
Merge pull request #1750 from oblab/patch-1
...
Update includes.html
2021-05-15 10:47:53 +02:00
ArthurHoaro
bbb2dd30ac
Merge pull request #1751 from oblab/patch-2
2021-05-15 10:47:37 +02:00
Olivier
62c9b3a6d9
Update daily.html
...
Change permalink in daily.html file : <a href="{$base_path}/?{$link.shorturl}" title="{'Permalink'|t}">
by : <a href="{$base_path}/shaare/{$link.shorturl}" title="{'Permalink'|t}">
2021-05-15 10:42:59 +02:00
Olivier
bbcb18931c
Update includes.html
...
Change the permalink in meta property : <meta property="og:url" content="{$index_url}?{$link.shorturl}" />
by : <meta property="og:url" content="{$index_url}shaare/{$link.shorturl}" /> ?
2021-05-15 10:40:29 +02:00
nodiscc
d4da270289
doc: update CI documentation
...
- use cloud.drone.io badges for builds on the master branch
- stable/0.x badges will need to be updated when the next stable/0.x release is published
2021-05-13 14:28:25 +02:00
nodiscc
832739e58f
switch continuous integration system to Drone CI:
...
- add .drone.yml, reimplement tasks from .travis.yml (php/node/python test suites)
- ref. https://github.com/shaarli/Shaarli/issues/1649
- https://www.drone.io/enterprise/opensource/
- https://cloud.drone.io/shaarli/Shaarli/settings
- https://docs.drone.io/pipeline/docker/syntax/steps/
- https://docs.drone.io/pipeline/docker/syntax/cloning/
- https://docs.drone.io/pipeline/environment/reference/
- https://docs.drone.io/pipeline/configuration/
- https://docs.drone.io/pipeline/overview/
- https://docs.drone.io/pipeline/docker/syntax/volumes/
- https://docs.drone.io/pipeline/docker/syntax/volumes/temporary/
- php: use custom php base images with prebuilt PHP extensions and composer (speed up build process) (https://hub.docker.com/r/shaarli/drone-ci-base , https://www.github.com/shaarli/drone-ci-base , https://hub.docker.com/repository/docker/shaarli/drone-ci-base/builds )
- no need to port $PATH update command, the default node:10 image already has the correct $PATH
- don't force pull of latest images to speed up builds
- the default is to use a local/cached image when the image is not tagged :latest
- https://docs.drone.io/pipeline/docker/syntax/parallelism/
- https://docs.drone.io/pipeline/environment/reference/drone-git-http-url/
- ignore PHP version requirements for https://packagist.org/packages/pubsubhubbub/publisher , pending merge of https://github.com/pubsubhubbub/php-publisher/pull/11
- closes https://github.com/shaarli/Shaarli/issues/1649
2021-05-13 14:28:11 +02:00
ArthurHoaro
0f4cd55599
Merge pull request #1748 from ArthurHoaro/fix/mkdocs
...
Fix documentation build
2021-05-13 11:43:43 +02:00
ArthurHoaro
e660450a2b
Fix documentation build
...
- pages parameters has been deprecated and renamed by nav
- the build fails with an empty extra_css array
2021-05-13 11:36:37 +02:00
ArthurHoaro
45b3c7cb7a
Merge pull request #1747 from ArthurHoaro/chore/bump-front-deps
...
Bump dependency versions
2021-05-08 14:18:56 +02:00
ArthurHoaro
723e93f439
Bump dependency versions
2021-05-08 13:40:20 +02:00
ArthurHoaro
6225cc9c86
Merge pull request #1746 from shaarli/dependabot/npm_and_yarn/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21
2021-05-08 12:54:27 +02:00
dependabot[bot]
824f3c6dff
Bump lodash from 4.17.20 to 4.17.21
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 10:38:45 +00:00
ArthurHoaro
4ca1b33b0e
Merge pull request #1743 from shaarli/dependabot/npm_and_yarn/ssri-6.0.2
...
Bump ssri from 6.0.1 to 6.0.2
2021-04-20 08:11:16 +02:00
dependabot[bot]
c273f511aa
Bump ssri from 6.0.1 to 6.0.2
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 02:24:55 +00:00
nodiscc
a5482cf9af
Merge pull request #1739 from ralienpp/master
...
Add '406 not acceptable' to the Troubleshooting section
2021-04-14 15:53:13 +00:00
Alexander Railean
060e6d9498
Correct HTTP status code 206->406
2021-04-12 21:05:21 +02:00
Alexander Railean
e00b9dc099
Add '206 not acceptable' to the Troubleshooting section
2021-04-12 21:03:43 +02:00
nodiscc
0ed6614981
Merge pull request #1738 from shaarli/doc-fix-casing
...
doc: plugins.md: fix link casing
2021-04-12 18:28:08 +00:00
nodiscc
9700d9ea3e
doc: plugins.md: fix link casing
...
fixes https://github.com/shaarli/Shaarli/issues/1737
2021-04-12 18:15:58 +00:00
nodiscc
9f87e82cdb
Merge pull request #1734 from ArthurHoaro/doc/php-extensions
...
Documentation: include all PHP extensions installed in our official Docker image
2021-04-05 10:52:37 +00:00
ArthurHoaro
5bf3deb815
Merge pull request #1733 from ArthurHoaro/feature/phpcs-tests
2021-04-05 11:34:03 +02:00
ArthurHoaro
ba4fa9460a
Documentation: include all PHP extensions installed in our official Docker image
...
Fixes #1700
2021-04-05 11:27:45 +02:00
ArthurHoaro
8b428dabea
Merge pull request #1732 from ArthurHoaro/fix/legacy-bookmarklet-url
...
Change legacy URL route for Add Note bookmarklet
2021-04-05 11:10:54 +02:00
ArthurHoaro
af764dfd4e
Merge pull request #1731 from ArthurHoaro/fix/search-highlight-table
...
Search highlight: do not use special characters for tokens
2021-04-05 11:10:43 +02:00
ArthurHoaro
44b0825860
Coding style: update documentation (static analysis section)
...
Related to #95
2021-04-05 11:08:02 +02:00
ArthurHoaro
830a73dcf6
Coding style: manually fix remaining errors in tests after PHPCBF
...
Related to #95
2021-04-05 11:00:28 +02:00
ArthurHoaro
0681511699
Coding style: Apply automatic PHPCBF to tests forlder (PSR12)
...
Related to #95
2021-04-05 09:39:34 +02:00
ArthurHoaro
9665870b39
Change legacy URL route for Add Note bookmarklet
2021-04-05 09:29:44 +02:00
ArthurHoaro
b2a43bc861
Search highlight: do not use special characters for tokens
...
It messes with Markdown syntax (tables in this case).
Fixes #1729
2021-04-05 09:15:25 +02:00
ArthurHoaro
bd7ed438fa
Merge pull request #1728 from yude/master
2021-04-04 11:52:09 +02:00
yudejp
b29f14d67e
Update Japanese translation
2021-04-04 13:20:25 +09:00
yude
0a47426f88
Merge pull request #3 from shaarli/master
...
Merge upstream
2021-04-04 11:25:48 +09:00
ArthurHoaro
2c2c349e8a
Merge pull request #1725 from ajabep/patch-1
...
Fix a crash when generating an atom feed with no bookmarks
2021-04-03 13:16:54 +02:00
Ajabep
2ea2c99dcb
Fix a bug
...
When we try to access the atom feed and have no bookmarks, it raised the following exception :
```
Call to a member function reorder() on array /webroot/application/bookmark/BookmarkFileService.php:143
#0 /webroot/application/feed/FeedBuilder.php(106): Shaarli\Bookmark\BookmarkFileService->search(Array, 'public', false, false, true)
#1 /webroot/application/front/controller/visitor/FeedController.php(47): Shaarli\Feed\FeedBuilder->buildData('atom', Array)
#2 /webroot/application/front/controller/visitor/FeedController.php(20): Shaarli\Front\Controller\Visitor\FeedController->processRequest('atom', Object(Slim\Http\Request), Object(Slim\Http\Response))
#3 [internal function]: Shaarli\Front\Controller\Visitor\FeedController->atom(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#4 /webroot/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#5 /webroot/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#6 /webroot/application/front/ShaarliMiddleware.php(55): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 [internal function]: Shaarli\Front\ShaarliMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#8 /webroot/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Array, Array)
#9 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#10 /webroot/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#11 /webroot/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#12 /webroot/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#13 /webroot/vendor/slim/slim/Slim/App.php(503): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#14 /webroot/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#15 /webroot/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#16 /webroot/vendor/slim/slim/Slim/App.php(297): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#17 /webroot/index.php(177): Slim\App->run(true)
#18 {main}
```
2021-04-02 21:14:09 +02:00
ArthurHoaro
4543717881
Merge pull request #1724 from shaarli/dependabot/npm_and_yarn/y18n-4.0.1
...
Bump y18n from 4.0.0 to 4.0.1
2021-03-30 17:11:08 +02:00
dependabot[bot]
fe170cb571
Bump y18n from 4.0.0 to 4.0.1
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 14:59:13 +00:00
Keith Carangelo
755c094bdd
Merge branch 'master' of github.com:Shaarli/Shaarli into upstream
2021-03-29 11:27:32 -04:00
nodiscc
8b8ed23ae1
Merge pull request #1718 from shaarli/doc-apache-directoryindex
...
doc: apache: explicitly set index.php as DirectoryIndex
2021-03-27 14:17:40 +00:00
ArthurHoaro
28123e7283
Merge pull request #1722 from ArthurHoaro/feature/bump-thumbnailer
...
Bump WebThumbnailer version to fix Instagram issue
2021-03-27 13:26:34 +01:00
ArthurHoaro
546c776acd
Bump WebThumbnailer version to fix Instagram issue
...
Related to #1711
2021-03-27 13:22:55 +01:00
ArthurHoaro
e1847ae5a7
Merge pull request #1719 from shaarli/dependabot/npm_and_yarn/elliptic-6.5.4
...
Bump elliptic from 6.5.3 to 6.5.4
2021-03-27 12:20:28 +01:00
dependabot[bot]
fb0d610c80
Bump elliptic from 6.5.3 to 6.5.4
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 01:59:38 +00:00
nodiscc
c5cd2f16f4
Merge pull request #1717 from jalr/patch-1
...
Fix typo in documentation
2021-03-07 15:06:33 +00:00
nodiscc
3bb6205e7f
doc: apache: explicitely ste index.php as DirectoryIndex
...
WIthout this directive apache will try other default/global DirectoryIndex files resulting in useless file access/error messages in logs
```
[Sun Mar 07 14:04:25.383960 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.html
[Sun Mar 07 14:04:25.384293 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.cgi
[Sun Mar 07 14:04:25.384465 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.pl
```
2021-03-07 13:08:31 +00:00
jalr
94dadd85a0
Fix typo
2021-03-07 10:58:15 +00:00
ArthurHoaro
9db1ccdf2c
Merge pull request #1698 from ArthurHoaro/feature/plugins-search-filter
...
New plugin hook: ability to add custom filters to Shaarli search engine
2021-02-04 11:11:33 +01:00
ArthurHoaro
bcba6bd353
New plugin hook: ability to add custom filters to Shaarli search engine
...
A new plugin hook has been added: hook_test_filter_search_entry
This hook allows to filter out bookmark with custom plugin code when a search is performed.
Related to #143
2021-02-04 11:02:50 +01:00
ArthurHoaro
8997ae6c8e
Merge pull request #1697 from ArthurHoaro/feature/pagination
...
Handle pagination through BookmarkService
2021-02-04 10:57:44 +01:00
ArthurHoaro
11edc143b4
Merge pull request #1696 from ArthurHoaro/fix/search-highlight-url
2021-02-04 10:57:12 +01:00
ArthurHoaro
a1cd7a3b2f
ShaarliParsedown: add PHPDoc/comments
2021-02-04 10:53:23 +01:00
ArthurHoaro
83b4eb1795
Merge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-token
...
Fix: bulk add redirection with ending slash
2021-01-26 16:25:09 +01:00
ArthurHoaro
d496fd857d
Merge pull request #1699 from bschwede/master
...
Update German translations, added new strings to server.html
2021-01-26 16:23:44 +01:00
bschwede
e570cc8b1a
Update German translations, added new strings to server.html
2021-01-25 00:51:36 +01:00
ArthurHoaro
9b8c0a4560
Handle pagination through BookmarkService
...
Handle all search results through SearchResult object.
This is a required step toward implementing a BookmarkService based on SQL database.
Related to #953
2021-01-20 15:01:29 +01:00
ArthurHoaro
055d97f9a9
Merge pull request #1695 from ArthurHoaro/fix/ut-curl
2021-01-20 11:31:35 +01:00
ArthurHoaro
9ef8555ad2
Support search highlights when matching URL content
...
DefaultFormatter:
- format 'a' tag content and not href attribute
- format hashtags properly
Markdown(Extra)Formatter:
- Extend Parsedown to format highlight properly: https://github.com/erusev/parsedown/wiki/Tutorial:-Create-Extensions
Fixes #1681
2021-01-19 17:49:19 +01:00
ArthurHoaro
dafd3f081a
format_date: include timezone in IntlDateFormatter object
...
@see https://www.php.net/manual/en/intldateformatter.format.php
> If a DateTime or an IntlCalendar object is passed, its timezone is not considered. The object will be formatted using the formaterʼs configured timezone. If one wants to use the timezone of the object to be formatted, IntlDateFormatter::setTimeZone() must be called before with the objectʼs timezone.
2021-01-19 15:03:28 +01:00
ArthurHoaro
6b76ce6f62
curl usage: support HTTP/2 response code header
2021-01-19 15:03:18 +01:00
ArthurHoaro
baac4388b1
Merge pull request #1693 from ArthurHoaro/fix/bulk-add-delete
...
Fix: bulk add - delete existing link
2021-01-19 14:31:15 +01:00
ArthurHoaro
5b5d22a3df
Merge pull request #1691 from ArthurHoaro/fix/bulk-add-js-checkboxes
...
Fix: bulk add - private status
2021-01-19 14:30:40 +01:00
ArthurHoaro
3d6278e86f
Fix: bulk add redirection with ending slash
...
Otherwise cookie may not be store under the right subfolder, thus generating tokens in the wrong session file.
Fixes #1690
2021-01-19 14:26:04 +01:00
ArthurHoaro
93175b6e9d
Fix: bulk add - delete existing link
...
Do not send redirect response in bookmark delete controller if the request comes from bulk creation page.
Fixes #1683
2021-01-19 12:54:34 +01:00
ArthurHoaro
47ac77adbb
Fix: bulk add - private status
...
Use 'checked' attribute instead of 'value' for checkboxes. 'value' always returns 'on'.
Fixes #1684
2021-01-19 11:55:50 +01:00
ArthurHoaro
ffa39719a1
Merge pull request #1689 from ArthurHoaro/fix/bulk-add-html-label
...
Fix: bulk add - use unique HTML ID
2021-01-19 11:48:38 +01:00
ArthurHoaro
31c4be2b60
Merge pull request #1688 from ArthurHoaro/fix/bulk-single-url
2021-01-19 11:48:29 +01:00
ArthurHoaro
2fbdb7d657
Merge pull request #1687 from ArthurHoaro/feature/template-name
...
Inject current template name in templates
2021-01-19 11:48:18 +01:00
ArthurHoaro
8fbc29de02
Fix: bulk add - use unique HTML ID
...
Use links loop ID to make ID unique and fix browser labels behaviour.
Fixes #1685
2021-01-19 11:35:42 +01:00
ArthurHoaro
9e55beebfd
Fix: error when using bulk shaare with a single URL
...
Make sure that header metadata associated with permalink is only used in linklist template.
Fixes #1686
2021-01-19 11:18:56 +01:00
ArthurHoaro
ccd1862d5f
Inject current template name in templates
...
Use either legacy key _PAGE_ or new 'template' one.
Related to https://github.com/kalvn/Shaarli-Material/issues/118
2021-01-19 10:34:11 +01:00
nodiscc
544bbdaf83
Merge pull request #1675 from yudete/master
...
Update Japanese translations
2021-01-04 17:51:05 +00:00
yudete
bf02f8ba8e
Update Japanese translations
2021-01-04 18:55:03 +09:00
yude
e6754f2154
Merge pull request #2 from shaarli/master
...
Merge fork source
2021-01-04 18:51:10 +09:00
ArthurHoaro
ed4ee8f029
Merge pull request #1671 from ArthurHoaro/fix/plugin-colors-update
...
Fix default_colors plugin: update CSS file on color change
2021-01-03 11:43:54 +01:00
ArthurHoaro
20ba77a2dc
Merge pull request #1672 from ArthurHoaro/feature/api-parse-tags-string
2021-01-03 11:43:31 +01:00
ArthurHoaro
0640c1a6db
API: POST/PUT Link - properly parse tags string
...
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
2020-12-29 13:01:04 +01:00
ArthurHoaro
035a002edc
Fix default_colors plugin: update CSS file on color change
...
Last update of this plugin remove the save_plugin_parameters hook.
Fixes #1657
2020-12-29 11:59:14 +01:00
ArthurHoaro
fe58bdcd9e
Merge pull request #1664 from ArthurHoaro/fix/metadata-sync
...
Fix: synchronous metadata retrieval is failing in strict mode
2020-12-29 11:44:10 +01:00
ArthurHoaro
8ed5fbef8f
Merge pull request #1665 from ArthurHoaro/fix/metadata-regexes-2
...
Fix metadata extract regex (2)
2020-12-29 11:43:39 +01:00
ArthurHoaro
b01b3b83a7
Merge pull request #1666 from ArthurHoaro/feature/daily-rss-cache
...
Daily RSS Cache: invalidate cache base on the date
2020-12-29 11:43:00 +01:00
ArthurHoaro
f2e309b67d
Merge pull request #1669 from leyrer/master
...
Typo fix line 76 'Authentication' -> Authorization
2020-12-29 00:36:22 +01:00
leyrer
151fa1e450
Typo fix line 76 'Authentication' -> Authorization
2020-12-26 13:45:01 +01:00
ArthurHoaro
f00600a283
Daily RSS Cache: invalidate cache base on the date
...
Currently the cache is only invalidated when the datastore changes, while it should rely on selected period of time.
Fixes #1659
2020-12-17 15:48:03 +01:00
ArthurHoaro
88a8e284b2
Fix metadata extract regex (2)
...
Reference: https://stackoverflow.com/questions/8055727/negating-a-backreference-in-regular-expressions
Fixes #1656
2020-12-17 13:56:24 +01:00
ArthurHoaro
ab4c170672
Merge pull request #1644 from ArthurHoaro/fix/daily-rss
...
Daily RSS - Remove relative description (today, yesterday)
2020-12-16 16:04:53 +01:00
ArthurHoaro
bd11879018
Merge pull request #1645 from ArthurHoaro/feature/plugin-register-route
...
Plugin system: allow plugins to provide custom routes
2020-12-16 16:04:15 +01:00
ArthurHoaro
8f423eb11c
Merge pull request #1658 from dougbreaux/master
...
newer alpine (for newer PHP) and apk upgrade #1655
2020-12-16 16:02:14 +01:00
ArthurHoaro
b1d78519a8
Merge pull request #1652 from ArthurHoaro/fix/failing-mutex
...
Fix: soft fail if the mutex is not working
2020-12-16 16:01:32 +01:00
ArthurHoaro
3d5f05052f
Merge pull request #1661 from shaarli/dependabot/npm_and_yarn/ini-1.3.7
2020-12-16 16:00:35 +01:00
ArthurHoaro
51dea3b87e
Merge pull request #1660 from e2jk/patch-1
...
Upgrade alpine from 3.8 to 3.10 in armhf Dockerfile
2020-12-16 15:59:46 +01:00
ArthurHoaro
6a3a78d023
Fix: synchronous metadata retrieval is failing in strict mode
...
Metadata can now only be string or null.
Fixes #1653
2020-12-16 14:04:32 +01:00
dependabot[bot]
5b74c67461
Bump ini from 1.3.5 to 1.3.7
...
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>
2020-12-11 03:39:18 +00:00
Doug Breaux
2a20e67f76
remove apk upgrade #1655
2020-12-06 22:02:34 -06:00
Emilien Klein
ee07df357b
Upgrade alpine from 3.8 to 3.10 in armhf Dockerfile
...
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 .
2020-12-06 21:02:39 +01:00
Doug Breaux
495545f2f0
newer alpine (for newer PHP) and apk upgrade #1655
2020-12-04 16:12:39 -06:00
ArthurHoaro
8a6b7e96b7
Fix: soft fail if the mutex is not working
...
And display the error in server admin page
Fixes #1650
2020-11-24 13:39:35 +01:00
ArthurHoaro
e4b8330e45
Merge pull request #1648 from nodiscc/fix-ConfigureControllerTest
...
ConfigureControllerTest.php: update expected languages number to 6
2020-11-24 13:39:09 +01:00
ArthurHoaro
05c616f7a0
chmod -x russian translation file
2020-11-24 13:35:37 +01:00
nodiscc
70507b8603
ConfigureControllerTest.php: update expected languages number to 6
...
Following the addition of russian translations in #1642
Fixes https://github.com/shaarli/Shaarli/issues/1647
2020-11-22 11:06:14 +00:00
Keith Carangelo
b2eb77e1f7
Merge branch 'master' of github.com:Shaarli/Shaarli
2020-11-17 09:31:12 -05:00
ArthurHoaro
51580efbff
Merge pull request #1642 from prog-it/master
2020-11-17 13:13:49 +01:00
ArthurHoaro
da950241f3
Merge pull request #1639 from ArthurHoaro/doc/fix-release
...
Doc: fix missing merge on Release page
2020-11-15 12:48:16 +01:00
ArthurHoaro
a6e9c08499
Plugin system: allow plugins to provide custom routes
...
- 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
2020-11-15 12:41:43 +01:00
ArthurHoaro
2883c6d0a7
Daily RSS - Remove relative description (today, yesterday)
...
It is not useful for the RSS feed, as every new entry will be 'yesterday', and it requires an update the next day.
2020-11-15 12:05:08 +01:00
prog-it
1595d0e2b3
Add russian language file
2020-11-15 06:16:55 +05:00
prog-it
150f2a0f24
Add russian language selection
2020-11-14 07:45:10 +05:00
ArthurHoaro
831e974ea5
Doc: fix missing merge on Release page
2020-11-12 13:16:20 +01:00
ArthurHoaro
6f9e0609f4
Update badge versions
2020-11-12 13:05:19 +01:00
ArthurHoaro
a6935feb22
Merge pull request #1638 from ArthurHoaro/changelog/v0.12.1
...
CHANGELOG v0.12.1
2020-11-12 13:00:45 +01:00
ArthurHoaro
5a09b5fffd
CHANGELOG v0.12.1
2020-11-12 12:56:22 +01:00
ArthurHoaro
302662797c
Merge pull request #1635 from ArthurHoaro/feature/phpcs
2020-11-10 10:46:04 +01:00
ArthurHoaro
c94c32d1a3
Merge pull request #1637 from ArthurHoaro/fix/server-admin-update-check
...
Server admin: do not retrieve latest version without update_check
2020-11-10 10:45:50 +01:00
ArthurHoaro
39b75ea983
Merge pull request #1636 from ArthurHoaro/fix/vintage-async-metadata
2020-11-10 10:45:22 +01:00
ArthurHoaro
7e78237fc9
Merge pull request #1630 from ArthurHoaro/fix/apache-config
...
Reviewed Apache configuration
2020-11-10 10:45:05 +01:00
ArthurHoaro
325cc8adad
Merge pull request #1634 from ArthurHoaro/fix/docker-compose
...
Docker-compose: fix SSL certificate + add parameter for Docker tag
2020-11-10 10:44:50 +01:00
ArthurHoaro
8affa22431
Merge pull request #1628 from ArthurHoaro/fix/nginx-config
...
Reviewed nginx configuration
2020-11-10 10:44:29 +01:00
ArthurHoaro
80c8889bfe
Server admin: do not retrieve latest version without update_check
...
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
2020-11-09 14:42:30 +01:00
ArthurHoaro
85c09fe379
Vintage theme: fix routes in daily page
2020-11-09 12:46:43 +01:00
ArthurHoaro
336f15e8ba
Vintage theme: display global messages
2020-11-09 12:46:24 +01:00
ArthurHoaro
1e49a65a2a
Vintage theme: support async metadata retrieval
2020-11-09 12:36:04 +01:00
ArthurHoaro
2f4df75304
Update Static Analysis documentation
2020-11-09 12:17:40 +01:00
ArthurHoaro
5c856a6923
Run PHPCS during Travis CI checks + disable xdebug
2020-11-09 10:56:49 +01:00
ArthurHoaro
b99e00f7cd
Manually fix remaining PHPCS errors
2020-11-09 10:56:49 +01:00
ArthurHoaro
53054b2bf6
Apply PHP Code Beautifier on source code for linter automatic fixes
2020-11-09 10:56:24 +01:00
ArthurHoaro
b7c50a58de
Docker-compose: fix SSL certificate + add parameter for Docker tag
...
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
2020-11-09 10:36:13 +01:00
ArthurHoaro
e09bb93e18
Coding style: switch PHPCS to PSR12
...
Also temporarily ignore test code (one step at a time).
Reference: https://www.php-fig.org/psr/psr-12/
Related to #95
2020-11-08 14:09:15 +01:00
ArthurHoaro
d9d71b10c3
Merge pull request #1621 from ArthurHoaro/feature/tag-separators
2020-11-08 14:07:33 +01:00
ArthurHoaro
c51d65238b
Merge pull request #1629 from ArthurHoaro/fix/demo-vimeo
...
Replace vimeo link in demo bookmarks due to IP ban on the demo instance
2020-11-08 14:06:45 +01:00
ArthurHoaro
8d8fa898ab
Merge pull request #1631 from ArthurHoaro/fix/html-extract-quote-fix
...
Fix an issue truncating extracted metadata content
2020-11-08 14:06:38 +01:00
ArthurHoaro
00d3dd91ef
Fix an issue truncating extracted metadata content
...
Previous regex forced the selection to stop at either the first single or double quote found, regardless of the opening quote. Using '\1', we're sure to wait for the proper quote before stopping the capture.
2020-11-08 13:54:39 +01:00
ArthurHoaro
8a9796014c
Reviewed Apache configuration
...
(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 .
2020-11-08 13:13:13 +01:00
ArthurHoaro
9952de2fe0
Replace vimeo link in demo bookmarks due to IP ban on the demo instance
...
Fixes #1148
2020-11-08 11:58:17 +01:00
ArthurHoaro
ce901a5828
Reviewed nginx configuration
...
Both in documentation and Docker image.
For security purpose, it no longer allow to access static files through
the main nginx *location*. Static files are served if their extension
matches the whitelist.
As a side effect, we no longer need specific restrictions, and
therefore it fixes the nginx part of #1608 .
2020-11-07 14:27:49 +01:00
ArthurHoaro
8c5f6c786d
Merge pull request #1627 from ArthurHoaro/fix/unexpected-error
...
Display error details even with dev.debug set to false
2020-11-06 10:00:03 +01:00
ArthurHoaro
cfdd209440
Display error details even with dev.debug set to false
...
It makes more sense to display the error even if it's unexpected.
Only for logged in users.
Fixes #1606
2020-11-05 19:55:17 +01:00
ArthurHoaro
8a1ce1da15
ESLint
2020-11-05 19:14:17 +01:00
ArthurHoaro
df9aac5b64
Tags separator: vintage theme compatibility
2020-11-05 18:16:52 +01:00
ArthurHoaro
67339338af
Bump shaarli/netscape-bookmark-parser dependency version
2020-11-05 17:54:42 +01:00
ArthurHoaro
b3bd8c3e8d
Feature: support any tag separator
...
So it allows to have multiple words tags.
Breaking change: commas ',' are no longer a default separator.
Fixes #594
2020-11-05 17:54:42 +01:00
ArthurHoaro
48df9f45b8
Merge pull request #1626 from ArthurHoaro/fix/vintage-webpack
...
Webpack: fix vintage theme images include
2020-11-05 17:54:14 +01:00
ArthurHoaro
c61d8a85b7
Webpack: fix vintage theme images include
2020-11-05 17:44:33 +01:00
ArthurHoaro
a5a4fb1793
Merge pull request #1625 from ArthurHoaro/fix/delete-confirm-popup
...
Fix confirm popup before bookmark deletion
2020-11-05 16:58:24 +01:00
ArthurHoaro
5f987a64d8
Fix confirm popup before bookmark deletion
...
Regression introduced by #1596
Fixes #1623
2020-11-05 16:49:00 +01:00
ArthurHoaro
8bbf57a2d0
Merge pull request #1620 from ArthurHoaro/feature/no-auto-link
...
Default formatter: add a setting to disable auto-linkification
2020-11-05 16:47:17 +01:00
ArthurHoaro
47d1581850
Merge pull request #1624 from ArthurHoaro/fix/delete-redirect
...
Fix: redirect to referrer after bookmark deletion
2020-11-05 16:36:34 +01:00
ArthurHoaro
a4a59e183e
Merge pull request #1619 from ArthurHoaro/fix/translations
...
Fix French translation
2020-11-05 16:36:04 +01:00
ArthurHoaro
330ac859fb
Fix: redirect to referrer after bookmark deletion
...
Except if the referer points to a permalink (which has been deleted).
Fixes #1622
2020-11-05 16:14:27 +01:00
ArthurHoaro
740b32b520
Default formatter: add a setting to disable auto-linkification
...
+ update documentation
+ single parameter for both URL and hashtags
Fixes #1094
2020-11-03 12:43:35 +01:00
ArthurHoaro
1a94978e44
Fix French translation
...
2 missing key + 1 wrong translation
Fixes #1571
2020-11-03 11:58:02 +01:00
ArthurHoaro
38b55fbf3d
Merge pull request #1610 from ArthurHoaro/fix/wallabag
...
Plugin wallabag: minor improvements
2020-11-03 11:46:54 +01:00
ArthurHoaro
b7ec15790e
Merge pull request #1618 from ArthurHoaro/fix/ut-daily-date-1-digit
...
UT: fix formatting issue when the current day has a single digit
2020-11-02 19:42:20 +01:00
ArthurHoaro
b862705947
UT: fix formatting issue when the current day has a single digit
2020-11-02 19:32:48 +01:00
ArthurHoaro
dff039092d
Merge pull request #1616 from dimtion/fix-api-redirect
...
API postLink: change relative path to absolute path
2020-10-29 16:03:07 +01:00
Loïc Carr
b37ca79072
postLink: change relative path to absolute path
2020-10-28 20:08:18 -07:00
ArthurHoaro
14c9370b4f
Merge pull request #1615 from ArthurHoaro/hotfix/save-redirect
...
Remove unnecessary escape of referer
2020-10-28 14:18:25 +01:00
ArthurHoaro
114a43b20e
Remove unnecessary escape of referer
...
Fixes #1611
2020-10-28 14:13:50 +01:00
ArthurHoaro
1ca7ddd76b
Merge pull request #1614 from ArthurHoaro/hotfix/php71-compat-login
...
Fix compatiliby issue on login with PHP 7.1
2020-10-28 14:08:08 +01:00
ArthurHoaro
d3f6d52525
Fix compatiliby issue on login with PHP 7.1
...
session_set_cookie_params does not return any value in PHP 7.1
2020-10-28 14:02:08 +01:00
ArthurHoaro
d2bb40cc7c
Merge pull request #1613 from ArthurHoaro/hotfix/404-not-authorized
...
Raise 404 error instead of 500 if permalink access is denied
2020-10-28 13:22:40 +01:00
ArthurHoaro
156061d445
Raise 404 error instead of 500 if permalink access is denied
2020-10-28 13:16:18 +01:00
ArthurHoaro
06734af130
Merge pull request #1612 from ArthurHoaro/hotfix/simplexml
...
Include php-simplexml in Docker image
2020-10-28 12:30:19 +01:00
ArthurHoaro
ff9686066e
Include php-simplexml in Docker image
...
Composer 2.0 is now blocking everything if requirements are not met
2020-10-28 12:25:52 +01:00
ArthurHoaro
358cb20bcb
Plugin wallabag: minor improvements
...
- hide the wallabag icon for logged out users
- set API V2 as default parameter
- fix URL encoding issue with special chars
Fixes #1147
2020-10-27 21:03:29 +01:00
ArthurHoaro
b2b5ef3122
Merge pull request #1587 from ArthurHoaro/feature/batch-bookmark-creation
2020-10-27 20:18:18 +01:00
ArthurHoaro
34c8f558e5
Bulk creation: ignore blank lines
2020-10-27 20:11:30 +01:00
ArthurHoaro
6a71675887
Bulk creation: displays a progress bar when saving all displayed forms
2020-10-27 20:11:30 +01:00
ArthurHoaro
c609944cb9
Bulk creation: improve performances using memoization
...
Reduced additional processing time per links from ~40ms to ~5ms
2020-10-27 20:11:30 +01:00
ArthurHoaro
25e90d8d75
Bulk creation: fix private status based on the first form
2020-10-27 20:11:30 +01:00
ArthurHoaro
5d8de7587d
Feature: bulk creation of bookmarks
...
This changes creates a new form in addlink page allowing to create
multiple bookmarks at once more easily. It focuses on re-using as much
existing code and template component as possible.
These changes includes:
- a new form in addlink (hidden behind a button by default),
containing a text area for URL, and tags/private status to apply to
created links
- this form displays a new template called editlink.batch, itself
including editlink template multiple times
- User interation in this new templates are handle by a new JS script
(shaare-batch.js) making AJAX requests, and therefore does not need page
reloading
- ManageShaareController has been split into 3 distinct controllers:
+ ShaareAdd: displays addlink template
+ ShaareManage: various operation applied on existing shaares
(change visibility, pin, deletion, etc.)
+ ShaarePublish: handles creation/edit forms and saving Shaare's
form
- Updated translations
Fixes #137
2020-10-27 20:11:30 +01:00
ArthurHoaro
b8e5a253ab
Merge pull request #1595 from ArthurHoaro/feature/daily-period
2020-10-27 19:59:28 +01:00
ArthurHoaro
54afb1d6f6
Fix rebase issue
2020-10-27 19:55:29 +01:00
ArthurHoaro
36e6d88dbf
Feature: add weekly and monthly view/RSS feed for daily page
...
- Heavy refactoring of DailyController
- Add a banner like in tag cloud to display monthly and weekly links
- Translations: t() now supports variables with optional first letter
uppercase
Fixes #160
2020-10-27 19:45:02 +01:00
ArthurHoaro
c2cd15dac2
Move utils classes to Shaarli\Helper namespace and folder
2020-10-27 19:41:38 +01:00
ArthurHoaro
977db7eabc
Merge pull request #1597 from ArthurHoaro/feature/share-private-bookmark
...
Feature: Share private bookmarks using a URL containing a private key
2020-10-27 19:40:57 +01:00
ArthurHoaro
9c04921a8c
Feature: Share private bookmarks using a URL containing a private key
...
- Add a share link next to « Permalink » in linklist (using share icon
from fork awesome)
- This link generates a private key associated to the bookmark
- Accessing the bookmark while logged out with the proper key will
display it
Fixes #475
2020-10-27 19:32:57 +01:00
ArthurHoaro
e6215a2ad9
Merge pull request #1604 from ArthurHoaro/feature/server-admin-page
...
Feature: add a Server administration page
2020-10-27 19:29:43 +01:00
ArthurHoaro
034c1ce526
Merge pull request #1609 from GaneshKandu/patch-1
2020-10-27 19:27:06 +01:00
Ganesh Kandu
e69e3fef7b
Removed PHP_EOL
...
just replace "*/ ?>" and "<?php /*" with '' and "Trim" output whatever is EOF will trimmed out.
2020-10-27 18:08:14 +05:30
Ganesh Kandu
42a72c02fa
Replaced PHP_EOL to "\n"
...
i was getting error
```
An error occurred while parsing JSON configuration file (data/config.json.php): error code #4
➜ Syntax error
Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com.
```
after debug i found
```php
$data = str_replace(self::getPhpHeaders(), '', $data);
$data = str_replace(self::getPhpSuffix(), '', $data);
```
doesn't removing php header and php suffix
cause of this issue was PHP_EOL represents the endline character for the current system. if my ```config.json.php``` was encoded with unix ( LF ) and php running on windows windows encoding ( CR LF ) is not same as unix encoding ( LF ) so ```str_replace``` doesn't replace strin then it causes issue.
2020-10-27 17:42:35 +05:30
ArthurHoaro
820cae27cf
Merge pull request #1601 from ArthurHoaro/feature/psr3
2020-10-24 11:37:29 +02:00
Keith Carangelo
49da2ffbce
Ignore plugins except for those installed by default
2020-10-23 09:49:40 -04:00
ArthurHoaro
8f6e3d51cc
Merge pull request #1605 from ArthurHoaro/fix/nginx-doc-rule
...
Fix: nginx - add rule to disable url-rewriting for the docs
2020-10-21 15:55:39 +02:00
ArthurHoaro
2f87bfdc69
Fix: nginx - add rule to disable url-rewriting for the docs
...
Related to #1603
2020-10-21 15:23:30 +02:00
ArthurHoaro
0cf76ccb47
Feature: add a Server administration page
...
It contains mostly read only information about the current Shaarli instance,
PHP version, extensions, file and folder permissions, etc.
Also action buttons to clear the cache or sync thumbnails.
Part of the content of this page is also displayed on the install page,
to check server requirement before installing Shaarli config file.
Fixes #40
Fixes #185
2020-10-21 15:06:47 +02:00
ArthurHoaro
3445443349
Merge pull request #1602 from ArthurHoaro/fix/root-exceptions
...
Dislay an error if an exception occurs in the error handler
2020-10-20 21:37:20 +02:00
ArthurHoaro
5c06c0870f
Dislay an error if an exception occurs in the error handler
...
Related to #1598
2020-10-20 18:32:46 +02:00
ArthurHoaro
b38a1b0209
Use PSR-3 logger for login attempts
...
Fixes #1122
2020-10-20 11:47:07 +02:00
ArthurHoaro
ca5e98da48
Composer: explicitly import katzgrau/klogger (already included in netscape-bookmark-parser)
2020-10-20 10:39:58 +02:00
ArthurHoaro
d8030c8155
Merge pull request #1584 from ArthurHoaro/feature/async-thumbnail-retrieval
...
Asynchronous retrieval of bookmark's thumbnails
2020-10-20 10:30:02 +02:00
ArthurHoaro
21e72da9ee
Asynchronous retrieval of bookmark's thumbnails
...
This feature is based general.enable_async_metadata setting and works with existing metadata.js file.
The script is compatible with any template:
- the thumbnail div bloc must have attribute
- the bookmark bloc must have attribute with the bookmark ID as value
Fixes #1564
2020-10-20 10:15:18 +02:00
ArthurHoaro
9b3c1270bc
Merge pull request #1567 from ArthurHoaro/feature/async-title-retrieval
2020-10-20 10:14:28 +02:00
ArthurHoaro
552c3b942a
Merge pull request #1600 from yudete/master
2020-10-20 10:08:03 +02:00
yudete
5256b42870
Update translations (Japanese)
2020-10-19 10:25:51 +09:00
yudete
52e27a96a4
Update translations (Japanese)
2020-10-19 10:17:35 +09:00
ArthurHoaro
6866ed766f
Merge pull request #1588 from ArthurHoaro/feature/search-highlight
2020-10-16 20:40:49 +02:00
ArthurHoaro
f1a148ab92
add search highlight unit tests
2020-10-16 20:31:49 +02:00
ArthurHoaro
4e3875c0ce
Feature: highlight fulltext search results
...
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
2020-10-16 20:31:12 +02:00
ArthurHoaro
64cac25626
Merge pull request #1596 from ArthurHoaro/feature/better-rename-tag
...
Improve Manage tags page
2020-10-16 20:15:19 +02:00
ArthurHoaro
3cb4e8a44c
Improve Manage tags page
...
Fixes #1125
2020-10-16 20:03:25 +02:00
ArthurHoaro
81c9df1363
Merge pull request #1593 from ArthurHoaro/fix/no-url-rewriting
2020-10-16 19:26:03 +02:00
ArthurHoaro
7836ed9b2e
Doc: typo
2020-10-16 19:20:45 +02:00
ArthurHoaro
3adbdc2a83
Inject ROOT_PATH in plugin instead of regenerating it everywhere
2020-10-16 13:06:06 +02:00
ArthurHoaro
7f5250421b
Support using Shaarli without URL rewriting
...
- 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
2020-10-16 12:47:11 +02:00
ArthurHoaro
cd2878edee
Merge pull request #1592 from ArthurHoaro/fix/strict-type-daily
...
Strict types: fix an issue in daily where the date could be an int
2020-10-16 12:16:54 +02:00
ArthurHoaro
4b3aca6623
Strict types: fix an issue in daily where the date could be an int
2020-10-16 12:04:46 +02:00
ArthurHoaro
5334090be0
Improve metadata retrieval (performances and accuracy)
...
- Use dedicated function to download headers to avoid apply multiple regexps on headers
- Also try to extract title from meta tags
2020-10-15 11:36:56 +02:00
ArthurHoaro
4cf3564d28
Add a setting to retrieve bookmark metadata asynchrounously
...
- There is a new standalone script (metadata.js) which requests
a new controller to get bookmark metadata and fill the form async
- This feature is enabled with the new setting: general.enable_async_metadata
(enabled by default)
- general.retrieve_description is now enabled by default
- A small rotating loader animation has a been added to bookmark inputs
when metadata is being retrieved (default template)
- Custom JS htmlentities has been removed and mathiasbynens/he
library is used instead
Fixes #1563
2020-10-15 09:08:46 +02:00
ArthurHoaro
f34554c6c2
Merge pull request #1591 from ArthurHoaro/doc/server-conf-php-v
...
Doc: add PHP 7.4 and 8.0 as supported version
2020-10-15 09:06:27 +02:00
ArthurHoaro
ec45749187
Doc: add PHP 7.4 and 8.0 as supported version
2020-10-15 09:01:41 +02:00
ArthurHoaro
4a26974a4b
Merge pull request #1583 from ArthurHoaro/feature/bookmark-strict-types
...
Add strict types for bookmarks management
2020-10-13 13:56:07 +02:00
ArthurHoaro
efb7d21b52
Add strict types for bookmarks management
...
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.
2020-10-13 13:50:11 +02:00
ArthurHoaro
29c31b7ec6
Merge pull request #1570 from ArthurHoaro/feature/datastore-mutex
...
Add mutex on datastore I/O operations
2020-10-13 13:30:37 +02:00
ArthurHoaro
fd1ddad98d
Add mutex on datastore I/O operations
...
To make sure that there is no concurrent operation on the datastore file.
Fixes #1132
2020-10-13 12:38:19 +02:00
ArthurHoaro
458b6b9918
Merge pull request #1540 from ArthurHoaro/fix/metadata-regexes
...
Improve regex to extract HTML metadata (title, description, etc.)
2020-10-13 12:26:55 +02:00
ArthurHoaro
543b16b4f4
Merge pull request #1525 from ArthurHoaro/feature/rest-api-bookmark-dates
...
REST API: allow override of creation and update dates
2020-10-13 12:26:01 +02:00
ArthurHoaro
8f269b49d7
Merge pull request #1521 from ArthurHoaro/feature/markdown-extra
...
Add Markdown Extra formatter
2020-10-13 12:25:12 +02:00
ArthurHoaro
8fabcd0224
Add Markdown Extra formatter
...
Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra )
Also sort dependencies alphabetically.
Fixes #1169
2020-10-13 12:20:34 +02:00
ArthurHoaro
84045ffbb1
Update badge versions
2020-10-13 12:01:19 +02:00
ArthurHoaro
64152387d6
Merge pull request #1589 from ArthurHoaro/changelog/v0.12.0
...
CHANGELOG and AUTHORS for v0.12.0
2020-10-13 11:49:07 +02:00
ArthurHoaro
2d015d79b7
CHANGELOG and AUTHORS for v0.12.0
2020-10-13 11:44:31 +02:00
ArthurHoaro
3020310dd0
Merge pull request #1586 from ArthurHoaro/changelog/v0.12.0-beta-2
...
CHANGELOG and AUTHORS for v0.12.0-beta-2
2020-10-08 08:54:19 +02:00
ArthurHoaro
b028f0869f
CHANGELOG and AUTHORS for v0.12.0-beta-2
2020-10-08 08:41:30 +02:00
ArthurHoaro
7f1bb5553b
Merge pull request #1585 from ArthurHoaro/fix/xss-and-tag-search
...
Security: fix multiple XSS vulnerabilities + fix search tags with special chars
2020-10-08 08:19:06 +02:00
ArthurHoaro
72fbbcd679
Security: fix multiple XSS vulnerabilities + fix search tags with special chars
...
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.
2020-10-06 17:30:18 +02:00
nodiscc
df25b28dcd
Merge pull request #1579 from sprak3000/issue-1437-tag-sort-buttons-ui
...
Fix #1437 - Make tag cloud/list views buttons more obvious
2020-10-04 11:45:24 +00:00
nodiscc
fc4d1b6796
Merge pull request #1581 from nodiscc/compose-traefik-version
...
docker-compose.yml: pin traefik image to 1.7-alpine
2020-10-04 11:33:57 +00:00
nodiscc
bb176441cb
docker-compose.yml: pin traefik image to 1.7-alpine
...
- fixes https://github.com/shaarli/Shaarli/issues/1493
- https://hub.docker.com/_/traefik/
2020-10-03 14:35:06 +02:00
ArthurHoaro
7b18876361
Merge pull request #1575 from ArthurHoaro/feature/php8
2020-10-03 12:59:16 +02:00
ArthurHoaro
ee07b7283f
Merge pull request #1574 from stoeps13/hosting-fix
2020-10-03 12:59:01 +02:00
sprak3000
f4ea7cd563
Issue #1437 - Make tag cloud/list views buttons more obvious
...
This work alters the markup and CSS for the tag sort UI to match the button feel filters and links per page uses.
2020-10-02 14:06:02 -04:00
ArthurHoaro
1db2ebbd79
Merge pull request #1577 from ArthurHoaro/fix/edit-zero
...
Fix a bug preventing to edit bookmark with ID #0
2020-10-02 14:24:07 +02:00
ArthurHoaro
255b2264a1
Revert unrelated changes and add unit tests
2020-09-30 15:57:57 +02:00
ArthurHoaro
80a3efe116
Fix a bug preventing to edit bookmark with ID #0
2020-09-30 15:31:34 +02:00
Christoph Stoettner
25cb75552b
Fix identation
2020-09-30 12:29:54 +02:00
Christoph Stoettner
d8ef4a893f
Change to ->container->environment
2020-09-30 12:27:44 +02:00
ArthurHoaro
95158e7565
Merge pull request #1576 from ArthurHoaro/release/v0.12.0-beta-1/changelog
...
Update CHANGELOG and AUTHOR
2020-09-30 11:59:42 +02:00
ArthurHoaro
22e75f062d
Update CHANGELOG and AUTHOR
2020-09-30 11:55:51 +02:00
ArthurHoaro
c3fca560b6
Merge pull request #1569 from ArthurHoaro/fix/bad-encoding
...
Fix warning if the encoding retrieved from external headers is invalid
2020-09-30 11:35:57 +02:00
ArthurHoaro
769a28833b
Merge pull request #1566 from nodiscc/makefile-composer-install
...
doc/Makefile: remove references to composer update
2020-09-30 11:12:17 +02:00
ArthurHoaro
1ea09a1b8b
Fix warning if the encoding retrieved from external headers is invalid
...
Also fixed the regex to support this failing header: charset="utf-8"\r\n"
2020-09-30 11:11:19 +02:00
ArthurHoaro
d246e2c512
Use assertRegExp polyfill instead of regexMatches
2020-09-29 18:57:25 +02:00
ArthurHoaro
3a49307c3d
Ignore PHP deps when removing phpunit in PHP 8.0 environment
2020-09-29 18:57:25 +02:00
ArthurHoaro
d018755b45
Update composer dependencies from PHP 7.1
2020-09-29 18:57:25 +02:00
ArthurHoaro
f447edb73b
Fix missing @expectedException convertion
2020-09-29 18:57:25 +02:00
ArthurHoaro
ab58f25420
Compatibility with PHP 8
2020-09-29 18:57:22 +02:00
ArthurHoaro
a5a9cf23ac
Compatibility with PHPUnit 9
2020-09-29 18:57:20 +02:00
ArthurHoaro
2b7a7bc928
Run CI against PHP 8.0
2020-09-29 18:57:17 +02:00
Christoph Stoettner
676571dab9
Workaround for hoster (ionos)
...
The hoster writes the environment variable with bearer token to
REDIRECT_HTTP_AUTHORIZATION and needs to provide RewriteBase / to
.htaccess
2020-09-29 12:15:04 +02:00
ArthurHoaro
6cdca9562c
Merge pull request #1572 from ArthurHoaro/feature/php8
2020-09-29 11:36:27 +02:00
ArthurHoaro
b1baca99f2
Convert legacy PHPUnit @expected* to new ->expect*
...
Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
2020-09-27 14:09:55 +02:00
ArthurHoaro
8f60e1206e
Comply with PHPUnit V8: setup/teardown functions must return void
2020-09-26 15:08:39 +02:00
ArthurHoaro
24225f6332
tmp
2020-09-26 14:43:21 +02:00
ArthurHoaro
e011be0170
Travis CI: run composer update instead of install
...
And ignore PHP 7.1 platform requirement, in order to get matching version of PHPUnit
2020-09-26 14:33:27 +02:00
ArthurHoaro
d0ae1ba273
Merge pull request #1568 from ArthurHoaro/fix/vintage-linkdate
...
Fix undefined linkdate variable in vintage theme
2020-09-26 11:58:32 +02:00
ArthurHoaro
1cb5be5d0c
Fix undefined linkdate variable in vintage theme
...
Fixes #1371
2020-09-25 18:24:53 +02:00
ArthurHoaro
585fc700fa
Merge pull request #1560 from ArthurHoaro/fix/redirect-wrong-path
...
Fix invalid redirection using the path of an external domain
2020-09-25 10:59:51 +02:00
ArthurHoaro
85b972baf6
Merge pull request #1558 from ArthurHoaro/fix/plugins-base-path
...
Fix plugin base path in core plugins
2020-09-25 10:59:40 +02:00
ArthurHoaro
71eb87353c
Merge pull request #1565 from nodiscc/rm-makefile-summary
...
Makefile: remove static_analysis_summary from all: target
2020-09-25 10:57:25 +02:00
nodiscc
0f686afe11
doc/Makefile: remove references to composer update
...
- add make composer_dependencies_dev Makefile target and use this instead
- fix composer initial installation procedure
- fix php-xdebug install instructions
2020-09-24 21:51:28 +02:00
nodiscc
6ec24b3605
Makefile: remove static_analysis_summary from all: target
...
static_analysis_summary was removed in 37c9c6b#diff-b67911656ef5d18c4ae36cb6741b7965 but not from the all: target dependencies. Therefore running make all always fails.
fixes https://github.com/shaarli/Shaarli/issues/1459
2020-09-24 21:45:17 +02:00
ArthurHoaro
cdb96276c1
Merge pull request #1561 from ArthurHoaro/feature/front-deps-upgrade
2020-09-23 15:50:23 +02:00
ArthurHoaro
9192a48be3
Fix ESLint after dependency upgrade
2020-09-22 18:14:18 +02:00
ArthurHoaro
98325d646e
Bump NodeJS version on travis build
2020-09-22 17:57:54 +02:00
ArthurHoaro
96746d7165
Upgrade front end dependencies
...
Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones.
- Upgrade webpack from 3.x to 4.x
- Moved babel package to main repo
- Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin
- Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin
- Replaced deprecated node-sass with (dart) sass package
- Replaced deprecated sass-lint with stylelint (the rules might be a bit different
Related to #1531 : trivy doesn't raise any more issue
2020-09-22 17:51:42 +02:00
ArthurHoaro
abe033be85
Fix invalid redirection using the path of an external domain
...
Fixes #1554
2020-09-22 15:37:26 +02:00
ArthurHoaro
5baafe5001
Merge pull request #1559 from ArthurHoaro/fix/edit-redirect
...
Fix redirection to referer after editing a link
2020-09-22 14:15:13 +02:00
ArthurHoaro
98e7a59ca2
Merge pull request #1539 from ArthurHoaro/feature/manual-root-url
2020-09-22 14:08:54 +02:00
ArthurHoaro
2785d85e0a
Fix redirection to referer after editing a link
...
Fixes #1545
2020-09-22 14:04:10 +02:00
ArthurHoaro
76fe68d924
Fix plugin base path in core plugins
...
Also fix note check in archiveorg plugin, and regression on vintage template.
Documentation regarding relative path has been added.
Fixes #1548
2020-09-22 13:50:19 +02:00
ArthurHoaro
6f199ee489
Merge pull request #1556 from kcaran/apache_methods
2020-09-22 11:45:58 +02:00
Keith Carangelo
4488ea4bb9
Added PATCH to the allowed Apache request methods.
2020-09-14 15:32:51 -04:00
ArthurHoaro
0d930454a2
Merge pull request #1553 from ArthurHoaro/fix/404-page
...
Properly handle 404 errors
2020-09-12 21:41:58 +02:00
ArthurHoaro
4af591ff3c
Merge pull request #1551 from ArthurHoaro/fix/plugin-save-metadata
...
Plugins: do not save metadata along plugin parameters
2020-09-12 21:41:24 +02:00
ArthurHoaro
b93cfeba7b
Fix subfolder configuration in unit tests
2020-09-12 21:39:01 +02:00
ArthurHoaro
650a5f09cb
Add manual configuration for root URL
...
This new setting under 'general.root_url' allows to override automatic discovery of Shaarli instance's URL.
Fixes #1339
2020-09-12 21:39:01 +02:00
nodiscc
e809908f9e
Merge pull request #1389 from shaarli/doc-rework-setup
...
doc: rework installation/setup guides, general refactoring
2020-09-12 12:38:05 +00:00
ArthurHoaro
97870f3512
doc: Docker minor improvements
2020-09-12 14:31:45 +02:00
Immánuel!
68855686db
Add 2 plugins to the 3rd party plugin list
...
Besides adding 2 new plugins, also reordered the list by ABC and fixed some discrepancies in the details to restore balance in the force
2020-09-12 14:31:45 +02:00
nodiscc
a5e9f2d6c9
doc: nginx config: document ipv4 and ipv6 listen directives
2020-09-12 14:31:45 +02:00
nodiscc
61f0c4b679
doc: apache config: remove useless documentroot directive in HTTP-only virtualhost (only used for redirects)
2020-09-12 14:31:45 +02:00
nodiscc
f682f1b899
doc: serve configuration/reverse proxy: fix apache mod_md configuration, move reference links to their respective sections, shorten
2020-09-12 14:31:45 +02:00
nodiscc
083b28021a
doc: server configuration: fix apache restart command
2020-09-12 14:31:45 +02:00
nodiscc
19489e92d7
doc: server configuration: enable mod_headers
2020-09-12 14:31:45 +02:00
nodiscc
5eece37b0a
doc: server configuration: fix apache site config file name
2020-09-12 14:31:45 +02:00
nodiscc
d8847936d4
doc: server configuration: add reminder to change the example domain name
2020-09-12 14:31:45 +02:00
nodiscc
9417f1337e
doc: server configuration: add asciicast of server configuration procedure (asciinema)
2020-09-12 14:31:45 +02:00
nodiscc
1a19c921a9
doc: updagrde/migration: simplify permissions setup
2020-09-12 14:31:45 +02:00
nodiscc
78b5b44d8f
doc: installation: simplify permissions setup
2020-09-12 14:31:45 +02:00
nodiscc
ff2b5f5bd8
doc: docker: update docker-compose to 1.26.2
2020-09-12 14:31:45 +02:00
nodiscc
48b19a7014
doc: installation: bump version to 0.11.1
2020-09-12 14:31:45 +02:00
nodiscc
02117f7ea3
doc: reverse proxy: update HTTP->HTTPS redirect configuration, remove logging options
2020-09-12 14:31:45 +02:00
nodiscc
e21df1e729
doc: fail2Ban: add note about restarting fail2ban
2020-09-12 14:31:45 +02:00
nodiscc
f3ab261631
doc: apache: add example configuration for mod_md
2020-09-12 14:31:45 +02:00
nodiscc
38d66e1a40
doc: server configuration: apache: add note about mod_md
2020-09-12 14:31:45 +02:00
nodiscc
ecdae2237f
doc: server configuration: update apache configuration 2.2 -> 2.4
...
https://httpd.apache.org/docs/current/upgrading.html
2020-09-12 14:31:45 +02:00
nodiscc
45203c0bca
doc: Community-and-related-software.md: order plugins alphabetically
2020-09-12 14:31:45 +02:00
nodiscc
46e019a132
doc: plugins: remove doc about deprecated $GLOBALS['config']['ENABLED_PLUGINS'] array
2020-09-12 14:31:45 +02:00
nodiscc
78f319fa6b
doc: troubleshooting: add procedure to clear shaarli caches
2020-09-12 14:31:45 +02:00
nodiscc
6c4cae378e
doc: server configuration: remove apache logging options
...
see https://github.com/nodiscc/xsrv/blob/master/roles/apache/templates/etc_apache2_conf-available_logging.conf.j2 for an example server-wide logging configuration
2020-09-12 14:31:45 +02:00
nodiscc
1aeefe1088
doc: server configuration: formatting/add comment
2020-09-12 14:31:45 +02:00
nodiscc
e0fe33f90b
doc: server configuration: add note on required firewall/NAT for Let's Encrypt certificates
2020-09-12 14:31:45 +02:00
Lucas Cimon
b6c9a2db30
Removing dead link in doc
...
As it currently redirects to https://www.lgblog.fr
2020-09-12 14:31:45 +02:00
nodiscc
5cacf290f0
doc: document dev.debug configuration etting
...
ref. https://github.com/shaarli/Shaarli/pull/779
2020-09-12 14:31:45 +02:00
owen bell
56ae25f11f
add shaarli-default-dark to the themes list
2020-09-12 14:31:45 +02:00
Lucas Cimon
f5afa87c38
Added links to doc section "Articles and social media discussions"
2020-09-12 14:31:45 +02:00
nodiscc
dfe14f264b
doc: server configuration: php requirements: add php-simplexml
...
ref. https://github.com/shaarli/Shaarli/pull/1476
2020-09-12 14:31:45 +02:00
nodiscc
74c2ae4088
doc: Community-and-related-software: add shaarli-webhooks plugin
2020-09-12 14:31:45 +02:00
nodiscc
328c215a8a
doc: add note about importing browser bookmarks folder structure to shaarli tags
...
ref. https://github.com/shaarli/Shaarli/issues/1449
2020-09-12 14:31:45 +02:00
nodiscc
dfed9b2dd5
doc: troubleshooting: improve compatibility with PHP 5.6/FTP upload limits
...
ref. https://github.com/shaarli/Shaarli/issues/1469
2020-09-12 14:31:45 +02:00
nodiscc
881bd96f15
doc: usage: active filters/clear search filters
2020-09-12 14:31:45 +02:00
nodiscc
778add2c9c
doc: nginx: add let's encrypt ssl configuration
2020-09-12 14:31:45 +02:00
nodiscc
538fb324a8
doc: nginx: reorder
2020-09-12 14:31:45 +02:00
nodiscc
c84d143047
apache: fix let's encrypt configuration , copy it directly from reference file
...
including options-ssl-apache.conf requires python3-certbot-apache which pulls a lot of dependencies
2020-09-12 14:31:45 +02:00
nodiscc
30255b794a
doc: php compatibility: add php 7.3
2020-09-12 14:31:45 +02:00
nodiscc
41b93897f3
server-configuration: move firewall/NAT requirements to Network section
2020-09-12 14:31:45 +02:00
nodiscc
6384447d1d
fix markdown syntax
2020-09-12 14:31:45 +02:00
nodiscc
a32e6665d0
formatting/emphasis
2020-09-12 14:31:45 +02:00
nodiscc
fe007f94e4
doc: docker.md: fix stray code block
2020-09-12 14:31:45 +02:00
nodiscc
91a21c2729
**General rewording, proof-reading, deduplication, shortening, reordering, simplification, cleanup/formatting/standardization**
...
- standardize page names, rework documentation structure, update TOC
- use same example paths everywhere
- level 1 titles on all pages
- fix broken links
- .md suffix on all page links (works both from readthedocs and github repository views)
**Server:**
A full and concise installation guide with examples is a frequent request. The documentation should provide such a guide for basic installation needs, while explaining alternative/advanced configuration at the end. Links to reference guides and documentation should be used more frequently to avoid recommending an outdated or excessively complex configuration.
- server: move most server-related info to server-configuration.md, cleanup/shorten
- server: update list of php dependencies/libraries, link to composer.json
- server: installation: support 3 install methods (from release zip, from sources, using docker)
- server: installation: use rsync instead of mv as mv results will change depending of taget directory already existing or not
- server: add example/basic usage of certbot
- server, upgrade, installation: update file permissions setup, use sudo for upgrade operations in webserver document root
- server: apache: add comments to configuration, fix and factorize file permissions setup, set cache-control header, deny access to dotfiles, add missing apache config steps, add http->https redirect example
- server: nginx: refactor nginx configuration, add comments, DO log access to denied/protected files
- server: add links to MDN for x-forwarded-* http headers explanation, cleanup/clarify robots.txt and crawlers section
- server: bump file upload size limit to 100MB we have reports of bookmark exports weighing +40MB - i have a 13MB one here
- server: simplify phpinfo documentation
- server: move backup and restore information to dedicated page
- docker: move all docker docs to Docker.md, simplify/ docker setup, add docker-compose.yml example, replace docker-101 with docker cheatsheet
- troubleshooting: move all troubleshooting documentation to troubleshooting.md
**Usage:**
- index: add getting started section on index page
- features/usage: move all usage-related documentation to usage.md, add links from the main feature list to corresponding usage docs, clarify/reword features list
- shaarli configuration: add note about configuring from web interface
**Removed:**
- remove obsolete/orphan images
- remove obsolete shaarchiver example
- remove outdated "decode datastore content" snippet
**Development:**
- development: move development-related docs (static analysis, CI, unit tests, 3rd party libs, link structure/directory, guidelines, security....) to dev/ directory
- development: Merge several pages to development.md
- **Breaking change?:** remove mentions of 'stable' branch, switch to new branch/release model (master=latest commit, release=latest tag)
- **Breaking change?:** refer to base sharing unit as "Shaare" everywhere (TODO: reflect changes in the code?) doc: update featues list/link to usage.md for details
- development: directory structure: add note about required file permissions
- .travis-ci.yml: add comments
- .htaccess: add comment
2020-09-12 14:31:45 +02:00
ArthurHoaro
4ff703e369
Plugins: do not save metadata along plugin parameters
...
Also prevent the token to be saved.
Fixes #1550
2020-09-12 13:29:34 +02:00
ArthurHoaro
d52ab0b1e9
Properly handle 404 errors
...
Use 404 template instead of default Slim error page if the route is not found.
Fixes #827
2020-09-12 12:42:19 +02:00
ArthurHoaro
6128ab6a55
Merge pull request #1552 from ArthurHoaro/feature/better-initializer
2020-09-12 12:14:18 +02:00
ArthurHoaro
da7acb9830
Improve default bookmarks after install
...
Used @nodiscc suggestion in #1148 (slightly edited).
It provides a description of what Shaarli does, Markdown rendering demo, and a thumbnail link.
Fixes #1148
2020-09-10 16:29:17 +02:00
ArthurHoaro
e2dff28b44
Merge pull request #1547 from ArthurHoaro/fix/daily-visibility
...
Fix visibility issue on daily page
2020-09-06 14:16:08 +02:00
ArthurHoaro
949a095310
Merge pull request #1538 from ArthurHoaro/feature/plugins-bookmark-service
...
Inject BookmarkServiceInterface in plugins data
2020-09-06 14:13:16 +02:00
ArthurHoaro
27ddfec3c3
Fix visibility issue on daily page
...
This filter (links by day) didn't apply any visibility parameter.
Fixes #1543
2020-09-06 14:11:02 +02:00
ArthurHoaro
a5dd7d58d2
Merge pull request #1546 from immanuelfodor/patch-2
...
Fix broken css/js files on individual shaare pages
2020-09-06 13:38:31 +02:00
Immánuel!
707a1d237a
Fix broken css/js files on individual shaare pages
2020-09-06 13:29:38 +02:00
ArthurHoaro
a3cb851d0c
Merge pull request #1542 from shaarli/dependabot/npm_and_yarn/node-sass-4.13.1
...
Bump node-sass from 4.12.0 to 4.13.1
2020-09-06 13:24:09 +02:00
dependabot[bot]
7b05dd71f3
Bump node-sass from 4.12.0 to 4.13.1
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.12.0 to 4.13.1.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.12.0...v4.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-04 09:54:32 +00:00
Keith Carangelo
e2a2441d3b
Merge branch 'links_per_page'
2020-09-03 15:39:31 -04:00
ArthurHoaro
2ba51040c7
Merge pull request #1541 from ArthurHoaro/fix/legacy-login-encoding
2020-09-03 18:54:45 +02:00
ArthurHoaro
d33cffdb2e
Fix: encoding in legacy route login redirection to post bookmark
...
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.
2020-09-03 18:46:10 +02:00
ArthurHoaro
2cd0509b50
Improve regex to extract HTML metadata (title, description, etc.)
...
Also added a bunch of tests to cover more use cases.
Fixes #1375
2020-09-03 17:46:26 +02:00
ArthurHoaro
80b708a878
Inject BookmarkServiceInterface in plugins data
...
Related discussion: ilesinge/shaarli-related#7
2020-09-03 15:08:08 +02:00
ArthurHoaro
46d3f8162b
Merge pull request #1537 from ArthurHoaro/fix/back-compatible-targets
2020-09-03 14:57:24 +02:00
ArthurHoaro
0386a84d82
Fix feed target in UT
2020-09-03 10:18:04 +02:00
ArthurHoaro
ce7918386a
Improve backward compatibility for LegacyRouter
...
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
2020-09-03 10:09:36 +02:00
ArthurHoaro
21163a3329
Merge pull request #1519 from ArthurHoaro/fix/mobile-pin-link
...
Default template: display pin button in mobile view
2020-09-03 08:49:20 +02:00
ArthurHoaro
865f0a0e01
Merge pull request #1523 from ArthurHoaro/fix/default-colors-generation
...
Default colors plugin: generate CSS file during initialization
2020-09-03 08:48:51 +02:00
ArthurHoaro
9e6371a6fd
Merge pull request #1520 from ArthurHoaro/fix/jp-language
2020-09-03 08:46:47 +02:00
ArthurHoaro
0a286f6946
Merge pull request #1526 from kcaran/links_per_page
2020-09-03 08:45:48 +02:00
ArthurHoaro
2835ac7cbe
Merge pull request #1524 from ArthurHoaro/fix/rss-sticky
...
Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds
2020-09-03 08:45:12 +02:00
ArthurHoaro
ca636b898c
Merge pull request #1536 from ArthurHoaro/fix/login-private-shaarli
...
Fix login loop for private instances
2020-09-03 08:35:18 +02:00
ArthurHoaro
d95624add4
Merge pull request #1534 from ArthurHoaro/fix/legacy-route-post
2020-09-03 08:35:05 +02:00
ArthurHoaro
43582975dc
Merge pull request #1535 from ArthurHoaro/fix/export-token
...
Export: refresh CRSF token after submit
2020-09-03 08:34:57 +02:00
Keith Carangelo
82fcace8fc
Merge branch 'master' of https://github.com/shaarli/Shaarli into links_per_page
2020-09-02 11:38:56 -04:00
ArthurHoaro
14fcfb5213
Fix login loop for private instances
...
GET /login and POST /login have 2 distinct route name.
Fixes #1533
2020-09-01 11:26:24 +02:00
ArthurHoaro
cd10bc23e7
Export: refresh CRSF token after submit
...
This allow users to submit the form multiple times, because there is no actual browser redirection to the page.
Fixes #1532
2020-09-01 11:01:21 +02:00
ArthurHoaro
11aa4a7a29
Support redirection of legacy route 'do=configure'
2020-09-01 10:40:35 +02:00
ArthurHoaro
9e2d47e519
Fix legacy redirection when Shaarli instance is under a subfolder
2020-09-01 10:40:18 +02:00
ArthurHoaro
aca995e09c
Fix support for legacy route login redirection
...
Makes sure that the user is properly redirected to the bookmark form after login, even with legacy routes
2020-09-01 10:12:54 +02:00
ArthurHoaro
0e60b7f174
Merge pull request #1530 from ArthurHoaro/fix/untagged-only-broken
...
Fix broken route to filter not tagged bookmarks
2020-09-01 09:37:01 +02:00
Keith Carangelo
4479aff18f
Avoid using global variables
...
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
2020-08-31 09:20:03 -04:00
ArthurHoaro
63b0059ed5
Fix broken route to filter not tagged bookmarks
...
Also display the filter for visitors.
Fixes #1529
2020-08-31 14:09:27 +02:00
ArthurHoaro
06f05c923a
Merge pull request #1512 from shaarli/dependabot/npm_and_yarn/elliptic-6.5.3
...
Bump elliptic from 6.4.1 to 6.5.3
2020-08-31 14:06:32 +02:00
ArthurHoaro
a975d97a8d
Merge pull request #1505 from shaarli/dependabot/npm_and_yarn/lodash-4.17.19
...
Bump lodash from 4.17.15 to 4.17.19
2020-08-31 14:03:58 +02:00
Keith Carangelo
e813934ae1
Moved definition of a.selected to pass sasslint test
2020-08-30 07:26:21 -04:00
Keith Carangelo
816ffba74b
Added $links_per_page variable to template and display on default
2020-08-29 11:02:59 -04:00
ArthurHoaro
b06fc28aa3
REST API: allow override of creation and update dates
...
Note that if they're not provided, default behaviour will apply:
creation and update dates will be autogenerated, and not empty.
Fixes #1223
2020-08-29 11:45:08 +02:00
ArthurHoaro
a8e210faa6
Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds
...
Fixes #1485
2020-08-29 10:06:40 +02:00
ArthurHoaro
972daa4513
Default colors plugin: generate CSS file during initialization
...
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.
2020-08-29 09:38:30 +02:00
ArthurHoaro
8af1d2da60
Fix UT
2020-08-27 15:26:52 +02:00
ArthurHoaro
ebc027ec0a
Japanese translation: add language to admin configuration page
...
Also use ISO country code (JP) instead of JA.
2020-08-27 15:00:48 +02:00
ArthurHoaro
3eba6bd318
Default template: display pin button in mobile view
...
Fixes #1347
2020-08-27 14:48:07 +02:00
ArthurHoaro
bea062149e
Merge pull request #1518 from ArthurHoaro/authors/v0.12.0-beta
...
Update authors for v0.12.0-beta
2020-08-27 13:56:36 +02:00
ArthurHoaro
2d8a0a71a8
Update authors for v0.12.0-beta
2020-08-27 13:52:18 +02:00
ArthurHoaro
46237c9788
Merge pull request #1517 from ArthurHoaro/changelog/v0.12.0-beta
...
Changelog for v0.12.0-beta
2020-08-27 13:44:18 +02:00
ArthurHoaro
6152a26790
Changelog for v0.12.0-beta
2020-08-27 13:39:49 +02:00
ArthurHoaro
109ebf318f
Merge pull request #1516 from ArthurHoaro/feature/plugin-incompatibility
...
Better handling of plugin incompatibility
2020-08-27 12:10:16 +02:00
ArthurHoaro
7e3dc0ba98
Better handling of plugin incompatibility
...
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.:
2020-08-27 12:04:36 +02:00
ArthurHoaro
af41d5ab5d
Merge pull request #1511 from ArthurHoaro/wip-slim-routing
2020-08-27 10:27:34 +02:00
ArthurHoaro
0c6fdbe12b
Move error handling to dedicated controller instead of middleware
2020-08-21 10:50:44 +02:00
ArthurHoaro
bedbb845ee
Move all admin controller into a dedicated group
...
Also handle authentication check in a new middleware for the admin group.
2020-08-13 11:08:13 +02:00
ArthurHoaro
1a68ae5a29
Bookmark's thumbnails PHPDoc improvement
2020-08-01 11:14:03 +02:00
ArthurHoaro
d6e5f04d39
Remove anonymous permission and initialize bookmarks on login
2020-08-01 11:10:57 +02:00
dependabot[bot]
af074f9030
Bump elliptic from 6.4.1 to 6.5.3
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.4.1 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.1...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 13:43:35 +00:00
ArthurHoaro
f7f08ceec1
Fix basePath in unit tests reference DB
2020-07-28 22:34:45 +02:00
ArthurHoaro
624123177f
Include empty basePath in formatting
2020-07-28 21:09:22 +02:00
ArthurHoaro
301c7ab1a0
Better support for notes permalink
2020-07-28 20:46:11 +02:00
ArthurHoaro
b725eb047d
Fix links per page controller path
2020-07-27 12:56:59 +02:00
ArthurHoaro
a285668ec4
Fix redirection after post install login
2020-07-27 12:34:17 +02:00
ArthurHoaro
9fbc42294e
New basePath: fix officiel plugin paths and vintage template
2020-07-26 14:43:10 +02:00
ArthurHoaro
bc583903ad
Fix: header search action should be on linklist
2020-07-24 12:49:50 +02:00
ArthurHoaro
204035bd3c
Fix: visitor are allowed to chose nb of links per page
2020-07-24 12:48:53 +02:00
ArthurHoaro
87ae3c4f08
Fix default link and redirection in install controller
2020-07-24 10:30:47 +02:00
ArthurHoaro
8e9169ceba
Update French translation
2020-07-23 21:19:21 +02:00
ArthurHoaro
3ee8351e43
Multiple small fixes
2020-07-23 21:19:21 +02:00
ArthurHoaro
fabff3835d
Move PHP and config init to dedicated file
...
in order to keep index.php as minimal as possible
2020-07-23 21:19:21 +02:00
ArthurHoaro
a8c11451e8
Process login through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
c4ad3d4f06
Process Shaarli install through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
1a8ac737e5
Process main page (linklist) through Slim controller
...
Including a bunch of improvements on the container,
and helper used across new controllers.
2020-07-23 21:19:21 +02:00
ArthurHoaro
6132d64748
Process thumbnail synchronize page through Slim controllers
2020-07-23 21:19:21 +02:00
ArthurHoaro
764d34a7d3
Process token retrieve through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
1b8620b1ad
Process plugins administration page through Slim controllers
2020-07-23 21:19:21 +02:00
ArthurHoaro
78657347c5
Process bookmarks import through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
c70ff64a61
Process bookmark exports through Slim controllers
2020-07-23 21:19:21 +02:00
ArthurHoaro
e8a10f312a
Use NetscapeBookmarkUtils object instance instead of static calls
2020-07-23 21:19:21 +02:00
ArthurHoaro
3447d888d7
Pin bookmarks through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
7b8a6f2858
Process change visibility action through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
1ab675445e
Fix bookmarklet with new routes
...
* Use the new shaare route
* Add source hidden input in editlink template to close the popup after saving
2020-07-23 21:19:21 +02:00
ArthurHoaro
baa6979194
Improve ManageTagController coverage and error handling
2020-07-23 21:19:21 +02:00
ArthurHoaro
9c75f87793
Use multi-level routes for existing controllers instead of 1 level everywhere
...
Also prefix most admin routes with /admin/
2020-07-23 21:19:21 +02:00
ArthurHoaro
818b3193ff
Explicitly define base and asset path in templates
...
With the new routes, all pages are not all at the same folder level anymore
(e.g. /shaare and /shaare/123), so we can't just use './' everywhere.
The most consistent way to handle this is to prefix all path with the proper variable,
and handle the actual path in controllers.
2020-07-23 21:19:21 +02:00
ArthurHoaro
c22fa57a55
Handle shaare creation/edition/deletion through Slim controllers
2020-07-23 21:19:21 +02:00
ArthurHoaro
8eac2e5488
Process manage tags page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
66063ed1a1
Process configure page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
465033230d
Password change: UT use case with open shaarli
2020-07-23 21:19:21 +02:00
ArthurHoaro
fdedbfd4a7
Test ShaarliAdminController
2020-07-23 21:19:21 +02:00
ArthurHoaro
ef00f9d203
Process password change controller through Slim
2020-07-23 21:19:21 +02:00
ArthurHoaro
ba43064ddb
Process tools page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
2899ebb5b5
Initialize admin Slim controllers
...
- Reorganize visitor controllers
- Fix redirection with Slim's requests base path
- Fix daily links
2020-07-23 21:19:21 +02:00
ArthurHoaro
af290059d1
Process session filters through Slim controllers
...
Including:
- visibility
- links per page
- untagged only
2020-07-23 21:19:21 +02:00
ArthurHoaro
893f5159c6
Process remove tag endpoint through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
dd09ec52b2
Refactor front controller tests to create container mock using a trait
2020-07-23 21:19:21 +02:00
ArthurHoaro
5ec4708ced
Process OpenSearch controller through Slim
...
Also it was missing on the default template feeds
2020-07-23 21:19:21 +02:00
ArthurHoaro
7b2ba6ef82
RSS/ATOM feeds: process through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
f4929b1188
Make FeedBuilder instance creation independant of the request stack
2020-07-23 21:19:21 +02:00
ArthurHoaro
c56a540c6e
Remove legacy handling of /add-tag route
2020-07-23 21:19:21 +02:00
ArthurHoaro
029ada5a07
PHP 7.1 compatibility
2020-07-23 21:19:21 +02:00
ArthurHoaro
c4d5be53c2
Process Daily RSS feed through Slim controller
...
The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
2020-07-23 21:19:21 +02:00
ArthurHoaro
e3d28be967
Slim daily: minor bugfix with empty data
2020-07-23 21:19:21 +02:00
ArthurHoaro
07f99432b7
Slim daily: support legacy query parameter
2020-07-23 21:19:21 +02:00
ArthurHoaro
69e29ff65e
Process daily page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
60ae241251
Process tag list page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
3772298ee7
Few optimizations and code readability for tag cloud controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
c79473bd84
Handle tag filtering in the Bookmark service
2020-07-23 21:19:21 +02:00
ArthurHoaro
72caf4e84c
Working version before optimization
2020-07-23 21:19:21 +02:00
ArthurHoaro
c266a89d0f
Process tag cloud page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
03340c18ea
Slim router: handle add tag route
2020-07-23 21:19:21 +02:00
ArthurHoaro
8e47af2b36
Process logout through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
b0428aa9b0
Migrate cache purge function to a proper class
...
And update dependencies and tests.
Note that SESSION['tags'] has been removed a log ago
2020-07-23 21:19:21 +02:00
ArthurHoaro
485b168a96
Process picwall rendering through Slim controller + UT
2020-07-23 21:19:21 +02:00
ArthurHoaro
bee33239ed
Fix all relative link to work with new URL
2020-07-23 21:19:21 +02:00
ArthurHoaro
b8e3630f2e
Merge pull request #1508 from ArthurHoaro/fix/docker-build-gcc
...
Fix Docker build: gcc is no longer included in python alpine image
2020-07-23 21:10:47 +02:00
ArthurHoaro
c909f5d5cc
Fix Docker build: gcc is no longer included in python alpine image
2020-07-23 21:05:10 +02:00
ArthurHoaro
2a891ca6b1
Merge pull request #1499 from ArthurHoaro/fix/travis-74-build
...
Travis CI: upgrade distribution and remove deprecated sudo
2020-07-20 18:16:55 +02:00
dependabot[bot]
df46c28208
Bump lodash from 4.17.15 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 21:04:59 +00:00
ArthurHoaro
7e884740f1
Travis CI: upgrade distribution and remove deprecated sudo
...
This upgrade fixes PHP 7.4 fatal error builds, because dist < xenial do
not include php-gd with PHP 7.4.
2020-07-06 09:28:50 +02:00
ArthurHoaro
78c2f122e0
Merge pull request #1428 from pipoprods/feat/ldap-auth
2020-06-25 16:53:18 +02:00
ArthurHoaro
8694e8411b
LDAP - Force protocol LDAPv3
...
On Linux, php-ldap seems to rely on a library which still uses deprecated LDAPv2 as default version,
causing authentication issues.
See: https://stackoverflow.com/a/48238224/1484919
2020-06-25 16:18:25 +02:00
ArthurHoaro
e1231265bc
Merge pull request #1476 from tyjak/master
...
Fix missing php7-simplexml plugin for Dockerfile.armhf
2020-06-25 13:58:32 +02:00
Sébastien NOBILI
a69cfe0dd2
Update application/security/LoginManager.php
...
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
2020-06-03 10:36:04 +02:00
Sébastien NOBILI
9ba6982ea3
Update application/security/LoginManager.php
...
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
2020-06-03 10:35:41 +02:00
Sébastien NOBILI
21e5df5ee8
Update application/security/LoginManager.php
...
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
2020-06-03 10:34:32 +02:00
David Foucher
c0d750b9e5
Fix missing php7-simplexml plugin
...
This is to fix this error I got:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for slim/slim 3.12.3 -> satisfiable by slim/slim[3.12.3].
- slim/slim 3.12.3 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php7/php.ini
- /etc/php7/conf.d/00_curl.ini
- /etc/php7/conf.d/00_iconv.ini
- /etc/php7/conf.d/00_json.ini
- /etc/php7/conf.d/00_mbstring.ini
- /etc/php7/conf.d/00_openssl.ini
- /etc/php7/conf.d/01_phar.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
2020-05-23 14:26:04 +02:00
ArthurHoaro
8f80821820
Merge pull request #1461 from flowgunso/documentation_how_create_plugin
2020-05-16 11:35:49 +02:00
flow.gunso
50c9543f7b
Add an example for the description variable to the meta file
2020-05-15 22:47:19 +02:00
flow.gunso
8f6202deb0
Document about the .meta file at the plugin creation/initialization
2020-05-15 22:17:48 +02:00
ArthurHoaro
cf01113cad
Merge pull request #1424 from aguytech/master
2020-05-12 09:46:12 +02:00
nodiscc
752bc4c5e6
Merge pull request #1403 from shaarli/doc-composer
...
doc: simplify composer installation procedure, merge Unit tests related pages, reword/shorten, fix references to old php versions
2020-04-11 13:06:30 +00:00
nodiscc
2dd6ecb126
doc: composer update should actually be removed as it alters the Composer lock file
2020-04-11 13:53:15 +02:00
nodiscc
dbbcb0c6cf
doc: use <PHP_VERSION>, fix php.ini path
...
Co-Authored-By: Aurélien Tamisier <virtualtam+github@flibidi.net>
2020-03-09 17:44:12 +00:00
nodiscc
273453900a
doc: use obvious <PHP_VERSION> placeholder
...
Co-Authored-By: Aurélien Tamisier <virtualtam+github@flibidi.net>
2020-03-09 17:43:45 +00:00
nodiscc
1ea8aeef76
doc: fix php.ini path
...
Co-Authored-By: Aurélien Tamisier <virtualtam+github@flibidi.net>
2020-03-09 17:43:09 +00:00
Sébastien NOBILI
46846fd4fc
fixed typo
2020-03-02 18:23:55 +01:00
Sébastien NOBILI
cc2ded54e1
ldap authentication, fixes shaarli/Shaarli#1343
2020-03-02 17:13:18 +01:00
aguy
424530d9af
Add an exception to method 'whitelist_protocols' for url which started with '#'
...
This is to allow local link for markdown, actually a local link write with this syntax : '[anchor](#local_link)' produce this html code: http://#local_link
2020-02-28 15:14:22 +00:00
ArthurHoaro
810f0f6c96
Merge pull request #1421 from yudete/master
...
Add Japanese translation
2020-02-17 22:10:57 +01:00
ArthurHoaro
df7c286d91
Merge pull request #1417 from bmsleight/master
...
Update Makefile
2020-02-17 18:14:47 +01:00
yude
db206aaaca
Update Japanese translations
2020-02-11 10:55:10 +09:00
yude
1f02ae8076
Japanese translation
2020-02-11 09:33:38 +09:00
ArthurHoaro
922341aaa7
Merge pull request #1420 from oktomus/master
...
Add autofocus on tag cloud filter input
2020-02-10 21:04:42 +01:00
Kevin Masson
82e7b56f29
Add autofocus on tag cloud filter input
...
Fix #1413
2020-02-10 13:53:44 +01:00
Brendan M. Sleight
52964ec873
Update Makefile
...
Solve make htmldoc error on python3 ubuntu
2020-02-05 20:07:47 +00:00
ArthurHoaro
f6637392a9
Fix division by zero in tagcloud ( #1411 )
...
Fix division by zero in tagcloud
2020-01-26 14:55:07 +01:00
ArthurHoaro
b495d5c92a
Fix division by zero in tagcloud
...
It happens if we have a maximum of 1 occurrence in tags (log(1) = 0)
2020-01-26 14:52:10 +01:00
ArthurHoaro
c653ae3bfb
Render login page through Slim controller ( #1401 )
...
Render login page through Slim controller
2020-01-26 11:41:10 +01:00
ArthurHoaro
27ceea2aee
Rename ci attribute to container
2020-01-26 11:34:29 +01:00
ArthurHoaro
0498b209b5
Execute common plugin hooks before rendering login page
2020-01-26 11:34:14 +01:00
ArthurHoaro
9e4cc28e29
Fix all existing links and redirection to ?do=login
2020-01-26 11:34:14 +01:00
ArthurHoaro
dd51f653d0
Fix SASS Lint
2020-01-26 11:34:14 +01:00
ArthurHoaro
6c50a6ccce
Render login page through Slim controller
2020-01-26 11:34:14 +01:00
ArthurHoaro
1410dce2db
Rollback breaking change in REST API routes ( #1410 )
...
Rollback breaking change in REST API routes
2020-01-26 11:33:22 +01:00
ArthurHoaro
20433ea72b
Rollback breaking change in REST API routes
2020-01-26 11:30:25 +01:00
ArthurHoaro
529fc750b3
Session cookie setting being set while session is active ( #1406 )
...
Session cookie setting being set while session is active
2020-01-26 09:12:44 +01:00
ArthurHoaro
0d42b21200
Fix deprecated use of implode ( #1408 )
...
Fix deprecated use of implode
2020-01-23 22:36:00 +01:00
ArthurHoaro
fc6c701774
Fix deprecated use of implode
2020-01-23 22:31:51 +01:00
ArthurHoaro
09390a50cd
Session cookie setting being set while session is active
...
Trying to do will raise a warning since PHP 7.2, and it never worked as intented.
See: https://bugs.php.net/bug.php\?id\=75650
2020-01-23 19:51:14 +01:00
nodiscc
04a816f648
doc: fix references to php5, use new directory structure
2020-01-19 13:52:03 +01:00
nodiscc
3b04d19a62
doc: fix reference to old version of php-xdebug package
2020-01-19 13:49:48 +01:00
nodiscc
54ab5636e3
doc: merge unit tests/docker unit tests pages, simplfy, reword
2020-01-19 13:18:29 +01:00
nodiscc
a8a38401f0
doc: reword simplify xdebug installation/unit tests
2020-01-19 13:11:11 +01:00
nodiscc
7a7a523782
doc: simplify unit tests documentation
2020-01-19 13:09:23 +01:00
nodiscc
6fa3c87d32
doc: simplify composer installation procedure
2020-01-19 13:05:21 +01:00
nodiscc
57bd9780c8
Merge pull request #1402 from shaarli/fix-makefile
...
fix directory creation in makefile
2020-01-19 12:03:24 +00:00
nodiscc
dd452c5691
fix directory creation in makefile
...
the syntax {doc,venor} is only supported in bash and make uses /bin/sh as default shell
2020-01-19 12:35:19 +01:00
ArthurHoaro
1001cc108f
Fix an issue with private tags and fix nomarkdown tag ( #1399 )
...
Fix an issue with private tags and fix nomarkdown tag
2020-01-18 17:59:37 +01:00
ArthurHoaro
12523aea34
Ulauncher Extension ( #1400 )
...
Ulauncher Extension
2020-01-18 15:27:37 +01:00
Sebastien Wains
fecfc73b3f
Ulauncher Extension
2020-01-18 15:22:49 +01:00
ArthurHoaro
a39acb2518
Fix an issue with private tags and fix nomarkdown tag
...
The new bookmark service wasn't handling private tags properly.
nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists.
Fixes #726
2020-01-18 11:39:26 +01:00
ArthurHoaro
7e3648ad87
Fix an issue with bookmark visibility filter ( #1398 )
...
Fix an issue with bookmark visibility filter
2020-01-18 10:52:08 +01:00
ArthurHoaro
4869d535b5
Fix an issue with bookmark visibility filter
2020-01-18 10:49:30 +01:00
ArthurHoaro
3fb29fdda0
Store bookmarks as PHP objects and add a service layer to retri… ( #1307 )
...
Store bookmarks as PHP objects and add a service layer to retrieve them
2020-01-18 10:01:06 +01:00
ArthurHoaro
e26e2060f5
Add and update unit test for the new system (Bookmark + Service)
...
See #1307
2020-01-18 09:56:32 +01:00
ArthurHoaro
cf92b4dd15
Apply the new system (Bookmark + Service) to the whole code base
...
See https://github.com/shaarli/Shaarli/issues/1307
2020-01-18 09:55:59 +01:00
ArthurHoaro
336a28fa4a
Introduce Bookmark object and Service layer to retrieve them
...
See https://github.com/shaarli/Shaarli/issues/1307 for details
2020-01-17 18:42:11 +01:00
ArthurHoaro
796c4c57d0
Run Unit Tests against PHP 7.4 ( #1353 )
...
Run Unit Tests against PHP 7.4
2020-01-17 18:39:56 +01:00
ArthurHoaro
def39d0dd7
Run Unit Tests against PHP 7.4
...
Bump PHPUnit version and fix unit test
- Globals are handled differently and are persistent through tests
- Tests without assertions are marked as risky: some of them are just
meant to check that no error is raised.
2020-01-17 18:34:37 +01:00
ArthurHoaro
ef02885753
Merge pull request #1358 from shaarli/doc-add-screenshots
...
Doc: add screenshots of all pages
2020-01-17 18:27:42 +01:00
ArthurHoaro
7d0db8b567
Avoiding warning 'PHP Notice: Undefined index: updated' ( #1392 )
...
Avoiding warning 'PHP Notice: Undefined index: updated'
2020-01-12 15:22:02 +01:00
Lucas Cimon
d9bfceaddf
Avoiding warning 'PHP Notice: Undefined index: updated'
2020-01-12 14:55:37 +01:00
nodiscc
74c1d02079
doc: siplify troubleshooting, link to reference docs, reorder
2020-01-04 00:28:04 +01:00
nodiscc
5256f83d02
doc: troubleshooting: add note about error 500/internal server error caused by apache 2.2 and no mod_version
2020-01-04 00:19:25 +01:00
nodiscc
eb0a0f77cc
doc: remove obsolete link
2019-11-27 19:28:26 +00:00
nodiscc
af8a03d1ab
doc: remove obsolete link
2019-11-27 19:28:06 +00:00
Aurélien Tamisier
ac2214bdb5
Merge pull request #1383 from doc75/doc_docker
...
Fix #1382 - update documentation related to docker images
2019-11-26 23:46:39 +01:00
Guillaume Virlet
72539044fb
Fix #1382 - update documentation related to docker images base image and PHP version used
2019-11-26 22:12:34 +01:00
nodiscc
99c7d66384
Merge pull request #1379 from rfolo9li/patch-1
...
Add php-json as required PHP module
2019-11-09 15:45:09 +00:00
nodiscc
3575fe5bcf
doc: add explanation of php-json requirement
2019-11-09 15:40:53 +00:00
rfolo9li
54b065c253
Added php-json as required PHP module
...
Without php-json the installation stops with a white screen and the following error:
> 09-Nov-2019 14:05:46 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Shaarli\Config\json_encode() in /var/www/html/shaarli/application/config/ConfigJson.php:48
> Stack trace:
> #0 /var/www/html/shaarli/application/config/ConfigManager.php(239): Shaarli\Config\ConfigJson->write('data/config.jso...', Array)
> #1 /var/www/html/shaarli/index.php(1835): Shaarli\Config\ConfigManager->write(false)
> #2 /var/www/html/shaarli/index.php(178): install(Object(Shaarli\Config\ConfigManager), Object(Shaarli\Security\SessionManager), Object(Shaarli\Security\LoginManager))
> #3 {main}
> thrown in /var/www/html/shaarli/application/config/ConfigJson.php on line 48
Tested with Shaarli 0.10.4 on CentOS 8 with Httpd 2.4.37 and PHP 7.2.11.
2019-11-09 15:24:10 +01:00
nodiscc
4b15c49198
Merge pull request #1374 from paulvandenburg/demo-plugin-typos
...
Fix some typos and remove a few unnecessary comments in demo plugin
2019-10-27 09:55:57 +00:00
Paul van den Burg
83ef0ff176
Fix some typos and remove a few unnecessary comments in demo plugin
2019-10-26 21:35:05 +02:00
nodiscc
f4c6625962
Merge pull request #1366 from shaarli/doc-setuptools-mkdocs
...
doc: CI/dev tools: add paragraph about documentation/mkdocs
2019-10-02 19:57:59 +00:00
nodiscc
b4665de89b
fix typo
2019-10-02 19:57:40 +00:00
nodiscc
5ed0d9f54d
Merge pull request #1368 from NerosTie/patch-1
...
emojione & twemoji removed
2019-09-28 11:16:02 +00:00
Neros
bda0d35a51
emojione & twemoji removed
...
Since emojis are in every web browsers now, these plugins have no purpose anymore. And they are very outdated.
2019-09-25 20:03:58 +02:00
nodiscc
31d691649a
Merge pull request #1367 from shaarli/thumbnailer-soundcloud
...
thumbnailer: add soundcloud.com to list of common media domains
2019-09-21 17:41:32 +00:00
nodiscc
0b631e69d1
thumbnailer: add soundcloud.com to list of common media domains
...
OpenGraph thumbnails are well supported on soundcloud.com, displaying an album/track/artist cover image
2019-09-21 16:48:24 +00:00
nodiscc
954b3c81ce
doc: CI/dev tools: add paragraph about documentation/mkdocs
...
Fixes https://github.com/shaarli/Shaarli/issues/1335
2019-09-19 19:04:05 +00:00
nodiscc
1df5e9ca86
Merge pull request #1361 from Lucas-C/patch-1
...
Add pelican shaarli_poster plugin to list of integrations
2019-09-19 18:49:18 +00:00
nodiscc
c139a6e9ed
doc: update shaarli_poster pelican plugin url
2019-09-19 18:49:03 +00:00
nodiscc
b04ff6cf16
Merge pull request #1365 from shaarli/dependabot/npm_and_yarn/mixin-deep-1.3.2
...
Bump mixin-deep from 1.3.1 to 1.3.2
2019-09-19 18:44:56 +00:00
dependabot[bot]
7eb196723e
Bump mixin-deep from 1.3.1 to 1.3.2
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases )
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-09-19 18:26:32 +00:00
nodiscc
fc66e61ca9
Merge pull request #1364 from ArthurHoaro/hotfix/md-rss-permalink
...
Fix RSS permalink included in Markdown bloc
2019-09-14 14:39:49 +00:00
ArthurHoaro
0baa658130
Fix RSS permalink included in Markdown bloc
...
Adds another line break before inserting RSS permalink to avoid including it in markdown blocs, such as blockquote.
2019-09-12 19:38:37 +02:00
ArthurHoaro
51837fe8ba
Fix undefined thumbnail in OpenGraph headers ( #1363 )
...
Fix undefined thumbnail in OpenGraph headers
2019-09-10 20:25:19 +02:00
ArthurHoaro
e0e24335f7
Fix undefined thumbnail on OpenGraph headers
...
Fixes #1362
2019-09-10 18:40:07 +02:00
Lucas Cimon
3b0f03770b
Add pelican shaarli_poster plugin to list of integrations
2019-09-04 10:00:22 +02:00
ArthurHoaro
90ea2cb62e
Merge pull request #1359 from shaarli/dependabot/npm_and_yarn/lodash-4.17.15
...
Bump lodash from 4.17.11 to 4.17.15
2019-08-27 22:33:49 +02:00
dependabot[bot]
8d4cada793
Bump lodash from 4.17.11 to 4.17.15
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-08-27 17:33:59 +00:00
nodiscc
424ae4b001
Doc: add screenshots of all pages
...
Fixes https://github.com/shaarli/Shaarli/issues/598
2019-08-27 17:10:37 +00:00
ArthurHoaro
188a99db99
Merge pull request #1355 from ArthurHoaro/hotfix/feed-md-directlink
...
Markdown plugin: fix RSS feed direct link reverse
2019-08-15 12:59:57 +02:00
ArthurHoaro
354fb98cc9
Markdown plugin: fix RSS feed direct link reverse
...
The plugin was only reversing permalinks and failed with setting rss_permalinks set to false
2019-08-15 12:56:32 +02:00
ArthurHoaro
5669f474f3
Merge pull request #1354 from ArthurHoaro/hotfix/img-lazy-loading
...
Fix image lazy loading issues
2019-08-15 11:51:37 +02:00
ArthurHoaro
b5e2b23c99
Fix image lazy loading issues
...
For some reason, bLazy won't load the image if the img block has
either 0 height or width.
2019-08-15 11:41:50 +02:00
984073a980
Release v0.11.0
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAl08H7AACgkQOzJIyqqw
gW4dEw/9F55N9HMK1xTByxsnrMihjzBaKKc1lBBNJizAXrX2QchgnhE15ATRnQNy
/7GUU8hCRukBsffMp7Ve1tbPkVvQwWgyQn2Hpp+ayGNWgQYrU1jNSaCQcbyxybyP
6e+8DFAdDsleHiYCSZBPUHMpiJyQWsVBDV1wQPRrqvm+JYE3+9IwHzm+9/y4sk55
7bp5Mj7fYyts5AJfLj9gxg2juGRnnhKXGWj2WI4Yk1mpwQLFSf43wC8lFf0ASY1J
PfhjwOOFCRv/7LOL66nIPp74+pKcyO/S8p2m/pFNgrHL2bJXaAmFMPmYQjyoFmaA
83iM5Jv3fBXMSf/iHnPvQlD0nmIvXUeu5ftBUIE/C4Uwu8LZTlOsPelW1dH5ygGa
TVaA3/vlRhDWATe9mRNrHPHQT3VoxHg8U3qIv3p3cakj1uRFaFvkKhI7dEoqFSJY
zsmISLbPMbmvJkMMNT4sI2q3ioyGDiU0OSayKocJziiu/H9+c2Pdty3YOSvJp/SX
sjgqSX/hwtNmpQnS63dweDLoBGWjj01MYgedI9r64kmfW3QoSYsdVfykEMHIfofw
/g8hRMBmuzK0VuDrla6DIBl7s58w0Uepr+e/lFMI4pzwHzxzUCZ5lc6wG0yCxuq2
R+wTbpLqeXghKIaprmxq9i1TnAiCIl+lmw9zKj3M3fXwBGQ8e4I=
=c7Xq
-----END PGP SIGNATURE-----
Merge tag 'v0.11.0' into myShaarli_commu
Release v0.11.0
2019-08-12 14:16:22 +02:00
nodiscc
0a4bc5a17d
Merge pull request #1351 from ArthurHoaro/hotfix/index-php-version
...
Bump PHP version check in index.php
2019-08-10 11:30:16 +00:00
ArthurHoaro
b405a44f29
Bump PHP version check in index.php
...
Fixes #1249
2019-08-10 12:47:58 +02:00
ArthurHoaro
5f1617a480
Merge pull request #1352 from ArthurHoaro/hotfix/ut-error
...
Fix UT: LinkDBTest - make each tests independant
2019-08-10 12:46:41 +02:00
ArthurHoaro
bd1adc8df6
Fix UT: LinkDBTest - make each tests independant
...
Otherwise the datastore is empty in the last test, making it
inconsistent due to dates issues.
2019-08-10 12:42:53 +02:00
ArthurHoaro
7ff3ed1d63
Merge pull request #1336 from ArthurHoaro/hotfix/atom-author
...
ATOM Feed: use instance name as author name instead of URL
2019-08-10 12:08:22 +02:00
ArthurHoaro
14a7d73c2d
Merge pull request #1350 from ArthurHoaro/hotfix/sort-consistency
...
Make sure that bookmark sort is consistent, even with equal timestamps
2019-08-10 12:07:55 +02:00
ArthurHoaro
edcfe54c45
Merge pull request #1346 from kalvn/fixdailynotice
...
Fixes a Undefined index: thumbnail in daily page.
2019-08-10 12:07:20 +02:00
ArthurHoaro
9f9627059a
Make sure that bookmark sort is consistent, even with equal timestamps
...
Fixes #1348
2019-08-07 13:18:02 +02:00
kalvn
8ba951640c
Fixes a Undefined index: thumbnail in daily page.
2019-08-04 22:02:18 +02:00
ArthurHoaro
1a6d61766a
Bump badge version
2019-08-03 09:57:17 +02:00
ArthurHoaro
3a52dfcc5c
Merge pull request #1345 from ArthurHoaro/changelog-v0.11.1
...
Changelog v0.11.1
2019-08-03 09:53:28 +02:00
ArthurHoaro
f400ba291d
Changelog v0.11.1
2019-08-03 09:49:48 +02:00
ArthurHoaro
31c788ddcf
Merge pull request #1344 from agentcobra/agentcobra-patch-1
...
little fix template
2019-08-03 09:40:17 +02:00
ArthurHoaro
e29a9a73b4
Merge pull request #1342 from ArthurHoaro/hotfix/composer-php71
...
Upgrade composer dependencies from PHP 7.1
2019-08-01 19:57:53 +02:00
ArthurHoaro
df40879739
Upgrade composer dependencies from PHP 7.1
2019-08-01 19:55:24 +02:00
ArthurHoaro
91af3e6b19
Merge pull request #1341 from ArthurHoaro/hotfix/travis-eol
...
Remove Travis unit tests against PHP 5.6 and 7.0
2019-08-01 19:46:08 +02:00
ArthurHoaro
5e61546a32
Remove Travis unit tests against PHP 5.6 and 7.0
2019-08-01 19:39:56 +02:00
nodiscc
211d93307b
Merge pull request #1340 from shaarli/fix-doc-links
...
doc: fix broken markdown link
2019-08-01 17:17:03 +00:00
nodiscc
58c2701e54
doc: fix broken markdown link
...
fixes https://github.com/shaarli/Shaarli/issues/1330
2019-08-01 19:09:05 +02:00
agentcobra
419eef1f56
little fix template
...
fix link between label and checkbox (updateCheck)
2019-08-01 12:33:25 +02:00
ArthurHoaro
fa7625219d
Merge pull request #1337 from ArthurHoaro/hotfix/docker-build
...
Docker: Bump NodeJS version to prevent an issue with node-sass
2019-07-29 20:08:00 +02:00
ArthurHoaro
67d4029fee
Docker: Bump NodeJS version to prevent an issue with node-sass
2019-07-29 20:01:14 +02:00
ArthurHoaro
9f3bdf5895
Merge pull request #1327 from llune/master
...
a11y fixes
2019-07-29 19:39:50 +02:00
ArthurHoaro
f9b99c7217
ATOM Feed: use instance name as author name instead of URL
...
Related FreshRSS/FreshRSS#2466
2019-07-29 19:37:51 +02:00
Luce Carević
06a8992737
maj linklist
...
put back the link on the thumbmail and fix a11y
2019-07-28 12:33:06 +02:00
ArthurHoaro
ad8099a7af
Bump badges version
2019-07-27 11:58:19 +02:00
ArthurHoaro
ed3365325d
Bump Shaarli version to v0.11.0
2019-07-27 11:55:08 +02:00
ArthurHoaro
d7dead5644
Merge pull request #1333 from ArthurHoaro/hotfix/sticky-update
...
Persist sticky status on bookmark update
2019-07-27 11:53:09 +02:00
ArthurHoaro
81cae5f5dd
Persist sticky status on bookmark update
...
Fixes #1331
2019-07-27 11:46:05 +02:00
ArthurHoaro
c49b999001
Merge pull request #1334 from ArthurHoaro/changelog-v11
...
Changelog and authors for v0.11 release
2019-07-27 11:43:17 +02:00
ArthurHoaro
525069ea7a
Changelog and authors for v0.11 release
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2019-07-27 11:24:23 +02:00
ArthurHoaro
37686457f0
Merge pull request #1332 from rajathans/master_fix
...
Responsive issue with delete button fix
2019-07-27 10:38:44 +02:00
Rajat Hans
4c029779c8
Responsive issue with delete button fix
2019-07-24 21:59:56 +05:30
ArthurHoaro
a9633359d1
Merge pull request #1317 from ArthurHoaro/feature/default-colors
...
Plugin to override default template colors
2019-07-20 09:36:39 +02:00
ArthurHoaro
a8fb97a0c3
Default colors plugin - Documentation
2019-07-20 09:32:56 +02:00
ArthurHoaro
e503d26f0b
Default colors plugin - Translations
2019-07-20 09:32:56 +02:00
ArthurHoaro
15a61e5974
Add the new hook save_plugin_parameters to the demo plugin
2019-07-20 09:32:56 +02:00
ArthurHoaro
b550735054
Default colors plugin - Add unit tests
2019-07-20 09:32:52 +02:00
Luce Carević
d1bcf28db3
fix a11y
2019-07-13 18:56:43 +02:00
Luce Carević
719ef8e896
fix a11y
2019-07-13 18:26:31 +02:00
ArthurHoaro
01ba8a0700
Merge pull request #1323 from llune/patch-5
...
fix a11y label
2019-07-13 15:09:47 +02:00
ArthurHoaro
b15d065905
Merge pull request #1321 from llune/patch-3
...
a11y fix img without alt
2019-07-13 15:09:20 +02:00
ArthurHoaro
c088ae99bf
Merge pull request #1324 from llune/patch-6
...
a11y fix add banner mobile version
2019-07-13 15:09:08 +02:00
ArthurHoaro
19ba060669
Merge pull request #1322 from llune/patch-4
...
fix a11y label
2019-07-13 15:08:50 +02:00
ArthurHoaro
f2d00d95a0
Merge pull request #1320 from llune/master
...
a11y fix: label and tabindex
2019-07-13 15:08:42 +02:00
Luce Carević
84b8426c31
a11y fix add banner mobile version
2019-07-13 00:40:30 +02:00
Luce Carević
cadf4d5bd6
fix a11y label
2019-07-13 00:09:54 +02:00
Luce Carević
6177da0c30
fix a11y label
2019-07-13 00:07:50 +02:00
Luce Carević
d91719ab97
fix img without alt
2019-07-13 00:04:25 +02:00
Luce Carević
b43c98fecb
fix blank
2019-07-12 23:56:43 +02:00
Luce Carević
852872930f
a11y fix: label and tabindex
...
Don't use tabindex values other than -1, 0. (see https://webaim.org/techniques/keyboard/tabindex ).
Fix inputs without labels (the placeholder attribute is not a proper labelling method)
2019-07-12 23:54:42 +02:00
7fe2910525
Release v0.10.4
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAly1ANsXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA32/RJQf/ZNv/QG1Gbno7DmoXrW8F1nvg
gfNRLWkCJkbSVDy66huGaWUo8ysuyV1699+MqOxMEvGzkhpwZpSXDjjOjvaBy3ca
UKlUQrpJSc8L0VjsryHgYeX83xamw2Fk8syAsvtNxLY4SDW8aSqwFbqXl9eoTSwA
bGPMIy2wZk/Wh/9B5DB/8QM3vD4Bk5ZJFGbTTeJPhQ0AJ92i8E3lZUjG0C3oA1bG
TYOrgEYoA2eUrNStRKaKj3i163emzOqTdf56ml+ADQGl45MeHkeuQM7+uZfC5+sG
y/Zm/8aecNP/OXNO3+oSpxZlQKgINKVdoRQrqODs3LmsoMg/poc+krpzIUbebg==
=rSrP
-----END PGP SIGNATURE-----
Merge tag 'v0.10.4' into myShaarli_commu
Release v0.10.4
2019-07-11 11:44:51 +02:00
ArthurHoaro
a5a0c0399b
WIP - Plugin to override default template colors
...
* Adds a new core plugin to override default template colors
* Adds a new hook when plugin settings are saved
(`save_plugin_parameters`)
* Use CSS native variables for main colors instead of SASS variables
* Disable SASS sort order rules due to a bug in the plugin
Fixes #1312
2019-07-08 23:20:56 +02:00
ArthurHoaro
c03c90a13e
Merge pull request #1313 from ArthurHoaro/feature/desc-retrieval
...
Automatically retrieve description for new bookmarks
2019-07-06 12:34:02 +02:00
ArthurHoaro
6a4872520c
Automatically retrieve description for new bookmarks
...
If the option is enabled, it will try to find a meta tag containing
the page description and keywords, just like we do for the page title.
It will either look for regular meta tag or OpenGraph ones.
The option is disabled by default.
Note that keywords meta tags is mostly not used.
In `configure` template, the variable associated with this setting
is `$retrieve_description`.
Fixes #1302
2019-07-06 12:21:52 +02:00
ArthurHoaro
5d8a958d5d
Merge pull request #1311 from Agurato/master
...
Building Docker image for armhf outputs error
2019-06-08 14:09:33 +02:00
ArthurHoaro
bd231539e9
Merge pull request #1308 from ArthurHoaro/feature/daily-date
...
Daily - display the current day instead of the previous one
2019-06-08 14:09:07 +02:00
Agurato
a47656a28e
Rollback on removing php7-curl from step 4
2019-06-04 19:52:22 +02:00
Agurato
0b0694064c
Fix armhf Dockerfile
2019-06-02 12:57:33 +02:00
Agurato
e14d47cc55
Fix armhf Dockerfile
2019-06-02 12:52:07 +02:00
ArthurHoaro
86aa248654
Merge pull request #1309 from ArthurHoaro/feature/qrcode-link
...
Remove QRCode link to an external service
2019-05-30 10:54:02 +02:00
ArthurHoaro
5c003824a3
Remove QRCode link to an external service
2019-05-25 17:00:23 +02:00
ArthurHoaro
5321f704b5
Daily - display the current day instead of the previous one
...
Also mention if it's today or yesterday for clarity using `dayDesc`
variable
Fixes #1299
2019-05-25 16:40:45 +02:00
ArthurHoaro
c3a04e328f
Merge pull request #1273 from ArthurHoaro/feature/ban-manager
...
Rewrite IP ban management
2019-05-25 16:13:56 +02:00
ArthurHoaro
8ed59f107e
Merge pull request #1301 from ArthurHoaro/template/print-css
...
Add print CSS rules to the default template
2019-05-25 15:38:49 +02:00
ArthurHoaro
5f8f6134bc
Merge pull request #1305 from ArthurHoaro/feature/forkawsome
...
Switch from FontAwesome v4.x to ForkAwesome
2019-05-25 15:38:15 +02:00
ArthurHoaro
b2143ff480
Switch from FontAwesome v4.x to ForkAwesome
...
And use the Shaarli icon made by @xuv in the header and footer (default template).
2019-05-19 12:03:14 +02:00
ArthurHoaro
590c34dec1
Merge pull request #1304 from ArthurHoaro/hotfix/yarn-dep
...
Update node-sass to fix a vulnerability in node tar dependency
2019-05-19 11:38:06 +02:00
ArthurHoaro
dbbea38c7a
Update node-sass to fix a vulnerability in node tar dependency
...
See https://github.com/sass/node-sass/issues/2625
2019-05-19 11:32:28 +02:00
ArthurHoaro
374f89e721
Add print CSS rules to the default template
...
Fixes #1291
* Display the header bar only on the first page
* Hide search bars, pagination buttons, filters, and edit/delete buttons
2019-05-08 12:17:52 +02:00
ArthurHoaro
06783e8f1a
Merge pull request #1297 from ArthurHoaro/hotfix/mobile-select-all
...
Hide select all button on mobile view
2019-05-08 11:44:54 +02:00
ArthurHoaro
c5e96f594b
Merge pull request #1295 from ArthurHoaro/feature/visited-link-color
...
Slightly lighten visited link color
2019-05-08 11:00:58 +02:00
ArthurHoaro
160d9a7741
Merge pull request #1296 from ArthurHoaro/feature/sticky-label
...
Display sticky label in linklist
2019-05-08 11:00:33 +02:00
ArthurHoaro
51c5de1105
Hide select all button on mobile view
...
Bulk actions are not available on mobile view yet
2019-04-22 12:39:15 +02:00
ArthurHoaro
786f35f270
Merge pull request #1276 from ArthurHoaro/feature/bulk-visibility
...
Bulk action: set visibility
2019-04-22 12:31:09 +02:00
ArthurHoaro
d3defcac1c
Display sticky label in linklist
...
Add sticky label, like private label, in linklist to make it more visible.
2019-04-22 11:26:37 +02:00
ArthurHoaro
8fc0a984f0
Slightly lighten visited link color
...
To make it more visible in the middle of raw text.
2019-04-22 10:21:33 +02:00
nodiscc
e7ffbb7ed1
Merge pull request #1294 from virtualtam/changelog/v0.10.4
...
Update README, CHANGELOG and AUTHORS for v0.10.4
2019-04-16 00:24:11 +01:00
VirtualTam
e92676ace2
Update README, CHANGELOG and AUTHORS for v0.10.4
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-04-16 00:22:15 +02:00
VirtualTam
1e77e0448b
Release v0.10.4
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-04-16 00:04:56 +02:00
VirtualTam
1cc5eaf9de
backport: Fix a warning if links sticky status isn't set
...
- initiate its status to false when the link is created
- if not defined, initiate its status to false (can happen if the updater hasn't run)
This is a backport of https://github.com/shaarli/Shaarli/pull/1270
Original author information:
commit b790f900c9
Author: ArthurHoaro <arthur@hoa.ro>
Date: Sat Feb 9 14:04:16 2019 +0100
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-04-15 23:57:08 +02:00
ArthurHoaro
0ed9396bfa
Fix thumbnails disabling if PHP GD is not installed
2019-04-15 23:51:06 +02:00
ArthurHoaro
0d4c7a9fe3
Merge pull request #1293 from ArthurHoaro/hotfix/history-rename
...
Hotfix: History controller for the REST API has been renamed in a previous commit
2019-04-15 17:56:06 +02:00
ArthurHoaro
18d2d3ae15
Hotfix: History controller for the REST API has been renamed in a previous commit
...
but the class name hasn't been updated in index.php
2019-04-15 17:45:58 +02:00
nodiscc
b7aad51e8a
Merge pull request #1288 from shaarli/fix-mkdocs
...
docs: add readthedocs configuration file
2019-03-31 12:05:51 +00:00
nodiscc
6e76474c4d
docs: add readthedocs configuration file
...
workaround for mkdocs incompatibility with python 3.7
https://github.com/rtfd/readthedocs.org/issues/5250
2019-03-30 17:07:31 +01:00
ArthurHoaro
d3c813fc15
Merge pull request #1283 from llune/patch-1
...
add "Select all" string and French translation
2019-03-25 23:35:13 +01:00
ArthurHoaro
008b0f82b6
Merge pull request #1281 from llune/master
...
accessibility fixes
2019-03-25 23:34:47 +01:00
Luce Carević
1004fd7d59
add "Select all" string and French translation
2019-03-02 14:39:33 +01:00
Luce Carević
d3bbf9ee4d
Merge pull request #1 from llune/pr2
...
delete useless titles
2019-03-02 13:44:37 +01:00
Luce Carević
da815e3f2e
delete useless titles
2019-03-02 13:40:21 +01:00
Luce Carević
de07aad18f
fix empty links and hide <i> for screenreaders
2019-03-02 13:32:36 +01:00
Luce Carević
c31dd67c5d
footer and contentinfo
2019-03-02 12:56:08 +01:00
ArthurHoaro
90e048594a
Merge pull request #1272 from ArthurHoaro/feature/html-lang
...
Accessibility: specify the HTML lang attribute
2019-03-02 10:54:30 +01:00
ArthurHoaro
cc69aad4a9
Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieve
...
Do not try to retrieve thumbnails for internal link
2019-03-02 10:54:06 +01:00
272b07627b
Release v0.10.3
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlxxaB0XHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA328mfAf9GA0/rrA/5HMksQ2m9YKN7wJj
ytCpeGdVksdvm+XRQj8dMp0oZjL+AIuEdd60W9fhMg+lVDlt9kO9GJKDc2kwkinx
oNxXCl54BYfmlvaW98KF5GWLAkDAUFpaUDg91ZneD1kRXoU9y/NSNiKXZP+GV/L8
8Niu2z8smypLv0UaRGblpDY+HkVfZkoV2yZJBGEcS9b7wHPy8nVv6rqUb93b+EJM
IfooUj3DaCoa61dmTFa/a5oWnuu2Iu7F0SfMvL2rFFiMC22nXfSEGpfsKDeYihmG
fhlSo0Fa665o94BfoetuXNiE2IU5Kez/aDk7sNNKoOoMsbxJPtzg9A0hyKS6eA==
=xHH4
-----END PGP SIGNATURE-----
Merge tag 'v0.10.3' into myShaarli_commu
Release v0.10.3
2019-02-28 14:29:52 +01:00
Aurélien Tamisier
5bb384cd27
Merge pull request #1279 from virtualtam/changelog/v0.10.3
...
Update badges, changelog and documentation for v0.10.3
2019-02-24 15:51:01 +01:00
VirtualTam
86dcb9048f
Update badges, changelog and documentation for v0.10.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-02-24 15:44:12 +01:00
ArthurHoaro
f87dd90f7b
Merge pull request #1275 from ArthurHoaro/doc/drop-php70
...
Documentation: drop PHP 7.0 compatibility in Shaarli 11.x
2019-02-24 12:27:35 +01:00
ArthurHoaro
a8e7da0114
Do not try to retrieve thumbnails for internal link
...
Also adds a helper function to determine if a link is a note and apply it across multiple files.
2019-02-24 12:25:50 +01:00
ArthurHoaro
c21dcc8199
Merge pull request #1270 from ArthurHoaro/hotfix/sticky-warning
...
Fix a warning if links sticky status isn't set
2019-02-24 11:30:35 +01:00
ArthurHoaro
015314f3c6
Merge pull request #1269 from ArthurHoaro/feature/remove-redirector
...
Remove the redirector setting
2019-02-24 11:29:56 +01:00
ArthurHoaro
0ee11e9390
Merge pull request #1274 from ArthurHoaro/hotfix/css-buttons-mobile
...
Fix button overlapping on mobile in linklist
2019-02-24 11:17:05 +01:00
ArthurHoaro
c85b9758a6
Merge pull request #1268 from ArthurHoaro/hotfix/thumb-gd-disable
...
Fix thumbnails disabling if PHP GD is not installed
2019-02-24 11:16:02 +01:00
VirtualTam
1c03b65e2e
Release v0.10.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-02-23 16:33:36 +01:00
VirtualTam
2c16e8e9a8
fix: ensure HTML tags are stripped from OpenGraph description
...
Fixes https://github.com/shaarli/Shaarli/issues/1250
Relates to https://github.com/shaarli/Shaarli/issues/1242
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-02-23 16:28:01 +01:00
VirtualTam
43c77f658a
Merge commit '1826e383ecf501302974132fd443cf1ca06e10f6' into v0.10
2019-02-23 16:27:33 +01:00
nodiscc
3dc80d69ab
Merge pull request #1264 from shaarli/doc-fix-mkdocs-warnings
...
doc: fix invalid links
2019-02-09 18:52:40 +00:00
ArthurHoaro
8d03f705eb
Bulk action: set visibility
...
Added 2 buttons when link checkboxes are checked to set them either public or private.
Related to #572 #1160
2019-02-09 17:59:53 +01:00
ArthurHoaro
899d041137
Documentation: drop PHP 7.0 compatibility in Shaarli 11.x
...
related to #1249
2019-02-09 17:02:30 +01:00
ArthurHoaro
54ee240878
Fix button overlapping on mobile in linklist
2019-02-09 16:56:24 +01:00
ArthurHoaro
b49a04f796
Rewrite IP ban management
...
This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager.
IPs are now stored in the same format as the datastore, through FileUtils.
Fixes #1032 #587
2019-02-09 16:44:48 +01:00
ArthurHoaro
cb974e4747
Accessibility: specify the HTML lang attribute
...
The lang is based on the user defined one. If the language is automatic, no language will be specified.
Fixes #1216
2019-02-09 14:29:35 +01:00
ArthurHoaro
b790f900c9
Fix a warning if links sticky status isn't set
...
- initiate its status to false when the link is created
- if not defined, initiate its status to false (can happen if the updater hasn't run)
2019-02-09 14:04:16 +01:00
ArthurHoaro
520d29578c
Remove the redirector setting
...
Fixes #1239
2019-02-09 13:55:11 +01:00
ArthurHoaro
5bd62b5d53
Fix thumbnails disabling if PHP GD is not installed
2019-02-09 13:05:37 +01:00
ArthurHoaro
905f8675a7
Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-login
...
Do not check the IP address with session protection disabled
2019-02-09 12:36:31 +01:00
ArthurHoaro
7417e8ac4a
Merge pull request #1229 from ArthurHoaro/travis/php-7.3
...
Run Shaarli's tests against PHP 7.3 RC1 on Travis
2019-02-09 11:07:58 +01:00
ArthurHoaro
9f0c719c53
Run Shaarli's tests againt PHP 7.3 RC1 on Travis
2019-02-09 11:04:39 +01:00
nodiscc
8d1509e8a6
doc: fix invalid links
...
Fixes warnings from https://travis-ci.org/shaarli/Shaarli/jobs/486928133
2019-01-31 13:21:34 +00:00
nodiscc
7c13054038
Merge pull request #1261 from trailjeep/patch-1
...
Update Community-&-Related-software.md
2019-01-31 13:19:30 +00:00
nodiscc
0d41c8584c
Merge branch 'master' into patch-1
2019-01-31 13:13:34 +00:00
nodiscc
1173f8c87a
Merge pull request #1262 from trailjeep/patch-2
...
Update Community-&-Related-software.md
2019-01-31 13:12:22 +00:00
trailjeep
4d55e4f075
Update Community-&-Related-software.md
2019-01-26 15:51:40 -05:00
trailjeep
913c70d8e7
Update Community-&-Related-software.md
2019-01-26 14:06:54 -05:00
Aurélien Tamisier
e664865e2e
Merge pull request #1258 from virtualtam/refactor/phpdoc
...
Replace Doxygen with phpDocumentor to generate reference documentation
2019-01-23 22:14:32 +01:00
Aurélien Tamisier
92423ce58a
Merge pull request #1257 from virtualtam/security/composer-advisories
...
composer: enforce PHP security advisories
2019-01-23 22:12:52 +01:00
Aurélien Tamisier
586a9e0065
Merge pull request #1259 from virtualtam/fix/render/strip-opengraph-description
...
fix: ensure HTML tags are stripped from OpenGraph description
2019-01-21 10:54:30 +01:00
VirtualTam
49106a5d8c
fix: ensure HTML tags are stripped from OpenGraph description
...
Fixes https://github.com/shaarli/Shaarli/issues/1250
Relates to https://github.com/shaarli/Shaarli/issues/1242
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:58:09 +01:00
VirtualTam
9eb6055abb
doc: remove Doxygen configuration
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:44:21 +01:00
VirtualTam
7be2a2d5f4
doc: add Make target to run phpDocumentor with Docker
...
This target provides a convenient way for running phpDocumentor without
cluttering the system's configuration with PHP extensions, nor the
Composer dependencies.
See:
- https://hub.docker.com/r/phpdoc/phpdoc/dockerfile
- https://github.com/phpDocumentor/phpDocumentor2#via-docker
An alternative is to download the PHAR and run it locally:
- https://docs.phpdoc.org/getting-started/installing.html#phar
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:40:15 +01:00
VirtualTam
1c53591a43
doc: add phpDocumentor configuration
...
See:
- https://phpdoc.org/
- https://docs.phpdoc.org/references/configuration.html
- https://github.com/phpDocumentor/phpDocumentor2
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:24:58 +01:00
VirtualTam
8f4e9624e6
composer: enforce PHP security advisories
...
This adds roave/security-advisories to prevent installing PHP packages with
known vulnerabilities with Composer.
See:
- https://github.com/FriendsOfPHP/security-advisories
- https://github.com/Roave/SecurityAdvisories
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 21:35:13 +01:00
Aurélien Tamisier
ff3b5dc554
Merge pull request #1248 from virtualtam/refactor/namespacing
...
Ensure all PHP classes are properly namespaced
2019-01-18 21:26:03 +01:00
VirtualTam
dea72c711f
Optimize and cleanup imports
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-13 00:04:42 +01:00
VirtualTam
a43e7842e4
API: update test regexes to comply with PCRE2
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-13 00:04:42 +01:00
VirtualTam
1a55fc8d63
composer: add and document optional PHP extensions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-13 00:04:42 +01:00
VirtualTam
9585441734
namespacing: add plugin tests to \Shaarli\Plugin\[...]
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
e185038834
namespacing: \Shaarli\Plugin\PluginManager
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
349b014401
namespacing: \Shaarli\Netscape\NetscapeBookmarkUtils
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
a932f486f2
namespacing: \Shaarli\Router
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
9778a1551c
namespacing: \Shaarli\ApplicationUtils
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
bcf056c9d9
namespacing: \Shaarli\Updater
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 23:11:19 +01:00
VirtualTam
92c6439dbc
namespacing: add curl-ext to suggested dependencies
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
fe3713d2e5
namespacing: move LinkUtils along \Shaarli\Bookmark classes
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
6696729b88
namespacing: \Shaarli\Bookmark\LinkFilter
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
f24896b237
namespacing: \Shaarli\Bookmark\LinkDB
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
a0c4dbd91c
namespacing: \Shaarli\FileUtils
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
8c0f19c797
namespacing: \Shaarli\Render\{PageBuilder,ThemeUtils}
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
51753e403f
namespacing: move HTTP utilities along \Shaarli\Http\ classes
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
fb1b182fbf
namespacing: \Shaarli\Http\Url
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
00af48d9d2
namespacing: \Shaarli\Http\Base64Url
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
dfc650aa23
namespacing: \Shaarli\Feed\{Cache,CachedPage,FeedBuilder}
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
f3d2f25794
namespacing: \Shaarli\Exceptions\IOException
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
VirtualTam
bdc5152d48
namespacing: \Shaarli\History
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-12 22:47:48 +01:00
nodiscc
1826e383ec
Merge pull request #1233 from shaarli/doc-fix-homepage-icon
...
doc: fix homepage icon
2019-01-06 01:33:32 +00:00
nodiscc
a7c98a07d1
Merge pull request #1251 from shaarli/doc-update-php-compat
...
doc: update PHP compatibility table
2019-01-06 01:32:28 +00:00
nodiscc
02c70f624e
doc: fix homepage icon
...
The icon did not display properly on https://shaarli.readthedocs.io/en/master/
2019-01-06 02:10:04 +01:00
nodiscc
7062ef4ddd
doc: update PHP compatibility table
...
Ref https://github.com/shaarli/Shaarli/issues/1249
2018-12-09 14:40:04 +00:00
Aurélien Tamisier
1004742f09
Merge pull request #1234 from virtualtam/lint
...
Setup PHPCS and cleanup linter configuration
2018-12-02 22:47:41 +01:00
VirtualTam
9d9f6d75b9
lint: fix line-length warnings
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
067c2dd8f5
lint: apply phpcbf to tests/
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
93bf0918fa
lint: apply phpcbf to index.php
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
a0ab3c3f68
lint: apply phpcbf to plugins/
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
f211e417bf
lint: apply phpcbf to application/
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
04ec8fedd9
lint: setup PHPCS for PSR-1 and PSR-2
...
Relates to https://github.com/shaarli/Shaarli/issues/95
See:
- https://github.com/squizlabs/PHP_CodeSniffer
- https://github.com/squizlabs/PHP_CodeSniffer/blob/master/phpcs.xml.dist
- https://www.php-fig.org/psr/psr-1/
- https://www.php-fig.org/psr/psr-2/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
VirtualTam
37c9c6b4e6
lint: remove unused tools
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-12-02 22:39:16 +01:00
Aurélien Tamisier
5e0a898bb1
Merge pull request #1247 from llune/patch-5
...
add label to form - accessibility issue
2018-12-02 13:56:16 +01:00
Aurélien Tamisier
027ff329a1
Merge pull request #1246 from llune/patch-4
...
fix translation string
2018-12-02 13:55:58 +01:00
Luce Carević
0c42c5e359
add label to form - accessibility issue
...
Don't use placeholder instead of label for form input.
2018-11-30 20:39:13 +01:00
Luce Carević
db06c261f6
fix translation string
2018-11-30 20:36:10 +01:00
ArthurHoaro
d53d9d01f7
Merge pull request #1236 from bisherbas/patch-1
...
Update session start condition
2018-11-15 20:10:47 +01:00
Bish Erbas
f6380409ac
Update session start condition
...
Recommended method for PHP >= 5.4.0 as seen here https://stackoverflow.com/questions/6249707/check-if-php-session-has-already-started
Per https://shaarli.readthedocs.io/en/master/Server-configuration/ Shaarli supports PHP >= 5.6
2018-10-31 09:09:35 -04:00
Aurélien Tamisier
a605982fa9
Merge pull request #1235 from ilesinge/patch-2
...
Dead link on dead link detector tool
2018-10-20 12:28:01 +02:00
Alexandre G.-Raymond
6fd287a0a2
Dead link on dead link detector tool
...
Author's repo moved to Framagit
2018-10-20 11:58:49 +02:00
Aurélien Tamisier
d37348efe2
Merge pull request #1230 from virtualtam/composer/netscape-parser
...
Composer: bump netscape-bookmark-parser to 2.1
2018-10-12 23:07:38 +02:00
nodiscc
d3734b0652
Merge pull request #1232 from shaarli/doc-rm-firefox-share
...
remove firefox share documentation
2018-10-11 10:03:48 +00:00
nodiscc
afe4377e4d
Merge pull request #1221 from nodiscc/doc-refactor-index-features2
...
doc: refactor documentation homepage
2018-10-11 08:09:45 +00:00
nodiscc
37bbfb5f65
remove firefox share documentation
...
Firefox Share integration has been removed in https://github.com/shaarli/Shaarli/pull/1026
Firefox Share is not available anymore in any ESR/release versions of Firefox
2018-10-11 09:51:14 +02:00
nodiscc
1a9515ff6f
Merge pull request #1231 from shaarli/revert-1220-url-filter
...
Revert part of #1220
2018-10-11 07:46:15 +00:00
nodiscc
8b2afee16b
Revert part of #1220
...
Fixes #1177
The `url` template filter is [only supported in Mkdocs 1.0+](https://github.com/mkdocs/mkdocs/blob/master/docs/about/release-notes.md#internal-refactor-of-pages-files-and-navigation )
Readthedocs.org uses Mkdocs `0.17.3 ` while `make htmldoc` fetches the [latest version from pypi](https://pypi.org/project/mkdocs/ ) which is `1.0.4`.
Following https://github.com/shaarli/Shaarli/pull/1220 , building the docs fails with https://readthedocs.org/projects/shaarli/builds/7886340/
2018-10-09 19:35:56 +02:00
VirtualTam
b41c5ab04c
Composer: bump netscape-bookmark-parser to 2.1
...
Relates to https://github.com/shaarli/Shaarli/issues/1227
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-10-06 17:30:16 +02:00
ArthurHoaro
e95247d41d
Merge pull request #1205 from ArthurHoaro/feature/opengraph
...
Add OpenGraph meta tags on permalink page
2018-10-06 13:31:07 +02:00
ArthurHoaro
a062416918
Merge pull request #1208 from ArthurHoaro/feature/select-all
...
Add a button to toggle all checkboxes of displayed links
2018-10-06 13:30:29 +02:00
ArthurHoaro
8cac122086
Merge pull request #1211 from ArthurHoaro/hotfix/img-request
...
Fix a bug making thumbnail to request the current page
2018-10-06 13:29:10 +02:00
ArthurHoaro
fa8100c088
Merge pull request #1212 from ArthurHoaro/hotfix/hashtag-md-escape
...
Fix hashtags with markdown escape enabled
2018-10-06 13:28:51 +02:00
ArthurHoaro
86e1bc713f
Merge pull request #1144 from ArthurHoaro/feature/sticky
...
Add a button to set links as sticky
2018-10-06 13:22:59 +02:00
ArthurHoaro
d9bf5b31ff
Sticky feature - Add translation and display for logged out users
2018-10-06 13:13:57 +02:00
ArthurHoaro
4154c25b5f
Add a button to set links as sticky
...
Meaning that they always appear on top of all links
Fixes #186
2018-10-06 12:55:05 +02:00
71071f144a
Add filter for note
2018-10-05 15:32:27 +02:00
ee610d4505
Fix picwall img url for self note
2018-10-05 14:06:27 +02:00
3801d999a0
Update to V0.10.3
2018-10-05 11:55:51 +02:00
nodiscc
10a7b5cee9
Merge pull request #1220 from nodiscc/doc-robots-noindex-nofollow
...
add "noindex, nofollow" HTML robots meta-tag to documentation pages
2018-10-03 19:29:20 +00:00
94716fb2ba
Release v0.10.2
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAltu2K0ACgkQOzJIyqqw
gW4fpg/+MfXOj0d4sR3QMgafKHAVtiVmrOydVwqFOjVe+BOjpxHliDtOqo++cquF
umZ3Ln9D8R3Wocw5cdLOn0/WbS+xMqyLmJWkGb1sn2NS8NWINXwCw6A8QuYF789p
NmfmhYnXCW8OoX3TWLT1RR/0UL0V2ZJsMYTWfngxM4EVSPkaZc8C7Sjqs4hL/m4w
uPcHgsCziZjxtGmdFUKLEEoFwxWKIvZTnYNTVegD6uHGb7jNZGXz1kizIpsXHC3p
LffOpx1bamTbPoNhM0PyTTRAvNF3qBWsWY58Haldv9R60KsxJ7Fxc9PXgt02vUfw
dGLMuMEd98iArAlovqQCy4/f+r1JhqJUsfj2IDJM5QSTiYWJL6zShHyHoWWifU07
4eZCOZce3kskRd8kl/0TRqdFKBB1RxIDtEZRBbmIhnkUt8E2fZG+7XPvZiIeTZSc
9/8y0KAxBnOuWtLny/NE6kS6yNUSlYooTU6kkDZ4lvsJFpHlQKwwuoFDcsD6oY0k
yZ7lCAJht645pEQAF9b7WaB+qiE55suWFUcXM/uHqRdvl+DhEJE5C/BD7orW2mi9
CVfjmqEz5UFkalG7cZpb/NB1Rtcm1YT1NlY0h1YMRtT6ZILkgUNZLWb6tuZ2e0CS
sPvVzSNzyJmw5vRC6MtwAJzRRkqa1cFJ58vnQB1n8N65n/mAFNA=
=+fbH
-----END PGP SIGNATURE-----
Merge tag 'v0.10.2' into myShaarli_commu
Release v0.10.2
2018-10-01 15:51:33 +02:00
ArthurHoaro
4adeffd7f4
Merge pull request #1207 from ArthurHoaro/feature/cors
...
Add CORS headers to REST API responses
2018-09-20 23:34:59 +02:00
ArthurHoaro
a4fbe88b6d
Merge pull request #1215 from ArthurHoaro/hotfix/tag-deletion
...
Fix a JS bug preventing AJAX tag deletion to work
2018-09-20 23:34:44 +02:00
ArthurHoaro
bede8e1b63
Merge pull request #1213 from ArthurHoaro/plugins/isso-icon
...
Isso plugin: add an icon in linklist if enabled
2018-09-20 23:33:44 +02:00
nodiscc
6c44d604a1
doc: server config: basic usage of robots.txt/HTML robots meta-tag/crawler control mechanisms
2018-09-09 16:21:58 +02:00
nodiscc
2b4f391559
add "noindex, nofollow" HTML robots meta-tag to documentation pages
...
- Customize the "readthedocs" mkdocs theme: https://www.mkdocs.org/user-guide/styling-your-docs/#customizing-a-theme
- Adds a '<meta name="robots" content="noindex, nofollow">' HTML tag on each page
- Do not include robots directive on readthedocs.org, only in local builds
2018-09-09 16:21:03 +02:00
nodiscc
b817fb0d95
documentation: refactor documentation homepage
...
- simplify/organize feature list and contributing section
- move bug reporting/contact information to Contributing section
- unclutter
Ref https://github.com/shaarli/Shaarli/issues/1148#issuecomment-397871451 and https://github.com/shaarli/Shaarli/issues/598
2018-08-30 21:09:02 +02:00
ArthurHoaro
4fa9a3c5d8
Fix a JS bug preventing AJAX tag deletion to work
...
Fixes #1214
2018-08-16 17:25:47 +02:00
ArthurHoaro
0e54e1059f
Isso plugin: add an icon in linklist if enabled
...
Fixes #1075
2018-08-14 13:39:31 +02:00
ArthurHoaro
cb7940e2de
Fix hashtags with markdown escape enabled
...
They're now transformed to markdown syntax links before processing them through Parsedown.
Fixes #1210
2018-08-14 12:26:51 +02:00
ArthurHoaro
8c75c43e7e
Fix a bug making thumbnail to request the current page
2018-08-14 11:43:54 +02:00
ArthurHoaro
f28b73b21f
Merge pull request #1209 from ArthurHoaro/hotfix/history-delete
...
History: fix a bug on bulk deletion where only one deletion were regi…
2018-08-13 13:24:01 +02:00
ArthurHoaro
b54faf4fd9
History: fix a bug on bulk deletion where only one deletion were registred
2018-08-13 13:18:31 +02:00
ArthurHoaro
fc574e6454
Add a button to toggle all checkboxes of displayed links
...
Related to #1160
2018-08-13 13:13:26 +02:00
ArthurHoaro
83eab29ef8
Merge pull request #1206 from ArthurHoaro/hotfix/search-input-size
...
Fix input size for dropdown search form
2018-08-13 12:23:51 +02:00
ArthurHoaro
5d9bc40d7e
Add CORS headers to REST API responses
...
Fixes #1174
2018-08-13 12:21:10 +02:00
ArthurHoaro
a120fb2977
Add OpenGraph meta tags on permalink page
...
Includes:
- og:title
- og:type -> article
- og:image -> if there is a thumbnail
- og:url -> permalink
- og:description -> first 300 chars of raw description
- article:published_time
- article:modified_time
- article:tag -> one OG meta tag for each shaare tag
Fixes #258
2018-08-13 10:55:48 +02:00
ArthurHoaro
d94e6e69dd
Fix input size for dropdown search form
2018-08-13 10:55:13 +02:00
ArthurHoaro
14077272f4
Merge pull request #1193 from llune/patch-1
...
Update French translation
2018-08-13 10:48:36 +02:00
ArthurHoaro
5de61c2ca7
badge
2018-08-11 14:39:03 +02:00
ArthurHoaro
630ebca2b6
Bump Shaarli version to v0.10.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-08-11 14:37:33 +02:00
ArthurHoaro
2b12812e77
Bump Shaarli version to v0.10.1
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-08-11 14:37:02 +02:00
ArthurHoaro
dd8de81ee3
Bump to v0.10.0
2018-08-11 14:37:02 +02:00
ArthurHoaro
382869ad54
CHANGELOG
2018-08-11 14:35:58 +02:00
ArthurHoaro
5190466414
Merge pull request #1204 from ArthurHoaro/hotfix/docker-build-failure
...
Fix docker build
2018-08-11 14:34:05 +02:00
ArthurHoaro
5e66ba1882
Fix docker build
...
WT has php-gd as a requirement, which isn't available in composer docker image
2018-08-11 14:27:17 +02:00
ArthurHoaro
2302347524
Badge
2018-08-11 13:55:30 +02:00
ArthurHoaro
f9bc4f9e79
Merge pull request #1203 from ArthurHoaro/changelog
...
CHANGELOG
2018-08-11 13:50:52 +02:00
ArthurHoaro
69a15872d0
Update AUTHORS
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-08-11 13:49:23 +02:00
ArthurHoaro
6a7815951c
CHANGELOG
2018-08-11 13:47:41 +02:00
ArthurHoaro
dc5e094483
Merge pull request #1202 from ArthurHoaro/composer
...
Upgrade composer - web-thumbnailer v1.3.0
2018-08-11 13:37:05 +02:00
ArthurHoaro
2c4170553f
Merge pull request #1200 from ArthurHoaro/hotfix/htaccess-version
...
Use version condition in the root .htaccess
2018-08-11 13:36:55 +02:00
ArthurHoaro
1c88a7b33e
Merge pull request #1199 from ArthurHoaro/hotfix/thumbnails-edit-link
...
Fix issue 'You are not authorized to add a link' with thumbnails enabled
2018-08-11 13:36:47 +02:00
ArthurHoaro
62f5a75813
Upgrade composer - web-thumbnailer v1.3.0
2018-08-11 13:26:34 +02:00
ArthurHoaro
dccd62cbd6
Merge pull request #1195 from llune/patch-3
...
Delete redundant titles
2018-08-10 17:47:43 +02:00
ArthurHoaro
8aca613b07
Use version condition in the root .htaccess
...
Related to #1196
2018-08-10 17:45:29 +02:00
ArthurHoaro
b5c368b858
Fix issue 'You are not authorized to add a link' with thumbnails enabled
...
Do not try to alter the datastore by updating thumbnails if the user isn't logged in.
Also, do not enable thumbnails if PHP GD extension is not installed/loaded
2018-08-10 17:09:51 +02:00
ArthurHoaro
fa5012cb04
Merge pull request #1194 from llune/patch-2
...
empty alt on logo image
2018-08-06 19:06:42 +02:00
llune
be5db0a5cf
Delete redundant titles
...
Redundant titles are an accessibility issue and should be avoided.
See : https://accessibilitytips.com/2008/04/14/avoiding-redundant-title-attributes/
2018-08-02 22:48:00 +02:00
llune
667963435f
alt should be empty
2018-08-02 21:23:34 +02:00
llune
a71e1aa73e
empty alt on logo image
...
The alt does not provide any useful information for screenreader users. It just adds noise.
2018-08-02 21:21:00 +02:00
llune
d0e8ca9224
update translation
2018-08-02 21:11:13 +02:00
llune
a71d6641f6
fix boutton
2018-08-02 20:49:23 +02:00
llune
9c91a17ba8
Maj French translation
2018-08-02 20:47:47 +02:00
48ab8cd53d
Release v0.9.7
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlsqZ3wXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA32+0eQf+PsLsgP5xg9Tm06+qTptfvIjt
RlupVU4BJTeTNcDdwqMduyvAlM+mpLPcuAnZYsPhv9O/zyT12TPStCPwOG+ETkgS
QdrJ1X+vc2vb9tjT/gs5p9cfqa9FZQTEVn7jdztFO67fZ1BSB9fSEIXKKr/dG13B
QV3lQE36mVyPm/AXf7iS+0enyCqw9M7gtYqCEMYPeAFoM7E/obRbN3sUamkuonjx
ST2jtg7hmyzrq1/HM9UwbLiPZJX/XKCxhrDIAs7sxnWg/frwJeMAgoIy/c3FjdhK
BMNA5qrEvDOFK6F+WjEhlvSNfKnE5vykObMpP+VL36ID//HEc+BIWBgZAPa+ng==
=qqHr
-----END PGP SIGNATURE-----
Merge tag 'v0.9.7' into myShaarli_commu
Release v0.9.7
2018-07-31 14:38:47 +02:00
ArthurHoaro
75c4b0d03b
Merge pull request #1191 from ArthurHoaro/hotfix/daily-thumb
...
Fix fatal error on daily page: use new thumbnail system
2018-07-30 18:29:06 +02:00
ArthurHoaro
bf3c9934d2
Fix fatal error on daily page: use new thumbnail system
...
Also fix:
* include the login manager in the daily RSS feed function
* remove redirector setting in the vintage theme
Fixes #1190
2018-07-29 17:49:53 +02:00
ArthurHoaro
1412d2c245
Merge pull request #1188 from ArthurHoaro/hotfix/release-include-libs
...
Include assets in the release_archive Makefile target
2018-07-29 17:45:54 +02:00
ArthurHoaro
a136a427ae
Include assets in the release_archive Makefile target
2018-07-28 19:52:47 +02:00
ArthurHoaro
a4f0509a77
Merge pull request #1026 from ArthurHoaro/hotfix/remove-firefox-social-api
...
Remove Firefox Social API shaare
2018-07-28 11:28:49 +02:00
ArthurHoaro
e87f57c758
Remove Firefox Social API shaare
...
Firefox Social support has been dropped in Firefox 57.
Related to #1023
2018-07-28 11:26:12 +02:00
ArthurHoaro
ab6c848c86
Update README badges
2018-07-28 10:45:17 +02:00
ArthurHoaro
31d160d3dc
Merge pull request #1186 from ArthurHoaro/changelog
...
v0.10: changelog, authors and dependencies
2018-07-28 10:39:05 +02:00
ArthurHoaro
1df447b262
v0.10: changelog, authors and dependencies
2018-07-28 10:35:43 +02:00
ArthurHoaro
ad5f47adba
Merge pull request #687 from ArthurHoaro/web-thumb
...
Use web-thumbnailer to retrieve thumbnails
2018-07-28 09:41:29 +02:00
Aurélien Tamisier
8fdd65b884
Merge pull request #1168 from virtualtam/docker/compose
...
Provide a Docker Compose example
2018-07-27 19:25:52 +02:00
Aurélien Tamisier
d8e4bf1535
Merge pull request #1185 from alemairebe/master
...
fix and simplify Dockerfile for armhf
2018-07-27 19:22:49 +02:00
Aurélien Tamisier
aeb8586be4
Merge pull request #1184 from virtualtam/workaround/rtfd-mkdocs
...
Disable MkDocs' strict mode for ReadTheDocs builds to pass
2018-07-27 19:22:04 +02:00
Adrien le Maire
e3af34d06d
fix and simplify Dockerfile for armhf
2018-07-25 12:54:22 +02:00
VirtualTam
9618e45f4b
Disable MkDocs' strict mode for ReadTheDocs builds to pass
...
Relates to https://github.com/shaarli/Shaarli/issues/1179
See:
- https://www.mkdocs.org/user-guide/configuration/#build-directories
- https://github.com/rtfd/readthedocs.org/issues/4314
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-24 23:55:09 +02:00
nodiscc
d6e392a9cb
Merge pull request #1181 from ArthurHoaro/docs/api-debug
...
Documentation - REST API - Mention dev.debug mode
2018-07-18 14:19:51 +02:00
ArthurHoaro
d9ba1cdd44
Do not check the IP address with session protection disabled
...
This allows the user to stay logged in if his IP changes.
Fixes #1106
2018-07-17 14:13:37 +02:00
ArthurHoaro
40f0ff2236
Documentation - REST API - Mention dev.debug mode
2018-07-17 13:54:15 +02:00
ArthurHoaro
7b4fea0e39
Bunch of improvement for thumbnails integration:
...
- add a default thumb size value (125x90px)
- improve private vertical bar visual, especially with thumbnails
- translations
- add a sync thumbs button in tool and empty picwall page
- fixes WT download mode in JSON config
2018-07-17 13:16:50 +02:00
nodiscc
5d32c50ad7
Merge pull request #1176 from shaarli/fix-broken-doc-links
...
Fix broken documentation links in page footer and pluginsadmin
2018-07-16 15:39:35 +02:00
nodiscc
6ecc4664b1
Merge pull request #1180 from virtualtam/docker/update
...
Bump the base Docker image to alpine:3.8
2018-07-16 14:45:22 +02:00
VirtualTam
be53fa40ff
Bump the base Docker image to alpine:3.8
...
Major change:
- PHP 7.2
Changelog:
- https://www.alpinelinux.org/posts/Alpine-3.8.0-released.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-15 22:06:22 +02:00
VirtualTam
a0c34a4976
Docs: Add an installation guide for Debian 9 + Docker
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-12 22:50:30 +02:00
nodiscc
738b1873c3
tpl: default/vintage: pluginsadmin: fix link to documentation
...
Ref #930
2018-07-12 22:12:55 +02:00
nodiscc
9cc6ea6560
Merge pull request #1178 from pips-/patch-2
...
Upgrade-and-migration.md: typo installation link
2018-07-12 22:01:21 +02:00
VirtualTam
1cafacfedd
Docs: rename 'How-to' section to 'Guides'
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-12 21:48:48 +02:00
VirtualTam
81c801300b
Provide a Docker Compose example
...
Closes https://github.com/shaarli/Shaarli/issues/1010
See:
- https://hub.docker.com/_/traefik/
- https://docs.traefik.io/configuration/backends/docker/
- https://docs.traefik.io/user-guide/docker-and-lets-encrypt/
- https://github.com/containous/traefik/pull/2798
- https://github.com/containous/traefik/issues/3298
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-12 21:48:48 +02:00
ArthurHoaro
c9fcaaee93
Merge pull request #1175 from ArthurHoaro/docs/apache-proxy-preserve-host
...
Include ProxyPreserveHost directive in Apache's proxy doc
2018-07-10 18:30:15 +02:00
ArthurHoaro
c2c2338f9a
Merge pull request #1141 from ArthurHoaro/api/tags
...
Implements Tags endpoints for Shaarli's REST API
2018-07-10 18:06:26 +02:00
pips
f39b1242a8
Upgrade-and-migration.md: install link typo
...
second one
2018-07-10 00:38:59 +02:00
pips
3028a84c13
Upgrade-and-migration.md: typo installation link
...
Install page is not correctly linked
2018-07-10 00:29:24 +02:00
nodiscc
5045585f24
doc: reverse proxy config: proxypreservehost: wording, link to apache documentation, typo
2018-07-08 19:54:48 +02:00
ArthurHoaro
e7f4a03d24
Include ProxyPreserveHost directive in Apache's proxy doc
2018-07-05 21:13:09 +02:00
ArthurHoaro
6410bf9670
API - Apache - Specify allowed HTTP method in .htaccess
2018-07-05 20:47:26 +02:00
ArthurHoaro
7c57bd9538
GetTagsTest - Update to alpha sort for equal occurences
2018-07-05 20:45:03 +02:00
ArthurHoaro
b302b3c584
Thumbnails: add a common mode to only retrieve thumbs from popular media websites
2018-07-05 20:34:22 +02:00
ArthurHoaro
fcba541e2f
Bump WT version
2018-07-05 20:34:22 +02:00
ArthurHoaro
28f2652460
Add a page to update all thumbnails through AJAX requests in both templates
2018-07-05 20:34:22 +02:00
ArthurHoaro
787faa42f3
Take code review into account
...
Upgrade web-thumbnailer and display thumbs right after download
2018-07-05 20:34:22 +02:00
ArthurHoaro
8b5b7dcc83
Add Link structure page to the documentation
2018-07-05 20:31:35 +02:00
ArthurHoaro
e85b7a05a1
Update thumbnail integration after rebasing the branch
2018-07-05 20:31:35 +02:00
ArthurHoaro
a3724717ec
ConfigManager: add a method to remove an entry
2018-07-05 20:31:35 +02:00
ArthurHoaro
1b93137e16
Use web-thumbnailer to retrieve thumbnails
...
* requires PHP 5.6
* use blazy on linklist since a lot more thumbs are retrieved
* thumbnails can be disabled
* thumbs size is now 120x120
* thumbs are now cropped to fit the expected size
Fixes #345 #425 #487 #543 #588 #590
2018-07-05 20:31:35 +02:00
VirtualTam
edb4a4d9c9
Merge pull request #1173 from virtualtam/docker/cache-volume
...
Docker: expose a volume for the thumbnail cache
2018-07-05 18:31:34 +02:00
VirtualTam
186d9eaa57
Docker: expose a volume for the thumbnail cache
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-05 18:17:07 +02:00
VirtualTam
5dc4b8ab69
Merge pull request #1171 from virtualtam/docker/alpine-3.7
...
Bump the base Docker image to alpine:3.7
2018-07-01 23:22:48 +02:00
VirtualTam
508397a88e
Bump the base Docker image to alpine:3.7
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-07-01 16:40:26 +02:00
VirtualTam
d9a0b52276
Merge pull request #1167 from virtualtam/mkdocs
...
Improve Mkdocs build process, fix formatting issues
2018-06-28 12:52:50 +02:00
VirtualTam
87f1431247
Fix broken documentation links and list formatting
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:22:33 +02:00
VirtualTam
972cd80085
Run MkDocs in strict mode
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:21:53 +02:00
VirtualTam
fd2e8fad79
Let MkDocs clean previously generated HTML pages
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:20:57 +02:00
VirtualTam
c1503307ce
Add a Travis environment for MkDocs
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-26 22:19:21 +02:00
VirtualTam
c429f28ad4
Merge pull request #1165 from fbartels/patch-1
...
add Cloudron to related software
2018-06-26 21:48:01 +02:00
VirtualTam
52731281bc
Merge branch 'master' into patch-1
2018-06-26 21:47:27 +02:00
VirtualTam
ab752eaf15
Merge pull request #1164 from lapineige/patch-2
...
Other platform integration: add Yunohost install badge
2018-06-26 21:44:50 +02:00
Felix Bartels
359696dcbb
add Cloudron to related software
2018-06-25 10:05:04 +02:00
lapineige
de15ed1def
Other platform integration: add Yunohost install badge
...
Add a button to install with Yunohost in a one-click way.
2018-06-25 09:28:29 +02:00
nodiscc
969ed87fb1
Merge pull request #1155 from shaarli/doc-improvements
...
Improve documentation (#598 , #1105 )
2018-06-21 19:34:11 +02:00
VirtualTam
7519388dd6
Merge pull request #1154 from virtualtam/changelog
...
Update AUTHORS and CHANGELOG
2018-06-20 17:18:47 +02:00
VirtualTam
6e1df6013e
Update version badges and installation instructions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-20 17:14:30 +02:00
VirtualTam
47ddfc57a0
Update AUTHORS and CHANGELOG
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-20 17:11:09 +02:00
VirtualTam
6325e74caa
Merge pull request #1158 from virtualtam/master-dockerfile
...
Master: Build the Docker images from the local sources
2018-06-20 16:59:29 +02:00
VirtualTam
658988f3ae
Bump Shaarli version to v0.9.7
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-20 16:40:50 +02:00
VirtualTam
5420c87e22
Merge pull request #1157 from virtualtam/v0.9-dockerfile
...
v0.9 - Build the Docker images from the local sources
2018-06-20 16:29:27 +02:00
nodiscc
bdfb967ca2
Improve documentation ( #598 , #1105 )
...
* rework/simplify server configuration/requirements pages (consolidate/simplify SSL/TLS/apache configuration)
* update index.md introduction
* remove external images (badges)
* Fix COPYING link and documentation links
* Update features list
* dedpulicate information
* remove server-requirements.md and move relevant doc to other files
* TODO: rework nginx configuration (single configuration example, with commented out blocks for special cases)
* TODO: consolidate download/install/configuration pages
* remove blank lighttpd configuration section
* remove Required? column for composer packages, all libraries are mandatory
* php 7.2 compatibilty
* clarify that certbot binary and paths may vary depending on install method
2018-06-17 18:56:00 +02:00
VirtualTam
c064d3179e
docker: update image and usage documentation
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-17 13:45:39 +02:00
VirtualTam
decae8c119
docker: build the images from the local sources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-17 13:21:01 +02:00
VirtualTam
2a3fe990dd
docker: build the images from the local sources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-17 01:02:50 +02:00
VirtualTam
7cf436cea4
docker: remove 'stable' resources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:55:44 +02:00
VirtualTam
1168abb484
docker: move testing resources to tests/docker
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:54:10 +02:00
VirtualTam
865d57b84a
docker: remove current image build resources
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:29:47 +02:00
VirtualTam
47095cb333
docker: move testing resources to tests/docker
...
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-16 23:28:55 +02:00
ArthurHoaro
26b0b20228
Merge pull request #1152 from ArthurHoaro/hotfix/install-error
...
Fixes an error during the install
2018-06-07 20:00:30 +02:00
ArthurHoaro
cad4251ad7
Fixes an error during the install
...
was out of scope
2018-06-07 19:58:58 +02:00
ArthurHoaro
ea700dd89f
Merge pull request #1151 from kramred/master
...
Add <meta> tag for referrer same-origin also to new default tpl
2018-06-07 19:17:32 +02:00
Mark Schmitz
ee93a09387
remove environment specific .gitignore entries
2018-06-07 18:11:04 +01:00
Mark Schmitz
0deaedeeae
Merge remote-tracking branch 'upstream/master'
2018-06-07 14:23:53 +01:00
Mark Schmitz
f6b3295d28
also for new default tpl add meta tag to block sending the referrer vintage -> #692
2018-06-07 14:23:41 +01:00
ArthurHoaro
d3f42ca487
Implements Tags endpoints for Shaarli's REST API
...
Endpoints:
* List All Tags [GET]
* Get a tag [GET]
* Update a tag [PUT]
* Delete a tag [DELETE]
Fixes #904
References shaarli/api-documentation#34
2018-06-04 18:51:22 +02:00
ArthurHoaro
17e45b2e9c
Merge pull request #1143 from ArthurHoaro/sort-equal-tags
...
Fix order of tags with the same number of occurrences
2018-06-04 18:34:50 +02:00
VirtualTam
d9cd27322a
Merge pull request #1086 from virtualtam/refactor/login
...
Refactor user login and session management
2018-06-03 18:26:32 +02:00
VirtualTam
8edd7f1588
SessionManager+LoginManager: fix checkLoginState logic
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
704637bfeb
Add test coverage for LoginManager methods
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:26 +02:00
VirtualTam
ebf6151738
SessionManager: remove unused UID token
...
There already are dedicated tokens for:
- CSRF protection
- user stay-signed-in feature, via cookie
This token was most likely intended as a randomly generated,
server-side, secret key to be used when generating hashes.
See http://sebsauvage.net/wiki/doku.php?id=php:session [FR]
Relevant section:
Une clé secrète unique aléatoire est générée côté serveur (et jamais
envoyée). Elle peut servir pour signer les formulaires (HMAC) ou
générer des token de formulaires (protection contre XSRF).
Voir $_SESSION['uid'].
Translation:
A unique, server-side secret key is randomly generated (and never
transmitted). It can be used to sign forms (HMAC) or generate form
tokens (protection against XSRF).
See $_SESSION['uid']
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
c689e10863
Refactor LoginManager stay-signed-in token management
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
51f0128cdb
Refactor session and cookie timeout control
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
fab87c2696
Move LoginManager and SessionManager to the Security namespace
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
68dcaccfa4
LoginManager: remove unused parameter
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
89ccc83ba4
Login: update PageBuilder and default/vintage templates
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
8474208474
Pass the client IP ID to LoginManager
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
VirtualTam
c7721487b2
Delegate session operations to SessionManager
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:45:54 +02:00
VirtualTam
1b28c66cc7
Document LoginManager properties
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
63ea23c2a6
Refactor user credential validation at login time
...
Changed:
- move login/password verification to LoginManager
- code cleanup
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
49f1832316
Refactor PHP session handling during login/logout
...
Changed:
- move $_SESSION handling to SessionManager
- code cleanup
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
db45a36a53
Refactor SessionManager::$INACTIVITY_TIMEOUT
...
Changed:
- move INACTIVITY_TIMEOUT to SessionManager
- inject a dependency to a SessionManager instance in:
- fillSessionInfo()
- setup_login_state()
- check_auth()
- cleanup related code and comments
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
VirtualTam
88110550b8
Refactor client session hijacking protection
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-05-29 22:53:54 +02:00
ArthurHoaro
f8c5660df8
Tag sort - UT + comment + fix filter and visibility
...
Before this, linksCountPerTag call without would have ignored visibility parameter
2018-05-29 20:52:30 +02:00
ArthurHoaro
8f816d8ddf
Merge pull request #1135 from ArthurHoaro/ci/csslint
...
Reformat SCSS to SASS format and run SASSLint in CI
2018-05-29 20:20:02 +02:00
ArthurHoaro
cdebf7f9b4
Merge pull request #1140 from ArthurHoaro/hotfix/markdown-rss-permalink
...
Fix feed permalink rendering with markdown escape set to true
2018-05-29 19:33:20 +02:00
ArthurHoaro
f28396a2f8
Fix order of tags with the same number of occurrences
...
Fixes #1142
2018-05-19 15:47:55 +02:00
ArthurHoaro
dd6794cff8
Fix feed permalink rendering with markdown escape set to true
...
Fixes #1134
2018-05-19 12:55:43 +02:00
ArthurHoaro
73da3a269b
Merge pull request #1138 from ArthurHoaro/stakali
...
Adds Stakali Android app to 3rd party lists
2018-05-17 09:19:12 +02:00
ArthurHoaro
4de024d7c3
Adds Stakali Android app to 3rd party lists
2018-05-13 12:35:30 +02:00
ArthurHoaro
03b483aa45
Add SASSLint makefile target, and run it in CI
...
Also move ESLint and SASSLint config files to a dedicated .dev folder
2018-05-10 13:29:47 +02:00
ArthurHoaro
9d0fc86250
Add classes to default template to avoid using IDs in SCSS
2018-05-10 13:26:11 +02:00
ArthurHoaro
c69585f303
Reformat default theme SCSS to match SASS rules
2018-05-10 13:25:07 +02:00
ArthurHoaro
73c5af594c
Merge pull request #1116 from ArthurHoaro/ci/eslint
...
Use Travis stages to run JS tests separately
2018-05-06 12:43:33 +02:00
ArthurHoaro
16d35cf77e
Use Travis stages to run JS tests separately
2018-05-05 14:12:46 +02:00
ArthurHoaro
3e35fc10e5
Merge pull request #1133 from ArthurHoaro/hotfix/title-dl
...
Title retrieval fixes
2018-05-02 18:28:09 +02:00
ArthurHoaro
a1b727efb7
Support redirection in cURL download callback
2018-05-01 16:44:51 +02:00
ArthurHoaro
8d2cac1be6
Fix parameter order which was preventing max_dl parameter to work properly
2018-05-01 16:40:08 +02:00
nodiscc
3c0e27eec7
Merge pull request #1081 from nodiscc/doc-merge-sharing
...
doc: merge all sharing methods under a single "Sharing content" page
2018-04-18 19:57:36 +02:00
Buster One
7ca124079e
German language created ( #1114 )
...
* Added german language selection
* German language file created
* typo
* extra space removed and typo corrected
* lines 1314 through 1408 removed as suggested
2018-04-15 14:53:09 +02:00
nodiscc
67a5c6d6f3
remove duplicate translation
2018-04-14 14:22:02 +02:00
nodiscc
2e47af897e
doc: sharing: add link to REST API documentation
2018-04-14 14:15:00 +02:00
nodiscc
630790a1aa
doc: optimize PNGs with pngcrush
...
164k -> 156k
2018-04-14 14:15:00 +02:00
nodiscc
bf7993dceb
doc: add edit_icon.png to git repository
...
optimize icon with optipng/pngcrush (3.30%)
2018-04-14 14:15:00 +02:00
nodiscc
6af9363aa5
update PO strings for Edit/New Shaare
...
update french translation
2018-04-14 14:15:00 +02:00
nodiscc
5991f7a993
default/editlink.tpl: title: Shaare -> New Shaare
2018-04-14 14:15:00 +02:00
nodiscc
80786e150d
doc: merge all sharing methods under a single "Sharing content" page
...
* formatting, wording, reordering, general improvements
* move blog/pastebin/notepad item from index.md to this page
* add TODOs
* add the new page to mkdocs TOC
Part of https://github.com/shaarli/Shaarli/issues/598
2018-04-14 14:14:59 +02:00
ArthurHoaro
14dd77ad7e
Merge pull request #1126 from kramred/master
...
load user css at last, after plugin css to enable changing plugin styles
2018-04-14 13:32:34 +02:00
Mark Schmitz
66d37a4fb4
add loading user css at last to vintage tpl
2018-04-13 14:06:27 +01:00
Mark Schmitz
d811e4fda6
load user css at last, after plugin css to enable changing plugin styles
2018-04-13 13:21:58 +01:00
VirtualTam
237e7836c0
Merge pull request #1121 from virtualtam/node/packaging-metadata
...
Update frontend metadata and COPYING
2018-04-08 18:22:47 +02:00
VirtualTam
aec5a76b67
Cleanup unused asset resources
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-05 20:54:55 +02:00
VirtualTam
d66b5acb24
Update documentation and Doxygen icon location
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-05 20:54:23 +02:00
VirtualTam
7cf23badeb
Update COPYING
...
Relates to https://github.com/shaarli/Shaarli/pull/1072
Changed:
- update paths to resource files (assets, images)
Removed:
- references to resources now resolved through NPM
- licenses corresponding to the aforementioned resources
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-05 20:30:00 +02:00
VirtualTam
e42031e037
Update NPM frontend metadata
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-04 23:13:49 +02:00
VirtualTam
9fb22af6b3
Update EditorConfig for frontend resources
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-04-03 23:33:20 +02:00
ArthurHoaro
80ec7b234c
Merge pull request #1115 from ArthurHoaro/parsedown-version
...
Update parsedown to its latest version instead of fixed 1.6
2018-03-31 13:55:08 +02:00
ArthurHoaro
c5ee13181e
Update parsedown to its latest version instead of fixed 1.6
2018-03-31 13:00:13 +02:00
ArthurHoaro
b66769fec5
Remove minified JS libs
2018-03-31 12:02:13 +02:00
ArthurHoaro
ed6d1a7b80
Merge pull request #1113 from ArthurHoaro/docker/node-yarn-webpack
...
Docker: build frontend dependencies with node and yarn
2018-03-28 19:08:32 +02:00
ArthurHoaro
c81f1afc0a
Merge pull request #1072 from ArthurHoaro/feature/modern-front-end
...
Manage frontend dependencies with npm/yarn and webpack
2018-03-28 19:08:06 +02:00
ArthurHoaro
d7eb06bd7c
Webpack / Documentation update
2018-03-28 19:04:40 +02:00
ArthurHoaro
47978e8772
Webpack / Configure webpack, ESLint, Travis, Makefile, npm/yarn and git
2018-03-28 19:04:40 +02:00
ArthurHoaro
7e9bd977ee
Webpack / Update front paths in template files
2018-03-28 19:01:17 +02:00
ArthurHoaro
a33c565365
Webpack / Rewrite all JS to ES6 Syntax
2018-03-28 19:01:17 +02:00
ArthurHoaro
b3375c7f86
Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/
2018-03-28 19:01:17 +02:00
ArthurHoaro
94abe0a653
Docker: build frontend dependencies with node and yarn
2018-03-27 19:05:19 +02:00
1a129ca266
Merge branch 'latest' of https://github.com/shaarli/Shaarli into myShaarli_commu
2018-03-27 15:52:53 +02:00
ArthurHoaro
9b2bd66fb6
Merge pull request #1093 from ArthurHoaro/feature/theme-translation
...
Load theme translations files automatically
2018-03-26 20:26:10 +02:00
ArthurHoaro
a1a15ac37b
Webpack / Documentation update
2018-03-26 19:29:44 +02:00
ArthurHoaro
7ff458bc43
Webpack / Configure webpack, ESLint, Travis, Makefile, npm/yarn and git
2018-03-26 19:29:44 +02:00
ArthurHoaro
758fe7201e
Webpack / Update front paths in template files
2018-03-26 19:29:20 +02:00
ArthurHoaro
d42da54350
Webpack / Rewrite all JS to ES6 Syntax
2018-03-26 19:29:20 +02:00
ArthurHoaro
d78c23e00d
Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/
2018-03-26 19:29:20 +02:00
ArthurHoaro
68c6afc56f
Load theme translations files automatically
...
Fixes #1077
Take a look at the docs update to see how it works
2018-03-26 19:20:25 +02:00
ArthurHoaro
838ef8a6ec
Merge pull request #1103 from dennisverspuij/fix-on-in-markdown
...
Fix removal of on=... attributes from html (generated from markdown)
2018-03-26 18:55:41 +02:00
VirtualTam
faa5b2ce61
Merge pull request #1110 from virtualtam/doc/v0.9.6
...
Documentation: release v0.9.6
2018-03-25 20:43:53 +02:00
VirtualTam
ee242ae321
Documentation: release v0.9.6
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 20:11:10 +02:00
VirtualTam
76004d331b
Release v0.9.6
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlq349YXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA32+riAf/UmmxZHmoNnSBGqleKtIoTVLn
71zPp9LuQiWxRNOd4oZMi6GWj4kxpwOzDhhkQ9Y7ywTX9K5/ilg2FD2LiJEd5FCt
xzAeyp+jCThZwlxXOwnPPwD6WtmBf0nkf2j7mNIQq3wmZEQSRkyuE2n0pugaXzXF
Xe2/plQ72YuARDsoJCkgQqmrK1DBSqE4YPmtpIHnG2k565NUPbZgtORrhcBrJPVc
2X11DOvtHMoTJADSS+QoBr6r9PQhBonMBGRDhQJN+g3sg1TNv8mQtb4r2F0YU06w
3cYWMQbBK/rL0KJeJ8ix8xpyCz0dmBLsTnjhIDkTNyy6AyyLBhOXU7DA2rhWdg==
=xtBU
-----END PGP SIGNATURE-----
Merge tag 'v0.9.6' into latest
Release v0.9.6
2018-03-25 20:04:42 +02:00
VirtualTam
e36479d9ff
Bump Shaarli version to v0.9.6
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 20:00:26 +02:00
VirtualTam
d1e8f152f6
httpd: always forward the 'Authorization' header
...
On some Apache HTTPD setups where the CGI/FastCGI mode is used, the HTTP header
containing the JWT token is not forwarded, which results in the following error
when attempting to use the REST API:
"401 Not authorized: JWT token not provided"
This patch allows forwarding the 'Authorization' header. An alternative would
be to use the `CGIPassAuth` directive to allow all authorization headers to be
forwarded.
See:
- https://secure.php.net/manual/en/features.http-auth.php#114877
- https://stackoverflow.com/questions/26475885/authorization-header-missing-in-php-post-request
- https://stackoverflow.com/questions/13387516/authorization-header-missing-in-django-rest-framework-is-apache-to-blame
- https://stackoverflow.com/questions/17018586/apache-2-4-php-fpm-and-authorization-headers
- https://httpd.apache.org/docs/2.4/en/mod/core.html#cgipassauth
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 19:41:44 +02:00
VirtualTam
4c2f51256f
htaccess: prevent accessing resources not managed by SCM
...
See:
- https://en.internetwache.org/dont-publicly-expose-git-or-how-we-downloaded-your-websites-sourcecode-an-analysis-of-alexas-1m-28-07-2015/
- https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing
- https://httpd.apache.org/docs/current/mod/mod_rewrite.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-25 19:41:39 +02:00
VirtualTam
1f43529fd0
Merge pull request #1107 from virtualtam/apache/htaccess/jwt-header
...
httpd: always forward the 'Authorization' header
2018-03-25 19:04:05 +02:00
VirtualTam
cdaf414c98
Merge pull request #1109 from ilesinge/patch-1
...
Documentation : Fix current version file name
2018-03-25 14:40:39 +02:00
VirtualTam
b0f39c6654
Merge pull request #1108 from virtualtam/fix/template/vintage/check-login-ban
...
fix: IP ban check for the Vintage theme
2018-03-25 14:39:09 +02:00
Alexandre G.-Raymond
6c4cc14e00
Fix current version file name in docs
2018-03-25 14:08:07 +02:00
VirtualTam
adf409716b
fix: IP ban check for the Vintage theme
...
Introduced by https://github.com/shaarli/Shaarli/pull/1008
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-24 21:55:03 +01:00
VirtualTam
460cf03d67
httpd: always forward the 'Authorization' header
...
On some Apache HTTPD setups where the CGI/FastCGI mode is used, the HTTP header
containing the JWT token is not forwarded, which results in the following error
when attempting to use the REST API:
"401 Not authorized: JWT token not provided"
This patch allows forwarding the 'Authorization' header. An alternative would
be to use the `CGIPassAuth` directive to allow all authorization headers to be
forwarded.
See:
- https://secure.php.net/manual/en/features.http-auth.php#114877
- https://stackoverflow.com/questions/26475885/authorization-header-missing-in-php-post-request
- https://stackoverflow.com/questions/13387516/authorization-header-missing-in-django-rest-framework-is-apache-to-blame
- https://stackoverflow.com/questions/17018586/apache-2-4-php-fpm-and-authorization-headers
- https://httpd.apache.org/docs/2.4/en/mod/core.html#cgipassauth
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-22 22:23:41 +01:00
VirtualTam
e54cb1bbe7
Merge pull request #1100 from Angristan/docker-logs
...
Nginx logs to stdout for Docker images
2018-03-19 22:22:12 +01:00
Dennis Verspuij
b525810c14
Fix removal of on=... attributes from html generated from markdown
2018-03-19 10:01:20 +00:00
ArthurHoaro
60a94dab22
Merge pull request #1102 from ArthurHoaro/fix/settings-warning
...
Fix warning when trying to save redictor setting from the configure page
2018-03-14 18:25:22 +01:00
ArthurHoaro
15410df113
Fix warning when trying to save redictor setting from the configure page
...
It has been removed from the web page.
Fixes #1099
2018-03-13 18:11:58 +01:00
ArthurHoaro
4294bc7b98
Merge pull request #1096 from ArthurHoaro/feature/download-params
...
Make max download size and timeout configurable
2018-03-13 18:02:49 +01:00
cdc426d560
Fix picwall
2018-03-12 16:57:33 +01:00
Angristan
017baf57d5
Nginx logs to stdout for Docker Alpine images
2018-03-11 21:06:14 +01:00
ArthurHoaro
4ff3ed1c47
Make max download size and timeout configurable
...
Fixes #1061
2018-03-07 23:03:21 +01:00
ArthurHoaro
39ee93925b
Merge pull request #1097 from ArthurHoaro/fix/psr-elseif
...
PSR: use elseif instead of else if
2018-03-07 21:53:53 +01:00
VirtualTam
a58a8856a8
Merge pull request #1098 from josqu4red/perms-docker-alpine-latest
...
Fix permission issue introduced with multi-stage build
2018-03-02 16:45:16 +01:00
Jonathan Amiez
ed2de76840
Fix permission issue introduced with multi-stage build
2018-03-02 15:05:48 +01:00
ArthurHoaro
d2d4f993e1
PSR: use elseif instead of else if
...
See https://www.php-fig.org/psr/psr-2/\#51-if-elseif-else
2018-02-28 22:34:40 +01:00
VirtualTam
b70436373b
Merge pull request #1090 from virtualtam/fix/doxygen
...
Doxygen: ignore data/, simplify Make target
2018-02-26 23:20:05 +01:00
VirtualTam
ddd3c19f43
Merge pull request #1085 from virtualtam/docker/multi-stage
...
docker: introduce multi-stage image build (master, latest)
2018-02-24 13:36:55 +01:00
ArthurHoaro
bc4a0a672c
Merge pull request #1092 from ArthurHoaro/fix/scuttle-doctype-case
...
Ignore the case while checking DOCTYPE during the file import
2018-02-24 13:29:11 +01:00
ArthurHoaro
e746c237cd
Merge pull request #1062 from ArthurHoaro/feature/pages-title
...
Use a specific page title in all pages
2018-02-24 13:28:30 +01:00
ArthurHoaro
980efd6cf8
Use a specific page title in all pages
...
Also fixed a few French translation issues
Fixes #954 #955
2018-02-24 12:48:49 +01:00
ArthurHoaro
3ff1ce47bc
Ignore the case while checking DOCTYPE during the file import
...
Fixes #1091
2018-02-23 20:34:06 +01:00
VirtualTam
ba2cff1549
Doxygen: ignore data/, simplify Make target
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-23 00:37:03 +01:00
VirtualTam
b9c6589363
Merge pull request #1089 from virtualtam/readme/badges
...
Update badges for 'stable'
2018-02-22 18:54:32 +01:00
VirtualTam
afaaee7be6
Update badges for 'stable'
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-22 18:51:59 +01:00
VirtualTam
2e6b9ed3b9
Merge pull request #1084 from virtualtam/doc/updates
...
Documentation: cleanup, update references to config(.json)?.php
2018-02-16 01:52:38 +01:00
VirtualTam
3c51135f9a
docker: introduce multi-stage image build (master, latest)
...
Relates to https://github.com/shaarli/Shaarli/issues/755
Relates to https://github.com/shaarli/Shaarli/pull/1072
See:
- https://docs.docker.com/develop/develop-images/multistage-build/
- https://hub.docker.com/r/library/composer/
- https://github.com/composer/docker
- https://github.com/docker-library/docs/tree/master/composer
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-14 23:13:05 +01:00
VirtualTam
48679a159e
doc: update references to config(.json)?.php
...
Closes https://github.com/shaarli/Shaarli/issues/1082
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-14 22:02:50 +01:00
VirtualTam
4c1bcd8b25
doc: update Directory Structure
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-14 21:58:41 +01:00
c111704f8c
Auto add link to contact page if contact.php exist
2018-02-13 14:46:06 +01:00
7a4ff2cd78
Add thumbshot key
2018-02-13 11:41:56 +01:00
d923d1db2f
Merge remote-tracking branch 'github/latest' into myShaarli_commu
2018-02-09 16:10:09 +01:00
ba04c60849
Fix markdown editor with myShaarli plugin
2018-02-09 15:56:22 +01:00
VirtualTam
8b48e36594
Merge pull request #1059 from virtualtam/fix/htaccess-git
...
htaccess: prevent accessing resources not managed by SCM
2018-02-05 18:21:59 +01:00
VirtualTam
cabf1b6bec
htaccess: prevent accessing resources not managed by SCM
...
See:
- https://en.internetwache.org/dont-publicly-expose-git-or-how-we-downloaded-your-websites-sourcecode-an-analysis-of-alexas-1m-28-07-2015/
- https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing
- https://httpd.apache.org/docs/current/mod/mod_rewrite.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-05 18:18:52 +01:00
VirtualTam
91f17fc92a
Merge pull request #1008 from virtualtam/refactor/authentication
...
Refactor login / ban management
2018-02-05 18:16:32 +01:00
VirtualTam
44acf70681
Refactor login / ban authentication steps
...
Relates to https://github.com/shaarli/Shaarli/issues/324
Added:
- Add the `LoginManager` class to manage logins and bans
Changed:
- Refactor IP ban management
- Simplify logic
- Avoid using globals, inject dependencies
Fixed:
- Use `ban_duration` instead of `ban_after` when setting a new ban
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-05 18:12:09 +01:00
ArthurHoaro
a381c373b3
Merge pull request #1074 from kalvn/feature/dailymarkdown
...
Executes daily hooks before creating columns.
2018-02-02 19:23:26 +01:00
ArthurHoaro
bc3ce7ec2a
Merge pull request #1038 from ArthurHoaro/feature/public-only-filter
...
Add a filter to only display public links
2018-02-02 19:22:37 +01:00
ArthurHoaro
17b4baedec
Merge pull request #1003 from ArthurHoaro/ci/php7.2
...
Drop PHP 5.5 compatibility and run Travis UT against PHP 7.2
2018-02-02 19:20:11 +01:00
ArthurHoaro
28df9fa4f7
INTL_IDNA_VARIANT_2003 is deprecated
...
See https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
2018-02-02 19:15:47 +01:00
ArthurHoaro
5617dcf9d2
Drop PHP 5.5 compatibility and upgrade PHPUnit to v5.x
...
PHPUnit 4.x contains deprecated PHP functions in PHP 7.2.
2018-02-02 19:15:47 +01:00
ArthurHoaro
402f58e0ba
CI: run UT against PHP 7.2 (currently in Release Candidate)
2018-02-02 19:15:10 +01:00
ArthurHoaro
2c6e9ce465
Release v0.9.5
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAlp0qF0ACgkQOzJIyqqw
gW5u4A//TkhJ47pye6+O4cdsr6rU29Byz+hvSS+YEaTx1JSxsehR+pxJqye6QSpU
DmFVJ7fkKKuIyDwEY6yI5mz/We4w+MBbASpzKHTxOar1TdZF+aJn+wIU7R971rJ3
JbtSvd6inGO3v27g4ACy3GgvWffPMDfRMUp1j855PuJ8gP48c1oppZOiQxEuY9A7
v5YDsrO3TuqZZl0HywH2/thgZap7LrTFVjPNRcT5CoY//t1gSw/aabUnA7Brw0Xn
Sg6ejLKF2S273hBurZKyQcuPqPyGZP8SuLP0XgSKbh4JG3IX6K+7AIVfLMJZ1U2r
MgC8NsKL3ZrDRZjCwz2jyOBLn7a/bbQ1isgvrBiLvsrQsf2OoXbraa5UkF+n20ri
s4jPwRRIjSWzYmUlWLD+7OIb5HsVFPKqNi0uxnYPkXhEQKGWqsnmK7e99IjvkWhK
QIaym5p/O6aoXIA0aE8tDq/XOM+SdRii9TlmuSHiT+sU7HtGOJ7OTlW7aKRnaoI0
18ScTYiJfkjicBe0uZfbGoD4rXPXHg6xSV6IG/F9NzTgGmOm7im20oP9sOWSqVmL
lX4mycWZRx9YfUjDRnZmqPYHKu7sdfPmNbDiXIr93pubIIF+OzY/kYjZunyDTMQz
Mv8g9mRdZHuhyuP4lBn1T0EeaNWJj2gwekh1h6B8Fbqsf7gwsBU=
=YmGW
-----END PGP SIGNATURE-----
Merge tag 'v0.9.5' into latest
Release v0.9.5
2018-02-02 19:11:29 +01:00
ArthurHoaro
91813a3634
Badge
2018-02-02 19:07:31 +01:00
ArthurHoaro
06ca7c102b
Bump Shaarli version to v0.9.5
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-02-02 19:04:08 +01:00
ArthurHoaro
5a6161162d
Bump Shaarli version to v0.9.4
2018-02-02 19:03:24 +01:00
VirtualTam
5bb7f37139
Bump Shaarli version to v0.9.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-02 19:03:24 +01:00
ArthurHoaro
033276a8cf
Bump Shaarli version to v0.9.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-02-02 19:03:24 +01:00
VirtualTam
5c6a45ec94
Bump version to v0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-02 19:03:24 +01:00
ArthurHoaro
e6faed3477
Fix version file
2018-02-02 19:03:24 +01:00
ArthurHoaro
658573678b
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-02-02 19:03:24 +01:00
ArthurHoaro
a3b9b8c4ff
Merge pull request #1076 from ArthurHoaro/changelog-v0.9.5
...
CHANGELOG + AUTHORS (v0.9.5)
2018-02-02 19:02:51 +01:00
ArthurHoaro
715ad9bd6b
CHANGELOG + AUTHORS
2018-02-02 18:59:55 +01:00
ArthurHoaro
40e816e379
Merge pull request #1070 from ArthurHoaro/hotfix/lc-messages-warning
...
Use LC_COLLATE instead of LC_MESSAGES if php-intl is not installed
2018-02-02 18:51:53 +01:00
kalvn
50142efd1b
Executes daily hooks before creating columns.
2018-02-01 13:16:58 +01:00
ArthurHoaro
499bd43c37
Merge pull request #1069 from ArthurHoaro/feature/dependencies
...
Update dependencies and include latest version netscape-bookmark-parser
2018-01-31 16:15:23 +01:00
ArthurHoaro
b7c412d4d0
Use LC_COLLATE instead of LC_MESSAGES if php-intl is not installed
...
As stated in the docs:
> LC_MESSAGES for system responses (available if PHP was compiled with libintl)
Fixes #1067
2018-01-31 12:39:17 +01:00
ArthurHoaro
44c818cebd
Update dependencies and include latest version netscape-bookmark-parser
2018-01-31 12:23:43 +01:00
ArthurHoaro
2cbf4acdde
Merge pull request #1063 from ArthurHoaro/hotfix/legacy-warnings
...
Fix warnings when upgrading from legacy SebSauvage version
2018-01-31 12:18:31 +01:00
ArthurHoaro
a74184e1b0
Release v0.9.4
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAlpws1AACgkQOzJIyqqw
gW5FRw//YU1dW5CUwKjL9LxvQWWZmgm+iwuJP4sohCrySAG/2ZKxCRlJtdD1WGU3
jF1HufmdDdx0fHiAAKSz5GK+9XVnI1MuGYzTWSTS+pZ1XO5v0nJMskSd+PSkHrs1
5DaTzFnvwKflN7mKKbFOi9aBo7fIOYp8hmPHOHyDC458MJw7vraSiFjWXih10UW4
3m3442UQ14Hfwe7uN6kOfxYrNmkyisa1VJshBYs5gs1qP0L4IGMoDIAuDzVCxbcA
u/olrxfSaScrV9+yFUmUlcBHGq8ejQl20MsfK7QhErbZu6Y3FlcucySGWdzVV5Nr
39sLFTjgoMhIk8oPt0N0szKH1uaqcNGbgOoo16unVFM/Kkd7kbLRoltTZIaNKyOs
akqRczDkh8sd6RITsE7JwPEYloJPOLnNUPhTPqLTq9kFlCB8uGzy1VFnVUfSrqHU
j6b/6xaoZUZ3hynBRLzwaN0wYQXH0jXWBHVbn2aZPSp0tTxhsnudCpPZ0STFu9As
fv8NwGNejPr4I9hjoiys6ICu0NV+v88SdA347lUoXa2233Wg3EdIv8eAnZeANpkr
ij0KfFhg7qiHQB8TftZjY9S9ehomw1jxShUkf2xwk7PQUngaKce/1xZAizn10jqj
kLNTzPRUyVFUhEwYIeSCSOFJ22g7p8GvU+HxCIjystsxGDH3Q8s=
=N7I1
-----END PGP SIGNATURE-----
Merge tag 'v0.9.4' into latest
Release v0.9.4
2018-01-30 19:15:30 +01:00
ArthurHoaro
5d924cba64
Update badges
2018-01-30 19:11:17 +01:00
ArthurHoaro
99a5549044
Bump Shaarli version to v0.9.4
2018-01-30 19:00:33 +01:00
VirtualTam
22a30186a5
Bump Shaarli version to v0.9.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-30 18:59:47 +01:00
ArthurHoaro
468b03a644
Bump Shaarli version to v0.9.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-01-30 18:58:13 +01:00
VirtualTam
91531e4604
Bump version to v0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-30 18:58:13 +01:00
ArthurHoaro
1feafbe5b6
Fix version file
2018-01-30 18:58:13 +01:00
ArthurHoaro
af0cd8ec3d
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2018-01-30 18:58:13 +01:00
ArthurHoaro
0fa18d4c5d
Merge pull request #1065 from ArthurHoaro/release-v9.0.4
...
pre release v0.9.4
2018-01-30 18:51:52 +01:00
ArthurHoaro
b49a25d33c
Update AUTHORS
2018-01-30 18:49:51 +01:00
ArthurHoaro
f211618f20
Update CHANGELOG
2018-01-30 18:49:22 +01:00
ArthurHoaro
cb4ddbe4e7
Fix warnings when upgrading from legacy SebSauvage version
...
Fixes #1040
2018-01-25 19:55:31 +01:00
ArthurHoaro
d2f6d909e5
Public/private filter: use two separate buttons
...
#1038
2018-01-24 18:46:31 +01:00
ArthurHoaro
d449f79a0d
Merge pull request #977 from ArthurHoaro/feature/dl-filter
...
Extract the title/charset during page download, and check content type
2018-01-23 18:41:38 +01:00
nodiscc
5f8c3f532e
Merge pull request #1058 from FranckKe/patch-1
...
doc: bookmarklet: fix link to issue 196
2018-01-18 20:49:29 +01:00
nodiscc
bc55e94795
Merge pull request #1057 from shaarli/doc-derefind
...
doc: import: add link to derefind conversion tool
2018-01-18 20:49:20 +01:00
nodiscc
26c5b1bca6
Merge pull request #1049 from shaarli/doc-docker-arm
...
doc: add arm32v7 docker build documentation
2018-01-18 20:48:46 +01:00
Franck Kerbiriou
dafb386524
Fix link to issue 196
2018-01-18 14:10:48 +01:00
nodiscc
a52d39dafb
doc: import: add link to derefind conversion tool
...
As mentioned on gitter
2018-01-17 21:47:13 +01:00
nodiscc
5cb4c0d5bd
doc: fix link to dockerfiles
2018-01-13 11:48:42 +01:00
VirtualTam
5c6c82db19
Merge pull request #1055 from virtualtam/changelog
...
Update CHANGELOG for the next v0.9.x
2018-01-13 11:31:07 +01:00
nodiscc
a3f83c15f4
doc: docker: add links to docker build and qemu documentation
2018-01-12 23:06:30 +01:00
nodiscc
bf4faba9ca
doc: docker: remove armhf tags, add link to Dockerfiles
2018-01-12 23:00:20 +01:00
VirtualTam
9b6df5c91c
Update CHANGELOG for the next v0.9.x
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-10 20:43:18 +01:00
nodiscc
3056afac2d
Merge pull request #1054 from shaarli/doc-mbstring-webhosts
...
doc: Server Requirements: php-mbstring: add 'hosting providers'
2018-01-09 23:15:29 +01:00
VirtualTam
310f17203d
Merge pull request #1050 from virtualtam/changelog/cve
...
Reference CVE-2018-5249 in CHANGELOG
2018-01-09 21:15:34 +01:00
nodiscc
42884868a3
doc: Server Requirements: php-mbstring: add 'hosting providers'
2018-01-09 20:13:05 +01:00
VirtualTam
8d9d4cc1ee
Reference CVE-2018-5249 in CHANGELOG
...
Relates to https://github.com/shaarli/Shaarli/pull/1046
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-06 15:31:56 +01:00
ArthurHoaro
c8f7ba36ce
Merge pull request #1043 from immanuelfodor/improvement/shaarli-markdown-toolbar
...
Adding 3rd party plugin 'markdown-toolbar' to docs
2018-01-06 11:27:53 +01:00
nodiscc
b7ca2eb2f6
doc: add armhf docker images
2018-01-05 19:41:24 +01:00
VirtualTam
fdb4fee433
Merge pull request #1047 from virtualtam/changelog
...
Update changelog, documentation and authors
2018-01-04 19:00:48 +01:00
VirtualTam
2fadf88068
Update AUTHORS and contributor mailmap
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:52:52 +01:00
VirtualTam
f452d3c4df
Update CHANGELOG, README badges and installation instructions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:49:05 +01:00
VirtualTam
57e4a974f7
Release v0.9.3
...
-----BEGIN PGP SIGNATURE-----
iQFLBAABCAA1FiEEEv0k8DWUT53dSMUkR6bSrUEA328FAlpOYNkXHHZpcnR1YWx0
YW1AZmxpYmlkaS5uZXQACgkQR6bSrUEA329Qggf/TCRMsuYsL3TtgxeEAwZh+fPG
TmfsVUpc+3fnfZCYQAPZ4JXzGTvqrPKRewm3xuIj/s+46y5vxLoppLBN9ULhG97F
rTllSWvl252+A+COZlSNQYRfUt4gmtm4hS7iUTrTzzTLZkuwhr8vkj05+b+gI9N6
IT76HX/5onKUhZh+5L2ipFRF3KHBcwCaJbUOUT0YtEL/LqcT/F6oPnoagYLfgYDw
I1E8ewcXyO8aMw98dghGg2xwIHytljRqqZXMUDs03n+50KFwPmP3CzZbohfW5uMV
KsY79gB79B4pLoB9Slp3vypsoEL8wbfgZCLzMLlqr93xdztOp+bG9MQ9yvInjg==
=2XAs
-----END PGP SIGNATURE-----
Merge tag 'v0.9.3' into latest
Release v0.9.3
2018-01-04 18:35:22 +01:00
VirtualTam
cb9b87eb1c
Bump Shaarli version to v0.9.3
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:13:43 +01:00
VirtualTam
5ec90c7155
Fix XSS vulnerability
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 18:06:49 +01:00
VirtualTam
17dee65651
Merge pull request #1046 from virtualtam/security/login-xss
...
Fix XSS vulnerability
2018-01-04 18:04:34 +01:00
VirtualTam
65c002ca18
Fix XSS vulnerability
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-01-04 15:53:48 +01:00
95d55e9ea2
Fix bad field template
2018-01-04 15:10:22 +01:00
a31f09001f
Fix bad field template
2018-01-04 15:07:42 +01:00
6b0a76373c
Update gitignore
2018-01-04 14:50:24 +01:00
0e94b7b7f8
Add origin plugin
2018-01-04 14:49:40 +01:00
e37a7ab9ec
Add myShaarli plugin
2018-01-04 14:49:09 +01:00
aa228207a0
Update myShaarli theme
2018-01-04 14:47:54 +01:00
Immánuel!
b6b53143fc
Feature: Docker armhf support ( #1041 )
...
Docker: add Alpine Linux ARM HF latest and master images
See:
- http://www.armhf.com/
- https://wiki.alpinelinux.org/wiki/Alpine_on_ARM
- https://hub.docker.com/r/lsiobase/alpine.armhf/
2018-01-04 12:38:38 +01:00
ArthurHoaro
fcbc67edf0
Merge pull request #1044 from ArthurHoaro/hotfix/plugins-parameter-button
...
Fix an issue preventing the Save button to appear for plugin parameters
2018-01-01 15:46:04 +01:00
ArthurHoaro
d799554259
Fix an issue preventing the Save button to appear for plugin parameters
...
is a special variable in RainTPL used in loops
2018-01-01 15:40:51 +01:00
ArthurHoaro
d77bdb432a
Merge pull request #1037 from ArthurHoaro/theme/improvements2
...
Add CSS classes and IDs in Shaarli's menu
2018-01-01 14:32:02 +01:00
ArthurHoaro
12db590e8f
Merge pull request #1042 from immanuelfodor/improvement/shaarli-descriptor
...
Adding 3rd party plugin 'shaarli-descriptor' to docs
2018-01-01 14:31:20 +01:00
immanuelfodor
310e36d19c
adding 3rd party plugin markdown-toolbar to docs
2017-12-30 13:45:08 +01:00
immanuelfodor
36fa51d996
modifying plugin description to be easy to understand
2017-12-27 17:01:08 +01:00
nodiscc
3d4c1b8af2
Merge pull request #1036 from shaarli/doc-overhaul
...
[WIP] Improve documentation
2017-12-27 14:48:56 +01:00
immanuelfodor
0ecfca3b9d
adding 3rd party plugin shaarli-descriptor to docs
2017-12-27 08:47:15 +01:00
nodiscc
e2a2dc35c2
mkdocs.yml: move FAQ to top level, reorder, Move Community/related software to Usage
2017-12-26 18:44:14 +01:00
nodiscc
31cefb9ac1
fix heading level
2017-12-26 18:41:38 +01:00
nodiscc
ebee8d9372
Update Community-&-Related-software.md
...
reorganize sections
2017-12-26 18:39:27 +01:00
nodiscc
5faa0697dd
Merge remote-tracking branch 'nerostie/patch-2' into doc-overhaul
2017-12-17 23:43:03 +01:00
nodiscc
236a8e48b6
minor fixes, ref #998
2017-12-17 23:41:03 +01:00
nodiscc
286757ab29
Merge remote-tracking branch 'origin/doc-tagcloud' into doc-overhaul
2017-12-17 23:39:20 +01:00
Neros
f6f8b2563c
New plugin: Twemoji
2017-12-17 19:34:15 +01:00
ArthurHoaro
9d4736a3e9
Add a filter to only display public links
...
When the key filter is clicked once, it only displays private link. When it is clicked on again, it becomes red and only public links are displayed. Another click and all links are displayed. The current visibility status is shown in the search banner
Fixes #1030
2017-12-16 14:32:56 +01:00
ArthurHoaro
25d0cfa5a8
Add CSS class and IDs in Shaarli's menu
...
Fixes #877
2017-12-16 13:51:55 +01:00
8ead0f9219
Make myShaarli theme for Shaarli 0.9.2
2017-12-15 12:16:50 +01:00
22ee4c71a3
Merge branch 'master' of https://github.com/shaarli/Shaarli into myShaarli_commu
2017-12-15 10:04:41 +01:00
nodiscc
ebc7ec7c1c
doc: remove docker autobuild doc from index.md
2017-12-09 15:34:06 +01:00
nodiscc
60ca6354bd
doc: move docker autobuild from index.md to shaarli-images.md
2017-12-09 15:33:49 +01:00
nodiscc
32488257ee
move docker-101 reference from index.md to docker-images.md
2017-12-09 15:31:45 +01:00
nodiscc
7a205fb21c
doc: fix docker documentation link
2017-12-09 15:28:34 +01:00
nodiscc
bd6de61c52
remove Features.md entry in mkdocs.yml
2017-12-09 15:21:10 +01:00
nodiscc
ceb3f9174b
Delete Features.md
2017-12-09 15:20:30 +01:00
nodiscc
4ada0d313a
move features.md info to index.md
...
Ref https://github.com/shaarli/Shaarli/issues/598
2017-12-09 15:20:14 +01:00
nodiscc
2887879173
doc: add browser addons/shaarli-web-extension
...
cleanup shaarliOs link
shorten awesome-selfhosted entry
2017-12-09 15:11:57 +01:00
nodiscc
d0b8ffb952
doc: note about firefox share compatibility
2017-12-09 15:04:44 +01:00
VirtualTam
aa714fa51a
Merge pull request #1034 from durcheinandr/fixlink
...
Fix internal markdown link in documentation
2017-12-07 14:00:21 +01:00
durcheinandr
03809dbb4d
Fix internal markdown link in documentation
2017-12-07 13:25:13 +01:00
ArthurHoaro
101b935de4
Merge pull request #1025 from ArthurHoaro/hotfix/proxy-443
...
Force HTTPS if the original port is 443 behind a reverse proxy
2017-12-03 12:46:43 +01:00
ArthurHoaro
8e9fc6f6e6
Force HTTPS if the original port is 443 behind a reverse proxy
...
Fixes #1022
2017-12-02 15:24:35 +01:00
ArthurHoaro
877491b4ad
Merge pull request #1020 from ArthurHoaro/feature/curl-chunk
...
Increase buffer size for cURL download
2017-11-26 11:34:44 +01:00
VirtualTam
d9514becc4
Merge pull request #1016 from virtualtam/refactor/session
...
Improve SessionManager constructor and tests
2017-11-24 23:53:15 +01:00
nodiscc
4e58d2edf7
Merge pull request #1028 from shaarli/doc-cleanup-930
...
documentation cleanup
2017-11-21 22:46:52 +01:00
nodiscc
76c3a4dbed
documentation cleanup
...
* In preparation of #930 work
* Remove/reorder duplicate documentation from Makefile/Unit-tests.md/Download-and-Installation.md (composer information is now in Unit-tests.md)
* Installation using git: add composer requirement to all git installation procedures, add python3-virtualenv requirement
* Styling (horizontal rulers, spacing, descriptive headers)
2017-11-18 16:22:43 +01:00
ArthurHoaro
3ec25cc00f
Merge pull request #1017 from ArthurHoaro/feature/mobile-icon
...
Add apple-touch-icon meta tag
2017-11-18 14:01:02 +01:00
ArthurHoaro
9d245de6e6
Add apple-touch-icon meta tag
...
Fixes #997
2017-11-18 12:46:33 +01:00
ArthurHoaro
844be5d556
Merge pull request #1014 from ArthurHoaro/feature/no-plugin
...
Improve messages if there is no plugin or parameter available in the admin page
2017-11-12 11:03:40 +01:00
ArthurHoaro
7d0be731c9
Merge pull request #1019 from ArthurHoaro/hotfix/complete-update
...
Return true after update ReorderDatastore to complete it
2017-11-11 16:51:38 +01:00
ArthurHoaro
270da70532
Return true after update ReorderDatastore to complete it
2017-11-11 16:51:10 +01:00
ArthurHoaro
91c807d275
Increase buffer size for cURL download
...
1kB chunk size has caused me a lot of trouble with Travis which wasn't completing the download
2017-11-11 16:49:57 +01:00
ArthurHoaro
ece7db113a
Improve messages if there is no plugin or parameter available in the admin page
...
Fixes #931
2017-11-11 11:01:28 +01:00
ArthurHoaro
488786d3e4
Merge pull request #1015 from ArthurHoaro/theme/tag-cloud-center
...
Fix alignement and better clarity for 'List all links with those tags' button
2017-11-11 10:55:54 +01:00
VirtualTam
dd883aaf09
Improve SessionManager constructor and tests
...
Relates to https://github.com/shaarli/Shaarli/pull/1005
Changed:
- pass a copy of the ConfigManager instance instead of a reference
- move FakeConfigManager to a dedicated file
- update tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-11-08 20:26:03 +01:00
ArthurHoaro
055ce4bd19
Fix alignement and better clarity for 'List all links with those tags' button
...
Fix CSS class typo and display the link as a button
Fixes #999
2017-11-08 19:21:00 +01:00
ArthurHoaro
b14d34d2c7
Merge pull request #1012 from ArthurHoaro/hotfix/urlencode
...
Don't URL encode description links if parameter 'redirector.encode_url' is set to false
2017-11-08 18:54:32 +01:00
ArthurHoaro
e813f97b1a
Merge pull request #1013 from ArthurHoaro/theme/remove-redirector
...
Remove redirector setting from Configure page
2017-11-08 18:53:32 +01:00
ArthurHoaro
a89f423dfa
Remove redirector setting from Configure page
...
This feature is pretty much useless these days as browsers have builtin features to support the thag "<meta name='referrer'", so keep the setting page as clean as possible.
Also, avoid advertising it too much, because I'm pretty sure it doesn't work very well with markdown descriptions (as Parsedown have some trouble regarding URL detection (without MarkDown link tag)).
2017-11-07 20:31:55 +01:00
ArthurHoaro
fd08b50a80
Don't URL encode description links if parameter 'redirector.encode_url' is set to false
2017-11-07 20:23:58 +01:00
8732a436eb
Merge remote-tracking branch 'commu/latest' into myShaarli_commu
2017-11-03 16:24:12 +01:00
VirtualTam
d12b2a08c8
Merge pull request #1009 from kalvn/patch-1
...
Addition of shaarli2mastodon plugin.
2017-11-02 10:03:06 +01:00
kalvn
f8623666aa
Addition of shaarli2mastodon plugin.
2017-11-01 18:36:11 +01:00
ArthurHoaro
b7fdbfa789
Merge pull request #978 from ArthurHoaro/theme/improvements
...
Theme improvements: move thumbnails to the right and reduce margins overall
2017-10-28 15:23:54 +02:00
ArthurHoaro
94c1756562
Theme improvements: move thumbnails to the right and reduce margins overall
...
* Reduce multiple margins (markdown, space between block, etc.)
* Move thumbnails to the right in the same line as the title
* Move edit button as floating to the left
* Move fold/collapse and checkbox buttons as floating to the right
* Add a bunch of HTML ID in the linklist template
Relates to #877
2017-10-28 15:11:57 +02:00
ArthurHoaro
d65342e304
Extract the title/charset during page download, and check content type
...
Use CURLOPT_WRITEFUNCTION to check the response code and content type (only allow HTML).
Also extract the title and charset during downloading chunk of data, and stop it when everything has been extracted.
Closes #579
2017-10-28 14:35:49 +02:00
ArthurHoaro
0926d26390
Merge pull request #962 from ArthurHoaro/feature/perfs2
...
Performances: reorder links when they're written instead of read
2017-10-28 12:44:44 +02:00
VirtualTam
88d38cb290
Merge pull request #1005 from virtualtam/refactor/authentication
...
Refactor session management utilities
2017-10-25 22:49:22 +02:00
VirtualTam
ae7c954b12
Improve SessionManager tests
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-24 22:01:02 +02:00
nodiscc
6bc7afab91
Merge pull request #1006 from shaarli/doc-cve-2017-15215
...
Changelog: link to CVE-2017-15215, give attribution
2017-10-24 15:12:19 +02:00
nodiscc
fc2beb8c6a
Changelog: link to CVE-2017-15215, give attribution
2017-10-23 01:06:11 +02:00
VirtualTam
fd7d84616d
Move session ID check to SessionManager
...
Relates to https://github.com/shaarli/Shaarli/issues/324
Changed:
- `is_session_id_valid()` -> `SessionManager::checkId()`
- update tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-22 19:54:44 +02:00
VirtualTam
ebd650c06c
Refactor session token management
...
Relates to https://github.com/shaarli/Shaarli/issues/324
Added:
- `SessionManager` class to group session-related features
- unit tests
Changed:
- `getToken()` -> `SessionManager->generateToken()`
- `tokenOk()` -> `SessionManager->checkToken()`
- inject a `$token` parameter to `PageBuilder`'s constructor
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-22 19:19:46 +02:00
VirtualTam
e648f62b4f
Merge pull request #1004 from virtualtam/doc/docker/reverse-proxy
...
Documentation: add reverse proxy examples for Docker images
2017-10-22 17:07:45 +02:00
VirtualTam
1a2c5ddeb5
Documentation: add reverse proxy examples for Docker images
...
Closes https://github.com/shaarli/Shaarli/issues/888
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-22 15:03:20 +02:00
ArthurHoaro
2e6314af31
Merge pull request #1002 from ArthurHoaro/doc/install-docker
...
Docs: mention Docker in the download & install page
2017-10-22 14:56:26 +02:00
ArthurHoaro
d8acf85504
Merge pull request #871 from ArthurHoaro/feature/translation
...
Shaarli's translation
2017-10-22 13:19:51 +02:00
ArthurHoaro
1a47014f99
Translation documentation
2017-10-22 13:16:59 +02:00
ArthurHoaro
6a65bc5798
Translations : Working demo example of translation extension
2017-10-22 13:16:56 +02:00
ArthurHoaro
f39580c6fd
Add language selection in the configure page of the default theme
2017-10-22 13:16:53 +02:00
VirtualTam
efd3a6405a
Merge pull request #1001 from virtualtam/docker/latest
...
docker: add 'latest' image
2017-10-22 13:00:47 +02:00
ArthurHoaro
d637976329
Use makefile target to generate MO file and remove it from git
2017-10-22 12:56:55 +02:00
ArthurHoaro
40ec173e68
JS translation
2017-10-22 12:56:55 +02:00
ArthurHoaro
12266213d0
Shaarli's translation
...
* translation system and unit tests
* Translations everywhere
Dont use translation merge
It is not available with PHP builtin gettext, so it would have lead to inconsistency.
2017-10-22 12:55:03 +02:00
ArthurHoaro
cfcc38192a
Doc: mention Docker docs in the download & install page
2017-10-22 12:50:04 +02:00
VirtualTam
fab0f4e576
docker: add 'latest' image
...
This implies the following changes:
- `shaarli/shaarli:latest` will now point to the `latest` release
- `shaarli/shaarli:master` will point to the `master` branch
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-21 18:44:19 +02:00
VirtualTam
72cfe44436
Merge pull request #846 from virtualtam/docker/alpine
...
Docker: switch to Alpine Linux
2017-10-21 18:00:08 +02:00
nodiscc
919c980344
documentation: update tag cloud/filtering doc
...
Ref. https://github.com/shaarli/Shaarli/issues/959
2017-10-19 18:06:07 +02:00
VirtualTam
1f40141a69
Merge pull request #996 from virtualtam/fix/user-css
...
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
2017-10-17 22:39:29 +02:00
VirtualTam
710291b164
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
...
Relates to https://github.com/shaarli/Shaarli/issues/872
Relates to https://github.com/shaarli/Shaarli/issues/993
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-16 19:41:22 +02:00
VirtualTam
a93b620a35
EditorConfig: add .htaccess support
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-16 19:38:33 +02:00
VirtualTam
839566500c
Merge pull request #995 from virtualtam/lint/editorconfig
...
Add EditorConfig configuration
2017-10-16 19:18:29 +02:00
VirtualTam
e9619cc4f8
Add EditorConfig configuration
...
EditorConfig allows specifying indentation, line feed and encoding
properties according to the type of file being edited.
Most editors support it out-of-the-box, or can benefit from it through a
plugin.
See:
- http://editorconfig.org/
- https://github.com/editorconfig/editorconfig
- https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-11 21:35:17 +02:00
VirtualTam
9f32160c32
Merge pull request #992 from ArthurHoaro/feature/import-history
...
Don't write History for link import
2017-10-08 16:35:57 +02:00
VirtualTam
0a496258af
Merge pull request #990 from danieljakots/master
...
Fix link in Upgrade-and-migration.md
2017-10-08 16:35:33 +02:00
ArthurHoaro
b14dfc23dd
Release v0.9.2
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWe5LuNiFNDXAgI8BOzJIyqqwgW4FAlnYq7YACgkQOzJIyqqw
gW4eqQ/9Ez6vhQSy3PEBma0tLLTaC13BO5nfcxUx4kwQHcob/KiSeov1gNwWeg3M
d0Op/KTDXQt2fLx/qksb9jJmAoVLtA5Ma4tPYWzpKeGDdmyKetiec4kT4XtzBUii
6hHc9GZ/mVd5ok3aZ6ZHJ/v+9lqt01rlcyuHHqw0Tzk+r6VOEDauW9ItgS6eBEmA
Jj2QLuErNa5EsS/FbCrAgQfDX9tI3tPGUGZRMfz+KNQ+CuP0i1Cr3j4XK1RuyoY2
46GTaEfAqGydZI3KtKbC1agvtw0qjaMiKw8+UJdiVRwrQHJMOxLF6mFjf+wXoY9C
BNRFRP1ITQpcW7BEyyewB2vcEabKjGeA++SHauBUITv/4wsVNDAP5mdFLaNPGaaF
LWkSb0Lie6UFYPBcVb+wt6fhcfARGL4cYV4Go/YK8crEEtBJrPceYO0P0gjB6YYh
2d80KnAJ05BXACFJqG500mgvu0z5Z65MjBzr1FGJ3KuPH+kYFkxsC/ACYlDVUsRz
2YQSikid3gv4dvCE6u3Kg0DMEtRLSRpj35KwCyU/A4jFXQVdgWzTY5sclzVb3Ldb
F7jX524Dt2hVxFMuzel25kfyoZ8XzXXybv3Db0RBFkRIABnpy1VvQgcp14GHVUlE
e6NLSGrewR0UXCM58oa3OY8pMyroW7A42sqimVQdaEiSzc9RjMA=
=EH6l
-----END PGP SIGNATURE-----
Merge tag 'v0.9.2' into latest
Release v0.9.2
2017-10-08 15:05:50 +02:00
ArthurHoaro
66e74d50d3
Don't write History for link import
...
With large imports it has a large impact on performances and isn't really useful.
Instead, write an IMPORT event, which let client using the history service resync its DB.
-> 15k link import done in 6 seconds.
Fixes #985
2017-10-07 16:40:16 +02:00
Daniel Jakots
ba6245670d
Fix link in Upgrade-and-migration.md
2017-10-07 09:35:40 -04:00
ArthurHoaro
78865393a6
Badge version
2017-10-07 12:27:50 +02:00
ArthurHoaro
ecccb14e2a
Bump Shaarli version to v0.9.2
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-10-07 12:23:44 +02:00
ArthurHoaro
80b15f5d2d
Merge branch 'master' into v0.9
2017-10-07 12:22:54 +02:00
ArthurHoaro
a01437f9e1
Merge pull request #988 from ArthurHoaro/changelog-0.9.2
...
Changelog 0.9.2 + AUTHORS
2017-10-07 12:12:34 +02:00
ArthurHoaro
6770135b0a
Update AUTHORS
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-10-07 12:10:23 +02:00
ArthurHoaro
6f2c02a0ce
Changelog v0.9.2
2017-10-07 12:05:07 +02:00
ArthurHoaro
be9ddff2fb
Merge pull request #987 from ArthurHoaro/hotfix/security-issue
...
Fix security issue reported by @chb9
2017-10-07 11:33:20 +02:00
ArthurHoaro
d14555a3df
Fix security issue reported by @chbi
...
Vulnerability introduced by 6ccd0b218f
- release with Shaarli v0.9.1.
2017-10-07 11:27:44 +02:00
VirtualTam
c8d96b4729
Merge pull request #979 from ArthurHoaro/feature/assets-cache-version
...
Add a version hash for asset loading to prevent browser's cache issue
2017-10-06 14:32:07 +02:00
VirtualTam
b3e39bf57e
Merge pull request #980 from ArthurHoaro/hotfix/textarea-resize-jumpy
...
Fix jumpy textarea with long content in post edit
2017-10-06 14:31:16 +02:00
VirtualTam
f5bdd8edc8
Merge pull request #983 from bvberkum/pullrequest/shaarli-docker-quickstart
...
Docker quickstart
2017-10-06 14:30:18 +02:00
B. van Berkum
df8becac4f
Minor docker-101 doc updates, typos fixed #983
2017-10-06 00:25:50 +02:00
VirtualTam
e3a3cc0da8
docker: rename resources for the stable image
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-03 20:07:46 +02:00
VirtualTam
1a216faecb
docker: switch to Alpine Linux for the master image
...
Relates to https://github.com/shaarli/Shaarli/issues/843
Changed:
- switch base image from Debian:Jessie to Alpine:3.6
- switch to PHP 7.1
- switch from supervisord to s6 to manage services
See:
- https://alpinelinux.org/
- https://wiki.alpinelinux.org/wiki/Nginx_with_PHP
- http://www.skarnet.org/software/s6/
- http://www.skarnet.org/software/s6/s6-svscan.html
- http://www.skarnet.org/software/s6/s6-svc.html
- http://www.skarnet.org/software/s6/s6-svstat.html
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-10-03 19:47:01 +02:00
VirtualTam
2f69b6d04e
Merge pull request #981 from mark-gerarts/default-note-title
...
Allow setting of a default note title, see #963
2017-10-03 19:26:48 +02:00
B. van Berkum
2f65b3dd53
Docker quickstart: one more grammar mistake. Made it a bit more terse.
2017-10-03 01:03:27 +02:00
B. van Berkum
62a8b0ff6e
Docker-101: added working systemd config example
2017-10-03 00:57:46 +02:00
B. van Berkum
60ed9b8f41
Typo's, unified structure a bit.
...
- Fixes inevitable typo that crept in.
- Removed some blank lines, newlines, to match established whitespace use better.
- Minor grammar improvement.
2017-10-03 00:35:27 +02:00
B. van Berkum
22a30602cb
Docker 101: container start and cleanup
2017-10-03 00:24:23 +02:00
B. van Berkum
02ff7897c0
Added docker quickstart example, with user-data volume
2017-10-03 00:23:34 +02:00
Mark Gerarts
722caa2090
Allow setting of a default note title, see #963
2017-10-01 14:19:57 +02:00
ArthurHoaro
9c46b347b8
Fix jumpy textarea with long content in post edit
...
We manually reset the scroll position, to avoid height = 'auto' jump to the top
Fixes #971
2017-10-01 11:49:17 +02:00
ArthurHoaro
b3e1f92e9c
Rename shaarli_version constant to uppercase
2017-10-01 11:11:16 +02:00
ArthurHoaro
bfe4f536bb
Add a version hash for asset loading to prevent browser's cache issue
...
The hash is generated using the same salt as the one used for credentials (1 salt per instance) in order to avoid exposing the instance version.
Fixes #965
2017-10-01 11:10:37 +02:00
ArthurHoaro
3512f44617
Merge pull request #976 from ArthurHoaro/hotfix/url-parentheses
...
Fix parsing for description links with parentheses
2017-09-30 14:25:53 +02:00
VirtualTam
7c670b39a2
Merge pull request #975 from virtualtam/robustness
...
Improve robustness for zlib and file operations
2017-09-30 10:56:56 +02:00
ArthurHoaro
601faf9751
Fix parsing for description links with parentheses
...
With markdown plugin disabled
relates to #966
2017-09-29 18:52:38 +02:00
ArthurHoaro
a59bbf50d7
Merge pull request #947 from thewilli/wildcardsearch
...
wildcard tag search support
2017-09-29 18:38:02 +02:00
VirtualTam
8c322aaba1
Robustness: safer gzinflate/zlib usage
...
Relates to https://github.com/shaarli/Shaarli/pull/846
PHP's `gzinflate()` fails with an error when being passed an empty string
See:
- https://bugs.php.net/bug.php?id=71395
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-28 21:59:36 +02:00
VirtualTam
e4325b1517
Robustness: safer RainTPL directory handling
...
Relates to https://github.com/shaarli/Shaarli/issues/845
Relates to https://github.com/shaarli/Shaarli/issues/846
Relates to https://github.com/shaarli/Shaarli/pull/909
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-28 21:57:20 +02:00
VirtualTam
0cba184cf8
Merge pull request #972 from virtualtam/travis/trusty
...
Travis: switch to Ubuntu Trusty build environment
2017-09-19 19:22:33 +02:00
VirtualTam
b5c33d702a
Tests: update localization tests
...
Rely on `mag_IN` (Magahi - INDIA) being unavailable when running localization
test suites, instead of `pt_BR` that is now available from Travis build images.
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-19 19:17:16 +02:00
VirtualTam
dfc2c3353d
Travis: switch to Ubuntu Trusty build environment
...
Relates to https://github.com/shaarli/Shaarli/issues/970
Relates to https://github.com/shaarli/Shaarli/pull/912
See:
- https://docs.travis-ci.com/user/reference/trusty/
- https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
Added:
- print available locales before running tests
Removed:
- do not install extra language packs
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-19 19:07:40 +02:00
VirtualTam
6aae4bd0a1
Merge pull request #909 from virtualtam/docker/test-environments
...
docker: add alpine,debian,ubuntu test images
2017-09-19 18:18:35 +02:00
VirtualTam
fc1c1b8869
Merge pull request #961 from thewilli/private-shaarli-login-redirect
...
added option to redirect all anonymous users to login page
2017-09-18 21:25:02 +02:00
VirtualTam
d691604080
docker: add alpine,debian,ubuntu test images
...
Relates to https://github.com/shaarli/Shaarli/issues/843
Added:
- Makefile target to run commands in a Docker test context
- Docker images to run Shaarli test suites:
- Alpine 3.6
- Debian 8
- Debian 9
- Ubuntu 16.04
- Documentation
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-09-18 21:13:59 +02:00
nodiscc
ceb738c591
visited links color: same hue as unvisited links, darkened
...
Related to https://github.com/shaarli/Shaarli/issues/877
Plain grey links would lead to think that the link is somehow disabled/inaccessible/private
This slightly improves clarity/usability
2017-09-04 22:36:21 +02:00
Willi Eggeling
27e21231e1
added option to redirect all anonymous users to login page
...
- new setting *force_login* added and documented
- if both, *force_login* and *hide_public_links* are set to true, all requests
(except for the feeds) are redirected to the login page
2017-09-03 11:46:49 +02:00
ArthurHoaro
9ec0a61156
Performances: reorder links when they're written instead of read
...
relates to #891
2017-09-02 15:10:44 +02:00
ArthurHoaro
96a1c79456
Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-title
...
Firefox Social title: Use document.title instead of RainTPL variable
2017-09-02 13:54:38 +02:00
ArthurHoaro
206c45bd05
Firefox Social title: Use document.title instead of RainTPL variable
...
Fixes #929
2017-09-02 13:50:52 +02:00
ArthurHoaro
a3130d2c2f
Make work behind a reverse proxy
...
Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
2017-09-02 13:50:49 +02:00
VirtualTam
ea71536ed7
Merge pull request #956 from virtualtam/fix/make-authors
...
Documentation+Makefile: update AUTHORS generation
2017-09-02 13:00:45 +02:00
ArthurHoaro
87d019986e
Merge pull request #950 from thewilli/delete-fix
...
fixed link deletion
2017-09-01 18:25:44 +02:00
ArthurHoaro
c5f5365ae6
Merge pull request #951 from thewilli/fix-daily
...
fixed daily links if there are no links
2017-09-01 18:25:09 +02:00
Willi Eggeling
341527bae9
wildcard tag search support
...
- when searching for tags you can now include '*' as wildcard placeholder
- new search reduces overall overhead when filtering for tags
- fixed combination with description tag search ('#' prefix)
- tests added
2017-08-30 13:20:22 +02:00
Willi Eggeling
a74f52a8d2
fixed link deletion
...
When deleting links, the js of the default theme separated ids by an escaped space ('+').
There was a trailing '+' after the ids which led to the php code detecting multiple values
even for single values. In combination with the id '0' this could led to no id found at all
and a resulting php error.
this commit fixes the behavior and adds an additional error handling and trimming to the php code.
2017-08-30 12:54:58 +02:00
Willi Eggeling
5a0045be79
fixed daily links if there are no links
...
- the previous code tried to use links from a previous day if there are no one for the current one
- the new code skips this part if there are no entries (i.e. days) at all
- modified showDaily() to fit PSR-1 and PSR-2
2017-08-30 12:42:58 +02:00
VirtualTam
dc37a482ed
Documentation+Makefile: update AUTHORS generation
...
Fixes https://github.com/shaarli/Shaarli/issues/935
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-29 19:46:23 +02:00
VirtualTam
e4ed3a46b7
Merge pull request #944 from thewilli/configure-rememberme
...
new setting: default value for 'remember me' checkbox
2017-08-27 16:36:53 +02:00
Willi Eggeling
2e07e77573
new setting: default value for 'remember me' checkbox
...
- the default state for the login page's 'remember me' checkbox can now be configured
- adapted the default and vintage theme to consider the new setting
- added documentation for the new setting
2017-08-27 16:03:37 +02:00
VirtualTam
fc27141cf6
Merge pull request #940 from ArthurHoaro/hotfix/empty-urls
...
Generates a permalink URL if the URL is set to blank
2017-08-27 13:15:43 +02:00
VirtualTam
e8cef3ac43
Merge pull request #942 from thewilli/fix-wiki-links
...
migrated Github wiki links to readthedocs
2017-08-27 13:12:58 +02:00
VirtualTam
5941c4216d
Merge pull request #946 from thewilli/clean
...
small code cleanup
2017-08-27 13:10:05 +02:00
Willi Eggeling
a544b113f2
code clean: cookie expiration
...
- unified code style (spaces around operators)
- prevented expiration time to be calculated twice
- replaced tabs with spaces
2017-08-26 23:51:38 +02:00
Willi Eggeling
94c035ff71
removed doc and code references to magic quotes
...
- removed all references to magic quotes
- magic quotes are not supported on PHP >= 5.4 (https://secure.php.net/manual/en/security.magicquotes.php )
- Shaarli does not support PHP < 5.5
2017-08-26 11:27:18 +02:00
Willi Eggeling
cc8f572bc0
migrated Github wiki links to readthedocs
2017-08-26 09:40:57 +02:00
ArthurHoaro
c27f2f36f2
Generates a permalinks URL if the URL is set to blank
...
Fixes #926
2017-08-25 20:08:07 +02:00
ArthurHoaro
de901736a6
Merge pull request #938 from ArthurHoaro/hotfix/tagcloud-order
...
Sort tag cloud in alphabetical order
2017-08-25 19:58:32 +02:00
ArthurHoaro
f32ec5fb3c
Sort tag cloud in alphabetical order
...
Fixes #932
2017-08-25 19:25:09 +02:00
ArthurHoaro
c4ac70acbb
Merge pull request #934 from thewilli/fix-note-bookmarklet
...
fixed note bookmarklet
2017-08-25 19:15:24 +02:00
Willi Eggeling
958fc15fec
fixed note bookmarklet
...
- the double quotes used in the alert() call of the note bookmarklet in the default template collided with the ones of the href tag
- replaced the double quotes with single ones (just like the link bookmarklet)
2017-08-24 10:20:32 +02:00
VirtualTam
2a1292359b
Merge pull request #928 from virtualtam/documentation/v0.9.1
...
documentation: update installation instructions for 0.9.1
2017-08-23 01:35:10 +02:00
VirtualTam
2c049b673a
Merge remote-tracking branch 'upstream/v0.9' into latest
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:26:03 +02:00
VirtualTam
d3fee4f40b
documentation: update installation instructions for 0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:22:07 +02:00
VirtualTam
1ea88ae7d1
Bump version to v0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:15:46 +02:00
VirtualTam
9d7a02afce
Merge branch 'master' into v0.9
2017-08-23 01:08:41 +02:00
VirtualTam
7c2460c856
Merge pull request #927 from virtualtam/changelog
...
Update Changelog for 0.9.1
2017-08-23 01:07:28 +02:00
VirtualTam
d600040ebc
Update CHANGELOG.md for 0.9.1
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 01:01:58 +02:00
VirtualTam
92ccaea470
documentation: fix list formatting
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-23 00:57:50 +02:00
ArthurHoaro
da95579da7
Merge pull request #925 from ArthurHoaro/theme/remove-2nd-sort-by
...
Remove the 2nd green 'sort by' row in link list
2017-08-19 17:57:29 +02:00
ArthurHoaro
87fc4fedd6
Merge pull request #924 from ArthurHoaro/feature/hide-list-search
...
Hide the search link if no tag has been searched in tag list
2017-08-19 17:57:21 +02:00
ArthurHoaro
5e58e6e2cf
Merge pull request #923 from ArthurHoaro/hotfix/untagged
...
Fix untagged only button
2017-08-19 17:52:28 +02:00
ArthurHoaro
ebc6dc3e8d
Remove the 2nd green 'sort by' row in link list
...
It isn't really useful and doesn't look good if there isn't enough tags
2017-08-19 17:51:06 +02:00
ArthurHoaro
2fa2f57fd5
Hide the search link if no tag has been searched in tag list
2017-08-19 17:49:11 +02:00
ArthurHoaro
c4925c1f66
Fix untagged only button
2017-08-19 17:41:56 +02:00
VirtualTam
ecda1e0ace
Merge pull request #920 from virtualtam/documentation/rest-3rd
...
documentation: update 3rd-party resources
2017-08-08 22:21:54 +02:00
VirtualTam
57c628e195
documentation: update 3rd-party resources
...
Relates to https://github.com/shaarli/Shaarli/issues/915
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-08 22:02:50 +02:00
VirtualTam
154682d9a2
Merge pull request #918 from Lucas-C/master
...
Adding missing empty() as spotted in #889 code review
2017-08-07 16:20:36 +02:00
Lucas Cimon
d1b69e6af1
Adding missing empty() as spotted in #889 code review
2017-08-06 21:26:37 +02:00
VirtualTam
c7fcea1347
Merge pull request #917 from virtualtam/documentation/fixes+improvements
...
Documentation fixes, improvements and additions
2017-08-06 16:15:32 +02:00
VirtualTam
f320efd689
documentation: elaborate on REST API server & client prerequisites
...
Relates to https://github.com/shaarli/Shaarli/issues/903
Relates to https://github.com/shaarli/Shaarli/issues/905
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:46:05 +02:00
VirtualTam
23daed648c
documentation: remove obsolete doc release instructions
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:33:07 +02:00
VirtualTam
61f63d1086
documentation: add links to example REST API clients
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:30:43 +02:00
VirtualTam
e62486dd6a
documentation: rewrite the REST API PHP client example
...
Closes https://github.com/shaarli/Shaarli/issues/905
Relates to https://github.com/shaarli/Shaarli/pull/751
See https://shaarli.github.io/api-documentation/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 14:15:59 +02:00
VirtualTam
7f876cf62b
documentation: update release download and usage information
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 12:08:09 +02:00
VirtualTam
28439d63b8
documentation: remove duplicate "Coding guidelines" page
...
The information is already present under "Static analysis"
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 12:05:15 +02:00
VirtualTam
43ad7c8e82
documentation: fix rendering and internal references
...
This is mainly cleanup after switching from Github-flavoured Markdown
rendered by Github Pages, to standard Markdown rendered by MkDocs.
Changed:
- rephrase some section titles
Fixed:
- list rendering (items, sub-items))
- code rendering
- quotes
- dead links
Removed:
- extraneous navigational elements
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-05 11:56:24 +02:00
ArthurHoaro
4758c18164
Merge pull request #916 from ArthurHoaro/hotfix/fix-composer-php-version
...
Fix PHP version configuration in composer.json
2017-08-05 11:09:13 +02:00
ArthurHoaro
8911863019
Fix PHP version configuration in composer.json
...
Without this setting, composer would download dependencies depending on the PHP version installed on the system.
E.G. I was getting doctrine/instantiator 1.1, which requires at least PHP 7.1.
2017-08-05 10:59:39 +02:00
VirtualTam
b4ff0afb24
Merge pull request #910 from virtualtam/documentation/improvements
...
Include generated doc in release archives, remove HTML from SCM
2017-08-05 10:40:35 +02:00
ArthurHoaro
1fdb40fc16
Merge pull request #887 from ArthurHoaro/hotfix/dash-tag-rename
...
Make sure that the tag exists before altering/removing it
2017-08-05 09:59:03 +02:00
ArthurHoaro
3b67b22225
Move tag renaming code to LinkDB and unit test it
2017-08-05 09:55:20 +02:00
VirtualTam
f09e1e318e
Merge pull request #889 from Lucas-C/master
...
Using only one form in linklist.html - fix #885
2017-08-03 16:27:59 +02:00
VirtualTam
f5568f87b1
Merge pull request #913 from virtualtam/fix/readme
...
readme: fix logo uri
2017-08-02 14:58:35 +02:00
VirtualTam
22760c5422
readme: fix logo uri
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:50:14 +02:00
VirtualTam
29712e905b
documentation: include generated HTML in release archives
...
Closes https://github.com/shaarli/Shaarli/issues/908
Relates to https://github.com/shaarli/Shaarli/pull/772
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
1093ddeea2
documentation: set edit_uri
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
fcd900f7ce
documentation: remove uneeded resources
...
Relates to https://github.com/shaarli/Shaarli/issues/312
Relates to https://github.com/shaarli/Shaarli/pull/772
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
9ff77362fe
documentation: remove generated HTML from SCM
...
Relates to https://github.com/shaarli/Shaarli/issues/908
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:48:41 +02:00
VirtualTam
c71c7e2bd4
Merge pull request #911 from virtualtam/fix/release/composer
...
fix: use pinned dependency revisions when generating release archives
2017-08-02 14:47:29 +02:00
VirtualTam
eaed9ce88e
fix: use pinned dependency revisions when generating release archives
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-02 14:44:02 +02:00
VirtualTam
ce6bdab3a0
Merge pull request #912 from virtualtam/travis/precise
...
travis: explicitly set the build dist to `precise`
2017-08-02 14:40:49 +02:00
VirtualTam
64d748bbe4
travis: explicitly set the build dist to precise
...
See https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-08-01 19:39:45 +02:00
Lucas Cimon
f210d94f71
Using only one form in linklist.html + adding untaggedonly filter - fix #885
2017-07-30 16:19:34 +02:00
VirtualTam
fccfa09df8
Merge pull request #906 from virtualtam/docker/cleanup
...
docker: remove `dev` image, update documentation
2017-07-29 16:17:09 +02:00
VirtualTam
3a6f91a9cc
Generate HTML documentation
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-07-29 15:33:35 +02:00
VirtualTam
84d0632a2d
docker: remove dev
image, update documentation
...
Relates to https://github.com/shaarli/Shaarli/issues/843
Changed:
- Update Docker image list
- Update Docker documentation structure
Removed:
- Delete Dockerfile and resources for the `dev` image
- Cleanup `doc/` resources
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-07-29 15:32:22 +02:00
VirtualTam
57ee53d6c6
Merge pull request #896 from ArthurHoaro/hotfix/firefox-social-subdir
...
Fix Firefox Social button in the default theme
2017-07-23 19:09:06 +02:00
nodiscc
6d074b4c90
doc: fix bullet list formatting
...
https://shaarli.readthedocs.io/en/master/Shaarli-configuration/
2017-07-20 19:52:39 +02:00
nodiscc
96f70777f7
Merge pull request #901 from shaarli/fix-900
...
Remove merge conflict leftover
2017-07-19 18:54:00 +02:00
ArthurHoaro
2fee2f425d
Merge pull request #899 from smuth4/master
...
Respect HTTP_X_FORWARDED_HOST
2017-07-13 14:15:06 +02:00
Stephen Muth
0b51ea7251
Add tests to cover new server_url behavior
2017-07-12 17:57:47 +00:00
nodiscc
a5fbc689f8
Remove merge conflict leftover
...
Fixes #900
2017-07-11 14:30:14 +02:00
Stephen Muth
b80315e238
Respect HTTP_X_FORWARDED_HOST
...
alongside _PORT and _PROTO
Fixes #879
2017-07-08 00:01:03 +00:00
nodiscc
70cb883547
doc: contributing: remove leftover link to wiki
2017-07-04 21:43:40 +02:00
nodiscc
5b25a9635f
Merge pull request #772 from nodiscc/rtfd
...
Generate HTML documentation using MkDocs
2017-07-04 21:37:30 +02:00
nodiscc
8bf94136e1
makefile: remove [[link]] -> [link](url) conversion logic
...
all links in documentation have been converted to standard markdown link syntax
2017-07-04 21:30:50 +02:00
nodiscc
366247c84c
make htmlpages
2017-07-04 21:30:31 +02:00
nodiscc
f47aa40c12
makefile: remove obsolete 'doc' target
...
official documentation can now be found in doc/md/
2017-07-04 21:26:27 +02:00
nodiscc
2f9c1ecf88
doc: release: update doc generation instructions
2017-07-04 21:26:01 +02:00
nodiscc
a6192bdd52
CONTRIBUTING.md: define new workflow for documentation edition and contributions
2017-07-04 21:24:44 +02:00
nodiscc
081a73486f
doc: replace pandoc requirement with python3-venv
2017-06-18 22:22:34 +02:00
nodiscc
12e1877917
move README contents to doc/md/index.md
2017-06-18 22:15:50 +02:00
nodiscc
0433c688b9
make htmlpages
2017-06-18 06:32:30 +02:00
nodiscc
460ce50115
doc: rename "datastore hacks" -> "various hacks", move example scripts to gist.github.com, remove obsolete GH wiki _Sidebar.md
2017-06-18 06:29:15 +02:00
nodiscc
53ed6d7d1e
Generate HTML documentation using MkDocs (WIP)
...
MkDocs is a static site generator geared towards building project documentation.
Documentation source files are written in Markdown, and configured with a single YAML file.
* http://www.mkdocs.org/
* http://www.mkdocs.org/user-guide/configuration/
Ref. #312
* remove pandoc-generated HTML documentation
* move markdown doc to doc/md/,
* mkdocs.yml:
* generate HTML doc in doc/html
* add pages TOC/ordering
* use index.md as index page
* Makefile: remove execute permissions from generated files
* Makefile: rewrite htmlpages GFM to markdown conversion using sed:
awk expression aslo matched '][' which causes invalid output on complex links with images or code blocks
* Add mkdocs.yml to .gitattributes, exclude this file from release archives
* Makefile: rename: htmldoc -> doc_html target
* run make doc: pull latest markdown documentation from wiki
* run make htmlpages: update html documentation
2017-06-18 00:19:49 +02:00
ArthurHoaro
d5d22a6d07
Merge pull request #890 from Lucas-C/taglist-cloud_improvments
...
Tagcloud/list improvments
2017-06-11 14:14:59 +02:00
ArthurHoaro
8eb6bac137
Fix Firefox Social button in the default theme
...
is no longer required since the JS function is now in .
Also, include the trailing slash in the post URL.
Fixes #895
2017-06-11 14:09:42 +02:00
Lucas Cimon
49cc8e5d74
Tagcloud/list improvments
2017-06-09 10:58:12 +02:00
ArthurHoaro
88535f20a9
Merge pull request #894 from Lucas-C/bug893
...
Fixing "Uncaught TypeError" in shaarli.js - fix #893
2017-06-07 22:37:01 +02:00
Lucas Cimon
9bf82f4fa1
Fixing "Uncaught TypeError" in shaarli.js - fix #893
2017-06-07 16:10:24 +02:00
ArthurHoaro
d99aef535f
Refactoring of CHANGETAG part to avoid duplicated code
2017-05-31 18:36:35 +02:00
ArthurHoaro
4c970f099f
Make sure that the tag exists before altering/removing it
...
Fixes #886
2017-05-31 18:24:21 +02:00
ArthurHoaro
5c6fac0bfc
Merge pull request #882 from ArthurHoaro/feature/edit-timestamp
...
Add creation date when editing a link
2017-05-31 17:54:46 +02:00
ArthurHoaro
ac94db1e36
Merge pull request #880 from ArthurHoaro/hotfix/allowed-protocols
...
Add a whitelist of protocols for URLs
2017-05-31 17:52:19 +02:00
ArthurHoaro
807cade64c
Add creation date when editing a link
...
Also, alter the title on edition
Fixes #431
2017-05-31 17:50:11 +02:00
ArthurHoaro
268309df5d
Merge pull request #884 from ArthurHoaro/hotfix/bookmarklet-url-limit
...
Selection is now limited to 2k characters using bookmarklets
2017-05-31 17:44:19 +02:00
ArthurHoaro
96b12e55f0
Merge pull request #883 from ArthurHoaro/template/visited-link
...
Display visited links in grey
2017-05-28 13:17:20 +02:00
ArthurHoaro
e2bcb9d915
Bookmarklet size limit: increase to 4500 chars and add an alert warning
2017-05-28 13:13:31 +02:00
ArthurHoaro
d6aec9e60b
Selection is now limited to 2k characters using bookmarklets
...
to avoid having too large URL
Fixes #528
2017-05-25 16:45:08 +02:00
ArthurHoaro
acadb0801f
Display visited links in grey
...
Fixes #244
2017-05-25 16:30:37 +02:00
ArthurHoaro
3e395a6bc6
Merge pull request #841 from ArthurHoaro/feature/search-no-tag
...
Empty tag search will look for not tagged links
2017-05-25 15:54:20 +02:00
ArthurHoaro
b2e2aa42e2
Merge pull request #881 from ArthurHoaro/feature/note-bookmarklet
...
Add Note bookmarklet #580
2017-05-25 15:51:48 +02:00
ArthurHoaro
7d86f40bdb
Empty tag search will look for not tagged links
...
Fixes #784
From now, searching for tags with an empty value will return only not tagged links,
with the search bar showing `x results [not tagged]`.
Note that using the api, the searchtags request parameter must be set to `false` to get the same result.
- [ ] Update API doc
2017-05-25 15:51:12 +02:00
philipp-r
bb8cf6d362
Add Note bookmarklet #580
2017-05-25 15:34:26 +02:00
ArthurHoaro
81a91579ba
Merge pull request #835 from ArthurHoaro/feature/tag-cloud
...
Adds a taglist view with edit/delete buttons
2017-05-25 15:28:26 +02:00
ArthurHoaro
82e3bb5f06
Tag list: use awesomplete for tag auto completion
2017-05-25 15:25:04 +02:00
ArthurHoaro
aa4797ba36
Adds a taglist view with edit/delete buttons
...
* The tag list can be sort alphabetically or by most used tag
* Edit/Delete are perform using AJAX, or fallback to 'do=changetag' page
* New features aren't backported to vintage theme
2017-05-25 15:25:04 +02:00
ArthurHoaro
bc988eb042
Add a token available everywhere
2017-05-25 15:05:24 +02:00
ArthurHoaro
5893529cf4
Move tagcloud template file to tag.cloud
2017-05-25 15:05:24 +02:00
ArthurHoaro
986a521067
Add an endpoint to refresh the token
...
Useful for AJAX requests which burns the token
2017-05-25 15:05:23 +02:00
ArthurHoaro
8b27824338
Merge pull request #819 from ArthurHoaro/feature/multi-delete
...
Bulk deletion
2017-05-25 15:03:32 +02:00
ArthurHoaro
86ceea054f
Add a whitelist of protocols for URLs
...
- for Shaare
- for markdown description links and images
Not whitelisted protocols will be replaced by `http://`
2017-05-25 14:58:34 +02:00
ArthurHoaro
7481dd6e66
Merge pull request #878 from Lucas-C/master
...
Adding the ability to display subtags in the tagcloud
2017-05-25 13:39:31 +02:00
Lucas Cimon
6ccd0b218f
Adding ability to display subtags in tagcloud
2017-05-24 13:09:35 +02:00
ArthurHoaro
61c15aa555
Merge pull request #868 from ArthurHoaro/theme/default-as-default
...
Use the new 'default' theme... as default
2017-05-10 18:25:56 +02:00
ArthurHoaro
3aa7aa0ef0
Merge pull request #869 from ArthurHoaro/cleanup/psh-dead-code
...
PubSubHub: remove dead code
2017-05-10 18:25:41 +02:00
ArthurHoaro
6b32719faf
Merge pull request #870 from kalvn/fixusercss
...
Fixes file existence check for user.css
2017-05-09 19:33:11 +02:00
kalvn
105fb7a2a0
Fixes file existence check for user.css
2017-05-09 19:09:33 +02:00
ArthurHoaro
033cf2a1e5
PubSubHub: remove dead code
2017-05-09 18:26:34 +02:00
ArthurHoaro
845810a8d3
Use the new 'default' theme... as default
...
Fixes #866
2017-05-09 18:22:31 +02:00
ArthurHoaro
bf82dcfeb3
Fix version file
2017-05-09 18:15:05 +02:00
ArthurHoaro
c318096c7a
Fix version file
2017-05-09 18:14:05 +02:00
ArthurHoaro
638364987a
Bulk deletion: remove JS ES6 syntax
2017-05-08 14:28:19 +02:00
ArthurHoaro
29a837f347
Bulk deletion
...
* Add a checkboxes in linklist which display a sub-header containing action buttons
* Strongly rely on JS
* Requires a modern browser (ES6 syntax support)
* Checkboxes are hidden if the browser is old or JS disabled
2017-05-08 14:27:20 +02:00
ArthurHoaro
fcf141926d
Release v0.9.0
...
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEGqoBQZDmIumKOObJrZlaKwD4KWQFAlkPUlEACgkQrZlaKwD4
KWR5+gf/akFTTxy5uyTfB1U36cGpgdvhf6bjosBKlaXY+Nvpu1NF/LX8xpbrSFDY
phI8gECt2XPD8Nk4eMhpXi9KLMMYWMccVdO5NKuZP+NxtjpYnTTueAthosm7sWqy
JXtqSJQCDRZJj2GNUhw1WvM/6t2WlmTFUcVRV/2Vq87Hzf0eYnOrTNUXVTsxfc3K
8TY98qu4XgaMenzTjp35O5wza6kihEW27NXwM4KumWjg+VTgRkfePla5EGdK9BcG
16wT94WCy29t/gTIEW9Q9Tf+hTO7Oaq0iyN/8Ha0QFXOOutMuHfrhFMezMDGPzzb
esH47/AT2DzaxfCAIqSorgPVHVYzMA==
=GN48
-----END PGP SIGNATURE-----
Merge tag 'v0.9.0' into latest
Release v0.9.0
2017-05-07 19:23:32 +02:00
ArthurHoaro
bf67ac345f
Update Github badges
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-05-07 19:02:17 +02:00
ArthurHoaro
54c8e8d299
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-05-07 18:48:39 +02:00
ArthurHoaro
510f723300
Merge pull request #863 from ArthurHoaro/v0.9.0
...
Bump version to v0.9.0
2017-05-07 18:45:02 +02:00
ArthurHoaro
b230bf207d
Bump version to v0.9.0
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-05-07 18:44:05 +02:00
ArthurHoaro
f501caed21
Merge pull request #859 from ArthurHoaro/changelog
...
Changelog update
2017-05-07 18:39:44 +02:00
ArthurHoaro
a9fe41a818
Merge pull request #862 from ArthurHoaro/theme/tags-everywhere
...
Inject tag list everywhere to make autocomplete work on the fixed search bar
2017-05-07 18:39:25 +02:00
ArthurHoaro
3108f2a800
Merge pull request #861 from ArthurHoaro/hotfix/import-shorturl-override
...
Fix a bug happening when importing links with override option
2017-05-07 18:38:55 +02:00
ArthurHoaro
5177d8e574
Merge pull request #860 from ArthurHoaro/readme
...
Readme: add API documentation link
2017-05-07 18:38:39 +02:00
ArthurHoaro
22ff7414e9
Changelog update
2017-05-07 18:35:56 +02:00
ArthurHoaro
73c8962654
Inject tag list everywhere to make autocomplete work on the fixed search bar
2017-05-07 18:21:38 +02:00
ArthurHoaro
28794b69cb
Fix a bug happening when importing links with override option
...
The shorturl would be set to null, generating a lot of warnings and breaking permalinks
2017-05-07 18:02:49 +02:00
ArthurHoaro
b4189928f8
Merge pull request #858 from ArthurHoaro/api/history-entries
...
Add history entries for API endpoint
2017-05-07 17:40:17 +02:00
ArthurHoaro
eb5548e853
Readme: add API documentation link
2017-05-07 17:33:16 +02:00
ArthurHoaro
b86aeccf6a
Add settings history only when they're updated
2017-05-07 17:11:25 +02:00
ArthurHoaro
6bc90f50af
History: fix entries order
2017-05-07 17:11:25 +02:00
ArthurHoaro
57ce6dae5d
Reset the history file due to datetime format change
2017-05-07 17:11:25 +02:00
ArthurHoaro
813849e521
Add history entries for API endpoint
...
CHANGED: datetime is now store as an object in history store file
2017-05-07 17:11:22 +02:00
ArthurHoaro
a4af59f471
Merge pull request #857 from ArthurHoaro/api/history-get
...
API: Get History endpoint
2017-05-07 16:08:10 +02:00
ArthurHoaro
61d406933e
API: Get History endpoint
...
See http://shaarli.github.io/api-documentation/#links-history-get
2017-05-07 16:03:40 +02:00
ArthurHoaro
b8fcb7d440
Merge pull request #856 from ArthurHoaro/api/delete-link
...
API: add DELETE endpoint
2017-05-07 16:02:14 +02:00
ArthurHoaro
0843848c1d
API: add DELETE endpoint
...
Based on #840
See http://shaarli.github.io/api-documentation/\#links-link-delete
2017-05-07 15:58:49 +02:00
ArthurHoaro
77de24876f
Merge pull request #840 from ArthurHoaro/api/putLink
...
REST API: implement PUT method
2017-05-07 15:55:38 +02:00
ArthurHoaro
cf9181dddf
REST API: implement PUT method
...
* Related to #609
* Documentation: http://shaarli.github.io/api-documentation/#links-link-put
2017-05-07 15:49:16 +02:00
ArthurHoaro
eb6e729808
Merge pull request #855 from ArthurHoaro/theme/vintage-home-link
...
Rename title link label to home link and apply it in vintage theme
2017-05-06 19:37:38 +02:00
ArthurHoaro
f9ff7f1b69
Merge pull request #764 from ArthurHoaro/feature/history
...
History mechanism
2017-05-06 17:12:06 +02:00
ArthurHoaro
6177f3206e
Rename title link label to home link and apply it in vintage theme
...
Related to #853
2017-05-03 19:16:40 +02:00
ArthurHoaro
a271c5f34f
Merge pull request #852 from ArthurHoaro/theme/install-password
...
Theme: use a password type field during the install
2017-04-25 19:11:24 +02:00
ArthurHoaro
4c7045229c
Merge pull request #830 from ArthurHoaro/theme/timezone
...
Change timezone data structure send to the templates
2017-04-25 19:09:13 +02:00
ArthurHoaro
0934f795d3
Theme: use a password type field during the install
2017-04-25 19:06:23 +02:00
ArthurHoaro
504c9df4e7
Merge pull request #848 from ArthurHoaro/hotfix/upload-maxsize
...
Use raw bytes for upload size hidden input
2017-04-25 19:03:29 +02:00
ArthurHoaro
6a19124a09
Use raw bytes for upload size hidden input
2017-04-10 20:01:10 +02:00
ArthurHoaro
c8cb5c2824
Merge pull request #844 from ArthurHoaro/hotfix/id-0
...
Fix offset check with link ID = 0
2017-04-05 19:38:25 +02:00
ArthurHoaro
bc5f1597eb
Fix offset check with link ID = 0
2017-04-05 19:09:25 +02:00
ArthurHoaro
49bc541d79
Apply the new timezone template variables to the vintage theme
2017-04-04 18:44:24 +02:00
ArthurHoaro
a07373135e
Apply the new timezone template variables to the default theme
2017-04-04 18:44:20 +02:00
ArthurHoaro
ae3aa96898
Change timezone data structure send to the templates
...
The goal of this is to be able to adapt the timezone form
in template without hacking the HTML already rendered.
* there are two arrays available:
* `continents` which contains only a list of available continents
* `cities` which contains a list of available timezone cities, associated with their continent
Note: there are two distinct array because RainTPL doesn't support nested loop very well.
2017-04-03 19:24:55 +02:00
ArthurHoaro
2109bb9d9a
Merge pull request #800 from ArthurHoaro/hotfix/get-bytes-warning
...
Fix a warning generated in return_bytes function and refactor it
2017-04-03 19:02:33 +02:00
ArthurHoaro
b68134ac1d
UtilsTest: PHP 5.5 compatibility
2017-04-03 18:53:43 +02:00
ArthurHoaro
84315a3bad
Fix a warning generated in return_bytes function and refactor it
...
It was multiplying a string containing a letter.
Moved function to Utils.php and display a human readable limit size
2017-04-03 18:53:43 +02:00
ArthurHoaro
d9d49b687a
Merge pull request #842 from ArthurHoaro/cleanup/remove-riy-plugin
...
Remove readityourself plugin
2017-04-03 18:41:02 +02:00
ArthurHoaro
8e33d0e767
Remove readityourself plugin
...
Fixes #818
2017-04-01 12:32:43 +02:00
ArthurHoaro
4b385d6c34
Merge pull request #742 from ArthurHoaro/api/postLink
...
REST API: implement POST link service
2017-04-01 10:02:03 +02:00
ArthurHoaro
e96be632f5
Merge pull request #839 from ArthurHoaro/theme/daily-page-title
...
Display daily date in the page title (browser title)
2017-03-29 18:38:52 +02:00
ArthurHoaro
f9c179ce07
Merge pull request #838 from ArthurHoaro/theme/daily-date-format
...
Theme: use format_date function for daily date
2017-03-29 18:38:40 +02:00
ArthurHoaro
935222b8b2
Display daily date in the page title (browser title)
...
Fixes #211
Depends on #838
2017-03-28 20:51:11 +02:00
ArthurHoaro
81bd104daa
Theme: use format_date function for daily date
2017-03-28 20:43:30 +02:00
ArthurHoaro
b64d83cd2b
Merge pull request #837 from ArthurHoaro/theme/js-edit-linklist-margin
...
Theme: JS - Fix a bug preventing edit margin suppression to work
2017-03-27 19:23:54 +02:00
ArthurHoaro
0040058da6
Theme: JS - Fix a bug preventing edit margin suppression to work
...
Explanation: an ID with a leading digit isn't a valid CSS selector
2017-03-27 19:17:49 +02:00
ArthurHoaro
68016e3798
REST API: implement POST link service
2017-03-27 18:44:50 +02:00
ArthurHoaro
b320c860f5
Merge pull request #832 from ArthurHoaro/theme/font
...
Theme: change global font to Roboto and include bold variant
2017-03-27 18:35:33 +02:00
ArthurHoaro
06cb3300f3
Merge pull request #834 from philipp-r/issue-833
...
Tags parameter for redirects
2017-03-25 20:54:48 +01:00
philipp-r
0b04f7970c
Tags parameter for redirects #833
2017-03-25 19:41:01 +01:00
ArthurHoaro
ad5c757066
Theme: change global font to Roboto and include bold variant
...
Fixes #822
2017-03-24 18:49:45 +01:00
ArthurHoaro
bae74cb292
Merge pull request #831 from ArthurHoaro/theme/install-api-enable
...
Add API setting in the new theme during the installation
2017-03-23 18:32:26 +01:00
ArthurHoaro
4296080c8e
Merge pull request #829 from ArthurHoaro/hotfix/id-0
...
Fixes a bug preventing to edit link with ID 0
2017-03-23 18:31:40 +01:00
ArthurHoaro
76be95e199
Add API setting in the new theme during the installation
...
Also use the same variable name across template files
2017-03-22 19:58:22 +01:00
ArthurHoaro
b712ab0ac4
Fixes a bug preventing to edit link with ID 0
...
Fixes #814
2017-03-22 19:08:17 +01:00
ArthurHoaro
c843794786
Merge pull request #828 from ArthurHoaro/project/master-version
...
Fix version check branch for UT
2017-03-22 18:59:40 +01:00
ArthurHoaro
5e4a83bb98
Fix version check branch for UT
2017-03-22 18:55:09 +01:00
ArthurHoaro
dcc85ea619
Merge pull request #798 from ArthurHoaro/feature/composer-lock
...
Include composer.lock in git files
2017-03-22 18:51:20 +01:00
ArthurHoaro
64c34078e4
Merge pull request #816 from ArthurHoaro/project/master-version
...
Use 'dev' version on the master branch
2017-03-22 18:50:33 +01:00
VirtualTam
36eb71fb48
Merge pull request #826 from virtualtam/readme/badges
...
README: use explicit version badges
2017-03-21 21:57:17 +01:00
ArthurHoaro
d16ca2e22f
History: lazy loading for the history file
...
Only read it when it's necessary
2017-03-21 20:29:20 +01:00
ArthurHoaro
4306b184c4
History mechanism
...
Use case: rest API service
* saved by default in data/history
* same format as datastore.php
* traced events:
* save/edit/delete link
* change settings or plugins settings
* rename tag
2017-03-21 20:29:20 +01:00
ArthurHoaro
b2306b0c78
Move database read/write to FileUtils class + additional unit tests
2017-03-21 20:16:26 +01:00
ArthurHoaro
1c070fa812
Include composer.lock in git files
2017-03-21 20:13:13 +01:00
ArthurHoaro
c4c655d9bf
Merge pull request #804 from ArthurHoaro/feature/atom-default
...
Fixes #304 : use atom feed as default
2017-03-21 20:10:49 +01:00
ArthurHoaro
b786c8836f
Set Shaarli's version only in shaarli_version.php file
2017-03-21 20:08:40 +01:00
ArthurHoaro
4bad4bde5a
Merge pull request #817 from ArthurHoaro/feature/json-conf-parsing
...
Proper error if the conf file is invalid instead of fatal error
2017-03-21 20:04:09 +01:00
VirtualTam
643b631281
README: use explicit version badges
...
Closes https://github.com/shaarli/Shaarli/issues/823
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-19 18:50:53 +01:00
ArthurHoaro
5c0e68c071
Merge pull request #815 from ArthurHoaro/theme/display-version
...
Theme: display shaarli version in the footer when logged in
2017-03-12 16:10:15 +01:00
ArthurHoaro
c6a4c2882d
Proper error if the conf file is invalid instead of fatal error
...
Error:
An error occurred while parsing configuration JSON file (data/config.json.php): error code #4
➜ Syntax error
Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com.
2017-03-12 16:09:34 +01:00
ArthurHoaro
bbc6b844c1
Add an updateMethod to match the current remote branch for updates
2017-03-12 15:28:23 +01:00
ArthurHoaro
b897c81f8c
Use 'dev' version on the master branch
...
Allowed check branches are now `latest` and `stable`.
2017-03-12 15:05:59 +01:00
ArthurHoaro
8294195677
Theme: display shaarli version in the footer when logged in
...
Fixes #778
2017-03-12 14:52:44 +01:00
ArthurHoaro
7fc5f07492
Merge pull request #813 from ArthurHoaro/changelog
...
Update changelog
2017-03-12 14:45:46 +01:00
ArthurHoaro
89284d554d
Update changelog
2017-03-12 14:03:19 +01:00
ArthurHoaro
6e0a1310a2
Merge pull request #811 from ArthurHoaro/theme/awesomplete-overflow
...
Fixes #806 : display overflow for awesomplete list
2017-03-12 13:52:35 +01:00
ArthurHoaro
f8a8973f42
Merge pull request #812 from ArthurHoaro/theme/configure-valign
...
Theme: Vertical align theme select in configure
2017-03-12 13:52:23 +01:00
ArthurHoaro
7cea7c7a9a
Theme: Vertical align theme select in configure
...
Fixes #807
2017-03-12 13:42:21 +01:00
ArthurHoaro
15162272f4
Fixes #806 : display overflow for awesomplete list
2017-03-12 13:28:37 +01:00
ArthurHoaro
5eca4ea11e
Merge pull request #809 from ArthurHoaro/cleanup/inline-js
...
Remove inline JS and add LibreJS headers in JS files
2017-03-12 12:59:05 +01:00
ArthurHoaro
b9b41d25e3
Remove inline JS and add LibreJS headers in JS files
...
Fixes #33 (wow!)
Relates to #395
2017-03-12 12:45:32 +01:00
ArthurHoaro
cffc5ce3d1
Merge pull request #808 from ArthurHoaro/demo-readme
...
Shaarli demo moved to shaarli.org
2017-03-11 20:32:35 +01:00
ArthurHoaro
3252fbb3cc
Shaarli demo moved to shaarli.org
2017-03-11 20:27:35 +01:00
ArthurHoaro
196808e14f
Merge pull request #779 from ArthurHoaro/feature/import-parser-logs
...
Link imports are now logged in `data/` folder, and can be debug using…
2017-03-11 14:23:05 +01:00
ArthurHoaro
c4f8360240
Merge pull request #803 from ArthurHoaro/feature/awesomplete-autofirst
...
Fixes #657 : use data-autofirst parameter for awesomeplete
2017-03-11 14:20:55 +01:00
ArthurHoaro
c904bccce1
Merge pull request #805 from ArthurHoaro/mobile-logo
...
Fixes #793 : display the star logo on mobile instead of home logo
2017-03-11 14:20:40 +01:00
ArthurHoaro
6fcb443787
Fixes #793 : display the star logo on mobile instead of home logo
2017-03-11 14:19:59 +01:00
ArthurHoaro
2ea89aba4f
Fixes #304 : use atom feed as default
...
RSS feed is still available with the setting set to false
2017-03-11 14:13:58 +01:00
ArthurHoaro
1739d6b314
Merge pull request #799 from ArthurHoaro/plugins/piwik-url
...
Fix #773 : set Piwik URL protocol
2017-03-11 13:52:00 +01:00
ArthurHoaro
792b26789f
Fixes #657 : use data-autofirst parameter for awesomeplete
...
data-autofirst automatically selects the first item of the list of choice automatically. You just have to press enter to use it.
2017-03-11 13:48:47 +01:00
ArthurHoaro
fe83d45c46
Fix #773 : set Piwik URL protocol
2017-03-11 13:27:02 +01:00
ArthurHoaro
87e9631e4a
Fix namespace issue
2017-03-10 18:49:53 +01:00
ArthurHoaro
c31f3ce048
Upgrade netscape-bookmark-parser dependency to v2.x
2017-03-10 18:46:53 +01:00
ArthurHoaro
48417aed1d
Link imports are now logged in data/
folder, and can be debug using dev.debug=true
setting
...
related to #741 and #681
2017-03-10 18:46:53 +01:00
ArthurHoaro
844021ab4c
Merge pull request #797 from ArthurHoaro/hotfix/font-git
...
Prevent git from messing with font files
2017-03-09 20:10:14 +01:00
ArthurHoaro
16a2ef6b5a
Merge pull request #794 from ArthurHoaro/hotfix/namespace
...
Move config exception to dedicated classes with proper namespace
2017-03-09 19:45:52 +01:00
ArthurHoaro
07b57cfef9
Prevent git from messing with font files
...
This should remove font related errors in browser debig consoles
2017-03-09 19:41:32 +01:00
ArthurHoaro
5ba55f0cf2
Move config exception to dedicated classes with proper namespace
2017-03-09 19:16:42 +01:00
ArthurHoaro
9c5daad19c
Merge pull request #792 from ArthurHoaro/feature/private-filter-visual
...
Display private only filter as search criteria
2017-03-09 19:15:47 +01:00
ArthurHoaro
1e38df6606
Merge pull request #791 from ArthurHoaro/feature/ctrl-enter-submit
...
Submit editlink textarea using CTRL+Enter shortcut
2017-03-09 19:14:10 +01:00
VirtualTam
2008098574
Merge pull request #796 from virtualtam/changelog
...
Add v0.7.1 to CHANGELOG.md
2017-03-08 23:07:53 +01:00
VirtualTam
5b750090c7
Add v0.7.1 to CHANGELOG.md
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-08 22:58:44 +01:00
ArthurHoaro
e6cd773f5a
Fix blocking namespace issue
2017-03-08 20:00:21 +01:00
ArthurHoaro
7c26f6626a
Display private only filter as search parameter
2017-03-08 19:57:15 +01:00
ArthurHoaro
2dd698fd79
Submit editlink textarea using CTRL+Enter shortcut
2017-03-08 18:59:54 +01:00
ArthurHoaro
db0caba3c4
Merge pull request #790 from ArthurHoaro/feature/intl-dates
...
Fix autoLocale error and cover it with unit tests
2017-03-07 19:32:36 +01:00
ArthurHoaro
03b9cb600a
Fix autoLocale error and cover it with unit tests
2017-03-07 19:27:17 +01:00
ArthurHoaro
9971f7c82c
Merge pull request #750 from ArthurHoaro/feature/intl-dates
...
Improve datetime display
2017-03-06 21:13:48 +01:00
ArthurHoaro
36c8fb1ef8
Use all_tests target in Travis CI
2017-03-06 21:11:18 +01:00
ArthurHoaro
6c7d686454
Run languages tests using PHPUnit test suites
2017-03-06 21:11:18 +01:00
ArthurHoaro
52b503105d
Improve datetime display
...
Use php-intl extension to display datetimes a bit more nicely, depending on the locale.
What changes:
* the day is no longer displayed
* day number and month are ordered according to the locale
* the timezone is more readable (UTC+1 instead of CET)
2017-03-06 21:11:12 +01:00
ArthurHoaro
1255a42cfe
Improve autoLocale() detection
...
- Creates arrays_combination function to cover all cases
- add the underscore separator in the regex
- add `utf8` encoding in addition to `UTF-8`
2017-03-06 20:32:17 +01:00
VirtualTam
236239be75
Merge pull request #788 from virtualtam/application/namespace/config
...
application: introduce the Shaarli\Config namespace
2017-03-04 20:28:38 +01:00
VirtualTam
cc30d749ab
Merge pull request #789 from virtualtam/changelog
...
Update CHANGELOG.md
2017-03-04 17:08:25 +01:00
VirtualTam
3c66e56435
application: introduce the Shaarli\Config namespace
...
Namespaces have been introduced with the REST API, and should be generalized
to the whole codebase to manage object scope and benefit from autoloading.
See:
- https://secure.php.net/manual/en/language.namespaces.php
- http://www.php-fig.org/psr/psr-4/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-04 17:07:52 +01:00
VirtualTam
94cddf7be4
Update CHANGELOG.md
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-04 11:06:16 +01:00
VirtualTam
8868f3ca46
UpdaterTest: ensure PHP 5.3 compatibility
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-04 09:52:48 +01:00
VirtualTam
6b7ddb4871
Bump version to 0.8.4
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-03-04 09:42:26 +01:00
ArthurHoaro
9ff17ae20e
Add markdown_escape setting
...
This setting allows to escape HTML in markdown rendering or not.
The goal behind it is to avoid XSS issue in shared instances.
More info:
* the setting is set to true by default
* it is set to false for anyone who already have the plugin enabled
(avoid breaking existing entries)
* improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof
* mention the setting in the plugin README
2017-03-04 09:38:12 +01:00
VirtualTam
74198dcdf6
Merge pull request #785 from ArthurHoaro/hotfix/markdown-html
...
Add markdown_escape setting
2017-03-04 09:29:29 +01:00
ArthurHoaro
e037610115
Add markdown_escape setting
...
This setting allows to escape HTML in markdown rendering or not.
The goal behind it is to avoid XSS issue in shared instances.
More info:
* the setting is set to true by default
* it is set to false for anyone who already have the plugin enabled
(avoid breaking existing entries)
* improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof
* mention the setting in the plugin README
2017-02-28 19:16:54 +01:00
ArthurHoaro
5978588578
Merge pull request #754 from ArthurHoaro/webdesign2
...
New default template
2017-02-27 20:24:28 +01:00
ArthurHoaro
7dcbfde5ff
Set the vintage theme by default for the time being
2017-02-27 20:20:53 +01:00
ArthurHoaro
7040169069
Multiple minor improvements and bugfixes regarding the new templates:
...
* Add API settings in `configure.html`
* Fix textarea autoresize
* Load user.css from data folder
* Move fold/expand all button to the right and fix an issue with already folded items
* Reset datetime display to international datetime
* Temporarilly remove JS login panel (need improvement and integration with the plugin system)
* Body background is slightly lighter
* Fix an issue where thumbnails were hidden by description
* Fix an issue where private orange bar wasn't displayed with thumbnails
* Remove the gradient bar behind titles
* Fix empty bookmarklet name in Firefox
2017-02-27 20:01:54 +01:00
ArthurHoaro
430ff07102
Upgrade awesomplete + fix multiple autocompletion fields
2017-02-27 20:01:54 +01:00
ArthurHoaro
246d72e143
Fix markdown plugin color overriding
2017-02-27 20:01:54 +01:00
ArthurHoaro
147f4df843
Improve plugin_admin.js to support multiple ordered rows
2017-02-27 20:01:54 +01:00
ArthurHoaro
402b034648
Introduce the new default Shaarli template
2017-02-27 20:01:54 +01:00
ArthurHoaro
009ce93581
Move default template to vintage folder
2017-02-27 20:01:54 +01:00
ArthurHoaro
9e5a37cc7f
Merge pull request #783 from Sbgodin/spaceInBookmarklets
...
Removes spaces before bookmarklet's name
2017-02-24 12:21:49 +01:00
Christophe HENRY
b848615c52
Removes spaces before and after bookmarklet's name
...
Carriage returns turns into space in some cases. The name of the
bookmarklet, once in the browser bookmarks, is surrounded by spaces.
2017-02-22 20:01:40 +01:00
ArthurHoaro
b9eb50c099
Merge pull request #728 from ArthurHoaro/api/getLink
...
REST API: implements getLink by ID service
2017-02-19 16:48:59 +01:00
ArthurHoaro
16e3d006e9
REST API: implements getLink by ID service
...
See http://shaarli.github.io/api-documentation/#links-link-get
2017-02-19 16:45:59 +01:00
ArthurHoaro
65e56cbe49
Merge pull request #769 from ArthurHoaro/api/getlinks-visibility
...
REST API - getLinks: support the visibility parameter
2017-02-13 08:41:12 +01:00
ArthurHoaro
5f3f19f1c0
Merge pull request #776 from ArthurHoaro/hotfix/linkdb-update
...
Fixes #775 : LinkDB do not access LinkDB before ID system migration
2017-02-04 15:24:49 +01:00
ArthurHoaro
c03455af11
Fixes #775 : LinkDB do not access LinkDB before ID system migration
...
To access LinkDB items with its ArrayAccess implementation, the IDs must be consistent, which isn't the case before `updateMethodDatastoreIds()` execution. v0.6.4 method `updateMethodRenameDashTags()` was accessing it, so an upgrade <0.6.4 to >0.8.x was failing.
This just move the minor update `RenameDashTags` after the IDs update.
2017-02-04 12:01:48 +01:00
ArthurHoaro
6f566b69ba
Merge pull request #771 from ArthurHoaro/master
...
v0.8.3 version bump in master
2017-01-20 17:04:51 +01:00
ArthurHoaro
03cadbe220
Bump version to v0.8.3
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-01-20 16:58:47 +01:00
ArthurHoaro
90d4ed9850
Changelog v0.8.3
2017-01-20 16:58:29 +01:00
ArthurHoaro
63bddaad4b
Bump version to v0.8.3
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2017-01-20 16:47:36 +01:00
ArthurHoaro
faf8bdda50
Changelog v0.8.3
2017-01-20 16:44:52 +01:00
ArthurHoaro
848939b7ba
Fixes can login function call in loginform.html
...
Fixes #711
2017-01-20 16:41:33 +01:00
ArthurHoaro
c37a6f820b
REST API - getLinks: support the visibility parameter
2017-01-17 18:53:18 +01:00
ArthurHoaro
89dcbe5277
Merge pull request #768 from ArthurHoaro/feature/get-public-links
...
Update LinkFilter to be able to filter only public links
2017-01-17 09:55:25 +01:00
ArthurHoaro
679b6b40db
Merge pull request #767 from ArthurHoaro/feature/delete-tag-redirect
...
Stay on the changetag page after tag deletion
2017-01-17 09:54:25 +01:00
ArthurHoaro
078fcb56ad
Merge pull request #766 from ArthurHoaro/hotfix/deletion-redirect
...
Fix redirection after link deletion
2017-01-17 09:53:55 +01:00
ArthurHoaro
7f96d9ec21
Update LinkFilter to be able to filter only public links
...
No update regarding the UI or the API for now
Fixes #758
2017-01-16 13:57:11 +01:00
ArthurHoaro
b87442f216
Stay on the changetag page after tag deletion
...
+ fix changetag CSS alignement
relates to #756
2017-01-16 13:16:03 +01:00
ArthurHoaro
95e5add4be
Fix redirection after link deletion
...
relates to #756
2017-01-16 13:07:53 +01:00
ArthurHoaro
d029cf67f8
Merge pull request #765 from ArthurHoaro/master
...
Cherry-pick version bump from v0.8 branch
2017-01-16 12:57:56 +01:00
ArthurHoaro
ae7f6b9d09
Bump version to v0.8.2
2017-01-16 12:53:08 +01:00
ArthurHoaro
fcb0d86b90
v0.8.2 Changelog
2017-01-16 12:52:56 +01:00
ArthurHoaro
4d9fd16ddf
Merge pull request #761 from ArthurHoaro/hotfix/referrer-warning
...
Prevent warning if HTTP_REFERER isn't set
2017-01-16 12:40:00 +01:00
ArthurHoaro
514185e14b
Merge pull request #760 from ArthurHoaro/plugins/addlink-css-404
...
Remove CSS call for addlink toolbar plugin
2017-01-16 12:39:24 +01:00
ArthurHoaro
d7d240f136
Merge pull request #759 from ArthurHoaro/hotfix/dup-tags
...
Prevent tag duplicate when renaming
2017-01-16 12:39:01 +01:00
VirtualTam
36dcf997e4
Update Changelog
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-16 11:35:59 +01:00
VirtualTam
3947bbb043
Bump expected minimal PHP version to 5.5
...
Relates to https://github.com/shaarli/Shaarli/issues/599
Relates to db6b09b69ee265a7d775924fcff9c61aaaabf1cb
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-16 11:35:46 +01:00
ArthurHoaro
8bbf02e0db
Prevent warning if HTTP_REFERER isn't set
...
Fixes #723
2017-01-15 17:58:19 +01:00
ArthurHoaro
053673cb71
Remove CSS call for addlink toolbar plugin
...
Fixes #724
2017-01-15 17:50:16 +01:00
ArthurHoaro
d6327389fc
Prevent tag duplicate when renaming
...
Fixes #757
2017-01-15 17:46:24 +01:00
ArthurHoaro
9977c418d6
Merge pull request #727 from ArthurHoaro/api/getlinks
...
REST API: implement getLinks service
2017-01-15 16:49:50 +01:00
ArthurHoaro
5fbab3edb3
Merge pull request #746 from ArthurHoaro/hotfix/delete-button
...
Fix delete button in editlink
2017-01-15 14:01:47 +01:00
ArthurHoaro
c3b00963fe
REST API: implement getLinks service
...
See http://shaarli.github.io/api-documentation/#links-links-collection-get
2017-01-15 13:55:22 +01:00
VirtualTam
63ef549749
API: expect JWT in the Authorization header
...
Relates to https://github.com/shaarli/Shaarli/pull/731
Added:
- require the presence of the 'Authorization' header
Changed:
- use the HTTP Bearer Token authorization schema
See:
- https://jwt.io/introduction/#how-do-json-web-tokens-work-
- https://tools.ietf.org/html/rfc6750
- http://security.stackexchange.com/q/108662
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-15 13:41:04 +01:00
ArthurHoaro
37ab940599
Merge pull request #753 from ArthurHoaro/usercss
...
Move user.css to data folder
2017-01-14 17:56:28 +01:00
ArthurHoaro
7282418baa
Move user.css to data folder
2017-01-14 16:43:32 +01:00
VirtualTam
3ee5c69777
Add an AUTHORS file, simplify COPYING, bump year to 2017
...
Added:
- AUTHORS file listing Shaarli contributors
- mailmap information to group a Git author's different aliases
- Makefile target to list contributors from Git commit data
Changed:
- Simplify COPYING by using a single "Shaarli Community" entry
- Bump year to 2017
See:
- man git-shortlog
- https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html#_mapping_authors
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-07 14:49:39 +01:00
VirtualTam
ee6f4b64a9
Cleanup: use safe boolean comparisons
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-07 14:37:40 +01:00
ArthurHoaro
066333c03c
Fix delete button in editlink
...
This one was forgotten in #682
2017-01-07 11:15:30 +01:00
Arthur
7418f7cb60
Merge pull request #732 from ArthurHoaro/feature/theme-manager
...
Theme manager: improvements
2017-01-06 11:40:54 +01:00
VirtualTam
93b1fe54fb
Cleanup: explicit method visibility
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-05 19:52:04 +01:00
VirtualTam
724f1e3229
Cleanup: remove unused variables
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-05 19:51:50 +01:00
ArthurHoaro
01c6e32a02
Fix permalink image alignement in daily page
2017-01-05 16:16:27 +01:00
ArthurHoaro
04a0e8ea34
Updater: keep custom theme preference with the new theme setting
2017-01-05 16:16:27 +01:00
ArthurHoaro
a0df06517b
Minor improvements regarding #705 (coding style, unit tests, etc.)
2017-01-05 16:16:23 +01:00
VirtualTam
69173356cd
API+Docker: enable nginx URL rewriting
...
Closes https://github.com/shaarli/Shaarli/issues/668
Changed:
- let nginx rewrite API URLs
See:
- https://www.slimframework.com/docs/start/web-servers.html
- https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-05 13:24:00 +01:00
VirtualTam
383cbaf2c5
Merge pull request #739 from virtualtam/fix/api/jwt-signature
...
API: fix JWT signature verification
2017-01-05 12:39:17 +01:00
adc4aee80f
Change templates set through administration UI
2017-01-05 12:04:02 +01:00
VirtualTam
7a9daac56d
API: fix JWT signature verification
...
Fixes https://github.com/shaarli/Shaarli/issues/737
Added:
- Base64Url utilities
Fixed:
- use URL-safe Base64 encoding/decoding functions
- use byte representations for HMAC digests
- all JWT parts are Base64Url-encoded
See:
- https://en.wikipedia.org/wiki/JSON_Web_Token
- https://tools.ietf.org/html/rfc7519
- https://scotch.io/tutorials/the-anatomy-of-a-json-web-token
- https://jwt.io/introduction/
- https://en.wikipedia.org/wiki/Base64#URL_applications
- https://secure.php.net/manual/en/function.base64-encode.php#103849
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-04 16:59:47 +01:00
Arthur
fc11ab2f29
Merge pull request #682 from ArthurHoaro/delete-button
...
Bugfixes on link deletion, and use a GET form
2017-01-04 16:35:29 +01:00
Arthur
061f04fba0
Merge pull request #733 from ArthurHoaro/hotfix/reverse-proxy-port
...
Hide default ports in local URL behind a reverse proxy
2017-01-04 16:34:06 +01:00
VirtualTam
2d3a9be73d
Merge pull request #736 from virtualtam/url/annoying/campaign
...
URL cleanup: add 'campaign_' to the annoying parameters
2017-01-04 11:48:22 +01:00
VirtualTam
eaf2524887
URL cleanup: add 'campaign_' to the annoying parameters
...
Closes https://github.com/shaarli/Shaarli/issues/735
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-04 11:42:05 +01:00
VirtualTam
67a1d5d823
Merge pull request #731 from virtualtam/fix/api/namespaces
...
API: fix Slim namespaces
2017-01-03 16:21:18 +01:00
Arthur
f3ca027d3a
Merge pull request #734 from ArthurHoaro/hotfix/api-install-error
...
Fix fatal error during the install
2017-01-03 14:45:10 +01:00
ArthurHoaro
e3a430babb
Fix fatal error during the install
2017-01-03 14:25:04 +01:00
ArthurHoaro
8e4be77368
Hide default port in local URL behind a reverse proxy
2017-01-03 14:17:05 +01:00
Arthur
436479c58f
Merge pull request #719 from ArthurHoaro/feed-opensearch
...
Add opensearch to RSS and ATOM feeds
2017-01-03 10:07:08 +01:00
Arthur
64497fb302
Merge pull request #725 from ArthurHoaro/hotfix/privatetags-split
...
Fixes presence of empty tags for private tags and in search results
2017-01-03 09:57:52 +01:00
ArthurHoaro
af815f771c
Add opensearch to RSS and ATOM feeds
...
Fixes #709
2017-01-03 09:57:19 +01:00
ArthurHoaro
b3051a6aae
Fixes presence of empty tags for private tags and in search results
...
* Private tags: make sure empty tags are properly filtered
* Search results:
* Use preg_split instead of function combination
* Add normalize_spaces to remove extra whitespaces displaying empty tags search
2017-01-03 09:47:15 +01:00
VirtualTam
465b1c4090
API: fix Slim namespaces
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2017-01-02 18:37:08 +01:00
Arthur
e0177549c7
Merge pull request #620 from ArthurHoaro/pubsubhub
...
Move Pubsubhub to a default plugin
2016-12-20 11:44:19 +01:00
ArthurHoaro
db90dfcbbc
Move PubSubHubbub code as a default plugin
2016-12-20 11:41:24 +01:00
ArthurHoaro
085efc33cc
Add plugin placeholders in RSS and ATOM feeds templates
2016-12-20 11:32:15 +01:00
Arthur
80677a23e2
Merge pull request #666 from ArthurHoaro/slim-api
...
REST API structure using Slim framework
2016-12-20 11:30:05 +01:00
ArthurHoaro
e350aa750f
Fix typo in markdown plugin meta description
2016-12-18 14:27:32 +01:00
ArthurHoaro
f4ebd5fed2
Bugfixes on link deletion, and use a GET form
...
Use a GET form to delete links: harmonize with edit_link and preparation for #585
Bug fixes:
* LinkDB element can't be passed as reference, fix error:
PHP Notice: Indirect modification of overloaded element of LinkDB has no effect
* Resource cache folder setting wasn't set correctly
2016-12-16 12:42:13 +01:00
Arthur
e3ffc8fdee
Merge pull request #714 from ArthurHoaro/hotfix/banlogin
...
Fixes can login function call in loginform.html
2016-12-16 12:23:47 +01:00
Arthur
1022c59df8
Merge pull request #717 from ArthurHoaro/v0.8
...
Preparation of v0.8.2
2016-12-15 11:58:39 +01:00
ArthurHoaro
455f776a3d
Bump version to v0.8.2
2016-12-15 11:52:31 +01:00
ArthurHoaro
5036cffade
v0.8.2 Changelog
2016-12-15 11:49:41 +01:00
ArthurHoaro
00be9941f3
Fix a regression: permalinks change when old links are edited
...
fixes #713
2016-12-15 11:43:42 +01:00
Arthur
c0d96ce590
Merge pull request #716 from ArthurHoaro/hotfix/editoldlinks
...
Fix a regression: permalinks change when old links are edited
2016-12-15 11:41:22 +01:00
ArthurHoaro
826c6af7c0
Fix a regression: permalinks change when old links are edited
...
fixes #713
2016-12-15 11:18:56 +01:00
ArthurHoaro
4cfe8d3303
Fixes can login function call in loginform.html
...
Fixes #711
2016-12-15 10:57:11 +01:00
ArthurHoaro
18e6796726
REST API structure using Slim framework
...
* REST API routes are handle by Slim.
* Every API controller go through ApiMiddleware which handles security.
* First service implemented `/info`, for tests purpose.
2016-12-15 10:36:00 +01:00
ArthurHoaro
423ab02846
PHP requirement increased to PHP 5.5 - See #599
2016-12-15 10:04:05 +01:00
ArthurHoaro
cbfdcff261
Prepare settings for the API in the admin page and during the install
...
API settings:
- api.enabled
- api.secret
The API settings will be initialized (and the secret generated) with an update method.
2016-12-12 03:54:10 +01:00
ArthurHoaro
624f999fb7
Ignore compressed tar archive
2016-12-12 03:51:48 +01:00
Arthur
ab18fe06d6
Merge pull request #708 from ArthurHoaro/v0.8.1
...
Bump version to v0.8.1
2016-12-12 03:40:09 +01:00
ArthurHoaro
3cc8c89830
Bump version to v0.8.1
...
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-12-12 03:38:12 +01:00
Arthur
75f7adee19
Merge pull request #707 from ArthurHoaro/changelog
...
changelog: add release date for v0.8.1 and add section v0.9.0
2016-12-12 03:32:13 +01:00
ArthurHoaro
00670b2071
changelog: add release date for v0.8.1 and add section v0.9.0
2016-12-12 03:30:54 +01:00
Arthur
622d7864e9
Merge pull request #706 from ArthurHoaro/changelog
...
changelog update
2016-12-12 03:28:02 +01:00
ArthurHoaro
6c1be5bcec
changelog update
2016-12-12 03:26:56 +01:00
Arthur
9cf93bcfc5
Merge pull request #697 from ArthurHoaro/feature/ids-bis
...
Link ID refactoring
2016-12-12 03:15:32 +01:00
Arthur
a0d079141e
Merge pull request #679 from ArthurHoaro/plugins/header
...
Improve theme dependent plugin placeholders:
2016-12-12 03:07:13 +01:00
ArthurHoaro
d592daea83
Add a persistent 'shorturl' key to all links
...
All existing link will keep their permalinks.
New links will have smallhash generated with date+id.
The purpose of this is to avoid collision between links due to their creation date.
2016-12-12 03:03:12 +01:00
ArthurHoaro
c3dfd89959
Unit Test for the new ID system
2016-12-12 03:03:12 +01:00
ArthurHoaro
01878a75b9
Apply the new ID system accros the whole codebase
2016-12-12 03:03:12 +01:00
ArthurHoaro
1dc37f9cf8
Update method to use the new ID system, which replaces linkdate primary keys.
...
creation and update dates are now DateTime objects.
Since this update is very sensitve (changing the whole database), the datastore will be automatically backed up into the file datastore.<datetime>.php.
2016-12-12 03:02:01 +01:00
ArthurHoaro
29d108820f
Link ID refactoring
...
Links now use an incremental unique numeric identifier.
This ID is persistent and must never change.
ArrayAccess is used to match the link ID with the array keys (see the comment in LinkDB for more details)
Key 'created' added, with creation date as a DateTime object. 'updated' is now also a DateTime.
2016-12-12 03:02:01 +01:00
ArthurHoaro
ba0fd80732
Improve theme dependent plugin placeholders:
...
- buttons_toolbar: now expect links represented by an array instead of HTML content
- fields_toolbar: now expect a form represented by an array instead of HTML content
- action_plugin: now expect links represented by an array instead of HTML content
Default templates updated accordingly
mprove theme dependent plugin placeholders:
2016-12-01 11:38:21 +01:00
da3abc7591
Fix search tag style
2016-09-16 10:47:07 +02:00
645557480c
Change tag style
2016-09-14 11:13:49 +02:00
e68e261882
[upd] Parsedown to 1.6.0
2016-08-26 14:26:21 +02:00
0605188d4e
Merge branch 'master' into myShaarli
2016-08-25 15:10:55 +02:00
12180ef604
[fix] checkversion url
2016-08-25 15:04:39 +02:00
9a3783ed20
[fix] bad merge
2016-08-25 14:27:57 +02:00
86894a7261
[add] support of Wallabag V2 + option in config manager
2016-08-25 14:11:43 +02:00
6658463e9e
[fix] private icon not show
2016-06-16 09:31:31 +02:00
e9cda12d81
[fix] private icon not show
2016-06-15 09:10:11 +02:00
c29027dd1a
Merge branch 'private_link' into myShaarli
2016-06-15 09:03:44 +02:00
9a49486707
Bump version
2016-06-14 12:01:23 +02:00
5ac350359c
[fix] private icon not show
2016-06-14 11:59:10 +02:00
34b2678fd9
[fix] bad link for myShaarli repo
2016-06-14 11:41:43 +02:00
118f40d21e
Better indent
2016-06-10 16:26:53 +02:00
a076447c7c
Fix bad page title
2016-06-10 16:00:08 +02:00
VirtualTam
35cc3582f0
Logging: improve formatting to enable fail2ban parsing
...
Fixes #436
Modifications:
- remove calls to strval() on safe data
- update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s'
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-06-08 12:28:02 +02:00
b7b0894720
[fix] bad merge 167066f4bb
2016-06-08 12:11:55 +02:00
ad03ee9f5f
Bump version
2016-06-08 11:59:42 +02:00
ArthurHoaro
20d859380a
Fixes #399 - show single link title as page title
2016-06-08 11:56:24 +02:00
Nicolas Danelon
167066f4bb
cleanup: remove json_encode() (built-in since PHP 5.2)
...
See http://php.net/manual/en/function.json-encode.php
Legacy since php 5.2.x . If php5.3 is required for the install script
2016-06-08 11:43:07 +02:00
ArthurHoaro
a1c3e68e7a
Fixes #382 : Bookmarklet can not retrieve title when there is a quotation mark in it
...
bookmarklet fields weren't correctly escaped
2016-06-08 11:23:38 +02:00
f981ab8a17
[add] implemented opensearch plugins
2016-06-08 11:01:13 +02:00
042095ae7a
[upd] change url to new repo
2016-06-08 09:31:51 +02:00
72944a7234
[fix] encode of date
2016-02-18 17:00:14 +01:00
8b2d826eb1
Update index.php
2015-07-24 10:59:00 +02:00
c6a6780a89
[fix] #222 FUD Full Path Disclosure
2015-07-24 10:18:29 +02:00
cfc25f73e7
[fix] additional break line in RSS and Atom feed
2015-07-23 11:20:22 +02:00
7f51ca3b37
[fix] config not save
2015-07-23 10:53:42 +02:00
0db6fbd935
[upd] README and remove beta in version
2015-07-21 15:29:46 +02:00
b7538c4a1b
[fix] point at end of footer
2015-07-21 14:53:13 +02:00
4a4046e25c
[upd] better install form
2015-07-21 14:50:34 +02:00
51f119e569
[fix] install doesn't work
2015-07-21 13:49:41 +02:00
927e67a6a9
[fix] picwall not load
2015-07-21 11:42:36 +02:00
1c0853cd04
[upd] readme
2015-07-20 17:31:11 +02:00
1edbcb4f38
[fix] path of image
2015-07-20 16:34:19 +02:00
00c968f830
[fix] path of image
2015-07-20 16:31:10 +02:00
cef0816903
[add] option for define date format
2015-07-20 16:27:17 +02:00
ArthurHoaro
d1be6766f3
#193 add UTF8 by default to autoLocale
2015-07-20 15:21:34 +02:00
ArthurHoaro
31fc9518a3
Fixes autoLocale function by trying several way to find a correct one.
...
Fix https://github.com/shaarli/Shaarli/issues/184
2015-07-20 15:21:22 +02:00
1f3a7f78a0
[chg] change some class for theme compatibility
2015-07-20 15:10:22 +02:00
17699d82dc
[upd] use flex input and label form
2015-07-17 14:57:40 +02:00
e89182bacf
[add] new template system inspired by communauty fork
2015-07-17 13:49:55 +02:00
b6d9d9b37a
[chg] clean up html code and format
2015-07-17 11:28:43 +02:00
d02bf19916
[add] new logo and news favicon
2015-07-16 17:12:59 +02:00
7bae9485fd
[upd] update README and go to myShaarli 1.0.0 beta
2015-07-08 12:00:55 +02:00
nodiscc
4c6847df8b
improve tag cloud font size scaling
...
* use logarithmic scales
* remove bold style
2015-07-08 10:24:00 +02:00
132acc4e95
[fix] no version return
2015-07-03 15:02:40 +02:00
3c20b1071e
[upd] clean up id and proper css in paging template
2015-07-03 14:32:04 +02:00
f89abe02e8
[fix] bad position of generated qr-code
2015-07-03 14:06:18 +02:00
0b7c7fc069
[add] new theme and adapte linklist template
2015-07-03 13:48:53 +02:00
88f2ebadca
[upd] refactor login form
2015-07-03 10:22:39 +02:00
62c55f9c8c
[upd] replace js focus by html5 autofocus
2015-07-03 10:08:37 +02:00
c5eeb78c3c
[chg] cleanup html structure
2015-07-03 10:02:58 +02:00
8afd5016af
[chg] remove language="JavaScript"
2015-07-03 09:50:53 +02:00
b74a59fd49
[add] in note post add tag 'note'
2015-07-03 09:42:32 +02:00
Florian Eula
e267bf2772
Prevents ?do=addlink from generating a 404 if the user is not logged in
...
Fixes https://github.com/shaarli/Shaarli/issue/47
2015-07-03 09:32:44 +02:00
Emilien Klein
194cd1cd16
Redirect to home page after deleting a link
...
Fixes issue 87
2015-07-03 09:30:28 +02:00
01342dd5a4
[upd] improve removing feedburner.... parameter
2015-07-02 17:17:05 +02:00
1d1bc6ebe3
[fix] error with autocomplet tag
2015-07-02 17:04:30 +02:00
799c92d786
[add] new configuration page
...
[fix] disable thumbnails keep left space in myShaarli theme
2015-07-01 12:20:41 +02:00
d541bf3514
[chg] better html structure
2015-06-29 15:19:32 +02:00
a044da320e
[fix] forgot includes.html
2015-06-29 14:51:09 +02:00
d15d267369
[fix] login background
2015-06-29 14:48:52 +02:00
7708afcc78
[chg] release user.css, merge old user.css and shaarli.css on myShaarli.css
2015-06-29 14:42:09 +02:00
b741e823c7
[chg] reorganize css
2015-06-29 11:36:09 +02:00
7d0661086e
[chg] optimise and clean css
2015-06-29 11:30:57 +02:00
ff50f9c69e
[chg] start proper fork of original Shaarli
2015-06-26 17:29:17 +02:00
9047fb2fd5
[chg] remove javascript autofocus prefer html5
2015-06-26 15:33:17 +02:00
1f28497fff
[add] option for define contact link
2015-06-26 15:23:10 +02:00
cd635a0857
[add] Firefox social API by Marsup d33c5d4c3b
2015-06-26 14:41:36 +02:00
1f0cf0c35e
[chg] bad if syntax
2015-06-26 14:09:33 +02:00
ArthurHoaro
17c45348fe
Page title if there is a single link
...
Fixes #232
2015-06-26 14:03:36 +02:00
5bc8d56ae8
[fix] small fix
2015-06-26 12:23:23 +02:00
75d92a11f6
[fix] duplicate id paging_current in paging
2015-05-20 12:30:54 +02:00
3a6dad3bc4
Merge branch 'myShaarli' of forge.leslibres.org:shaarli into myShaarli
2015-05-20 12:24:13 +02:00
b69f64e3fa
[add] option for post original article to wallabag (nodiscc plugin)
2015-05-20 12:23:02 +02:00
8a93529664
[add] option for post original article to wallabag (nodiscc plugin)
2015-05-20 12:19:47 +02:00
3737a64ff3
[chg] change rename/delete tag form
2015-05-20 10:40:51 +02:00
2e05b32a32
[add] markdown documentation
...
[upd] better css and semantic for edit/add form
2015-05-13 12:07:03 +02:00
33502774af
[upd] better add form css
2015-05-12 16:26:37 +02:00
7f8cde80f7
[add] option for enable/disable markdown
...
[fix] enables automatic line breaks
2015-05-07 10:38:19 +02:00
09fb269e37
[add] insert selected description from bookmarklet as quote (markdown)
2015-05-05 16:36:39 +02:00
nodiscc
ade1b1365b
thumbnails: force HTTPS for youtube, imgur, vimeo
...
* other services also provide thumbs over HTTPS, but the rewrite expression is more complex, so left out for now
2015-05-05 16:04:08 +02:00
Qwerty
83a86d2d39
Add Archive.org integration
...
* adds an "archive" link next to permalinks, linking to the last version of the page on archive.org
2015-05-05 15:56:17 +02:00
ArthurHoaro
1687756741
shaarli/Shaarli#34 : Make update check optional
...
* Add a check box at installation (checked by default)
* Add a check box in configuration page
2015-05-05 15:36:46 +02:00
nodiscc
3e361b0394
Redirect to homepage after adding a link via "Add Link" dialog
...
* Fixes https://github.com/shaarli/Shaarli/issues/115
2015-05-05 15:19:29 +02:00
ArthurHoaro
f2391a5793
Fixes shaarli/Shaarli#46 : allow 'javascript:' links sharing
2015-05-05 15:17:25 +02:00
27c05d1885
[upd] fix all div width
2015-05-05 15:10:32 +02:00
a90f15a5c2
[upd] css search form
2015-05-05 14:34:29 +02:00
nodiscc
e76cb042fa
tools dialog: add a 'Add Note' bookmarklet to immediatly open a note (text post) compose window
...
* Fixes https://github.com/shaarli/Shaarli/issues/142
* Fixes https://github.com/sebsauvage/Shaarli/issues/59
2015-05-05 12:02:03 +02:00
6f4fd910a9
[add] markdown support
2015-05-05 11:41:43 +02:00
086adcd4a9
[fix] bad detection of favicon url
2015-01-30 10:47:07 +01:00
f0bec991d0
Merge branch 'favicon' into myShaarli
...
Conflicts:
index.php
2015-01-30 09:37:52 +01:00
268682859a
[add] show favicon of site
...
[add] fetch and cache favicon
2015-01-29 16:59:59 +01:00
f457180534
Merge branch 'master' into myShaarli
2014-04-04 14:18:43 +02:00
f945bb9b05
Merge branch 'master' of git://github.com/sebsauvage/Shaarli
2014-04-04 14:17:19 +02:00
bb2103a4a2
[add] visual image for private link
2014-04-04 14:16:51 +02:00
Knah Tsaeb
0396d42bba
Merge branch 'master' into myShaarli
2014-02-12 10:51:35 +01:00
Knah Tsaeb
020df22d1e
Merge branch 'master' of git://github.com/sebsauvage/Shaarli
2014-02-12 10:49:50 +01:00
921e7020c9
Merge via branch
2014-01-03 09:49:24 +01:00
f1a8ca9cc8
[fix] warning in search form when empty via field
2014-01-03 09:39:02 +01:00
4123658eae
[upd] change via message (@via to Origine ⇒)
...
[fix] via field for atom
[fix] warning when add new link
2013-12-19 09:53:12 +01:00
8e2b06fd78
[fix] warning when add new link
2013-12-19 09:37:57 +01:00
b55c95e172
Merge branch 'master' into myShaarli
2013-12-19 09:30:59 +01:00
5f9bf1b96e
Merge branch 'master' into via
2013-12-19 09:30:20 +01:00
a9821c6fcd
Merge branch 'master' of git://github.com/sebsauvage/Shaarli
2013-12-19 09:25:58 +01:00
7a8068a787
[upd] update input label via
2013-11-21 17:10:47 +01:00
06d803e78e
[upd] change via message (@via to Origine =>)
...
[fix] via field for atom
2013-11-21 16:50:48 +01:00
e8633c6bbe
[fix] add url prefix for smallhash url for external thumbshot
2013-10-14 14:41:14 +02:00
f80a51a9bf
Merge branch 'master' of git://github.com/sebsauvage/Shaarli
2013-10-11 15:24:33 +02:00
3c49d5a29a
Merge branch 'master' of git://github.com/sebsauvage/Shaarli into via
2013-10-11 15:23:24 +02:00
040eb18ec8
Add source of link (via imput)
2013-10-11 15:18:37 +02:00
55ade1a969
Fix bad merge
2013-09-27 10:02:20 +02:00
6cb22b63c5
Merge branch 'master' into myShaarli
...
Conflicts:
tpl/page.header.html
tpl/picwall.html
tpl/tagcloud.html
2013-09-27 09:53:07 +02:00
6f5933d23f
Sync with SebSauvage repo
2013-09-27 09:38:01 +02:00
1f9886dc51
Merge branch 'master' into myShaarli
...
Conflicts:
index.php
2013-09-24 13:55:49 +02:00
bd5d37d0ba
Merge branch 'master' of git://github.com/sebsauvage/Shaarli
2013-09-24 13:49:24 +02:00
Bronco
b607a4c503
Added the possibility to put a description in the bookmarklet's URL
...
Conflicts:
index.php
2013-09-16 12:02:34 +02:00
lehollandaisvolant
fb57aab74d
Ajout d’un UA lors de la récupération d’une page externe (certains site veulent un UA)
2013-09-16 11:47:42 +02:00
7e929771eb
[upd] link to homepage
2013-09-09 10:44:42 +02:00
ba36c44c5c
[add] link to contact page
2013-09-09 10:42:27 +02:00
64f4f387a0
[fix] PHP notice error
2013-08-20 15:01:45 +02:00
588c4e4be4
Merge branch 'master' into myShaarli
2013-08-07 10:11:37 +02:00
256545b392
Merge branch 'master' of git://github.com/sebsauvage/Shaarli
2013-08-07 10:09:53 +02:00
12e74779c4
[fix] small bug (bad empty test)
2013-05-03 10:44:24 +02:00
c26d0303ee
[fix] background repeat in login page
2013-04-30 16:24:43 +02:00
c2d24b7827
[add] via input
2013-04-30 16:20:54 +02:00
5b82e59b33
Add default background color for thumbshot.
2013-04-02 16:17:11 +02:00
Christophe HENRY
1db7867707
typo
2013-03-29 17:04:15 +01:00
Christophe HENRY
6888cc6f90
Adds a configuration variable "titleLink" which allows to customize the
...
link on the title.
Conflicts:
tpl/page.header.html
2013-03-29 16:56:24 +01:00
ed5a80e732
[fix] css background linear
2013-03-29 15:59:19 +01:00
01f59ddf63
Change the tagcloud generation for better variaous size.
2013-03-29 15:51:56 +01:00
4c02d06d57
Merge remote-tracking branch 'master/master' into myShaarli
2013-03-29 15:48:58 +01:00
9550bfe181
Move inline CSS style to shaarli.css
2013-03-29 15:37:44 +01:00
dc420191df
Move inline CSS style to shaarli.css
2013-03-29 15:21:32 +01:00
b28f3129ef
just change order of few element
2013-03-21 12:24:51 +01:00
e4501035c3
Merge remote-tracking branch 'origin/master' into myShaarli
2013-03-21 10:57:51 +01:00
c98a5f2205
Create a personal themes for Shaarli.
2013-03-20 12:31:27 +01:00
8f2c12ce6a
[add] option for use external service for thumbshot
2013-03-19 17:22:50 +01:00