Skip to content

Commit

Permalink
added plugin config
Browse files Browse the repository at this point in the history
  • Loading branch information
hotdoy committed Dec 1, 2019
1 parent 9b7d553 commit ac8811c
Show file tree
Hide file tree
Showing 19 changed files with 191 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ git:
url: https://github.com/getgrav/grav-theme-hotdoy
path: user/themes/hotdoy
branch: master
quark:
url: https://github.com/getgrav/grav-theme-quark
path: user/themes/quark
branch: master

links:
admin:
Expand Down Expand Up @@ -109,8 +105,3 @@ links:
src: grav-theme-hotdoy
path: user/themes/hotdoy
smc: github
quark:
src: grav-theme-quark
path: user/themes/quark
smc: github

6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins/
plugins/*
accounts/
data/
themes/
data/*
themes/*
config/backups.yaml
config/media.yaml
config/scheduler.yaml
Expand Down
4 changes: 4 additions & 0 deletions config/plugins/admin-addon-user-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
enabled: true
default_list_style: list
pagination:
per_page: '20'
2 changes: 2 additions & 0 deletions config/plugins/admin-media-actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
enabled: false
show_samples: true
59 changes: 59 additions & 0 deletions config/plugins/admin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
enabled: true
route: /admin
cache_enabled: false
theme: grav
logo_text: Hotdoy
content_padding: true
twofa_enabled: true
log_viewer_files:
- grav
- email
sidebar:
activate: tab
hover_delay: 100
size: auto
dashboard:
days_of_stats: 7
widgets:
dashboard-maintenance: true
dashboard-statistics: true
dashboard-notifications: true
dashboard-feed: true
dashboard-pages: true
pages:
show_parents: folder
show_modular: true
session:
timeout: 1800
warnings:
delete_page: true
secure_delete: false
edit_mode: normal
frontend_preview_target: _blank
show_github_msg: false
pages_list_display_field: title
google_fonts: true
admin_icons: line-awesome
enable_auto_updates_check: true
notifications:
feed: true
dashboard: true
plugins: true
themes: true
popularity:
enabled: true
ignore:
- '/test*'
- /modular
history:
daily: '30'
monthly: '12'
visitors: '20'
pagemedia:
resize_width: 0
resize_height: 0
res_min_width: 0
res_min_height: 0
res_max_width: 0
res_max_height: 0
resize_quality: 0.8
1 change: 1 addition & 0 deletions config/plugins/auto-date.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enabled: true
1 change: 1 addition & 0 deletions config/plugins/data-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enabled: true
1 change: 1 addition & 0 deletions config/plugins/devtools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enabled: true
15 changes: 15 additions & 0 deletions config/plugins/email.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
enabled: true
from: [email protected]
from_name: Hotdoy
to: [email protected]
to_name: Hotdoy
queue:
enabled: false
flush_frequency: '* * * * *'
flush_msg_limit: 10
flush_time_limit: 100
mailer:
sendmail:
bin: '/usr/sbin/sendmail -bs'
content_type: text/html
debug: true
3 changes: 3 additions & 0 deletions config/plugins/error.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
enabled: true
routes:
404: /error
18 changes: 18 additions & 0 deletions config/plugins/form.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
enabled: true
built_in_css: false
inline_css: false
refresh_prevention: true
client_side_validation: true
inline_errors: false
files:
multiple: true
limit: 10
destination: self@
avoid_overwriting: false
random_name: false
filesize: 0
accept:
- 'image/*'
recaptcha:
version: 2-checkbox
theme: light
1 change: 1 addition & 0 deletions config/plugins/google-maps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enabled: true
46 changes: 46 additions & 0 deletions config/plugins/login.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
enabled: true
built_in_css: true
redirect_to_login: true
redirect_after_logout: /
route_activate: /activate_user
route_forgot: /forgot_password
route_reset: /reset_password
route_profile: /user_profile
route_register: /user_register
route_unauthorized: /user_unauthorized
twofa_enabled: false
dynamic_page_visibility: false
parent_acl: true
protect_protected_page_media: true
rememberme:
enabled: true
timeout: 604800
name: grav-rememberme
max_pw_resets_count: 2
max_pw_resets_interval: 60
max_login_count: 5
max_login_interval: 10
ipv6_subnet_size: 64
user_registration:
enabled: false
fields:
- username
- password
- email
- fullname
- title
- level
- twofa_enabled
default_values:
level: Newbie
access:
site:
login: 'true'
options:
validate_password1_and_password2: true
set_user_disabled: false
login_after_registration: false
send_activation_email: false
manually_enable: false
send_notification_email: false
send_welcome_email: false
8 changes: 8 additions & 0 deletions config/plugins/markdown-notices.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
enabled: true
built_in_css: false
base_classes: notices
level_classes:
- yellow
- red
- blue
- green
3 changes: 3 additions & 0 deletions config/plugins/pagination.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
enabled: true
built_in_css: false
delta: 0
2 changes: 2 additions & 0 deletions config/plugins/problems.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
enabled: true
built_in_css: false
10 changes: 10 additions & 0 deletions config/plugins/quick-tray-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
enabled: true
links:
-
icon: 'fa fa-book'
link: 'https://learn.getgrav.org'
tooltip: 'Grav Documentation and Tutorials'
-
icon: 'fa fa-star'
link: 'https://material.io/resources/icons/?style=baseline'
tooltip: 'Material Icons'
10 changes: 10 additions & 0 deletions config/plugins/shortcode-core.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
enabled: true
active: true
active_admin: true
admin_pages_only: true
parser: regular
custom_shortcodes: /user/themes/hotdoy/shortcodes
fontawesome:
load: false
url: //maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css
v5: false
4 changes: 4 additions & 0 deletions config/plugins/sitemap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
enabled: true
route: /sitemap
changefreq: daily
priority: !!float 1

0 comments on commit ac8811c

Please sign in to comment.