Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
754 commits
Select commit Hold shift + click to select a range
d28278b
Sorting: Added sort set form manager UI JS
ssddanbrown Feb 4, 2025
b897af2
Sorting: Finished main sort set CRUD work
ssddanbrown Feb 4, 2025
7093daa
Sorting: Connected up default sort setting for books
ssddanbrown Feb 5, 2025
c13ce18
Sorting: Added book autosort logic
ssddanbrown Feb 5, 2025
103a8a8
Meta: Updated sponsor list, licence year and readme
ssddanbrown Feb 5, 2025
ccd9468
Sorting: Improved sort set display, delete, added action on edit
ssddanbrown Feb 6, 2025
d938565
Fix search issue for words inside Guillemets (« ») without spaces
inv-hareesh Feb 7, 2025
ec79517
Sorting: Added auto sort option to book sort UI
ssddanbrown Feb 9, 2025
37d020c
Sorting: Addded command to apply sort sets
ssddanbrown Feb 9, 2025
69683d5
Sorting: Added tests to cover AssignSortSetCommand
ssddanbrown Feb 9, 2025
a657012
Sorting: Split out test class, added book autosort tests
ssddanbrown Feb 10, 2025
a208c46
Sorting: Covered sort set management with tests
ssddanbrown Feb 10, 2025
b9306a9
Sorting: Renamed sort set to sort rule
ssddanbrown Feb 11, 2025
7bd8931
Sorting: Updated sort set command, Changed sort timestamp handling
ssddanbrown Feb 11, 2025
a7de251
Merge pull request #5457 from BookStackApp/sort_sets
ssddanbrown Feb 11, 2025
7901ca9
Meta: Updated dev version and sponsor link
ssddanbrown Feb 11, 2025
2291d78
Merge pull request #5470 from Silverlan/patch-1
ssddanbrown Feb 12, 2025
45a15b4
Searching: Split out search tests into their own dir
ssddanbrown Feb 14, 2025
f444992
Searching: Added custom tokenizer that considers soft delimiters.
ssddanbrown Feb 14, 2025
c291d27
Merge branch 'inv-hareesh/development' into search_index_updates
ssddanbrown Feb 14, 2025
f1b8e85
Searching: Added test for guillemets
ssddanbrown Feb 14, 2025
92ad814
Merge pull request #5488 from BookStackApp/search_index_updates
ssddanbrown Feb 14, 2025
5c15f4a
Translations: Fixed a couple of errors in sorting en words
ssddanbrown Feb 16, 2025
2b74642
Lexical: Fixed code in lists, removed extra old alignment code
ssddanbrown Feb 16, 2025
213a86e
Merge pull request #5415 from BookStackApp/more_lexical_fixes
ssddanbrown Feb 16, 2025
3b4d343
Tests: Updated failing license test
ssddanbrown Feb 17, 2025
5508c17
PHP: Addressed 8.4 deprecations within app itself
ssddanbrown Feb 17, 2025
5050719
PHP: Updated DOMPDF version
ssddanbrown Feb 17, 2025
35b45a2
LDAP: Fixed php type error when no cn provided for user
ssddanbrown Feb 20, 2025
5c78f83
Styles: Fixed breakpoint overlap
ssddanbrown Feb 23, 2025
0e343c4
Merge pull request #5463 from BookStackApp/v24-12
ssddanbrown Feb 23, 2025
d2542d6
Merge pull request #5491 from BookStackApp/deprecations
ssddanbrown Feb 23, 2025
c3a1fab
Deps & Tests: Updated PHP deps, fixed test namespaces
ssddanbrown Feb 23, 2025
6548ea4
JS: Upated npm deps, upgraded eslint, new eslint config
ssddanbrown Feb 23, 2025
d7ccb3c
Sorting: Updated text for sort rules
ssddanbrown Feb 23, 2025
dca14fe
Sorting: Fixes during testing of sort rules
ssddanbrown Feb 24, 2025
a384599
Meta: Updated licenses and translation attribution pre v25.02
ssddanbrown Feb 26, 2025
6211d6b
Updated translations with latest Crowdin changes (#5409)
ssddanbrown Feb 26, 2025
13dae24
Testing: Fixed issues during pre-release testing
ssddanbrown Feb 26, 2025
94b1cff
System CLI: Updated with new version
ssddanbrown Mar 11, 2025
4f5ad17
Config: Updated DB host to handle ipv6
ssddanbrown Mar 15, 2025
dfbc789
Revisions: Hid changes link for oldest revision
ssddanbrown Mar 16, 2025
304a1d8
Dependancies: Updated PHP composer deps
ssddanbrown Mar 16, 2025
8a9215e
Updated translations with latest Crowdin changes (#5505)
ssddanbrown Mar 16, 2025
e980564
Updated translator & dependency attribution before release v25.02.1
ssddanbrown Mar 16, 2025
0ec0913
Merge branch 'development' of github.com:BookStackApp/BookStack into …
ssddanbrown Mar 16, 2025
abe7467
Fix issue BookStackApp#5542 Sorting by name
bernardo-campos Mar 23, 2025
5c6671b
Lexical: Fixed issues with content not saving
ssddanbrown Mar 27, 2025
c03e441
Lexical: Fixed task list parsing
ssddanbrown Mar 27, 2025
62c8eb3
Lexical: Made list selections & intendting more reliable
ssddanbrown Mar 27, 2025
9bfcadd
Lexical: Improved navigation around images/media
ssddanbrown Mar 28, 2025
bb44334
Lexical: Added tests to cover recent changes
ssddanbrown Mar 28, 2025
802f69c
Comments: Fixed missing comment timestamps
ssddanbrown Mar 30, 2025
1ba0d26
Sort Rules: Updated name comparison to not ignore non-ascii chars
ssddanbrown Apr 2, 2025
1256320
Merge branch 'bernardo-campos/development' into development
ssddanbrown Apr 2, 2025
6117349
Deps: Updated composer packages
ssddanbrown Apr 2, 2025
42cbd6a
Updated translations with latest Crowdin changes (#5537)
ssddanbrown Apr 2, 2025
78a0a2f
Merge pull request #5558 from BookStackApp/lexical_round3
ssddanbrown Apr 2, 2025
fa566f1
Updated translator & dependency attribution before release v25.02.2
ssddanbrown Apr 2, 2025
8d159f7
Comments: Started logic for content references
ssddanbrown Apr 18, 2025
add238f
Comments & Pointer: Converted components to typescript
ssddanbrown Apr 18, 2025
5e3c3ad
Comments: Added back-end content reference handling
ssddanbrown Apr 18, 2025
2e7544a
Comments: Converted comment component to TS
ssddanbrown Apr 19, 2025
18ede9b
Comments: Added inline comment marker/highlight logic
ssddanbrown Apr 19, 2025
5bfba28
Comments: Started inline comment display windows
ssddanbrown Apr 21, 2025
f656a82
Comments: Styled content comments & improved interaction
ssddanbrown Apr 24, 2025
c61ce8d
Implement functionality to export a book, along with its pages and ch…
LM-Nishant Apr 25, 2025
5fa728f
Develop functionality to import ZIP files. Create an API controller a…
LM-Nishant Apr 25, 2025
64da80c
added routes for zip export
LM-Nishant Apr 25, 2025
ecda4e1
Comments: Added reference marker to comments
ssddanbrown Apr 26, 2025
e8f4418
Comments: Split out page comment reference logic to own component
ssddanbrown Apr 27, 2025
8bdf948
Comments: Added archive endpoints, messages, Js actions and tests
ssddanbrown Apr 28, 2025
099f610
Comments: Started archive display, created mode for tree node
ssddanbrown Apr 28, 2025
e7dcc2d
Comments: Moved to tab UI, Converted tabs component to ts
ssddanbrown Apr 30, 2025
15c79c3
Comments: Addressed a range of edge cases and ux issues for references
ssddanbrown May 1, 2025
c82fa33
Comments: Further range of content reference ux improvements
ssddanbrown May 1, 2025
1262083
Images: Changed how new image permissions are set
ssddanbrown May 3, 2025
8821844
Exports: Fixed CSS file BOM mark breaking CSS variables in exports
ssddanbrown May 5, 2025
4f36cdd
Updated translations with latest Crowdin changes (#5566)
ssddanbrown May 5, 2025
642ba66
Merge pull request #5601 from BookStackApp/file_permissions
ssddanbrown May 5, 2025
295532f
Deps: Updated PHP packages
ssddanbrown May 5, 2025
ce1e205
Updated translator & dependency attribution before release v25.02.3
ssddanbrown May 5, 2025
3e99ce4
Deps: Updated PHP packages
ssddanbrown May 8, 2025
a27df48
Comments: Fixed display, added archive list support for editor toolbox
ssddanbrown May 9, 2025
f8c0aaf
Comments: Checked content/arhived comment styles in dark mode
ssddanbrown May 9, 2025
62f78f1
Comments: Split tests, added extra archive/reference tests
ssddanbrown May 12, 2025
8f92b6f
Comments: Fixed a range of TS errors + other
ssddanbrown May 12, 2025
32b29fc
Comments: Fixed pointer display, Fixed translation test
ssddanbrown May 13, 2025
0580071
API: Added system read endpoint
ssddanbrown May 13, 2025
0e69ab1
API: Added test to cover system info endpoint
ssddanbrown May 13, 2025
5ab31a8
Images: Updated local disk to have open dir perms
ssddanbrown May 14, 2025
8121418
Readme: Added phamos as sponsor
ssddanbrown May 14, 2025
d2d0331
Readme: Replaced discord/mastodon links, reformatted badges
ssddanbrown May 14, 2025
25baaa8
Deps: Updated composer packages
ssddanbrown May 17, 2025
752cfe2
CLI: Updated CLI with fixes
ssddanbrown May 17, 2025
1dd1024
Merge pull request #5609 from BookStackApp/5605-folder-permissions
ssddanbrown May 17, 2025
cdd446a
Updated translations with latest Crowdin changes (#5608)
ssddanbrown May 17, 2025
d29b14e
Merge pull request #5584 from BookStackApp/content_comments
ssddanbrown May 22, 2025
59e2c5e
Merge pull request #5607 from BookStackApp/system_info_endpoint
ssddanbrown May 22, 2025
3a9d18a
Images: Added base avif support
ssddanbrown May 23, 2025
131ac29
Images: Added testing to cover animated avif handling
ssddanbrown May 23, 2025
b29fe5c
Merge pull request #5625 from BookStackApp/avif_images
ssddanbrown May 23, 2025
454b152
Pages: Redirect user to view if they can't edit
ssddanbrown May 24, 2025
05f7f4c
Merge branch 'development' of github.com:rubentalstra/BookStack into …
ssddanbrown May 24, 2025
f9dbbe5
OIDC: Updated picture fetch implementation during review
ssddanbrown May 24, 2025
b64c9b3
OIDC: Added testing coverage for picture fetching
ssddanbrown May 24, 2025
30bf0ce
OIDC: Updated avatar fetching to run on each login
ssddanbrown May 24, 2025
9d6bc1a
Testing: Updated tests to account for recent page redirect changes
ssddanbrown May 24, 2025
eb47e11
Avatars: Added redirect handling image fetching
ssddanbrown May 24, 2025
d149b80
Merge pull request #5626 from BookStackApp/rubentalstra-development
ssddanbrown May 24, 2025
3280919
Lexical: Improved diagram selection and keyboard usage
ssddanbrown May 25, 2025
1243108
Lexical: Updated dropdown handling to match tinymce behaviour
ssddanbrown May 25, 2025
2a32475
Lexical: Made a range of selection improvements
ssddanbrown May 26, 2025
c4f7368
Lexical: Fixed table column resizing changes not appearing
ssddanbrown May 26, 2025
a43a183
Lexical: Added image insert via image link paste
ssddanbrown May 26, 2025
2e718c1
Lexical: Changed table esacpe handling
ssddanbrown May 26, 2025
d9ea525
Lexical: Fixed issues with recent changes
ssddanbrown May 26, 2025
7650ebf
Deps: Updated composer/npm packages, fixed test namespace
ssddanbrown May 27, 2025
b0f8b11
Comments: Fixed tab focus change & button placement on form usage
ssddanbrown May 28, 2025
b862f12
Lexical: Further improvements to table selection and captions
ssddanbrown May 28, 2025
c5ca865
Lexical: Updated WYSIWYG editor status from alpha to beta
ssddanbrown May 28, 2025
68df43e
Merge pull request #5627 from BookStackApp/lexical_20250525
ssddanbrown May 28, 2025
b71b2a4
Cleanup: Updated deps, fixed test, update issue templates
ssddanbrown May 31, 2025
7f2604c
Updated translations with latest Crowdin changes (#5622)
ssddanbrown May 31, 2025
074f193
Updated translation attribution and licenses before release
ssddanbrown May 31, 2025
5c9b90e
Merge branch 'development' of github.com:BookStackApp/BookStack into …
ssddanbrown May 31, 2025
aac5479
Deps: Bumped composer php package versions
ssddanbrown Jun 13, 2025
fda242d
Lexical: Fixed tiny image resizer on image insert
ssddanbrown Jun 13, 2025
717b516
Lexical: Made table resize handles more efficent & less buggy
ssddanbrown Jun 13, 2025
8b062d4
Lexical: Fixed strange paragraph formatting behaviour
ssddanbrown Jun 13, 2025
77a8861
Lexical: Fixed double-bold text, updated tests
ssddanbrown Jun 14, 2025
8d4b8ff
Lexical: Fixed media resize handling
ssddanbrown Jun 15, 2025
1611b03
Lexical: Added a media toolbar, improved toolbars and media selection
ssddanbrown Jun 15, 2025
b913ae7
Lexical: Media form improvements
ssddanbrown Jun 15, 2025
2d0461b
Merge pull request #5653 from BookStackApp/v25-05-1-lexical
ssddanbrown Jun 17, 2025
0208f06
Comments: Fixed update notification text
ssddanbrown Jun 17, 2025
f518a3b
Search: Updated indexer to handle non-breaking-spaces
ssddanbrown Jun 17, 2025
a5751a5
Updated translations with latest Crowdin changes (#5637)
ssddanbrown Jun 17, 2025
c4839c7
Updated translator & dependency attribution before release v25.05.1
ssddanbrown Jun 17, 2025
3617ab1
Enhance changelog input to textarea with character counter
shresthkapoor7 Jun 19, 2025
3476d83
CommentDisplayTest correct namespace
bumperbox Jun 22, 2025
dfeca24
Merge pull request #5668 from bumperbox/patch-1
ssddanbrown Jun 23, 2025
c606970
Lexical: Started comment implementation
ssddanbrown Jun 24, 2025
b80992c
Comments: Switched to lexical editor
ssddanbrown Jun 25, 2025
02a35b6
Lexical: Added new WYSIWYG to chapter/book/shelf descriptions
ssddanbrown Jun 26, 2025
0544751
Lexical: Added some styling and tweaks for basic editors
ssddanbrown Jun 27, 2025
a37d0c5
Tests: Updated comment test to account for new editor usage
ssddanbrown Jun 27, 2025
dca9765
Customization: Added parent tag classes
ssddanbrown Jun 28, 2025
6045aff
Layout: Improved sidebar sizing, and dropdown consideration
ssddanbrown Jun 30, 2025
9186e77
Layout: Added scroll fade to the sidebars
ssddanbrown Jun 30, 2025
0dcb2ec
Layout: Converted tri-layout component to ts
ssddanbrown Jun 30, 2025
3d01759
Opensearch: Fixed XML declaration when php short tags enabled
ssddanbrown Jul 1, 2025
add0913
Perms: Removed entity perm regen on general update
ssddanbrown Jul 2, 2025
47fd578
Perms: Added transactions around permission effecting actions
ssddanbrown Jul 2, 2025
35a5119
Perms: Fixed some issues made when adding transactions
ssddanbrown Jul 6, 2025
c934b93
PHP: Updated composer packages
ssddanbrown Jul 7, 2025
2be892b
Updated translations with latest Crowdin changes (#5659)
ssddanbrown Jul 7, 2025
f83074d
Languages: Added Nepali as a language option
ssddanbrown Jul 7, 2025
c1d76d2
Updated translations with latest Crowdin changes (#5695)
ssddanbrown Jul 7, 2025
306f41b
Updated translator & dependency attribution before release v25.05.2
ssddanbrown Jul 7, 2025
181ab91
Merge pull request #5681 from BookStackApp/parent_tag_classes
ssddanbrown Jul 9, 2025
d279b08
Merge pull request #5685 from BookStackApp/sidebar_rejig
ssddanbrown Jul 9, 2025
4b9e604
Merge pull request #5676 from BookStackApp/lexical_comments
ssddanbrown Jul 9, 2025
31706ea
Merge pull request #5689 from BookStackApp/permission_table_locking
ssddanbrown Jul 9, 2025
795b281
Readme: Added SiteSpeakAI sponsor
ssddanbrown Jul 14, 2025
2442829
Merge branch 'development' of github.com:BookStackApp/BookStack into …
ssddanbrown Jul 14, 2025
d13abc7
Mail: Removed custom symfony/mailer fork
ssddanbrown Jul 15, 2025
3626a22
Merge branch 'development' of github.com:LM-Nishant/BookStack into LM…
ssddanbrown Jul 18, 2025
d15eb12
API: Initial review pass of zip import/export endpoints
ssddanbrown Jul 18, 2025
d556845
API: Added zip export tests, reorganised tests
ssddanbrown Jul 18, 2025
7302571
ZIP Imports: Added API test cases
ssddanbrown Jul 18, 2025
32ba3a5
ZIP Imports: Added API examples, finished testing
ssddanbrown Jul 18, 2025
e62f442
Merge pull request #5721 from BookStackApp/zip_export_api_endpoints
ssddanbrown Jul 18, 2025
f786d25
Merge branch 'enhance-changelog-textarea' of github.com:shresthkapoor…
ssddanbrown Jul 19, 2025
61f8d18
Changelog: Tweaked spacing, count and element referencing
ssddanbrown Jul 19, 2025
7bbf591
MD Editor: Starting conversion to typescript
ssddanbrown Jul 20, 2025
61adc73
MD Editor: Finished conversion to Typescript
ssddanbrown Jul 20, 2025
ec07793
MD Editor: Started work on input interface
ssddanbrown Jul 21, 2025
5ffec2c
MD Editor: Updated actions to use input interface
ssddanbrown Jul 21, 2025
6b4b500
MD Editor: Added plaintext input implementation
ssddanbrown Jul 21, 2025
d55db06
MD Editor: Added plaintext/cm switching
ssddanbrown Jul 22, 2025
6621d55
MD Editor: Worked to improve/fix positioning code
ssddanbrown Jul 22, 2025
7ca8bdc
MD Editor: Added custom textarea undo/redo, updated positioning methods
ssddanbrown Jul 23, 2025
53f3284
MD Editor: Last tests/check over plaintext use/switching
ssddanbrown Jul 23, 2025
3b9c0b3
MD Editor: Fixed plaintext dark styles, updated npm packages
ssddanbrown Jul 23, 2025
2668aae
TypeScript: Updated compile target, addressed issues
ssddanbrown Jul 23, 2025
0a73b70
Merge pull request #5725 from BookStackApp/md_plaintext
ssddanbrown Jul 23, 2025
5fc19b0
Lexical: Fixed highlight format action, changed label
ssddanbrown Jul 24, 2025
ae4d1d8
Lexical: Table cell bg and format setting fixes
ssddanbrown Jul 24, 2025
865e5ae
Lexical: Source code input changes
ssddanbrown Jul 24, 2025
c54101c
Lexical: Updated URL handling, added mouse handling
ssddanbrown Jul 25, 2025
d145efb
Lexical: Updated tests after link changes
ssddanbrown Jul 25, 2025
c8cfec9
Merge pull request #5731 from BookStackApp/lexical_jul25
ssddanbrown Jul 26, 2025
6d7ffab
Deps: Updated PHP composer dependancy versions, fixed test namespaces
ssddanbrown Jul 27, 2025
4ab1715
API: Added ZIP export endpoint comments
ssddanbrown Jul 30, 2025
8aa6bdc
Updated translator & dependency attribution before release v25.07
ssddanbrown Jul 30, 2025
776ec7b
Updated translations with latest Crowdin changes (#5696)
ssddanbrown Jul 30, 2025
a961552
Commands: Updated create admin comment to accept extra flags
ssddanbrown Aug 5, 2025
2eefbd2
Commands: Added testing for initial admin changes
ssddanbrown Aug 5, 2025
7bc0d54
Readme: Swapped codeclimate reference for custom phpmetrics
ssddanbrown Aug 5, 2025
f36e6fb
Commands: Updated create admin skip return
ssddanbrown Aug 7, 2025
c66f3b2
A11y: Improved tagging of profile menu
ssddanbrown Aug 7, 2025
0bc9ddd
A11y: Updated other dropdown menus with correct tagging
ssddanbrown Aug 7, 2025
fca4a05
Merge pull request #5753 from BookStackApp/a11y_menu_updates
ssddanbrown Aug 8, 2025
f4f2435
Imports: Fixed errors causing user logout on import run
ssddanbrown Aug 8, 2025
e899066
Merge branch 'development' of github.com:BookStackApp/BookStack into …
ssddanbrown Aug 8, 2025
a6b5733
Deps: Updated PHP packages via composer
ssddanbrown Aug 9, 2025
bd966ef
phpstan: Address a range of level 2 issues
ssddanbrown Aug 9, 2025
a2d1312
Testing: Added mail port to testing env options
ssddanbrown Aug 11, 2025
777cca7
Deps: Bumped PHP composer deps again
ssddanbrown Aug 11, 2025
1256b30
Updated translations with latest Crowdin changes (#5740)
ssddanbrown Aug 11, 2025
4830248
Release: Updated licenses and translator attribution
ssddanbrown Aug 11, 2025
a50a256
ZIP Exports: Fixed reference handling for images
ssddanbrown Aug 11, 2025
0311e3d
Readme: Updated sponsor link
ssddanbrown Aug 14, 2025
9443682
Maintenance: Addressed a range of deprecations
ssddanbrown Aug 15, 2025
5c481b4
Testing: Added more deprecation output
ssddanbrown Aug 15, 2025
7c79b10
Imports: Fixed drawing IDs not being updated in content
ssddanbrown Aug 24, 2025
13a79b3
Shelves: Addressed book edits removing non-visible books
ssddanbrown Aug 25, 2025
ee994fa
Testing: Addressed deprecation in test helper
ssddanbrown Aug 25, 2025
849bc4d
Lexical: Improved nested details interaction
ssddanbrown Aug 26, 2025
519acaf
Lexical: Added better selection display for collapisble blocks
ssddanbrown Aug 27, 2025
46613f7
Lexical: Added backspace handling for details
ssddanbrown Aug 27, 2025
f5da310
Lexical: Fixed details tests
ssddanbrown Aug 28, 2025
0436ccf
Updated translations with latest Crowdin changes (#5759)
ssddanbrown Aug 28, 2025
c6e35c2
Merge pull request #5775 from BookStackApp/lexical_aug25
ssddanbrown Aug 28, 2025
955837c
Packages: Upgraded php deps to latest versions
ssddanbrown Aug 28, 2025
481f356
Updated translator & dependency attribution before release v25.07.2
ssddanbrown Aug 28, 2025
d6296ac
Merge pull request #5749 from BookStackApp/admin_command_updates
ssddanbrown Aug 30, 2025
cdbac63
Framework: Updated to Laravel 12
ssddanbrown Aug 30, 2025
64b06bc
Packages: Updated predis
ssddanbrown Aug 30, 2025
a27ce6e
Packages: Updated npm packages
ssddanbrown Aug 30, 2025
5ea4e1e
Maintenance: Removed unused comments text column
ssddanbrown Sep 2, 2025
1e34954
Maintenance: Continued work towards PHPstan level 2
ssddanbrown Sep 2, 2025
cee23de
Maintenance: Reached PHPstan level 2
ssddanbrown Sep 2, 2025
e05ec7d
Maintenance: Addressed a range of phpstan level 3 issues
ssddanbrown Sep 3, 2025
318b486
Maintenance: Finished changes to meet phpstan level 3
ssddanbrown Sep 3, 2025
7d1c316
Maintenance: Updated larastan target level, fixed issues from tests
ssddanbrown Sep 3, 2025
242b7df
Merge pull request #5785 from BookStackApp/phpstan_level2
ssddanbrown Sep 3, 2025
579c1bf
Timezones: Seperated out store & display timezones to two options
ssddanbrown Sep 4, 2025
36cb243
Timezones: Updated date displays to use consistent formats
ssddanbrown Sep 4, 2025
1ac7409
Merge pull request #5790 from BookStackApp/timezones
ssddanbrown Sep 4, 2025
c8716df
Permissions: Removed unused role-perm columns, added permission enum
ssddanbrown Sep 8, 2025
5fc11d4
Permissions: Added enum usage to controller helpers
ssddanbrown Sep 8, 2025
33a0237
Permissions: Updated usage of controller methods to use enum
ssddanbrown Sep 8, 2025
419dbad
Permissions: Updated use of helpers to use enums
ssddanbrown Sep 9, 2025
573d692
Permissions: Fixed check method to allow enum usage
ssddanbrown Sep 10, 2025
a70c733
Permissions: Cleanup after review of enum implementation PR
ssddanbrown Sep 10, 2025
fc10520
Merge pull request #5793 from BookStackApp/role_permission_refactor
ssddanbrown Sep 10, 2025
08dfff0
Sponsors: Updated diagrams.net sponsor level
ssddanbrown Sep 11, 2025
9df3483
merge updates
mpib-jakob Sep 25, 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
  •  
  •  
  •  
26 changes: 23 additions & 3 deletions .env.example.complete
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@ APP_LANG=en
# APP_LANG will be used if such a header is not provided.
APP_AUTO_LANG_PUBLIC=true

# Application timezone
# Used where dates are displayed such as on exported content.
# Application timezones
# The first option is used to determine what timezone is used for date storage.
# Leaving that as "UTC" is advised.
# The second option is used to set the timezone which will be used for date
# formatting and display. This defaults to the "APP_TIMEZONE" value.
# Valid timezone values can be found here: https://www.php.net/manual/en/timezones.php
APP_TIMEZONE=UTC
APP_DISPLAY_TIMEZONE=UTC

# Application theme
# Used to specific a themes/<APP_THEME> folder where BookStack UI
Expand All @@ -56,6 +60,7 @@ APP_PROXIES=null

# Database details
# Host can contain a port (localhost:3306) or a separate DB_PORT option can be used.
# An ipv6 address can be used via the square bracket format ([::1]).
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=database_database
Expand Down Expand Up @@ -215,10 +220,11 @@ 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
Expand Down Expand Up @@ -267,6 +273,7 @@ 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
Expand Down Expand Up @@ -324,6 +331,19 @@ FILE_UPLOAD_SIZE_LIMIT=50
# 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
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/support_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ body:
label: Log Content
description: If the issue has produced an error, provide any [BookStack or server log](https://www.bookstackapp.com/docs/admin/debugging/) content below.
placeholder: Be sure to remove any confidential details in your logs
render: text
validations:
required: false
- type: textarea
Expand Down
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/z_blank_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Blank Request (Maintainers Only)
description: For maintainers only - Start a blank request
body:
- type: markdown
attributes:
value: "**This blank request option is only for existing official maintainers of the project!** Please instead use a different request option. If you use this your issue will be closed off."
- type: textarea
attributes:
label: Description
120 changes: 116 additions & 4 deletions .github/translators.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Kauê Sena (kaue.sena.ks) :: Portuguese, Brazilian
MatthieuParis :: French
Douradinho :: Portuguese, Brazilian; Portuguese
Gaku Yaguchi (tama11) :: Japanese
johnroyer :: Chinese Traditional
Zero Huang (johnroyer) :: Chinese Traditional
jackaaa :: Chinese Traditional
Irfan Hukama Arsyad (IrfanArsyad) :: Indonesian
Jeff Huang (s8321414) :: Chinese Traditional
Expand Down Expand Up @@ -347,7 +347,7 @@ Taygun Yıldırım (yildirimtaygun) :: Turkish
robing29 :: German
Bruno Eduardo de Jesus Barroso (brunoejb) :: Portuguese, Brazilian
Igor V Belousov (biv) :: Russian
David Bauer (davbauer) :: German
David Bauer (davbauer) :: German; German Informal
Guttorm Hveem (guttormhveem) :: Norwegian Nynorsk; Norwegian Bokmal
Minh Giang Truong (minhgiang1204) :: Vietnamese
Ioannis Ioannides (i.ioannides) :: Greek
Expand All @@ -374,7 +374,7 @@ balmag :: Hungarian
Antti-Jussi Nygård (ajnyga) :: Finnish
Eduard Ereza Martínez (Ereza) :: Catalan
Jabir Lang (amar.almrad) :: Arabic
Jaroslav Koblizek (foretix) :: Czech; French
Jaroslav Kobližek (foretix) :: Czech; French
Wiktor Adamczyk (adamczyk.wiktor) :: Polish
Abdulmajeed Alshuaibi (4Majeed) :: Arabic
NotSmartZakk :: Czech
Expand All @@ -389,7 +389,119 @@ Marc Hagen (MarcHagen) :: Dutch
Kasper Alsøe (zeonos) :: Danish
sultani :: Persian
renge :: Korean
TheGatesDev (thegatesdev) :: Dutch
Tim (thegatesdev) :: Dutch; German Informal; French; Romanian; Catalan; Czech; Danish; German; Finnish; Hungarian; Italian; Japanese; Korean; Polish; Russian; Ukrainian; Chinese Simplified; Chinese Traditional; Portuguese, Brazilian; Persian; Spanish, Argentina; Croatian; Norwegian Nynorsk; Estonian; Uzbek; Norwegian Bokmal
Irdi (irdiOL) :: Albanian
KateBarber :: Welsh
Twister (theuncles75) :: Hebrew
algernon19 :: Hungarian
Ivan Krstic (ikrstic) :: Serbian (Cyrillic)
Show :: Russian
xBahamut :: Portuguese, Brazilian
Pavle Knežević (pavleknezzevic) :: Serbian (Cyrillic)
Vanja Cvelbar (b100w11) :: Slovenian
simonpct :: French
Honza Nagy (honza.nagy) :: Czech
asd20752 :: Norwegian Bokmal
Jan Picka (polipones) :: Czech
diogoalex991 :: Portuguese
Ehsan Sadeghi (ehsansadeghi) :: Persian
ka_picit :: Danish
cracrayol :: French
CapuaSC :: Dutch
Guardian75 :: German Informal
mr-kanister :: German
Michele Bastianelli (makoblaster) :: Italian
jespernissen :: Danish
Andrey (avmaksimov) :: Russian
Gonzalo Loyola (AlFcl) :: Spanish, Argentina; Spanish
grobert63 :: French
wusst. (Supporti) :: German
MaximMaximS :: Czech
damian-klima :: Slovak
crow_ :: Latvian
JocelynDelalande :: French
Jan (JW-CH) :: German Informal
Timo B (lommes) :: German Informal
Erik Lundstedt (Erik.Lundstedt) :: Swedish
yngams (younessmouhid) :: Arabic
Ohadp :: Hebrew
cbridi :: Portuguese, Brazilian
nanangsb :: Indonesian
Michal Melich (michalmelich) :: Czech
David (david-prv) :: German; German Informal
Larry (lahoje) :: Swedish
Marcia dos Santos (marciab80) :: Portuguese
Ricard López Torres (richilpez.torres) :: Catalan
sarahalves7 :: Portuguese, Brazilian
petr.husak :: Czech
javadataherian :: Persian
Ludo-code :: French
hollsten :: Swedish
Ngoc Lan Phung (lanpncz) :: Vietnamese
Worive :: Catalan; French
Илья Скаба (skabailya) :: Russian
Irjan Olsen (Irch) :: Norwegian Bokmal
Aleksandar Jovanovic (jovanoviczaleksandar) :: Serbian (Cyrillic)
Red (RedVortex) :: Hebrew
xgrug :: Chinese Simplified
HrCalmar :: Danish
Avishay Rapp (AvishayRapp) :: Hebrew
matthias4217 :: French
Berke BOYLU2 (berkeboylu2) :: Turkish
etwas7B :: German
Mohammed srhiri (m.sghiri20) :: Arabic
YongMin Kim (kym0118) :: Korean
Rivo Zängov (Eraser) :: Estonian
Francisco Rafael Fonseca (chicoraf) :: Portuguese, Brazilian
ИEØ_ΙΙØZ (NEO_IIOZ) :: Chinese Traditional
madnjpn (madnjpn.) :: Georgian
Ásgeir Shiny Ásgeirsson (AsgeirShiny) :: Icelandic
Mohammad Aftab Uddin (chirohorit) :: Bengali
Yannis Karlaftis (meliseus) :: Greek
felixxx :: German Informal
randi (randi65535) :: Korean
test65428 :: Greek
zeronell :: Chinese Simplified
julien Vinber (julienVinber) :: French
Hyunwoo Park (oksure) :: Korean
aram.rafeq.7 (aramrafeq2) :: Kurdish
Raphael Moreno (RaphaelMoreno) :: Portuguese, Brazilian
yn (user99) :: Arabic
Pavel Zlatarov (pzlatarov) :: Bulgarian
ingelres :: French
mabdullah :: Arabic
Skrabák Csaba (kekcsi) :: Hungarian
Evert Meulie (Evert) :: Norwegian Bokmal
Jasper Backer (jasperb) :: Dutch
Alexandar Cavdarovski (ace.200112) :: Swedish
구닥다리TV (yjj8353) :: Korean
Onur Oskay (o.oskay) :: Turkish
Sébastien Merveille (SebastienMerv) :: French
Maxim Kouznetsov (masya.work) :: Hebrew
neodvisnost :: Slovenian
Soubi Agatsuma (bisouya) :: Hebrew
Ilya Shaulov (ishaulov) :: Russian
Konstantin Bobkov (b.konstantv) :: Russian
Ruben Sutter (rubensutter) :: German
jellium :: French
Qxlkdr :: Swedish
Hari (muhhari) :: Indonesian
仙君御 (xjy) :: Chinese Simplified
TapioM :: Finnish
lingb58 :: Chinese Traditional
Angel Pandey (angel-pandey) :: Nepali
Supriya Shrestha (supriyashrestha) :: Nepali
gprabhat :: Nepali
CellCat :: Chinese Simplified
Al Desrahim (aldesrahim) :: Indonesian
ahmad abbaspour (deshneh.dar.diss) :: Persian
Erjon K. (ekr) :: Albanian
LiZerui (iamzrli) :: Chinese Traditional
Ticker (ticker.com) :: Hebrew
CrazyComputer :: Chinese Simplified
Firr (FirrV) :: Russian
João Faro (FaroJoaoFaro) :: Portuguese
Danilo dos Santos Barbosa (bozochegou) :: Portuguese, Brazilian
Chris (furesoft) :: German
Silvia Isern (eiendragon) :: Catalan
Dennis Kron Pedersen (ahjdp) :: Danish
10 changes: 5 additions & 5 deletions .github/workflows/analyse-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
extensions: gd, mbstring, json, curl, xml, mysql, ldap

- name: Get Composer Cache Directory
Expand All @@ -27,10 +27,10 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache composer packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-8.1
key: ${{ runner.os }}-composer-8.3
restore-keys: ${{ runner.os }}-composer-

- name: Install composer dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ on:
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Install NPM deps
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
tools: phpcs

- name: Run formatting check
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/test-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test-js

on:
push:
paths:
- '**.js'
- '**.ts'
- '**.json'
pull_request:
paths:
- '**.js'
- '**.ts'
- '**.json'

jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Install NPM deps
run: npm ci

- name: Run TypeScript type checking
run: npm run ts:lint

- name: Run JavaScript tests
run: npm run test
8 changes: 4 additions & 4 deletions .github/workflows/test-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ on:
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
php: ['8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -32,7 +32,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache composer packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ on:
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
php: ['8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -32,7 +32,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache composer packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/node_modules
/.vscode
/composer
/coverage
Homestead.yaml
.env
.idea
Expand Down Expand Up @@ -31,3 +32,4 @@ webpack-stats.json
phpstan.neon
esbuild-meta.json
.phpactor.json
/*.zip
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2023, Dan Brown and the BookStack Project contributors.
Copyright (c) 2015-2025, Dan Brown and the BookStack project contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading