Commit graph

2668 commits

Author SHA1 Message Date
Florian Eula
e267bf2772 Prevents ?do=addlink from generating a 404 if the user is not logged in
Fixes https://github.com/shaarli/Shaarli/issue/47
2015-07-03 09:32:44 +02:00
Emilien Klein
194cd1cd16 Redirect to home page after deleting a link
Fixes issue 87
2015-07-03 09:30:28 +02:00
01342dd5a4 [upd] improve removing feedburner.... parameter 2015-07-02 17:17:05 +02:00
1d1bc6ebe3 [fix] error with autocomplet tag 2015-07-02 17:04:30 +02:00
799c92d786 [add] new configuration page
[fix] disable thumbnails keep left space in myShaarli theme
2015-07-01 12:20:41 +02:00
d541bf3514 [chg] better html structure 2015-06-29 15:19:32 +02:00
a044da320e [fix] forgot includes.html 2015-06-29 14:51:09 +02:00
d15d267369 [fix] login background 2015-06-29 14:48:52 +02:00
7708afcc78 [chg] release user.css, merge old user.css and shaarli.css on myShaarli.css 2015-06-29 14:42:09 +02:00
b741e823c7 [chg] reorganize css 2015-06-29 11:36:09 +02:00
7d0661086e [chg] optimise and clean css 2015-06-29 11:30:57 +02:00
nodiscc
eee711c0a8 Merge pull request #254 from virtualtam/test/linkdb/datastore
LinkDBTest: only check that the datastore is created and non-empty
2015-06-28 15:53:27 +02:00
VirtualTam
0037fbe1e0 LinkDBTest: only check that the datastore is created and non-empty
Fixes #252
Relates to #238

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-28 14:53:26 +02:00
nodiscc
fe4e8839b3 doc: bump php requirement to php 5.4, fixes https://github.com/shaarli/Shaarli/issues/250 2015-06-27 16:30:54 +02:00
nodiscc
d72ae3d7e8 Merge remote-tracking branch 'ArthurHoaro/default-links' 2015-06-26 22:03:25 +02:00
nodiscc
2fbadc3c63 Merge remote-tracking branch 'virtualtam/linkdb/remove-globals' 2015-06-26 22:03:10 +02:00
nodiscc
da9b0e3e80 [doc] sync doc with latest wiki, build HTML 2015-06-26 21:58:07 +02:00
nodiscc
927a84119c [doc] update CONTRIBUTING 2015-06-26 21:58:07 +02:00
nicolasm
eae648d4fd duplicated id removed 2015-06-26 21:58:07 +02:00
nicolasm
41145f7050 awesome.css restored. width bug fixed. 2015-06-26 21:57:12 +02:00
nodiscc
d257f25c96 Merge pull request #249 from fbartels/patch-1
Restore compatibility with php 5.3
2015-06-26 21:49:18 +02:00
ff50f9c69e [chg] start proper fork of original Shaarli 2015-06-26 17:29:17 +02:00
Felix Bartels
ddfc400465 Restore compatability with php 5.3 2015-06-26 16:57:07 +02:00
9047fb2fd5 [chg] remove javascript autofocus prefer html5 2015-06-26 15:33:17 +02:00
1f28497fff [add] option for define contact link 2015-06-26 15:23:10 +02:00
cd635a0857 [add] Firefox social API by Marsup d33c5d4c3b 2015-06-26 14:41:36 +02:00
1f0cf0c35e [chg] bad if syntax 2015-06-26 14:09:33 +02:00
ArthurHoaro
17c45348fe Page title if there is a single link
Fixes #232
2015-06-26 14:03:36 +02:00
5bc8d56ae8 [fix] small fix 2015-06-26 12:23:23 +02:00
VirtualTam
9c8752a206 LinkDB: do not access global variables
Relates to #218

Removes "hidden" access to the following variables:
 - $GLOBALS['config']['datastore']
 - PHPPREFIX
 - PHPSUFFIX

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-24 23:26:52 +02:00
ArthurHoaro
30e6f1ca2f Fixes unit tests: checking datastore filesize instead of hash.
date() makes the hash validation worthless because it changes at every generation.
2015-06-24 11:58:01 +02:00
ArthurHoaro
598376d4cf Change fresh install default link
Fixes #200

Let me know if you want to change anything in the description.
2015-06-24 11:58:00 +02:00
nodiscc
64bc92e3ac move escape() and sanitizeLink() to application/Utils.php
prevents 'PHP Fatal error:  Call to undefined function sanitizeLink() in Shaarli/application/LinkDB.php on line 255' in tests
2015-06-24 01:08:30 +02:00
nodiscc
eaefcba724 Merge remote-tracking branch 'ArthurHoaro/input-escape' into next
Conflicts:
	index.php
2015-06-24 00:51:38 +02:00
VirtualTam
9f15ca9ee7 LinkDB: add 'hidePublicLinks' parameter to the constructor
Fixes #236
Relates to #237

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-06-24 00:26:59 +02:00
nodiscc
ae63027010 add travis-ci.org build status to README 2015-06-24 00:17:28 +02:00
nodiscc
b6a88fab55 Add link to 'Running unit tests wiki page'
Fixes https://github.com/shaarli/Shaarli/issues/234
2015-06-23 20:51:16 +02:00
nodiscc
4c68c20cdd Merge remote-tracking branch 'nicolasdanelon/master' into next 2015-06-23 20:45:15 +02:00
Nicolas Danelon
38eb1e7770 cursor pointer for label (ux improvement) 2015-06-23 15:32:23 -03:00
Nicolas Danelon
504a425409 fix no javascript 2015-06-23 15:30:13 -03:00
ArthurHoaro
c68da3ffbf Page title if there is a single link
Fixes #232
2015-06-23 20:22:02 +02:00
ArthurHoaro
5f85fcd863 Working on shaarli/Shaarli#224
I reviewed character escaping everywhere with the following ideas:

  * use a single common function to escape user data: `escape` using `htmlspecialchars`.
  * sanitize fields in `index.php` after reading them from datastore and before sending them to templates.
  	It means no escaping function in Twig templates.
    2 reasons:
    * it reduces risks of security issue for future user made templates
    * more readable templates
  * sanitize user configuration fields after loading them.
2015-06-23 16:35:36 +02:00
Nicolas Danelon
3d713bd18f Update awesomplete.css 2015-06-23 11:22:11 -03:00
Nicolas Danelon
e6cd88bbc0 filter input search responsive fixed (mobile) 2015-06-23 11:03:11 -03:00
nodiscc
0923a2bc1b add tabindex 1/2 to search and tags fields 2015-06-23 15:32:45 +02:00
nodiscc
e88368518d Merge remote-tracking branch 'origin/doc-contributing' 2015-06-23 15:11:17 +02:00
nodiscc
4a5827ff5a Merge remote-tracking branch 'ArthurHoaro/daily-date' into next 2015-06-23 15:07:03 +02:00
nodiscc
adb1d6c213 Merge remote-tracking branch 'nicolasdanelon/master' into next 2015-06-23 15:03:01 +02:00
nodiscc
578a84bda0 re-add readDb() missing from previous merge 2015-06-23 14:57:54 +02:00
nodiscc
38a0c256d2 Merge remote-tracking branch 'virtualtam/test/link-db' into next
Conflicts:
	index.php
2015-06-23 14:38:43 +02:00