]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
11 years agoVersion 0.0.41 beta v0.0.41beta
Sébastien SAUVAGE [Fri, 8 Mar 2013 09:14:31 +0000 (10:14 +0100)] 
Version 0.0.41 beta

11 years agoMerge pull request #37 from sebsauvage/CookieDomain
Sébastien SAUVAGE [Fri, 8 Mar 2013 09:01:40 +0000 (01:01 -0800)] 
Merge pull request #37 from sebsauvage/CookieDomain

Correction for login problem with webkit browsers on sub-domain hosted Shaarli.

11 years agoCorrection for login problem with webkit browsers on sub-domain hosted Shaarli.
Sebastien SAUVAGE [Wed, 6 Mar 2013 22:31:18 +0000 (23:31 +0100)] 
Correction for login problem with webkit browsers on sub-domain hosted Shaarli.

11 years agoAdded second check to write rights.
Sebastien SAUVAGE [Mon, 4 Mar 2013 20:26:06 +0000 (21:26 +0100)] 
Added second check to write rights.

(Because on some hosts is_writable() is not reliable.)

11 years agoCheck that Shaarli has the right to write in its own directory.
Sebastien SAUVAGE [Mon, 4 Mar 2013 20:14:07 +0000 (21:14 +0100)] 
Check that Shaarli has the right to write in its own directory.

Because some user forget to check this at installation.

11 years agoGot rid of small display bugs before installation.
Sebastien SAUVAGE [Mon, 4 Mar 2013 20:02:24 +0000 (21:02 +0100)] 
Got rid of small display bugs before installation.

11 years agoMerge pull request #30 from Knah-Tsaeb/master
Sébastien SAUVAGE [Mon, 4 Mar 2013 19:49:33 +0000 (11:49 -0800)] 
Merge pull request #30 from Knah-Tsaeb/master

Merged "Private by default" feature (when creating a new link).

11 years ago[add] https://github.com/sebsauvage/Shaarli/issues/20 New links created as private...
Knah Tsaeb [Mon, 4 Mar 2013 09:18:39 +0000 (10:18 +0100)] 
[add] https://github.com/sebsauvage/Shaarli/issues/20 New links created as private by default.

11 years agoAdded https to list of authorized protocols.
Sebastien SAUVAGE [Sun, 3 Mar 2013 21:49:10 +0000 (22:49 +0100)] 
Added https to list of authorized protocols.

11 years agoCorrected vulnerabilities (see report below)
Sebastien SAUVAGE [Sun, 3 Mar 2013 21:15:38 +0000 (22:15 +0100)] 
Corrected vulnerabilities (see report below)

Title : Shaarli Vulnerabilities
Author : @erwan_lr | @_WPScan_

Vendor : http://sebsauvage.net/wiki/doku.php?id=php:shaarli
Download : https://github.com/sebsauvage/Shaarli/archive/master.zip |
http://sebsauvage.net/files/shaarli_0.0.40beta.zip
Affected versions : master-705F835, 0.0.40-beta (versions below may also
be vulnerable)

Vulnerabilities : Persistent XSS & Unvalidated Redirects and Forwards

Persistent XSS :
- During the instalation or configuration modification, the title field
is vulnerable. e.g <script>alert(1)</script>
Quotes can not be used because of var_export(), but String.fromCharCode
works

- The url field of a link is vulnerable :

When there is no redirector : javascript:alert(1)
Then, the code is triggered when a user click the url of a link

Or with a classic XSS : "><script>alert(1)</script>

Unvalidated Redirects and Forwards :
A request with the param linksperpage or privateonly can be used to
redirect a user to an arbitrary referer

e.g
GET /Audit/Shaarli/master-705f835/?linksperpage=10 HTTP/1.1
Host: 127.0.0.1
Referer: https://duckduckgo.com

History :
March 2, 2013
- Vendor contacted

11 years agoProper redirect in popup when login fails.
Sebastien SAUVAGE [Sat, 2 Mar 2013 13:07:00 +0000 (14:07 +0100)] 
Proper redirect in popup when login fails.

This corrects issue https://github.com/sebsauvage/Shaarli/issues/10

11 years agoAdded option to disable jQuery and heavy javascript
Sebastien SAUVAGE [Fri, 1 Mar 2013 21:21:10 +0000 (22:21 +0100)] 
Added option to disable jQuery and heavy javascript

Shaarli uses light Javascript in its normal operation, and some jQuery
for some features (autocomplete in tags, QR-Code popup...).
jQuery can be slow on small computers. An option has been added in
configuration screen to disable javascript features which are hard on
CPU.
(Note that the Picture Wall is awfully heavy *without* jQuery.)

(Side note: A *LOT* of users want Shaarli to work without javasript at
all, if possible. That's why I try to use as few javascript as possible:
It keeps Shaarli pages fast.)

11 years agoURL source in cached RSS feeds.
Sebastien SAUVAGE [Fri, 1 Mar 2013 16:43:20 +0000 (17:43 +0100)] 
URL source in cached RSS feeds.

11 years agoSort tags
Sebastien SAUVAGE [Fri, 1 Mar 2013 16:09:52 +0000 (17:09 +0100)] 
Sort tags

11 years agoCorrected: "Nothing found" when logging out when only private links were displayed.
Sebastien SAUVAGE [Fri, 1 Mar 2013 15:57:34 +0000 (16:57 +0100)] 
Corrected: "Nothing found" when logging out when only private links were displayed.

This closes the issues https://github.com/sebsauvage/Shaarli/issues/25

11 years agoRSS patch for Thunderbird (and some RSS clients).
Sébastien SAUVAGE [Thu, 28 Feb 2013 13:48:11 +0000 (14:48 +0100)] 
RSS patch for Thunderbird (and some RSS clients).

In the RSS specifications, the "link" tags contains the URL to follow,
and the "guid" contains a unique identifier (which may or may not be an
URL).
RSS clients should always use "link" to follow the link (and most do),
but Thunderbird uses the "guid" if it find a valid URL inside (and only
falls back to "link" if "guid" is not an URL).

I have patched the RSS feed so that Thunderbird ignores the URL in guid.

11 years agoCheck that sessions work before installation.
Sébastien SAUVAGE [Thu, 28 Feb 2013 09:37:43 +0000 (10:37 +0100)] 
Check that sessions work before installation.

This is necessary because some hosts do not have a properly set
session.save_path parameter in php config, or do not have write access
to the directory.

11 years agoImproved token security
Sébastien SAUVAGE [Thu, 28 Feb 2013 08:19:00 +0000 (09:19 +0100)] 
Improved token security

...by adding salt. These token are used in form which act on data to
prevent CSRF attacks.
This closes issue https://github.com/sebsauvage/Shaarli/issues/24

11 years agoCorrected thumbnail creation.
Sebastien SAUVAGE [Wed, 27 Feb 2013 20:24:41 +0000 (21:24 +0100)] 
Corrected thumbnail creation.

Because some systems do not allow file overwriting when doing a
rename().

11 years agoPueril addition of the logo in Readme for GitHub master page.
Sébastien SAUVAGE [Wed, 27 Feb 2013 17:58:26 +0000 (18:58 +0100)] 
Pueril addition of the logo in Readme for GitHub master page.

11 years agoAfter clicking save/cancel on a link, scroll to the link itself.
Sébastien SAUVAGE [Wed, 27 Feb 2013 17:24:07 +0000 (18:24 +0100)] 
After clicking save/cancel on a link, scroll to the link itself.

11 years agoEdit/delete button on the left-side of links.
Sébastien SAUVAGE [Wed, 27 Feb 2013 16:46:45 +0000 (17:46 +0100)] 
Edit/delete button on the left-side of links.

https://github.com/sebsauvage/Shaarli/issues/5

11 years agoRemove script name from URL if it's index.php
Sébastien SAUVAGE [Wed, 27 Feb 2013 15:52:32 +0000 (16:52 +0100)] 
Remove script name from URL if it's index.php

(for better looking URLs, eg. http://mysite.com/shaarli/?abcde instead
of http://mysite.com/shaarli/index.php?abcde)

11 years agoLink in description & option to invert link/permalink.
Sébastien SAUVAGE [Wed, 27 Feb 2013 15:39:16 +0000 (16:39 +0100)] 
Link in description & option to invert link/permalink.

Patch for issue https://github.com/sebsauvage/Shaarli/issues/19

Now:
* The (perma)link is added at the bottom of description.
* If "permalinks" is added in URL parameters, link/permalinks will be
swapped.

eg.
* Normal link in title + permalink in description:
http://mysite.com/shaarli/?do=rss
* Permalink in title + normal link in description :
http://mysite.com/shaarli/?do=rss&permalinks

It works for the ATOM feed too.

(Happy ?   :-D  )

11 years agoSupport for magnet links in description.
Sébastien SAUVAGE [Wed, 27 Feb 2013 14:49:32 +0000 (15:49 +0100)] 
Support for magnet links in description.

11 years agoCorrected bug in cache purge.
Sébastien SAUVAGE [Tue, 26 Feb 2013 15:03:47 +0000 (16:03 +0100)] 
Corrected bug in cache purge.

11 years agoTypo correction.
Sébastien SAUVAGE [Tue, 26 Feb 2013 14:01:15 +0000 (15:01 +0100)] 
Typo correction.

11 years agoLogin problem correction
Sébastien SAUVAGE [Tue, 26 Feb 2013 13:47:47 +0000 (14:47 +0100)] 
Login problem correction

This corrects the session problem with some browsers when Shaarli is
hosted on a sub-domain. Please tell me if this corrects login problems
if you had one.

11 years agoAdded README.md
Sébastien SAUVAGE [Tue, 26 Feb 2013 13:30:28 +0000 (14:30 +0100)] 
Added README.md

11 years agoAdded .gitignore
Sébastien SAUVAGE [Tue, 26 Feb 2013 12:23:26 +0000 (13:23 +0100)] 
Added .gitignore

11 years agoInitial commit (version 0.0.40 beta) v0.0.40beta
Sébastien SAUVAGE [Tue, 26 Feb 2013 09:09:41 +0000 (10:09 +0100)] 
Initial commit (version 0.0.40 beta)