many fixes and updates

This commit is contained in:
Joey Kimsey
2024-12-20 05:53:57 -05:00
parent e7ec79e727
commit 1496b855db
62 changed files with 1211 additions and 438 deletions

View File

@ -55,6 +55,90 @@ class Bookmarks extends Plugin {
'default' => true,
],
];
public $preferenceMatrix = [
'editModeSwitch' => [
'pretty' => 'Bookmarks default setting for edit mode',
'type' => 'checkbox',
'default' => 'false',
],
'showArchivedSwitch' => [
'pretty' => 'Bookmarks default setting for showing archived bookmarks',
'type' => 'checkbox',
'default' => 'false',
],
'showHiddenSwitch' => [
'pretty' => 'Bookmarks default setting for showing hidden bookmarks',
'type' => 'checkbox',
'default' => 'false',
],
'archiveButtonSwitch' => [
'pretty' => 'Bookmarks default setting for showing the archive buttons',
'type' => 'checkbox',
'default' => 'false',
],
'visibilityButtonSwitch' => [
'pretty' => 'Bookmarks default setting for showing the visibility buttons',
'type' => 'checkbox',
'default' => 'false',
],
'privacyButtonSwitch' => [
'pretty' => 'Bookmarks default setting for showing the privacy buttons',
'type' => 'checkbox',
'default' => 'true',
],
'shareButtonSwitch' => [
'pretty' => 'Bookmarks default setting for showing the share buttons',
'type' => 'checkbox',
'default' => 'true',
],
'addButtonSwitch' => [
'pretty' => 'Bookmarks default setting for showing the add buttons',
'type' => 'checkbox',
'default' => 'true',
],
];
public $resourceMatrix = [
'routes' => [
[
'original_url' => 'chrome',
'redirect_type' => 'external',
'nickname' => 'Chrome Extension',
'forwarded_url' => 'https://chromewebstore.google.com/detail/allthebookmarks/hcofhopnjoodmakhhmgmoohgpdhfkgii?authuser=0&hl=en',
],
[
'original_url' => 'brave',
'redirect_type' => 'external',
'nickname' => 'Brave Extension',
'forwarded_url' => 'https://chromewebstore.google.com/detail/allthebookmarks/hcofhopnjoodmakhhmgmoohgpdhfkgii?authuser=0&hl=en',
],
[
'original_url' => 'firefox',
'redirect_type' => 'external',
'nickname' => 'Firefox Extension',
'forwarded_url' => 'https://addons.mozilla.org/en-US/firefox/addon/allthebookmarks/',
],
// [
// 'original_url' => 'edge',
// 'redirect_type' => 'external',
// 'nickname' => 'Edge Extension',
// 'forwarded_url' => 'https://www.facebook.com/thetempusproject',
// ],
// [
// 'original_url' => 'opera',
// 'redirect_type' => 'external',
// 'nickname' => 'Opera Extension',
// 'forwarded_url' => 'https://www.facebook.com/thetempusproject',
// ],
]
];
public $bookmarks;
public $folders;