Commit graph

1721 commits

Author SHA1 Message Date
aguy
424530d9af
Add an exception to method 'whitelist_protocols' for url which started with '#'
This is to allow local link for markdown, actually a local link write with this syntax : '[anchor](#local_link)' produce this html code: http://#local_link
2020-02-28 15:14:22 +00:00
ArthurHoaro
810f0f6c96
Merge pull request #1421 from yudete/master
Add Japanese translation
2020-02-17 22:10:57 +01:00
ArthurHoaro
df7c286d91
Merge pull request #1417 from bmsleight/master
Update Makefile
2020-02-17 18:14:47 +01:00
yude
db206aaaca
Update Japanese translations 2020-02-11 10:55:10 +09:00
yude
1f02ae8076
Japanese translation 2020-02-11 09:33:38 +09:00
ArthurHoaro
922341aaa7
Merge pull request #1420 from oktomus/master
Add autofocus on tag cloud filter input
2020-02-10 21:04:42 +01:00
Kevin Masson
82e7b56f29 Add autofocus on tag cloud filter input
Fix #1413
2020-02-10 13:53:44 +01:00
Brendan M. Sleight
52964ec873
Update Makefile
Solve make htmldoc error on python3 ubuntu
2020-02-05 20:07:47 +00:00
ArthurHoaro
f6637392a9
Fix division by zero in tagcloud (#1411)
Fix division by zero in tagcloud
2020-01-26 14:55:07 +01:00
ArthurHoaro
b495d5c92a Fix division by zero in tagcloud
It happens if we have a maximum of 1 occurrence in tags (log(1) = 0)
2020-01-26 14:52:10 +01:00
ArthurHoaro
c653ae3bfb
Render login page through Slim controller (#1401)
Render login page through Slim controller
2020-01-26 11:41:10 +01:00
ArthurHoaro
27ceea2aee Rename ci attribute to container 2020-01-26 11:34:29 +01:00
ArthurHoaro
0498b209b5 Execute common plugin hooks before rendering login page 2020-01-26 11:34:14 +01:00
ArthurHoaro
9e4cc28e29 Fix all existing links and redirection to ?do=login 2020-01-26 11:34:14 +01:00
ArthurHoaro
dd51f653d0 Fix SASS Lint 2020-01-26 11:34:14 +01:00
ArthurHoaro
6c50a6ccce Render login page through Slim controller 2020-01-26 11:34:14 +01:00
ArthurHoaro
1410dce2db
Rollback breaking change in REST API routes (#1410)
Rollback breaking change in REST API routes
2020-01-26 11:33:22 +01:00
ArthurHoaro
20433ea72b Rollback breaking change in REST API routes 2020-01-26 11:30:25 +01:00
ArthurHoaro
529fc750b3
Session cookie setting being set while session is active (#1406)
Session cookie setting being set while session is active
2020-01-26 09:12:44 +01:00
ArthurHoaro
0d42b21200
Fix deprecated use of implode (#1408)
Fix deprecated use of implode
2020-01-23 22:36:00 +01:00
ArthurHoaro
fc6c701774 Fix deprecated use of implode 2020-01-23 22:31:51 +01:00
ArthurHoaro
09390a50cd Session cookie setting being set while session is active
Trying to do will raise a warning since PHP 7.2, and it never worked as intented.
See: https://bugs.php.net/bug.php\?id\=75650
2020-01-23 19:51:14 +01:00
nodiscc
57bd9780c8
Merge pull request #1402 from shaarli/fix-makefile
fix directory creation in makefile
2020-01-19 12:03:24 +00:00
nodiscc
dd452c5691 fix directory creation in makefile
the syntax {doc,venor} is only supported in bash and make uses /bin/sh as default shell
2020-01-19 12:35:19 +01:00
ArthurHoaro
1001cc108f
Fix an issue with private tags and fix nomarkdown tag (#1399)
Fix an issue with private tags and fix nomarkdown tag
2020-01-18 17:59:37 +01:00
ArthurHoaro
12523aea34
Ulauncher Extension (#1400)
Ulauncher Extension
2020-01-18 15:27:37 +01:00
Sebastien Wains
fecfc73b3f
Ulauncher Extension 2020-01-18 15:22:49 +01:00
ArthurHoaro
a39acb2518 Fix an issue with private tags and fix nomarkdown tag
The new bookmark service wasn't handling private tags properly.

nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists.

Fixes #726
2020-01-18 11:39:26 +01:00
ArthurHoaro
7e3648ad87
Fix an issue with bookmark visibility filter (#1398)
Fix an issue with bookmark visibility filter
2020-01-18 10:52:08 +01:00
ArthurHoaro
4869d535b5 Fix an issue with bookmark visibility filter 2020-01-18 10:49:30 +01:00
ArthurHoaro
3fb29fdda0
Store bookmarks as PHP objects and add a service layer to retri… (#1307)
Store bookmarks as PHP objects and add a service layer to retrieve them
2020-01-18 10:01:06 +01:00
ArthurHoaro
e26e2060f5 Add and update unit test for the new system (Bookmark + Service)
See #1307
2020-01-18 09:56:32 +01:00
ArthurHoaro
cf92b4dd15 Apply the new system (Bookmark + Service) to the whole code base
See https://github.com/shaarli/Shaarli/issues/1307
2020-01-18 09:55:59 +01:00
ArthurHoaro
336a28fa4a Introduce Bookmark object and Service layer to retrieve them
See https://github.com/shaarli/Shaarli/issues/1307 for details
2020-01-17 18:42:11 +01:00
ArthurHoaro
796c4c57d0
Run Unit Tests against PHP 7.4 (#1353)
Run Unit Tests against PHP 7.4
2020-01-17 18:39:56 +01:00
ArthurHoaro
def39d0dd7 Run Unit Tests against PHP 7.4
Bump PHPUnit version and fix unit test

  - Globals are handled differently and are persistent through tests
  - Tests without assertions are marked as risky: some of them are just
meant to check that no error is raised.
2020-01-17 18:34:37 +01:00
ArthurHoaro
ef02885753
Merge pull request #1358 from shaarli/doc-add-screenshots
Doc: add screenshots of all pages
2020-01-17 18:27:42 +01:00
ArthurHoaro
7d0db8b567
Avoiding warning 'PHP Notice: Undefined index: updated' (#1392)
Avoiding warning 'PHP Notice: Undefined index: updated'
2020-01-12 15:22:02 +01:00
Lucas Cimon
d9bfceaddf Avoiding warning 'PHP Notice: Undefined index: updated' 2020-01-12 14:55:37 +01:00
nodiscc
74c1d02079 doc: siplify troubleshooting, link to reference docs, reorder 2020-01-04 00:28:04 +01:00
nodiscc
5256f83d02 doc: troubleshooting: add note about error 500/internal server error caused by apache 2.2 and no mod_version 2020-01-04 00:19:25 +01:00
nodiscc
eb0a0f77cc
doc: remove obsolete link 2019-11-27 19:28:26 +00:00
nodiscc
af8a03d1ab
doc: remove obsolete link 2019-11-27 19:28:06 +00:00
Aurélien Tamisier
ac2214bdb5
Merge pull request #1383 from doc75/doc_docker
Fix #1382 - update documentation related to docker images
2019-11-26 23:46:39 +01:00
Guillaume Virlet
72539044fb Fix #1382 - update documentation related to docker images base image and PHP version used 2019-11-26 22:12:34 +01:00
nodiscc
99c7d66384
Merge pull request #1379 from rfolo9li/patch-1
Add php-json as required PHP module
2019-11-09 15:45:09 +00:00
nodiscc
3575fe5bcf
doc: add explanation of php-json requirement 2019-11-09 15:40:53 +00:00
rfolo9li
54b065c253
Added php-json as required PHP module
Without php-json the installation stops with a white screen and the following error:
> 09-Nov-2019 14:05:46 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Shaarli\Config\json_encode() in /var/www/html/shaarli/application/config/ConfigJson.php:48
> Stack trace:
> #0 /var/www/html/shaarli/application/config/ConfigManager.php(239): Shaarli\Config\ConfigJson->write('data/config.jso...', Array)
> #1 /var/www/html/shaarli/index.php(1835): Shaarli\Config\ConfigManager->write(false)
> #2 /var/www/html/shaarli/index.php(178): install(Object(Shaarli\Config\ConfigManager), Object(Shaarli\Security\SessionManager), Object(Shaarli\Security\LoginManager))
> #3 {main}
>   thrown in /var/www/html/shaarli/application/config/ConfigJson.php on line 48

Tested with Shaarli 0.10.4 on CentOS 8 with Httpd 2.4.37 and PHP 7.2.11.
2019-11-09 15:24:10 +01:00
nodiscc
4b15c49198
Merge pull request #1374 from paulvandenburg/demo-plugin-typos
Fix some typos and remove a few unnecessary comments in demo plugin
2019-10-27 09:55:57 +00:00
Paul van den Burg
83ef0ff176 Fix some typos and remove a few unnecessary comments in demo plugin 2019-10-26 21:35:05 +02:00