Commit Graph

1842 Commits

Author SHA1 Message Date
ArthurHoaro 2f32d0746b 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
2015-01-09 11:46:25 +01:00
ArthurHoaro fe16b01edb * 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
2015-01-09 09:47:48 +01:00
nodiscc a2d5ef2127 Merge pull request #77 from ArthurHoaro/w3c
Make Shaarli's template W3C compliant #64
2015-01-09 02:34:00 +01:00
ArthurHoaro 8079dfd1cd 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 &amp)
  * 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
2015-01-08 10:15:05 +01:00
nodiscc 002f9625ec Merge pull request #90 from shaarli/issue-87
Redirect to home page after deleting a link (Fixes issue 87)
2015-01-05 20:13:15 +01:00
Emilien Klein 657837af11 Redirect to home page after deleting a link
Fixes issue 87
2015-01-04 15:19:14 -05:00
nodiscc f8d83b35b6 Merge pull request #85 from nodiscc/tagcloud-scaling
improve tag cloud font size scaling
2014-12-29 03:00:25 +01:00
nodiscc 1e3b2740e5 improve tag cloud font size scaling
* use logarithmic scales
 * remove bold style
2014-12-29 02:59:35 +01:00
nodiscc 3259f1a814 Merge pull request #82 from pikzen/fix-search
Made tag/title search unicode aware, fixes #75
2014-12-25 01:21:39 +01:00
nodiscc 169512f0b8 Merge pull request #83 from pikzen/loop-factor
Refactored the daily column generation (only one loop)
2014-12-25 01:15:14 +01:00
Florian Eula cae64e52e4 Refactored the daily column generation (only one loop) 2014-12-25 01:10:58 +01:00
Florian Eula 2e45fdd8ff Made tag/title search unicode aware, fixes #75 2014-12-22 16:43:37 +01:00
nodiscc 60b83e7cf7 fix quoting error introduced in 712501812b 2014-12-16 19:52:06 +01:00
nodiscc 712501812b Merge pull request #81 from nodiscc/prevent-disclosure
Prevent full path and PHP version disclosures
2014-12-16 19:26:11 +01:00
nodiscc 509762236b prevent disclosing PHP version on PHP version check error
* fixes https://github.com/shaarli/Shaarli/issues/78
 * fixes https://github.com/sebsauvage/Shaarli/issues/214
2014-12-16 19:24:37 +01:00
nodiscc 569be2e8d5 prevent disclosing full path when raising "Shaarli directory not writeable" error
* work on https://github.com/shaarli/Shaarli/issues/78
2014-12-16 19:23:36 +01:00
nodiscc 038acd3a7f Merge pull request #69 from nodiscc/master
bookmarklet: add ✚ sign to make it more recognizable in toolbars
2014-12-05 20:27:15 +01:00
nodiscc e0a9e14704 bookmarklet: add ✚ sign to make it more recognizable in toolbars 2014-12-05 20:26:51 +01:00
nodiscc cdd870b72e Merge pull request #68 from virtualtam/hardcoded-style
CSS: remove hardcoded style from templates
2014-12-05 17:56:19 +01:00
VirtualTam c133612f32 CSS: remove hardcoded style from templates
Fixes shaarli/Shaarli#29

Style elements refactored as follows:
- use existing ids and classes if possible,
- else, define new ones and stick with the existing naming convention,
- remove hardcoded style attributes from RainTPL templates.

Exception:
In tpl/tagcloud.html, the display size of each tag is computed at page
generation.

Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2014-12-03 19:28:43 +01:00
nodiscc dff9ee543d Merge pull request #67 from e2jk/issue-66
Fix issue #66 by adding space before "selected"
2014-12-03 17:18:36 +01:00
Emilien Klein e5aab50ac4 Fix issue #66 by adding space before "selected" 2014-12-02 23:42:23 +01:00
nodiscc fdd8fb2be2 Merge pull request #28 from virtualtam/unify-css
Unify css
2014-12-01 23:20:52 +01:00
VirtualTam 6e70d65546 CSS: separate rules with a blank line
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2014-12-01 21:55:18 +01:00
VirtualTam 32c8dee39c CSS: expand one-line declarations
Signed-off-by: VirtualTam <virtualtam@flibidi.org>

Conflicts:
	inc/shaarli.css
2014-12-01 21:54:48 +01:00
VirtualTam eeb0fe33a0 CSS: unify coding style - spaces, brackets, keywords
Spaces:
- before an opening bracket
- before a closing bracket
- between a keyword and its value(s)
- between comma-separated selectors

Signed-off-by: VirtualTam <virtualtam@flibidi.org>

Conflicts:
	inc/shaarli.css

Conflicts:
	inc/shaarli.css

Conflicts:
	inc/shaarli.css
2014-12-01 21:52:37 +01:00
VirtualTam 9308d39fce CSS: replace tabs by spaces, remove trailing whitespaces and empty lines
Signed-off-by: VirtualTam <virtualtam@flibidi.org>

Conflicts:
	inc/shaarli.css
2014-12-01 21:50:34 +01:00
nodiscc a58240ce8d Merge pull request #62 from pikzen/linkurl
Added a link to the visible URL in the link list
2014-11-21 21:16:02 +01:00
Florian Eula d741c9fc16 Added a link to the visible URL in the link list
Corrected CSS to prevent a line from showing underneath
Fixes https://github.com/shaarli/Shaarli/issues/53
2014-11-21 19:43:53 +01:00
nodiscc 9bd6089b57 Merge pull request #61 from pikzen/shaarli47
Prevents ?do=addlink from generating a 404 if the user is not logged in
Fixes https://github.com/sebsauvage/Shaarli/issues/141
Fixes https://github.com/shaarli/Shaarli/issues/47
2014-11-21 18:42:10 +01:00
Florian Eula aedc912d36 Prevents ?do=addlink from generating a 404 if the user is not logged in
Fixes https://github.com/shaarli/Shaarli/issue/47
2014-11-21 18:31:49 +01:00
nodiscc 4ad88dd190 Merge pull request #60 from pikzen/master
Do not add a tag to the search if it's already being searched for.
 * Fixes https://github.com/shaarli/Shaarli/issues/50
 * Fixes https://github.com/sebsauvage/Shaarli/issues/140
2014-11-21 18:27:04 +01:00
Florian Eula 732e683bda Do not add a tag to the search if it's already being searched for 2014-11-21 18:19:37 +01:00
nodiscc 9362352e12 Merge pull request #59 from tst2005/master
uniform if syntax
2014-11-13 01:48:52 +01:00
Emilien Klein f2b2ac8c79 Merge pull request #54 from nodiscc/tagcloud-urlencode
use urlencode in tagcloud links
2014-11-10 22:16:27 +01:00
nodiscc 0845fb1ab8 use urlencode in tagcloud links
* prevents unproper escaping of characters like '&'
 * fixes https://github.com/sebsauvage/Shaarli/issues/85
 * fixes https://github.com/shaarli/Shaarli/issues/48
2014-11-09 21:09:43 +01:00
nodiscc dffa06ed61 Merge pull request #51 from nodiscc/optional-archiveorg
make archive.org integration optional (ARCHIVE_ORG option, defaults to false)
2014-11-08 18:40:27 +01:00
nodiscc d2f517638c make archive.org integration optional (ARCHIVE_ORG option, defaults to false) 2014-11-08 18:21:19 +01:00
Emilien Klein 6fdbfe817a Merge pull request #42 from nodiscc/new-readme
Update README
2014-11-08 17:40:58 +01:00
Emilien Klein 903eb0f99c Merge pull request #39 from nodiscc/master
add warning about hostname/cookie storage problems during install
2014-11-08 17:34:01 +01:00
Emilien Klein 19920acc17 Merge pull request #43 from nodiscc/archiveorg-integration
Add Archive.org integration
2014-11-08 17:32:12 +01:00
Qwerty b113dc8e6b Add Archive.org integration
* adds an "archive" link next to permalinks, linking to the last version of the page on archive.org
2014-11-05 14:35:52 +01:00
nodiscc cffa853aae Update README:
* Add screenshots
 * Use Mediacrush as a CDN for images to reduce load on sebsauvage.net
 * Improve page layout/sections
 * Reorder list of features
 * Add links to wiki and bug tracker
 * Add proper download links for stable/dev channels
 * Improve copyright/license notice
2014-11-04 20:35:55 +01:00
nodiscc 01ec179148 index.html: add warning message about hostname/cookie storage problems
* Fixes https://github.com/sebsauvage/Shaarli/issues/196
 * Fixes https://github.com/sebsauvage/Shaarli/issues/97
2014-11-03 13:21:14 +01:00
Emilien Klein 36b226ca1b Merge pull request #37 from qwertygc/patch-2
Update shaarli_version.txt
2014-10-25 19:01:27 +02:00
Qwerty 2e9af8ab26 Update shaarli_version.txt
La version actuelle de shaarli est la 0.042.
2014-10-25 15:25:53 +02:00
Emilien Klein 39e41053ad Merge pull request #36 from nodiscc/https-thumbnails
thumbnails: force HTTPS for youtube, imgur, vimeo
2014-10-23 20:06:29 +02:00
Emilien Klein a4355279cb Merge pull request #35 from nodiscc/optional-atom
Make ATOM toolbar button optional
2014-10-23 20:05:13 +02:00
nodiscc 1a663a0f2c thumbnails: force HTTPS for youtube, imgur, vimeo
* other services also provide thumbs over HTTPS, but the rewrite expression is more complex, so left out for now
2014-10-23 18:00:21 +02:00
nodiscc 1099d8fcad Make ATOM toolbar button optional
* ATOM button display is now configurable using the SHOW_ATOM variable in index.php or data/options.php (defaults to false)
 * Fixes https://github.com/shaarli/Shaarli/issues/24
2014-10-23 17:47:30 +02:00