Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #2

Open
wants to merge 3,137 commits into
base: mpcs
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3137 commits
Select commit Hold shift + click to select a range
63f4b42
Lexical: Added toolbar scroll/resize handling
ssddanbrown Jul 19, 2024
b618287
Lexical: Added table toolbar, organised button code
ssddanbrown Jul 21, 2024
c31f8eb
Readme: Added route4me sponsorship
ssddanbrown Jul 22, 2024
2cab778
Lexical: Improved table resize bars
ssddanbrown Jul 23, 2024
76b0d2d
Lexical: Added common events support
ssddanbrown Jul 23, 2024
f284d31
Lexical: Started media node support
ssddanbrown Jul 25, 2024
c8f6b7e
Lexical: Got media node core work & form done
ssddanbrown Jul 27, 2024
ce8c9dd
Lexical: Added form complex/tab ui support
ssddanbrown Jul 28, 2024
9a7edc6
Lexical: Started drop handling, handled templates
ssddanbrown Jul 29, 2024
d86837a
Lexical: Got working with attachment insert/drop
ssddanbrown Jul 29, 2024
fe05cff
Lexical: Linked up change/draft management
ssddanbrown Jul 29, 2024
13f8f39
Lexical: Updated task list to use/support old format
ssddanbrown Jul 30, 2024
6b06d49
Lexical: Started table menu options
ssddanbrown Aug 2, 2024
a27a325
Lexical: Started on table actions
ssddanbrown Aug 2, 2024
e94ad78
Lexical: Completed out table menu elements, logic pending
ssddanbrown Aug 3, 2024
efec752
Lexical: Split helpers to utils, refactored files
ssddanbrown Aug 3, 2024
8939f31
Lexical: Started linking up cell properties form
ssddanbrown Aug 5, 2024
b3d3b14
Lexical: Finished off core cell properties functionality
ssddanbrown Aug 5, 2024
fcc1c29
Lexical: Added table cell node import logic
ssddanbrown Aug 6, 2024
6604e73
Update sponsor image URLs in readme
Alexander-Wilms Aug 6, 2024
fa6d66d
Readme: Updated sponsor image links to use website
ssddanbrown Aug 7, 2024
e8532ef
Lexical: Added merge cell logic
ssddanbrown Aug 7, 2024
da54e1d
Lexical: Added cell width fetching, Created custom row node
ssddanbrown Aug 9, 2024
db4208a
Lexical: Linked row properties form up
ssddanbrown Aug 9, 2024
abbfd42
Lexical: Kinda made row copy/paste work
ssddanbrown Aug 9, 2024
ebf95f6
Lexical: Wired table properties, and other buttons
ssddanbrown Aug 10, 2024
ec965f2
Lexical: Added id support for all main block types
ssddanbrown Aug 11, 2024
accf256
Lexical: Integrated image manager to image button/form
ssddanbrown Aug 13, 2024
1ef4044
Lexical: Connected link selector to link form
ssddanbrown Aug 16, 2024
ad6b26b
Lexical: Added basic URL field header option list
ssddanbrown Aug 16, 2024
0039f89
Lexical: Integrated diagram manager, added menu split button
ssddanbrown Aug 17, 2024
111a313
Lexical: Added custom alignment handling for blocks
ssddanbrown Aug 18, 2024
aa1fac6
Lexical: Started adding editor shortcuts
ssddanbrown Aug 20, 2024
dbb2fe3
Lexical: Finished off baseline shortcut implementation
ssddanbrown Aug 20, 2024
ddf5f25
Lexical: Added drop/paste image handling
ssddanbrown Aug 21, 2024
8a13a9d
Lexical: Improved table row copy/paste
ssddanbrown Aug 22, 2024
1ebb0f8
Lexical: Added table column cut/copy/paste support
ssddanbrown Aug 22, 2024
9f68ca5
Dependancies: Updated PHP and JS packages
ssddanbrown Aug 26, 2024
1f25062
API: Updated docs with consistent types, fixed users response example
ssddanbrown Aug 27, 2024
90d1223
Styles: Added max-width for iframes in content
ssddanbrown Aug 27, 2024
8cef998
RTL: Fixed lacking task list RTL support
ssddanbrown Aug 27, 2024
1b4ed69
LDAP: Updated recursive group search to query by DN
ssddanbrown Aug 28, 2024
c68d154
LDAP: Updated tests for recursive group changes
ssddanbrown Aug 28, 2024
9aa3442
API: Fixed lacking permission enforcement on book contents
ssddanbrown Aug 29, 2024
aac7d56
Updated translations with latest Crowdin changes (#5118)
ssddanbrown Aug 29, 2024
3a058a6
Merge branch 'development' of github.com:BookStackApp/BookStack into …
ssddanbrown Aug 29, 2024
d4025d9
Merge branch 'development' into release
ssddanbrown Aug 29, 2024
b0dda6e
Updated version and assets for release v24.05.4
ssddanbrown Aug 29, 2024
1c9afcb
Lexical: Added some level of img/media alignment
ssddanbrown Sep 6, 2024
e5b6d28
Lexical: Revamped image node resize method
ssddanbrown Sep 7, 2024
bed2c29
Lexical: Added media resize support via drag handles
ssddanbrown Sep 8, 2024
16518a4
Lexical: Range of bug fixes, Updated lexical version
ssddanbrown Sep 8, 2024
fd07aa0
Lexical: Further fixes
ssddanbrown Sep 9, 2024
fb49371
Lexical: Refined editor UI
ssddanbrown Sep 9, 2024
ced66f1
Lexical: Added single node backspace/delete support
ssddanbrown Sep 9, 2024
476c2be
Add XML for OpenSearch
maximilian-walter Sep 9, 2024
2036438
Lexical: Added single node enter handling
ssddanbrown Sep 10, 2024
5083188
Lexical: Added block indenting capability
ssddanbrown Sep 10, 2024
662110c
Lexical: Custom list nesting support
ssddanbrown Sep 13, 2024
6872eb8
Lexical: Altered keyboard handling to indicant handled state
ssddanbrown Sep 13, 2024
c110a97
Remove unofficial method-attribute from OpenSearch-XML
maximilian-walter Sep 14, 2024
4f890c4
Limit short-name for OpenSearch XML to 16 characters
maximilian-walter Sep 14, 2024
5f46d71
Lexical: Fixed a range of issues in RTL mode
ssddanbrown Sep 15, 2024
03490d6
Lexical: Added RTL/LTR actions
ssddanbrown Sep 16, 2024
22d078b
Lexical: Imported core lexical libs
ssddanbrown Sep 18, 2024
ccd486f
Lexical: Got a range of Editor tests working
ssddanbrown Sep 18, 2024
787e06e
Lexical: Adapted a range of further existing tests
ssddanbrown Sep 20, 2024
dba8ab9
Lexical: Finished conversion/update of test files
ssddanbrown Sep 20, 2024
654a7a5
Lexical: Removed reconciler level direction handling
ssddanbrown Sep 21, 2024
e6edd93
Lexical: Added alignment detoggle, fixed inital focus area
ssddanbrown Sep 21, 2024
2add15b
Lexical: Added direction support to extra blocks
ssddanbrown Sep 22, 2024
ef3de10
Lexical: Added UI translation support
ssddanbrown Sep 22, 2024
c8ccb2b
Lexical: Range of fixes
ssddanbrown Sep 22, 2024
8b32e6c
Page Editors: Added switching/options for new lexical editor
ssddanbrown Sep 22, 2024
a62d838
Lexical: Updated toolbar & text node exporting
ssddanbrown Sep 23, 2024
1b9310e
Meta: Added lexical licensing info and added TS/JS CI testing
ssddanbrown Sep 27, 2024
b35b62d
Merge branch 'lexical' into development
ssddanbrown Sep 27, 2024
56b9107
Dependancies: Updated php & JS deps, updated license lists
ssddanbrown Sep 27, 2024
eec639d
Maintenance: Fixed js lint and SCSS build warnings
ssddanbrown Sep 27, 2024
abda9bc
PHP Dependancies: Updated packages pending major version changes
ssddanbrown Sep 27, 2024
42264f4
CSS: Fixed floating search icon on mobile
ssddanbrown Sep 27, 2024
6103a22
Exports: Made pdf command timeout configurable
ssddanbrown Sep 27, 2024
89f84c9
Pages: Updated editor field to always be set
ssddanbrown Sep 29, 2024
d12e8ec
Users: Improved user response for failed invite sending
ssddanbrown Sep 29, 2024
f583354
Maintenance: Removed stray dd from last commit
ssddanbrown Sep 29, 2024
a5b031f
Translatable description for OpenSearch XML
maximilian-walter Sep 14, 2024
1302e3c
Add missing XML declaration to OpenSearch endpoint
maximilian-walter Sep 14, 2024
2f74cfb
Add test for OpenSearch endpoint
maximilian-walter Sep 14, 2024
8bc6e75
Code Blocks: Added SAS and R language options
ssddanbrown Sep 30, 2024
514db60
Tests: Categorised up meta tests
ssddanbrown Sep 30, 2024
e656555
Merge branch 'feature/opensearch' into development
ssddanbrown Sep 30, 2024
34ade50
Base layout: Changed main app script to be module loaded
ssddanbrown Oct 1, 2024
177cfd7
Search: Added structure for search term inputs
ssddanbrown Oct 2, 2024
93c677a
Searching: Added negation support to UI and term handling
ssddanbrown Oct 3, 2024
cd84d08
Search: Added exact/filter/tag term negation support
ssddanbrown Oct 3, 2024
966ff91
Search: Prevented negated terms filling in UI inputs
ssddanbrown Oct 3, 2024
6646dcc
Merge pull request #5239 from BookStackApp/search_negation
ssddanbrown Oct 3, 2024
b1a3ea1
Languages: Enabled Welsh option
ssddanbrown Oct 4, 2024
be6529d
New WYSIWYG: Added mac shortcut support
ssddanbrown Oct 4, 2024
2766c76
TinyMCE: Updated version from 6.8.3 to 6.8.4
ssddanbrown Oct 4, 2024
346b88a
JS: Converted a few extra services to TS
ssddanbrown Oct 4, 2024
9b2520a
WYSIWYG: Fixed list indenting selection & display bugs
ssddanbrown Oct 4, 2024
c314a60
WYSIWYG: Code & table fixes
ssddanbrown Oct 5, 2024
51287d5
Searching: Fixed some form search issues
ssddanbrown Oct 5, 2024
8b9bcc1
Search: Fixed last commented filter when using table prefixes
ssddanbrown Oct 5, 2024
d22413b
JS: Converted/updated translation code to TS, fixed some comment counts
ssddanbrown Oct 7, 2024
65453bd
Updated translations with latest Crowdin changes (#5188)
ssddanbrown Oct 9, 2024
a58102d
Attribution: Updated translator & license files before v24.10
ssddanbrown Oct 9, 2024
a5f48e3
Merge branch 'development' into release
ssddanbrown Oct 9, 2024
26aadff
Updated version and assets for release v24.10
ssddanbrown Oct 9, 2024
2e8d6ce
TS: Coverted util service
ssddanbrown Oct 10, 2024
b9b5003
Refactor SettingController to validate categies by existing view files
Oct 10, 2024
a3d0f74
Move settings category layouts into their own view folder
Oct 10, 2024
4dc75ba
Settings: Added test to cover setting category by view
ssddanbrown Oct 11, 2024
f41c02c
TS: Converted app file and animations service
ssddanbrown Oct 11, 2024
209fa04
TS: Converted dom and keyboard nav services
ssddanbrown Oct 11, 2024
e088d09
ZIP Export: Started defining format
ssddanbrown Oct 13, 2024
1930af9
ZIP Export: Started types in format doc
ssddanbrown Oct 13, 2024
6f1c54d
Users: Changed name validation to min:1 instead of 2
ssddanbrown Oct 15, 2024
42bd07d
ZIP Export: Continued expanding format doc types
ssddanbrown Oct 15, 2024
42b9700
ZIP Exports: Finished up format doc, move files, started builder
ssddanbrown Oct 15, 2024
bf0262d
Testing: Split export tests into multiple files
ssddanbrown Oct 19, 2024
21ccfa9
ZIP Export: Expanded page & added base attachment handling
ssddanbrown Oct 19, 2024
7c39dd5
ZIP Export: Started building link/ref handling
ssddanbrown Oct 20, 2024
3e656ef
Added include func for search api
rashadkhan359 Oct 20, 2024
90a8070
Eager loading for titles
rashadkhan359 Oct 20, 2024
06ffd8e
Zip Exports: Added attachment/image link resolving & JSON null handling
ssddanbrown Oct 21, 2024
4fb4fe0
ZIP Exports: Added working image handling/inclusion
ssddanbrown Oct 21, 2024
f732ef0
ZIP Exports: Reorganised files, added page md parsing
ssddanbrown Oct 23, 2024
42ada66
ZIP Exports: Added core logic for books/chapters
ssddanbrown Oct 23, 2024
484342f
ZIP Exports: Added entity cross refs, Started export tests
ssddanbrown Oct 23, 2024
7aaf866
fix tests namespace definition
LordSimal Oct 26, 2024
e4ca3bf
Merge pull request #5291 from LordSimal/development
ssddanbrown Oct 27, 2024
d1f69fe
ZIP Exports: Tested each type and model of export
ssddanbrown Oct 27, 2024
f606711
respective book and chapter structure added.
rashadkhan359 Oct 27, 2024
72d9ffd
Added support for concatenating multiple LDAP attributes in displayName
MatthieuLeboeuf Oct 28, 2024
87242ce
Adapt tests with displayName array
MatthieuLeboeuf Oct 28, 2024
4051d5b
ZIP Exports: Added new import permission
ssddanbrown Oct 29, 2024
a56a28f
ZIP Exports: Built out initial import view
ssddanbrown Oct 29, 2024
4b60c03
re-write Dockerfile
johnroyer Oct 29, 2024
fbeb2e2
fix deprecated syntax
johnroyer Oct 29, 2024
b50b7b6
ZIP Exports: Started import validation
ssddanbrown Oct 30, 2024
c4ec50d
ZIP Exports: Got zip format validation functionally complete
ssddanbrown Oct 30, 2024
259aa82
ZIP Imports: Added validation message display, added testing
ssddanbrown Nov 2, 2024
74fce96
ZIP Import: Added model+migration, and reader class
ssddanbrown Nov 2, 2024
8ea3855
ZIP Import: Added upload handling
ssddanbrown Nov 2, 2024
c6109c7
ZIP Imports: Added listing, show view, delete, activity
ssddanbrown Nov 3, 2024
8f6f819
ZIP Imports: Fleshed out continue page, Added testing
ssddanbrown Nov 3, 2024
14578c2
ZIP Imports: Added parent selector for page/chapter imports
ssddanbrown Nov 4, 2024
92cfde4
ZIP Imports: Added full contents view to import display
ssddanbrown Nov 5, 2024
7b84558
ZIP Imports: Added parent and permission check pre-import
ssddanbrown Nov 5, 2024
45189d9
System CLI: Updated to 126de5599c state
ssddanbrown Nov 7, 2024
73babcb
Merge pull request #5312 from BookStackApp/system_cli_update
ssddanbrown Nov 7, 2024
8120278
PHP Deps: Bumped up minor versions
ssddanbrown Nov 8, 2024
7017a1c
Update URL Command: Added revisions table support
ssddanbrown Nov 8, 2024
a6ba8dd
Testing: Improved reliability
ssddanbrown Nov 8, 2024
e42cdbe
Updated translations with latest Crowdin changes (#5250)
ssddanbrown Nov 8, 2024
e5a6ccc
Translators: Updated before patch release
ssddanbrown Nov 8, 2024
ac27e18
Languages: Added Turkmen to locale manager
ssddanbrown Nov 8, 2024
0cf313a
Merge branch 'development' into release
ssddanbrown Nov 8, 2024
f3efb64
Updated version and assets for release v24.10.1
ssddanbrown Nov 8, 2024
d13e4d2
ZIP imports: Started actual import logic
ssddanbrown Nov 9, 2024
f12946d
ExportFormatter: Add book description and check for empty book and ch…
czemu Nov 10, 2024
378f0d5
ZIP Imports: Built out reference parsing/updating logic
ssddanbrown Nov 10, 2024
48c101a
ZIP Imports: Finished off core import logic
ssddanbrown Nov 11, 2024
c40ab41
Dependencies: Updated composer packages
ssddanbrown Nov 13, 2024
306b877
Updated translations with latest Crowdin changes (#5317)
ssddanbrown Nov 13, 2024
c0b3770
Merge branch 'development' into release
ssddanbrown Nov 13, 2024
5fba4a5
Updated version and assets for release v24.10.2
ssddanbrown Nov 13, 2024
b7476a9
ZIP Import: Finished base import process & error handling
ssddanbrown Nov 14, 2024
7681e32
ZIP Imports: Added high level import run tests
ssddanbrown Nov 16, 2024
8645aea
ZIP Imports: Started testing core import logic
ssddanbrown Nov 16, 2024
c2c64e2
ZIP Imports: Covered import runner with further testing
ssddanbrown Nov 16, 2024
e2f6e50
ZIP Exports: Added ID checks and testing to validator
ssddanbrown Nov 18, 2024
59cfc08
ZIP Imports: Added image type validation/handling
ssddanbrown Nov 18, 2024
c0dff6d
ZIP Imports: Added book content ordering to import preview
ssddanbrown Nov 22, 2024
f79c6ae
ZIP Imports: Updated import form to show loading indicator
ssddanbrown Nov 22, 2024
9ecc919
ZIP Import & Exports: Addressed issues during testing
ssddanbrown Nov 25, 2024
95d62e7
ZIP Imports/Exports: Fixed some lint and test issues
ssddanbrown Nov 25, 2024
0a182a4
ZIP Exports: Added detection/handling of images with external storage
ssddanbrown Nov 26, 2024
17f7afe
Updates the OIDC userinfo endpoint request to allow for a `Content-Ty…
Nov 26, 2024
edb684c
ZIP Exports: Updated format doc with advisories regarding html/md
ssddanbrown Nov 26, 2024
bdca9fc
ZIP Exports: Changed the instance id mechanism
ssddanbrown Nov 27, 2024
68ce340
Depenencies: Updated PHP packages
ssddanbrown Nov 28, 2024
415cd6a
Includes: Workaround for PHP 8.3.14 bug
ssddanbrown Nov 28, 2024
bc1f1d9
OIDC: Added extra userinfo content-type normalisation and test
ssddanbrown Nov 28, 2024
978acec
Merge branch 'oidc-content-type-issue' into development
ssddanbrown Nov 28, 2024
4630f07
Code: Set base codemirror line height
ssddanbrown Nov 29, 2024
e9f906c
Attachments: Fixed full range request handling
ssddanbrown Nov 29, 2024
f5ecd51
Updated translations with latest Crowdin changes (#5331)
ssddanbrown Nov 29, 2024
94165cc
Updated translator & dependency attribution before release v24.10.2
ssddanbrown Nov 29, 2024
fb9c840
Merge branch 'development' into release
ssddanbrown Nov 29, 2024
14056c6
Updated version and assets for release v24.10.2
ssddanbrown Nov 29, 2024
07e45a2
Updated version and assets for release v24.10.3
ssddanbrown Nov 29, 2024
0a07b0d
Merge pull request #5259 from BookStackApp/typescript-conversions
ssddanbrown Dec 1, 2024
fdbbcf2
Merge branch 'portazips' into development
ssddanbrown Dec 1, 2024
227c5e1
Dev Docker: Fixed missing gd jpeg handling, forced migrations
ssddanbrown Dec 1, 2024
3298374
Merge branch 'docker-simplify' into development
ssddanbrown Dec 1, 2024
90341e0
LDAP: Review and testing of mulitple-display-name attr support
ssddanbrown Dec 1, 2024
80f258c
Merge branch 'fix-ldap-display-name' into development
ssddanbrown Dec 1, 2024
0f9957b
MD Exports: Added HTML description conversion
ssddanbrown Dec 2, 2024
18ab38a
Merge branch 'fix/markdown-export' into development
ssddanbrown Dec 2, 2024
fec4445
Search API: Updated handling of parent detail, added testing
ssddanbrown Dec 3, 2024
5164375
Merge branch 'rashadkhan359/development' into development
ssddanbrown Dec 3, 2024
f3fa63a
Lexical: Merged custom paragraph node, removed old format/indent refs
ssddanbrown Dec 3, 2024
36a4d79
Lexical: Extracted & merged heading & quote nodes
ssddanbrown Dec 3, 2024
ebd4604
Lexical: Merged list nodes
ssddanbrown Dec 3, 2024
57d8449
Lexical: Merged custom table node code
ssddanbrown Dec 3, 2024
9fdd100
Lexical: Reorganised custom node code into lexical codebase
ssddanbrown Dec 4, 2024
d00cf6e
Lexical: Updated tests for node changes
ssddanbrown Dec 4, 2024
7e6f6af
Merge pull request #5349 from BookStackApp/lexical_reorg
ssddanbrown Dec 4, 2024
55d074f
Attachment API: Fixed error when name not provided in update
ssddanbrown Dec 9, 2024
617b2ed
JS: Updated packages, fixed lint issue
ssddanbrown Dec 9, 2024
8ec26e8
SASS: Updated to use modules and address deprecations
ssddanbrown Dec 9, 2024
5632fef
Auth: Added specific guards against guest account login
ssddanbrown Dec 11, 2024
509af24
Search Index: Fixed SQL error when indexing large pages
ssddanbrown Dec 11, 2024
0ece664
CI: Added php8.4 to CI suites, bumped action/os versions
ssddanbrown Dec 11, 2024
fcf0bf7
Attachments: Hid edit/delete controls where lacking permission
ssddanbrown Dec 11, 2024
19ee1c9
Notifications: Logged errors and prevented them blocking user
ssddanbrown Dec 12, 2024
7e1a8e5
API: Added cover to book/shelf list endpoints
ssddanbrown Dec 13, 2024
a8ef820
Users: Hid lanuage preference for guest user
ssddanbrown Dec 13, 2024
97b201f
Lexical: Added auto links on enter/space
ssddanbrown Dec 14, 2024
a71aa24
Lexical: Added dark mode styles, fixed autolink range
ssddanbrown Dec 14, 2024
5f07f31
Lexical: Added mobile toolbar support
ssddanbrown Dec 15, 2024
2f119d3
Lexical: Adjusted modals and content area for mobile sizes
ssddanbrown Dec 15, 2024
3f86937
Lexical: Made summary part of details node
ssddanbrown Dec 15, 2024
5887322
Lexical: Added details toolbar
ssddanbrown Dec 15, 2024
8486775
Lexical: Added mulitple methods to escape details block
ssddanbrown Dec 16, 2024
e50cd33
Lexical: Added testing for some added shortcuts
ssddanbrown Dec 16, 2024
ace8af0
Lexical: Improved list tab handling, Improved test utils
ssddanbrown Dec 17, 2024
fca8f92
Lexical: Aligned new empty item behaviour for nested lists
ssddanbrown Dec 17, 2024
f4005a1
Lexical: Adjusted handling of child/sibling list items on nesting
ssddanbrown Dec 17, 2024
ebe2ca7
Lexical: Added about button/view
ssddanbrown Dec 17, 2024
1f88bc2
Merge pull request #5365 from BookStackApp/lexical_fixes
ssddanbrown Dec 20, 2024
01825dd
Dependancies: Bumped up composer dep versions
ssddanbrown Dec 21, 2024
c84d999
ZIP Exports: Prevent book child page drafts from being included
ssddanbrown Dec 22, 2024
2be504e
Updated translations with latest Crowdin changes (#5345)
ssddanbrown Dec 23, 2024
d56eea9
Locales: Updated locale list with new languages
ssddanbrown Dec 23, 2024
980a684
Updated translator & dependency attribution before release v24.12
ssddanbrown Dec 23, 2024
b0c5743
Merge branch 'development' into release
ssddanbrown Dec 23, 2024
6d2cd20
Updated version and assets for release v24.12
ssddanbrown Dec 23, 2024
6d7ff59
ZIP Exports: Improved temp file tracking & clean-up
ssddanbrown Dec 31, 2024
7e31725
Exports: Improved PDF command temp file cleanup
ssddanbrown Jan 1, 2025
1ff2826
Exports: Added rate limits for UI exports
ssddanbrown Jan 1, 2025
ff6c5aa
Markdown Editor: Fixed scroll jump on image upload
ssddanbrown Jan 4, 2025
6effc6d
Merge pull request #5379 from BookStackApp/better_cleanup
ssddanbrown Jan 4, 2025
9a5c287
Deps: Updated composer packages
ssddanbrown Jan 4, 2025
33b4688
Updated translations with latest Crowdin changes (#5370)
ssddanbrown Jan 4, 2025
2641586
Merge branch 'development' into release
ssddanbrown Jan 4, 2025
387c786
Updated version and assets for release v24.12.1
ssddanbrown Jan 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 21 additions & 10 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
# This file, when named as ".env" in the root of your BookStack install
# folder, is used for the core configuration of the application.
# By default this file contains the most common required options but
# a full list of options can be found in the '.env.example.complete' file.

# NOTE: If any of your values contain a space or a hash you will need to
# wrap the entire value in quotes. (eg. MAIL_FROM_NAME="BookStack Mailer")

# Application key
# Used for encryption where needed.
# Run `php artisan key:generate` to generate a valid key.
APP_KEY=SomeRandomString

# Application URL
# Remove the hash below and set a URL if using BookStack behind
# a proxy, if using a third-party authentication option.
# This must be the root URL that you want to host BookStack on.
# All URL's in BookStack will be generated using this value.
#APP_URL=https://example.com
# All URLs in BookStack will be generated using this value
# to ensure URLs generated are consistent and secure.
# If you change this in the future you may need to run a command
# to update stored URLs in the database. Command example:
# php artisan bookstack:update-url https://old.example.com https://new.example.com
APP_URL=https://example.com

# Database details
DB_HOST=localhost
Expand All @@ -20,16 +30,17 @@ DB_PASSWORD=database_user_password
# Can be 'smtp' or 'sendmail'
MAIL_DRIVER=smtp

# Mail sender options
MAIL_FROM_NAME=BookStack
# Mail sender details
MAIL_FROM_NAME="BookStack"
[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


# A full list of options can be found in the '.env.example.complete' file.
171 changes: 153 additions & 18 deletions .env.example.complete
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -42,6 +46,14 @@ APP_TIMEZONE=UTC
# overrides can be made. Defaults to disabled.
APP_THEME=false

# Trusted proxies
# Used to indicate trust of systems that proxy to the application so
# certain header values (Such as "X-Forwarded-For") can be used from the
# incoming proxy request to provide origin detail.
# Set to an IP address, or multiple comma seperated IP addresses.
# Can alternatively be set to "*" to trust all proxy addresses.
APP_PROXIES=null

# Database details
# Host can contain a port (localhost:3306) or a separate DB_PORT option can be used.
DB_HOST=localhost
Expand All @@ -50,20 +62,27 @@ DB_DATABASE=database_database
DB_USERNAME=database_username
DB_PASSWORD=database_user_password

# Mail system to use
# Can be 'smtp', 'mail' or 'sendmail'
MAIL_DRIVER=smtp
# MySQL specific connection options
# Path to Certificate Authority (CA) certificate file for your MySQL instance.
# When this option is used host name identity verification will be performed
# which checks the hostname, used by the client, against names within the
# certificate itself (Common Name or Subject Alternative Name).
MYSQL_ATTR_SSL_CA="/path/to/ca.pem"

# Mail sending options
[email protected]
# Mail configuration
# Refer to https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration
MAIL_DRIVER=smtp
[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

MAIL_SENDMAIL_COMMAND="/usr/sbin/sendmail -bs"

# Cache & Session driver to use
# Can be 'file', 'database', 'memcached' or 'redis'
Expand Down Expand Up @@ -92,8 +111,7 @@ MEMCACHED_SERVERS=127.0.0.1:11211:100
REDIS_SERVERS=127.0.0.1:6379:0

# Queue driver to use
# Queue not really currently used but may be configurable in the future.
# Would advise not to change this for now.
# Can be 'sync', 'database' or 'redis'
QUEUE_CONNECTION=sync

# Storage system to use
Expand Down Expand Up @@ -126,9 +144,13 @@ STORAGE_S3_ENDPOINT=https://my-custom-s3-compatible.service.com:8001
STORAGE_URL=false

# Authentication method to use
# Can be 'standard', 'ldap' or 'saml2'
# Can be 'standard', 'ldap', 'saml2' or 'oidc'
AUTH_METHOD=standard

# Automatically initiate login via external auth system if it's the only auth method.
# Works with saml2 or oidc auth methods.
AUTH_AUTO_INITIATE=false

# Social authentication configuration
# All disabled by default.
# Refer to https://www.bookstackapp.com/docs/admin/third-party-auth/
Expand Down Expand Up @@ -193,12 +215,15 @@ LDAP_SERVER=false
LDAP_BASE_DN=false
LDAP_DN=false
LDAP_PASS=false
LDAP_USER_FILTER=false
LDAP_USER_FILTER="(&(uid={user}))"
LDAP_VERSION=false
LDAP_START_TLS=false
LDAP_TLS_INSECURE=false
LDAP_TLS_CA_CERT=false
LDAP_ID_ATTRIBUTE=uid
LDAP_EMAIL_ATTRIBUTE=mail
LDAP_DISPLAY_NAME_ATTRIBUTE=cn
LDAP_THUMBNAIL_ATTRIBUTE=null
LDAP_FOLLOW_REFERRALS=true
LDAP_DUMP_USER_DETAILS=false

Expand All @@ -207,6 +232,7 @@ LDAP_DUMP_USER_DETAILS=false
LDAP_USER_TO_GROUPS=false
LDAP_GROUP_ATTRIBUTE="memberOf"
LDAP_REMOVE_FROM_GROUPS=false
LDAP_DUMP_USER_GROUPS=false

# SAML authentication configuration
# Refer to https://www.bookstackapp.com/docs/admin/saml2-auth/
Expand All @@ -221,13 +247,36 @@ SAML2_IDP_x509=null
SAML2_ONELOGIN_OVERRIDES=null
SAML2_DUMP_USER_DETAILS=false
SAML2_AUTOLOAD_METADATA=false
SAML2_IDP_AUTHNCONTEXT=true
SAML2_SP_x509=null
SAML2_SP_x509_KEY=null

# SAML group sync configuration
# Refer to https://www.bookstackapp.com/docs/admin/saml2-auth/
SAML2_USER_TO_GROUPS=false
SAML2_GROUP_ATTRIBUTE=group
SAML2_REMOVE_FROM_GROUPS=false

# OpenID Connect authentication configuration
# Refer to https://www.bookstackapp.com/docs/admin/oidc-auth/
OIDC_NAME=SSO
OIDC_DISPLAY_NAME_CLAIMS=name
OIDC_CLIENT_ID=null
OIDC_CLIENT_SECRET=null
OIDC_ISSUER=null
OIDC_ISSUER_DISCOVER=false
OIDC_PUBLIC_KEY=null
OIDC_AUTH_ENDPOINT=null
OIDC_TOKEN_ENDPOINT=null
OIDC_USERINFO_ENDPOINT=null
OIDC_ADDITIONAL_SCOPES=null
OIDC_DUMP_USER_DETAILS=false
OIDC_USER_TO_GROUPS=false
OIDC_GROUPS_CLAIM=groups
OIDC_REMOVE_FROM_GROUPS=false
OIDC_EXTERNAL_ID_CLAIM=sub
OIDC_END_SESSION_ENDPOINT=false

# Disable default third-party services such as Gravatar and Draw.IO
# Service-specific options will override this option
DISABLE_EXTERNAL_SERVICES=false
Expand All @@ -238,22 +287,64 @@ DISABLE_EXTERNAL_SERVICES=false
# Example: AVATAR_URL=https://seccdn.libravatar.org/avatar/${hash}?s=${size}&d=identicon
AVATAR_URL=

# Enable draw.io integration
# Enable diagrams.net integration
# Can simply be true/false to enable/disable the integration.
# Alternatively, It can be URL to the draw.io instance you want to use.
# For URLs, The following URL parameters should be included: embed=1&proto=json&spin=1
# Alternatively, It can be URL to the diagrams.net instance you want to use.
# For URLs, The following URL parameters should be included: embed=1&proto=json&spin=1&configure=1
DRAWIO=true

# Default item listing view
# Used for public visitors and user's without a preference
# Can be 'list' or 'grid'
# Used for public visitors and user's without a preference.
# Can be 'list' or 'grid'.
APP_VIEWS_BOOKS=list
APP_VIEWS_BOOKSHELVES=grid
APP_VIEWS_BOOKSHELF=grid

# Use dark mode by default
# Will be overriden by any user/session preference.
APP_DEFAULT_DARK_MODE=false

# Page revision limit
# Number of page revisions to keep in the system before deleting old revisions.
# If set to 'false' a limit will not be enforced.
REVISION_LIMIT=50
REVISION_LIMIT=100

# Recycle Bin Lifetime
# The number of days that content will remain in the recycle bin before
# being considered for auto-removal. It is not a guarantee that content will
# be removed after this time.
# Set to 0 for no recycle bin functionality.
# Set to -1 for unlimited recycle bin lifetime.
RECYCLE_BIN_LIFETIME=30

# File Upload Limit
# Maximum file size, in megabytes, that can be uploaded to the system.
FILE_UPLOAD_SIZE_LIMIT=50

# Export Page Size
# Primarily used to determine page size of PDF exports.
# Can be 'a4' or 'letter'.
EXPORT_PAGE_SIZE=a4

# Export PDF Command
# Set a command which can be used to convert a HTML file into a PDF file.
# When false this will not be used.
# String values represent the command to be called for conversion.
# Supports '{input_html_path}' and '{output_pdf_path}' placeholder values.
# Example: EXPORT_PDF_COMMAND="/scripts/convert.sh {input_html_path} {output_pdf_path}"
EXPORT_PDF_COMMAND=false

# Export PDF Command Timeout
# The number of seconds that the export PDF command will run before a timeout occurs.
# Only applies for the EXPORT_PDF_COMMAND option, not for DomPDF or wkhtmltopdf.
EXPORT_PDF_COMMAND_TIMEOUT=15

# 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.
Expand All @@ -265,9 +356,53 @@ ALLOW_CONTENT_SCRIPTS=false
# Contents of the robots.txt file can be overridden, making this option obsolete.
ALLOW_ROBOTS=null

# Allow server-side fetches to be performed to potentially unknown
# and user-provided locations. Primarily used in exports when loading
# in externally referenced assets.
# Can be 'true' or 'false'.
ALLOW_UNTRUSTED_SERVER_FETCHING=false

# A list of hosts that BookStack can be iframed within.
# Space separated if multiple. BookStack host domain is auto-inferred.
# For Example: ALLOWED_IFRAME_HOSTS="https://example.com https://a.example.com"
# Setting this option will also auto-adjust cookies to be SameSite=None.
ALLOWED_IFRAME_HOSTS=null

# A list of sources/hostnames that can be loaded within iframes within BookStack.
# Space separated if multiple. BookStack host domain is auto-inferred.
# Can be set to a lone "*" to allow all sources for iframe content (Not advised).
# Defaults to a set of common services.
# Current host and source for the "DRAWIO" setting will be auto-appended to the sources configured.
ALLOWED_IFRAME_SOURCES="https://*.draw.io https://*.youtube.com https://*.youtube-nocookie.com https://*.vimeo.com"

# A list of the sources/hostnames that can be reached by application SSR calls.
# This is used wherever users can provide URLs/hosts in-platform, like for webhooks.
# Host-specific functionality (usually controlled via other options) like auth
# or user avatars for example, won't use this list.
# Space seperated if multiple. Can use '*' as a wildcard.
# Values will be compared prefix-matched, case-insensitive, against called SSR urls.
# Defaults to allow all hosts.
ALLOWED_SSR_HOSTS="*"

# The default and maximum item-counts for listing API requests.
API_DEFAULT_ITEM_COUNT=100
API_MAX_ITEM_COUNT=500

# The number of API requests that can be made per minute by a single user.
API_REQUESTS_PER_MIN=180
API_REQUESTS_PER_MIN=180

# Enable the logging of failed email+password logins with the given message.
# The default log channel below uses the php 'error_log' function which commonly
# results in messages being output to the webserver error logs.
# The message can contain a %u parameter which will be replaced with the login
# user identifier (Username or email).
LOG_FAILED_LOGIN_MESSAGE=false
LOG_FAILED_LOGIN_CHANNEL=errorlog_plain_webserver

# Alter the precision of IP addresses stored by BookStack.
# Should be a number between 0 and 4, where 4 retains the full IP address
# and 0 completely hides the IP address. As an example, a value of 2 for the
# 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
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: [ssddanbrown]
ko_fi: ssddanbrown
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/api_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: New API Endpoint or API Ability
description: Request a new endpoint or API feature be added
labels: [":nut_and_bolt: API Request"]
body:
- type: textarea
id: feature
attributes:
label: API Endpoint or Feature
description: Clearly describe what you'd like to have added to the API.
validations:
required: true
- type: textarea
id: usecase
attributes:
label: Use-Case
description: Explain the use-case that you're working-on that requires the above request.
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the feature request here.
validations:
required: false
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

Loading