| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ |
|
|/ |
|
|\
| |
| | |
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
|
| | |
| | |
| | |
| | | |
RSS feed is still available with the setting set to false
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
Link imports are now logged in `data/` folder, and can be debug using…
|
| | |
|
| |
| |
| |
| |
| |
| | |
`dev.debug=true` setting
related to #741 and #681
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
- Creates arrays_combination function to cover all cases
- add the underscore separator in the regex
- add `utf8` encoding in addition to `UTF-8`
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
See http://shaarli.github.io/api-documentation/#links-link-get
|