aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #176 - Add opensearch functionalityArthurHoaro2015-11-174-1/+61
| | | | | * add a new page in Router: do=opensearch which displays the opensearch plugin * using base64 compressed image to avoid issue encountered with HTTPS
* Merge pull request #374 from virtualtam/cleanupVirtualTam2015-11-1114-0/+0
|\ | | | | cleanup: remove the executable bit from source scripts
| * cleanup: remove the executable bit from source scriptsVirtualTam2015-11-1114-0/+0
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #373 from virtualtam/index/format-globals-commentsVirtualTam2015-11-111-33/+99
|\ | | | | index.php: group globals by theme, format comments
| * index.php: group globals by theme, format commentsVirtualTam2015-11-111-33/+99
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #275 from shaarli/plugin-propositionArthur2015-11-0861-483/+13269
|\ | | | | Plugin proposition
| * Handle errors raised by plugins in template. fixes #370ArthurHoaro2015-11-084-22/+48
| |
| * Merge pull request #286 from ArthurHoaro/plugin-demo_pluginArthur2015-11-084-0/+327
| |\ | | | | | | PLUGIN demo_plugin
| | * PLUGIN demo_pluginArthurHoaro2015-11-084-0/+327
| | | | | | | | | | | | | | | This plugin try to cover Shaarli's plugin API entirely. Can be used by plugin developper to make their own.
| * | Merge pull request #281 from ArthurHoaro/plugin-wallabagArthur2015-11-087-0/+125
| |\ \ | | | | | | | | PLUGIN wallabag
| | * | unit tests for the wallabag pluginArthurHoaro2015-11-082-7/+64
| | | | | | | | | | | | | | | | | | | | + removed exit error if the config is not found + coding style
| | * | PLUGIN wallabagArthurHoaro2015-11-076-0/+68
| | |/ | | | | | | | | | Add a Wallabag icon in linklist for each link.
| * | Merge pull request #280 from ArthurHoaro/plugin-readityourselfArthur2015-11-085-0/+122
| |\ \ | | | | | | | | PLUGIN readityourself
| | * | unit tests for readityourself plugin + remove hard errorArthurHoaro2015-11-082-7/+90
| | | |
| | * | PLUGIN readityourselfArthurHoaro2015-11-084-0/+39
| | |/ | | | | | | | | | Add an icon for each link (linklist) for ReadItYourself
| * | Merge pull request #279 from ArthurHoaro/plugin-addlink_toolbarArthur2015-11-084-0/+148
| |\ \ | | | | | | | | PLUGIN: addlink_toolbar
| | * | unit test for addlink_toolbar + coding styleArthurHoaro2015-11-082-2/+111
| | | |
| | * | PLUGIN: addlink_toolbarArthurHoaro2015-11-083-0/+39
| | |/ | | | | | | | | | | | | | | | Add a field in linklist page to paste a new link. Displayed in fields toolbar.
| * | Merge pull request #284 from ArthurHoaro/plugin-playvideosArthur2015-11-077-0/+10719
| |\ \ | | | | | | | | PLUGIN playvideos
| | * | Add unit tests for Playvideos pluginArthurHoaro2015-11-072-2/+73
| | | | | | | | | | | | | | | | + coding style
| | * | PLUGIN playvideosArthurHoaro2015-11-076-0/+10648
| | |/ | | | | | | | | | Display a button in buttons toolbar which allows to play all videos found.
| * | Merge pull request #285 from ArthurHoaro/plugin-qrcodeArthur2015-11-077-0/+1389
| |\ \ | | | | | | | | PLUGIN QRCode
| | * | Add unit tests for the QRCode pluginArthurHoaro2015-11-072-4/+76
| | | | | | | | | | | | | | | | + coding style
| | * | PLUGIN QRCodeArthurHoaro2015-11-076-0/+1317
| | |/ | | | | | | | | | Add an icon in linklist to display links QRCode
| * | Merge pull request #283 from ArthurHoaro/plugin-archiveorgArthur2015-11-074-0/+74
| |\ \ | | |/ | |/| PLUGIN archiveorg
| | * Add unit test for archiveorg pluginArthurHoaro2015-11-072-2/+57
| | | | | | | | | | | | + coding style
| | * PLUGIN archiveorgArthurHoaro2015-11-073-0/+19
| |/ | | | | | | Display an archive.org icon in linklist, foreach links.
| * Add plugins folder to test analysisArthurHoaro2015-11-071-2/+2
| |
| * Unit tests for Router and PluginManager.ArthurHoaro2015-11-074-184/+184
| |
| * Template upgrade to handle plugin zonesArthurHoaro2015-11-0717-1311/+146
| | | | | | | | Add a bunch of plugin placeholders in templates
| * Plugins TODO.mdArthurHoaro2015-11-071-0/+28
| |
| * Plugin system - COREArthurHoaro2015-11-078-197/+1190
| | | | | | | | see shaarli/Shaarli#275
* | Merge pull request #368 from ArthurHoaro/returnurl-againArthur2015-11-073-8/+15
|\ \ | |/ |/| Fixes #356 - adding a link should return added link's hash
| * Fixes #356ArthurHoaro2015-11-043-8/+15
|/ | | | | * adding a link should return added link's hash * allow redirection relative urls in generateLocation
* Bump version to 0.5.4v0.5.4VirtualTam2015-09-142-3/+3
| | | | | | | | | | | | | | | | Fixes: - PHP session IDs: handle hash algorithms and bits per char representations Minor changes: - HTTPS: support being served behing an SSL-enabled proxy - HTTP/Server utilities: refactor & add test coverage Project & documentation: - improve/rewrite `README.md` - update contributor list - update `index.php` header Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Update project information: contributors, `index.php` headerVirtualTam2015-09-142-6/+18
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #346 from virtualtam/refactor/http-url-utilsVirtualTam2015-09-146-53/+388
|\ | | | | HTTP: move server URL functions to `HttpUtils.php`
| * HTTP: move server URL functions to `HttpUtils.php`VirtualTam2015-09-146-53/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #333 Modifications: - refactor server URL utility functions - do not access global `$_SERVER` variables - add test coverage - improve readability - apply coding conventions Signed-off-by: VirtualTam <virtualtam@flibidi.net>
| * SSL detection: add support for `X-Forwarded-Proto`Fanch2015-09-131-1/+1
|/ | | | | | | | | | | | Duplicates #332 See: - RFC 7239 - Forwarded HTTP Extension http://www.ietf.org/rfc/rfc7239.txt - RFC 6238 - Deprecating the "X-" Prefix and Similar Constructs in Application Protocols http://www.ietf.org/rfc/rfc6648.txt - StackOverflow - Custom HTTP headers: naming conventions http://stackoverflow.com/a/3561399
* Merge pull request #337 from doc75/doublon_urlVirtualTam2015-09-087-34/+179
|\ | | | | #325 small enhancement to fix the GetLinkFromUrl method
| * Url: introduce global helper functions for cleanup and scheme detectionGuillaume Virlet2015-09-087-34/+179
|/ | | | | | | | | | | | Relates to #314 & #326 Additions: - add global `cleanup_url()` and `get_url_scheme()` functions Modifications: - replace `Url` usage in `index.php` by calls to global functions - fix `Url` tests not being run: PHPUnit expects a single test class per file - move classes to separate files
* Merge pull request #334 from virtualtam/refactor/http-utilsVirtualTam2015-09-063-78/+122
|\ | | | | HTTP: move utils to a proper file, add tests
| * HTTP: move utils to a proper file, add testsVirtualTam2015-09-063-78/+122
|/ | | | | | | | | | | | | | Relates to #333 Modifications: - move HTTP utils to 'application/HttpUtils.php' - simplify logic - replace 'http_parse_headers_shaarli' by built-in 'get_headers()' - remove superfluous '$status' parameter (provided by the HTTP headers) - apply coding conventions - add test coverage (unitary only) Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #338 from virtualtam/fix/unique-uniqidVirtualTam2015-09-064-9/+119
|\ | | | | Session ID: extend the regex to match possible hash representations
| * Session ID: extend the regex to match possible hash representationsVirtualTam2015-09-064-9/+119
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves #306 Relates to #335 & #336 Duplicated by #339 Issues: - PHP regenerates the session ID if it is not compliant - the regex checking the session ID does not cover all cases - different algorithms: md5, sha1, sha256, etc. - bit representations: 4, 5, 6 Fix: - `index.php`: - remove `uniqid()` usage - call `session_regenerate_id()` if an invalid cookie is detected - regex: support all possible characters - '[a-zA-Z,-]{2,128}' - tests: add coverage for all algorithms & bit representations See: - http://php.net/manual/en/session.configuration.php#ini.session.hash-function - https://secure.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character - http://php.net/manual/en/function.session-id.php - http://php.net/manual/en/function.session-regenerate-id.php - http://php.net/manual/en/function.hash-algos.php Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #344 from virtualtam/copyingVirtualTam2015-09-061-1/+7
|\ | | | | COPYING: update contributor list
| * COPYING: update contributor listVirtualTam2015-09-061-1/+7
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Update README.mdVirtualTam2015-09-061-6/+4
|
* Merge pull request #343 from virtualtam/readmeVirtualTam2015-09-061-75/+100
|\ | | | | Rewrite README.md
| * Rewrite README.mdVirtualTam2015-09-061-75/+100
|/ | | | | | | | | | | | | | Modifications: - group content in sections - homogenize formatting - replace installation instructions by links to the corresponding wiki pages - update badges - use http://shields.io/ to generate SVGs with custom labels - master branch: update Travis label - stable branch: add Travis status - GitHub release: display the latest released version Signed-off-by: VirtualTam <virtualtam@flibidi.net>