| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes #1077
Take a look at the docs update to see how it works
|
|\
| |
| | |
Ignore the case while checking DOCTYPE during the file import
|
| |
| |
| |
| | |
Fixes #1091
|
|/
|
|
|
|
| |
Also fixed a few French translation issues
Fixes #954 #955
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Add a filter to only display public links
|
| |
| |
| |
| | |
#1038
|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
See https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
|
| |
| |
| |
| |
| |
| |
| |
| | |
As stated in the docs:
> LC_MESSAGES for system responses (available if PHP was compiled with libintl)
Fixes #1067
|
| |
| |
| |
| | |
Fixes #1040
|
|\ \
| | |
| | | |
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
|
|\ \ \
| |_|/
|/| | |
Force HTTPS if the original port is 443 behind a reverse proxy
|
| | |
| | |
| | |
| | | |
Fixes #1022
|
|\ \ \
| | | |
| | | | |
Increase buffer size for cURL download
|
| | | |
| | | |
| | | |
| | | | |
1kB chunk size has caused me a lot of trouble with Travis which wasn't completing the download
|
|\ \ \ \
| |_|/ /
|/| | | |
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>
|
|/ / |
|
| |
| |
| |
| | |
set to false
|
|\ \
| | |
| | | |
Performances: reorder links when they're written instead of read
|
| | |
| | |
| | |
| | | |
relates to #891
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | | |
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 parsing for description links with parentheses
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
With markdown plugin disabled
relates to #966
|
|\ \ \ \
| |_|/ /
|/| | | |
Improve robustness for zlib and file operations
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
|/| | |
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
|
| |/
|/|
| |
| |
| |
| | |
- 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
|
|\ \
| | |
| | | |
Firefox Social title: Use document.title instead of RainTPL variable
|
| | |
| | |
| | |
| | | |
Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
|
|\ \ \
| |_|/
|/| | |
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
|
|/ |
|
|\
| |
| | |
Make sure that the tag exists before altering/removing it
|
| | |
|
|\ \
| | |
| | | |
Using only one form in linklist.html - fix #885
|
| |/ |
|