aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'virtualtam/test/link-db' into nextnodiscc2015-06-231-256/+10
|\ | | | | | | | | Conflicts: index.php
| * LinkDB: move to a proper file, add test coverageVirtualTam2015-06-111-249/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-231-0/+1
|\ \
| * | Add awesomplete to tag search shaarli/Shaarli#49ArthurHoaro2015-06-091-0/+1
| |/
* / 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
* Merge branch 'really-hide' of https://github.com/pikzen/Shaarli into nextnodiscc2015-05-221-2/+23
|\
| * Properly hide all linksfeula2015-05-111-2/+23
| | | | | | | | >searchtags
* | Merge remote-tracking branch 'Marsup/firefox-social' into nextnodiscc2015-05-221-7/+8
|\ \
| * | Add Firefox Social API to the tools. Fixes #101.Marsup2015-05-151-7/+8
| |/
* / Display date as today if no articles publishedJonathan Druart2015-05-111-3/+6
|/ | | | | | | | | On "The Daily Shaarli" page (index.php?do=daily), the date is "Tuesday 30, November 1999" if no articles have been published/shared. This patch checks the parameter ($linkdate) before the mktime call to prevent and generate the "day 0" string. mktime(0,0,0,0,0,0) returns 943916400 (hum?)
* change wording and variable names for "Hide public links" featurenodiscc2015-04-101-4/+4
|
* Merge remote-tracking branch 'pikzen/disable-public' into nextnodiscc2015-04-101-0/+7
|\
| * Allow disabling all public links, fixes #188feula2015-04-091-0/+7
| |
* | Merge remote-tracking branch 'ArthurHoaro/localecharset' into nextnodiscc2015-04-101-3/+4
|\ \
| * | #193 add UTF8 by default to autoLocaleArthurHoaro2015-04-081-3/+4
| |/
* | Merge commit '326ae54' into nextnodiscc2015-04-101-1/+0
|\ \ | |/ |/|
| * Fix missing permalink title when logged indimtion2015-04-051-1/+0
| |
* | Fixes autoLocale function by trying several way to find a correct one.ArthurHoaro2015-04-051-4/+9
|/ | | | Fix https://github.com/shaarli/Shaarli/issues/184
* Display notes as absolute URLsFlorian Eula2015-04-011-0/+6
|
* Fix bad merge commitArthurHoaro2015-04-011-23/+6
| | | | | | | | Define date format in templates instead of index.php. Conflicts: index.php tpl/dailyrss.html
* Display notes as absolute urlspikzen2015-03-311-15/+27
|\ | | | | | | | | | | | | Fixes https://github.com/shaarli/Shaarli/issues/177 Merge commit '3ea318dad05954e2043d5bb2f8572b103d7c3930' into notes-absolute-url Conflicts: index.php
| * Display notes as absolute urls.feula2015-03-291-7/+17
| | | | | | | | | | The deletion is related to Windows not handling quotes in filenames, see #179. It shouldn't delete the real file. Probably. Check it out.
* | Fixes autoLocale function by trying several way to find a correct one.ArthurHoaro2015-03-311-4/+9
| |
* | Define date format in templates instead of index.php.ArthurHoaro2015-03-311-13/+3
|/
* bump version to 0.0.45betav0.0.45betanodiscc2015-03-161-2/+2
|
* Merge branch 'picwall-direct-link' into nextv0.0.44betanodiscc2015-03-151-1/+0
|\
| * picwall: link directly to the target URL (not the permalink)nodiscc2015-03-111-1/+0
| |
* | bump version to 0.0.44betanodiscc2015-03-151-2/+2
| |
* | Merge remote-tracking branch 'ArthurHoaro/autocomplete' into nextnodiscc2015-03-151-40/+3
|\ \ | |/ |/|
| * Use awesomplete as autocomplete lib and remove jQuery - shaarli/Shaarli#148ArthurHoaro2015-03-121-40/+3
| | | | | | | | | | | | | | | | | | * Add awesomplete dependancy (source + min + CSS) * Remove jQuery and jQuery-UI dependancy * Few CSS ajustements * Use tags complete list as RainTPL var (and display it as HTML) * Remove "disable jQuery" feature * Remove tag list web service
* | Merge pull request #119 from ArthurHoaro/js-linknodiscc2015-03-111-1/+1
|\ \ | |/ |/| allow 'javascript:' links sharing (bookmarklets)
| * Fixes shaarli/Shaarli#46: allow 'javascript:' links sharingArthurHoaro2015-02-201-1/+1
| |
* | Redirect to homepage after adding a link via "Add Link" dialognodiscc2015-03-051-0/+1
| | | | | | | | * Fixes https://github.com/shaarli/Shaarli/issues/115
* | Merge pull request #141 from nodiscc/cleanurl-filtersnodiscc2015-03-051-4/+7
|\ \ | | | | | | Add URL cleaning filters + refactoring
| * | Improve URL cleaning:nodiscc2015-03-051-1/+1
| | | | | | | | | | | | * also remove action_type_map, action_ref_map and action_object maps params used by facebook
| * | Improve annoying URL parameters cleaning:nodiscc2015-03-051-2/+3
| | | | | | | | | | | | | | | | | | * Use regular expressions to avoid suplicating params depending on their position in the URL (&param=,?param=) * Only remove the relevant URL pattern and don't remove following params, fixes https://github.com/shaarli/Shaarli/issues/136 * Credits to Marcus Rohrmoser (https://github.com/mro)
| * | cleanup: refactor annoying URL patterns in a single loopnodiscc2015-03-041-9/+6
| | | | | | | | | | | | * fixes https://github.com/shaarli/Shaarli/issues/133
| * | Add some filters to clean URLsAlexis J2015-03-041-0/+5
| | |
* | | Lazy load images with the light lib bLazy.js instead of jQuery:ArthurHoaro2015-03-011-5/+2
|/ / | | | | | | | | | | | | * Remove jquery.lazyload lib * Add blazy lib * Add a bit of CSS animation * Delete unused picwall2 template
* | Prevent visitors from reading shaarli versionnodiscc2015-02-251-2/+2
| | | | | | | | | | | | | | * fixes https://github.com/shaarli/Shaarli/issues/122 * the shaarli version is now in a php comment block, which prevents visitors from reading it when it is place on a PHP-enabled server, but still allows the update mechanism to read it from the source on github.
* | shaarli/Shaarli#34: Make update check optionalArthurHoaro2015-02-201-0/+4
|/ | | | | * Add a check box at installation (checked by default) * Add a check box in configuration page
* bump version to 0.0.43betav0.0.43betanodiscc2015-02-201-2/+2
|
* Only verify login state at the beginning of the request.Florian Eula2015-02-181-22/+57
| | | | Moved login check into a function
* redirect to previous search (if any) when deleting a linkfeula2015-02-171-1/+31
| | | | * Fixes https://github.com/shaarli/Shaarli/issues/110
* Feature: enable/disable permalinks for RSSFlorian Eula2015-02-071-4/+8
| | | | | | | | | | | | | | | | | | | | The option to see the shortlinks or permalinks has been added to the configuration panel. It is a simple checkbox This option is disabled by default (meaning that shortlinks are the default) Updated writeConfig() to save this option Also fixed a slight typo in config.html. Removed useless CSS & fixed a comment Enabled permalinks for the ATOM feed and fixed the isPermaLink attribute for the <guid> tag Reverted to default behavior and clarified its meaning EnableRssPermalinks is an oddly behaving option: when enabled, it shows a permalink in the description and a full link in the element title, and swaps it around when disabled. This clarifies the option for end-users Also, moved enable_rss_permalinks to $GLOBALS['config'] because it is a config option. fix indent
* Merge pull request #98 from ArthurHoaro/portnodiscc2015-01-261-4/+4
|\ | | | | Fix port/server config problems by using php SERVER_NAME instead of HTTP_HOST
| * Fixes Port/server config problems - see: ↵ArthurHoaro2015-01-091-4/+4
| | | | | | | | | | | | | | https://github.com/shaarli/Shaarli/issues/17 * Use SERVER_NAME instead of HTTP_HOST to define current URL (in serverUrl() * Use SERVER_NAME instead of HTTP_HOST while setting up cookies
* | Merge pull request #100 from virtualtam/daily-timestampnodiscc2015-01-261-0/+1
|\ \ | | | | | | daily: display link timestamps
| * | daily: display link timestampsVirtualTam2015-01-151-0/+1
| | | | | | | | | | | | | | | | | | Fixes #26 Signed-off-by: VirtualTam <virtualtam@flibidi.org>