Commit graph

2665 commits

Author SHA1 Message Date
927e67a6a9 [fix] picwall not load 2015-07-21 11:42:36 +02:00
1c0853cd04 [upd] readme 2015-07-20 17:31:11 +02:00
1edbcb4f38 [fix] path of image 2015-07-20 16:34:19 +02:00
00c968f830 [fix] path of image 2015-07-20 16:31:10 +02:00
cef0816903 [add] option for define date format 2015-07-20 16:27:17 +02:00
ArthurHoaro
d1be6766f3 #193 add UTF8 by default to autoLocale 2015-07-20 15:21:34 +02:00
ArthurHoaro
31fc9518a3 Fixes autoLocale function by trying several way to find a correct one.
Fix https://github.com/shaarli/Shaarli/issues/184
2015-07-20 15:21:22 +02:00
1f3a7f78a0 [chg] change some class for theme compatibility 2015-07-20 15:10:22 +02:00
VirtualTam
d0ce99e59e Makefile: do not call clean before test
Fixes #288

Modifications:
 - call `make clean` explicitely to clean the workspace
 - add `make clean` to Travis instructions

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-18 13:43:19 +02:00
VirtualTam
2ac5938b67 Merge pull request #290 from virtualtam/travis-container
Travis: use the container-based infrastructure
2015-07-18 13:42:15 +02:00
VirtualTam
39d06fa545 Travis: use the container-based infrastructure
See http://docs.travis-ci.com/user/migrating-from-legacy/

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-18 13:23:00 +02:00
17699d82dc [upd] use flex input and label form 2015-07-17 14:57:40 +02:00
e89182bacf [add] new template system inspired by communauty fork 2015-07-17 13:49:55 +02:00
b6d9d9b37a [chg] clean up html code and format 2015-07-17 11:28:43 +02:00
d02bf19916 [add] new logo and news favicon 2015-07-16 17:12:59 +02:00
Arthur
874f858b8f Merge pull request #271 from virtualtam/php53
PHP: ensure 5.3 compatibility
2015-07-15 11:05:07 +02:00
VirtualTam
d1e2f8e52c PHP: ensure 5.3 compatibility, refactor timezone utilities
Relates to #250

Modifications
 - supported version
   - bump required version from 5.1.0 to 5.3.x
   - update README
   - add PHP 5.3 to Travis environments
 - rewrite array declarations: explicitely use array() instead of []
 - move checkPHPVersion to application/Utils.php
 - move timezone functions to application/TimeZone.php
   - cleanup code
   - improve test coverage

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-13 13:06:06 +02:00
VirtualTam
3e25f245f9 Makefile: add a generic rule to run PHPCS against different coding standards
Relates to #95

Usage
 - list available standards
   $ ./vendor/bin/phpcs -i
 - run PHPCS against a given standard
   $ make PHPCS_<standard>

Examples
 $ make PHPCS_PSR1
 $ make PHPCS_Zend

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-12 23:04:43 +02:00
VirtualTam
5b0ebbc5de Merge pull request #257 from ArthurHoaro/tag-http-referer
Prevent redirection loop everytime we rely on HTTP_REFERER
2015-07-12 19:56:13 +02:00
ArthurHoaro
775803a05c Prevent redirection loop everytime we rely on HTTP_REFERER:
* search tag
  * delete tag
  * pagination
  * display privates only
  * delete link
  * new/edit/cancel link return page

Move location generation to Utils.php + unit tests.

Fixes #256

ninja
2015-07-12 17:43:13 +02:00
Arthur
1dcbe29611 English mistake cf sebsauvage/Shaarli#221 2015-07-12 15:16:37 +02:00
ArthurHoaro
6ac95d9cf1 Fixes warning 'Undefined index: searchtags' while filtering by tags.
Happened if there were not any searchtags already present in the query.
2015-07-12 11:36:42 +02:00
Arthur
7bd3542b1b Merge pull request #262 from ArthurHoaro/dup-tags
Avoid tag duplicates
2015-07-12 11:01:24 +02:00
ArthurHoaro
781e8aadea Avoid tag duplicates
* Prevent duplicate client side with awesomplete
 * Prevent duplicate server side (save_edit processing)

Fixes #261
2015-07-12 10:34:29 +02:00
VirtualTam
bba021defc Merge pull request #268 from ArthurHoaro/dailrss-template
Include the whole <item> in Daily RSS template
2015-07-11 19:09:52 +02:00
VirtualTam
1b73f35ebf Merge pull request #269 from virtualtam/fix/read-config
Fix: data/config.php was not imported
2015-07-11 12:48:24 +02:00
ArthurHoaro
f3b8f9f0f8 Include the whole <item> in dailyRSS
Allow custom date format and title in templates.

Also a bit of code style review.

Fixes #182
2015-07-11 10:25:25 +02:00
VirtualTam
50c9a12ee6 Fix: data/config.php was not imported
Relates to #255

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-11 00:12:13 +02:00
VirtualTam
49ca756950 Merge pull request #267 from virtualtam/linkdb/private-names
LinkDB: prefix private members with an underscore
2015-07-10 17:43:00 +02:00
VirtualTam
07b6fa750b LinkDB: prefix private members with an underscore
Relates to #95, #218

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-09 21:46:01 +02:00
VirtualTam
e92f1ba59e Merge pull request #255 from ArthurHoaro/config
All settings are now stored in config.php
2015-07-09 21:34:46 +02:00
ArthurHoaro
dd484b90b1 All settings are now stored in config.php
Isolate functions related to config in Config.php + add unit tests + code_sniffer.

options.php is not supported anymore, but its content will be automatically saved into config.php

Fixes #shaarli/Shaarli#41

*TODO*: update [documentation](https://github.com/shaarli/Shaarli/wiki#configuration).
2015-07-09 20:46:03 +02:00
VirtualTam
7f1dfd1c12 Merge pull request #251 from virtualtam/linkdb/date-format
LinkDB::filterDay(): check input date format
2015-07-09 01:00:40 +02:00
VirtualTam
9186ab9594 LinkDB::filterDay(): check input date format
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-07-09 00:44:19 +02:00
VirtualTam
46d83c20d7 Merge pull request #264 from ArthurHoaro/daily-nav
Fixes #260: previous/next day links in daily
2015-07-09 00:16:07 +02:00
ArthurHoaro
f3db3774f9 Fixes #260: previous/next day links in daily
The bug was occuring only if we tried to access to the first day.
2015-07-08 17:12:06 +02:00
7bae9485fd [upd] update README and go to myShaarli 1.0.0 beta 2015-07-08 12:00:55 +02:00
nodiscc
4c6847df8b improve tag cloud font size scaling
* use logarithmic scales
 * remove bold style
2015-07-08 10:24:00 +02:00
132acc4e95 [fix] no version return 2015-07-03 15:02:40 +02:00
3c20b1071e [upd] clean up id and proper css in paging template 2015-07-03 14:32:04 +02:00
f89abe02e8 [fix] bad position of generated qr-code 2015-07-03 14:06:18 +02:00
0b7c7fc069 [add] new theme and adapte linklist template 2015-07-03 13:48:53 +02:00
88f2ebadca [upd] refactor login form 2015-07-03 10:22:39 +02:00
62c55f9c8c [upd] replace js focus by html5 autofocus 2015-07-03 10:08:37 +02:00
c5eeb78c3c [chg] cleanup html structure 2015-07-03 10:02:58 +02:00
8afd5016af [chg] remove language="JavaScript" 2015-07-03 09:50:53 +02:00
b74a59fd49 [add] in note post add tag 'note' 2015-07-03 09:42:32 +02:00
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