| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |_|/
|/| | |
Fix parsing for description links with parentheses
|
| | |
| | |
| | |
| | |
| | |
| | | |
With markdown plugin disabled
relates to #966
|
|\ \ \
| |/ /
|/| | |
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
|
| |/
|/|
| |
| |
| |
| |
| | |
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>
|
|/
|
|
| |
Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
|
|\
| |
| | |
Make sure that the tag exists before altering/removing it
|
| | |
|
|\ \
| | |
| | | |
Using only one form in linklist.html - fix #885
|
| |/ |
|
|/ |
|
|\
| |
| | |
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
|
| |/
|/| |
|
| |
| |
| |
| | |
Fixes #866
|
| | |
|
| |
| |
| |
| | |
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.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was multiplying a string containing a letter.
Moved function to Utils.php and display a human readable limit size
|
| |_|/
|/| |
| | |
| | | |
Fixes #818
|
|\ \ \
| | | |
| | | | |
REST API: implement POST link service
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | | |
Fix version check branch for UT
|
| | | |
|
|\| |
| |/
|/| |
Use 'dev' version on the master branch
|
| | |
|
| |
| |
| |
| | |
Allowed check branches are now `latest` and `stable`.
|
|\ \
| | |
| | | |
Fixes #304: use atom feed as default
|