feat(settings): add analytics settings, customization settings
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
parent
3e4f8084ae
commit
31b2c151e1
15
.env.example
15
.env.example
@ -1,4 +1,5 @@
|
||||
APP_NAME=Laravel
|
||||
APP_DESCRIPTION="AthenaHR - Your one-stop-shop for your community recruitment needs"
|
||||
APP_ENV=local
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
@ -11,9 +12,16 @@ APP_LOGO="path/to/large/logo.png"
|
||||
APP_LOGO_SM="path/to/small/logo.png"
|
||||
APP_AUTH_BANNER=""
|
||||
APP_SITEHOMEPAGE=""
|
||||
|
||||
# Add your status page here. It'll appear in error pages as a button.
|
||||
# If you don't have one, leave it empty and the button won't show up.
|
||||
APP_STATUSPAGE="https://status.athenahr.io"
|
||||
|
||||
|
||||
API_PREFIX="api"
|
||||
|
||||
|
||||
|
||||
# FEATURE OVERRIDES
|
||||
# Feature overrides allow you to force-enable/disable features regardless of application settings and feature flags
|
||||
# Turning on the override will disable its feature
|
||||
@ -56,11 +64,18 @@ DB_DATABASE=laravel
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
|
||||
## SERVICES
|
||||
|
||||
RECAPTCHA_SITE_KEY=
|
||||
RECAPTCHA_PRIVATE_KEY=
|
||||
RECAPTCHA_VERIFY_URL="https://www.google.com/recaptcha/api/siteverify"
|
||||
# WARNING: Your contact form will be useless if you change this value. Only change this URL if Google updates it.
|
||||
|
||||
# AthenaHR's defaut GTM ID is pre-configured unless you supply one - if you leave this on, we'll use analytics data to improve the app.
|
||||
# Off by default
|
||||
GTM_ENABLED=false
|
||||
GTM_ID="GTM-T47K5CG"
|
||||
|
||||
MOJANG_STATUS_URL="https://status.mojang.com/check"
|
||||
MOJANG_API_URL="https://api.mojang.com"
|
||||
|
||||
|
11
config/analytics.php
Normal file
11
config/analytics.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
return [
|
||||
|
||||
'google' => [
|
||||
'gtm-enabled' => env('GTM_ENABLED', false),
|
||||
'gtm-id' => env('GTM_ID', 'GTM-T47K5CG')
|
||||
]
|
||||
|
||||
];
|
@ -34,6 +34,25 @@ return [
|
||||
|
||||
'name' => env('APP_NAME', 'Laravel'),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application description
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value is a short description of the application. The default value uses
|
||||
| AthenaHR's tagline, but you can set your own value to match your branding.
|
||||
|
|
||||
| This value is used in the description meta-tags, so it shows up in search
|
||||
| results and in embeds, such as Discord link previews. As such, this is a
|
||||
| highly visible value, so make it count!
|
||||
|
|
||||
*/
|
||||
|
||||
|
||||
'description' => env('APP_DESCRIPTION', 'AthenaHR - Your one-stop-shop for your community recruitment needs'),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Homepage
|
||||
@ -69,7 +88,7 @@ return [
|
||||
| It forces Laravel to load all assets via HTTPS, even when the environment is
|
||||
| set to "local". This setting is useless in production because it's already enforced.
|
||||
| If you don't enable this when using SSL locally, the pages won't load properly.
|
||||
| If you're a regular user, don't touch this setting.
|
||||
| If you're a regular user, you don't need to don't touch this setting.
|
||||
|
|
||||
*/
|
||||
'force_secure' => env('NONPROD_FORCE_SECURE', false),
|
||||
@ -79,7 +98,7 @@ return [
|
||||
| IP address anonymity
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| RB Recruiter collects IP addresses and stores them in the database in order to
|
||||
| AthenaHR collects IP addresses and stores them in the database in order to
|
||||
| display them to site admins.
|
||||
|
|
||||
| This feature allows you to disable the display and collection of IP addresses,
|
||||
@ -102,7 +121,7 @@ return [
|
||||
| - Terms of Service, where you outline acceptable usage of your services;
|
||||
| - Community Guidelines, where you outline acceptable behavior for users on your platforms.
|
||||
|
|
||||
| RBRecruiter will display these URLs at appropriate locations and force users to accept them,
|
||||
| AthenaHR will display these URLs at appropriate locations and force users to accept them,
|
||||
| if legally necessary, such as in the registration & application form pages.
|
||||
|
|
||||
| Additionally, you can also specify a support email and URL where your users/customers can send inquiries if necessary.
|
||||
@ -119,6 +138,20 @@ return [
|
||||
'support_email' => env('SUPPORT_EMAIL', 'support@example.com'),
|
||||
'source_repo' => env('SOURCE_REPO', 'https://code.webvokestudio.pt/miguel456/rbrecruiter'),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Status Page
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| AthenaHR can display a helpful status page in error pages. If you want a button
|
||||
| leading to your status page, fill in this value. Otherwise, leave it blank.
|
||||
|
|
||||
*/
|
||||
|
||||
'statuspage' => env('app_statuspage', ""),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Environment
|
||||
|
Loading…
x
Reference in New Issue
Block a user