]> BookStack Code Mirror - bookstack/log
bookstack
2 years agoAligned bookshelf terminology to consistently be 'Shelf'
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

2 years agoFixed missing nested list indent next to floated content
Dan Brown [Thu, 1 Sep 2022 12:11:59 +0000 (13:11 +0100)]
Fixed missing nested list indent next to floated content

Fixes #3672

2 years agoAdded test & update to prevent page creation w/ empty slug
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.

2 years agoFixed lack of url reference updating on book child move
Dan Brown [Tue, 30 Aug 2022 21:12:52 +0000 (22:12 +0100)]
Fixed lack of url reference updating on book child move

2 years agoAdded book child reference handling on book url change
Dan Brown [Tue, 30 Aug 2022 21:00:32 +0000 (22:00 +0100)]
Added book child reference handling on book url change

Closes #3683

2 years agoApplied StyleCi changes, updated php deps
Dan Brown [Mon, 29 Aug 2022 16:46:41 +0000 (17:46 +0100)]
Applied StyleCi changes, updated php deps

2 years agoMerge pull request #3656 from BookStackApp/x_linking
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

2 years agoFixed phpstan wanring about usage of static 3656/head
Dan Brown [Mon, 29 Aug 2022 16:39:50 +0000 (17:39 +0100)]
Fixed phpstan wanring about usage of static

2 years agoAdded maintenance action to regenerate references
Dan Brown [Mon, 29 Aug 2022 16:30:26 +0000 (17:30 +0100)]
Added maintenance action to regenerate references

2 years agoMerge pull request #3616 from BookStackApp/oidc_group_sync
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

2 years agoUpdated API docs with better request format explanation
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

2 years agoDoubled default revision limit
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.

2 years agoRolled out reference link updating logic usage
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

2 years agoBuilt out cross link replacer, not yet tested
Dan Brown [Sun, 21 Aug 2022 10:29:34 +0000 (11:29 +0100)]
Built out cross link replacer, not yet tested

2 years agoStarted work on reference on-change-updates
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.

2 years agoAdded entity meta link to reference page
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.

2 years agoRolled out reference pages to all entities, added testing
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.

2 years agoAdded inbound references listing for pages
Dan Brown [Fri, 19 Aug 2022 12:14:43 +0000 (13:14 +0100)]
Added inbound references listing for pages

2 years agoAdded reference handling on page actions
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.

2 years agoAdded regenerate-references command test
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.

2 years agoAdded reference storage system, and command to re-index
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".

2 years agoAdded system to extract model references from HTML content
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.

2 years agoRefactored search-based code to its own folder
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

2 years agoMerge pull request #3653 from krsriq/patch-1
Dan Brown [Mon, 15 Aug 2022 21:31:49 +0000 (22:31 +0100)]
Merge pull request #3653 from krsriq/patch-1

Fix typos

2 years agoFix typos 3653/head
Daniel Schmelz [Mon, 15 Aug 2022 20:41:44 +0000 (22:41 +0200)]
Fix typos

2 years agoMerge branch '3636-security-patch' into development
Dan Brown [Thu, 11 Aug 2022 14:15:19 +0000 (15:15 +0100)]
Merge branch '3636-security-patch' into development

2 years agoUpdated translator attribution pre v22.07.3 release
Dan Brown [Thu, 11 Aug 2022 12:17:18 +0000 (13:17 +0100)]
Updated translator attribution pre v22.07.3 release

2 years agoMerge branch 'persian_translate_22_08_10' into development
Dan Brown [Thu, 11 Aug 2022 12:15:15 +0000 (13:15 +0100)]
Merge branch 'persian_translate_22_08_10' into development

2 years agoNew Crowdin updates (#3635)
Dan Brown [Thu, 11 Aug 2022 12:12:55 +0000 (13:12 +0100)]
New Crowdin updates (#3635)

2 years agoAdded content security section to the api docs
Dan Brown [Thu, 11 Aug 2022 09:49:45 +0000 (10:49 +0100)]
Added content security section to the api docs

Related to #3636

2 years agoAdded content filtering of tags with javascript or data in values attr
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

2 years agoCompletion of Persian translation 2022-08-10 3639/head
samad hassan allafi [Wed, 10 Aug 2022 18:25:31 +0000 (22:55 +0430)]
Completion of Persian translation 2022-08-10

2 years agoMerge pull request #3632 from BookStackApp/ownable_permission_fix
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

2 years agoReduced the memory usage, db queries and cache hits loading revisions
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

2 years agoImproved WYSWYG editor code block layout update
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

2 years agoFixed failed permission checks due to non-loaded fields 3632/head
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.

2 years agoUpdated translator attribution before release v22.07.2
Dan Brown [Tue, 9 Aug 2022 12:55:26 +0000 (13:55 +0100)]
Updated translator attribution before release v22.07.2

2 years agoMerge pull request #3630 from BookStackApp/export_template_parts
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

2 years agoAdded test to cover export body start/end partial usage 3630/head
Dan Brown [Tue, 9 Aug 2022 12:49:42 +0000 (13:49 +0100)]
Added test to cover export body start/end partial usage

2 years agoAdded convenience theme system partials for export layouts
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.

2 years agoApplied latest styleci changes
Dan Brown [Tue, 9 Aug 2022 12:26:45 +0000 (13:26 +0100)]
Applied latest styleci changes

2 years agoAdded revision activity types to system and audit log
Dan Brown [Tue, 9 Aug 2022 12:25:18 +0000 (13:25 +0100)]
Added revision activity types to system and audit log

Closes #3628

2 years agoNew Crowdin updates (#3625)
Dan Brown [Tue, 9 Aug 2022 12:00:39 +0000 (13:00 +0100)]
New Crowdin updates (#3625)

2 years agoFixed issue preventing selection of activity type in audit log
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

2 years agoSet a fairly sensible limit on user name validation
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

2 years agoSprinkled in some user language validation
Dan Brown [Thu, 4 Aug 2022 16:24:04 +0000 (17:24 +0100)]
Sprinkled in some user language validation

For #3615

2 years agoAdded OIDC group sync functionality 3616/head
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.

2 years agoNew Crowdin updates (#3605)
Dan Brown [Tue, 2 Aug 2022 10:31:24 +0000 (11:31 +0100)]
New Crowdin updates (#3605)

2 years agoUpdated cache busting for tinymce library import
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

2 years agoNew Crowdin updates (#3600)
Dan Brown [Thu, 28 Jul 2022 13:12:13 +0000 (14:12 +0100)]
New Crowdin updates (#3600)

2 years agoUpdate translators.txt
Dan Brown [Thu, 28 Jul 2022 13:10:14 +0000 (14:10 +0100)]
Update translators.txt

2 years agoUpdated translator attribution pre 22.07 release
Dan Brown [Thu, 28 Jul 2022 13:01:27 +0000 (14:01 +0100)]
Updated translator attribution pre 22.07 release

2 years agoMerge branch 'lang_de' into development
Dan Brown [Wed, 27 Jul 2022 10:20:08 +0000 (11:20 +0100)]
Merge branch 'lang_de' into development

2 years agoMerge pull request #3556 from GongMingCai/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

2 years agoMerge pull request #3545 from BookStackApp/l10n_development
Dan Brown [Wed, 27 Jul 2022 10:15:45 +0000 (11:15 +0100)]
Merge pull request #3545 from BookStackApp/l10n_development

New Crowdin updates

2 years agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Wed, 27 Jul 2022 10:08:03 +0000 (11:08 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

2 years agoUpdated composer deps, applied StyleCI changes
Dan Brown [Wed, 27 Jul 2022 10:07:41 +0000 (11:07 +0100)]
Updated composer deps, applied StyleCI changes

2 years agoMerge pull request #3599 from BookStackApp/editor_list_shortcuts
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

2 years agoAdded list shortcuts to markdown editor 3599/head
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)]

2 years agoNew translations entities.php (Spanish) 3545/head
Dan Brown [Tue, 26 Jul 2022 19:14:59 +0000 (20:14 +0100)]
New translations entities.php (Spanish)

2 years agoAdded ordered/unordered WYSIWYG list shortcuts
Dan Brown [Tue, 26 Jul 2022 15:35:21 +0000 (16:35 +0100)]
Added ordered/unordered WYSIWYG list shortcuts

Related to #1269

2 years agoNew translations entities.php (German Informal)
Dan Brown [Tue, 26 Jul 2022 12:13:26 +0000 (13:13 +0100)]
New translations entities.php (German Informal)

2 years agoNew translations entities.php (Dutch)
Dan Brown [Tue, 26 Jul 2022 12:13:25 +0000 (13:13 +0100)]
New translations entities.php (Dutch)

2 years agoNew translations entities.php (Lithuanian)
Dan Brown [Tue, 26 Jul 2022 12:13:24 +0000 (13:13 +0100)]
New translations entities.php (Lithuanian)

2 years agoNew translations entities.php (Korean)
Dan Brown [Tue, 26 Jul 2022 12:13:23 +0000 (13:13 +0100)]
New translations entities.php (Korean)

2 years agoNew translations entities.php (Japanese)
Dan Brown [Tue, 26 Jul 2022 12:13:22 +0000 (13:13 +0100)]
New translations entities.php (Japanese)

2 years agoNew translations entities.php (Italian)
Dan Brown [Tue, 26 Jul 2022 12:13:21 +0000 (13:13 +0100)]
New translations entities.php (Italian)

2 years agoNew translations entities.php (Hungarian)
Dan Brown [Tue, 26 Jul 2022 12:13:20 +0000 (13:13 +0100)]
New translations entities.php (Hungarian)

2 years agoNew translations entities.php (Hebrew)
Dan Brown [Tue, 26 Jul 2022 12:13:19 +0000 (13:13 +0100)]
New translations entities.php (Hebrew)

2 years agoNew translations entities.php (Polish)
Dan Brown [Tue, 26 Jul 2022 12:13:18 +0000 (13:13 +0100)]
New translations entities.php (Polish)

2 years agoNew translations entities.php (Basque)
Dan Brown [Tue, 26 Jul 2022 12:13:17 +0000 (13:13 +0100)]
New translations entities.php (Basque)

2 years agoNew translations entities.php (Czech)
Dan Brown [Tue, 26 Jul 2022 12:13:16 +0000 (13:13 +0100)]
New translations entities.php (Czech)

2 years agoNew translations entities.php (Catalan)
Dan Brown [Tue, 26 Jul 2022 12:13:15 +0000 (13:13 +0100)]
New translations entities.php (Catalan)

2 years agoNew translations entities.php (Bulgarian)
Dan Brown [Tue, 26 Jul 2022 12:13:14 +0000 (13:13 +0100)]
New translations entities.php (Bulgarian)

2 years agoNew translations entities.php (Arabic)
Dan Brown [Tue, 26 Jul 2022 12:13:13 +0000 (13:13 +0100)]
New translations entities.php (Arabic)

2 years agoNew translations entities.php (Spanish)
Dan Brown [Tue, 26 Jul 2022 12:13:12 +0000 (13:13 +0100)]
New translations entities.php (Spanish)

2 years agoNew translations entities.php (French)
Dan Brown [Tue, 26 Jul 2022 12:13:11 +0000 (13:13 +0100)]
New translations entities.php (French)

2 years agoNew translations entities.php (German)
Dan Brown [Tue, 26 Jul 2022 12:13:10 +0000 (13:13 +0100)]
New translations entities.php (German)

2 years agoNew translations entities.php (Danish)
Dan Brown [Tue, 26 Jul 2022 12:13:09 +0000 (13:13 +0100)]
New translations entities.php (Danish)

2 years agoNew translations entities.php (Ukrainian)
Dan Brown [Tue, 26 Jul 2022 12:13:08 +0000 (13:13 +0100)]
New translations entities.php (Ukrainian)

2 years agoNew translations entities.php (Russian)
Dan Brown [Tue, 26 Jul 2022 12:13:06 +0000 (13:13 +0100)]
New translations entities.php (Russian)

2 years agoNew translations entities.php (Slovenian)
Dan Brown [Tue, 26 Jul 2022 12:13:05 +0000 (13:13 +0100)]
New translations entities.php (Slovenian)

2 years agoNew translations entities.php (Norwegian Bokmal)
Dan Brown [Tue, 26 Jul 2022 12:13:04 +0000 (13:13 +0100)]
New translations entities.php (Norwegian Bokmal)

2 years agoNew translations entities.php (Uzbek)
Dan Brown [Tue, 26 Jul 2022 12:13:02 +0000 (13:13 +0100)]
New translations entities.php (Uzbek)

2 years agoNew translations entities.php (Bosnian)
Dan Brown [Tue, 26 Jul 2022 12:13:01 +0000 (13:13 +0100)]
New translations entities.php (Bosnian)

2 years agoNew translations entities.php (Welsh)
Dan Brown [Tue, 26 Jul 2022 12:13:00 +0000 (13:13 +0100)]
New translations entities.php (Welsh)

2 years agoNew translations entities.php (Latvian)
Dan Brown [Tue, 26 Jul 2022 12:12:59 +0000 (13:12 +0100)]
New translations entities.php (Latvian)

2 years agoNew translations entities.php (Estonian)
Dan Brown [Tue, 26 Jul 2022 12:12:58 +0000 (13:12 +0100)]
New translations entities.php (Estonian)

2 years agoNew translations entities.php (Croatian)
Dan Brown [Tue, 26 Jul 2022 12:12:57 +0000 (13:12 +0100)]
New translations entities.php (Croatian)

2 years agoNew translations entities.php (Slovak)
Dan Brown [Tue, 26 Jul 2022 12:12:56 +0000 (13:12 +0100)]
New translations entities.php (Slovak)

2 years agoNew translations entities.php (Spanish, Argentina)
Dan Brown [Tue, 26 Jul 2022 12:12:55 +0000 (13:12 +0100)]
New translations entities.php (Spanish, Argentina)

2 years agoNew translations entities.php (Indonesian)
Dan Brown [Tue, 26 Jul 2022 12:12:54 +0000 (13:12 +0100)]
New translations entities.php (Indonesian)

2 years agoNew translations entities.php (Portuguese, Brazilian)
Dan Brown [Tue, 26 Jul 2022 12:12:52 +0000 (13:12 +0100)]
New translations entities.php (Portuguese, Brazilian)

2 years agoNew translations entities.php (Vietnamese)
Dan Brown [Tue, 26 Jul 2022 12:12:51 +0000 (13:12 +0100)]
New translations entities.php (Vietnamese)

2 years agoNew translations entities.php (Chinese Traditional)
Dan Brown [Tue, 26 Jul 2022 12:12:50 +0000 (13:12 +0100)]
New translations entities.php (Chinese Traditional)

2 years agoNew translations entities.php (Chinese Simplified)
Dan Brown [Tue, 26 Jul 2022 12:12:49 +0000 (13:12 +0100)]
New translations entities.php (Chinese Simplified)

2 years agoNew translations entities.php (Turkish)
Dan Brown [Tue, 26 Jul 2022 12:12:48 +0000 (13:12 +0100)]
New translations entities.php (Turkish)

2 years agoNew translations entities.php (Swedish)
Dan Brown [Tue, 26 Jul 2022 12:12:47 +0000 (13:12 +0100)]
New translations entities.php (Swedish)

2 years agoNew translations entities.php (Persian)
Dan Brown [Tue, 26 Jul 2022 12:12:46 +0000 (13:12 +0100)]
New translations entities.php (Persian)

2 years agoNew translations entities.php (Portuguese)
Dan Brown [Tue, 26 Jul 2022 12:12:45 +0000 (13:12 +0100)]
New translations entities.php (Portuguese)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.