Dan Brown
cdbac63b40
Framework: Updated to Laravel 12
2025-08-30 11:10:11 +01:00
Dan Brown
d6296ac7a5
Merge pull request #5749 from BookStackApp/admin_command_updates
...
Create Admin Command: New Flags
2025-08-30 10:47:14 +01:00
Dan Brown
13a79b3f96
Shelves: Addressed book edits removing non-visible books
...
Tracks the non-visible existing books on change, to retain as part of
the assigned books sync.
Added test to cover.
For #5728
2025-08-25 14:17:55 +01:00
Dan Brown
7c79b10fb6
Imports: Fixed drawing IDs not being updated in content
...
Would leave imported content with inaccessible images in many cases (or
wrong references) although the drawing was still being uploaded &
related to the page.
Added test to cover.
For #5761
2025-08-24 14:02:21 +01:00
Dan Brown
9443682ae4
Maintenance: Addressed a range of deprecations
...
Updated deps to address deprecations fixed in newer Laravel framework
version.
2025-08-15 12:20:35 +01:00
Dan Brown
a50a256939
ZIP Exports: Fixed reference handling for images
...
Recent changes could mean missed references for images in non-page
locations. This fixes that, and tries to ensure images are used if we
already have a page-based image as part of the ZIP, otherwise ensure we
have a page as part of the export to attach the image to.
2025-08-11 14:19:48 +01:00
Dan Brown
bd966ef99e
phpstan: Address a range of level 2 issues
2025-08-09 11:09:50 +01:00
Dan Brown
f4f2435856
Imports: Fixed errors causing user logout on import run
...
Fixes #5754
2025-08-08 17:43:58 +01:00
Dan Brown
f36e6fb929
Commands: Updated create admin skip return
...
Return status for skipped --initial creation will now return 2, so that
it can be identified seperate from a creation and from an error.
2025-08-07 13:16:49 +01:00
Dan Brown
2eefbd21c1
Commands: Added testing for initial admin changes
...
- Also changed first-admin to initial.
- Updated initial handling to not require email/name to be passed, using
defaults instead.
- Adds missing existing email use check.
2025-08-05 16:43:06 +01:00
Dan Brown
a961552c23
Commands: Updated create admin comment to accept extra flags
...
Added flags to target changes to the first default admin user, and to
generate a password.
This is related to #4575 .
2025-08-05 13:39:30 +01:00
Dan Brown
4ab17157b1
API: Added ZIP export endpoint comments
2025-07-30 09:13:58 +01:00
Dan Brown
32ba3a591f
ZIP Imports: Added API examples, finished testing
...
Also updated some types on a couple of controllers.
2025-07-18 16:19:14 +01:00
Dan Brown
73025719a4
ZIP Imports: Added API test cases
2025-07-18 14:05:32 +01:00
Dan Brown
d15eb129b0
API: Initial review pass of zip import/export endpoints
...
Review of #5592
2025-07-18 09:54:49 +01:00
Dan Brown
3626a2265b
Merge branch 'development' of github.com:LM-Nishant/BookStack into LM-Nishant-development
2025-07-18 09:19:32 +01:00
Dan Brown
d13abc7e1d
Mail: Removed custom symfony/mailer fork
...
Moved to standard symfony mailer now that my patches have been
upstreamed. This changes the config to work with the symfony option,
following the same overall logic.
Also updated testing to allow test runs via mulitple custom env options.
Closes #5636
2025-07-15 15:24:31 +01:00
Dan Brown
31706ea06b
Merge pull request #5689 from BookStackApp/permission_table_locking
...
Better parallel permission gen handling
2025-07-09 18:02:15 +01:00
Dan Brown
4b9e6042d5
Merge pull request #5676 from BookStackApp/lexical_comments
...
New WYSIWYG editor for comments & descriptions
2025-07-09 18:01:25 +01:00
Dan Brown
181ab91b1d
Merge pull request #5681 from BookStackApp/parent_tag_classes
...
Parent tag classes
2025-07-09 17:58:13 +01:00
Dan Brown
f83074d50e
Languages: Added Nepali as a language option
2025-07-07 14:43:21 +01:00
Dan Brown
35a51197ce
Perms: Fixed some issues made when adding transactions
2025-07-06 22:52:06 +01:00
Dan Brown
47fd578edb
Perms: Added transactions around permission effecting actions
2025-07-02 22:25:59 +01:00
Dan Brown
add091305c
Perms: Removed entity perm regen on general update
...
Should not be needed here as this is not directly used for information
which should impact permissions.
Been through uses to ensure that this is the case.
2025-07-02 12:15:25 +01:00
Dan Brown
dca9765d5d
Customization: Added parent tag classes
...
For #5217
2025-06-28 22:27:28 +01:00
Dan Brown
b80992ca59
Comments: Switched to lexical editor
...
Required a lot of changes to provide at least a decent attempt at proper
editor teardown control.
Also updates HtmlDescriptionFilter and testing to address issue with bad
child iteration which could lead to missed items.
Renamed editor version from comments to basic as it'll also be used for
item descriptions.
2025-06-25 14:16:01 +01:00
Dan Brown
f518a3be37
Search: Updated indexer to handle non-breaking-spaces
...
Related to #5640
2025-06-17 14:00:13 +01:00
Dan Brown
eb47e11916
Avatars: Added redirect handling image fetching
...
Up to 3 times.
Can be needed based upon testing with Auth0.
Should be fine as long as it's something clearly documented.
Added test to cover.
2025-05-24 18:07:25 +01:00
Dan Brown
30bf0ce632
OIDC: Updated avatar fetching to run on each login
...
But only where the user does not already have an avatar assigned.
This aligns with the LDAP avatar fetching logic.
2025-05-24 16:34:36 +01:00
Dan Brown
b64c9b31d5
OIDC: Added testing coverage for picture fetching
2025-05-24 14:36:36 +01:00
Dan Brown
f9dbbe5d70
OIDC: Updated picture fetch implementation during review
...
Review of #5429
2025-05-24 14:02:37 +01:00
Dan Brown
05f7f4cb17
Merge branch 'development' of github.com:rubentalstra/BookStack into rubentalstra-development
2025-05-24 13:28:23 +01:00
Dan Brown
454b152b95
Pages: Redirect user to view if they can't edit
...
For #5568
2025-05-24 12:05:17 +01:00
Dan Brown
b29fe5c46d
Merge pull request #5625 from BookStackApp/avif_images
...
AVIF image support
2025-05-23 17:30:24 +01:00
Dan Brown
3a9d18a6cd
Images: Added base avif support
...
Includes handling for animated avif images like apng.
2025-05-23 16:12:03 +01:00
Dan Brown
59e2c5e52a
Merge pull request #5607 from BookStackApp/system_info_endpoint
...
API: System info endpoint
2025-05-22 17:31:32 +01:00
Dan Brown
d29b14ebfd
Merge pull request #5584 from BookStackApp/content_comments
...
Content Comments
2025-05-22 16:58:36 +01:00
Dan Brown
5ab31a8191
Images: Updated local disk to have open dir perms
...
Closes #5605
2025-05-14 18:15:20 +01:00
Dan Brown
058007109e
API: Added system read endpoint
...
Standardised logic for reading app version to its own static class.
2025-05-13 20:38:08 +01:00
Dan Brown
8f92b6f21b
Comments: Fixed a range of TS errors + other
...
- Migrated toolbox component to TS
- Aligned how custom event types are managed
- Fixed PHP use of content_ref where not provided
2025-05-12 15:31:55 +01:00
Dan Brown
62f78f1c6d
Comments: Split tests, added extra archive/reference tests
2025-05-12 14:26:09 +01:00
Dan Brown
1262083fcf
Images: Changed how new image permissions are set
...
Removed default public visibility for images at the driver level,
leaving only doing this as a specific action in the logic.
Added try/catch around permission setting so that
permission-incompatible environments won't fatally fail, but instead
log a warning.
Tested via a google cloud storage bucket FUSE mount, mounted under another
user but with open 777 permissions.
Related to #5269
2025-05-03 20:30:50 +01:00
Dan Brown
e7dcc2dcdf
Comments: Moved to tab UI, Converted tabs component to ts
2025-04-30 17:42:09 +01:00
Dan Brown
099f6104d0
Comments: Started archive display, created mode for tree node
2025-04-28 20:09:18 +01:00
Dan Brown
8bdf948743
Comments: Added archive endpoints, messages, Js actions and tests
2025-04-28 15:37:09 +01:00
nchoudhary@logicmines.in
5fa728f28a
Develop functionality to import ZIP files. Create an API controller and define a route entry for handling the import process. Implement logic to read the list of files within the ZIP, process the directory structure, and automatically create associated pages, chapters, and books based on the ZIP file's contents.
2025-04-25 12:48:34 +05:30
nchoudhary@logicmines.in
c61ce8dee4
Implement functionality to export a book, along with its pages and chapters, as a ZIP file.
2025-04-25 12:45:09 +05:30
Dan Brown
5e3c3ad634
Comments: Added back-end content reference handling
...
Also added archived property, to be added.
2025-04-18 21:13:49 +01:00
Dan Brown
1ba0d26fdd
Sort Rules: Updated name comparison to not ignore non-ascii chars
...
Related to #5550 and #5542
2025-04-02 15:17:17 +01:00
Bernardo Campos
abe7467ae5
Fix issue BookStackApp#5542 Sorting by name
2025-03-23 12:29:29 -03:00