2015-08-04 12:53:03 -07:00
|
|
|
name: Admin Panel
|
2016-05-04 16:25:23 -06:00
|
|
|
version: 1.1.0-beta.3
|
2016-04-18 14:52:20 -07:00
|
|
|
testing: true
|
2014-09-24 15:04:41 -07:00
|
|
|
description: Adds an advanced administration panel to manage your site
|
2014-10-03 15:40:58 -06:00
|
|
|
icon: empire
|
2014-09-24 15:04:41 -07:00
|
|
|
author:
|
|
|
|
|
name: Team Grav
|
|
|
|
|
email: devs@getgrav.org
|
|
|
|
|
url: http://getgrav.org
|
2015-08-04 12:43:31 -06:00
|
|
|
homepage: https://github.com/getgrav/grav-plugin-admin
|
2014-09-24 15:04:41 -07:00
|
|
|
keywords: admin, plugin, manager, panel
|
2015-08-04 12:43:31 -06:00
|
|
|
bugs: https://github.com/getgrav/grav-plugin-admin/issues
|
2015-09-27 11:54:34 +02:00
|
|
|
readme: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
|
2015-08-04 12:43:31 -06:00
|
|
|
license: MIT
|
2014-09-24 15:04:41 -07:00
|
|
|
|
2015-08-04 12:50:56 -06:00
|
|
|
dependencies:
|
2016-04-21 12:34:59 -06:00
|
|
|
- { name: grav, version: '~1.1' }
|
2016-04-20 13:46:42 -07:00
|
|
|
- { name: form, version: '~1.3' }
|
|
|
|
|
- { name: email, version: '~2.0' }
|
|
|
|
|
- { name: login, version: '~2.0' }
|
2015-08-04 12:50:56 -06:00
|
|
|
|
2014-08-05 13:06:38 -07:00
|
|
|
form:
|
2015-08-02 21:41:00 -06:00
|
|
|
validation: loose
|
2014-08-05 13:06:38 -07:00
|
|
|
fields:
|
2015-07-31 15:05:27 -06:00
|
|
|
Basics:
|
|
|
|
|
type: section
|
|
|
|
|
title: Basics
|
|
|
|
|
underline: false
|
|
|
|
|
|
2015-07-31 17:22:17 +02:00
|
|
|
enabled:
|
|
|
|
|
type: hidden
|
2016-01-21 14:40:51 +01:00
|
|
|
label: PLUGIN_ADMIN.PLUGIN_STATUS
|
2015-08-02 21:41:00 -06:00
|
|
|
highlight: 1
|
|
|
|
|
default: 0
|
|
|
|
|
options:
|
2016-01-21 14:40:51 +01:00
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
2015-08-02 21:41:00 -06:00
|
|
|
validate:
|
|
|
|
|
type: bool
|
2015-07-31 17:22:17 +02:00
|
|
|
|
2014-08-05 13:06:38 -07:00
|
|
|
route:
|
2015-07-31 17:22:17 +02:00
|
|
|
type: text
|
|
|
|
|
label: Administrator path
|
2015-08-02 21:41:00 -06:00
|
|
|
size: medium
|
2015-07-31 17:22:17 +02:00
|
|
|
placeholder: "Default route for administrator (relative to base)"
|
|
|
|
|
help: If you want to change the URL for the administrator, you can provide a path here
|
|
|
|
|
|
2016-03-01 18:19:52 -07:00
|
|
|
logo_text:
|
|
|
|
|
type: text
|
|
|
|
|
label: Logo text
|
|
|
|
|
size: medium
|
|
|
|
|
placeholder: "Grav"
|
|
|
|
|
help: Text to display in place of the default Grav logo
|
|
|
|
|
|
2015-07-31 17:22:17 +02:00
|
|
|
theme:
|
|
|
|
|
type: hidden
|
|
|
|
|
label: Theme
|
|
|
|
|
default: grav
|
|
|
|
|
|
2015-08-02 21:41:00 -06:00
|
|
|
edit_mode:
|
|
|
|
|
type: select
|
|
|
|
|
label: Edit mode
|
|
|
|
|
size: small
|
2015-08-06 22:25:35 -06:00
|
|
|
default: normal
|
2015-08-02 21:41:00 -06:00
|
|
|
options:
|
|
|
|
|
normal: Normal
|
|
|
|
|
expert: Expert
|
|
|
|
|
help: Auto will use blueprint if available, if none found, it will use "Expert" mode.
|
2015-07-31 17:22:17 +02:00
|
|
|
|
2015-09-18 10:47:44 -06:00
|
|
|
google_fonts:
|
|
|
|
|
type: toggle
|
|
|
|
|
label: Use Google Fonts
|
|
|
|
|
highlight: 1
|
|
|
|
|
default: 1
|
|
|
|
|
options:
|
2016-01-21 14:40:51 +01:00
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
2015-09-18 10:47:44 -06:00
|
|
|
validate:
|
|
|
|
|
type: bool
|
|
|
|
|
help: Use Google custom fonts. Disable this to use Helvetica. Useful when using Cyrillic and other languages with unsupported characters.
|
|
|
|
|
|
2015-08-04 10:13:14 -06:00
|
|
|
show_beta_msg:
|
2015-11-30 09:13:00 -07:00
|
|
|
type: hidden
|
|
|
|
|
|
|
|
|
|
show_github_msg:
|
2015-08-04 10:13:14 -06:00
|
|
|
type: toggle
|
2015-11-30 09:13:00 -07:00
|
|
|
label: Show GitHub Link
|
2015-08-04 10:13:14 -06:00
|
|
|
highlight: 1
|
|
|
|
|
default: 1
|
|
|
|
|
options:
|
2016-01-21 14:40:51 +01:00
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
2015-08-04 10:13:14 -06:00
|
|
|
validate:
|
|
|
|
|
type: bool
|
2015-12-20 22:56:49 -08:00
|
|
|
help: Show the "Found an issue? Please report it on GitHub." message.
|
2015-08-04 10:13:14 -06:00
|
|
|
|
2015-09-09 17:33:19 +02:00
|
|
|
enable_auto_updates_check:
|
|
|
|
|
type: toggle
|
|
|
|
|
label: Automatically check for updates
|
|
|
|
|
highlight: 1
|
|
|
|
|
default: 1
|
|
|
|
|
options:
|
2016-01-21 14:40:51 +01:00
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
2015-09-09 17:33:19 +02:00
|
|
|
validate:
|
|
|
|
|
type: bool
|
|
|
|
|
help: Shows an informative message, in the admin panel, when an update is available.
|
|
|
|
|
|
2015-08-07 15:16:19 -06:00
|
|
|
session.timeout:
|
|
|
|
|
type: text
|
|
|
|
|
size: small
|
|
|
|
|
label: Session Timeout
|
|
|
|
|
help: "Sets the session timeout in seconds"
|
|
|
|
|
validate:
|
|
|
|
|
type: number
|
|
|
|
|
min: 1
|
2015-07-31 17:22:17 +02:00
|
|
|
|
|
|
|
|
warnings.delete_page:
|
|
|
|
|
type: toggle
|
|
|
|
|
label: Warn on page delete
|
|
|
|
|
highlight: 1
|
|
|
|
|
default: 1
|
|
|
|
|
options:
|
2016-01-21 14:40:51 +01:00
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
2015-07-31 17:22:17 +02:00
|
|
|
validate:
|
|
|
|
|
type: bool
|
|
|
|
|
help: Ask the user confirmation when deleting a page
|
|
|
|
|
|
2015-07-31 15:05:27 -06:00
|
|
|
Popularity:
|
|
|
|
|
type: section
|
|
|
|
|
title: Popularity
|
|
|
|
|
underline: true
|
|
|
|
|
|
2015-07-31 17:22:17 +02:00
|
|
|
popularity.enabled:
|
|
|
|
|
type: toggle
|
2015-07-31 15:05:27 -06:00
|
|
|
label: Visitor tracking
|
2015-07-31 17:22:17 +02:00
|
|
|
highlight: 1
|
|
|
|
|
default: 1
|
|
|
|
|
options:
|
2016-01-21 14:40:51 +01:00
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
2015-07-31 17:22:17 +02:00
|
|
|
validate:
|
|
|
|
|
type: bool
|
|
|
|
|
help: Enable the visitors stats collecting feature
|
|
|
|
|
|
2015-08-02 21:41:00 -06:00
|
|
|
dashboard.days_of_stats:
|
|
|
|
|
type: text
|
|
|
|
|
label: Days of stats
|
|
|
|
|
size: x-small
|
|
|
|
|
default: 7
|
|
|
|
|
help: Keep stats for the specified number of days, then drop them
|
|
|
|
|
validate:
|
|
|
|
|
type: int
|
|
|
|
|
|
2015-07-31 17:22:17 +02:00
|
|
|
popularity.ignore:
|
|
|
|
|
type: array
|
|
|
|
|
label: Ignore
|
2015-08-02 21:41:00 -06:00
|
|
|
size: large
|
2015-07-31 17:22:17 +02:00
|
|
|
help: "URLs to ignore"
|
|
|
|
|
default: ['/test*','/modular']
|
|
|
|
|
value_only: true
|
|
|
|
|
placeholder_value: /ignore-this-route
|
|
|
|
|
|
|
|
|
|
popularity.history.daily:
|
|
|
|
|
type: hidden
|
|
|
|
|
label: Daily history
|
|
|
|
|
default: 30
|
|
|
|
|
|
|
|
|
|
popularity.history.monthly:
|
|
|
|
|
type: hidden
|
|
|
|
|
label: Monthly history
|
|
|
|
|
default: 12
|
|
|
|
|
|
|
|
|
|
popularity.history.visitors:
|
|
|
|
|
type: hidden
|
|
|
|
|
label: Visitors history
|
|
|
|
|
default: 20
|
2015-11-30 09:13:00 -07:00
|
|
|
|
|
|
|
|
|