aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge pull request #759 from ArthurHoaro/hotfix/dup-tagsArthurHoaro2017-01-161-7/+7
|\ \ | | | | | | Prevent tag duplicate when renaming
| * | Prevent tag duplicate when renamingArthurHoaro2017-01-151-7/+7
| |/ | | | | | | Fixes #757
* / Bump expected minimal PHP version to 5.5VirtualTam2017-01-161-2/+2
|/ | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/599 Relates to db6b09b69ee265a7d775924fcff9c61aaaabf1cb Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #727 from ArthurHoaro/api/getlinksArthurHoaro2017-01-151-0/+1
|\ | | | | REST API: implement getLinks service
| * REST API: implement getLinks serviceArthurHoaro2017-01-151-0/+1
| | | | | | | | See http://shaarli.github.io/api-documentation/#links-links-collection-get
* | Cleanup: use safe boolean comparisonsVirtualTam2017-01-071-1/+1
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #732 from ArthurHoaro/feature/theme-managerArthur2017-01-061-1/+6
|\ \ | | | | | | Theme manager: improvements
| * | Minor improvements regarding #705 (coding style, unit tests, etc.)ArthurHoaro2017-01-051-2/+2
| | |
| * | Change templates set through administration UIKnah Tsaeb2017-01-051-1/+6
| |/
* / Cleanup: remove unused variablesVirtualTam2017-01-051-1/+1
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #682 from ArthurHoaro/delete-buttonArthur2017-01-041-8/+8
|\ | | | | Bugfixes on link deletion, and use a GET form
| * Bugfixes on link deletion, and use a GET formArthurHoaro2016-12-161-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Use a GET form to delete links: harmonize with edit_link and preparation for #585 Bug fixes: * LinkDB element can't be passed as reference, fix error: PHP Notice: Indirect modification of overloaded element of LinkDB has no effect * Resource cache folder setting wasn't set correctly
* | Merge pull request #731 from virtualtam/fix/api/namespacesVirtualTam2017-01-031-2/+2
|\ \ | | | | | | API: fix Slim namespaces
| * | API: fix Slim namespacesVirtualTam2017-01-021-2/+2
| | | | | | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | Fix fatal error during the installArthurHoaro2017-01-031-2/+2
| | |
* | | Fixes presence of empty tags for private tags and in search resultsArthurHoaro2017-01-031-3/+3
|/ / | | | | | | | | | | | | * Private tags: make sure empty tags are properly filtered * Search results: * Use preg_split instead of function combination * Add normalize_spaces to remove extra whitespaces displaying empty tags search
* | Move PubSubHubbub code as a default pluginArthurHoaro2016-12-201-5/+0
| |
* | Merge pull request #666 from ArthurHoaro/slim-apiArthur2016-12-201-12/+44
|\ \ | |/ |/| REST API structure using Slim framework
| * REST API structure using Slim frameworkArthurHoaro2016-12-151-12/+32
| | | | | | | | | | | | * REST API routes are handle by Slim. * Every API controller go through ApiMiddleware which handles security. * First service implemented `/info`, for tests purpose.
| * Prepare settings for the API in the admin page and during the installArthurHoaro2016-12-121-0/+12
| | | | | | | | | | | | | | | | API settings: - api.enabled - api.secret The API settings will be initialized (and the secret generated) with an update method.
* | Fix a regression: permalinks change when old links are editedArthurHoaro2016-12-151-1/+3
|/ | | | fixes #713
* Bump version to v0.8.1ArthurHoaro2016-12-121-2/+2
| | | | Signed-off-by: ArthurHoaro <arthur@hoa.ro>
* Add a persistent 'shorturl' key to all linksArthurHoaro2016-12-121-33/+23
| | | | | | | All existing link will keep their permalinks. New links will have smallhash generated with date+id. The purpose of this is to avoid collision between links due to their creation date.
* Apply the new ID system accros the whole codebaseArthurHoaro2016-12-121-35/+57
|
* Disable Firefox Social in the tools section if the page is not loaded using ↵Teromene2016-11-291-0/+1
| | | | HTTPS, as Firefox will deny the request.
* LinkDB: update datastore method namesVirtualTam2016-10-201-4/+4
| | | | | | Relates to https://github.com/shaarli/Shaarli/issues/95 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Minor code cleanup: PHPDoc, spelling, unused variables, etc.ArthurHoaro2016-10-201-6/+2
|
* New init function for plugins, supports errors reportingArthurHoaro2016-10-141-0/+1
| | | | | | | | All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded. This function is aware of the config, and can return initialization errors, which are displayed in the header template. Note that the previous error system hack no longer work.
* Merge pull request #622 from ArthurHoaro/update-dateArthur2016-10-121-1/+11
|\ | | | | Save link update dates and render it in templates and feeds
| * Save the update date in LinkDB and pass it to linklist templatesArthurHoaro2016-08-031-1/+11
| | | | | | | | It can be used as a timestamp by templates under the key 'updated_timestamp'.
* | Merge pull request #623 from ArthurHoaro/security/reverse-proxy-banArthur2016-10-121-1/+10
|\ \ | | | | | | Add trusted IPs in config and try to ban forwarded IP on failed login