]> BookStack Code Mirror - bookstack/log
bookstack
2 years agoNew translations entities.php (French)
Dan Brown [Sun, 17 Jul 2022 09:50:06 +0000 (10:50 +0100)]
New translations entities.php (French)

2 years agoNew translations entities.php (German)
Dan Brown [Sun, 17 Jul 2022 09:50:05 +0000 (10:50 +0100)]
New translations entities.php (German)

2 years agoNew translations entities.php (Hebrew)
Dan Brown [Sun, 17 Jul 2022 09:50:04 +0000 (10:50 +0100)]
New translations entities.php (Hebrew)

2 years agoNew translations entities.php (Arabic)
Dan Brown [Sun, 17 Jul 2022 09:50:03 +0000 (10:50 +0100)]
New translations entities.php (Arabic)

2 years agoNew translations entities.php (Hungarian)
Dan Brown [Sun, 17 Jul 2022 09:50:02 +0000 (10:50 +0100)]
New translations entities.php (Hungarian)

2 years agoNew translations entities.php (Russian)
Dan Brown [Sun, 17 Jul 2022 09:50:01 +0000 (10:50 +0100)]
New translations entities.php (Russian)

2 years agoNew translations entities.php (Japanese)
Dan Brown [Sun, 17 Jul 2022 09:50:00 +0000 (10:50 +0100)]
New translations entities.php (Japanese)

2 years agoNew translations entities.php (Korean)
Dan Brown [Sun, 17 Jul 2022 09:49:59 +0000 (10:49 +0100)]
New translations entities.php (Korean)

2 years agoNew translations entities.php (Lithuanian)
Dan Brown [Sun, 17 Jul 2022 09:49:58 +0000 (10:49 +0100)]
New translations entities.php (Lithuanian)

2 years agoNew translations entities.php (Dutch)
Dan Brown [Sun, 17 Jul 2022 09:49:57 +0000 (10:49 +0100)]
New translations entities.php (Dutch)

2 years agoNew translations entities.php (Polish)
Dan Brown [Sun, 17 Jul 2022 09:49:56 +0000 (10:49 +0100)]
New translations entities.php (Polish)

2 years agoNew translations entities.php (Ukrainian)
Dan Brown [Sun, 17 Jul 2022 09:49:55 +0000 (10:49 +0100)]
New translations entities.php (Ukrainian)

2 years agoNew translations entities.php (Slovak)
Dan Brown [Sun, 17 Jul 2022 09:49:54 +0000 (10:49 +0100)]
New translations entities.php (Slovak)

2 years agoNew translations entities.php (Slovenian)
Dan Brown [Sun, 17 Jul 2022 09:49:53 +0000 (10:49 +0100)]
New translations entities.php (Slovenian)

2 years agoNew translations entities.php (Swedish)
Dan Brown [Sun, 17 Jul 2022 09:49:52 +0000 (10:49 +0100)]
New translations entities.php (Swedish)

2 years agoNew translations entities.php (Turkish)
Dan Brown [Sun, 17 Jul 2022 09:49:52 +0000 (10:49 +0100)]
New translations entities.php (Turkish)

2 years agoNew translations entities.php (Italian)
Dan Brown [Sun, 17 Jul 2022 09:49:51 +0000 (10:49 +0100)]
New translations entities.php (Italian)

2 years agoNew translations entities.php (Portuguese)
Dan Brown [Sun, 17 Jul 2022 09:49:50 +0000 (10:49 +0100)]
New translations entities.php (Portuguese)

2 years agoMerge pull request #3569 from BookStackApp/permissions_v2
Dan Brown [Sun, 17 Jul 2022 09:36:33 +0000 (10:36 +0100)]
Merge pull request #3569 from BookStackApp/permissions_v2

Permissions System Refactor

2 years agoApplied StyleCI changes 3569/head
Dan Brown [Sun, 17 Jul 2022 09:32:16 +0000 (10:32 +0100)]
Applied StyleCI changes

2 years agoRemoved test web route, extracted text, added test
Dan Brown [Sun, 17 Jul 2022 09:18:24 +0000 (10:18 +0100)]
Removed test web route, extracted text, added test

2 years agoDropped use of non-view joint permissions
Dan Brown [Sat, 16 Jul 2022 20:50:42 +0000 (21:50 +0100)]
Dropped use of non-view joint permissions

2 years agoFixed a couple of non-intended logical permission issues
Dan Brown [Sat, 16 Jul 2022 19:55:32 +0000 (20:55 +0100)]
Fixed a couple of non-intended logical permission issues

Both caught in tests:
Fixed loss of permissions for admin users when entity restrictions were
active, since there are no entity-restrictions for the admin role but
we'd force generate them in joint permissions, which would be queried.
Fixed new role permission checks when permissions given with only the
action (eg. 'view'), since the type prefix would be required for role
permission checks. Was previously not needed as only the simpler form
was used in the jointpermissions after merge & calculation.

2 years agoAligned permission applicator method names
Dan Brown [Sat, 16 Jul 2022 18:54:25 +0000 (19:54 +0100)]
Aligned permission applicator method names

Also removed lesser used function, that was mostly a duplicate of an
existing function, and only used for search.

2 years agoRemoved remaining dynamic action usages in joint permission queries
Dan Brown [Sat, 16 Jul 2022 18:28:04 +0000 (19:28 +0100)]
Removed remaining dynamic action usages in joint permission queries

2 years agoContinued removal of joint permission non-view queries
Dan Brown [Sat, 16 Jul 2022 12:17:08 +0000 (13:17 +0100)]
Continued removal of joint permission non-view queries

Cleaned up PermissionApplicator to remove old cache system which was
hardly ever actuall caching anything since it was reset after each
public method run.

Changed the scope of 'userCanOnAny' to just check entity permissions,
and added protections of action scope creep, in case a role permission
action was passed by mistake.

2 years agoNew translations entities.php (German)
Dan Brown [Fri, 15 Jul 2022 07:45:23 +0000 (08:45 +0100)]
New translations entities.php (German)

2 years agoNew translations entities.php (German)
Dan Brown [Fri, 15 Jul 2022 06:39:07 +0000 (07:39 +0100)]
New translations entities.php (German)

2 years agoNew translations auth.php (German)
Dan Brown [Fri, 15 Jul 2022 06:39:06 +0000 (07:39 +0100)]
New translations auth.php (German)

2 years agoNew translations activities.php (German)
Dan Brown [Thu, 14 Jul 2022 22:50:40 +0000 (23:50 +0100)]
New translations activities.php (German)

2 years agoNew translations activities.php (German)
Dan Brown [Thu, 14 Jul 2022 21:50:28 +0000 (22:50 +0100)]
New translations activities.php (German)

2 years agoMerge pull request #3573 from BookStackApp/m1_docker_support
Dan Brown [Thu, 14 Jul 2022 10:03:25 +0000 (11:03 +0100)]
Merge pull request #3573 from BookStackApp/m1_docker_support

M1/Apple Silicon dev docker compatibility

2 years agoTweaked docker dev container to work with m1 apple silicon 3573/head
Dan Brown [Thu, 14 Jul 2022 00:34:57 +0000 (01:34 +0100)]
Tweaked docker dev container to work with m1 apple silicon

Tested on m1 macbook, needs testing on amd64

2 years agoStarted removal of non-view permission queries
Dan Brown [Wed, 13 Jul 2022 14:23:03 +0000 (15:23 +0100)]
Started removal of non-view permission queries

Updated ajax search and entity selector usage to display and handle
items that the user does not have permission to interact with.
Started logic changes to not allow permission type to be passed around,
with views instead being the fixed sole permission.

2 years agoFixed some typos and corrected grammar. 3570/head
Jan Koid [Tue, 12 Jul 2022 21:05:44 +0000 (23:05 +0200)]
Fixed some typos and corrected grammar.

2 years agoAdded simple data model for faster permission generation
Dan Brown [Tue, 12 Jul 2022 20:13:02 +0000 (21:13 +0100)]
Added simple data model for faster permission generation

2 years agoNew translations auth.php (Croatian)
Dan Brown [Tue, 12 Jul 2022 20:07:49 +0000 (21:07 +0100)]
New translations auth.php (Croatian)

2 years agoNew translations activities.php (Croatian)
Dan Brown [Tue, 12 Jul 2022 20:07:48 +0000 (21:07 +0100)]
New translations activities.php (Croatian)

2 years agoRenamed and cleaned up existing permission service classes use
Dan Brown [Tue, 12 Jul 2022 19:15:41 +0000 (20:15 +0100)]
Renamed and cleaned up existing permission service classes use

2 years agoNew translations activities.php (Croatian)
Dan Brown [Tue, 12 Jul 2022 19:02:15 +0000 (20:02 +0100)]
New translations activities.php (Croatian)

2 years agoExtracted permission building out of permission service
Dan Brown [Tue, 12 Jul 2022 18:38:11 +0000 (19:38 +0100)]
Extracted permission building out of permission service

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

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

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

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

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

2 years agoOptimized pre-joint-permission logic efficiency
Dan Brown [Sun, 10 Jul 2022 12:45:04 +0000 (13:45 +0100)]
Optimized pre-joint-permission logic efficiency

2 years agoFixed comment count update error 3555/head 3556/head
mcgong [Wed, 6 Jul 2022 09:30:46 +0000 (17:30 +0800)]
Fixed comment count update error

2 years agoNew translations activities.php (Polish)
Dan Brown [Tue, 5 Jul 2022 18:10:04 +0000 (19:10 +0100)]
New translations activities.php (Polish)

2 years agoNew translations editor.php (Ukrainian)
Dan Brown [Tue, 5 Jul 2022 13:30:15 +0000 (14:30 +0100)]
New translations editor.php (Ukrainian)

2 years agoNew translations common.php (Ukrainian)
Dan Brown [Tue, 5 Jul 2022 13:30:14 +0000 (14:30 +0100)]
New translations common.php (Ukrainian)

2 years agoNew translations auth.php (Ukrainian)
Dan Brown [Tue, 5 Jul 2022 13:30:13 +0000 (14:30 +0100)]
New translations auth.php (Ukrainian)

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

2 years agoNew translations activities.php (Ukrainian)
Dan Brown [Tue, 5 Jul 2022 13:30:10 +0000 (14:30 +0100)]
New translations activities.php (Ukrainian)

3 years agoNew translations entities.php (Dutch)
Dan Brown [Sat, 2 Jul 2022 21:09:56 +0000 (22:09 +0100)]
New translations entities.php (Dutch)

3 years agoNew translations common.php (Dutch)
Dan Brown [Sat, 2 Jul 2022 21:09:55 +0000 (22:09 +0100)]
New translations common.php (Dutch)

3 years agoNew translations auth.php (Dutch)
Dan Brown [Sat, 2 Jul 2022 20:05:42 +0000 (21:05 +0100)]
New translations auth.php (Dutch)

3 years agoNew translations entities.php (Dutch)
Dan Brown [Sat, 2 Jul 2022 20:05:41 +0000 (21:05 +0100)]
New translations entities.php (Dutch)

3 years agoNew translations activities.php (Dutch)
Dan Brown [Sat, 2 Jul 2022 20:05:40 +0000 (21:05 +0100)]
New translations activities.php (Dutch)

3 years agoNew translations entities.php (German)
Dan Brown [Thu, 30 Jun 2022 08:36:18 +0000 (09:36 +0100)]
New translations entities.php (German)

3 years agoNew translations editor.php (Russian)
Dan Brown [Wed, 29 Jun 2022 14:26:03 +0000 (15:26 +0100)]
New translations editor.php (Russian)

3 years agoNew Crowdin updates (#3540)
Dan Brown [Tue, 28 Jun 2022 10:56:07 +0000 (11:56 +0100)]
New Crowdin updates (#3540)

3 years agoMerge branch '3535-group-sync-fix' into development
Dan Brown [Tue, 28 Jun 2022 10:47:22 +0000 (11:47 +0100)]
Merge branch '3535-group-sync-fix' into development

3 years agoNew Crowdin updates (#3531)
Dan Brown [Mon, 27 Jun 2022 13:29:10 +0000 (14:29 +0100)]
New Crowdin updates (#3531)

3 years agoAligned entity-selector-popup button and dblclick behaviour
Dan Brown [Mon, 27 Jun 2022 13:27:29 +0000 (14:27 +0100)]
Aligned entity-selector-popup button and dblclick behaviour

Fixes #3534

3 years agoAuth group sync: Fixed unintential mapping behaviour change
Dan Brown [Mon, 27 Jun 2022 13:17:42 +0000 (14:17 +0100)]
Auth group sync: Fixed unintential mapping behaviour change

Due to change in how casing was handled when used in the "External Auth
ID" role field.
Likely related to #3535.
Added test to cover.

3 years agoAdded path example to visual theme system
Dan Brown [Mon, 27 Jun 2022 12:38:51 +0000 (13:38 +0100)]
Added path example to visual theme system

3 years agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Sat, 25 Jun 2022 13:27:46 +0000 (14:27 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

3 years agoApplied StyleCI changes
Dan Brown [Sat, 25 Jun 2022 13:27:32 +0000 (14:27 +0100)]
Applied StyleCI changes

3 years agoNew Crowdin updates (#3526)
Dan Brown [Sat, 25 Jun 2022 13:26:40 +0000 (14:26 +0100)]
New Crowdin updates (#3526)

3 years agoFixed non-translated category strings
Dan Brown [Sat, 25 Jun 2022 13:24:38 +0000 (14:24 +0100)]
Fixed non-translated category strings

For #3529

3 years agoUpdated entity-selector-popup to reset on selection
Dan Brown [Sat, 25 Jun 2022 13:13:17 +0000 (14:13 +0100)]
Updated entity-selector-popup to reset on selection

Better links the core selector component to the popup version, with new
public methods for direct controlling.

For #3528

3 years agoFixed grid layouts being pushed out by child content
Dan Brown [Sat, 25 Jun 2022 12:55:57 +0000 (13:55 +0100)]
Fixed grid layouts being pushed out by child content

Ran a quick app run-thorugh in FireFox & Chrome, No secondary affects
immediately noticed but possible this could cause changes elsewhere due
to wide-spread grid item child targeting.

For #3523

3 years agoFixed issue blocking tags on book update
Dan Brown [Sat, 25 Jun 2022 12:46:55 +0000 (13:46 +0100)]
Fixed issue blocking tags on book update

For #3527

3 years agoAdded missing welsh locale to config
Dan Brown [Fri, 24 Jun 2022 10:42:38 +0000 (11:42 +0100)]
Added missing welsh locale to config

3 years agoNew Crowdin updates (#3428)
Dan Brown [Fri, 24 Jun 2022 10:35:59 +0000 (11:35 +0100)]
New Crowdin updates (#3428)

3 years agoUpdated translator list before v22.06 release
Dan Brown [Fri, 24 Jun 2022 10:30:15 +0000 (11:30 +0100)]
Updated translator list before v22.06 release

3 years agoUpdated php deps and applied styleci changes
Dan Brown [Wed, 22 Jun 2022 11:49:58 +0000 (12:49 +0100)]
Updated php deps and applied styleci changes

3 years agoAdded base template convenience partials for theme system users
Dan Brown [Wed, 22 Jun 2022 11:47:31 +0000 (12:47 +0100)]
Added base template convenience partials for theme system users

Included test to cover usage and paths.
Closes #894

3 years agoMerge branch 'login-auto-redirect' into development
Dan Brown [Tue, 21 Jun 2022 14:38:01 +0000 (15:38 +0100)]
Merge branch 'login-auto-redirect' into development

3 years agoReview and update of login auto initiation PR
Dan Brown [Tue, 21 Jun 2022 14:32:18 +0000 (15:32 +0100)]
Review and update of login auto initiation PR

For PR #3406

- Updated naming from 'redirect' to 'initate/initation'.
- Updated phpunit.xml and .env.example.complete files with the new
  option.
- Cleaned up controller logic a bit.
- Added content and design to the new initation view to not leave user
  on a blank view for a while.
- Added non-JS button to initiation view as fallback option for
  progression.
- Moved new test to it's own Test class and expanded with additional
  scenario tests for better functionality coverage.

3 years agoFixed code snippets being added as single line
Dan Brown [Tue, 21 Jun 2022 11:01:06 +0000 (12:01 +0100)]
Fixed code snippets being added as single line

TinyMCE was adding attributes to <br> elements within code blocks which
would then not be converted to newlines by our code regex match.
This changes the conversion to use dom querying instead.

Fixes #3507

3 years agoFixed issue where text after line breaks not indexed
Dan Brown [Mon, 20 Jun 2022 22:47:42 +0000 (23:47 +0100)]
Fixed issue where text after line breaks not indexed

Linebreaks would previously essentially be removed during index and
hence joined to adjacent words, breaking prefix matching.
Added test to cover.
For #3508

3 years agoMerge pull request #3512 from BookStackApp/code_manager_updates
Dan Brown [Mon, 20 Jun 2022 22:13:28 +0000 (23:13 +0100)]
Merge pull request #3512 from BookStackApp/code_manager_updates

WYSIWYG Code Editor Updates

3 years agoAdded code editor changes mobile design handling 3512/head
Dan Brown [Mon, 20 Jun 2022 22:12:07 +0000 (23:12 +0100)]
Added code editor changes mobile design handling

3 years agoAdjusted code manager changes for dark mode
Dan Brown [Mon, 20 Jun 2022 22:06:54 +0000 (23:06 +0100)]
Adjusted code manager changes for dark mode

3 years agoAligned other popup windows
Dan Brown [Mon, 20 Jun 2022 22:02:06 +0000 (23:02 +0100)]
Aligned other popup windows

Primary change was altering image-manager to use same footer bar style
as other windows.

3 years agoUpdated code editor language lists
Dan Brown [Mon, 20 Jun 2022 16:49:56 +0000 (17:49 +0100)]
Updated code editor language lists

To align and update supported languages.

Related to #3511 and #3494

3 years agoTweaked code editor sidebar side to be smaller
Dan Brown [Mon, 20 Jun 2022 16:16:28 +0000 (17:16 +0100)]
Tweaked code editor sidebar side to be smaller

3 years agoPolished up code editor design
Dan Brown [Mon, 20 Jun 2022 16:11:34 +0000 (17:11 +0100)]
Polished up code editor design

3 years agoStarted design changes to the code-editor
Dan Brown [Mon, 20 Jun 2022 12:42:12 +0000 (13:42 +0100)]
Started design changes to the code-editor

3 years agoMerge pull request #3499 from BookStackApp/convert_hierachy
Dan Brown [Mon, 20 Jun 2022 11:51:13 +0000 (12:51 +0100)]
Merge pull request #3499 from BookStackApp/convert_hierachy

Chapter and Book Conversion Actions

3 years agoRemoved bad trailing comma in method 3499/head
Dan Brown [Sun, 19 Jun 2022 17:45:48 +0000 (18:45 +0100)]
Removed bad trailing comma in method

3 years agoFixed failing tests after conversion changes
Dan Brown [Sun, 19 Jun 2022 17:44:34 +0000 (18:44 +0100)]
Fixed failing tests after conversion changes

3 years agoApplied styleci changes for conversion work
Dan Brown [Sun, 19 Jun 2022 17:14:53 +0000 (18:14 +0100)]
Applied styleci changes for conversion work

3 years agoAdded tests for content conversion action permissions
Dan Brown [Sun, 19 Jun 2022 17:12:36 +0000 (18:12 +0100)]
Added tests for content conversion action permissions

- Updated 'removePermissionFromUser' test helper to work for
  entity-permissions that become part of the joint permissions system.

3 years agoAdded tests and doc updates for shelf/book cover image API abilities
Dan Brown [Sun, 19 Jun 2022 16:26:23 +0000 (17:26 +0100)]
Added tests and doc updates for shelf/book cover image API abilities

3 years agoAdded tests to cover convert functionality
Dan Brown [Sun, 19 Jun 2022 15:57:33 +0000 (16:57 +0100)]
Added tests to cover convert functionality

Also updated cloner class with typed properties.

3 years agoExtracted conversion text to translation file
Dan Brown [Sun, 19 Jun 2022 15:23:18 +0000 (16:23 +0100)]
Extracted conversion text to translation file

3 years agoMerge pull request #3503 from andrii-bodnar/fix/crowdin-name
Dan Brown [Thu, 16 Jun 2022 11:07:40 +0000 (12:07 +0100)]
Merge pull request #3503 from andrii-bodnar/fix/crowdin-name

Fix Crowdin name in the language_request issue template