aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #880 from ArthurHoaro/hotfix/allowed-protocolsArthurHoaro2017-05-311-7/+1
|\ | | | | Add a whitelist of protocols for URLs
| * Add a whitelist of protocols for URLsArthurHoaro2017-05-251-7/+1
| | | | | | | | | | | | | | - for Shaare - for markdown description links and images Not whitelisted protocols will be replaced by `http://`
* | Merge pull request #841 from ArthurHoaro/feature/search-no-tagArthurHoaro2017-05-251-3/+15
|\ \ | | | | | | Empty tag search will look for not tagged links
| * | Empty tag search will look for not tagged linksArthurHoaro2017-05-251-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Adds a taglist view with edit/delete buttonsArthurHoaro2017-05-251-12/+28
| | | | | | | | | | | | | | | | | | * 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
* | | Move tagcloud template file to tag.cloudArthurHoaro2017-05-251-1/+1
| | |
* | | Add an endpoint to refresh the tokenArthurHoaro2017-05-251-0/+7
| | | | | | | | | | | | Useful for AJAX requests which burns the token
* | | Merge pull request #819 from ArthurHoaro/feature/multi-deleteArthurHoaro2017-05-251-8/+11
|\ \ \ | | | | | | | | Bulk deletion
| * | | Bulk deletionArthurHoaro2017-05-081-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a checkboxes in linklist which display a sub-header containing action buttons * Strongly rely on JS * Requires a modern browser (ES6 syntax support) * Checkboxes are hidden if the browser is old or JS disabled
* | | | Adding ability to display subtags in tagcloudLucas Cimon2017-05-241-3/+6
| |_|/ |/| |
* | | PubSubHub: remove dead codeArthurHoaro2017-05-091-21/+0
|/ /
* | Inject tag list everywhere to make autocomplete work on the fixed search barArthurHoaro2017-05-071-3/+1
| |
* | Add settings history only when they're updatedArthurHoaro2017-05-071-2/+1
| |
* | Add history entries for API endpointArthurHoaro2017-05-071-8/+9
| | | | | | | | CHANGED: datetime is now store as an object in history store file
* | API: Get History endpointArthurHoaro2017-05-071-0/+1
| | | | | | | | See http://shaarli.github.io/api-documentation/#links-history-get
* | Merge pull request #856 from ArthurHoaro/api/delete-linkArthurHoaro2017-05-071-0/+1
|\ \ | | | | | | API: add DELETE endpoint
| * | API: add DELETE endpointArthurHoaro2017-05-071-0/+1
| | | | | | | | | | | | | | | | | | Based on #840 See http://shaarli.github.io/api-documentation/\#links-link-delete
* | | Merge pull request #840 from ArthurHoaro/api/putLinkArthurHoaro2017-05-071-0/+1
|\| | | | | | | | REST API: implement PUT method
| * | REST API: implement PUT methodArthurHoaro2017-05-071-0/+1
| | | | | | | | | | | | | | | * Related to #609 * Documentation: http://shaarli.github.io/api-documentation/#links-link-put
* | | Merge pull request #764 from ArthurHoaro/feature/historyArthurHoaro2017-05-061-1/+22
|\ \ \ | | | | | | | | History mechanism
| * | | History mechanismArthurHoaro2017-03-211-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge pull request #830 from ArthurHoaro/theme/timezoneArthurHoaro2017-04-251-12/+9
|\ \ \ \ | | | | | | | | | | Change timezone data structure send to the templates
| * | | | Change timezone data structure send to the templatesArthurHoaro2017-04-031-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Use raw bytes for upload size hidden inputArthurHoaro2017-04-101-1/+16
| | | | |
* | | | | Fix a warning generated in return_bytes function and refactor itArthurHoaro2017-04-031-30/+2
| |_|/ / |/| | | | | | | | | | | | | | | | | | | It was multiplying a string containing a letter. Moved function to Utils.php and display a human readable limit size
* | | | Merge pull request #742 from ArthurHoaro/api/postLinkArthurHoaro2017-04-011-3/+4
|\ \ \ \ | | | | | | | | | | REST API: implement POST link service
| * | | | REST API: implement POST link serviceArthurHoaro2017-03-271-3/+4
| | |_|/ | |/| |
* | | | Merge pull request #839 from ArthurHoaro/theme/daily-page-titleArthurHoaro2017-03-291-0/+1
|\ \ \ \ | | | | | | | | | | Display daily date in the page title (browser title)
| * | | | Display daily date in the page title (browser title)ArthurHoaro2017-03-281-0/+1
| |/ / / | | | | | | | | | | | | | | | | Fixes #211 Depends on #838
* / / / Theme: use format_date function for daily dateArthurHoaro2017-03-281-0/+1
|/ / /
* | | Tags parameter for redirects #833philipp-r2017-03-251-3/+9
| | |
* | | Merge pull request #831 from ArthurHoaro/theme/install-api-enableArthurHoaro2017-03-231-1/+1
|\ \ \ | | | | | | | | Add API setting in the new theme during the installation
| * | | Add API setting in the new theme during the installationArthurHoaro2017-03-221-1/+1
| | |/ | |/| | | | | | | Also use the same variable name across template files
* | | Fixes a bug preventing to edit link with ID 0ArthurHoaro2017-03-221-2/+6
| |/ |/| | | | | Fixes #814
* | Set Shaarli's version only in shaarli_version.php fileArthurHoaro2017-03-211-4/+3
| |
* | Use 'dev' version on the master branchArthurHoaro2017-03-121-2/+2
|/ | | | Allowed check branches are now `latest` and `stable`.
* Link imports are now logged in `data/` folder, and can be debug using ↵ArthurHoaro2017-03-101-1/+1
| | | | | | `dev.debug=true` setting related to #741 and #681
* Fix blocking namespace issueArthurHoaro2017-03-081-0/+1
|
* Display private only filter as search parameterArthurHoaro2017-03-081-0/+1
|
* application: introduce the Shaarli\Config namespaceVirtualTam2017-03-041-2/+1
| | | | | | | | | | | 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>
* REST API: implements getLink by ID serviceArthurHoaro2017-02-191-2/+3
| | | | See http://shaarli.github.io/api-documentation/#links-link-get
* Bump version to v0.8.3ArthurHoaro2017-01-201-1/+1
| | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro>
* Merge pull request #768 from ArthurHoaro/feature/get-public-linksArthurHoaro2017-01-171-2/+2
|\ | | | | Update LinkFilter to be able to filter only public links
| * Update LinkFilter to be able to filter only public linksArthurHoaro2017-01-161-2/+2
| | | | | | | | | | | | No update regarding the UI or the API for now Fixes #758
* | Merge pull request #767 from ArthurHoaro/feature/delete-tag-redirectArthurHoaro2017-01-171-1/+1
|\ \ | | | | | | Stay on the changetag page after tag deletion
| * | Stay on the changetag page after tag deletionArthurHoaro2017-01-161-1/+1
| |/ | | | | | | | | | | + fix changetag CSS alignement relates to #756
* / Fix redirection after link deletionArthurHoaro2017-01-161-25/+9
|/ | | | relates to #756
* Bump version to v0.8.2ArthurHoaro2017-01-161-2/+2
|
* Merge pull request #761 from ArthurHoaro/hotfix/referrer-warningArthurHoaro2017-01-161-3/+13
|\ | | | | Prevent warning if HTTP_REFERER isn't set
| * Prevent warning if HTTP_REFERER isn't setArthurHoaro2017-01-151-3/+13
| | | | | | | | Fixes #723