ArthurHoaro
78657347c5
Process bookmarks import through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
c70ff64a61
Process bookmark exports through Slim controllers
2020-07-23 21:19:21 +02:00
ArthurHoaro
1ab675445e
Fix bookmarklet with new routes
...
* Use the new shaare route
* Add source hidden input in editlink template to close the popup after saving
2020-07-23 21:19:21 +02:00
ArthurHoaro
9c75f87793
Use multi-level routes for existing controllers instead of 1 level everywhere
...
Also prefix most admin routes with /admin/
2020-07-23 21:19:21 +02:00
ArthurHoaro
818b3193ff
Explicitly define base and asset path in templates
...
With the new routes, all pages are not all at the same folder level anymore
(e.g. /shaare and /shaare/123), so we can't just use './' everywhere.
The most consistent way to handle this is to prefix all path with the proper variable,
and handle the actual path in controllers.
2020-07-23 21:19:21 +02:00
ArthurHoaro
c22fa57a55
Handle shaare creation/edition/deletion through Slim controllers
2020-07-23 21:19:21 +02:00
ArthurHoaro
8eac2e5488
Process manage tags page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
66063ed1a1
Process configure page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
ba43064ddb
Process tools page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
2899ebb5b5
Initialize admin Slim controllers
...
- Reorganize visitor controllers
- Fix redirection with Slim's requests base path
- Fix daily links
2020-07-23 21:19:21 +02:00
ArthurHoaro
af290059d1
Process session filters through Slim controllers
...
Including:
- visibility
- links per page
- untagged only
2020-07-23 21:19:21 +02:00
ArthurHoaro
893f5159c6
Process remove tag endpoint through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
5ec4708ced
Process OpenSearch controller through Slim
...
Also it was missing on the default template feeds
2020-07-23 21:19:21 +02:00
ArthurHoaro
7b2ba6ef82
RSS/ATOM feeds: process through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
c4d5be53c2
Process Daily RSS feed through Slim controller
...
The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
2020-07-23 21:19:21 +02:00
ArthurHoaro
3772298ee7
Few optimizations and code readability for tag cloud controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
72caf4e84c
Working version before optimization
2020-07-23 21:19:21 +02:00
ArthurHoaro
c266a89d0f
Process tag cloud page through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
03340c18ea
Slim router: handle add tag route
2020-07-23 21:19:21 +02:00
ArthurHoaro
8e47af2b36
Process logout through Slim controller
2020-07-23 21:19:21 +02:00
ArthurHoaro
485b168a96
Process picwall rendering through Slim controller + UT
2020-07-23 21:19:21 +02:00
ArthurHoaro
bee33239ed
Fix all relative link to work with new URL
2020-07-23 21:19:21 +02:00
ArthurHoaro
9e4cc28e29
Fix all existing links and redirection to ?do=login
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
fc6c701774
Fix deprecated use of implode
2020-01-23 22:31:51 +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
Lucas Cimon
d9bfceaddf
Avoiding warning 'PHP Notice: Undefined index: updated'
2020-01-12 14:55:37 +01:00
ArthurHoaro
e0e24335f7
Fix undefined thumbnail on OpenGraph headers
...
Fixes #1362
2019-09-10 18:40:07 +02:00
ArthurHoaro
f9b99c7217
ATOM Feed: use instance name as author name instead of URL
...
Related FreshRSS/FreshRSS#2466
2019-07-29 19:37:51 +02:00
ArthurHoaro
6a4872520c
Automatically retrieve description for new bookmarks
...
If the option is enabled, it will try to find a meta tag containing
the page description and keywords, just like we do for the page title.
It will either look for regular meta tag or OpenGraph ones.
The option is disabled by default.
Note that keywords meta tags is mostly not used.
In `configure` template, the variable associated with this setting
is `$retrieve_description`.
Fixes #1302
2019-07-06 12:21:52 +02:00
ArthurHoaro
5321f704b5
Daily - display the current day instead of the previous one
...
Also mention if it's today or yesterday for clarity using `dayDesc`
variable
Fixes #1299
2019-05-25 16:40:45 +02:00
VirtualTam
49106a5d8c
fix: ensure HTML tags are stripped from OpenGraph description
...
Fixes https://github.com/shaarli/Shaarli/issues/1250
Relates to https://github.com/shaarli/Shaarli/issues/1242
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2019-01-18 22:58:09 +01:00
ArthurHoaro
e95247d41d
Merge pull request #1205 from ArthurHoaro/feature/opengraph
...
Add OpenGraph meta tags on permalink page
2018-10-06 13:31:07 +02:00
ArthurHoaro
8c75c43e7e
Fix a bug making thumbnail to request the current page
2018-08-14 11:43:54 +02:00
ArthurHoaro
a120fb2977
Add OpenGraph meta tags on permalink page
...
Includes:
- og:title
- og:type -> article
- og:image -> if there is a thumbnail
- og:url -> permalink
- og:description -> first 300 chars of raw description
- article:published_time
- article:modified_time
- article:tag -> one OG meta tag for each shaare tag
Fixes #258
2018-08-13 10:55:48 +02:00
ArthurHoaro
bf3c9934d2
Fix fatal error on daily page: use new thumbnail system
...
Also fix:
* include the login manager in the daily RSS feed function
* remove redirector setting in the vintage theme
Fixes #1190
2018-07-29 17:49:53 +02:00
ArthurHoaro
e87f57c758
Remove Firefox Social API shaare
...
Firefox Social support has been dropped in Firefox 57.
Related to #1023
2018-07-28 11:26:12 +02:00
ArthurHoaro
ad5f47adba
Merge pull request #687 from ArthurHoaro/web-thumb
...
Use web-thumbnailer to retrieve thumbnails
2018-07-28 09:41:29 +02:00
nodiscc
738b1873c3
tpl: default/vintage: pluginsadmin: fix link to documentation
...
Ref #930
2018-07-12 22:12:55 +02:00
ArthurHoaro
b302b3c584
Thumbnails: add a common mode to only retrieve thumbs from popular media websites
2018-07-05 20:34:22 +02:00
ArthurHoaro
28f2652460
Add a page to update all thumbnails through AJAX requests in both templates
2018-07-05 20:34:22 +02:00
ArthurHoaro
e85b7a05a1
Update thumbnail integration after rebasing the branch
2018-07-05 20:31:35 +02:00
ArthurHoaro
1b93137e16
Use web-thumbnailer to retrieve thumbnails
...
* requires PHP 5.6
* use blazy on linklist since a lot more thumbs are retrieved
* thumbnails can be disabled
* thumbs size is now 120x120
* thumbs are now cropped to fit the expected size
Fixes #345 #425 #487 #543 #588 #590
2018-07-05 20:31:35 +02:00
VirtualTam
89ccc83ba4
Login: update PageBuilder and default/vintage templates
...
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-06-02 16:46:06 +02:00
Mark Schmitz
66d37a4fb4
add loading user css at last to vintage tpl
2018-04-13 14:06:27 +01:00
ArthurHoaro
7e9bd977ee
Webpack / Update front paths in template files
2018-03-28 19:01:17 +02:00
ArthurHoaro
b3375c7f86
Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/
2018-03-28 19:01:17 +02:00
VirtualTam
adf409716b
fix: IP ban check for the Vintage theme
...
Introduced by https://github.com/shaarli/Shaarli/pull/1008
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-03-24 21:55:03 +01:00
VirtualTam
44acf70681
Refactor login / ban authentication steps
...
Relates to https://github.com/shaarli/Shaarli/issues/324
Added:
- Add the `LoginManager` class to manage logins and bans
Changed:
- Refactor IP ban management
- Simplify logic
- Avoid using globals, inject dependencies
Fixed:
- Use `ban_duration` instead of `ban_after` when setting a new ban
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2018-02-05 18:12:09 +01:00
ArthurHoaro
d2f6d909e5
Public/private filter: use two separate buttons
...
#1038
2018-01-24 18:46:31 +01:00