Dan Brown
2e718c12e1
Lexical: Changed table esacpe handling
...
Avoids misuse of selectPrevious/Next as per prior commit which was then
causing problems elsewhere, and is probably best to avoid creation in
those select methods anyway.
2025-05-26 18:47:51 +01:00
Dan Brown
a43a1832f5
Lexical: Added image insert via image link paste
...
Specifically added to align with existing TinyMCE behaviour which was
used by some users based upon new editor feedback.
2025-05-26 18:02:53 +01:00
Dan Brown
c4f7368c1c
Lexical: Fixed table column resizing changes not appearing
...
Also fixed some resizer zindex issues.
2025-05-26 15:19:11 +01:00
Dan Brown
2a32475541
Lexical: Made a range of selection improvements
...
Updated up/down handling to create where a selection candidate does not
exist, to apply to a wider scenario via the selectPrevious/Next methods.
Updated DOM selection change handling to identify single selections
within decorated nodes to select them in full, instead of losing
selection due to partial selection of their contents.
Updated table selection handling so that our colgroups are ignored for
internal selection focus handling.
2025-05-26 14:51:03 +01:00
Dan Brown
1243108e0f
Lexical: Updated dropdown handling to match tinymce behaviour
...
Now toolbars stay open on mouse-out, and close on other toolbar open,
outside click or an accepted action.
To support:
- Added new system to track and manage open dropdowns.
- Added way for buttons to optionally emit events upon actions.
- Added way to listen for events.
- Used the above to control when dropdowns should hide on action, since
some dont (like overflow containers and split dropdown buttons).
2025-05-25 16:28:42 +01:00
Dan Brown
3280919370
Lexical: Improved diagram selection and keyboard usage
...
Fixes issues where drawings could not be removed via backspace or
delete.
2025-05-25 13:21:13 +01:00
Dan Brown
d149b809b1
Merge pull request #5626 from BookStackApp/rubentalstra-development
...
Review of #5429 , OIDC avatar fetching
2025-05-24 18:14:18 +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
9d6bc1ad4d
Testing: Updated tests to account for recent page redirect changes
2025-05-24 16:47:01 +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
131ac29df4
Images: Added testing to cover animated avif handling
2025-05-23 17:19:34 +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
cdd446ac73
Updated translations with latest Crowdin changes ( #5608 )
2025-05-17 12:04:25 +01:00
Dan Brown
1dd1024eba
Merge pull request #5609 from BookStackApp/5605-folder-permissions
...
Images: Updated local disk to have open dir perms
2025-05-17 11:49:44 +01:00
Dan Brown
752cfe2f67
CLI: Updated CLI with fixes
...
- Updated php packages
- Added escaping for mysql options
2025-05-17 11:47:33 +01:00
Dan Brown
25baaa8189
Deps: Updated composer packages
2025-05-17 11:40:58 +01:00
Dan Brown
d2d0331782
Readme: Replaced discord/mastodon links, reformatted badges
2025-05-14 23:15:46 +01:00
Dan Brown
8121418e18
Readme: Added phamos as sponsor
2025-05-14 22:35:59 +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
0e69ab1938
API: Added test to cover system info endpoint
2025-05-13 20:46:11 +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
32b29fcdfc
Comments: Fixed pointer display, Fixed translation test
2025-05-13 12:03:15 +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
f8c0aaff03
Comments: Checked content/arhived comment styles in dark mode
...
Also added default non-clickable styles for scenarios for references
which don't have an active content link.
2025-05-09 14:17:04 +01:00
Dan Brown
a27df485bb
Comments: Fixed display, added archive list support for editor toolbox
2025-05-09 12:14:28 +01:00
Dan Brown
3e99ce4098
Deps: Updated PHP packages
...
Mainly to update termwind which was causing issues for users on Arch
where a more recent libxml version was in use.
2025-05-08 15:53:25 +01:00
Dan Brown
ce1e20501c
Updated translator & dependency attribution before release v25.02.3
2025-05-05 18:14:18 +01:00
Dan Brown
295532fa7a
Deps: Updated PHP packages
2025-05-05 18:09:49 +01:00
Dan Brown
642ba668b1
Merge pull request #5601 from BookStackApp/file_permissions
...
Images: Changed how new image permissions are set
2025-05-05 12:54:40 +01:00
Dan Brown
4f36cdd757
Updated translations with latest Crowdin changes ( #5566 )
2025-05-05 12:24:12 +01:00
Dan Brown
8821844c4a
Exports: Fixed CSS file BOM mark breaking CSS variables in exports
...
Adds a dummy CSS rule to break as the first rule, instead of our
:root variables.
Fixes #5576
2025-05-05 12:21:32 +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
c82fa33210
Comments: Further range of content reference ux improvements
...
- Added reference indicator to comment create form.
- Added remove action.
- Extracted reference text to translations.
- Changed reference hash to be text-based instead of HTML based.
- Added reference display for newly added comments.
- Handled reference marker delete on comment delete.
2025-05-01 17:22:12 +01:00
Dan Brown
15c79c38db
Comments: Addressed a range of edge cases and ux issues for references
...
Handles only display and handling references when they're in the active
tab, while handling proper removal when made not visible.
2025-05-01 16:33:42 +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
Dan Brown
e8f44186a8
Comments: Split out page comment reference logic to own component
...
Started support for editor view.
Moved comment elements to be added relative to content area instad of
specific target reference element.
Added relocating on screen size change.
2025-04-27 16:51:24 +01:00
Dan Brown
ecda4e1d6f
Comments: Added reference marker to comments
2025-04-26 21:05:54 +01:00
Dan Brown
f656a82fe7
Comments: Styled content comments & improved interaction
2025-04-24 13:21:23 +01:00
Dan Brown
5bfba281fc
Comments: Started inline comment display windows
2025-04-21 14:04:41 +01:00
Dan Brown
18ede9bbd3
Comments: Added inline comment marker/highlight logic
2025-04-19 14:07:52 +01:00