| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relates to #250
Modifications
- supported version
- bump required version from 5.1.0 to 5.3.x
- update README
- add PHP 5.3 to Travis environments
- rewrite array declarations: explicitely use array() instead of []
- move checkPHPVersion to application/Utils.php
- move timezone functions to application/TimeZone.php
- cleanup code
- improve test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Prevent redirection loop everytime we rely on HTTP_REFERER
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* search tag
* delete tag
* pagination
* display privates only
* delete link
* new/edit/cancel link return page
Move location generation to Utils.php + unit tests.
Fixes #256
ninja
|
| | |
|
| |
| |
| |
| | |
Happened if there were not any searchtags already present in the query.
|
|\ \
| | |
| | | |
Avoid tag duplicates
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Prevent duplicate client side with awesomplete
* Prevent duplicate server side (save_edit processing)
Fixes #261
|
|\ \ \
| | | |
| | | | |
Include the whole <item> in Daily RSS template
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow custom date format and title in templates.
Also a bit of code style review.
Fixes #182
|
|\ \ \ \
| | | | |
| | | | | |
Fix: data/config.php was not imported
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Relates to #255
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \ \
| |/ / /
|/| | | |
LinkDB: prefix private members with an underscore
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Relates to #95, #218
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \
| |_|/
|/| | |
All settings are now stored in config.php
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Isolate functions related to config in Config.php + add unit tests + code_sniffer.
options.php is not supported anymore, but its content will be automatically saved into config.php
Fixes #shaarli/Shaarli#41
*TODO*: update [documentation](https://github.com/shaarli/Shaarli/wiki#configuration).
|
|\ \
| | |
| | | |
LinkDB::filterDay(): check input date format
|
|/ /
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| |/
|/| |
Fixes #260: previous/next day links in daily
|
|/
|
|
| |
The bug was occuring only if we tried to access to the first day.
|
|\
| |
| | |
LinkDBTest: only check that the datastore is created and non-empty
|
|/
|
|
|
|
|
| |
Fixes #252
Relates to #238
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
https://github.com/shaarli/Shaarli/issues/250
|
|\ |
|
| |
| |
| |
| | |
date() makes the hash validation worthless because it changes at every generation.
|
| |
| |
| |
| |
| |
| | |
Fixes #200
Let me know if you want to change anything in the description.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Relates to #218
Removes "hidden" access to the following variables:
- $GLOBALS['config']['datastore']
- PHPPREFIX
- PHPSUFFIX
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Restore compatibility with php 5.3
|
|/ |
|
|
|
|
| |
prevents 'PHP Fatal error: Call to undefined function sanitizeLink() in Shaarli/application/LinkDB.php on line 255' in tests
|
|\
| |
| |
| |
| | |
Conflicts:
index.php
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I reviewed character escaping everywhere with the following ideas:
* use a single common function to escape user data: `escape` using `htmlspecialchars`.
* sanitize fields in `index.php` after reading them from datastore and before sending them to templates.
It means no escaping function in Twig templates.
2 reasons:
* it reduces risks of security issue for future user made templates
* more readable templates
* sanitize user configuration fields after loading them.
|
| |
| |
| |
| |
| |
| |
| | |
Fixes #236
Relates to #237
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
|
| |
| |
| | |
Fixes https://github.com/shaarli/Shaarli/issues/234
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
|/
|
|
| |
Fixes #232
|
| |
|
|\ |
|
| |
| |
| | |
Contributing guidelines, fixes https://github.com/shaarli/Shaarli/issues/154
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
It only concerns the date of the day in the main title.
Fixes #182
Note that daily RSS feed is not generated through templates. Date are still hard formatted in that case.
|