Dan Brown
a33dbcb04a
References: Fixed references count/list recycle bin interaction
...
Count and reference list would get references then attempt to load
entities, which could fail to load if in the recycle bin.
This updates the queries to effectively ignore references for items we
can't see (in recycle bin).
Added test to cover.
For #4918
2024-04-01 17:08:53 +01:00
Dan Brown
58f6219cb3
Code: Fixed highlighting issues when no code language set
...
For #4917
2024-03-31 14:33:08 +01:00
Matt Moore
18269f2c60
Add LDAP_TLS_CACERTFILE to example env file
2024-03-27 13:17:25 +00:00
Matt Moore
06ef95dc5f
Change to allow override of CA CERT for LDAPS
...
Using the env LDAP_TLS_CACERTFILE to set a file to use to override
the CA CERT used to verify LDAPS connections. This is to make this
process easier for docker use.
2024-03-26 16:30:04 +00:00
Martin Rys
76c7166268
Use zopfli for oxipng for extra 3KB~
2024-03-26 12:31:54 +01:00
Dan Brown
6c063f424c
Merge pull request #4907 from BookStackApp/licensing_update
...
Dependency Licensing Improvements
2024-03-24 12:01:01 +00:00
Dan Brown
3345680f7d
Licensing: Added license gen as composer command
2024-03-24 11:58:31 +00:00
Dan Brown
a2fd80954b
Licensing: Added links and tests for new licenses endpoint
...
For #4907
2024-03-23 22:04:18 +00:00
Dan Brown
0c524c7c8f
Licensing: Added licenses app view
...
Extracted many methods to a new "MetaController" in the process.
2024-03-23 16:31:13 +00:00
Martin Rys
5f306a11e7
15KB lossless optimization via oxipng(PNG) and svgo(SVG)
2024-03-23 16:33:11 +01:00
Dan Brown
ed956a4cf0
Licensing: Updated license gen scripts to share logic
2024-03-23 15:33:05 +00:00
Dan Brown
55a2a6db88
Licensing: Added script to gen info for JS packages
2024-03-23 15:19:58 +00:00
Dan Brown
f789359886
Licensing: Added script to build PHP library licensing information
2024-03-22 14:44:23 +00:00
Dan Brown
c221a00e1e
Migrations: Added prefix support to schema inspection
2024-03-19 10:30:26 +00:00
Dan Brown
83913af68b
Merge branch 'development' into C0rn3j/development
2024-03-18 14:35:16 +00:00
Dan Brown
fa5395a02b
Meta: Updated workflows, licence and readme
...
- Updated license year
- Updated some readme wording, removed lapsed sponsor, Removed twitter
link, added link to alt github source
- Update cache action for GH workflows since GH was complaining
2024-03-18 14:26:31 +00:00
Dan Brown
85dd71507e
Merge pull request #4903 from BookStackApp/laravel10
...
Framework: Upgrade from Laravel 9 to 10
2024-03-17 17:00:03 +00:00
Dan Brown
28d6292278
Framework: Addressed deprecations
2024-03-17 16:52:19 +00:00
Dan Brown
b4b84f81a0
Deps: Updated custom symfony/mailer package
...
Done during #4903 work
2024-03-17 16:32:59 +00:00
Dan Brown
2345fd4677
Deps: Updated intervention library from 2 to 3
...
Major version change, required some changes to API
For #4903
2024-03-17 16:03:12 +00:00
Dan Brown
3250fc732c
Testing: Updated PHPUnit from 9 to 10
...
For #4903
2024-03-17 15:41:11 +00:00
Dan Brown
45d52f27ae
Migrations: Updated with type hints instead of php doc
...
Also updated code to properly import used facades.
For #4903
2024-03-17 15:29:09 +00:00
Dan Brown
d6b7717985
Framework: Fixed issues breaking tests
...
For #4903
2024-03-16 15:26:34 +00:00
Dan Brown
794671ef32
Framework: Upgrade from Laravel 9 to 10
...
Following Laravel guidance and GitHub diff.
Not yet in tested state with app-specific changes made.
2024-03-16 15:12:14 +00:00
Martin Rys
70479df5dc
Dockerfile: Don't cache 50MB of lists and use a single layer, make it pretty
2024-03-12 14:04:33 +01:00
Dan Brown
07761524af
Dev: Fixed flaky OIDC test, updated dev version
2024-03-12 12:08:26 +00:00
Dan Brown
2ed931aeed
Updated minimum PHP version from 8.0 to 8.1
...
For #4893
2024-03-12 11:29:51 +00:00
Dan Brown
0d3de40459
Updated translator attribution before release v24.02.1
2024-03-10 18:45:32 +00:00
Dan Brown
3619f79ca6
Updated translations with latest Crowdin changes ( #4877 )
2024-03-10 18:36:12 +00:00
Dan Brown
c9d9ad10f2
Merge branch 'totp-patch' into development
2024-03-10 18:32:02 +00:00
Dan Brown
d5a689366c
MFA: Copied autocomplete changes from totp to backup codes
...
Also added tests to cover.
Related to #4849
2024-03-10 18:31:01 +00:00
Dan Brown
bc24a1360f
TOTP: Added one-time-code autofill
...
During review of #4849
Tested on Firefox & Chromium desktop.
2024-03-10 18:24:42 +00:00
Dan Brown
77f125208e
Page nav: Fixed nbsp being represented as nothing
...
Now represented in page nav using a normal space to avoid complete
removal of space.
Added test to cover.
For #4836
2024-03-09 15:52:09 +00:00
Dan Brown
b7d4bd5bce
Breadcrumbs: Set book/shelf lists to use name ordering
...
Previously in database order (id) which is not predictable
nor parsable for users.
For #4876
2024-03-09 15:24:44 +00:00
Dan Brown
5a5f0b8de9
Page Display: Fixed highlighting for elements in nested details
...
For #4878
2024-03-09 15:07:51 +00:00
Dan Brown
8e01345f14
Entity popular queriy: Loaded parents for selector breadcrumbs
2024-02-28 13:20:24 +00:00
Dan Brown
f5f96f84e7
404: Fixed entity list issue with entity with non-visible parent
...
Adds our mixed entity list loader to popular queries for more efficient
loading.
2024-02-28 13:08:06 +00:00
Dan Brown
2009d4d6a8
Translations: Updated translator attribution, added serbian to locales
2024-02-28 12:29:09 +00:00
Dan Brown
4ccfde6d02
Updated translations with latest Crowdin changes ( #4803 )
2024-02-28 12:19:36 +00:00
Dan Brown
c4279c9697
Merge branch 'v23-12' into development
...
Updated composer deps again to take lock file to current
2024-02-28 12:11:39 +00:00
Dan Brown
48ea0bc291
Deps: Updated composer packages
2024-02-26 11:17:36 +00:00
Dan Brown
a75d5b8bc1
Sessions: Prevent image urls being part of session URL history
...
To prevent them being considered for redirects.
Includes test to cover.
For #4863
2024-02-22 11:23:59 +00:00
Dan Brown
055bbf17de
Theme System: Added AUTH_PRE_REGISTER logical event
...
Included tests to cover.
Manually tested on standard and social (GitHub) auth.
For #4833
2024-02-21 15:30:29 +00:00
Dan Brown
be3423a16e
Deps: Updated npm & composer deps
...
Avoided updating markdown-it package to 14 for now since it would cause
bundle size to inflate. Don't think ESBuild is properly tree shaking
"entities" sub package which inflates size.
(Copied this message from december deps update).
2024-02-20 18:21:59 +00:00
Dan Brown
bbb41e8b5c
Breadcrumbs: Fixed bad dropdown menu placement at small sizes
...
For #4824
2024-02-20 18:03:32 +00:00
Dan Brown
c290d01adb
WYSIWYG: Improved a range of text direction/alignment scenarios
...
- Removes 'span' from being a valid part of alignment formats so it's
not used to align contents, since it's going to mostly be an inline
format, wheras you'd really want alignment on the parent block.
- Adds direction cleaning to all direction change events, to remove
direction styles and child direction controls which may complicate
matters and cause direction changes not to show.
- Makes text direction controls work with table cell range selections,
which TinyMCE does not consider by default, via manual handling.
For #4843
2024-02-20 14:15:22 +00:00
Dan Brown
16327cf40c
Cover images: Updated description wording to better detail size
...
To make it clearer that the advised size may not be fixed.
For #4748
2024-02-19 20:26:04 +00:00
Dan Brown
999d41a7f5
WYSIWYG: Updated code handling to respect direction
...
Specifically supports "dir" attribute being on top level "pre" element,
and handles application/switching of this within the editor.
For #4809
2024-02-18 17:55:56 +00:00
Dan Brown
9ff9b9c805
Merge pull request #4850 from BookStackApp/table_improvements
...
Range of WYSIWYG Editor Table Handling Improvements
2024-02-17 16:40:27 +00:00
Dan Brown
8f1d8cef9e
Tables: Added dynamic table header toggle
...
Shows in table context toolbar when in the first row.
2024-02-17 16:28:13 +00:00