aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
...
* | | code clean: cookie expirationWilli Eggeling2017-08-261-42/+43
| | | | | | | | | | | | | | | | | | - unified code style (spaces around operators) - prevented expiration time to be calculated twice - replaced tabs with spaces
* | | removed doc and code references to magic quotesWilli Eggeling2017-08-261-9/+0
|/ / | | | | | | | | | | - removed all references to magic quotes - magic quotes are not supported on PHP >= 5.4 (https://secure.php.net/manual/en/security.magicquotes.php) - Shaarli does not support PHP < 5.5
* / Sort tag cloud in alphabetical orderArthurHoaro2017-08-251-1/+1
|/ | | | Fixes #932
* Fix untagged only buttonArthurHoaro2017-08-191-1/+1
|
* Adding missing empty() as spotted in #889 code reviewLucas Cimon2017-08-061-1/+1
|
* Merge pull request #887 from ArthurHoaro/hotfix/dash-tag-renameArthurHoaro2017-08-051-40/+18
|\ | | | | Make sure that the tag exists before altering/removing it
| * Move tag renaming code to LinkDB and unit test itArthurHoaro2017-08-051-36/+14
| |
| * Refactoring of CHANGETAG part to avoid duplicated codeArthurHoaro2017-05-311-34/+27
| |
| * Make sure that the tag exists before altering/removing itArthurHoaro2017-05-311-10/+17
| | | | | | | | Fixes #886
* | Using only one form in linklist.html + adding untaggedonly filter - fix #885Lucas Cimon2017-07-301-1/+15
| |
* | Tagcloud/list improvmentsLucas Cimon2017-06-091-1/+9
|/
* Merge pull request #882 from ArthurHoaro/feature/edit-timestampArthurHoaro2017-05-311-1/+1
|\ | | | | Add creation date when editing a link
| * Add creation date when editing a linkArthurHoaro2017-05-311-1/+1
| | | | | | | | | | | | Also, alter the title on edition Fixes #431
* | 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