Dan Brown
7c3a4c7e85
Updated version and assets for release v25.12
2025-12-24 12:16:49 +00:00
Dan Brown
114fa802c0
Merge branch 'development' into release
2025-12-24 12:16:04 +00:00
Dan Brown
38d3697246
Updated translations with latest Crowdin changes ( #5933 )
2025-12-24 11:52:56 +00:00
Dan Brown
d93354ff0e
Updated licenses and translation attribution pre v25.12
2025-12-24 11:51:37 +00:00
Dan Brown
3336e0c6ae
Deps: Updated PHP packages via composer
2025-12-24 11:48:42 +00:00
Dan Brown
8fc9a2af4e
Lexical API: Updated docs to reflect public event usage
2025-12-23 18:33:54 +00:00
Dan Brown
8aec571123
Mentions: Fixed some users not showing in mention selector
2025-12-21 18:33:50 +00:00
Dan Brown
382f4db276
Merge pull request #5956 from BookStackApp/system_cli_update_dec25
...
System CLI: Update to v0.4
2025-12-20 15:48:59 +00:00
Dan Brown
d504b19143
System CLI: Update to v0.4
...
- The init & update commands will now use download-vendor logic instead
of using composer to install required PHP packages.
- The init command will now use our source.bookstackapp.com git mirror
instead of GitHub.
- Updated depenancy PHP package versions.
2025-12-20 15:46:15 +00:00
Dan Brown
d87e8d05c7
Merge pull request #5939 from BookStackApp/lexical_fixes_2512
...
Lexical fixes for v25.12
2025-12-20 14:05:30 +00:00
Dan Brown
0b48361780
Search: Fixed pagination not considering sub-paths
...
For #5951
Added test to cover.
2025-12-19 15:15:23 +00:00
Dan Brown
2de3247ae4
Deps: Updated PHP package versions
...
Includes major version change of antonioribeiro/google2fa which changes
secret length. From manual testing of old MFA secrets and new, this
should not be breaking at all.
2025-12-19 14:22:27 +00:00
Dan Brown
48df2be0d8
DB: Added views->viewable_type index
...
For #5948
2025-12-19 10:54:09 +00:00
Dan Brown
a4c0556551
Merge pull request #5952 from gerundt/iis-module-link
...
Update "Microsoft URL Rewrite Module for IIS" download link
2025-12-19 10:24:22 +00:00
Dan Brown
a941d1b403
Comment mentions: Fixed CI and test scenarios
2025-12-18 17:40:05 +00:00
Dan Brown
51f9b63db0
Comment Mentions: Fixed and tweaks during review of changes
...
- Added advisory on role permission form to advise which allow listing
of users/roles.
- Updated database config to avoid PHP8.5 deprecation.
- Tweaked migration to remove unused index.
- Fixed test namespace.
2025-12-18 17:15:29 +00:00
Dan Brown
90fc02c57f
Esbuild & Mentions: Updated interaction stability and build system
...
- Updated esbuild system to be module, and fixed build command.
- Reverted module use in package.json by default as this impacted test
runs/files.
- Updated mention user select:
- To look better in dark mode.
- To not remove text after on select.
- To properly revert/restore focus on enter or cancel.
2025-12-17 21:11:01 +00:00
Tim Gerundt
4aeb571126
Update "Microsoft URL Rewrite Module for IIS" download link
2025-12-17 15:11:29 +01:00
Dan Brown
3d9aba7b1f
Mentions: Added coverage for mentions search endpoint
2025-12-17 13:48:20 +00:00
Dan Brown
48cdaab690
Comment Mentions: Added tests to cover back-end functionality
2025-12-17 10:49:12 +00:00
Dan Brown
4f760479c3
Merge branch 'development' into comment_mentions
2025-12-17 09:58:27 +00:00
Dan Brown
9211062e8e
Merge pull request #5919 from BookStackApp/v25-11
...
Merge v25-11 changes into dev
2025-12-17 09:57:49 +00:00
Dan Brown
221c6c7e9f
Comment Mentions: Added core back-end logic
...
- Added new user notification preference, opt-in by default
- Added parser to extract mentions from comment HTML, with tests to
cover.
- Added notification and notification handling
Not yet tested, needs testing coverage.
2025-12-17 09:57:14 +00:00
Dan Brown
e2f91c2bbb
Comment Mentions: Added keyboard nav, worked on design
2025-12-14 17:19:08 +00:00
Dan Brown
147ff00c7a
JS: Swapped livereload lib for esbuild livereload setup
2025-12-14 16:25:19 +00:00
Dan Brown
1e768ce33f
Lexical: Changed mention to be a decorator node
...
Allows better selection.
Also updated existing decorator file names to align with classes so
they're easier to find.
Also aligned/fixed decorator constuctor/setup methods.
2025-12-13 17:03:48 +00:00
Dan Brown
8fcd3b24b3
Updated version and assets for release v25.11.6
2025-12-09 21:01:26 +00:00
Dan Brown
ce703403c2
Merge branch 'v25-11' into release
2025-12-09 21:00:25 +00:00
Dan Brown
313326b32a
Updated translator & dependency attribution before release v25.11.6
2025-12-09 20:59:57 +00:00
Dan Brown
1d87b513be
Deps: Updated PHP package versions
2025-12-09 20:40:48 +00:00
Dan Brown
9bf9ae9c37
Mentions: Added new endpoint, Built editor list display
2025-12-09 16:56:34 +00:00
Dan Brown
50540e23a1
Lexical: Created mention node, started mention service, split comment editor out
2025-12-08 15:52:21 +00:00
Dan Brown
3e1b0587ec
Lexical: Fixed undefined entity selector value
...
Also added pre-fill of selector search based on selected text range.
2025-12-07 15:07:08 +00:00
Dan Brown
6661ae8178
Lexical: Improved focus control for popup modal forms
...
Now moves focus to first field on open, and restores focus back to
editor on submit/close.
2025-12-07 15:02:06 +00:00
Dan Brown
1ee5711435
Pagination: Fixed lack of responsiveness causing overflow
...
For #5920
2025-12-07 13:09:50 +00:00
Dan Brown
08e7ba7064
Images: Made resize errors log with error detail
...
Closes #5869
2025-12-07 12:54:57 +00:00
Dan Brown
34e747162f
Testing: Fixed some incorrect test case names
2025-12-06 23:24:33 +00:00
Dan Brown
10f5ceee35
List page settings: Review of #5606
...
Updated setting display to show mulitple number inputs under one heading
group.
Updated settings to use general number field form view template.
Updated translations to match display changes, and to advise on counts.
Added page count control for search results.
Added setting service method, to get settings as integers, with
min/max/default control.
Updating sorting group to be names "Lists & Sorting".
Added tests to cover.
2025-12-06 23:10:54 +00:00
Dan Brown
9886bbd3a0
Merge branch 'feature/pagination_settings' of github.com:Xenoamor/BookStack into Xenoamor-feature/pagination_settings
2025-12-06 21:47:13 +00:00
Dan Brown
92a3c22b4c
Merge pull request #5928 from BookStackApp/lexical_dev_api
...
Initial developer API for WYSIWYG editor
2025-12-06 15:32:47 +00:00
Dan Brown
b5246a28f0
Lexical API: Updated docs to align method format
2025-12-06 15:18:28 +00:00
Dan Brown
ab4b1c8efa
Lexical API: Reviewed docs, Made toolbar its own UI class
2025-12-05 14:44:19 +00:00
Dan Brown
8890746278
Lexical API: Added public event to access editor API
...
Updated documentation to match.
Ran manual testing of examples.
2025-12-05 14:07:24 +00:00
Dan Brown
dfdcfcfdb8
Lexical API: Added content module, testing and documented
2025-12-05 12:15:18 +00:00
Dan Brown
ebceba0afe
Lexical API: Started working on docs format and jest testing
2025-12-04 21:13:17 +00:00
Dan Brown
16110273ff
Updated version and assets for release v25.11.5
2025-12-03 14:49:20 +00:00
Dan Brown
93bcbd168e
Merge branch 'v25-11' into release
2025-12-03 14:32:56 +00:00
Dan Brown
65f7b61c1f
Sessions: Ignored extra meta/dist content in history tracking
...
For #5925
Added tests to cover.
Extracted existing test to place with similiar sessions tests
2025-12-03 14:10:09 +00:00
Dan Brown
2fde803c76
Deps: Updated PHP package versions
...
Needed to update some tests due to charset casing change in Symfony 7.4
2025-12-03 13:55:00 +00:00
Dan Brown
adfac3e30e
OIDC: Updated state handling to prevent loss from other requests
...
Which was occuring in chrome, where background requests to the PWA
manifest, or opensearch, endpoint caused OIDC to fail due to lost state
since it was only flashed to the session.
This persists it with a manual TTL.
Added tests to cover.
Manually tested against Azure.
For #5929
2025-12-03 13:34:00 +00:00
Dan Brown
21730aeb39
Sponsors: Tweaked logo sizing
2025-12-02 18:48:21 +00:00
Dan Brown
75231d2d4a
Sponsors: Added Admin Intelligence
2025-12-02 18:46:36 +00:00
Dan Brown
9d732d8dd8
Lexical: Started dev API outline
2025-11-30 17:02:17 +00:00
Dan Brown
9e8088f186
JS: Bumped up JS package versions, and node version
2025-11-30 15:07:23 +00:00
Dan Brown
cf847974d2
Merge pull request #5917 from BookStackApp/copy_references
...
Internal reference handling on content copying
2025-11-29 20:50:05 +00:00
Dan Brown
3cd3e73f60
Copying: Fixed issue with non-page links to page permalinks
...
Found during manual testing.
Added test case to cover.
2025-11-29 20:35:16 +00:00
Dan Brown
bb350639c6
Styles: Made non-active dark/light css variables exist by default
...
This means that it would be possible to jump between light/dark mode
with just the class, and no reload needed.
Not something we'll directly use right now, but may be useful in
customizations.
2025-11-27 21:56:45 +00:00
Dan Brown
46001d61d0
Updated version and assets for release v25.11.4
2025-11-25 22:23:36 +00:00
Dan Brown
8dd238ceae
Updated version and assets for release v24.11.4
2025-11-25 21:48:32 +00:00
Dan Brown
bb7fd59de9
Merge branch 'v25-11' into release
2025-11-25 21:47:21 +00:00
Dan Brown
9de294343d
Notifications: Fixed error on comment notification
...
Fixes an error where a used relation (entity) on the comment was
resulting in null due to eager loading the notification when
deserializing from the queue, where Laravel was then mis-matching the
names when performing the eager loading.
For #5918
2025-11-25 21:08:45 +00:00
Dan Brown
98a09bcc37
Deps: Updated PHP packages
2025-11-25 19:55:22 +00:00
Dan Brown
959981a676
Copying: Added logic to find & update references
2025-11-25 17:52:26 +00:00
Dan Brown
674bb84fac
Copying: Added reference change context tracking
...
Added core wiring in the cloning logic, just need to implement core
logic in the updater now.
2025-11-25 14:46:36 +00:00
Dan Brown
ba675b6349
Copying: Added tests to cover copy self-references
...
Logic to make tests pass to follow
2025-11-25 13:52:36 +00:00
Dan Brown
f073994bc3
Testing: Extracted copy tests to their own class
2025-11-25 12:36:33 +00:00
Dan Brown
0f40aeb0d3
Merge pull request #5913 from BookStackApp/slug_history
...
Slug History Tracking & Usage
2025-11-24 20:29:44 +00:00
Dan Brown
cdd164e3e3
Slugs: Added test to cover history lookup permission usage
2025-11-24 20:04:55 +00:00
Dan Brown
c90816987c
Slugs: Rolled out history lookup to other types
...
Added testing to cover.
Also added batch recording of child slug pairs on book slug changes.
2025-11-24 19:49:34 +00:00
Dan Brown
dd393691b1
Slugs: Added lookup system using history
...
Switched page lookup to use this.
2025-11-24 13:55:11 +00:00
Dan Brown
dd5375f480
Slugs: Fixed storage bugs, added testing coverage
2025-11-24 10:46:24 +00:00
Dan Brown
291a807d98
Slugs: Added slug recording at points of generation
...
Also moved some model-level helpers, which used app container
resolution, to be injected services instead.
2025-11-23 23:29:30 +00:00
Dan Brown
e64fc60bdf
Slugs: Created history table to track changes
2025-11-23 16:50:37 +00:00
Dan Brown
ad582ab9f8
DB testing: Prevented caching during build
...
To prevent re-using code when re-run for same branch.
2025-11-22 12:40:30 +00:00
Dan Brown
870f3c58c0
DB Testing: Updated supported DB list, added readme
...
Also fixed potentally flaky GIf test to be more accurate with single
frame GIF images.
2025-11-22 12:24:36 +00:00
Dan Brown
ad8fc95521
Updated version and assets for release v25.11.3
2025-11-21 14:02:09 +00:00
Dan Brown
cca066a258
Merge branch 'development' into release
2025-11-21 14:01:06 +00:00
Dan Brown
22a7772c3d
Env: Added storage type to default example env
...
Provides greater consideration to the storage type used and the fact
that it'll place images in public space by default.
2025-11-21 13:57:38 +00:00
Dan Brown
9934f85ba9
Deps: Updated PHP packages via composer
2025-11-21 13:42:50 +00:00
Dan Brown
73c6bf4f8d
Images: Updated access to consider public secure_restricted
...
Had prevented public access for images when secure_restricted images was
enabled (and for just secure images) when app settings allowed public
access.
This considers the app public setting, and adds tests to cover extra
scenarios to prevent regression.
2025-11-21 12:09:25 +00:00
Dan Brown
bbda5fd468
Updated version and assets for release v25.11.2
2025-11-19 15:10:15 +00:00
Dan Brown
8429cc93eb
Merge branch 'development' into release
2025-11-19 15:09:02 +00:00
Dan Brown
47f12cc8f6
Maintenance: Fixed type issue, updated translator list
2025-11-19 14:38:35 +00:00
Dan Brown
b2f81f5c62
New translations common.php (Albanian) ( #5887 )
2025-11-19 14:37:04 +00:00
Dan Brown
1be2969055
Dev: Set timezone for test DB creation, added PHP 8.5 to tests
...
Also fixed some test namespaces
Related to #5881
2025-11-18 19:50:09 +00:00
Dan Brown
99a1d82f0a
Deps: Updated PHP package versions
...
Also updated dev version
2025-11-18 18:36:11 +00:00
Dan Brown
f06a6de2e7
Merge pull request #5899 from BookStackApp/zip_image_handling
...
Exports: Updated perm checking for images in ZIP exports
2025-11-18 18:27:38 +00:00
Dan Brown
aaa28186bc
Exports: Updated perm checking for images in ZIP exports
...
For #5885
Adds to, uses and cleans-up central permission checking in ImageService
to mirror that which would be experienced by users in the UI to result
in the same image access conditions.
Adds testing to cover.
2025-11-18 14:19:46 +00:00
Dan Brown
fef61f054a
Updated version and assets for release v25.11.1
2025-11-11 12:17:44 +00:00
Dan Brown
8082c95ec3
Merge branch 'development' into release
2025-11-11 12:15:16 +00:00
Dan Brown
8ab9252f9b
DB: Added extra query tests, updated db-testing scripts
...
Also added skipping to avif tests for environments where GD does not
have built-in AVIF support
2025-11-11 11:23:16 +00:00
Dan Brown
befc645705
DB: Added initial DB testing docker-based script
2025-11-11 10:24:56 +00:00
Dan Brown
4eb4407ef7
DB: Updated entity scope to use models dynamic table
...
This was hardcoded since the table was always the same, but in some
cases Laravel will auto-alias the table name (for example, when in
sub-queries) which will break MySQL 5.7 when the scope attempts to use
the table name instead of the alias.
Needs testing coverage.
For #5877
2025-11-10 19:57:18 +00:00
Dan Brown
fcabf478de
Updated version and assets for release v25.11
2025-11-09 12:52:34 +00:00
Dan Brown
8de2c28497
Merge branch 'development' into release
2025-11-09 12:51:26 +00:00
Dan Brown
5bf2d801cf
Notifications: Fixed attempted null usage issue where int expected
2025-11-09 11:39:38 +00:00
Dan Brown
1421ba871d
Updated translator & dependency attribution before release v25.11
2025-11-09 10:52:09 +00:00
Dan Brown
563828ba52
Updated translations with latest Crowdin changes ( #5843 )
2025-11-02 14:41:16 +00:00
Dan Brown
d40a68b411
API: Re-ordered routes, Improved navigation
...
Updated route order to follow some kind of logic.
Updated scrolling sidebar to not be so cut-off in various scenarios.
Added new nav helper to quick jump to specific API models.
Closes #5865
2025-11-02 14:31:08 +00:00
Dan Brown
4a57933cd1
Deps: Updated PHP composer packages
2025-11-02 13:11:38 +00:00
Dan Brown
1df850ea3e
Search: Fixed formatting timeout with many term occurrences
...
For #5863
2025-10-31 15:55:45 +00:00
Dan Brown
7881bddce0
Merge pull request #5860 from BookStackApp/api_image_data_endpoint
...
API: Added endpoints for reading image data
2025-10-31 13:48:54 +00:00
Dan Brown
02d024aa32
API: Added endpoints for reading image data
2025-10-29 18:17:51 +00:00
Dan Brown
652124abaf
Merge pull request #5854 from BookStackApp/efficient_search
...
Pagable and efficient search
2025-10-29 13:12:52 +00:00
Dan Brown
751934c84a
Search: Tested changes to single-table search
...
Updated filters to use single table where needed.
2025-10-29 12:59:34 +00:00
Dan Brown
3fd25bd03e
Search: Added pagination, updated other search uses
...
Also updated hydrator to be created via injection.
2025-10-28 20:37:41 +00:00
Dan Brown
f0303de2e5
Search: Improved result hydration performance
2025-10-27 18:02:54 +00:00
Dan Brown
0b26573314
Search: Started work to make search result size consistent
2025-10-27 17:23:15 +00:00
Dan Brown
c21c36e2a6
Merge pull request #5850 from BookStackApp/comments_api
...
API: Started building comments API endpoints
2025-10-24 15:26:55 +01:00
Dan Brown
a949900570
API: Added examples for comments
...
Tweaked comment repo to avoid returning a lot of extra data on API
update responses.
2025-10-24 15:14:25 +01:00
Dan Brown
9c4a9225af
Comments API: Addressed failing tests and static testing
2025-10-24 14:22:53 +01:00
Dan Brown
4627dfd4f7
API: Added comment tree to pages-read endpoint
...
Includes tests to cover
2025-10-24 10:18:52 +01:00
Dan Brown
fcacf7cacb
API: Built out tests for comment API endpoints
2025-10-23 16:52:29 +01:00
Dan Brown
cbf27d70c8
API: Added comment CUD endpoints, drafted tests
...
Move some checks and made some tweaks to the repo to support consistency
between API and UI.
2025-10-23 10:21:33 +01:00
Dan Brown
3ad1e31fcc
API: Added comment-read endpoint, added api docs section descriptions
2025-10-22 18:44:49 +01:00
Dan Brown
082dbc9944
API: Started building comments API endpoints
2025-10-22 14:58:29 +01:00
Dan Brown
abe9c1e5a3
API Docs: Updated link to archived GitHub repo
...
Closes #5813
2025-10-22 14:29:02 +01:00
Dan Brown
ebf82617b8
Code: Added groovy syntax highlighting
...
For #5822
2025-10-21 18:34:21 +01:00
Dan Brown
2c81447c9e
Deps: Updated PHP deps via composer
2025-10-21 14:47:24 +01:00
Dan Brown
8898647f78
Merge pull request #5846 from BookStackApp/page_image_nullification
...
Images: Added nulling of image page relation on page delete
2025-10-21 14:46:49 +01:00
Dan Brown
ea6344898f
Images: Added nulling of image page relation on page delete
2025-10-21 14:12:55 +01:00
Dan Brown
0bfd79925e
Merge pull request #5844 from BookStackApp/user_ids
...
Updated handling of deleted user ID handling in DB
2025-10-21 13:45:00 +01:00
Dan Brown
efff8700d4
DB: Addressed test issues for user ID changes
...
Reverted change for activities table so that a record is retained of
past activity, and added a check where the ID may be displayed to ensure
it does not mislead and accidentially reference other, newer users.
2025-10-19 19:52:15 +01:00
Dan Brown
5754acf2fb
DB: Updated handling of deleted user ID handling in DB
...
Updated uses of user ID to nullify on delete.
Added testing to cover deletion of user relations.
Added model factories to support changes and potential other tests.
Cleans existing ID references in the DB via migration.
2025-10-19 19:10:15 +01:00
Dan Brown
4c7d6420ee
DB: Aligned entity structure to a common table
...
As per PR #5800
* DB: Planned out new entity table format via migrations
* DB: Created entity migration logic
Made some other tweaks/fixes while testing.
* DB: Added change of entity relation columns to suit new entities table
* DB: Got most view queries working for new structure
* Entities: Started logic change to new structure
Updated base entity class, and worked through BaseRepo.
Need to go through other repos next.
Removed a couple of redundant interfaces as part of this since we can
move the logic onto the shared ContainerData model as needed.
* Entities: Been through repos to update for new format
* Entities: Updated repos to act on refreshed clones
Changes to core entity models are now done on clones to ensure clean
state before save, and those clones are returned back if changes are
needed after that action.
* Entities: Updated model classes & relations for changes
* Entities: Changed from *Data to a common "contents" system
Added smart loading from builder instances which should hydrate with
"contents()" loaded via join, while keeping the core model original.
* Entities: Moved entity description/covers to own non-model classes
Added back some interfaces.
* Entities: Removed use of contents system for data access
* Entities: Got most queries back to working order
* Entities: Reverted back to data from contents, fixed various issues
* Entities: Started addressing issues from tests
* Entities: Addressed further tests/issues
* Entities: Been through tests to get all passing in dev
Fixed issues and needed test changes along the way.
* Entities: Addressed phpstan errors
* Entities: Reviewed TODO notes
* Entities: Ensured book/shelf relation data removed on destroy
* Entities: Been through API responses & adjusted field visibility
* Entities: Added type index to massively improve query speed
2025-10-18 13:14:30 +01:00
Dan Brown
0838d5ea16
Updated version and assets for release v25.07.3
2025-10-05 15:38:50 +01:00
Dan Brown
449ac40114
Merge branch 'v25-07' into release
2025-10-05 15:37:20 +01:00
Dan Brown
146a6c01cc
Merge branch 'v25-07' into development
2025-10-05 15:28:29 +01:00
Dan Brown
f8e4ea82c6
Updated translator & dependency attribution before release v25.07.3
2025-10-05 15:26:37 +01:00
Dan Brown
047195c033
Updated translations with latest Crowdin changes ( #5786 )
2025-10-05 15:22:37 +01:00
Yugo Takano
a7b30c284c
Add crossorigin attribute to manifest link
2025-10-05 15:18:40 +01:00
Dan Brown
c3412d8c1c
Deps: Updated PHP package versions
2025-10-05 15:17:16 +01:00
Dan Brown
4db7135231
Updated translations with latest Crowdin changes ( #5786 )
2025-10-05 15:09:34 +01:00
Dan Brown
009d146185
Merge pull request #5820 from tfnh621/patch-1
...
Fix PWA manifest access behind authenticated proxies
2025-10-05 15:08:59 +01:00
Yugo Takano
fcef1a7948
Add crossorigin attribute to manifest link
2025-10-02 21:39:22 +09:00
Dan Brown
08dfff05f4
Sponsors: Updated diagrams.net sponsor level
2025-09-11 18:58:26 +01:00
Dan Brown
fc10520e10
Merge pull request #5793 from BookStackApp/role_permission_refactor
...
Permissions: Use of enum references and RolePermission cleanup
2025-09-10 12:16:40 +01:00
Dan Brown
a70c733f27
Permissions: Cleanup after review of enum implementation PR
2025-09-10 11:36:54 +01:00
Dan Brown
573d692a59
Permissions: Fixed check method to allow enum usage
2025-09-10 10:44:54 +01:00
Dan Brown
419dbadcfd
Permissions: Updated use of helpers to use enums
...
Also added middlware method to Permission enum to allow easier usage
with controller middleware.
2025-09-09 09:48:19 +01:00
Dan Brown
33a0237f87
Permissions: Updated usage of controller methods to use enum
2025-09-08 18:14:38 +01:00
Dan Brown
5fc11d46d5
Permissions: Added enum usage to controller helpers
...
Also fixed various missing types or spelling/formatting points.
Added down action for role_permission table changes in migration.
2025-09-08 16:15:42 +01:00
Dan Brown
c8716df284
Permissions: Removed unused role-perm columns, added permission enum
...
Updated main permission check methods to support our new enum.
2025-09-08 15:59:25 +01:00
Dan Brown
1ac74099ca
Merge pull request #5790 from BookStackApp/timezones
...
Timezones: Seperate display timezone and consistency update
2025-09-04 16:36:04 +01:00
Dan Brown
36cb243d5e
Timezones: Updated date displays to use consistent formats
2025-09-04 16:11:35 +01:00
Dan Brown
579c1bf424
Timezones: Seperated out store & display timezones to two options
2025-09-04 15:06:58 +01:00
Dan Brown
242b7dfb1b
Merge pull request #5785 from BookStackApp/phpstan_level2
...
PHPstan level 3
2025-09-03 15:53:11 +01:00
Dan Brown
7d1c316202
Maintenance: Updated larastan target level, fixed issues from tests
2025-09-03 15:42:50 +01:00
Dan Brown
318b486e0b
Maintenance: Finished changes to meet phpstan level 3
2025-09-03 15:18:49 +01:00
Dan Brown
e05ec7da36
Maintenance: Addressed a range of phpstan level 3 issues
2025-09-03 10:47:45 +01:00
Dan Brown
cee23de6c5
Maintenance: Reached PHPstan level 2
...
Reworked some stuff around slugs to use interface in a better way.
Also standardised phpdoc to use @return instead of @returns
2025-09-02 16:02:52 +01:00
Dan Brown
1e34954554
Maintenance: Continued work towards PHPstan level 2
...
Updated html description code to be behind a proper interface.
Set new convention for mode traits/interfaces.
2025-09-02 11:10:47 +01:00
Dan Brown
5ea4e1e935
Maintenance: Removed unused comments text column
...
Has been redundant and unused for a about a year now.
Closes #4821
2025-09-02 10:20:10 +01:00
Dan Brown
a27ce6e915
Packages: Updated npm packages
...
Spent way too many hours debugging through issues from jsdom changes.
2025-08-30 22:18:09 +01:00
Dan Brown
64b06bcf61
Packages: Updated predis
2025-08-30 11:47:22 +01:00
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
3131050acd
Updated version and assets for release v25.07.2
2025-08-28 17:41:48 +01:00
Dan Brown
c0d2874892
Merge branch 'development' into release
2025-08-28 17:39:31 +01:00
Dan Brown
481f356068
Updated translator & dependency attribution before release v25.07.2
2025-08-28 17:39:10 +01:00
Dan Brown
955837c9aa
Packages: Upgraded php deps to latest versions
2025-08-28 15:02:26 +01:00
Dan Brown
c6e35c2e7c
Merge pull request #5775 from BookStackApp/lexical_aug25
...
Lexical: August 2025 fixes
2025-08-28 15:00:16 +01:00
Dan Brown
0436ccfebf
Updated translations with latest Crowdin changes ( #5759 )
2025-08-28 14:59:36 +01:00
Dan Brown
f5da31037d
Lexical: Fixed details tests
...
Updated to use new test pattern while there.
2025-08-28 11:17:18 +01:00
Dan Brown
46613f76f6
Lexical: Added backspace handling for details
...
Allows more reliable removal of details block on backspace at first
child position with the details block.
2025-08-27 14:09:38 +01:00
Dan Brown
519acaf324
Lexical: Added better selection display for collapisble blocks
2025-08-27 12:51:36 +01:00
Dan Brown
849bc4d6c3
Lexical: Improved nested details interaction
...
- Set to open by default on insert.
- Updated selection handling not to always fully cascade to lowest
editable child on selection, so parents can be reliably selected.
- Updated mouse handling to treat details panes like the root element,
inserting within-details where relevant.
2025-08-26 14:45:15 +01:00
Dan Brown
ee994fa2b7
Testing: Addressed deprecation in test helper
...
Also updated version in phpunit config
2025-08-25 15:01:13 +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
5c481b4282
Testing: Added more deprecation output
2025-08-15 12:42:44 +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
0311e3d2d7
Readme: Updated sponsor link
...
Was leading to a 404.
2025-08-14 16:00:46 +01:00
Dan Brown
5940a91809
Updated version and assets for release v25.07.1
2025-08-11 14:43:51 +01:00
Dan Brown
9a4651badb
Merge branch 'development' into release
2025-08-11 14:43:13 +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
4830248a1e
Release: Updated licenses and translator attribution
2025-08-11 13:41:31 +01:00
Dan Brown
1256b30ad4
Updated translations with latest Crowdin changes ( #5740 )
2025-08-11 13:38:47 +01:00
Dan Brown
777cca76da
Deps: Bumped PHP composer deps again
2025-08-11 13:36:06 +01:00
Dan Brown
a2d13124af
Testing: Added mail port to testing env options
...
Prevents conflict with potential user-set option.
For #5755
2025-08-11 13:33:57 +01:00
Dan Brown
bd966ef99e
phpstan: Address a range of level 2 issues
2025-08-09 11:09:50 +01:00
Dan Brown
a6b5733ec2
Deps: Updated PHP packages via composer
2025-08-09 10:12:24 +01:00
Dan Brown
e899066e96
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-08-08 17:44:40 +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
fca4a0563e
Merge pull request #5753 from BookStackApp/a11y_menu_updates
...
A11y: Improved menu tagging
2025-08-08 17:00:07 +01:00
Dan Brown
0bc9ddd780
A11y: Updated other dropdown menus with correct tagging
...
Made some form improvements at the same time.
2025-08-07 16:37:18 +01:00
Dan Brown
c66f3b2a37
A11y: Improved tagging of profile menu
...
- Swapped toggle out to actual button.
- Ensured menu items have proper menu item role.
- Added extra roles/labels where is makes sense.
2025-08-07 14:32:20 +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
7bc0d54af1
Readme: Swapped codeclimate reference for custom phpmetrics
2025-08-05 22:00:55 +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
92d15d9cf2
Updated version and assets for release v25.07
2025-07-30 09:46:37 +01:00
Dan Brown
b06147fef7
Merge branch 'development' into release
2025-07-30 09:45:40 +01:00
Dan Brown
776ec7b9e7
Updated translations with latest Crowdin changes ( #5696 )
2025-07-30 09:36:34 +01:00
Dan Brown
8aa6bdc8ab
Updated translator & dependency attribution before release v25.07
2025-07-30 09:27:17 +01:00
Dan Brown
4ab17157b1
API: Added ZIP export endpoint comments
2025-07-30 09:13:58 +01:00
Dan Brown
6d7ffab115
Deps: Updated PHP composer dependancy versions, fixed test namespaces
2025-07-27 11:24:54 +01:00
Dan Brown
c8cfec96dc
Merge pull request #5731 from BookStackApp/lexical_jul25
...
New WYSIWYG editor changes for July 2025
2025-07-26 10:08:44 +01:00
Dan Brown
d145efb6f6
Lexical: Updated tests after link changes
2025-07-25 14:25:02 +01:00
Dan Brown
c54101c603
Lexical: Updated URL handling, added mouse handling
...
- Removed URL protocol allow-list to allow any as per old editor.
- Added mouse handling, so that clicks below many last hard-to-escape
block types will add an empty new paragraph for easy escaping &
editing.
2025-07-25 13:58:48 +01:00
Dan Brown
865e5aecc9
Lexical: Source code input changes
...
- Increased default source code view size.
- Updated HTML generation to output each top-level block on its own
line.
2025-07-24 17:24:59 +01:00
Dan Brown
ae4d1d804a
Lexical: Table cell bg and format setting fixes
...
- Updated table cell background color setting to be stable by
specifically using the background property over the general styles.
- Updated format shorcuts to be correct header levels as per old editor
and format menu.
- Updated format changes to properly update UI afterwards.
2025-07-24 16:51:11 +01:00
Dan Brown
5fc19b0edf
Lexical: Fixed highlight format action, changed label
2025-07-24 13:48:00 +01:00
Dan Brown
0a73b70b64
Merge pull request #5725 from BookStackApp/md_plaintext
...
MarkDown Editor: TypeScript Conversion & Plaintext Editor
2025-07-23 15:48:10 +01:00
Dan Brown
2668aae09b
TypeScript: Updated compile target, addressed issues
2025-07-23 15:41:55 +01:00
Dan Brown
3b9c0b34ae
MD Editor: Fixed plaintext dark styles, updated npm packages
2025-07-23 14:59:26 +01:00
Dan Brown
53f32849a9
MD Editor: Last tests/check over plaintext use/switching
2025-07-23 14:49:41 +01:00
Dan Brown
7ca8bdc231
MD Editor: Added custom textarea undo/redo, updated positioning methods
2025-07-23 12:17:36 +01:00
Dan Brown
6621d55f3d
MD Editor: Worked to improve/fix positioning code
...
Still pending testing. Old logic did not work when lines would wrap, so
changing things to a character/line measuring technique.
Fixed some other isues too while testing shortcuts.
2025-07-22 16:42:47 +01:00
Dan Brown
d55db06c01
MD Editor: Added plaintext/cm switching
...
Also aligned the construction of the inputs where possible.
2025-07-22 10:34:29 +01:00
Dan Brown
6b4b500a33
MD Editor: Added plaintext input implementation
2025-07-21 18:53:22 +01:00
Dan Brown
5ffec2c52d
MD Editor: Updated actions to use input interface
2025-07-21 14:24:51 +01:00
Dan Brown
ec07793cda
MD Editor: Started work on input interface
...
Created implementation for codemirror, yet to use it.
2025-07-21 11:49:58 +01:00
Dan Brown
61adc735c8
MD Editor: Finished conversion to Typescript
2025-07-20 15:05:19 +01:00
Dan Brown
7bbf591a7f
MD Editor: Starting conversion to typescript
2025-07-20 12:33:22 +01:00
Dan Brown
61f8d18af5
Changelog: Tweaked spacing, count and element referencing
...
During review of #5663
2025-07-19 14:53:02 +01:00
Dan Brown
f786d25f2e
Merge branch 'enhance-changelog-textarea' of github.com:shresthkapoor7/BookStack into shresthkapoor7-enhance-changelog-textarea
2025-07-19 14:39:57 +01:00
Dan Brown
e62f4426ea
Merge pull request #5721 from BookStackApp/zip_export_api_endpoints
...
API: ZIP Import/Export
2025-07-18 16:34:10 +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
d55684531f
API: Added zip export tests, reorganised tests
...
Extracted an extra method into helper for reuse.
2025-07-18 10:58:10 +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
2442829ef2
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-07-14 14:18:51 +01:00
Dan Brown
795b28162a
Readme: Added SiteSpeakAI sponsor
2025-07-14 14:18:24 +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
d279b0830b
Merge pull request #5685 from BookStackApp/sidebar_rejig
...
Tri-layout sidebar enhancements
2025-07-09 18:00:56 +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
841350a937
Updated version and assets for release v25.05.2
2025-07-07 15:01:24 +01:00
Dan Brown
12183bac07
Merge branch 'development' into release
2025-07-07 15:00:35 +01:00
Dan Brown
306f41b6f0
Updated translator & dependency attribution before release v25.05.2
2025-07-07 14:59:07 +01:00
Dan Brown
c1d76d2571
Updated translations with latest Crowdin changes ( #5695 )
2025-07-07 14:51:45 +01:00
Dan Brown
f83074d50e
Languages: Added Nepali as a language option
2025-07-07 14:43:21 +01:00
Dan Brown
2be892be70
Updated translations with latest Crowdin changes ( #5659 )
2025-07-07 14:35:19 +01:00
Dan Brown
c934b9319f
PHP: Updated composer packages
...
Main intent was to get latest ssddanbrown/htmldiff version so better
handle non-ascii languages.
2025-07-07 14:24:04 +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
3d017594a8
Opensearch: Fixed XML declaration when php short tags enabled
...
For #5673
2025-07-01 11:29:16 +01:00
Dan Brown
0dcb2ec78c
Layout: Converted tri-layout component to ts
2025-06-30 15:36:27 +01:00
Dan Brown
9186e77d27
Layout: Added scroll fade to the sidebars
2025-06-30 14:10:48 +01:00
Dan Brown
6045aff33a
Layout: Improved sidebar sizing, and dropdown consideration
...
- Updated tri-layout sidebars to have less padding and to avoid cutting
off content when in single-sidebar mode.
- Updated dropdown handling to consider the parent scroll container when
deciding to drop upwards, to help prevent cut-off.
2025-06-30 13:19:45 +01:00
Dan Brown
dca9765d5d
Customization: Added parent tag classes
...
For #5217
2025-06-28 22:27:28 +01:00
Dan Brown
a37d0c57dc
Tests: Updated comment test to account for new editor usage
2025-06-27 10:33:28 +01:00
Dan Brown
054475135a
Lexical: Added some styling and tweaks for basic editors
2025-06-27 10:19:45 +01:00
Dan Brown
02a35b6db4
Lexical: Added new WYSIWYG to chapter/book/shelf descriptions
2025-06-26 11:00:17 +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
c606970e38
Lexical: Started comment implementation
...
Refactors some UI and toolbar code for better abstract use across editor
versions.
2025-06-24 17:47:53 +01:00
Dan Brown
dfeca246a0
Merge pull request #5668 from bumperbox/patch-1
...
CommentDisplayTest correct namespace
2025-06-23 11:57:57 +01:00
bumperbox
3476d83ecc
CommentDisplayTest correct namespace
...
Class Entity\CommentDisplayTest located in ./tests/Entity/CommentDisplayTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
2025-06-23 09:31:39 +12:00
Shresth Kapoor
3617ab1540
Enhance changelog input to textarea with character counter
2025-06-18 20:10:20 -04:00
Dan Brown
e65b4b63a2
Updated version and assets for release v25.05.1
2025-06-17 15:30:40 +01:00
Dan Brown
7cac3f4780
Merge branch 'development' into release
2025-06-17 15:29:46 +01:00
Dan Brown
c4839c783a
Updated translator & dependency attribution before release v25.05.1
2025-06-17 15:29:12 +01:00
Dan Brown
a5751a584c
Updated translations with latest Crowdin changes ( #5637 )
2025-06-17 15:16:25 +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
0208f066c5
Comments: Fixed update notification text
...
For #5642
2025-06-17 13:42:25 +01:00
Dan Brown
2d0461b63a
Merge pull request #5653 from BookStackApp/v25-05-1-lexical
...
Lexical Fixes for v25.05.1
2025-06-17 13:36:55 +01:00
Dan Brown
b913ae703d
Lexical: Media form improvements
...
- Allowed re-editing of existing embed HTML code.
- Handled "src" form field when video is using child source tags.
2025-06-15 20:00:28 +01:00
Dan Brown
1611b0399f
Lexical: Added a media toolbar, improved toolbars and media selection
...
- Updated toolbars to auto-refresh ui if it attempts to update targeting
a DOM element which no longer exists.
- Removed MediaNode dom specific click handling which was causing
selection issues, and did not seem to be needed now.
2025-06-15 15:22:27 +01:00
Dan Brown
8d4b8ff4f3
Lexical: Fixed media resize handling
...
- Updating height/width setting to clear any inline CSS width/height
rules which would override and prevent resizes showing. This was
common when switching media from old editor.
Added test to cover.
- Updated resizer to track node so that it is retained & displayed
across node DOM changes, which was previously causing the
resizer/focus to disappear.
2025-06-15 13:55:42 +01:00
Dan Brown
77a88618c2
Lexical: Fixed double-bold text, updated tests
...
Double bold was due to text field exporting wrapping the output in <b>
tags when the main tag would already be strong.
2025-06-14 14:50:10 +01:00
Dan Brown
8b062d4795
Lexical: Fixed strange paragraph formatting behaviour
...
Formatting was not persisted on empty paragraphs, and was instead based
upon last format encountered in selection.
This was due to overly-hasty removal of other formatting code, which
this got caught it.
Restored required parts from prior codebase.
Also updated inline format button active indicator to reflect formats
using the above, so correct buttons are shown as active even when just
in an empty paragraph.
2025-06-13 19:40:13 +01:00
Dan Brown
717b516341
Lexical: Made table resize handles more efficent & less buggy
...
Fine mouse movement and handles will now only be active when actually
within a table, otherwise less frequent mouseovers are used to track if
in/out a table.
Hides handles when out of a table, preventing a range of issues with
stray handles floating about.
2025-06-13 16:38:53 +01:00
Dan Brown
fda242d3da
Lexical: Fixed tiny image resizer on image insert
...
Added specific focus on image insert, and updated resize handler to
watch for load events and toggle a resize once loaded.
2025-06-13 15:58:59 +01:00
Dan Brown
aac547934c
Deps: Bumped composer php package versions
2025-06-13 15:28:11 +01:00
Dan Brown
92cd11d105
Updated version and assets for release v25.05
2025-05-31 14:27:44 +01:00
Dan Brown
13115ace84
Merge branch 'development' into release
2025-05-31 14:26:04 +01:00
Dan Brown
5c9b90ea0d
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-05-31 12:36:21 +01:00
Dan Brown
074f193e2f
Updated translation attribution and licenses before release
2025-05-31 12:35:47 +01:00
Dan Brown
7f2604c8e8
Updated translations with latest Crowdin changes ( #5622 )
2025-05-31 12:15:16 +01:00
Dan Brown
b71b2a4376
Cleanup: Updated deps, fixed test, update issue templates
...
Also removed some unused imports.
2025-05-31 12:11:00 +01:00
Dan Brown
68df43e5a8
Merge pull request #5627 from BookStackApp/lexical_20250525
...
Lexical Editor: Further fixes
2025-05-28 22:53:03 +01:00
Dan Brown
c5ca865723
Lexical: Updated WYSIWYG editor status from alpha to beta
2025-05-28 22:52:09 +01:00
Dan Brown
b862f12a50
Lexical: Further improvements to table selection and captions
...
- Fixed errors with selection and range handling due to captions
existing.
- Updated TableNode change handling to update existing DOM instead of
re-creating, which avoids breaking an attached selection helper.
- To support, Added function to handle node change detection and apply
relevant dom updates for common properties.
2025-05-28 22:47:39 +01:00
Dan Brown
b0f8b11054
Comments: Fixed tab focus change & button placement on form usage
...
Fixes issue of tabs jumping back to active comments when stopping a
reply to an archived comment.
Fixes button placement looking odd due to wrong location and differing
styles depending on interaction path.
2025-05-28 22:00:24 +01:00
Dan Brown
7650ebf2f9
Deps: Updated composer/npm packages, fixed test namespace
2025-05-27 15:53:46 +01:00
Dan Brown
d9ea52522e
Lexical: Fixed issues with recent changes
2025-05-26 19:06:36 +01:00
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
73f9834e6f
Updated version and assets for release v25.02.5
2025-05-17 12:16:55 +01:00
Dan Brown
3afe855156
Merge branch 'development' into release
2025-05-17 12:14:51 +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
Joshua Booth
b6110ed3cd
Add settings for number of books/shelves that will be displayed per page
2025-05-13 20:17:36 +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
bfde896f0b
Updated version and assets for release v25.02.4
2025-05-08 16:01:45 +01:00
Dan Brown
1cdc0a7a3d
Merge branch 'development' into release
2025-05-08 15:57:02 +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
d19b86640b
Updated version and assets for release v25.02.3
2025-05-05 18:32:39 +01:00
Dan Brown
2936ba609b
Merge branch 'development' into release
2025-05-05 18:20:31 +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
nchoudhary@logicmines.in
64da80cbf4
added routes for zip export
2025-04-25 13:00:06 +05:30
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
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
Dan Brown
2e7544a865
Comments: Converted comment component to TS
2025-04-19 12:46:47 +01:00
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
add238fe9f
Comments & Pointer: Converted components to typescript
...
Made changes for dom and translation services for easier usage
considering types.
trans_choice updated to allow default count replacement data as per
Laravel's default behaviour.
2025-04-18 20:42:56 +01:00
Dan Brown
8d159f77e4
Comments: Started logic for content references
...
Adds button for comments to pointer.
Adds logic to generate a content reference point.
2025-04-18 15:01:57 +01:00
Dan Brown
573a2dd22a
Updated version and assets for release v25.02.2
2025-04-02 17:32:58 +01:00
Dan Brown
b55cc803d3
Merge branch 'development' into release
2025-04-02 17:31:14 +01:00
Dan Brown
fa566f156a
Updated translator & dependency attribution before release v25.02.2
2025-04-02 17:30:43 +01:00
Dan Brown
78a0a2f519
Merge pull request #5558 from BookStackApp/lexical_round3
...
Lexical Fixes: Round 3
2025-04-02 17:23:38 +01:00
Dan Brown
42cbd6adef
Updated translations with latest Crowdin changes ( #5537 )
2025-04-02 17:19:34 +01:00
Dan Brown
6117349893
Deps: Updated composer packages
2025-04-02 15:30:31 +01:00
Dan Brown
1256320c72
Merge branch 'bernardo-campos/development' into development
2025-04-02 15:18:31 +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
Dan Brown
802f69cf35
Comments: Fixed missing comment timestamps
...
Due to deleted code during Laravel 11 upgrade.
Added test to cover.
Closes #5555
2025-03-30 17:36:48 +01:00
Dan Brown
bb44334224
Lexical: Added tests to cover recent changes
...
Also updated list tests to new test process.
2025-03-28 18:29:00 +00:00
Dan Brown
9bfcadd95f
Lexical: Improved navigation around images/media
...
- Added specific handling to move/insert-up/down on arrow press.
- Prevented resize overlay from interrupting image node focus.
2025-03-28 14:30:03 +00:00
Dan Brown
62c8eb3357
Lexical: Made list selections & intendting more reliable
...
- Added handling to not include parent of top-most list range selection
so that it's not also changed while not visually part of the
selection range.
- Fixed issue where list items could be left over after unnesting, due
to empty checks/removals occuring before all child handling.
- Added node sorting, applied to list items during nest operations so
that selection range remains reliable.
2025-03-27 17:49:48 +00:00
Dan Brown
c03e44124a
Lexical: Fixed task list parsing
...
Updated list DOM parsing to properly consider task list format set by
other MD/WYSIWYG editors.
2025-03-27 14:56:32 +00:00
Dan Brown
5c6671b3bf
Lexical: Fixed issues with content not saving
...
Found that saving via Ctrl+Enter did not save as logic to load editor
output into form was bypassed, which this fixes by ensuring submit
events are raised during for this shortcut.
Submit handling also gets a timeout added since, at least in FF,
requestSubmit did not re-submit a form while in a submit event.
2025-03-27 14:13:18 +00:00
Bernardo Campos
abe7467ae5
Fix issue BookStackApp#5542 Sorting by name
2025-03-23 12:29:29 -03:00
Dan Brown
304ade418e
Updated version, assets, and checksums for release v25.02.1
2025-03-16 12:47:19 +00:00
Dan Brown
997931c42f
Merge branch 'development' into release
2025-03-16 12:45:08 +00:00
Dan Brown
0ec0913846
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-03-16 12:44:42 +00:00
Dan Brown
e980564fd6
Updated translator & dependency attribution before release v25.02.1
2025-03-16 12:44:29 +00:00
Dan Brown
8a9215ecad
Updated translations with latest Crowdin changes ( #5505 )
2025-03-16 12:25:53 +00:00
Dan Brown
304a1d8f91
Dependancies: Updated PHP composer deps
2025-03-16 12:04:19 +00:00
Dan Brown
dfbc78947f
Revisions: Hid changes link for oldest revision
...
Just as a UX improvement to help avoid confusion, as the whole content
will be changes for this revision.
For #5454
2025-03-16 12:00:54 +00:00
Dan Brown
4f5ad171ac
Config: Updated DB host to handle ipv6
...
Can be set via the square bracket format.
For #5464
2025-03-15 20:32:57 +00:00
Dan Brown
94b1cffa2d
System CLI: Updated with new version
...
As per https://codeberg.org/bookstack/system-cli/pulls/21
dev/checksums folder added to support this new system.
Related to #161
2025-03-11 23:52:01 +00:00
Dan Brown
268e353431
Updated version and assets for release v25.02
2025-02-26 14:30:52 +00:00
Dan Brown
b491b5fbca
Merge branch 'development' into release
2025-02-26 14:30:17 +00:00
Dan Brown
13dae24cbe
Testing: Fixed issues during pre-release testing
...
- Updated locale list
- Fixed new name sorting not being case insensitive
- Updated license test to account for changed deps
2025-02-26 14:19:03 +00:00
Dan Brown
6211d6bcfc
Updated translations with latest Crowdin changes ( #5409 )
2025-02-26 13:51:51 +00:00
Dan Brown
a384599cfa
Meta: Updated licenses and translation attribution pre v25.02
2025-02-26 13:44:56 +00:00
Dan Brown
dca14feaaa
Sorting: Fixes during testing of sort rules
...
- Fixed name numeric sorting not working as expected due to bad
comparison.
- Added name numeric desc operation option.
- Added test to ensure each operating has a comparison function.
2025-02-24 16:58:59 +00:00
Dan Brown
d7ccb3ce6a
Sorting: Updated text for sort rules
...
Removes 'Set' wording and notes application to books on change.
2025-02-23 14:41:26 +00:00
Dan Brown
6548ea4a12
JS: Upated npm deps, upgraded eslint, new eslint config
...
Upgraded eslint to 11, removed incompatible airbnb config as part of
process. ESlint config now in its own file.
2025-02-23 11:55:09 +00:00
Dan Brown
c3a1fabbf0
Deps & Tests: Updated PHP deps, fixed test namespaces
2025-02-23 11:30:10 +00:00
Dan Brown
d2542d6265
Merge pull request #5491 from BookStackApp/deprecations
...
Addressing PHP 8.4 Deprecations
2025-02-23 11:23:35 +00:00
Dan Brown
0e343c408f
Merge pull request #5463 from BookStackApp/v24-12
...
v24-12 branch changes
2025-02-23 11:22:12 +00:00
Dan Brown
5c78f8352e
Styles: Fixed breakpoint overlap
...
Alters common breakpoint utilities to not overlap at breakpoints which
would cause broken layout at those points.
For #5396
2025-02-23 11:19:11 +00:00
Dan Brown
35b45a2b8d
LDAP: Fixed php type error when no cn provided for user
...
Changes default fallback for name to first DN part, otherwise the whole
DN, rather than leave as null which was causing a type error.
For #5443
2025-02-20 13:06:49 +00:00
Dan Brown
5050719ea3
PHP: Updated DOMPDF version
2025-02-17 13:37:58 +00:00
Dan Brown
5508c171db
PHP: Addressed 8.4 deprecations within app itself
2025-02-17 12:45:37 +00:00
Dan Brown
3b4d3430a5
Tests: Updated failing license test
2025-02-17 12:07:23 +00:00
Dan Brown
213a86e3c0
Merge pull request #5415 from BookStackApp/more_lexical_fixes
...
Further Lexical Fixes
2025-02-16 15:28:55 +00:00
Dan Brown
2b746425c9
Lexical: Fixed code in lists, removed extra old alignment code
...
Code in lists could throw error on parse due to inner <code> tag being
parsed but not actually used within a <pre>, so this updates the
importDOM to disregard childdren for code blocks.
This also improves the invariant implementation to not be so
dev/debugger based, and to include vars in the output.
2025-02-16 15:09:33 +00:00
Dan Brown
5c15f4add2
Translations: Fixed a couple of errors in sorting en words
2025-02-16 11:27:49 +00:00
Dan Brown
92ad81429f
Merge pull request #5488 from BookStackApp/search_index_updates
...
Search index improvements
2025-02-14 19:39:08 +00:00
Dan Brown
f1b8e857bf
Searching: Added test for guillemets
...
To cover #5475
2025-02-14 19:30:25 +00:00
Dan Brown
c291d27c19
Merge branch 'inv-hareesh/development' into search_index_updates
2025-02-14 19:25:59 +00:00
Dan Brown
f4449928f8
Searching: Added custom tokenizer that considers soft delimiters.
...
This changes indexing so that a.b now indexes as "a", "b" AND "a.b"
instead of just the first two, for periods and hypens, so terms
containing those characters can be searched within.
Adds hypens as a delimiter - #2095
2025-02-14 19:01:51 +00:00
Dan Brown
45a15b4792
Searching: Split out search tests into their own dir
2025-02-14 13:24:39 +00:00
Dan Brown
2291d78382
Merge pull request #5470 from Silverlan/patch-1
...
Fix incorrect condition for displaying new books section
2025-02-12 18:14:28 +00:00
Dan Brown
7901ca9e6b
Meta: Updated dev version and sponsor link
2025-02-11 15:52:35 +00:00
Dan Brown
a7de251876
Merge pull request #5457 from BookStackApp/sort_sets
...
Sort rules
2025-02-11 15:41:19 +00:00
Dan Brown
7bd89316bc
Sorting: Updated sort set command, Changed sort timestamp handling
...
- Renamed AssignSortSetCommand to AssignSortRuleCommand, updated
contents and testing.
- Updated sorting operations to not update timestamps if only priority
is changed.
2025-02-11 15:29:16 +00:00
Dan Brown
b9306a9029
Sorting: Renamed sort set to sort rule
...
Renamed based on feedback from Tim and Script on Discord.
Also fixed flaky test
2025-02-11 14:36:25 +00:00
Dan Brown
a208c46b62
Sorting: Covered sort set management with tests
2025-02-10 17:19:49 +00:00
Dan Brown
a65701294e
Sorting: Split out test class, added book autosort tests
...
Just for test view, actual functionality of autosort on change still
needs to be tested.
2025-02-10 13:33:10 +00:00
Dan Brown
69683d50ec
Sorting: Added tests to cover AssignSortSetCommand
2025-02-09 23:24:36 +00:00
Dan Brown
37d020c083
Sorting: Addded command to apply sort sets
2025-02-09 17:44:24 +00:00
Dan Brown
ec79517493
Sorting: Added auto sort option to book sort UI
...
Includes indicator on books added to sort operation.
2025-02-09 15:16:18 +00:00
inv-hareesh
d938565839
Fix search issue for words inside Guillemets (« ») without spaces
2025-02-07 08:59:36 +05:30
Dan Brown
ccd94684eb
Sorting: Improved sort set display, delete, added action on edit
...
- Changes to a sort set will now auto-apply to assinged books (basic
chunck through all on save).
- Added book count indicator to sort set list items.
- Deletion now has confirmation and auto-handling of assigned
books/settings.
2025-02-06 14:58:08 +00:00
Dan Brown
103a8a8e8e
Meta: Updated sponsor list, licence year and readme
2025-02-05 21:17:48 +00:00
Dan Brown
c13ce18837
Sorting: Added book autosort logic
2025-02-05 16:52:20 +00:00
Dan Brown
7093daa49d
Sorting: Connected up default sort setting for books
2025-02-05 14:33:46 +00:00
Dan Brown
b897af2ed0
Sorting: Finished main sort set CRUD work
2025-02-04 20:11:35 +00:00
Dan Brown
d28278bba6
Sorting: Added sort set form manager UI JS
...
Extracted much code to be shared with the shelf books management UI
2025-02-04 15:14:22 +00:00
Silverlan
12cc2f0689
Fix incorrect condition for displaying new books section
2025-02-03 19:01:08 +01:00
Dan Brown
bf8a84a8b1
Sorting: Started sort set routes and form
2025-02-03 16:48:57 +00:00
Dan Brown
4f5f7c10b1
Thumbnails: Fixed thumnail orientation
...
Prevents double rotation caused from both our own orientation handling
upon that invervention was auto-applying since v3.
Fixes #5462
2025-01-31 21:29:38 +00:00
Dan Brown
a34023f715
Sorting: Added content misses from last commit, started settings
2025-01-30 17:49:19 +00:00
Dan Brown
b2ac3e0834
Sorting: Added SortSet model & migration
2025-01-29 17:34:07 +00:00
Dan Brown
5b0cb3dd50
Sorting: Extracted URL sort helper to own class
...
Was only used in one place, so didn't make sense to have extra global
helper clutter.
2025-01-29 17:02:34 +00:00
Dan Brown
ac0cd9995d
Sorting: Reorganised book sort code to its own directory
2025-01-29 16:40:11 +00:00
Dan Brown
7e03a973d8
Lexical: Ran a deeper check on translation use
2025-01-27 16:40:41 +00:00
Dan Brown
d89a2fdb15
Lexical: Added media src conversions
...
Only actuall added YT in the end.
Google had changed URL scheme, and Vimeo seems to just be something else
now, can't really browse video pages like before.
2025-01-27 14:28:27 +00:00
Dan Brown
958b537a49
Lexical: Linked table form to have caption toggle option
2025-01-22 20:39:15 +00:00
Dan Brown
8a66365d48
Lexical: Added support for table caption nodes
...
Needs linking up to the table form still.
2025-01-22 12:54:13 +00:00
Talstra Ruben SRSNL
da82e70ca3
Add optional OIDC avatar fetching from the “picture” claim
2025-01-20 17:21:46 +01:00
Dan Brown
04cca77ae6
Lexical: Added color picker/indicator to form fields
2025-01-18 11:12:43 +00:00
Dan Brown
c091f67db3
Lexical: Added color format custom color select
...
Includes tracking of selected colors via localstorage for display.
2025-01-17 11:17:51 +00:00
Dan Brown
7f5fd16dc6
Lexical: Added some general test guidance
...
Just to help remember the general layout/methods that we've added to
make testing easier.
2025-01-15 14:31:09 +00:00
Dan Brown
0d1a237f81
Lexical: Fixed auto-link issue
...
Added extra test helper to check the editor state directly via string
notation access rather than juggling types/objects to access deep
properties.
2025-01-15 14:15:58 +00:00
Dan Brown
786a434c03
Merge pull request #5405 from BookStackApp/public_theme_files
...
Theme System: Public serving of files
2025-01-14 14:56:43 +00:00
Dan Brown
25c4f4b02b
Themes: Documented public file serving
2025-01-14 14:53:10 +00:00
Dan Brown
481580be17
Themes: Added testing and better mime sniffing for public serving
...
Existing mime sniffer wasn't great at distinguishing between plaintext
file types, so added a custom extension based mapping for common web
formats that may be expected to be used with this.
2025-01-13 16:51:07 +00:00
Dan Brown
593645acfe
Themes: Added route to serve public theme files
...
Allows files to be placed within a "public" folder within a theme
directory which the contents of will served by BookStack for access.
- Only "web safe" content-types are provided.
- A static 1 day cache time it set on served files.
For #3904
2025-01-13 14:34:44 +00:00
Dan Brown
b9751807e7
Merge pull request #5400 from BookStackApp/laravel11
...
Laravel 11 Upgrade
2025-01-13 13:27:32 +00:00
Dan Brown
ee88832f1a
Updated translations with latest Crowdin changes ( #5399 )
2025-01-13 13:26:04 +00:00
Dan Brown
dbda82ef92
Framework: Re-add updated patched symfony-mailer
...
https://github.com/ssddanbrown/symfony-mailer/commit/e9de8dccd76a63fc23475016e6574da6f5f12a2
2025-01-11 15:05:10 +00:00
Dan Brown
ad8bc5fe21
Framework: Updated phpunit to 11, updated migration test php versions
2025-01-11 13:50:01 +00:00
Dan Brown
5bf75786c6
Framework: Fixed Laravel 11 upgrade test issues, updated phpstan
...
- Fixed failing tests due to Laravel 11 changes
- Updated phpstan to 3.x branch
- Removed some seemingly redundant comment code, which was triggering
phpstan.
2025-01-11 13:22:49 +00:00
Dan Brown
cf9ccfcd5b
Framework: Performed Laravel 11 upgrade guide steps
...
Performed a little code cleanups when observed along the way.
Tested not yet ran.
2025-01-11 11:14:49 +00:00
Dan Brown
5116d83d38
PHP: Updated min version to 8.2
...
PHPStan config not yet compatible, but should work after moving to Laravel
11, which would allow using larastan 3.x.
2025-01-09 16:46:13 +00:00
Dan Brown
387c786768
Updated version and assets for release v24.12.1
2025-01-04 22:22:17 +00:00
Dan Brown
2641586a6f
Merge branch 'development' into release
2025-01-04 22:22:04 +00:00
Dan Brown
33b46882f3
Updated translations with latest Crowdin changes ( #5370 )
2025-01-04 21:46:35 +00:00
Dan Brown
9a5c287470
Deps: Updated composer packages
2025-01-04 21:45:36 +00:00
Dan Brown
6effc6d262
Merge pull request #5379 from BookStackApp/better_cleanup
...
Export limits and cleanup
2025-01-04 21:05:45 +00:00
Dan Brown
ff6c5aaecb
Markdown Editor: Fixed scroll jump on image upload
...
For #5384
2025-01-04 21:01:28 +00:00
Dan Brown
1ff2826678
Exports: Added rate limits for UI exports
...
Just as a measure to prevent potential abuse of these potentially
longer-running endpoints.
Adds test to cover for ZIP exports, but applied to all formats.
2025-01-01 15:42:59 +00:00
Dan Brown
7e31725d48
Exports: Improved PDF command temp file cleanup
2025-01-01 15:19:11 +00:00
Dan Brown
6d7ff59a89
ZIP Exports: Improved temp file tracking & clean-up
2024-12-31 15:13:50 +00:00
Dan Brown
6d2cd20e80
Updated version and assets for release v24.12
2024-12-23 11:55:23 +00:00
Dan Brown
b0c574356a
Merge branch 'development' into release
2024-12-23 11:55:02 +00:00
Dan Brown
980a684b14
Updated translator & dependency attribution before release v24.12
2024-12-23 11:53:35 +00:00
Dan Brown
d56eea9279
Locales: Updated locale list with new languages
2024-12-23 11:27:58 +00:00
Dan Brown
2be504e0d2
Updated translations with latest Crowdin changes ( #5345 )
2024-12-23 11:23:44 +00:00
Dan Brown
c84d999456
ZIP Exports: Prevent book child page drafts from being included
...
Added test to cover
2024-12-22 12:43:26 +00:00
Dan Brown
01825ddb93
Dependancies: Bumped up composer dep versions
2024-12-21 15:48:46 +00:00
Dan Brown
1f88bc2a59
Merge pull request #5365 from BookStackApp/lexical_fixes
...
Range of fixes/updates for the new Lexical based editor
2024-12-20 14:51:57 +00:00
Dan Brown
ebe2ca7faf
Lexical: Added about button/view
...
Re-used existing route and moved tinymce help to its own different
route. Added test to cover.
Added new external-content block to support in editor UI.
2024-12-17 22:40:28 +00:00
Dan Brown
f4005a139b
Lexical: Adjusted handling of child/sibling list items on nesting
...
Sibling/child items will now remain at the same visual level during
nesting/un-nested, so only the selected item level is visually altered.
Also added new model-based editor content matching system for tests.
2024-12-17 18:07:46 +00:00
Dan Brown
fca8f928a3
Lexical: Aligned new empty item behaviour for nested lists
...
- Makes enter on empty nested list item un-nest instead of just creating
new list items.
- Also updated existing lists tests to use newer helper setup.
2024-12-17 16:52:14 +00:00
Dan Brown
ace8af077d
Lexical: Improved list tab handling, Improved test utils
...
- Made tab work on empty list items
- Improved select preservation on single list item tab
- Altered test context creation for more standard testing
2024-12-17 14:44:10 +00:00
Dan Brown
e50cd33277
Lexical: Added testing for some added shortcuts
...
Also:
- Added svg loading support (dummy stub) for jest.
- Updated headless test case due to node changes.
- Split out editor change detected to where appropriate.
- Added functions to help with testing, like mocking our context.
2024-12-16 16:27:44 +00:00
Dan Brown
8486775edf
Lexical: Added mulitple methods to escape details block
...
Enter on empty last line, or down on last empty line, will focus on the
next node after details, or created a new paragraph to focus on if
needed.
2024-12-16 14:30:06 +00:00
Dan Brown
5887322178
Lexical: Added details toolbar
...
Includes unwrap and toggle open actions.
2024-12-15 18:13:49 +00:00
Dan Brown
3f86937f74
Lexical: Made summary part of details node
...
To provide more control of the summary as part of details.
To support, added a way to ignore elements during import DOM, allowing
up to read summaries when parsing details without duplicate nodes
involved.
2024-12-15 17:12:54 +00:00
Dan Brown
2f119d3033
Lexical: Adjusted modals and content area for mobile sizes
2024-12-15 15:29:00 +00:00
Dan Brown
5f07f31c9f
Lexical: Added mobile toolbar support
...
Adds dynamic and fixed (out of DOM order) positioning with location
adjustment depending on space.
Also adds smarter hiding to prevent disappearing when mouse leaves but
within the same space as the toggle.
2024-12-15 14:03:08 +00:00
Dan Brown
a71aa241ad
Lexical: Added dark mode styles, fixed autolink range
2024-12-14 15:17:33 +00:00
Dan Brown
97b201f61f
Lexical: Added auto links on enter/space
2024-12-14 12:35:13 +00:00
Dan Brown
a8ef820443
Users: Hid lanuage preference for guest user
...
Hiding since it's not really used, and may mislead on how to set default
app language (which should be done via env options).
Updated test to cover.
For #5356
2024-12-13 15:19:28 +00:00
Dan Brown
7e1a8e5ec6
API: Added cover to book/shelf list endpoints
...
Aligns with what we provide in the UI.
Added/updated tests to cover, and updated API examples.
For 5180.
2024-12-13 14:21:04 +00:00
Dan Brown
19ee1c9be7
Notifications: Logged errors and prevented them blocking user
...
Failed notification sends could block the user action, whereas it's
probably more important that the user action takes places uninteruupted
than showing an error screen for the user to debug.
Logs notification errors so issues can still be debugged by admins.
Closes #5315
2024-12-12 21:47:39 +00:00
Dan Brown
fcf0bf79a9
Attachments: Hid edit/delete controls where lacking permission
...
Added test to cover.
Also migrated related ajax-delete-row component to ts.
For #5323
2024-12-11 20:38:30 +00:00
Dan Brown
0ece664475
CI: Added php8.4 to CI suites, bumped action/os versions
2024-12-11 18:50:10 +00:00
Dan Brown
509af2463d
Search Index: Fixed SQL error when indexing large pages
...
Due to hitting statement placeholder limits (typically 65k)
when inserting index terms for single page.
Added test to cover.
Also added skipped tests for tests we don't always want to run.
For #5322
2024-12-11 15:55:19 +00:00
Dan Brown
5632fef621
Auth: Added specific guards against guest account login
...
Hardened things to enforce the intent that the guest account should not
be used for logins.
Currently this would not be allowed due to empty set password, and no
password fields on user edit forms, but an error could occur if the
login was attempted.
This adds:
- Handling to show normal invalid user warning on login instead of a
hash check error.
- Prevention of guest user via main login route, in the event that
inventive workarounds would be used by admins to set a password for
this account.
- Test for guest user login.
2024-12-11 14:22:48 +00:00
Dan Brown
8ec26e8083
SASS: Updated to use modules and address deprecations
...
Changes the name of our spacing variables due to the prefixing -/_
meaning private in the use of new "use" rather than include.
All now modular too, so all variables/mixins are accessed via their
package.
Also renamed variables file to vars for simpler/cleaner access/writing.
eg. '$-m' is now 'vars.$m'
2024-12-09 13:25:35 +00:00
Dan Brown
617b2edea0
JS: Updated packages, fixed lint issue
...
Left eslint as old due to eslint-config-airbnb-base not yet being
comptible.
Some SASS deprecations to solve.
2024-12-09 13:07:39 +00:00
Dan Brown
55d074f1a5
Attachment API: Fixed error when name not provided in update
...
Fixes #5353
2024-12-09 11:32:15 +00:00
Dan Brown
7e6f6af463
Merge pull request #5349 from BookStackApp/lexical_reorg
...
Lexical: Merge of custom nodes & re-organisation of codebase
2024-12-04 20:06:39 +00:00
Dan Brown
d00cf6e1ba
Lexical: Updated tests for node changes
2024-12-04 20:03:05 +00:00
Dan Brown
9fdd100f2d
Lexical: Reorganised custom node code into lexical codebase
...
Also cleaned up old unused imports.
2024-12-04 18:53:59 +00:00
Dan Brown
57d8449660
Lexical: Merged custom table node code
2024-12-03 20:08:33 +00:00
Dan Brown
ebd4604f21
Lexical: Merged list nodes
2024-12-03 19:03:52 +00:00
Dan Brown
36a4d79120
Lexical: Extracted & merged heading & quote nodes
2024-12-03 17:04:50 +00:00
Dan Brown
f3fa63a5ae
Lexical: Merged custom paragraph node, removed old format/indent refs
...
Start of work to merge custom nodes into lexical, removing old unused
format/indent core logic while extending common block elements where
possible.
2024-12-03 16:24:49 +00:00
Dan Brown
5164375b18
Merge branch 'rashadkhan359/development' into development
2024-12-03 13:52:38 +00:00
Dan Brown
fec44452cb
Search API: Updated handling of parent detail, added testing
...
Review of #5280 .
- Removed additional non-needed loads which could ignore permissions.
- Updated new formatter method name to be more specific on use.
- Added test case to cover changes.
- Updated API examples to align parent id/info in info to be
representative.
2024-12-03 13:51:46 +00:00
Dan Brown
18ab38a87b
Merge branch 'fix/markdown-export' into development
2024-12-02 11:50:15 +00:00
Dan Brown
0f9957bc03
MD Exports: Added HTML description conversion
...
Also updated tests to cover checking description use/conversion.
Made during review of #5313
2024-12-02 11:46:56 +00:00
Dan Brown
80f258c3c5
Merge branch 'fix-ldap-display-name' into development
2024-12-01 18:44:23 +00:00
Dan Brown
90341e0e00
LDAP: Review and testing of mulitple-display-name attr support
...
Review of #5295
Added test to cover functionality.
Moved splitting from config to service.
2024-12-01 18:42:54 +00:00
Dan Brown
3298374113
Merge branch 'docker-simplify' into development
2024-12-01 16:10:22 +00:00
Dan Brown
227c5e155b
Dev Docker: Fixed missing gd jpeg handling, forced migrations
...
Migrations run without force could fail startup in certain environment
conditions (when testing production env).
Also updated paths permission handling to update more needed locations.
2024-12-01 16:10:05 +00:00
Dan Brown
fdbbcf2b8a
Merge branch 'portazips' into development
2024-12-01 13:06:43 +00:00
Dan Brown
0a07b0d162
Merge pull request #5259 from BookStackApp/typescript-conversions
...
Conversion of Services to TypeScript
2024-12-01 13:04:59 +00:00
Dan Brown
07e45a20e5
Updated version and assets for release v24.10.3
2024-11-29 13:50:41 +00:00
Dan Brown
14056c69e6
Updated version and assets for release v24.10.2
2024-11-29 13:47:24 +00:00
Dan Brown
fb9c840c46
Merge branch 'development' into release
2024-11-29 13:47:08 +00:00
Dan Brown
94165cc18f
Updated translator & dependency attribution before release v24.10.2
2024-11-29 13:46:37 +00:00
Dan Brown
f5ecd51461
Updated translations with latest Crowdin changes ( #5331 )
2024-11-29 13:40:09 +00:00
Dan Brown
e9f906ce56
Attachments: Fixed full range request handling
...
We were not responsing with a range request, where the requested range
was for the full extent of content. This changes things to always
provide a range request, even for the full range.
Change made since our existing logic could cause problems in chromium
browsers.
Elseif statement removed as its was likley redundant based upon other
existing checks.
This also changes responses for requested ranges beyond content, but I
think that's technically correct looking at the spec (416 are for when
there are no overlapping request/response ranges at all).
Updated tests to cover.
For #5342
2024-11-29 13:19:55 +00:00
Dan Brown
4630f07282
Code: Set base codemirror line height
...
Prevents difference in line height between light/dark mode.
For #5146
2024-11-29 12:57:53 +00:00
Dan Brown
978acecdcf
Merge branch 'oidc-content-type-issue' into development
2024-11-28 16:58:55 +00:00
Dan Brown
bc1f1d92e5
OIDC: Added extra userinfo content-type normalisation and test
...
During review of #5337
2024-11-28 16:58:06 +00:00
Dan Brown
415cd6a360
Includes: Workaround for PHP 8.3.14 bug
...
Changed DOMText creation to be done via document so its document
reference is correct to avoid a bug in PHP 8.3.14.
Ref: https://github.com/php/php-src/issues/16967
Fixes #5341
2024-11-28 16:30:59 +00:00
Dan Brown
68ce340741
Depenencies: Updated PHP packages
2024-11-28 16:25:01 +00:00
Dan Brown
bdca9fc1ce
ZIP Exports: Changed the instance id mechanism
...
Adds an instance id via app settings.
2024-11-27 16:30:19 +00:00
Dan Brown
edb684c72c
ZIP Exports: Updated format doc with advisories regarding html/md
2024-11-26 17:53:20 +00:00
Wes Biggs
17f7afe12d
Updates the OIDC userinfo endpoint request to allow for a Content-Type response header with optional parameters, like application/json; charset=utf-8. This was causing an issue when integrating with [node-oidc-provider]( https://github.com/panva/node-oidc-provider ).
2024-11-26 11:21:20 -06:00
Dan Brown
0a182a45ba
ZIP Exports: Added detection/handling of images with external storage
...
Added test to cover.
2024-11-26 15:59:39 +00:00
Dan Brown
95d62e7f57
ZIP Imports/Exports: Fixed some lint and test issues
...
- Updated test handling to create imports folder when required.
- Updated some tests to delete created import zip files.
2024-11-25 16:30:56 +00:00
Dan Brown
9ecc91929a
ZIP Import & Exports: Addressed issues during testing
...
- Handled links to within-zip page images found in chapter/book
descriptions; Added test to cover.
- Fixed session showing unrelated success on failed import.
Tested import file-create undo on failure as part of this testing.
2024-11-25 15:54:15 +00:00
Dan Brown
f79c6aef8d
ZIP Imports: Updated import form to show loading indicator
...
And disable button after submit.
Added here because the import could take some time, so it's best to show
an indicator to the user to show that something is happening, and help
prevent duplicate submission or re-submit attempts.
2024-11-22 21:36:42 +00:00
Dan Brown
c0dff6d4a6
ZIP Imports: Added book content ordering to import preview
2024-11-22 21:03:04 +00:00
Dan Brown
59cfc087e1
ZIP Imports: Added image type validation/handling
...
Images were missing their extension after import since it was
(potentially) not part of the import data.
This adds validation via mime sniffing (to match normal image upload
checks) and also uses the same logic to sniff out a correct extension.
Added tests to cover.
Also fixed some existing tests around zip functionality.
2024-11-18 17:42:49 +00:00
Dan Brown
e2f6e50df4
ZIP Exports: Added ID checks and testing to validator
2024-11-18 15:53:21 +00:00
Dan Brown
c2c64e207f
ZIP Imports: Covered import runner with further testing
2024-11-16 19:52:20 +00:00
Dan Brown
8645aeaa4a
ZIP Imports: Started testing core import logic
...
Fixed image size handling, and lack of attachment reference replacements
during testing.
2024-11-16 16:12:45 +00:00
Dan Brown
7681e32dca
ZIP Imports: Added high level import run tests
2024-11-16 13:57:41 +00:00
Dan Brown
b7476a9e7f
ZIP Import: Finished base import process & error handling
...
Added file creation reverting and DB rollback on error.
Added error display on failed import.
Extracted likely shown import form/error text to translation files.
2024-11-14 15:59:15 +00:00
Dan Brown
5fba4a5399
Updated version and assets for release v24.10.2
2024-11-13 12:03:15 +00:00
Dan Brown
c0b377050e
Merge branch 'development' into release
2024-11-13 12:02:30 +00:00
Dan Brown
306b8774c2
Updated translations with latest Crowdin changes ( #5317 )
...
* New translations common.php (Ukrainian)
* New translations entities.php (Ukrainian)
* New translations errors.php (Ukrainian)
* New translations activities.php (Czech)
* New translations entities.php (Czech)
2024-11-13 11:59:03 +00:00
Dan Brown
c40ab4147e
Dependencies: Updated composer packages
2024-11-13 11:39:04 +00:00
Dan Brown
48c101aa7a
ZIP Imports: Finished off core import logic
2024-11-11 15:06:46 +00:00
Dan Brown
378f0d595f
ZIP Imports: Built out reference parsing/updating logic
2024-11-10 16:03:50 +00:00
czemu
f12946d581
ExportFormatter: Add book description and check for empty book and chapter descriptions in markdown export
2024-11-10 09:39:33 +01:00
Dan Brown
d13e4d2eef
ZIP imports: Started actual import logic
2024-11-09 14:01:24 +00:00
Dan Brown
f3efb6441d
Updated version and assets for release v24.10.1
2024-11-08 13:53:06 +00:00
Dan Brown
0cf313a21e
Merge branch 'development' into release
2024-11-08 13:52:37 +00:00
Dan Brown
ac27e18933
Languages: Added Turkmen to locale manager
2024-11-08 13:46:57 +00:00
Dan Brown
e5a6ccc4d4
Translators: Updated before patch release
2024-11-08 13:31:21 +00:00
Dan Brown
e42cdbe8e0
Updated translations with latest Crowdin changes ( #5250 )
2024-11-08 13:29:21 +00:00
Dan Brown
a6ba8dd68f
Testing: Improved reliability
...
- Added extra column/value check for page revision test for accuracy.
- Changed search sort test to use more reliable values.
- Change due to database seeding somtimes generating values that
proceeded the test value, expected to be first, in sort results.
2024-11-08 11:35:18 +00:00
Dan Brown
7017a1cae5
Update URL Command: Added revisions table support
...
For #5292
Added test to cover.
2024-11-08 11:22:30 +00:00
Dan Brown
8120278b8c
PHP Deps: Bumped up minor versions
2024-11-08 10:41:25 +00:00
Dan Brown
73babcbfe3
Merge pull request #5312 from BookStackApp/system_cli_update
...
System CLI update
2024-11-07 17:22:08 +00:00
Dan Brown
45189d9517
System CLI: Updated to 126de5599c state
2024-11-07 17:10:35 +00:00
Dan Brown
7b84558ca1
ZIP Imports: Added parent and permission check pre-import
2024-11-05 15:41:58 +00:00
Dan Brown
92cfde495e
ZIP Imports: Added full contents view to import display
...
Reduced import data will now be stored on the import itself, instead of
storing a set of totals.
2024-11-05 13:17:31 +00:00
Dan Brown
14578c2257
ZIP Imports: Added parent selector for page/chapter imports
2024-11-04 16:21:22 +00:00
Dan Brown
8f6f81948e
ZIP Imports: Fleshed out continue page, Added testing
2024-11-03 17:28:18 +00:00
Dan Brown
c6109c7087
ZIP Imports: Added listing, show view, delete, activity
2024-11-03 14:13:05 +00:00
Dan Brown
8ea3855e02
ZIP Import: Added upload handling
...
Split attachment service storage work out so it can be shared.
2024-11-02 20:48:21 +00:00
Dan Brown
74fce9640e
ZIP Import: Added model+migration, and reader class
2024-11-02 17:17:34 +00:00
Dan Brown
259aa829d4
ZIP Imports: Added validation message display, added testing
...
Testing covers main UI access, and main non-successfull import actions.
Started planning stored import model.
Extracted some text to language files.
2024-11-02 14:51:04 +00:00
Dan Brown
c4ec50d437
ZIP Exports: Got zip format validation functionally complete
2024-10-30 15:26:23 +00:00
Dan Brown
b50b7b667d
ZIP Exports: Started import validation
2024-10-30 13:13:41 +00:00
Zero
fbeb2e23d4
fix deprecated syntax
2024-10-29 23:07:15 +08:00
Zero
4b60c03caa
re-write Dockerfile
2024-10-29 23:06:50 +08:00
Dan Brown
a56a28fbb7
ZIP Exports: Built out initial import view
...
Added syles for non-custom, non-image file inputs.
Started planning out back-end handling.
2024-10-29 14:21:32 +00:00
Dan Brown
4051d5b803
ZIP Exports: Added new import permission
...
Also updated new route/view to new non-book-specific flow.
Also fixed down migration of old export permissions migration.
2024-10-29 12:11:51 +00:00
Matthieu Leboeuf
87242ce6cb
Adapt tests with displayName array
2024-10-28 22:27:15 +01:00
Matthieu Leboeuf
72d9ffd8b4
Added support for concatenating multiple LDAP attributes in displayName
2024-10-28 22:14:30 +01:00
Rashad
f606711463
respective book and chapter structure added.
2024-10-27 22:50:20 +05:30
Dan Brown
d1f69feb4a
ZIP Exports: Tested each type and model of export
2024-10-27 14:33:43 +00:00
Dan Brown
e4ca3bf132
Merge pull request #5291 from LordSimal/development
...
fix tests namespace definition
2024-10-27 09:54:11 +00:00
Kevin Pfeifer
7aaf866064
fix tests namespace definition
2024-10-26 13:24:49 +02:00
Dan Brown
484342f26a
ZIP Exports: Added entity cross refs, Started export tests
2024-10-23 15:59:58 +01:00
Dan Brown
42ada66fdd
ZIP Exports: Added core logic for books/chapters
2024-10-23 11:30:32 +01:00
Dan Brown
f732ef05d5
ZIP Exports: Reorganised files, added page md parsing
2024-10-23 10:48:26 +01:00
Dan Brown
4fb4fe0931
ZIP Exports: Added working image handling/inclusion
2024-10-21 13:59:15 +01:00
Dan Brown
06ffd8ee72
Zip Exports: Added attachment/image link resolving & JSON null handling
2024-10-21 12:13:41 +01:00
Rashad
90a8070518
Eager loading for titles
2024-10-21 03:01:33 +05:30
Rashad
3e656efb00
Added include func for search api
2024-10-21 02:42:49 +05:30
Dan Brown
7c39dd5cba
ZIP Export: Started building link/ref handling
2024-10-20 19:56:56 +01:00
Dan Brown
21ccfa97dd
ZIP Export: Expanded page & added base attachment handling
2024-10-19 15:41:07 +01:00
Dan Brown
bf0262d7d1
Testing: Split export tests into multiple files
2024-10-19 13:59:42 +01:00
Dan Brown
42b9700673
ZIP Exports: Finished up format doc, move files, started builder
...
Moved all existing export related app files into their new own dir.
2024-10-15 16:14:11 +01:00
Dan Brown
42bd07d733
ZIP Export: Continued expanding format doc types
2024-10-15 13:57:16 +01:00
Dan Brown
6f1c54d018
Users: Changed name validation to min:1 instead of 2
...
Would cause scenarios where users could be created with 1 char, but then
fail to update due to validation differences.
Added test to cover.
For #5263
2024-10-15 11:07:41 +01:00
Dan Brown
1930af91ce
ZIP Export: Started types in format doc
2024-10-13 22:56:22 +01:00
Dan Brown
e088d09e47
ZIP Export: Started defining format
2024-10-13 14:18:23 +01:00
Dan Brown
209fa04752
TS: Converted dom and keyboard nav services
2024-10-11 21:55:51 +01:00
Dan Brown
f41c02cbd7
TS: Converted app file and animations service
...
Extracted functions out of app file during changes to clean up.
Altered animation function to use normal css prop names instead of JS
CSS prop names.
2024-10-11 15:19:19 +01:00
Dan Brown
4dc75bad05
Settings: Added test to cover setting category by view
2024-10-11 13:33:07 +01:00
Lachlan Tripolone
a3d0f7478f
Move settings category layouts into their own view folder
2024-10-11 10:42:48 +11:00
Lachlan Tripolone
b9b5003239
Refactor SettingController to validate categies by existing view files
2024-10-11 10:40:38 +11:00
Dan Brown
2e8d6ce7d9
TS: Coverted util service
2024-10-10 12:03:24 +01:00
Dan Brown
26aadffb20
Updated version and assets for release v24.10
2024-10-09 10:48:34 +01:00
Dan Brown
a5f48e3202
Merge branch 'development' into release
2024-10-09 10:46:07 +01:00
Dan Brown
a58102d6ef
Attribution: Updated translator & license files before v24.10
2024-10-09 10:26:07 +01:00
Dan Brown
65453bd94e
Updated translations with latest Crowdin changes ( #5188 )
2024-10-09 10:21:55 +01:00
Dan Brown
d22413b931
JS: Converted/updated translation code to TS, fixed some comment counts
...
- Migrated translation service to TS, stripping a lot of now unused code
along the way.
- Added test to cover translation service.
- Fixed some comment count issues, where it was not showing correct
value. or updating, on comment create or delete.
2024-10-07 22:55:10 +01:00
Dan Brown
8b9bcc1768
Search: Fixed last commented filter when using table prefixes
2024-10-05 15:20:04 +01:00
Dan Brown
51287d545b
Searching: Fixed some form search issues
...
- Form was not retaining certain filters
- Form request handling of entity type set wrong filter name
Added test to cover.
2024-10-05 14:49:30 +01:00
Dan Brown
c314a60a16
WYSIWYG: Code & table fixes
...
- Fixed new code block insertion to remove selection area instead of
just adding after.
- Added default table column widths to not be collapsed
- Updated table dom export to not duplicate colgroups.
2024-10-05 12:42:47 +01:00
Dan Brown
9b2520aa0c
WYSIWYG: Fixed list indenting selection & display bugs
...
- Fixed selection breaking on multiple indent changes
- Fixed multi-indent showing numbers on empty child list until the nodes
are fully re-rendered.
2024-10-04 15:11:09 +01:00
Dan Brown
346b88ae43
JS: Converted a few extra services to TS
2024-10-04 14:36:20 +01:00
Dan Brown
2766c76491
TinyMCE: Updated version from 6.8.3 to 6.8.4
2024-10-04 12:46:22 +01:00
Dan Brown
be6529d0a1
New WYSIWYG: Added mac shortcut support
2024-10-04 12:41:13 +01:00
Dan Brown
b1a3ea1aa4
Languages: Enabled Welsh option
2024-10-04 11:02:17 +01:00
Dan Brown
6646dcc24d
Merge pull request #5239 from BookStackApp/search_negation
...
Search term negation
2024-10-03 19:52:06 +01:00
Dan Brown
966ff91386
Search: Prevented negated terms filling in UI inputs
...
Added test to cover.
2024-10-03 19:40:11 +01:00
Dan Brown
cd84d08157
Search: Added exact/filter/tag term negation support
2024-10-03 19:27:03 +01:00
Dan Brown
93c677a6a9
Searching: Added negation support to UI and term handling
...
Updated/added tests to cover.
Support for actual search queries still remains.
2024-10-03 15:59:50 +01:00
Dan Brown
177cfd72bf
Search: Added structure for search term inputs
...
Sets things up to allow more complex terms ready to handle negation.
2024-10-02 17:31:45 +01:00
Dan Brown
34ade50181
Base layout: Changed main app script to be module loaded
...
Prevents polluting global scope with variables since we're using the
module format bundler in esbuild.
Also cleaned up unused yields.
Fixed bad reference in our tinymce fixes.
For #5232
2024-10-01 10:37:31 +01:00
Dan Brown
e65655594f
Merge branch 'feature/opensearch' into development
2024-09-30 17:21:51 +01:00
Dan Brown
514db60617
Tests: Categorised up meta tests
...
Extracted robots.txt tests into its own file to fit into new folder.
Also tweaked open search tests a tad to specifically check long app
names.
2024-09-30 17:07:53 +01:00
Dan Brown
8bc6e75319
Code Blocks: Added SAS and R language options
...
For #5206
2024-09-30 16:47:55 +01:00
Maximilian Walter
2f74cfb42c
Add test for OpenSearch endpoint
2024-09-30 17:45:20 +02:00
Maximilian Walter
1302e3c959
Add missing XML declaration to OpenSearch endpoint
2024-09-30 17:45:20 +02:00
Maximilian Walter
a5b031f906
Translatable description for OpenSearch XML
2024-09-30 17:45:20 +02:00
Dan Brown
f583354748
Maintenance: Removed stray dd from last commit
2024-09-29 16:50:48 +01:00
Dan Brown
d12e8ec923
Users: Improved user response for failed invite sending
...
Added specific handling to show relevant error message when user
creation fails due to invite sending errors, while also returning user
to the form with previous input.
Includes test to cover.
For #5195
2024-09-29 16:41:18 +01:00
Dan Brown
89f84c9a95
Pages: Updated editor field to always be set
...
- Migration for setting on existing pages
- Added test to cover simple new page scenario
For #5117
2024-09-29 14:36:41 +01:00
Dan Brown
6103a22feb
Exports: Made pdf command timeout configurable
...
Added test to cover.
For #5119
2024-09-27 16:33:58 +01:00
Dan Brown
42264f402d
CSS: Fixed floating search icon on mobile
...
Also updated styles to use logical elements instead of conditional rules
for altered search boxes.
Related to #2504
2024-09-27 16:02:13 +01:00
Dan Brown
abda9bc00a
PHP Dependancies: Updated packages pending major version changes
...
Closes #5222
2024-09-27 14:21:12 +01:00
Dan Brown
eec639d84e
Maintenance: Fixed js lint and SCSS build warnings
2024-09-27 13:57:39 +01:00
Dan Brown
56b9107c6b
Dependancies: Updated php & JS deps, updated license lists
...
Fixed issue now picked up by newer TS version
2024-09-27 12:29:19 +01:00
Dan Brown
b35b62d59f
Merge branch 'lexical' into development
2024-09-27 12:04:01 +01:00
Dan Brown
1b9310e766
Meta: Added lexical licensing info and added TS/JS CI testing
2024-09-27 10:45:48 +01:00
Dan Brown
a62d8381be
Lexical: Updated toolbar & text node exporting
...
- Updated toolbar to match existing editor, including dynamic RTL/LTR
controls.
- Updated text node handling to not include spans and extra classes when
not needed. Added & update tests to cover.
2024-09-23 17:36:16 +01:00
Dan Brown
8b32e6c15a
Page Editors: Added switching/options for new lexical editor
2024-09-22 20:06:55 +01:00
Dan Brown
c8ccb2bac7
Lexical: Range of fixes
...
- Prevented ui shortcuts running in editor
- Added form modal closing on submit
- Fixed ability to escape lists via enter on empty last item
2024-09-22 16:15:02 +01:00
Dan Brown
ef3de1050f
Lexical: Added UI translation support
2024-09-22 12:29:06 +01:00
Dan Brown
2add15bd72
Lexical: Added direction support to extra blocks
...
Also removed duplicated dir functionality that remained in core.
2024-09-22 12:07:24 +01:00
Dan Brown
e6edd9340e
Lexical: Added alignment detoggle, fixed inital focus area
2024-09-21 17:02:54 +01:00
Dan Brown
654a7a5d03
Lexical: Removed reconciler level direction handling
...
- Updated tests to consider changes
2024-09-21 13:00:16 +01:00
Dan Brown
dba8ab947f
Lexical: Finished conversion/update of test files
2024-09-20 15:31:19 +01:00
Dan Brown
787e06e3d8
Lexical: Adapted a range of further existing tests
2024-09-20 13:05:29 +01:00
Dan Brown
ccd486f2a9
Lexical: Got a range of Editor tests working
2024-09-18 17:31:51 +01:00
Dan Brown
22d078b47f
Lexical: Imported core lexical libs
...
Imported at 0.17.1, Modified to work in-app.
Added & configured test dependancies.
Tests need to be altered to avoid using non-included deps including
react dependancies.
2024-09-18 13:43:39 +01:00
Dan Brown
03490d6597
Lexical: Added RTL/LTR actions
...
Kinda useless though due to Lexical reconciler :(
2024-09-16 12:29:46 +01:00
Dan Brown
5f46d71af0
Lexical: Fixed a range of issues in RTL mode
2024-09-15 16:10:46 +01:00
Maximilian Walter
4f890c431c
Limit short-name for OpenSearch XML to 16 characters
...
The specification does not allow more than 16 characters.
2024-09-14 15:31:56 +02:00
Maximilian Walter
c110a97d8a
Remove unofficial method-attribute from OpenSearch-XML
2024-09-14 15:24:42 +02:00
Dan Brown
6872eb802c
Lexical: Altered keyboard handling to indicant handled state
2024-09-13 16:05:55 +01:00
Dan Brown
662110c269
Lexical: Custom list nesting support
...
Added list nesting support to allow li > ul style nesting which lexical
didn't do by default.
Adds tab handling for inset/outset controls.
Will be a range of edge-case bugs to squash during testing.
2024-09-13 15:50:42 +01:00
Dan Brown
5083188ed8
Lexical: Added block indenting capability
...
Needed a custom implementation due to hardcoded defaults for Lexical
default indenting.
2024-09-10 15:55:46 +01:00
Dan Brown
2036438203
Lexical: Added single node enter handling
...
Also updated media to be an inline element to align with old editor
behaviour.
2024-09-10 12:14:26 +01:00
Maximilian Walter
476c2be5a6
Add XML for OpenSearch
2024-09-09 22:54:33 +02:00
Dan Brown
ced66f1671
Lexical: Added single node backspace/delete support
2024-09-09 18:33:54 +01:00
Dan Brown
fb49371c6b
Lexical: Refined editor UI
...
- Cleaned up dropdown lists to look integrated
- Added icons for color picker clear and menu list items
2024-09-09 14:06:41 +01:00
Dan Brown
fd07aa0f05
Lexical: Further fixes
...
- Improved node resizer positioning to be more accurate
- Fixed drop handling not running within editor margin space
- Made media dom update smarter to reduce reloads
- Fixed media alignment, broken due to added wrapper
2024-09-09 12:28:01 +01:00
Dan Brown
16518a4f89
Lexical: Range of bug fixes, Updated lexical version
...
- Updated selection change detection to be more accurate
- Added UI refresh for extra actions
- Fixed remove link deleting contents
2024-09-08 15:54:59 +01:00
Dan Brown
bed2c29a33
Lexical: Added media resize support via drag handles
2024-09-08 13:37:13 +01:00
Dan Brown
e5b6d28bca
Lexical: Revamped image node resize method
...
Changed from using a decorator to using a helper that watches for image
selections to then display a resize helper.
Also changes resizer to use a ghost and apply changes on end instead of
continuosly during resize.
2024-09-07 18:39:58 +01:00
Dan Brown
1c9afcb84e
Lexical: Added some level of img/media alignment
2024-09-06 14:07:10 +01:00
Dan Brown
b0dda6e6a7
Updated version and assets for release v24.05.4
2024-08-29 16:04:51 +01:00
Dan Brown
d4025d95e7
Merge branch 'development' into release
2024-08-29 16:04:37 +01:00
Dan Brown
3a058a6e34
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2024-08-29 15:28:52 +01:00
Dan Brown
aac7d564c8
Updated translations with latest Crowdin changes ( #5118 )
2024-08-29 15:08:27 +01:00
Dan Brown
9aa3442a17
API: Fixed lacking permission enforcement on book contents
2024-08-29 14:43:21 +01:00
Dan Brown
c68d154f0f
LDAP: Updated tests for recursive group changes
2024-08-28 21:16:18 +01:00
Dan Brown
1b4ed69f41
LDAP: Updated recursive group search to query by DN
...
Added test to cover, added pre-change.
Need to test post-changes and fix tests.
2024-08-28 15:39:05 +01:00
Dan Brown
8cef998f49
RTL: Fixed lacking task list RTL support
...
Added with fallback to old LTR styles.
For #5134
2024-08-27 14:13:33 +01:00
Dan Brown
90d1223acd
Styles: Added max-width for iframes in content
...
For #5130
2024-08-27 13:32:16 +01:00
Dan Brown
1f2506221a
API: Updated docs with consistent types, fixed users response example
...
For #5178 and #5183
2024-08-27 12:23:36 +01:00
Dan Brown
9f68ca5358
Dependancies: Updated PHP and JS packages
2024-08-26 11:49:02 +01:00
Dan Brown
1ebb0f8c93
Lexical: Added table column cut/copy/paste support
2024-08-22 13:28:30 +01:00
Dan Brown
8a13a9df80
Lexical: Improved table row copy/paste
...
Added safeguarding/matching of source/target sizes to prevent broken
tables.
2024-08-22 10:08:08 +01:00
Dan Brown
ddf5f2543c
Lexical: Added drop/paste image handling
2024-08-21 12:59:45 +01:00
Dan Brown
dbb2fe3e59
Lexical: Finished off baseline shortcut implementation
2024-08-20 14:54:53 +01:00
Dan Brown
aa1fac62d5
Lexical: Started adding editor shortcuts
2024-08-20 13:07:33 +01:00
Dan Brown
111a313d51
Lexical: Added custom alignment handling for blocks
...
To align with pre-existing use of alignment classes.
2024-08-18 16:51:08 +01:00
Dan Brown
0039f893cc
Lexical: Integrated diagram manager, added menu split button
2024-08-17 10:48:34 +01:00
Dan Brown
ad6b26ba97
Lexical: Added basic URL field header option list
...
May show bad option label names on chrome/safari.
This was an easy first pass without loads of extra custom UI since we're
using native datalists.
2024-08-16 12:29:40 +01:00
Dan Brown
1ef4044419
Lexical: Connected link selector to link form
2024-08-16 11:22:12 +01:00
Dan Brown
accf2565a0
Lexical: Integrated image manager to image button/form
2024-08-13 19:36:18 +01:00
Dan Brown
ec965f28c0
Lexical: Added id support for all main block types
2024-08-11 16:08:51 +01:00
Dan Brown
ebf95f637a
Lexical: Wired table properties, and other buttons
2024-08-10 13:14:55 +01:00
Dan Brown
abbfd42a6c
Lexical: Kinda made row copy/paste work
2024-08-09 21:58:45 +01:00
Dan Brown
db4208a7eb
Lexical: Linked row properties form up
2024-08-09 12:42:04 +01:00
Dan Brown
da54e1d87c
Lexical: Added cell width fetching, Created custom row node
2024-08-09 11:24:25 +01:00
Dan Brown
e8532ef4de
Lexical: Added merge cell logic
2024-08-07 20:32:54 +01:00
Dan Brown
fa6d66db49
Readme: Updated sponsor image links to use website
2024-08-07 10:53:20 +01:00
Alexander Wilms
6604e7365f
Update sponsor image URLs in readme
2024-08-06 23:30:05 +00:00
Dan Brown
fcc1c2968d
Lexical: Added table cell node import logic
2024-08-06 09:36:37 +01:00
Dan Brown
b3d3b14f79
Lexical: Finished off core cell properties functionality
2024-08-05 18:49:17 +01:00
Dan Brown
8939f310db
Lexical: Started linking up cell properties form
2024-08-05 15:08:52 +01:00
Dan Brown
efec752985
Lexical: Split helpers to utils, refactored files
2024-08-03 18:14:01 +01:00
Dan Brown
e94ad78ea7
Lexical: Completed out table menu elements, logic pending
2024-08-03 18:01:54 +01:00
Dan Brown
a27a325af7
Lexical: Started on table actions
...
Started building table cell form/actions
2024-08-02 15:28:54 +01:00
Dan Brown
6b06d490c5
Lexical: Started table menu options
...
Updated UI elements to handle new scenarios needed in more complex table
menu
2024-08-02 11:16:54 +01:00
Dan Brown
13f8f39dd5
Lexical: Updated task list to use/support old format
2024-07-30 14:42:19 +01:00
Dan Brown
fe05cff64f
Lexical: Linked up change/draft management
2024-07-29 21:43:20 +01:00
Dan Brown
d86837ac07
Lexical: Got working with attachment insert/drop
2024-07-29 21:14:42 +01:00
Dan Brown
9a7edc6e52
Lexical: Started drop handling, handled templates
2024-07-29 15:27:41 +01:00
Dan Brown
ce8c9dd079
Lexical: Added form complex/tab ui support
2024-07-28 12:48:58 +01:00
Dan Brown
c8f6b7e0d6
Lexical: Got media node core work & form done
2024-07-27 17:25:30 +01:00
Dan Brown
f284d31861
Lexical: Started media node support
2024-07-25 16:25:08 +01:00
Dan Brown
76b0d2d5d8
Lexical: Added common events support
2024-07-23 15:35:18 +01:00
Dan Brown
2cab778f19
Lexical: Improved table resize bars
...
Added scoll & page resize handling.
Added cropping/limiting to edit area.
2024-07-23 12:45:58 +01:00
Dan Brown
c31f8eb2e0
Readme: Added route4me sponsorship
2024-07-22 16:51:56 +01:00
Dan Brown
b618287585
Lexical: Added table toolbar, organised button code
2024-07-21 15:11:24 +01:00
Dan Brown
63f4b42453
Lexical: Added toolbar scroll/resize handling
...
Also added smarter above/below positioning to respond if toolbar would
be off the bottom of the editor, and added hide/show when they'd go
outside editor scroll bounds.
2024-07-19 18:12:51 +01:00
Dan Brown
c7c0df0964
Lexical: Finished up core drawing insert/editing
...
Added new options that sits on the context, for things needed but not
for the core editor, which are defined out of the editor (drawio URL,
error message text, pageId etc...)
2024-07-19 12:09:41 +01:00
Dan Brown
fb87fb5750
JS: Converted http service to ts
2024-07-18 15:13:14 +01:00
Dan Brown
634b0aaa07
Lexical: Started converting drawio to TS
...
Converted events service to TS as part of this.
2024-07-18 11:19:11 +01:00
Dan Brown
5002a89754
Lexical: Standardised helper function format
2024-07-17 16:45:57 +01:00
Dan Brown
b367490edc
Lexical: Added list support, started todo
2024-07-17 16:38:20 +01:00
Dan Brown
e145f21512
Dev compose: Set image versions, removed unsupported mysql flag
...
Quick local test performed, ran a working instance.
For #5124
2024-07-17 11:13:39 +01:00
Dan Brown
ea4c50c2c2
Lexical: Added code block selection & edit features
...
Also added extra lifecycle handling for decorators to things can be
properly cleaned up after node destruction.
2024-07-16 16:36:08 +01:00
Dan Brown
d6021f4d22
Updated version and assets for release v24.05.3
2024-07-14 17:14:21 +01:00
Dan Brown
b9a3290731
Merge branch 'development' into release
2024-07-14 17:13:10 +01:00
Dan Brown
47ac0d5c3e
Updated translator & dependency attribution before release v24.05.3
2024-07-14 17:09:41 +01:00
Dan Brown
75f225d6dc
Updated translations with latest Crowdin changes ( #5065 )
2024-07-14 16:39:50 +01:00
Dan Brown
adb7bf7016
Codemirror: Enabled non-standard self-closing tags
...
For #5078
2024-07-14 16:36:36 +01:00
Dan Brown
897bb338f9
CSP: Updated handling of drawio URL to consider port
...
Previously if a custom port was used in the DRAWIO option it would not
be considered in the CSP handling, which would block loading.
Added test to cover.
For #5107
2024-07-14 16:06:18 +01:00
Dan Brown
767699a066
OIDC: Fixed incorrect detection of group detail population
...
An empty (but valid formed) groups list provided via the OIDC ID token
would be considered as a lacking detail, and therefore trigger a lookup
to the userinfo endpoint in an attempt to get that information.
This fixes this to properly distinguish between not-provided and empty
state, to avoid userinfo where provided as valid but empty.
Includes test to cover.
For #5101
2024-07-14 14:21:16 +01:00
Dan Brown
7161f22706
Dependancies: Updated composer & npm deps
2024-07-14 13:55:46 +01:00
Dan Brown
ddec8097b7
Merge pull request #5096 from DanielGordonIT/normalize-file-extensions
...
Wraps file extension comparison components in strtolower()
2024-07-14 13:51:55 +01:00
Dan Brown
95c3cc5c00
Styles: Improved callout RTL support
...
Will now adapt using logical styles where supported, will fallbacks
to old fixed LTR positioning where not supported.
For #5104
2024-07-14 12:21:07 +01:00
Dan Brown
60c53705ca
Merge pull request #5069 from mueller-contria/5068-allowed_iframe_sources_in_phpunit_xml
...
Add ALLOWED_IFRAME_SOURCES to phpunit.xml
2024-07-14 12:06:17 +01:00
Dan Brown
51d8044a54
Lexical: Added initial form/modal styles
2024-07-09 20:49:47 +01:00
Dan Brown
ce697ab0f5
Readme: Added sponsor, removed road map section
...
Road map section was very much outdated and redundant so removing to
avoid confusion.
2024-07-09 14:37:29 +01:00
DanielGordonIT
ca310966b2
Actually add the test this time
2024-07-05 03:59:49 +00:00
DanielGordonIT
25f92ce584
Add test to verify different case on extensions works
2024-07-04 19:48:12 -04:00
Dan Brown
2c96af9aea
Lexical: Worked on toolbar styling, got format submenu working
2024-07-04 16:16:16 +01:00
Dan Brown
04c7e680fd
Lexical: Linked up saving logic of editor via interface
2024-07-04 13:09:53 +01:00
DanielGordonIT
9b0ef85f77
Wraps file extension comparison components in strtolower()
...
This avoids the issue where replacing file.PNG with newfile.png fails due to "PNG" not being equal to "png"
2024-07-03 15:50:25 -04:00
Dan Brown
a8f1160743
JS: Converted come common services to typescript
2024-07-03 11:00:57 +01:00
Dan Brown
feca1f0502
Lexical: Started diagram support
2024-07-03 10:28:04 +01:00
Dan Brown
d0a5a5ef37
Lexical: Linked code block to editor, added button
2024-07-02 17:34:03 +01:00
Dan Brown
97f570a4ee
Lexical: Started code block node implementation
2024-07-02 14:46:30 +01:00
Dan Brown
9ebbf7ce94
Lexical: Started loading real content, Improved html loading
...
Added more styling/layout for buttons and main content area
2024-07-01 15:10:22 +01:00
Dan Brown
c2ecbf071f
Lexical: Added tracked container, added fullscreen action
...
Changed how the editor is loaded in, so it now creates its own DOM, and
content is passed via creation function, to be better self-contained.
2024-07-01 10:44:23 +01:00
Dan Brown
b1c489090e
Lexical: Added context toolbar placement, added link toolbar
...
Also added some basic context toolbar styling
2024-06-30 19:52:09 +01:00
Dan Brown
c9a03c5b01
Lexical: Added base context toolbar logic
2024-06-30 12:13:13 +01:00
Dan Brown
517c578a5f
Lexical: Reorganised some logic into manager
2024-06-30 10:31:39 +01:00
Dan Brown
14837e34fb
Readme: Added sponsor practinet
2024-06-28 22:28:06 +01:00
Dan Brown
f10ec3271a
Lexical: Added overflow container
2024-06-27 16:28:06 +01:00
Dan Brown
4e2820d6e3
Lexical: Added horizontal rule node
2024-06-27 15:48:06 +01:00
Dan Brown
72a0e081ca
Lexical: Completed initial table cell resize handle logic
2024-06-26 17:22:00 +01:00
Dan Brown
b1130cb1c3
Lexical: Linked up table resize handler (unfinished)
2024-06-26 13:52:00 +01:00
Dan Brown
59936631ec
Lexical: Extracted mouse drag tracking to new helper
2024-06-25 18:33:29 +01:00
Dan Brown
3af22ce754
Lexical: Created custom table node with col width handling
2024-06-24 20:50:17 +01:00
Dan Brown
5546b8ff43
Lexical: Added more icons, made reflective text/bg color buttons
2024-06-23 15:50:41 +01:00
Dan Brown
a07092b7e6
Lexical: Updated lexical, added undo state tracking, format styles
2024-06-23 11:36:48 +01:00
Dan Brown
ac01c62e6e
Lexical: Added table creator UI
2024-06-21 16:18:44 +01:00
Dan Brown
f47f7dd9d2
Lexical: Added base table support and started resize handling
2024-06-21 13:47:47 +01:00
Dan Brown
13d970c7ce
Lexical: Added button icon system
...
With a bunch of default icons
2024-06-19 20:00:29 +01:00
Dan Brown
e2409a5fab
Lexical: Added basic list button/support
2024-06-19 16:14:20 +01:00
Dan Brown
e30aae3399
Sponsors: Added Schroeck IT Consulting
2024-06-13 16:46:39 +01:00
Stefan Mueller
b81f2b52d0
Add ALLOWED_IFRAME_SOURCES to phpunit.xml
...
Fix for bug #5068
test_frame_src_csp_header_set fails, when .env-file has
customized ALLOWED_IFRAME_SOURCES
2024-06-13 12:41:05 +02:00
Dan Brown
9e43e03db4
Lexical: Added color picker controls
2024-06-12 19:51:42 +01:00
Dan Brown
a475cf68bf
Lexical: Added clear formatting button
2024-06-12 14:24:50 +01:00
Dan Brown
e889bc680b
Lexical: Added view/edit source code button/form/action
2024-06-12 14:01:36 +01:00
Dan Brown
48f235ea5a
Updated version and assets for release v24.05.2
2024-06-10 11:44:06 +01:00
Dan Brown
047771b9f4
Merge branch 'development' into release
2024-06-10 11:43:05 +01:00
Dan Brown
c096b20d9c
Updated translator & dependency attribution before release v24.05.2
2024-06-10 11:42:37 +01:00
Dan Brown
11a7ccc37e
SAML: Set static type to pass static checks
...
Not totally clear if underlying code can actually return null, but
playing it safe to remain as-is for now for patch release.
2024-06-10 10:31:35 +01:00
Dan Brown
d9b9e6c0b1
Updated translations with latest Crowdin changes ( #5022 )
2024-06-10 10:16:34 +01:00
Dan Brown
f18d42f08e
Merge pull request #5036 from bradenterpstra01/development
...
Fixed incorrect code shortcut reference
2024-06-09 23:23:28 +01:00
Dan Brown
4986f008b9
Merge pull request #5052 from michaelortnerit/development
...
Update docker-compose.yml
2024-06-09 23:20:01 +01:00
Dan Brown
a8ce199e0d
Pages: Fixed unused changelog on first page publish
...
Included test to cover.
For #5056
2024-06-09 17:18:23 +01:00
Dan Brown
c77e8730d6
Deps: Updated php packages via composer
2024-06-09 17:03:29 +01:00
Dan Brown
3406846c82
Images: Updated GIF handling to use native methods
...
Changes GIF image thumbnail handling to direcly load via gd instead of
going through interventions own handling (which supports frames) since
we don't need animation for our thumbnails, and since performance issues
could arise with GIFs that have large frame counts.
For #5029
2024-06-09 17:00:58 +01:00
Dan Brown
bddc6ae66b
Roles: Added max validation for role external auth id field
...
For #5037
2024-06-08 20:33:34 +01:00
Dan Brown
5c343638b6
Added base node/button for details/summary
2024-06-06 14:43:50 +01:00
Dan Brown
0722960260
Lexical: Added selection to state for aligned reading
...
Connected up to work with image form
2024-06-05 18:43:42 +01:00
Dan Brown
e959c468f6
Lexical: Made image resize handles functional
2024-06-05 17:18:58 +01:00
Dan Brown
ba871ec46a
Lexical: Started image resize controls, Defined thorough decorator model
2024-06-05 13:04:49 +01:00
Michael Ortner
bd6e3c022f
Update docker-compose.yml
...
Remove the version: because it is obsolete. See: https://docs.docker.com/compose/compose-file/04-version-and-name/#version-top-level-element-optional
2024-06-04 15:07:09 +02:00
Dan Brown
a74e04141c
Lexical: Started build of image node and decoration UI
2024-06-03 16:56:31 +01:00
Dan Brown
7c504a10a8
Lexical: Created core modal functionality
2024-06-01 16:49:47 +01:00
Dan Brown
ae98745439
Lexical: Started on form UI
2024-05-30 16:50:55 +01:00
Dan Brown
57259aee00
Lexical: Added format previews to format buttons
2024-05-30 12:25:25 +01:00
bradenterpstra01
8759fff116
Update wysiwyg.blade.php
...
Remove the Shift for the numeric shortcut for incline code.
Ctrl+8 instead of Ctrl+Shift+8
I assume Mac is the same but I do not have a Mac to test with.
2024-05-29 18:01:48 -04:00
Dan Brown
dc1a40ea74
Lexical: Added ui container type
...
Structured UI logical to be fairly standard and mostly covered via
a base class that handles context and core dom work.
2024-05-29 20:38:31 +01:00
Dan Brown
483d9bf26c
Lexical: Added a range of format buttons
2024-05-28 22:56:58 +01:00
Dan Brown
b24d60e98d
Lexical: Started UI fundementals with basic button
2024-05-28 18:04:48 +01:00
Dan Brown
0f8bd869d8
Lexical: Added custom id-supporting paragraph blocks
2024-05-28 15:09:50 +01:00
Dan Brown
49546cd627
Lexical: Switched to ts for new editor build
2024-05-27 23:50:28 +01:00
Dan Brown
6e852d2e65
Lexical: Played with commands, extracted & improved callout node
2024-05-27 20:23:45 +01:00
Dan Brown
5a4f595341
Editors: Added lexical editor for testing
...
Started basic playground for testing lexical as a new WYSIWYG editor.
Moved out tinymce to be under wysiwyg-tinymce instead so lexical is the
default, but TinyMce code remains.
2024-05-27 15:39:41 +01:00
Dan Brown
6019d2ee14
MFA: Tweaked backup code wording
...
It was not clear before as it could be taken that the system would
securely store the codes.
Closes #5017
2024-05-23 11:30:53 +01:00
Dan Brown
b5375114d3
Updated version and assets for release v24.05.1
2024-05-21 11:07:36 +01:00
Dan Brown
fc13e56cea
Merge branch 'development' into release
2024-05-21 11:07:10 +01:00
Dan Brown
f937bf3abb
Updated translator & dependency attribution before release v24.05.1
2024-05-21 11:06:08 +01:00
Dan Brown
586e8963a8
Updated translations with latest Crowdin changes ( #4994 )
2024-05-21 11:04:27 +01:00
Dan Brown
bdfa76ed9a
Deps: Updated php/composer packages
2024-05-20 17:28:53 +01:00
Dan Brown
d133f904d3
Auth: Changed email confirmations to use login attempt user
...
Negates the need for a public confirmation resend form
since we can instead just send direct to the last session login attempter.
2024-05-20 17:23:15 +01:00
Dan Brown
69af9e0dbd
Routes: Added throttling to a range of auth-related endpoints
...
Some already throttled in some means, but this adds a simple ip-based
non-request-specific layer to many endpoints.
Related to #4993
2024-05-20 14:00:58 +01:00
Dan Brown
72c5141dec
File Uploads: Added basic validation response formatting
...
Tested via app-level validation file limit, and then also with nginx
file post limit.
For #4996
2024-05-18 21:18:15 +01:00
Dan Brown
5651d2c43d
Config: Reverted change to cache directory
...
Change made during Laravel 10 updates to align (Laravel made this change
much earlier in 5.x series) but it caused issues due to folder not
pre-existing and due to potentiall permission issues.
(CLI could create this during update, with non-compatible permissions
for webserver).
For #4999
2024-05-18 20:40:26 +01:00
Dan Brown
fc236f930b
Dark Mode: Fixed setting labels missing dark mode handling
...
Fixes #5018
2024-05-18 20:37:49 +01:00
Dan Brown
570af500f4
WYSIWYG: Added justify cell range cleanup
...
To help override & gain control of setting text alignment in tables.
- Adds support of clearing "align" attributes in certain operations.
- Updates cell range action handling to dedupe execcommand handling.
- Adds clearing of additional alignment classes on direction control.
Closes #5011
2024-05-16 14:59:30 +01:00
Dan Brown
38913288d8
Devdocs: Fixed visual theme system lang folder reference
...
Made some other minor updates while there.
Fixes #4998
2024-05-16 14:15:26 +01:00
Dan Brown
c14d7d9509
Merge pull request #5008 from KiDxS/fix-notification-preferences-url-in-email
...
Fixed notification preferences URL in email
2024-05-16 14:11:15 +01:00
Angelo Geant Gaviola
79f5be4170
Fixed notification preferences URL in email
2024-05-14 17:04:23 +08:00