Dan Brown
a031edec16
Fixed old deprecated encoding convert on HTML doc load
2023-02-23 22:59:26 +00:00
Dan Brown
2724b2867b
Merge pull request #4062 from BookStackApp/settings_perf
...
Changed the way settings are loaded
2023-02-23 22:22:32 +00:00
Dan Brown
8bebea4cca
Changed the way settings are loaded
...
This new method batch-loads them from the database, and removes the
cache-layer with the intention that a couple of batch fetches from the
DB is more efficient than hitting the cache each time.
2023-02-23 22:14:47 +00:00
Dan Brown
6545afacd6
Changed autosave handling for better editor performance
...
This changes how the editors interact with the parent page-editor
compontent, which handles auto-saving.
Instead of blasting the full editor content upon any change to that
parent compontent, the editors just alert of a change, without the
content. The parent compontent then requests the editor content from the
editor component when it needs that data for an autosave.
For #3981
2023-02-23 12:30:27 +00:00
Dan Brown
31495758a9
Made page-save HTML formatting much more efficient
...
Replaced the existing xpath-heavy system with a more manual traversal
approach. Fixes following slow areas of old system:
- Old system would repeat ID-setting action for elements (Headers could
be processed up to three times).
- Old system had a few very open xpath queries for headers.
- Old system would update links on every ID change, which triggers it's
own xpath query for links, leading to exponential scaling issues.
New system only does one xpath query for links when changes are needed.
Added test to cover.
For #3932
2023-02-22 14:32:40 +00:00
Dan Brown
c80396136f
Increased attachment link limit from 192 to 2k
...
Added test to cover.
Did attempt a 64k limit, but values over 2k significantly increase
chance of other issues since this URL may be used in redirect headers.
Would rather catch issues in-app.
For #4044
2023-02-20 13:05:23 +00:00
Dan Brown
8da3e64039
Updated language files to remove literal "1" values
...
This is to encourge the ":count" values to be used instead of 1s in the
translated variants so that non-pluralised languages are hardcoded with
"1"s in their content, even when not used in a singular context.
For #4040
2023-02-20 12:05:52 +00:00
Dan Brown
c1167f8821
Merge pull request #4051 from BookStackApp/roles_api
...
User Roles API Endpoint
2023-02-19 16:11:30 +00:00
Dan Brown
4176b598ce
Fixed unselectable checkbox role form options
2023-02-19 16:03:50 +00:00
Dan Brown
950c02e996
Added role API responses & requests
...
Also applied other slight tweaks and comment updates based upon manual
endpoint testing.
2023-02-19 15:58:29 +00:00
Dan Brown
9502f349a2
Updated test to have reliable check ordering
2023-02-18 19:01:38 +00:00
Dan Brown
3c3c2ae9b5
Set order to role permissions API response
2023-02-18 18:50:01 +00:00
Dan Brown
723f108bd9
Aded roles API controller methods
...
Altered & updated permissions repo, and existing connected
RoleController to suit.
Also extracts in-app success notifications to auto activity system.
Tweaked tests where required.
2023-02-18 18:36:34 +00:00
Dan Brown
55456a57d6
Added tests for not-yet-built role API endpoints
2023-02-18 13:51:18 +00:00
Dan Brown
c148e2f3d9
Added esbuild bundle inspection metafile
2023-02-17 22:37:13 +00:00
Dan Brown
f51036b203
Added newer languages where possible
...
Cannot find existing option for twig/smarty, need to look other methods.
2023-02-17 22:14:34 +00:00
Dan Brown
9135a85de4
Merge branch 'codemirror6' into codemirror6_take2
2023-02-17 21:28:23 +00:00
Dan Brown
fd45d280b4
Updated tinymce from 6.1.0 to 6.3.1
2023-02-17 21:16:42 +00:00
Dan Brown
524adce654
Merge pull request #4049 from BookStackApp/shelf_book_sort_updates
...
Shelf book sort improvements
2023-02-17 16:20:59 +00:00
Dan Brown
f799c9b260
Applied shelf book sort changes from testing
...
Added better labelling of sort lists for screen readers.
Fadded out sort-item action buttons until hovering for a cleaner look.
2023-02-17 16:18:24 +00:00
Dan Brown
9c26ccf43d
Added shelf book item sort action functionality
...
Adds JS logic, and dropdown action list, for quick-sorting the book
shelf list in addition to handling the book item action buttons.
2023-02-17 15:53:24 +00:00
Dan Brown
71a09bcf6e
Started accessible controls for shelf book sort
...
Added buttons and fit to design.
Added new icon variations to support.
Extracted book item to own view and setup for future auto sorts.
2023-02-17 15:05:28 +00:00
Dan Brown
af31a6fc1b
Made sendmail command configurable
...
For #4001
Added simple test to cover config option.
2023-02-17 14:25:38 +00:00
Dan Brown
08b39500b3
Fixed gallery images not visible until draft publish
...
For #4028
2023-02-16 17:57:34 +00:00
Dan Brown
f9fcc9f3c7
Updated php deps
2023-02-16 17:27:09 +00:00
Dan Brown
0812184995
Added torutec as sponsor, updated license and version
2023-02-14 16:16:08 +00:00
Dan Brown
646f8f60c0
Merge pull request #4032 from BookStackApp/favicon
...
Generate favicon.ico file
2023-02-09 21:37:38 +00:00
Dan Brown
f333db8e4f
Added control-upon-access of the default favicon.ico file
2023-02-09 21:16:27 +00:00
Dan Brown
da42fc7457
Added default favicon creation upon access.
2023-02-09 20:57:35 +00:00
Dan Brown
48f1934387
Updated favicon gen to use png-based ICO
...
From testing, worked on Firefox, Chrome, Gnome Web
2023-02-09 17:47:33 +00:00
Dan Brown
2845e0003e
Got favicons better supported, can't get transparency right
...
Digging deeper, I don't think PHPGD supports 32bit bmp output which
complicates matters.
2023-02-09 15:14:41 +00:00
Dan Brown
1a189640f1
Integrated favicon handler with correct files & actions
...
Format does not look 100% correct though, won't show in Firefox/gimp.
2023-02-09 13:24:43 +00:00
Dan Brown
420f89af99
Built custom favicon.ico file creator
...
Followed wikipedia-defined ICO file format info, and used with
Intervention's good bmp support, to create a working proof-of-concept.
2023-02-08 23:06:42 +00:00
Dan Brown
da1a66abd3
Extracted test file handling to its own class
...
Closes #3995
2023-02-08 14:39:13 +00:00
Dan Brown
5d18e7df79
Removed deprecated syntax in old migration file
2023-02-08 13:20:00 +00:00
Dan Brown
ba25a3e1b7
Merge pull request #4021 from BookStackApp/laravel9
...
Upgrade framework to Laravel 9
2023-02-07 12:11:04 +00:00
Dan Brown
bc18dc7da6
Removed parallel testing, updated predis
...
Parallel testing paratest library caused issues due to a single version
not being compatibile across our php range. Removed for now as not
really worth the faff to get compatible.
2023-02-07 11:50:59 +00:00
Dan Brown
5e8ec56196
Fixed issues found from tests
2023-02-06 20:41:33 +00:00
Dan Brown
9ca088a4e2
Fixed static analysis issues
2023-02-06 20:00:44 +00:00
Dan Brown
008e7a4d25
Followed Laravel 9 update steps and file changes
2023-02-06 16:58:29 +00:00
Dan Brown
6e6f113336
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2023-02-02 12:17:06 +00:00
Dan Brown
f7441e2abc
Updated translations with latest Crowdin changes ( #4008 )
2023-02-02 12:16:56 +00:00
Dan Brown
28c168145f
Added missing app icon image
...
Fixes #4006
2023-02-02 11:49:06 +00:00
Dan Brown
c2115cab59
Updated php depenencies
2023-02-02 11:44:25 +00:00
Dan Brown
813d140213
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2023-01-31 11:39:21 +00:00
Dan Brown
3dc5942a85
Updated translation attribution before v23.01 release
2023-01-31 11:38:56 +00:00
Dan Brown
03e2a9b200
Updated translations with latest Crowdin changes ( #3925 )
2023-01-31 11:29:36 +00:00
Dan Brown
8367a94e90
Merge pull request #4002 from BookStackApp/color_upgrades
...
Better application color scheme control
2023-01-28 17:59:54 +00:00
Dan Brown
631546a68a
Adjusted/improved some color setting wording
2023-01-28 17:57:43 +00:00
Dan Brown
7751022c66
Updated migration to carry across more colors, updated export
...
Updated export to use link color for link.
Export will now copy primary color to link color options for stable
upgrades.
2023-01-28 17:49:48 +00:00