]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
9 years agow3c: fix HTML syntax errors 103/head
VirtualTam [Tue, 20 Jan 2015 01:35:52 +0000 (02:35 +0100)] 
w3c: fix HTML syntax errors

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>
9 years agoMerge pull request #93 from ArthurHoaro/scripttag
nodiscc [Sun, 11 Jan 2015 13:56:22 +0000 (14:56 +0100)] 
Merge pull request #93 from ArthurHoaro/scripttag

Remove language attribute on script tag and improve QRCode JS

9 years ago* removed the language attribute on the script element since it is obsolete and we... 93/head
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

9 years agoMerge pull request #77 from ArthurHoaro/w3c
nodiscc [Fri, 9 Jan 2015 01:34:00 +0000 (02:34 +0100)] 
Merge pull request #77 from ArthurHoaro/w3c

Make Shaarli's template W3C compliant #64

9 years agoW3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 77/head
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 &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

9 years agoMerge pull request #90 from shaarli/issue-87
nodiscc [Mon, 5 Jan 2015 19:13:15 +0000 (20:13 +0100)] 
Merge pull request #90 from shaarli/issue-87

Redirect to home page after deleting a link (Fixes issue 87)

9 years agoRedirect to home page after deleting a link 90/head
Emilien Klein [Sun, 4 Jan 2015 20:19:14 +0000 (15:19 -0500)] 
Redirect to home page after deleting a link

Fixes issue 87

9 years agoMerge pull request #85 from nodiscc/tagcloud-scaling
nodiscc [Mon, 29 Dec 2014 02:00:25 +0000 (03:00 +0100)] 
Merge pull request #85 from nodiscc/tagcloud-scaling

improve tag cloud font size scaling

9 years agoimprove tag cloud font size scaling 85/head
nodiscc [Wed, 24 Dec 2014 19:00:17 +0000 (20:00 +0100)] 
improve tag cloud font size scaling
 * use logarithmic scales
 * remove bold style

9 years agoMerge pull request #82 from pikzen/fix-search
nodiscc [Thu, 25 Dec 2014 00:21:39 +0000 (01:21 +0100)] 
Merge pull request #82 from pikzen/fix-search

Made tag/title search unicode aware, fixes #75

9 years agoMerge pull request #83 from pikzen/loop-factor
nodiscc [Thu, 25 Dec 2014 00:15:14 +0000 (01:15 +0100)] 
Merge pull request #83 from pikzen/loop-factor

Refactored the daily column generation (only one loop)

9 years agoRefactored the daily column generation (only one loop) 83/head
Florian Eula [Mon, 22 Dec 2014 16:11:53 +0000 (17:11 +0100)] 
Refactored the daily column generation (only one loop)

9 years agoMade tag/title search unicode aware, fixes #75 82/head
Florian Eula [Mon, 22 Dec 2014 15:43:37 +0000 (16:43 +0100)] 
Made tag/title search unicode aware, fixes #75

9 years agofix quoting error introduced in 712501812b6f927b048b9d7f767cb15a370b3c81
nodiscc [Tue, 16 Dec 2014 18:52:06 +0000 (19:52 +0100)] 
fix quoting error introduced in 712501812b6f927b048b9d7f767cb15a370b3c81

9 years agoMerge pull request #81 from nodiscc/prevent-disclosure
nodiscc [Tue, 16 Dec 2014 18:26:11 +0000 (19:26 +0100)] 
Merge pull request #81 from nodiscc/prevent-disclosure

Prevent full path and PHP version disclosures

9 years agoprevent disclosing PHP version on PHP version check error 81/head
nodiscc [Tue, 16 Dec 2014 18:24:37 +0000 (19:24 +0100)] 
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

9 years agoprevent disclosing full path when raising "Shaarli directory not writeable" error
nodiscc [Tue, 16 Dec 2014 18:21:58 +0000 (19:21 +0100)] 
prevent disclosing full path when raising "Shaarli directory not writeable" error
 * work on https://github.com/shaarli/Shaarli/issues/78

9 years agoMerge pull request #69 from nodiscc/master
nodiscc [Fri, 5 Dec 2014 19:27:15 +0000 (20:27 +0100)] 
Merge pull request #69 from nodiscc/master

bookmarklet: add ✚ sign to make it more recognizable in toolbars

9 years agobookmarklet: add ✚ sign to make it more recognizable in toolbars 69/head
nodiscc [Fri, 5 Dec 2014 00:05:23 +0000 (01:05 +0100)] 
bookmarklet: add ✚ sign to make it more recognizable in toolbars

9 years agoMerge pull request #68 from virtualtam/hardcoded-style
nodiscc [Fri, 5 Dec 2014 16:56:19 +0000 (17:56 +0100)] 
Merge pull request #68 from virtualtam/hardcoded-style

CSS: remove hardcoded style from templates

9 years agoCSS: remove hardcoded style from templates 68/head
VirtualTam [Tue, 2 Dec 2014 20:00:52 +0000 (21:00 +0100)] 
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>
9 years agoMerge pull request #67 from e2jk/issue-66
nodiscc [Wed, 3 Dec 2014 16:18:36 +0000 (17:18 +0100)] 
Merge pull request #67 from e2jk/issue-66

Fix issue #66 by adding space before "selected"

9 years agoFix issue #66 by adding space before "selected" 67/head
Emilien Klein [Tue, 2 Dec 2014 22:42:23 +0000 (23:42 +0100)] 
Fix issue #66 by adding space before "selected"

9 years agoMerge pull request #28 from virtualtam/unify-css
nodiscc [Mon, 1 Dec 2014 22:20:52 +0000 (23:20 +0100)] 
Merge pull request #28 from virtualtam/unify-css

Unify css

9 years agoCSS: separate rules with a blank line 28/head
VirtualTam [Sun, 9 Nov 2014 12:21:48 +0000 (13:21 +0100)] 
CSS: separate rules with a blank line

Signed-off-by: VirtualTam <virtualtam@flibidi.org>
9 years agoCSS: expand one-line declarations
VirtualTam [Sat, 8 Nov 2014 22:44:11 +0000 (23:44 +0100)] 
CSS: expand one-line declarations

Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Conflicts:
inc/shaarli.css

9 years agoCSS: unify coding style - spaces, brackets, keywords
VirtualTam [Sun, 19 Oct 2014 01:23:04 +0000 (03:23 +0200)] 
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

9 years agoCSS: replace tabs by spaces, remove trailing whitespaces and empty lines
VirtualTam [Sun, 19 Oct 2014 01:12:52 +0000 (03:12 +0200)] 
CSS: replace tabs by spaces, remove trailing whitespaces and empty lines

Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Conflicts:
inc/shaarli.css

9 years agoMerge pull request #62 from pikzen/linkurl
nodiscc [Fri, 21 Nov 2014 20:16:02 +0000 (21:16 +0100)] 
Merge pull request #62 from pikzen/linkurl

Added a link to the visible URL in the link list

9 years agoAdded a link to the visible URL in the link list 62/head
Florian Eula [Fri, 21 Nov 2014 18:43:53 +0000 (19:43 +0100)] 
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

9 years agoMerge pull request #61 from pikzen/shaarli47
nodiscc [Fri, 21 Nov 2014 17:42:10 +0000 (18:42 +0100)] 
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

9 years agoPrevents ?do=addlink from generating a 404 if the user is not logged in 61/head
Florian Eula [Fri, 21 Nov 2014 17:31:31 +0000 (18:31 +0100)] 
Prevents ?do=addlink from generating a 404 if the user is not logged in
Fixes https://github.com/shaarli/Shaarli/issue/47

9 years agoMerge pull request #60 from pikzen/master
nodiscc [Fri, 21 Nov 2014 17:27:04 +0000 (18:27 +0100)] 
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

9 years agoDo not add a tag to the search if it's already being searched for 60/head
Florian Eula [Thu, 20 Nov 2014 19:04:24 +0000 (20:04 +0100)] 
Do not add a tag to the search if it's already being searched for

9 years agoMerge pull request #59 from tst2005/master
nodiscc [Thu, 13 Nov 2014 00:48:52 +0000 (01:48 +0100)] 
Merge pull request #59 from tst2005/master

uniform if syntax

9 years agoMerge pull request #54 from nodiscc/tagcloud-urlencode
Emilien Klein [Mon, 10 Nov 2014 21:16:27 +0000 (22:16 +0100)] 
Merge pull request #54 from nodiscc/tagcloud-urlencode

use urlencode in tagcloud links

9 years agouse urlencode in tagcloud links 54/head
nodiscc [Sun, 9 Nov 2014 20:09:43 +0000 (21:09 +0100)] 
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

9 years agoMerge pull request #51 from nodiscc/optional-archiveorg
nodiscc [Sat, 8 Nov 2014 17:40:27 +0000 (18:40 +0100)] 
Merge pull request #51 from nodiscc/optional-archiveorg

make archive.org integration optional (ARCHIVE_ORG option, defaults to false)

9 years agomake archive.org integration optional (ARCHIVE_ORG option, defaults to false) 51/head
nodiscc [Sat, 8 Nov 2014 17:19:52 +0000 (18:19 +0100)] 
make archive.org integration optional (ARCHIVE_ORG option, defaults to false)

9 years agoMerge pull request #42 from nodiscc/new-readme
Emilien Klein [Sat, 8 Nov 2014 16:40:58 +0000 (17:40 +0100)] 
Merge pull request #42 from nodiscc/new-readme

Update README

9 years agoMerge pull request #39 from nodiscc/master
Emilien Klein [Sat, 8 Nov 2014 16:34:01 +0000 (17:34 +0100)] 
Merge pull request #39 from nodiscc/master

add warning about hostname/cookie storage problems during install

9 years agoMerge pull request #43 from nodiscc/archiveorg-integration
Emilien Klein [Sat, 8 Nov 2014 16:32:12 +0000 (17:32 +0100)] 
Merge pull request #43 from nodiscc/archiveorg-integration

Add Archive.org integration

9 years agoAdd Archive.org integration 43/head
Qwerty [Sun, 2 Nov 2014 14:29:39 +0000 (15:29 +0100)] 
Add Archive.org integration
 * adds an "archive" link next to permalinks, linking to the last version of the page on archive.org

9 years agoUpdate README: 42/head
nodiscc [Thu, 9 Oct 2014 13:45:23 +0000 (15:45 +0200)] 
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

9 years agoindex.html: add warning message about hostname/cookie storage problems 39/head
nodiscc [Mon, 3 Nov 2014 12:21:14 +0000 (13:21 +0100)] 
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

9 years agoMerge pull request #37 from qwertygc/patch-2
Emilien Klein [Sat, 25 Oct 2014 17:01:27 +0000 (19:01 +0200)] 
Merge pull request #37 from qwertygc/patch-2

Update shaarli_version.txt

9 years agoUpdate shaarli_version.txt 37/head
Qwerty [Sat, 25 Oct 2014 13:25:53 +0000 (15:25 +0200)] 
Update shaarli_version.txt

La version actuelle de shaarli est la 0.042.

9 years agoMerge pull request #36 from nodiscc/https-thumbnails
Emilien Klein [Thu, 23 Oct 2014 18:06:29 +0000 (20:06 +0200)] 
Merge pull request #36 from nodiscc/https-thumbnails

thumbnails: force HTTPS for youtube, imgur, vimeo

9 years agoMerge pull request #35 from nodiscc/optional-atom
Emilien Klein [Thu, 23 Oct 2014 18:05:13 +0000 (20:05 +0200)] 
Merge pull request #35 from nodiscc/optional-atom

Make ATOM toolbar button optional

9 years agothumbnails: force HTTPS for youtube, imgur, vimeo 36/head
nodiscc [Tue, 21 Oct 2014 13:31:20 +0000 (15:31 +0200)] 
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

9 years agoMake ATOM toolbar button optional 35/head
nodiscc [Thu, 23 Oct 2014 15:47:30 +0000 (17:47 +0200)] 
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

9 years agoMerge pull request #31 from nodiscc/version-check
nodiscc [Thu, 23 Oct 2014 15:41:06 +0000 (17:41 +0200)] 
Merge pull request #31 from nodiscc/version-check

Version check: check against latest version on github

9 years agoupdate check: check against last version available on github.com/shaarli/Shaarli 31/head
nodiscc [Tue, 21 Oct 2014 15:54:35 +0000 (17:54 +0200)] 
update check: check against last version available on github.com/shaarli/Shaarli
 * fixes https://github.com/shaarli/Shaarli/issues/5

9 years agoadd current release version number in shaarli_version.txt
nodiscc [Tue, 21 Oct 2014 15:51:55 +0000 (17:51 +0200)] 
add current release version number in shaarli_version.txt
 * release process: please update this file when releasing a new version on github

9 years agoMerge pull request #30 from nodiscc/master
nodiscc [Tue, 21 Oct 2014 16:09:33 +0000 (18:09 +0200)] 
Merge pull request #30 from nodiscc/master

add link: in case of empty URL (self-post), prepend "Note: " to the title

9 years agoadd link: in case of empty URL (self-post), prepend "Note: " to the title 30/head
nodiscc [Mon, 20 Oct 2014 17:14:52 +0000 (19:14 +0200)] 
add link: in case of empty URL (self-post), prepend "Note: " to the title
 * Thanks to qwertygc (https://github.com/shaarli/Shaarli/pull/23)
 * Fix small typo

9 years agoMerge pull request #27 from virtualtam/master
nodiscc [Mon, 20 Oct 2014 11:59:44 +0000 (13:59 +0200)] 
Merge pull request #27 from virtualtam/master

fix: add missing slash when defining RainTPL's temp dir

9 years agofix: add missing slash when defining RainTPL's temp dir 27/head
VirtualTam [Sat, 18 Oct 2014 22:57:41 +0000 (00:57 +0200)] 
fix: add missing slash when defining RainTPL's temp dir

Signed-off-by: VirtualTam <virtualtam@flibidi.org>
9 years agogitignore: ignore raintpl generated php pages
nodiscc [Wed, 10 Sep 2014 13:20:44 +0000 (15:20 +0200)] 
gitignore: ignore raintpl generated php pages

9 years agoupdate qr.min.js to 1.1.3 from https://github.com/neocotic/qr.js, update COPYING
nodiscc [Thu, 4 Sep 2014 22:42:39 +0000 (00:42 +0200)] 
update qr.min.js to 1.1.3 from https://github.com/neocotic/qr.js, update COPYING
 * fixes https://github.com/shaarli/Shaarli/issues/7

9 years agoMerge pull request #12 from nodiscc/iconslicense
nodiscc [Sat, 30 Aug 2014 19:12:29 +0000 (21:12 +0200)] 
Merge pull request #12 from nodiscc/iconslicense

fix icons license and general copyright information

9 years agoreplace unlicensed icons/images, add proper credits 12/head
nodiscc [Wed, 27 Aug 2014 20:52:45 +0000 (22:52 +0200)] 
replace unlicensed icons/images, add proper credits
  * fugue icons (http://p.yusukekamiyamane.com/) CC-BY-SA license
  * ornimental bookend (https://openclipart.org/detail/19869/ornimental-bookend---left-by-j4p4n) Public domain license
  * Paper_texture_v5_by_bashcorpo_w1000.jpg source found at http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 under Public Domain license
  * linecons (https://www.iconfinder.com/iconsets/linecons-free-vector-icons-pack) CC-BY license
  * add credits to COPYING, (get list of committers with git shortlog -sne, and previous contributors from the author's website)
  * Fixes https://github.com/shaarli/Shaarli/issues/10
  * Fixes https://github.com/sebsauvage/Shaarli/issues/8

9 years agoMerge pull request #19 from nodiscc/master
nodiscc [Tue, 19 Aug 2014 19:52:36 +0000 (21:52 +0200)] 
Merge pull request #19 from nodiscc/master

bookmarklet: use selected text as description when adding a new link

9 years agoMerge pull request #20 from nodiscc/fix-typos
Sbgodin [Tue, 19 Aug 2014 19:33:53 +0000 (21:33 +0200)] 
Merge pull request #20 from nodiscc/fix-typos

Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css

9 years agoFix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css 20/head
nodiscc [Mon, 11 Aug 2014 18:41:50 +0000 (20:41 +0200)] 
Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css
Based on respencer's work at https://github.com/respencer/Shaarli/
Closes https://github.com/sebsauvage/Shaarli/pull/103

9 years agoMerge pull request #11 from Sbgodin/rainVariables
nodiscc [Tue, 12 Aug 2014 00:07:15 +0000 (02:07 +0200)] 
Merge pull request #11 from Sbgodin/rainVariables

9 years agobookmarklet: use selected text as description when adding a new link 19/head
nodiscc [Sun, 10 Aug 2014 22:04:51 +0000 (00:04 +0200)] 
bookmarklet: use selected text as description when adding a new link
 * Based on romnGit's work at https://github.com/sebsauvage/Shaarli/pull/104
 * Fixes https://github.com/shaarli/Shaarli/issues/18
 * Closes https://github.com/sebsauvage/Shaarli/pull/104
 * Fixes https://github.com/sebsauvage/Shaarli/issues/53
 * Fixes https://github.com/sebsauvage/Shaarli/issues/129
 * Fixes https://github.com/sebsauvage/Shaarli/issues/33

9 years agoRemoves htaccess file creation and adds them in the repository 11/head
Christophe HENRY [Sun, 3 Aug 2014 22:38:37 +0000 (00:38 +0200)] 
Removes htaccess file creation and adds them in the repository

I also removed the previously created placeholders, which after all, have no more utility.

9 years agoAdds empty directories: cache, data, pagecache and tmp. Removes mkdirs.
Christophe HENRY [Sun, 3 Aug 2014 22:13:30 +0000 (00:13 +0200)] 
Adds empty directories: cache, data, pagecache and tmp. Removes mkdirs.

They are still in .gitignore because their future content will still be ignored.

9 years agoRemoved redundant check on RAINTPL_TMP directory
Christophe HENRY [Thu, 31 Jul 2014 21:17:30 +0000 (23:17 +0200)] 
Removed redundant check on RAINTPL_TMP directory

The same test is already on line 93

9 years agoAdds configuration variables, TPL and TMP, for RainTPL
Christophe HENRY [Thu, 31 Jul 2014 21:12:29 +0000 (23:12 +0200)] 
Adds configuration variables, TPL and TMP, for RainTPL

The path for templates and temporary files are now part of the configuration.

For a custom install, it's possible to put these writable directories elsewhere than in the read-only source code.

9 years agoAdds the tip for the title link in the configuration page 2/head
Christophe HENRY [Sun, 27 Jul 2014 14:30:03 +0000 (16:30 +0200)] 
Adds the tip for the title link in the configuration page

9 years agoAdds a configuration variable "titleLink" which allows to customize the
Christophe HENRY [Wed, 13 Mar 2013 20:27:03 +0000 (21:27 +0100)] 
Adds a configuration variable "titleLink" which allows to customize the
link on the title.

9 years agoRelease version 0.0.42 beta 3/head v0.0.42beta
Emilien Klein [Sun, 27 Jul 2014 20:57:30 +0000 (22:57 +0200)] 
Release version 0.0.42 beta

10 years agoMerge pull request #166 from timovn/patch-1
Sébastien SAUVAGE [Fri, 14 Feb 2014 15:52:22 +0000 (16:52 +0100)] 
Merge pull request #166 from timovn/patch-1

Update shaarli.css

10 years agoUpdate shaarli.css
timo van neerden [Fri, 14 Feb 2014 15:38:05 +0000 (16:38 +0100)] 
Update shaarli.css

Added word-wrap: break-word; to body, so that that text is well wrapped, and do not permit horizontal scroll-bars (on mobile, with responsive design).

10 years agoMerge pull request #155 from Sbgodin/staySignedInWithCookie
Sébastien SAUVAGE [Sun, 9 Feb 2014 17:43:52 +0000 (18:43 +0100)] 
Merge pull request #155 from Sbgodin/staySignedInWithCookie

"Stay signed in" modification. This will help people with hosts which aggressively clean sessions on server side.

10 years agoA real "Stay signed in": keep the connection
Christophe HENRY [Thu, 5 Dec 2013 17:23:02 +0000 (18:23 +0100)] 
A real "Stay signed in": keep the connection

Instead of trusting the php session, it uses a cookie. The php session
sooner or later is distroyed if not used. It depends upon the server
settings. Using a cookie ensures that one really stays signed in.

Dev notes: I wanted to avoid merge conflicts, stay with the main
developper standards and keep the "index.php" in one file. That's why
the code may not be that nice. My own dev level my also explain.

10 years agoCorrected overlapping tags
Sébastien SAUVAGE [Wed, 4 Dec 2013 12:55:42 +0000 (13:55 +0100)] 
Corrected overlapping tags

10 years agoMerge pull request #145 from Alkarex/patch-1
Sébastien SAUVAGE [Fri, 29 Nov 2013 21:01:08 +0000 (13:01 -0800)] 
Merge pull request #145 from Alkarex/patch-1

smallHash: simplified and improved performance

10 years agoXSS flaw correction
Sebastien SAUVAGE [Fri, 29 Nov 2013 20:53:20 +0000 (21:53 +0100)] 
XSS flaw correction

Closes issue https://github.com/sebsauvage/Shaarli/issues/134

10 years agosmallHash: simplified and improved performance
Alexandre Alapetite [Sun, 10 Nov 2013 21:50:34 +0000 (22:50 +0100)] 
smallHash: simplified and improved performance

Unchanged behaviour

10 years agouniform if syntax 59/head
TsT [Wed, 23 Oct 2013 21:21:36 +0000 (23:21 +0200)] 
uniform if syntax

10 years agoCorrected field focus in bookmarklet
Sebastien SAUVAGE [Fri, 27 Sep 2013 15:08:31 +0000 (17:08 +0200)] 
Corrected field focus in bookmarklet

Focus was not properly given to description field when it's empty.

10 years agoUpdate README.md
Sébastien SAUVAGE [Thu, 26 Sep 2013 13:17:43 +0000 (15:17 +0200)] 
Update README.md

10 years agoRemoved jQuery from almost all pages
Sebastien SAUVAGE [Wed, 25 Sep 2013 19:27:50 +0000 (21:27 +0200)] 
Removed jQuery from almost all pages

jQuery has been removed from all pages, except those who really require
it (like autocomplete in link edition).
Immediate gain: All pages weight 286 kb LESS !   \o/
Highlighting in search results has also been temporarly removed (and
will be re-implemented).

10 years agoNew QR-Code generation code
Sébastien SAUVAGE [Wed, 25 Sep 2013 13:17:09 +0000 (15:17 +0200)] 
New QR-Code generation code

* QR-Code generation now uses a client-side javascript library instead of an external service. This is better for user privacy.
* Library used is http://neocotic.com/qr.js/ (11 kb).
* jQuery is no longer used to display QR-Code (this is a first step in removing jQuery entirely).
* This library is loaded *only* if the QR-Code icon is clicked.
* If javascript is disabled, it will fallback to the external service.
* External service was changed from "invx.com" to "qrfree.kaywa.com" because invx has become bloated.

By loading the javascript library *only* if the icon is clicked, it will prevent the 11 kb lib to be loaded in every page.

10 years agoChanged QR-Code CSS (selector and attributes)
Sébastien SAUVAGE [Wed, 25 Sep 2013 12:58:47 +0000 (14:58 +0200)] 
Changed QR-Code CSS (selector and attributes)

10 years agoAdded javascript QR-Code library
Sébastien SAUVAGE [Wed, 25 Sep 2013 12:57:27 +0000 (14:57 +0200)] 
Added javascript QR-Code library

10 years agoDefault example private link changed
Sébastien SAUVAGE [Wed, 25 Sep 2013 08:41:31 +0000 (10:41 +0200)] 
Default example private link changed

Default example private link changed from pastebin to ZeroBin.

10 years agoAdded nb=all to get all links in RSS/ATOM feed.
Sebastien SAUVAGE [Tue, 24 Sep 2013 20:39:40 +0000 (22:39 +0200)] 
Added nb=all to get all links in RSS/ATOM feed.

10 years agoMerge pull request #87 from LionelMartin/3385af123f6b4dfc59aeaa69f180381307b64368
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:20:06 +0000 (02:20 -0700)] 
Merge pull request #87 from LionelMartin/3385af123f6b4dfc59aeaa69f180381307b64368

Added a json_encode implementation for PHP < 5.2 (free.fr)

10 years agoAdded tags+private in shaarli URL
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:17:22 +0000 (11:17 +0200)] 
Added tags+private in shaarli URL

Manually merged pull request https://github.com/sebsauvage/Shaarli/pull/99

10 years agoMerge pull request #112 from BoboTiG/master
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:10:18 +0000 (02:10 -0700)] 
Merge pull request #112 from BoboTiG/master

RSS/Atom: add a parameter to print only the N last links

10 years agoMerge pull request #118 from Alkarex/patch-1
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:07:21 +0000 (02:07 -0700)] 
Merge pull request #118 from Alkarex/patch-1

Corrected error message for lack of write access in ./data

10 years agoMerge pull request #119 from Alkarex/master
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:06:41 +0000 (02:06 -0700)] 
Merge pull request #119 from Alkarex/master

Smaller logo file

10 years agoMerge pull request #125 from broncowdd/master
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:03:26 +0000 (02:03 -0700)] 
Merge pull request #125 from broncowdd/master

Added the possibility to put a description in the bookmarklet's URL

10 years agoMerge pull request #126 from Alkarex/Milliseconds
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:02:33 +0000 (02:02 -0700)] 
Merge pull request #126 from Alkarex/Milliseconds

Import: add compatibility for milliseconds in NETSCAPE-Bookmark

10 years agoMerge pull request #122 from lehollandaisvolant/master
Sébastien SAUVAGE [Tue, 24 Sep 2013 09:01:13 +0000 (02:01 -0700)] 
Merge pull request #122 from lehollandaisvolant/master

Ajout d’un UA lors de la récupération d’une page externe

10 years agoImport NETSCAPE-Bookmark compatible milliseconds
Alexandre Alapetite [Sat, 21 Sep 2013 16:15:41 +0000 (18:15 +0200)] 
Import NETSCAPE-Bookmark compatible milliseconds

NETSCAPE-Bookmark sometimes contains dates as milliseconds instead of
seconds.
For instance, this is the case of the files gererated for Google +1s by
Google Takeout.
This patch make these files compatible.