| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Plugin proposition
|
| | |
|
| |\
| | |
| | | |
PLUGIN demo_plugin
|
| | |
| | |
| | |
| | |
| | | |
This plugin try to cover Shaarli's plugin API entirely.
Can be used by plugin developper to make their own.
|
| |\ \
| | | |
| | | | |
PLUGIN wallabag
|
| | | |
| | | |
| | | |
| | | |
| | | | |
+ removed exit error if the config is not found
+ coding style
|
| | |/
| | |
| | |
| | | |
Add a Wallabag icon in linklist for each link.
|
| |\ \
| | | |
| | | | |
PLUGIN readityourself
|
| | | | |
|
| | |/
| | |
| | |
| | | |
Add an icon for each link (linklist) for ReadItYourself
|
| |\ \
| | | |
| | | | |
PLUGIN: addlink_toolbar
|
| | | | |
|
| | |/
| | |
| | |
| | |
| | |
| | | |
Add a field in linklist page to paste a new link.
Displayed in fields toolbar.
|
| |\ \
| | | |
| | | | |
PLUGIN playvideos
|
| | | |
| | | |
| | | |
| | | | |
+ coding style
|
| | |/
| | |
| | |
| | | |
Display a button in buttons toolbar which allows to play all videos found.
|
| |\ \
| | | |
| | | | |
PLUGIN QRCode
|
| | | |
| | | |
| | | |
| | | | |
+ coding style
|
| | |/
| | |
| | |
| | | |
Add an icon in linklist to display links QRCode
|
| |\ \
| | |/
| |/| |
PLUGIN archiveorg
|
| | |
| | |
| | |
| | | |
+ coding style
|
| |/
| |
| |
| | |
Display an archive.org icon in linklist, foreach links.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Add a bunch of plugin placeholders in templates
|
| | |
|
| |
| |
| |
| | |
see shaarli/Shaarli#275
|
|\ \
| |/
|/| |
Fixes #356 - adding a link should return added link's hash
|
|/
|
|
|
| |
* adding a link should return added link's hash
* allow redirection relative urls in generateLocation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
HTTP: move server URL functions to `HttpUtils.php`
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
#325 small enhancement to fix the GetLinkFromUrl method
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
HTTP: move utils to a proper file, add tests
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Session ID: extend the regex to match possible hash representations
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
COPYING: update contributor list
|
|/
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| |
|
|\
| |
| | |
Rewrite README.md
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Doc: sync from Wiki, generate HTML
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Additions:
- Installation/Download: how to get Shaarli
- Community software: ShaarliOS app
Modifications:
- Installation/Server requirements: PHP 5.4 EOL, PHP 7 announcements
- Installation/Server configuration: improve Nginx security
- Troubleshooting: PHP sessions on `free.fr`
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Fixes a bug that could prevent user to login.
|
|\
| |
| | |
Allow uppercase letters in PHP sessionid format
|