| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Documentation: add reverse proxy examples for Docker images
|
| |
| |
| |
| |
| |
| | |
Closes https://github.com/shaarli/Shaarli/issues/888
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
Docs: mention Docker in the download & install page
|
| |/ |
|
|\ \
| | |
| | | |
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.
|
|\ \
| |/
|/| |
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>
|
|\
| |
| | |
Docker: switch to Alpine Linux
|
| |
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
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>
|
|/ /
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
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>
|
|\ \
| | |
| | | |
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
|
|\ \ \
| |/ /
|/| | |
Fix link in Upgrade-and-migration.md
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Changelog 0.9.2 + AUTHORS
|
| | |
| | |
| | |
| | | |
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
|
|/ / |
|
|\ \
| | |
| | | |
Fix security issue reported by @chb9
|
| | |
| | |
| | |
| | | |
Vulnerability introduced by 6ccd0b218fbd34de750f55b78f3dc43bb3d9fa8e - release with Shaarli v0.9.1.
|
|\ \ \
| | | |
| | | | |
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
|
|\ \ \
| | | |
| | | | |
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
|
|\ \ \
| |_|/
|/| | |
Docker quickstart
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Fixes inevitable typo that crept in.
- Removed some blank lines, newlines, to match established whitespace use better.
- Minor grammar improvement.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Allow setting of a default note title, see #963
|
|/ / |
|
|\ \
| | |
| | | |
Fix parsing for description links with parentheses
|
| | |
| | |
| | |
| | |
| | |
| | | |
With markdown plugin disabled
relates to #966
|
|\ \ \
| |_|/
|/| | |
Improve robustness for zlib and file operations
|