aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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
* | 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>