From 485b168a9677d160b0c0426e4f282b9bd0c632c1 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 26 Jan 2020 11:15:15 +0100 Subject: Process picwall rendering through Slim controller + UT --- doc/md/RSS-feeds.md | 4 ++-- doc/md/Translations.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/md/RSS-feeds.md b/doc/md/RSS-feeds.md index d943218e..71f4d7ee 100644 --- a/doc/md/RSS-feeds.md +++ b/doc/md/RSS-feeds.md @@ -21,8 +21,8 @@ For example, if you want to subscribe only to links tagged `photography`: - Click on the `RSS Feed` button. - You are presented with an RSS feed showing only these links. Subscribe to it to receive only updates with this tag. - The same method **also works for a full-text search** (_Search_ box) **and for the Picture Wall** (want to only see pictures about `nature`?) -- You can also build the URLs manually: +- You can also build the URLs manually: - `https://my.shaarli.domain/?do=rss&searchtags=nature` - - `https://my.shaarli.domain/links/?do=picwall&searchterm=poney` + - `https://my.shaarli.domain/links/picture-wall?searchterm=poney` ![](images/rss-filter-1.png) ![](images/rss-filter-2.png) diff --git a/doc/md/Translations.md b/doc/md/Translations.md index 58b92da3..dfdd021e 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -42,7 +42,7 @@ http:///?post http:///?do=export http:///?do=import http:///login -http:///?do=picwall +http:///picture-wall http:///?do=pluginadmin http:///?do=tagcloud http:///?do=taglist -- cgit v1.2.3 From c266a89d0fbb0d60d2d7df0ec171b7cb022224f6 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 26 Jan 2020 14:35:25 +0100 Subject: Process tag cloud page through Slim controller --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index dfdd021e..b8b7053f 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -44,7 +44,7 @@ http:///?do=import http:///login http:///picture-wall http:///?do=pluginadmin -http:///?do=tagcloud +http:///tag-cloud http:///?do=taglist ``` -- cgit v1.2.3 From 60ae241251b753fc052e50ebd95277dfcb074cb0 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 16 May 2020 14:56:22 +0200 Subject: Process tag list page through Slim controller --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index b8b7053f..c1a2885d 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -45,7 +45,7 @@ http:///login http:///picture-wall http:///?do=pluginadmin http:///tag-cloud -http:///?do=taglist +http:///tag-list ``` #### Improve existing translation -- cgit v1.2.3 From 7b2ba6ef820335df682fbe3dcfaceef3a62cf4a5 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 18 May 2020 17:17:36 +0200 Subject: RSS/ATOM feeds: process through Slim controller --- doc/md/RSS-feeds.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/md/RSS-feeds.md b/doc/md/RSS-feeds.md index 71f4d7ee..cdfb8c78 100644 --- a/doc/md/RSS-feeds.md +++ b/doc/md/RSS-feeds.md @@ -1,14 +1,14 @@ ### Feeds options -Feeds are available in ATOM with `?do=atom` and RSS with `do=RSS`. +Feeds are available in ATOM with `/feed-atom` and RSS with `/feed-rss`. Options: - You can use `permalinks` in the feed URL to get permalink to Shaares instead of direct link to shaared URL. - - E.G. `https://my.shaarli.domain/?do=atom&permalinks`. + - E.G. `https://my.shaarli.domain/feed-atom?permalinks`. - You can use `nb` parameter in the feed URL to specify the number of Shaares you want in a feed (default if not specified: `50`). The keyword `all` is available if you want everything. - - `https://my.shaarli.domain/?do=atom&permalinks&nb=42` - - `https://my.shaarli.domain/?do=atom&permalinks&nb=all` + - `https://my.shaarli.domain/feed-atom?permalinks&nb=42` + - `https://my.shaarli.domain/feed-atom?permalinks&nb=all` ### RSS Feeds or Picture Wall for a specific search/tag -- cgit v1.2.3 From 2899ebb5b5e82890c877151f5c02045266ac9973 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 22 May 2020 13:20:31 +0200 Subject: Initialize admin Slim controllers - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index c1a2885d..e0e411bb 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -37,7 +37,7 @@ http:///?do=changepasswd http:///?do=changetag http:///?do=configure http:///?do=tools -http:///?do=daily +http:///daily http:///?post http:///?do=export http:///?do=import -- cgit v1.2.3 From ba43064ddb7771fc97df135a32f9b0d5e373dd36 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 22 May 2020 13:47:02 +0200 Subject: Process tools page through Slim controller --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index e0e411bb..38878940 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -36,7 +36,7 @@ http:///?do=addlink http:///?do=changepasswd http:///?do=changetag http:///?do=configure -http:///?do=tools +http:///tools http:///daily http:///?post http:///?do=export -- cgit v1.2.3 From 66063ed1a18d739b1a60bfb163d8656417a4c529 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 30 May 2020 14:00:06 +0200 Subject: Process configure page through Slim controller --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index 38878940..9a16075a 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -35,7 +35,7 @@ http:///?nonope http:///?do=addlink http:///?do=changepasswd http:///?do=changetag -http:///?do=configure +http:///configure http:///tools http:///daily http:///?post -- cgit v1.2.3 From c22fa57a5505fe95fd01860e3d3dfbb089f869cd Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 6 Jun 2020 14:01:03 +0200 Subject: Handle shaare creation/edition/deletion through Slim controllers --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index 9a16075a..5c775d30 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -32,7 +32,7 @@ Here is a list : ``` http:/// http:///?nonope -http:///?do=addlink +http:///add-shaare http:///?do=changepasswd http:///?do=changetag http:///configure -- cgit v1.2.3 From 9c75f877935fa6adec951a4d8d32b328aaab314f Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 13 Jun 2020 13:08:01 +0200 Subject: Use multi-level routes for existing controllers instead of 1 level everywhere Also prefix most admin routes with /admin/ --- doc/md/RSS-feeds.md | 8 ++++---- doc/md/Translations.md | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/md/RSS-feeds.md b/doc/md/RSS-feeds.md index cdfb8c78..ecbff09a 100644 --- a/doc/md/RSS-feeds.md +++ b/doc/md/RSS-feeds.md @@ -1,14 +1,14 @@ ### Feeds options -Feeds are available in ATOM with `/feed-atom` and RSS with `/feed-rss`. +Feeds are available in ATOM with `/feed/atom` and RSS with `/feed/rss`. Options: - You can use `permalinks` in the feed URL to get permalink to Shaares instead of direct link to shaared URL. - - E.G. `https://my.shaarli.domain/feed-atom?permalinks`. + - E.G. `https://my.shaarli.domain/feed/atom?permalinks`. - You can use `nb` parameter in the feed URL to specify the number of Shaares you want in a feed (default if not specified: `50`). The keyword `all` is available if you want everything. - - `https://my.shaarli.domain/feed-atom?permalinks&nb=42` - - `https://my.shaarli.domain/feed-atom?permalinks&nb=all` + - `https://my.shaarli.domain/feed/atom?permalinks&nb=42` + - `https://my.shaarli.domain/feed/atom?permalinks&nb=all` ### RSS Feeds or Picture Wall for a specific search/tag diff --git a/doc/md/Translations.md b/doc/md/Translations.md index 5c775d30..75eeed7d 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -32,11 +32,11 @@ Here is a list : ``` http:/// http:///?nonope -http:///add-shaare -http:///?do=changepasswd +http:///admin/add-shaare +http:///admin/password http:///?do=changetag -http:///configure -http:///tools +http:///admin/configure +http:///admin/tools http:///daily http:///?post http:///?do=export @@ -44,8 +44,8 @@ http:///?do=import http:///login http:///picture-wall http:///?do=pluginadmin -http:///tag-cloud -http:///tag-list +http:///tags/cloud +http:///tags/list ``` #### Improve existing translation -- cgit v1.2.3 From c70ff64a61d62cc8d35a62f30596ecc2a3c578a3 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 17 Jun 2020 16:04:18 +0200 Subject: Process bookmark exports through Slim controllers --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index 75eeed7d..af2c3daa 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -39,7 +39,7 @@ http:///admin/configure http:///admin/tools http:///daily http:///?post -http:///?do=export +http:///admin/export http:///?do=import http:///login http:///picture-wall -- cgit v1.2.3 From 78657347c5b463d7c22bfc8c87b7db39fe058833 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 17 Jun 2020 19:08:02 +0200 Subject: Process bookmarks import through Slim controller --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index af2c3daa..df86f4d4 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -40,7 +40,7 @@ http:///admin/tools http:///daily http:///?post http:///admin/export -http:///?do=import +http:///admin/import http:///login http:///picture-wall http:///?do=pluginadmin -- cgit v1.2.3 From 1b8620b1ad4e2c647ff2d032c8e7c6687b6647a1 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 20 Jun 2020 15:14:24 +0200 Subject: Process plugins administration page through Slim controllers --- doc/md/Translations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index df86f4d4..dd42bf30 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -43,7 +43,7 @@ http:///admin/export http:///admin/import http:///login http:///picture-wall -http:///?do=pluginadmin +http:///admin/plugins http:///tags/cloud http:///tags/list ``` -- cgit v1.2.3 From 1a8ac737e52cb25a5c346232ee398f5908cee7d7 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 6 Jul 2020 08:04:35 +0200 Subject: Process main page (linklist) through Slim controller Including a bunch of improvements on the container, and helper used across new controllers. --- doc/md/Plugin-System.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/md/Plugin-System.md b/doc/md/Plugin-System.md index d5b16e2d..f264e873 100644 --- a/doc/md/Plugin-System.md +++ b/doc/md/Plugin-System.md @@ -131,7 +131,7 @@ If it's still not working, please [open an issue](https://github.com/shaarli/Sha | ------------- |:-------------:| | [render_header](#render_header) | Allow plugin to add content in page headers. | | [render_includes](#render_includes) | Allow plugin to include their own CSS files. | -| [render_footer](#render_footer) | Allow plugin to add content in page footer and include their own JS files. | +| [render_footer](#render_footer) | Allow plugin to add content in page footer and include their own JS files. | | [render_linklist](#render_linklist) | It allows to add content at the begining and end of the page, after every link displayed and to alter link data. | | [render_editlink](#render_editlink) | Allow to add fields in the form, or display elements. | | [render_tools](#render_tools) | Allow to add content at the end of the page. | @@ -515,7 +515,7 @@ Otherwise, you can use your own JS as long as this field is send by the form: ### Placeholder system -In order to make plugins work with every custom themes, you need to add variable placeholder in your templates. +In order to make plugins work with every custom themes, you need to add variable placeholder in your templates. It's a RainTPL loop like this: @@ -537,7 +537,7 @@ At the end of the menu: At the end of file, before clearing floating blocks: - {if="!empty($plugin_errors) && isLoggedIn()"} + {if="!empty($plugin_errors) && $is_logged_in"}
    {loop="plugin_errors"}
  • {$value}
  • -- cgit v1.2.3 From 8e9169cebaf5697344cb373d69fe429e8e0efd5d Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 23 Jul 2020 17:13:22 +0200 Subject: Update French translation --- doc/md/Translations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/md/Translations.md b/doc/md/Translations.md index dd42bf30..c23ec962 100644 --- a/doc/md/Translations.md +++ b/doc/md/Translations.md @@ -34,11 +34,11 @@ http:/// http:///?nonope http:///admin/add-shaare http:///admin/password -http:///?do=changetag +http:///admin/tags http:///admin/configure http:///admin/tools http:///daily -http:///?post +http:///admin/shaare http:///admin/export http:///admin/import http:///login -- cgit v1.2.3