aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | w3c: fix HTML syntax errorsVirtualTam2015-01-201-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #64 All pages: - add `urlencode` when passing the version to a custom stylesheet; - set meaningful values of `alt` and `title` for QR-Code images. Install page: - the form's `action` attribute must be non-empty; - the `valign` attribute is deprecated. Signed-off-by: VirtualTam <virtualtam@flibidi.org>
* / * removed the language attribute on the script element since it is obsolete ↵ArthurHoaro2015-01-091-15/+15
|/ | | | | | | | | | and we can safely omit it. * make QRCode JS works with IE : * behave as a normal link if canvas aren't supported (<=IE8) * default parameter values in JS aren't widely supported (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters ), use this method instead: http://stackoverflow.com/a/148918/1484919 * dataset isn't supported in IE9 use getAttribute instead * addEventListener works with IE9+ and other browsers
* Redirect to home page after deleting a linkEmilien Klein2015-01-041-3/+1
| | | Fixes issue 87
* Merge pull request #85 from nodiscc/tagcloud-scalingnodiscc2014-12-291-1/+2
|\ | | | | improve tag cloud font size scaling
| * improve tag cloud font size scalingnodiscc2014-12-291-1/+2
| | | | | | | | | | * use logarithmic scales * remove bold style
* | Merge pull request #82 from pikzen/fix-searchnodiscc2014-12-251-7/+11
|\ \ | | | | | | Made tag/title search unicode aware, fixes #75
| * | Made tag/title search unicode aware, fixes #75Florian Eula2014-12-221-7/+11
| | |
* | | Refactored the daily column generation (only one loop)Florian Eula2014-12-251-4/+1
| |/ |/|
* | fix quoting error introduced in 712501812b6f927b048b9d7f767cb15a370b3c81nodiscc2014-12-161-1/+1
| |
* | prevent disclosing PHP version on PHP version check errornodiscc2014-12-161-1/+1
| | | | | | | | | | * fixes https://github.com/shaarli/Shaarli/issues/78 * fixes https://github.com/sebsauvage/Shaarli/issues/214