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
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
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
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
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