Jonathan Druart [Fri, 8 May 2015 10:38:01 +0000 (11:38 +0100)]
Display date as today if no articles published
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?)
nodiscc [Tue, 31 Mar 2015 18:02:50 +0000 (20:02 +0200)]
Fix php error in daily RSS
Use of undefined constant htmlspecialchars - assumed 'htmlspecialchars' in /var/www/links/tmp/dailyrss.*
Thanks @alexisju in https://github.com/shaarli/Shaarli/commit/bec18701801cc140d760c261dd115fda1507a0dd
nodiscc [Sat, 7 Mar 2015 13:50:31 +0000 (14:50 +0100)]
Include documentation/wiki locally:
* sync current wiki (https://github.com/shaarli/Shaarli/wiki) to the doc/ directory
* fix missing logo in README
* add link to local documentation in the page footer
* add Makefile targets for doc generation by @virtualtam
ArthurHoaro [Fri, 6 Mar 2015 20:29:56 +0000 (21:29 +0100)]
Use awesomplete as autocomplete lib and remove jQuery - shaarli/Shaarli#148
* 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
nodiscc [Wed, 4 Mar 2015 21:46:57 +0000 (22:46 +0100)]
add bountysource.com badge
* Bountysource is the funding platform for open-source software. Users can improve the open-source projects they love by creating/collecting bounties and pledging to fundraisers.
* https://github.com/bountysource/frontend/wiki/Frequently-Asked-Questions
nodiscc [Thu, 5 Mar 2015 12:33:30 +0000 (13:33 +0100)]
Improve annoying URL parameters cleaning:
* Use regular expressions to avoid suplicating params depending on their position in the URL (¶m=,?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)
nodiscc [Wed, 25 Feb 2015 12:25:45 +0000 (13:25 +0100)]
Prevent visitors from reading shaarli version
* 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.
nodiscc [Sat, 7 Feb 2015 19:19:27 +0000 (20:19 +0100)]
Fix missing authors and licenses in COPYING
* add idleman for original CSS
* add yahoo inc. for CSS reset
* split the main css code and the yahoo reset CSS in 2 files
* add copyright information for RainTPL, add LGPL license
nodiscc [Wed, 17 Dec 2014 06:47:43 +0000 (07:47 +0100)]
Update README and Shaarli's footer
* remove version number display from main page
* update project URL in footer, fixes https://github.com/shaarli/Shaarli/issues/89
* update copyright notice in the footer
* mention origins of the fork in README, fixes https://github.com/shaarli/Shaarli/issues/105
* update License section in the README
* remove screenshots as mediacru.sh is down
Florian Eula [Fri, 21 Nov 2014 20:31:21 +0000 (21:31 +0100)]
Feature: enable/disable permalinks for RSS
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.
ArthurHoaro [Fri, 9 Jan 2015 10:46:25 +0000 (11:46 +0100)]
Fixes Port/server config problems - see: 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
ArthurHoaro [Thu, 8 Jan 2015 14:09:46 +0000 (15:09 +0100)]
* removed the language attribute on the script element since it is obsolete 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
ArthurHoaro [Fri, 12 Dec 2014 16:01:02 +0000 (17:01 +0100)]
W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64):
* fix duplicate IDs - #paging_older, #paging_newer become classes as the paging is displayed twice (top, bottom) in the linklist
* fix duplicate IDs - #paging_privatelinks and #paging_linksperpage become classes
* daily links are now valid (use &)
* name attribute is not used anymore on a tag in link list
* center tag is replaced by CSS in picwall and tag cloud
* action in form tag can't be empty, use # instead
* fixed configure table with CSS instead of cellpadding, border, and valign
* export links are now valid
* remove "size" in input tag
* Fix missing alt attributes for img elements
* tpl/daily: Use HTML entities instead of char escape codes
* tpl/export: fix missing </span> closing tag
* Remove obsolete language attribute on <script> elements