Commit graph

1346 commits

Author SHA1 Message Date
ArthurHoaro
7f179985b4 Remove remaining settings initialization in index.php
Except for those which require external data (timezone and $_SERVER).
2016-06-11 09:30:56 +02:00
ArthurHoaro
da10377b3c Rename configuration keys and fix GLOBALS in templates 2016-06-11 09:30:56 +02:00
ArthurHoaro
eeea1c3daa Use the configuration manager for wallabag and readityourself plugin 2016-06-11 09:30:56 +02:00
ArthurHoaro
d93d51b213 Set the default timezone in index.php 2016-06-11 09:30:56 +02:00
ArthurHoaro
b74b96bfbd Adds ConfigJson which handle the configuration in JSON format.
Also use the Updater to make the transition
2016-06-11 09:30:56 +02:00
ArthurHoaro
684e662a58 Replace $GLOBALS configuration with the configuration manager in the whole code base 2016-06-11 09:30:56 +02:00
ArthurHoaro
59404d7909 Introduce a configuration manager (not plugged yet) 2016-06-11 09:30:56 +02:00
ArthurHoaro
823a363c3b Configuration template indenting 2016-06-11 09:30:56 +02:00
118f40d21e Better indent 2016-06-10 16:26:53 +02:00
a076447c7c Fix bad page title 2016-06-10 16:00:08 +02:00
VirtualTam
35cc3582f0 Logging: improve formatting to enable fail2ban parsing
Fixes #436

Modifications:
- remove calls to strval() on safe data
- update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s'

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-06-08 12:28:02 +02:00
b7b0894720 [fix] bad merge 167066f4bb 2016-06-08 12:11:55 +02:00
ad03ee9f5f Bump version 2016-06-08 11:59:42 +02:00
ArthurHoaro
20d859380a Fixes #399 - show single link title as page title 2016-06-08 11:56:24 +02:00
Nicolas Danelon
167066f4bb cleanup: remove json_encode() (built-in since PHP 5.2)
See http://php.net/manual/en/function.json-encode.php

Legacy since php 5.2.x . If php5.3 is required for the install script
2016-06-08 11:43:07 +02:00
ArthurHoaro
a1c3e68e7a Fixes #382: Bookmarklet can not retrieve title when there is a quotation mark in it
bookmarklet fields weren't correctly escaped
2016-06-08 11:23:38 +02:00
f981ab8a17 [add] implemented opensearch plugins 2016-06-08 11:01:13 +02:00
042095ae7a [upd] change url to new repo 2016-06-08 09:31:51 +02:00
ArthurHoaro
9ccca40189 Hashtag system
* Hashtag are auto-linked with a filter search
  * Supports unicode
  * Compatible with markdown (excluded in code blocks)
2016-06-06 21:04:43 +02:00
Arthur
bb9ca54838 Merge pull request #582 from ArthurHoaro/hotfix/nomarkdown
The "nomarkdown" tag is no longer private
2016-06-06 19:52:32 +02:00
Arthur
92a381f517 Merge pull request #583 from ArthurHoaro/enhance/tag-case
Fixes #497: ignore case difference between tags
2016-06-03 18:30:19 +02:00
ArthurHoaro
b1eb5d1d31 Fixes #497: ignore case difference between tags
While retrieving all tags, case differences will be ignored.
This affects:

  * tag cloud
  * tag autocompletion
2016-05-31 09:09:32 +02:00
ArthurHoaro
8c4e60186d The tag is no longer private
A private tag is never loaded for visitor, making this feature useless.
2016-05-30 18:51:00 +02:00
VirtualTam
e8f6024400 Merge pull request #576 from virtualtam/readme/link-upgrade
README: add link to the upgrade and migration wiki page
2016-05-20 22:08:06 +02:00
VirtualTam
c7227c5dca README: add link to the upgrade and migration wiki page
Relates to #575

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-05-20 22:02:50 +02:00
VirtualTam
521f0e65cf Merge pull request #574 from shaarli/urlparams-phpsessid
Url.php: remove unwanted ?PHPSESSID= URL parameters
2016-05-20 13:06:45 +02:00
nodiscc
725ca094f8 Url.php: remove unwanted ?PHPSESSID= URL parameters,
update test case
2016-05-20 12:23:03 +02:00
Arthur
d92169c863 Merge pull request #568 from ArthurHoaro/master
PHP endtag in shaarli_version.php
2016-05-14 12:27:18 +02:00
ArthurHoaro
6d03a9b2b3 PHP endtag in shaarli_version.php 2016-05-14 12:25:31 +02:00
Arthur
ebd67c6e1b Merge pull request #567 from ArthurHoaro/v0.7.0
V0.7.0
2016-05-14 12:11:57 +02:00
ArthurHoaro
08dcd8ea58 Doc update
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-05-14 11:37:28 +02:00
ArthurHoaro
c01bd08eaf Version bump: v0.7.0
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-05-14 11:36:47 +02:00
Arthur
3fdcc7bd47 Merge pull request #560 from ArthurHoaro/nb-private-shaare
Private links counter in the header
2016-05-14 11:11:11 +02:00
Arthur
52ccf0d7ee Merge pull request #556 from ArthurHoaro/login-refill
Prefill the login field when the authentication has failed
2016-05-14 11:09:39 +02:00
Arthur
765391cb37 Merge pull request #559 from ArthurHoaro/startsEndWithCase
Fix startsWith and endsWith case
2016-05-14 11:09:03 +02:00
Arthur
19f53aa18c Merge pull request #566 from ArthurHoaro/md-inline-code
Markdown: inline code background color
2016-05-13 20:00:52 +02:00
ArthurHoaro
e8b65d5f35 Markdown: inline code background color 2016-05-13 19:57:01 +02:00
ArthurHoaro
141a86c503 Add private link counter 2016-05-13 08:48:23 +02:00
ArthurHoaro
03eb19ac60 Extract PageBuilder class from index.php 2016-05-13 08:48:18 +02:00
Arthur
6d449c8c81 Merge pull request #562 from ArthurHoaro/hotfix/561
Don't redirect to ?post if ?addlink is reached while logged out
2016-05-13 08:38:30 +02:00
ArthurHoaro
465266243f Don't redirect to ?post if ?addlink is reached while logged out 2016-05-11 22:10:31 +02:00
ArthurHoaro
5046bcb6ab Fix startsWith and endsWith case 2016-05-10 23:31:41 +02:00
Arthur
d95533778d Merge pull request #557 from ArthurHoaro/remove-delicious
Remove delicious from Shaarli description
2016-05-10 20:11:41 +02:00
ArthurHoaro
70860f30d5 Remove delicious from Shaarli description 2016-05-08 18:58:59 +02:00
VirtualTam
00be05aaf5 Merge pull request #554 from virtualtam/fix/bookmark-export
Export: allow prepending notes with the Shaarli instance's URL
2016-05-06 21:50:55 +02:00
ArthurHoaro
85c4bdc235 Prefill the login field when the authentication has failed 2016-05-06 20:03:10 +02:00
ArthurHoaro
dbcd06e988 Reindent the login template 2016-05-06 19:58:19 +02:00
VirtualTam
bb4a23aa86 Export: allow prepending notes with the Shaarli instance's URL
Relates to #102

Additions:
- application:
  - export: allow prepending note permalinks with the instance's URL
  - test coverage

Modifications:
- export template: switch to an HTML form
  - link selection (all/private/public)
  - prepend note permalinks with the instance's URL

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-05-06 16:12:46 +02:00
Arthur
6275a65969 Merge pull request #552 from shaarli/readme-doc-plugins
add link to plugins doc
2016-05-05 14:41:20 +02:00
nodiscc
d8bf246357 add link to plugins doc 2016-05-05 14:37:19 +02:00