aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Include the whole <item> in dailyRSSArthurHoaro2015-07-112-49/+75
| | | | | | | | Allow custom date format and title in templates. Also a bit of code style review. Fixes #182
* Merge pull request #255 from ArthurHoaro/configVirtualTam2015-07-093-34/+358
|\ | | | | All settings are now stored in config.php
| * All settings are now stored in config.phpArthurHoaro2015-07-093-38/+362
| | | | | | | | | | | | | | | | | | | | 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).
* | Merge pull request #251 from virtualtam/linkdb/date-formatVirtualTam2015-07-095-12/+58
|\ \ | | | | | | LinkDB::filterDay(): check input date format
| * | LinkDB::filterDay(): check input date formatVirtualTam2015-07-095-12/+58
|/ / | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #264 from ArthurHoaro/daily-navVirtualTam2015-07-091-6/+6
|\ \ | |/ |/| Fixes #260: previous/next day links in daily
| * Fixes #260: previous/next day links in dailyArthurHoaro2015-07-081-6/+6
|/ | | | The bug was occuring only if we tried to access to the first day.
* Merge pull request #254 from virtualtam/test/linkdb/datastorenodiscc2015-06-281-10/+4
|\ | | | | LinkDBTest: only check that the datastore is created and non-empty
| * LinkDBTest: only check that the datastore is created and non-emptyVirtualTam2015-06-281-10/+4
|/ | | | | | | Fixes #252 Relates to #238 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* doc: bump php requirement to php 5.4, fixes ↵nodiscc2015-06-271-1/+1
| | | | https://github.com/shaarli/Shaarli/issues/250
* Merge remote-tracking branch 'ArthurHoaro/default-links'nodiscc2015-06-262-13/+17
|\
| * Fixes unit tests: checking datastore filesize instead of hash.ArthurHoaro2015-06-241-7/+7
| | | | | | | | date() makes the hash validation worthless because it changes at every generation.
| * Change fresh install default linkArthurHoaro2015-06-241-6/+10
| | | | | | | | | | | | Fixes #200 Let me know if you want to change anything in the description.
* | Merge remote-tracking branch 'virtualtam/linkdb/remove-globals'nodiscc2015-06-264-35/+40
|\ \
| * | LinkDB: do not access global variablesVirtualTam2015-06-244-35/+40
| |/ | | | | | | | | | | | | | | | | | | | | Relates to #218 Removes "hidden" access to the following variables: - $GLOBALS['config']['datastore'] - PHPPREFIX - PHPSUFFIX Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | [doc] sync doc with latest wiki, build HTMLnodiscc2015-06-269-233/+443
| |
* | [doc] update CONTRIBUTINGnodiscc2015-06-261-0/+1
| |
* | duplicated id removednicolasm2015-06-261-1/+1
| |
* | awesome.css restored. width bug fixed.nicolasm2015-06-262-0/+6
| |
* | Merge pull request #249 from fbartels/patch-1nodiscc2015-06-261-1/+1
|\ \ | |/ |/| Restore compatibility with php 5.3
| * Restore compatability with php 5.3Felix Bartels2015-06-261-1/+1
|/
* move escape() and sanitizeLink() to application/Utils.phpnodiscc2015-06-242-17/+27
| | | | prevents 'PHP Fatal error: Call to undefined function sanitizeLink() in Shaarli/application/LinkDB.php on line 255' in tests
* Merge remote-tracking branch 'ArthurHoaro/input-escape' into nextnodiscc2015-06-2412-97/+117
|\ | | | | | | | | Conflicts: index.php
| * Working on shaarli/Shaarli#224ArthurHoaro2015-06-2312-95/+113
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | LinkDB: add 'hidePublicLinks' parameter to the constructorVirtualTam2015-06-243-20/+59
| | | | | | | | | | | | | | Fixes #236 Relates to #237 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | add travis-ci.org build status to READMEnodiscc2015-06-241-1/+1
| |
* | Add link to 'Running unit tests wiki page'nodiscc2015-06-231-0/+1
| | | | | | Fixes https://github.com/shaarli/Shaarli/issues/234
* | Merge remote-tracking branch 'nicolasdanelon/master' into nextnodiscc2015-06-232-7/+7
|\ \
| * | cursor pointer for label (ux improvement)Nicolas Danelon2015-06-231-0/+1
| | |
| * | fix no javascriptNicolas Danelon2015-06-232-6/+0
| | |
| * | Update awesomplete.cssNicolas Danelon2015-06-231-1/+0
| | |
| * | filter input search responsive fixed (mobile)Nicolas Danelon2015-06-232-2/+8
| |/
* / Page title if there is a single linkArthurHoaro2015-06-231-2/+4
|/ | | | Fixes #232
* add tabindex 1/2 to search and tags fieldsnodiscc2015-06-231-2/+3
|
* Merge remote-tracking branch 'origin/doc-contributing'nodiscc2015-06-231-0/+80
|\
| * Create CONTIBUTING.mdnodiscc2015-06-101-0/+80
| | | | | | Contributing guidelines, fixes https://github.com/shaarli/Shaarli/issues/154
* | Merge remote-tracking branch 'ArthurHoaro/daily-date' into nextnodiscc2015-06-232-2/+2
|\ \
| * | Daily page: date format in templateArthurHoaro2015-06-192-2/+2
| |/ | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'nicolasdanelon/master' into nextnodiscc2015-06-232-4/+30
|\ \
| * | fix login desktopnda2015-06-191-0/+10
| | |
| * | login enhance for mobilenda2015-06-192-4/+20
| |/
* | re-add readDb() missing from previous mergenodiscc2015-06-231-0/+7
| |
* | Merge remote-tracking branch 'virtualtam/test/link-db' into nextnodiscc2015-06-2312-264/+1231
|\ \ | | | | | | | | | | | | Conflicts: index.php
| * | LinkDB: move to a proper file, add test coverageVirtualTam2015-06-1112-257/+1231
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #71 LinkDB - move to application/LinkDB.php - code cleanup - indentation - whitespaces - formatting - comment cleanup - add missing documentation - unify formatting Test coverage for LinkDB - constructor - public / private access - link-related methods Shaarli utilities (LinkDB dependencies) - move startsWith() and endsWith() functions to application/Utils.php - add test coverage Dev utilities - Composer: add PHPUnit to dev dependencies - Makefile: - update lint targets - add test targets - generate coverage reports Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge remote-tracking branch 'ArthurHoaro/search-tag-awesomplete' into nextnodiscc2015-06-233-3/+23
|\ \
| * | Add awesomplete to tag search shaarli/Shaarli#49ArthurHoaro2015-06-093-3/+23
| |/
* | Merge remote-tracking branch 'virtualtam/travis' into nextnodiscc2015-06-231-0/+10
|\ \
| * | Add Travis CI configVirtualTam2015-06-051-0/+10
| |/ | | | | | | | | | | Relates to #71 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* / Do not load links if they're hidden (also fix shaarli/Shaarli#202)ArthurHoaro2015-06-091-20/+8
|/
* split annoyingpatterns list on multpile lines, add new patterns for removal:nodiscc2015-06-031-1/+14
| | | | | | | | * utm_content= * fb= * xtor= closes https://github.com/shaarli/Shaarli/issues/136