forked from BookStackApp/BookStack
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
851 changed files
with
16,198 additions
and
10,331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,10 @@ [email protected] | |
# SMTP mail options | ||
# These settings can be checked using the "Send a Test Email" | ||
# feature found in the "Settings > Maintenance" area of the system. | ||
# For more detailed documentation on mail options, refer to: | ||
# https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration | ||
MAIL_HOST=localhost | ||
MAIL_PORT=1025 | ||
MAIL_PORT=587 | ||
MAIL_USERNAME=null | ||
MAIL_PASSWORD=null | ||
MAIL_ENCRYPTION=null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
# Each option is shown with it's default value. | ||
# Do not copy this whole file to use as your '.env' file. | ||
|
||
# The details here only serve as a quick reference. | ||
# Please refer to the BookStack documentation for full details: | ||
# https://www.bookstackapp.com/docs/ | ||
|
||
# Application environment | ||
# Can be 'production', 'development', 'testing' or 'demo' | ||
APP_ENV=production | ||
|
@@ -65,22 +69,19 @@ DB_PASSWORD=database_user_password | |
# certificate itself (Common Name or Subject Alternative Name). | ||
MYSQL_ATTR_SSL_CA="/path/to/ca.pem" | ||
|
||
# Mail system to use | ||
# Can be 'smtp' or 'sendmail' | ||
# Mail configuration | ||
# Refer to https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration | ||
MAIL_DRIVER=smtp | ||
|
||
# Mail sending options | ||
[email protected] | ||
MAIL_FROM_NAME=BookStack | ||
|
||
# SMTP mail options | ||
MAIL_HOST=localhost | ||
MAIL_PORT=1025 | ||
MAIL_PORT=587 | ||
MAIL_USERNAME=null | ||
MAIL_PASSWORD=null | ||
MAIL_ENCRYPTION=null | ||
MAIL_VERIFY_SSL=true | ||
|
||
# Command to use when email is sent via sendmail | ||
MAIL_SENDMAIL_COMMAND="/usr/sbin/sendmail -bs" | ||
|
||
# Cache & Session driver to use | ||
|
@@ -322,6 +323,13 @@ FILE_UPLOAD_SIZE_LIMIT=50 | |
# Can be 'a4' or 'letter'. | ||
EXPORT_PAGE_SIZE=a4 | ||
|
||
# Set path to wkhtmltopdf binary for PDF generation. | ||
# Can be 'false' or a path path like: '/home/bins/wkhtmltopdf' | ||
# When false, BookStack will attempt to find a wkhtmltopdf in the application | ||
# root folder then fall back to the default dompdf renderer if no binary exists. | ||
# Only used if 'ALLOW_UNTRUSTED_SERVER_FETCHING=true' which disables security protections. | ||
WKHTMLTOPDF=false | ||
|
||
# Allow <script> tags in page content | ||
# Note, if set to 'true' the page editor may still escape scripts. | ||
ALLOW_CONTENT_SCRIPTS=false | ||
|
@@ -372,4 +380,4 @@ LOG_FAILED_LOGIN_CHANNEL=errorlog_plain_webserver | |
# IP address '146.191.42.4' would result in '146.191.x.x' being logged. | ||
# For the IPv6 address '2001:db8:85a3:8d3:1319:8a2e:370:7348' this would result as: | ||
# '2001:db8:85a3:8d3:x:x:x:x' | ||
IP_ADDRESS_PRECISION=4 | ||
IP_ADDRESS_PRECISION=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: lint-js | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
if: ${{ github.ref != 'refs/heads/l10n_development' }} | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Install NPM deps | ||
run: npm ci | ||
|
||
- name: Run formatting check | ||
run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 8 additions & 18 deletions
26
...ntrollers/Auth/ConfirmEmailController.php → ...ss/Controllers/ConfirmEmailController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...rollers/Auth/ForgotPasswordController.php → .../Controllers/ForgotPasswordController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...Controllers/Auth/HandlesPartialLogins.php → ...cess/Controllers/HandlesPartialLogins.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...Http/Controllers/Auth/LoginController.php → app/Access/Controllers/LoginController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...rollers/Auth/MfaBackupCodesController.php → .../Controllers/MfaBackupCodesController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
app/Http/Controllers/Auth/MfaController.php → app/Access/Controllers/MfaController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
...tp/Controllers/Auth/MfaTotpController.php → app/Access/Controllers/MfaTotpController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
app/Http/Controllers/Auth/OidcController.php → app/Access/Controllers/OidcController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...p/Controllers/Auth/RegisterController.php → ...Access/Controllers/RegisterController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...trollers/Auth/ResetPasswordController.php → ...s/Controllers/ResetPasswordController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...Http/Controllers/Auth/Saml2Controller.php → app/Access/Controllers/Saml2Controller.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...ttp/Controllers/Auth/SocialController.php → app/Access/Controllers/SocialController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Http/Controllers/Auth/ThrottlesLogins.php → app/Access/Controllers/ThrottlesLogins.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...Controllers/Auth/UserInviteController.php → ...cess/Controllers/UserInviteController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.