| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ |
|
|/
|
|
|
| |
alongside _PORT and _PROTO
Fixes #879
|
|\
| |
| | |
Add a whitelist of protocols for URLs
|
| |
| |
| |
| |
| |
| |
| | |
- for Shaare
- for markdown description links and images
Not whitelisted protocols will be replaced by `http://`
|
|\ \
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | | |
Useful for AJAX requests which burns the token
|
| |/
|/| |
|
| |
| |
| |
| | |
Fixes #866
|
|\ \
| | |
| | | |
Inject tag list everywhere to make autocomplete work on the fixed search bar
|
| | | |
|
|\ \ \
| |/ /
|/| | |
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
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
CHANGED: datetime is now store as an object in history store file
|
| |
| |
| |
| | |
See http://shaarli.github.io/api-documentation/#links-history-get
|
|\ \
| | |
| | | |
API: add DELETE endpoint
|
| | |
| | |
| | |
| | |
| | |
| | | |
Based on #840
See http://shaarli.github.io/api-documentation/\#links-link-delete
|
|\| |
| | |
| | | |
REST API: implement PUT method
|
| | |
| | |
| | |
| | |
| | | |
* Related to #609
* Documentation: http://shaarli.github.io/api-documentation/#links-link-put
|
|\ \ \
| | | |
| | | | |
History mechanism
|
| | | |
| | | |
| | | |
| | | | |
Only read it when it's necessary
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
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.
|
| | | | |
|