]>
BookStack Code Mirror - bookstack/log
Dan Brown [Thu, 22 Sep 2022 16:29:38 +0000 (17:29 +0100)]
Added login throttling test, updated reset-pw test method names
Dan Brown [Thu, 22 Sep 2022 16:15:15 +0000 (17:15 +0100)]
Split out registration and pw-reset tests methods
Dan Brown [Thu, 22 Sep 2022 15:54:27 +0000 (16:54 +0100)]
Removed usage of laravel/ui dependency
Brings app auth controller handling aligned within the app, rather than
having many overrides of the framwork packages causing confusion and
messiness over time.
Dan Brown [Thu, 22 Sep 2022 14:12:05 +0000 (15:12 +0100)]
Updated auth controllers with property types
Dan Brown [Tue, 20 Sep 2022 12:18:41 +0000 (13:18 +0100)]
Updated translator attribution before release v22.09.1
Dan Brown [Tue, 20 Sep 2022 12:16:15 +0000 (13:16 +0100)]
New Crowdin updates (#3710)
Dan Brown [Tue, 20 Sep 2022 11:52:44 +0000 (12:52 +0100)]
Added reason, if existing, into SAML acs error
Closes #3731
Dan Brown [Tue, 20 Sep 2022 10:59:36 +0000 (11:59 +0100)]
Added extra setlocale format to help windows support
Related to #3650
Dan Brown [Mon, 19 Sep 2022 16:24:21 +0000 (17:24 +0100)]
Fixed language request link in readme
Dan Brown [Sun, 18 Sep 2022 14:04:07 +0000 (15:04 +0100)]
Merge pull request #3728 from BookStackApp/php_formatting
Addition of PHPCS for formatting
Dan Brown [Sun, 18 Sep 2022 13:50:25 +0000 (14:50 +0100)]
Updated readme for phpcs usage, aligned gh action workflows
Dan Brown [Sun, 18 Sep 2022 00:56:45 +0000 (01:56 +0100)]
Added php lint gh action, updated composer scripts
Dan Brown [Sun, 18 Sep 2022 00:25:20 +0000 (01:25 +0100)]
Added and ran PHPCS
Dan Brown [Thu, 8 Sep 2022 11:26:14 +0000 (12:26 +0100)]
Added a little protection to migration query
Just to be sure the query is filtered as expected to only affect
shelf-based images.
Dan Brown [Thu, 8 Sep 2022 10:59:57 +0000 (11:59 +0100)]
New Crowdin updates (#3701)
Dan Brown [Thu, 8 Sep 2022 10:58:55 +0000 (11:58 +0100)]
Updated translator attribution
Dan Brown [Tue, 6 Sep 2022 20:30:28 +0000 (21:30 +0100)]
Made a range of rtl fixes
Mostly around dropdowns and other items that had right/left specific
styling.
For #3702
Dan Brown [Tue, 6 Sep 2022 16:41:32 +0000 (17:41 +0100)]
Removed old thai files, added romanian as lang option
Also applied styleci changes
Dan Brown [Tue, 6 Sep 2022 16:20:35 +0000 (17:20 +0100)]
Added image view access notice to role form
Added to clarify the role permission in scenarios where users may have
not read the docs site to understand image access control.
Related to #3688
Dan Brown [Tue, 6 Sep 2022 16:01:56 +0000 (17:01 +0100)]
Widened svg content attribute xss filtering
Takes care of additional cases that can occur.
Closes #3705
Dan Brown [Tue, 6 Sep 2022 15:32:42 +0000 (16:32 +0100)]
Updated OIDC group attr option name
To match the existing option name for display names.
Closes #3704
Dan Brown [Mon, 5 Sep 2022 15:51:01 +0000 (16:51 +0100)]
Merge pull request #3698 from BookStackApp/include_theme_event
Added "page_include_parse" theme event
Dan Brown [Mon, 5 Sep 2022 15:40:42 +0000 (16:40 +0100)]
Added "page_include_parse" theme event
For custom control of include tag parsing.
Dan Brown [Mon, 5 Sep 2022 14:52:12 +0000 (15:52 +0100)]
Added permission visiblity control to image-delete button
Includes test to cover.
For #3697
Dan Brown [Mon, 5 Sep 2022 14:06:47 +0000 (15:06 +0100)]
Wrapped wysiwyg drawing change in editor transaction
To make the content changes made a undoable transaction that is picked
up as a change.
From my testing, should address #3682
Dan Brown [Mon, 5 Sep 2022 12:33:05 +0000 (13:33 +0100)]
Addressed setlocale issue caught by phpstan
setlocale could be called with no second param if the language given to
the modified function was empty.
Dan Brown [Mon, 5 Sep 2022 12:18:37 +0000 (13:18 +0100)]
Applied styleci changes, updated composer deps
Dan Brown [Mon, 5 Sep 2022 12:17:10 +0000 (13:17 +0100)]
New Crowdin updates (#3643)
Dan Brown [Sat, 3 Sep 2022 11:32:21 +0000 (12:32 +0100)]
Updated page revisions link visibility
To match the actual visibilities of the revisions listing page and
options.
Related to #2946
Dan Brown [Fri, 2 Sep 2022 18:19:01 +0000 (19:19 +0100)]
Updated & improved language locale handling
Extracted much of the language and locale work to a seperate, focused class.
Updated php set_locale usage to prioritise UTF8 usage.
Added locale options for windows.
Clarified what's a locale and a bookstack language string.
For #3590 and maybe #3650
Dan Brown [Fri, 2 Sep 2022 13:47:44 +0000 (14:47 +0100)]
Fixed failing tests due to shelf text changes, applied styleci changes
Dan Brown [Fri, 2 Sep 2022 13:41:25 +0000 (14:41 +0100)]
Merge pull request #3693 from BookStackApp/local_secure_restricted
Addition of a `local_secure_restricted` image storage option
Dan Brown [Fri, 2 Sep 2022 13:40:17 +0000 (14:40 +0100)]
Fixed local_secure_restricted preventing attachment uploads
Due to option name change and therefore lack of handling.
Added test case to cover.
Dan Brown [Fri, 2 Sep 2022 13:21:43 +0000 (14:21 +0100)]
Added test and handling for local_secure_restricted in exports
Dan Brown [Fri, 2 Sep 2022 13:03:23 +0000 (14:03 +0100)]
Added test to cover secure restricted functionality
Dan Brown [Fri, 2 Sep 2022 11:54:54 +0000 (12:54 +0100)]
Fixed shelf covers being stored as 'cover_book'
Are now stored as 'cover_bookshelf' as expected.
Added a migrate to alter existing shelf cover image types.
Dan Brown [Thu, 1 Sep 2022 15:17:14 +0000 (16:17 +0100)]
Started work on local_secure_restricted image option
Dan Brown [Thu, 1 Sep 2022 13:55:35 +0000 (14:55 +0100)]
Aligned bookshelf terminology to consistently be 'Shelf'
For #3553
EN only, other languages should be handled via CrowdIn
Dan Brown [Thu, 1 Sep 2022 12:11:59 +0000 (13:11 +0100)]
Fixed missing nested list indent next to floated content
Fixes #3672
Dan Brown [Thu, 1 Sep 2022 11:53:34 +0000 (12:53 +0100)]
Added test & update to prevent page creation w/ empty slug
Caused by changes to page repo in reference work,
This adds back in the slug generate although at a more central place.
Adds a test case to cover the problematic scenario.
Dan Brown [Tue, 30 Aug 2022 21:12:52 +0000 (22:12 +0100)]
Fixed lack of url reference updating on book child move
Dan Brown [Tue, 30 Aug 2022 21:00:32 +0000 (22:00 +0100)]
Added book child reference handling on book url change
Closes #3683
Dan Brown [Mon, 29 Aug 2022 16:46:41 +0000 (17:46 +0100)]
Applied StyleCi changes, updated php deps
Dan Brown [Mon, 29 Aug 2022 16:45:05 +0000 (17:45 +0100)]
Merge pull request #3656 from BookStackApp/x_linking
Link reference tracking & updating
Dan Brown [Mon, 29 Aug 2022 16:39:50 +0000 (17:39 +0100)]
Fixed phpstan wanring about usage of static
Dan Brown [Mon, 29 Aug 2022 16:30:26 +0000 (17:30 +0100)]
Added maintenance action to regenerate references
Dan Brown [Thu, 25 Aug 2022 10:17:18 +0000 (11:17 +0100)]
Merge pull request #3616 from BookStackApp/oidc_group_sync
Added OIDC group sync functionality
Dan Brown [Tue, 23 Aug 2022 16:05:42 +0000 (17:05 +0100)]
Updated API docs with better request format explanation
Explained the content-types accepted by BookStack.
Made it clear that 'Content-Type' is expected on requests.
Added example to shown how to achieve more complex formats using
non-json requests.
Also added link to api-scripts repo.
Related to #3666 and #3652
Dan Brown [Tue, 23 Aug 2022 15:31:34 +0000 (16:31 +0100)]
Doubled default revision limit
Due to potential increase of revision entries due to auto-changes.
Dan Brown [Sun, 21 Aug 2022 17:05:19 +0000 (18:05 +0100)]
Rolled out reference link updating logic usage
Added test to cover updating of content on reference url change
Dan Brown [Sun, 21 Aug 2022 10:29:34 +0000 (11:29 +0100)]
Built out cross link replacer, not yet tested
Dan Brown [Sat, 20 Aug 2022 20:09:07 +0000 (21:09 +0100)]
Started work on reference on-change-updates
Refactored out revision-specific actions within PageRepo for
organisition and re-use for cross-linking work.
Dan Brown [Sat, 20 Aug 2022 11:07:38 +0000 (12:07 +0100)]
Added entity meta link to reference page
Not totally happy with implementation as is requires extra service to be
injected to core controllers, but does the job.
Included test to cover.
Updated some controller properties to be typed while there.
Dan Brown [Fri, 19 Aug 2022 21:40:44 +0000 (22:40 +0100)]
Rolled out reference pages to all entities, added testing
Including testing to check permissions applied to listed references.
Dan Brown [Fri, 19 Aug 2022 12:14:43 +0000 (13:14 +0100)]
Added inbound references listing for pages
Dan Brown [Wed, 17 Aug 2022 16:37:27 +0000 (17:37 +0100)]
Added reference handling on page actions
Page update/create/restore/clone/delete.
Added a couple of tests to cover a couple of those.
Dan Brown [Wed, 17 Aug 2022 15:59:23 +0000 (16:59 +0100)]
Added regenerate-references command test
Also updated model resolvers to only fetch model ID, to prevent bringing
back way more data from database than desired.
Dan Brown [Wed, 17 Aug 2022 13:39:53 +0000 (14:39 +0100)]
Added reference storage system, and command to re-index
Also re-named/orgranized some files for this, to make them "References"
specific instead of a subset of "Util".
Dan Brown [Tue, 16 Aug 2022 12:23:53 +0000 (13:23 +0100)]
Added system to extract model references from HTML content
For the start of a managed cross-linking system.
Dan Brown [Tue, 16 Aug 2022 10:27:22 +0000 (11:27 +0100)]
Refactored search-based code to its own folder
Also applied StyleCI changes
Dan Brown [Mon, 15 Aug 2022 21:31:49 +0000 (22:31 +0100)]
Merge pull request #3653 from krsriq/patch-1
Fix typos
Daniel Schmelz [Mon, 15 Aug 2022 20:41:44 +0000 (22:41 +0200)]
Fix typos
Dan Brown [Thu, 11 Aug 2022 14:15:19 +0000 (15:15 +0100)]
Merge branch '3636-security-patch' into development
Dan Brown [Thu, 11 Aug 2022 12:17:18 +0000 (13:17 +0100)]
Updated translator attribution pre v22.07.3 release
Dan Brown [Thu, 11 Aug 2022 12:15:15 +0000 (13:15 +0100)]
Merge branch 'persian_translate_22_08_10' into development
Dan Brown [Thu, 11 Aug 2022 12:12:55 +0000 (13:12 +0100)]
New Crowdin updates (#3635)
Dan Brown [Thu, 11 Aug 2022 09:49:45 +0000 (10:49 +0100)]
Added content security section to the api docs
Related to #3636
Dan Brown [Thu, 11 Aug 2022 09:26:33 +0000 (10:26 +0100)]
Added content filtering of tags with javascript or data in values attr
Case would be blocked by CSP but adding for cases where CSP may not be
active when content taken externally.
For #3636
samad hassan allafi [Wed, 10 Aug 2022 18:25:31 +0000 (22:55 +0430)]
Completion of Persian translation 2022-08-10
Dan Brown [Wed, 10 Aug 2022 16:59:46 +0000 (17:59 +0100)]
Merge pull request #3632 from BookStackApp/ownable_permission_fix
Fixed failed permission checks due to non-loaded fields
Dan Brown [Wed, 10 Aug 2022 16:50:35 +0000 (17:50 +0100)]
Reduced the memory usage, db queries and cache hits loading revisions
Updated revision listing to only fetch required fields, massively
reducing memory usage by not loading content.
This also updates user avatar handling to effectively cache the avatar
url within request to avoid re-searching from cache, which may improve
performance of others areas of the application.
This also upates handling of the revisions list view to extract table
row to its own view to break things down a bit.
For #3633
Dan Brown [Wed, 10 Aug 2022 12:51:54 +0000 (13:51 +0100)]
Improved WYSWYG editor code block layout update
To help prevent against empty areas during inital empty-cache loads.
This delays the original layout update a little to give time for the
layout to render as expected.
For #3637
Dan Brown [Wed, 10 Aug 2022 07:06:48 +0000 (08:06 +0100)]
Fixed failed permission checks due to non-loaded fields
Added additional exceptions to prevent such cases in the future, so
that they are caught in dev ideally.
Added test case specifically for reported favourite scenario.
Dan Brown [Tue, 9 Aug 2022 12:55:26 +0000 (13:55 +0100)]
Updated translator attribution before release v22.07.2
Dan Brown [Tue, 9 Aug 2022 12:51:24 +0000 (13:51 +0100)]
Merge pull request #3630 from BookStackApp/export_template_parts
Export template partials
Dan Brown [Tue, 9 Aug 2022 12:49:42 +0000 (13:49 +0100)]
Added test to cover export body start/end partial usage
Dan Brown [Tue, 9 Aug 2022 12:46:52 +0000 (13:46 +0100)]
Added convenience theme system partials for export layouts
To allow easier additions to start/end of body tag in export formats.
Dan Brown [Tue, 9 Aug 2022 12:26:45 +0000 (13:26 +0100)]
Applied latest styleci changes
Dan Brown [Tue, 9 Aug 2022 12:25:18 +0000 (13:25 +0100)]
Added revision activity types to system and audit log
Closes #3628
Dan Brown [Tue, 9 Aug 2022 12:00:39 +0000 (13:00 +0100)]
New Crowdin updates (#3625)
Dan Brown [Tue, 9 Aug 2022 11:58:10 +0000 (12:58 +0100)]
Fixed issue preventing selection of activity type in audit log
For #3623
Dan Brown [Tue, 9 Aug 2022 11:40:59 +0000 (12:40 +0100)]
Set a fairly sensible limit on user name validation
Also updated controller properties with types within modified files.
Related to #3614
Dan Brown [Thu, 4 Aug 2022 16:24:04 +0000 (17:24 +0100)]
Sprinkled in some user language validation
For #3615
Dan Brown [Tue, 2 Aug 2022 15:56:56 +0000 (16:56 +0100)]
Added OIDC group sync functionality
Is generally aligned with out SAML2 group sync functionality, but for
OIDC based upon feedback in #3004.
Neeeded the tangental addition of being able to define custom scopes on
the initial auth request as some systems use this to provide additional
id token claims such as groups.
Includes tests to cover.
Tested live using Okta.
Dan Brown [Tue, 2 Aug 2022 10:31:24 +0000 (11:31 +0100)]
New Crowdin updates (#3605)
Dan Brown [Tue, 2 Aug 2022 10:17:02 +0000 (11:17 +0100)]
Updated cache busting for tinymce library import
Changes from a manual cache buster string to a app-version-based cache
buster, as per our other scripts and styles.
To address #3611
Dan Brown [Thu, 28 Jul 2022 13:12:13 +0000 (14:12 +0100)]
New Crowdin updates (#3600)
Dan Brown [Thu, 28 Jul 2022 13:10:14 +0000 (14:10 +0100)]
Update translators.txt
Dan Brown [Thu, 28 Jul 2022 13:01:27 +0000 (14:01 +0100)]
Updated translator attribution pre 22.07 release
Dan Brown [Wed, 27 Jul 2022 10:20:08 +0000 (11:20 +0100)]
Merge branch 'lang_de' into development
Dan Brown [Wed, 27 Jul 2022 10:18:05 +0000 (11:18 +0100)]
Merge pull request #3556 from GongMingCai/development
Fixed comment count update error
Dan Brown [Wed, 27 Jul 2022 10:15:45 +0000 (11:15 +0100)]
Merge pull request #3545 from BookStackApp/l10n_development
New Crowdin updates
Dan Brown [Wed, 27 Jul 2022 10:08:03 +0000 (11:08 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Wed, 27 Jul 2022 10:07:41 +0000 (11:07 +0100)]
Updated composer deps, applied StyleCI changes
Dan Brown [Wed, 27 Jul 2022 10:03:08 +0000 (11:03 +0100)]
Merge pull request #3599 from BookStackApp/editor_list_shortcuts
Add editor shortcuts for two main list types
Dan Brown [Wed, 27 Jul 2022 10:01:37 +0000 (11:01 +0100)]
Added list shortcuts to markdown editor
Added some logic for ordered lists to continue the numbering logic,
while keeping the number list format style the same [1. vs 1)]
Dan Brown [Tue, 26 Jul 2022 19:14:59 +0000 (20:14 +0100)]
New translations entities.php (Spanish)
Dan Brown [Tue, 26 Jul 2022 15:35:21 +0000 (16:35 +0100)]
Added ordered/unordered WYSIWYG list shortcuts
Related to #1269
Dan Brown [Tue, 26 Jul 2022 12:13:26 +0000 (13:13 +0100)]
New translations entities.php (German Informal)
Dan Brown [Tue, 26 Jul 2022 12:13:25 +0000 (13:13 +0100)]
New translations entities.php (Dutch)