Commit graph

538 commits

Author SHA1 Message Date
VirtualTam b2764886c7 Merge pull request #521 from ArthurHoaro/hotfix/404login
Use generateLocation to set the redirection in login (and don't escape the url)
2016-03-24 00:27:15 +01:00
ArthurHoaro e15f08d72a Use generateLocation to set the redirection in login (and don't escape the url) 2016-03-21 19:06:46 +01:00
VirtualTam 5816801b15 Merge pull request #513 from ArthurHoaro/hotfix/retrieve-title-issue
Fixes #512: retrieving title didn't match the first closing tag
2016-03-14 21:29:19 +01:00
ArthurHoaro 68ea1d2b30 Fixes #512: retrieving title didn't match the first closing tag 2016-03-08 10:00:53 +01:00
Arthur 890afc32f7 Merge pull request #509 from ArthurHoaro/v0.6.5
Bump version to v0.6.5
2016-03-02 20:06:33 +01:00
ArthurHoaro 797a6f308f Bump version to v0.6.5
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-03-02 19:59:58 +01:00
Arthur 9f277ad878 Merge pull request #504 from ArthurHoaro/hotfix/http_language
Fixes #503: check that HTTP_ACCEPT_LANGUAGE is set before calling autolocale
2016-03-01 12:15:41 +01:00
Arthur 40b25bef6a Merge pull request #506 from kalvn/master
Avoids populating a markdown empty container if there's no description.
2016-03-01 12:15:22 +01:00
Arthur 6e7a3210c3 Merge pull request #505 from ArthurHoaro/hotfix/multi-reverse-proxy
Fixes #477: support multi reverse proxy with comma syntax
2016-03-01 12:15:10 +01:00
kalvn 841df2dd55 Avoids populating a markdown empty container if there's no description. 2016-02-28 18:24:30 +01:00
ArthurHoaro 85244fa0d0 Fixes #477: support multi reverse proxy with comma syntax
Going through multiple reverse proxy will store multiple scheme and port in HTTP header separated by a comma. Shaarli will use the first one to generate server_url.
2016-02-28 16:24:18 +01:00
ArthurHoaro 408def1a07 Fixes #503: check that HTTP_ACCEPT_LANGUAGE is set before calling autoLocale() 2016-02-28 15:53:28 +01:00
Arthur 8710d4da8e Merge pull request #501 from ArthurHoaro/v0.6.4
Bump version to v0.6.4
2016-02-28 14:34:33 +01:00
ArthurHoaro 09674d9359 Bump version to v0.6.4
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
2016-02-28 14:33:05 +01:00
Arthur b0faecb959 Merge pull request #500 from ArthurHoaro/plugin-icon-style
Fixes #411: remove hardcoded plugin icon size
2016-02-28 14:28:43 +01:00
Arthur c6744a9e89 Merge pull request #496 from ArthurHoaro/cross-search
Allow crossed search between terms and tags
2016-02-28 14:26:46 +01:00
ArthurHoaro 1b0e3c7fdf Fixes #411: remove hardcoded plugin icon size 2016-02-28 14:25:10 +01:00
ArthurHoaro c51fae92dc Allow crossed search between terms and tags
* Partial fix of #449
  * Current use case: search term + click on tag.
  * LinkFilter now returns all links if no filter is given.
  * Unit tests.
2016-02-28 14:17:40 +01:00
Arthur 10269bc8c9 Merge pull request #491 from ArthurHoaro/markdown-escape2
Markdown: don't escape content + sanitize sensible tags
2016-02-25 08:52:42 +01:00
Arthur cee0d9609f Merge pull request #495 from nicolasdanelon/patch-3
Fixes #494: inputs & labels with plugin name
2016-02-24 19:34:29 +01:00
Arthur fa40b43f60 Merge pull request #492 from ArthurHoaro/locale-sort-fix
Fixes #481: tag cloud fatal error
2016-02-24 19:26:57 +01:00
Nicolas Danelon 81dea5910e Update shaarli.css 2016-02-23 10:51:18 -03:00
Nicolas Danelon dc71701cb4 Fixes #494: inputs & labels with plugin name 2016-02-23 10:48:35 -03:00
ArthurHoaro 7eb0a83201 Fixes #481: tag cloud fatal error
Only send LC_COLLATE to Collator and check that no error occured.
2016-02-19 20:20:33 +01:00
ArthurHoaro 7b63e4ca09 Apply the locale to all categories and move autolocale to Utils.php 2016-02-19 20:14:06 +01:00
Arthur 6c3d6a31f4 Merge pull request #490 from nicolasdanelon/patch-2
adding styles for code & pre tags
2016-02-19 19:46:44 +01:00
ArthurHoaro 2925687e1e Markdown: don't escape content + sanitize sensible tags
Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
2016-02-19 19:37:13 +01:00
Nicolas Danelon 01abde4f14 adding styles for code & pre tags 2016-02-19 09:58:01 -03:00
Arthur 64282b1499 Merge pull request #486 from virtualtam/refactor/datetime
cleanup: use DateTime to format dates
2016-02-18 19:53:39 +01:00
Arthur 185447fbc6 Merge pull request #470 from ArthurHoaro/description-trim
Fixes #468: don't trim description
2016-02-18 19:40:19 +01:00
ArthurHoaro ed853da7fd Fixes #468: don't trim description
Spaces at the start of shaares can be intended. Eg: markdown plugin.

#468
2016-02-18 19:34:33 +01:00
VirtualTam 205a42778d cleanup: use DateTime to format dates
Closes #270

Modifications:
- replace custom date parsing by DateTime calls
- use proper date formatting for RSS feeds

Deletions:
- linkdate2timestamp()
- linkdate2rfc822
- linkdate2iso8601

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-02-17 22:46:50 +01:00
Arthur bfec695df1 Merge pull request #455 from ArthurHoaro/improved-search-454
Improved search: combine AND, exact terms and exclude search.
2016-02-15 21:43:07 +01:00
ArthurHoaro 522b278b03 Support text search across link fields. 2016-02-15 21:38:45 +01:00
ArthurHoaro bedd176a54 Improved search: combine AND, exact terms and exclude search. 2016-02-15 21:38:40 +01:00
Arthur 07c2f73543 Merge pull request #461 from ArthurHoaro/tagcloud-sort
Fixes #456: Tag cloud does not sort tags (fully) alphabetically
2016-02-15 21:26:33 +01:00
Arthur 3a38c95d42 Merge pull request #447 from ArthurHoaro/hidden-tags
Private/Hidden tags
2016-02-15 21:22:35 +01:00
ArthurHoaro 195acf9f09 Private/Hidden tags
Tags starting with a dot '.' are now private.
They can only be seen and searched when logged in.

Fixes #315
2016-02-15 21:18:43 +01:00
Arthur 1e7331126d Merge pull request #446 from ArthurHoaro/search-tag-exclude
Add exclusion in tag search
2016-02-15 21:12:39 +01:00
ArthurHoaro ce354bf1a6 Remove first '-' char when saving tags 2016-02-15 21:06:17 +01:00
ArthurHoaro 21979ff11c Add exclusion in tag search
* Searching '-mytag' will now exlude all shaares with 'mytag' tag.
  * All tags starting with a '-' are renamed without it (through the Updater).
  * Unit tests.

Minor code changes:

 * LinkDB->filter() can now take no parameters (get all link depending on logged status).
 * tagsStrToArray() is now static and filters blank tags.
2016-02-15 20:40:39 +01:00
Arthur 6e607ca613 Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url
Fixes typo in plugin admin redirection URL
2016-02-15 20:38:31 +01:00
Arthur 6cbff7e80f Merge pull request #460 from ArthurHoaro/440-editlink-404
Fixes #440 - 404 error after editing a link
2016-02-15 20:38:10 +01:00
Arthur 854ea37255 Merge pull request #442 from ArthurHoaro/updater
Introduce the Updater class which
2016-02-15 20:36:42 +01:00
ArthurHoaro 59edea42bb Fixes typo in plugin admin redirection URL 2016-02-15 20:34:44 +01:00
ArthurHoaro 510377d2cb Introduce the Updater class which
* contains methods designed to be run once.
  * is able to upgrade the datastore or the configuration.
  * is based on methods names, stored in a text file with ';' separator (updates.txt).
  * begins with existing function 'mergeDeprecatedConfigFile()' (options.php).
2016-02-15 20:30:24 +01:00
Arthur 2865118ca4 Merge pull request #473 from ArthurHoaro/commonhook-order
Common hooks: process includes before header/footer
2016-02-11 20:07:16 +01:00
ArthurHoaro fea5db7ab1 Common hooks: process includes before header/footer 2016-02-10 15:40:11 +01:00
Arthur 250f132879 Merge pull request #472 from ArthurHoaro/wallabag-version-parameter
Wallabag plugin: add version parameter in the meta file
2016-02-10 13:09:05 +01:00
ArthurHoaro 9f57d1916c Wallabag plugin: add version parameter in the meta file 2016-02-10 13:08:19 +01:00