]> BookStack Code Mirror - bookstack/log
bookstack
2 years agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Wed, 23 Nov 2022 00:13:02 +0000 (00:13 +0000)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

2 years agoUpdated global search component to new format
Dan Brown [Wed, 23 Nov 2022 00:12:41 +0000 (00:12 +0000)]
Updated global search component to new format

2 years agoMerge branch 'search_preview' into development
Dan Brown [Wed, 23 Nov 2022 00:10:21 +0000 (00:10 +0000)]
Merge branch 'search_preview' into development

2 years agoAdjusted global search preview for dark mode 3850/head
Dan Brown [Wed, 23 Nov 2022 00:05:24 +0000 (00:05 +0000)]
Adjusted global search preview for dark mode

2 years agoExtracted keyboard nav. from dropdowns to share w/ search
Dan Brown [Mon, 21 Nov 2022 17:35:19 +0000 (17:35 +0000)]
Extracted keyboard nav. from dropdowns to share w/ search

2 years agoAdded new endpoint for search suggestions
Dan Brown [Mon, 21 Nov 2022 10:29:12 +0000 (10:29 +0000)]
Added new endpoint for search suggestions

2 years agoMerge pull request #3852 from BookStackApp/php82
Dan Brown [Sun, 20 Nov 2022 22:21:52 +0000 (22:21 +0000)]
Merge pull request #3852 from BookStackApp/php82

PHP8.2 Support

2 years agoAdded global search input debounce and loading indicator
Dan Brown [Sun, 20 Nov 2022 22:20:31 +0000 (22:20 +0000)]
Added global search input debounce and loading indicator

2 years agoReplaced JS logic with CSS focus-within logic
Dan Brown [Sun, 20 Nov 2022 21:53:53 +0000 (21:53 +0000)]
Replaced JS logic with CSS focus-within logic

2 years agoFixed input styles in search preview mode, added animation
Dan Brown [Sun, 20 Nov 2022 21:50:59 +0000 (21:50 +0000)]
Fixed input styles in search preview mode, added animation

Also added JS handlers for hiding the suggestions

2 years agoMerge pull request #3853 from BookStackApp/component_refactor
Dan Brown [Wed, 16 Nov 2022 16:05:57 +0000 (16:05 +0000)]
Merge pull request #3853 from BookStackApp/component_refactor

Started refactor and alignment of JS component system

2 years agoUpdated js dev docs with latest component changes 3853/head
Dan Brown [Wed, 16 Nov 2022 16:02:31 +0000 (16:02 +0000)]
Updated js dev docs with latest component changes

2 years agoReplaced el.components mapping with component service weakmap
Dan Brown [Wed, 16 Nov 2022 15:46:41 +0000 (15:46 +0000)]
Replaced el.components mapping with component service weakmap

Old system was hard to track in terms of usage and it's application of
'components' properties directly to elements was shoddy.
This routes usage via the components service, with element-specific
component usage tracked via a local weakmap.
Updated existing found usages to use the new system.

2 years agoRemoved use of image-manager/entity-selector window globals
Dan Brown [Wed, 16 Nov 2022 15:21:22 +0000 (15:21 +0000)]
Removed use of image-manager/entity-selector window globals

2 years agoFinished updating remainder of JS components to new system
Dan Brown [Wed, 16 Nov 2022 13:04:22 +0000 (13:04 +0000)]
Finished updating remainder of JS components to new system

2 years agoUpdated a whole load more js components
Dan Brown [Tue, 15 Nov 2022 16:04:46 +0000 (16:04 +0000)]
Updated a whole load more js components

2 years agoUpdated another set of components
Dan Brown [Tue, 15 Nov 2022 12:44:57 +0000 (12:44 +0000)]
Updated another set of components

2 years agoUpdated a batch of JS components
Dan Brown [Tue, 15 Nov 2022 11:24:31 +0000 (11:24 +0000)]
Updated a batch of JS components

2 years agoStarted refactor and alignment of component system
Dan Brown [Mon, 14 Nov 2022 23:19:02 +0000 (23:19 +0000)]
Started refactor and alignment of component system

- Updates old components to newer format, removes legacy component
support.
- Makes component registration easier and less duplicated.
- Adds base component class to extend for better editor support.
- Aligns global window exposure usage and aligns with other service
  names.

2 years agoAdded php8.2 to GH action checks 3852/head
Dan Brown [Mon, 14 Nov 2022 18:26:01 +0000 (18:26 +0000)]
Added php8.2 to GH action checks

2 years agoStarted on a live-preview on global search input
Dan Brown [Mon, 14 Nov 2022 10:24:14 +0000 (10:24 +0000)]
Started on a live-preview on global search input

2 years agoUpdated email confirmation flow so confirmation is done via POST
Dan Brown [Sat, 12 Nov 2022 15:10:14 +0000 (15:10 +0000)]
Updated email confirmation flow so confirmation is done via POST

To avoid non-user GET requests (Such as those from email scanners)
auto-triggering the confirm submission. Made auto-submit the form via
JavaScript in this extra added step with user-link backup to keep
existing user flow experience.

Closes #3797

2 years agoMerge pull request #3848 from BookStackApp/auth_message_partials
Dan Brown [Sat, 12 Nov 2022 09:03:59 +0000 (09:03 +0000)]
Merge pull request #3848 from BookStackApp/auth_message_partials

Added login/register message partials for easier use via theme system

2 years agoAdded login/register message partials for easier use via theme system 3848/head
Dan Brown [Sat, 12 Nov 2022 09:02:33 +0000 (09:02 +0000)]
Added login/register message partials for easier use via theme system

Related to #608

2 years agoAdded swift support to code blocks and editor
Dan Brown [Sat, 12 Nov 2022 08:44:25 +0000 (08:44 +0000)]
Added swift support to code blocks and editor

Closes #3847

2 years agoFixed app logo visibility with secure_restricted images
Dan Brown [Thu, 10 Nov 2022 14:15:59 +0000 (14:15 +0000)]
Fixed app logo visibility with secure_restricted images

Includes test to cover.
For #3827

2 years agoAdded test to cover books perms. gen with deleted chapter
Dan Brown [Thu, 10 Nov 2022 13:48:17 +0000 (13:48 +0000)]
Added test to cover books perms. gen with deleted chapter

Closes #3796

2 years agoAdded dart support to code blocks/editing
Dan Brown [Thu, 10 Nov 2022 13:38:56 +0000 (13:38 +0000)]
Added dart support to code blocks/editing

For #3808

2 years agoExtracted hardcoded english text to language files
Dan Brown [Thu, 10 Nov 2022 13:30:48 +0000 (13:30 +0000)]
Extracted hardcoded english text to language files

Closes #3822

2 years agoMerge pull request #3830 from BookStackApp/shortcuts
Dan Brown [Thu, 10 Nov 2022 10:32:56 +0000 (10:32 +0000)]
Merge pull request #3830 from BookStackApp/shortcuts

User interface shortcuts system

2 years agoExtracted shortcut text to language files 3830/head
Dan Brown [Thu, 10 Nov 2022 10:25:28 +0000 (10:25 +0000)]
Extracted shortcut text to language files

2 years agoAligned user preference endpoints in style and behaviour
Dan Brown [Wed, 9 Nov 2022 19:30:08 +0000 (19:30 +0000)]
Aligned user preference endpoints in style and behaviour

Changes their endpoints and remove the user id from the URLs.
Simplifies list changes to share a single endpoint, which aligns it to
the behaviour of the existing sort preference endpoint.
Also added test to ensure user preferences are deleted on user delete.

2 years agoAdded tests to cover shortcut endpoints
Dan Brown [Wed, 9 Nov 2022 18:42:54 +0000 (18:42 +0000)]
Added tests to cover shortcut endpoints

2 years agoAdded shortcut input controls to make custom shortcuts work
Dan Brown [Wed, 9 Nov 2022 14:40:44 +0000 (14:40 +0000)]
Added shortcut input controls to make custom shortcuts work

2 years agoStarted interface user shortcut form interface
Dan Brown [Tue, 8 Nov 2022 21:17:45 +0000 (21:17 +0000)]
Started interface user shortcut form interface

Built controller actions and initual UI.
Still needs JS logic for shortcut input handling.

2 years agoImproved shortcut overlay with related action highlighting
Dan Brown [Sat, 5 Nov 2022 13:57:22 +0000 (13:57 +0000)]
Improved shortcut overlay with related action highlighting

2 years agoDistributed shortcut actions to common ui elements
Dan Brown [Sat, 5 Nov 2022 13:39:17 +0000 (13:39 +0000)]
Distributed shortcut actions to common ui elements

2 years agoStarted implementation of UI shortcuts system
Dan Brown [Fri, 4 Nov 2022 15:20:19 +0000 (15:20 +0000)]
Started implementation of UI shortcuts system

2 years agoMerge pull request #3821 from BookStackApp/list_reworks
Dan Brown [Thu, 3 Nov 2022 14:52:40 +0000 (14:52 +0000)]
Merge pull request #3821 from BookStackApp/list_reworks

Revision of item list views

2 years agoAddressed additional unsupported array spread operation 3821/head
Dan Brown [Thu, 3 Nov 2022 14:40:01 +0000 (14:40 +0000)]
Addressed additional unsupported array spread operation

2 years agoFixed use of array unpacking syntax
Dan Brown [Thu, 3 Nov 2022 14:33:23 +0000 (14:33 +0000)]
Fixed use of array unpacking syntax

Since it was using keyed arrays, unpacking is only supported in php8.1+

2 years agoFixed phpstan static usage warning, updated ci flows
Dan Brown [Thu, 3 Nov 2022 14:14:22 +0000 (14:14 +0000)]
Fixed phpstan static usage warning, updated ci flows

CI flow updates to follow deprecation warnings

2 years agoUpdated role permission table to responsive format
Dan Brown [Thu, 3 Nov 2022 13:28:07 +0000 (13:28 +0000)]
Updated role permission table to responsive format

2 years agoUpdated search term lists to flex layouts
Dan Brown [Thu, 3 Nov 2022 12:49:05 +0000 (12:49 +0000)]
Updated search term lists to flex layouts

2 years agoMerge branch 'v22-10' into development
Dan Brown [Wed, 2 Nov 2022 15:22:53 +0000 (15:22 +0000)]
Merge branch 'v22-10' into development

2 years agoUpdated translator attribution before release v22.10.2
Dan Brown [Wed, 2 Nov 2022 15:19:13 +0000 (15:19 +0000)]
Updated translator attribution before release v22.10.2

2 years agoMerged and squashed l10n_development into v22-10
Dan Brown [Wed, 2 Nov 2022 15:17:54 +0000 (15:17 +0000)]
Merged and squashed l10n_development into v22-10

2 years agoUpdated tests to align with recent list changes
Dan Brown [Tue, 1 Nov 2022 14:53:36 +0000 (14:53 +0000)]
Updated tests to align with recent list changes

2 years agoRevised revision list to responsive layout
Dan Brown [Mon, 31 Oct 2022 21:26:31 +0000 (21:26 +0000)]
Revised revision list to responsive layout

2 years agoUpdated recycle bin list to new responsive layout
Dan Brown [Mon, 31 Oct 2022 16:45:32 +0000 (16:45 +0000)]
Updated recycle bin list to new responsive layout

2 years agoUpdated tags list to new responsive format
Dan Brown [Mon, 31 Oct 2022 11:40:28 +0000 (11:40 +0000)]
Updated tags list to new responsive format

2 years agoTweaked list spacings a little to align paddings
Dan Brown [Sun, 30 Oct 2022 21:06:42 +0000 (21:06 +0000)]
Tweaked list spacings a little to align paddings

2 years agoRemoved addition detail spacing in audit list
Dan Brown [Sun, 30 Oct 2022 20:29:21 +0000 (20:29 +0000)]
Removed addition detail spacing in audit list

2 years agoAdjusted audit log row spacing a tad
Dan Brown [Sun, 30 Oct 2022 20:27:41 +0000 (20:27 +0000)]
Adjusted audit log row spacing a tad

2 years agoRevised audit log list to new responsive format
Dan Brown [Sun, 30 Oct 2022 20:24:08 +0000 (20:24 +0000)]
Revised audit log list to new responsive format

2 years agoUpdated API tokens list to new responsive format
Dan Brown [Sun, 30 Oct 2022 15:37:52 +0000 (15:37 +0000)]
Updated API tokens list to new responsive format

2 years agoSplit out user controller preference methods to new controller
Dan Brown [Sun, 30 Oct 2022 15:25:02 +0000 (15:25 +0000)]
Split out user controller preference methods to new controller

2 years agoRefactored common list handling operations to new class
Dan Brown [Sun, 30 Oct 2022 15:16:06 +0000 (15:16 +0000)]
Refactored common list handling operations to new class

2 years agoRevised webhooks list to new format
Dan Brown [Sun, 30 Oct 2022 12:02:06 +0000 (12:02 +0000)]
Revised webhooks list to new format

Also aligned query naming to start with model in use.
Also added created/updated sort options to roles.

2 years agoRevised role index list to align with user list
Dan Brown [Sat, 29 Oct 2022 19:52:17 +0000 (20:52 +0100)]
Revised role index list to align with user list

2 years agoExtracted user list item to its own template
Dan Brown [Sat, 29 Oct 2022 14:25:28 +0000 (15:25 +0100)]
Extracted user list item to its own template

2 years agoRedesigned users list to be responsive and aligned
Dan Brown [Sat, 29 Oct 2022 14:23:21 +0000 (15:23 +0100)]
Redesigned users list to be responsive and aligned

2 years agoWorked towards phpstan level 2, 13 errors remain
Dan Brown [Mon, 24 Oct 2022 11:12:48 +0000 (12:12 +0100)]
Worked towards phpstan level 2, 13 errors remain

2 years agoUpdated npm package versions
Dan Brown [Mon, 24 Oct 2022 10:40:05 +0000 (11:40 +0100)]
Updated npm package versions

2 years agoFixed chapter fetching during joint permission building
Dan Brown [Fri, 21 Oct 2022 20:49:29 +0000 (21:49 +0100)]
Fixed chapter fetching during joint permission building

Somehow I accidentally deleted previous line 143 in this commit:
3839bf6bf11ac6b4d19c2ae8f62a314a2c164251
which would then break permission generation for content related to, or
containing, chapters in the recycle bin.
Found via user report (subz) & debugging in discord.

2 years agoUpdated translator attribution before release v22.10
Dan Brown [Fri, 21 Oct 2022 10:15:35 +0000 (11:15 +0100)]
Updated translator attribution before release v22.10

2 years agoUpdated test to align with latest translation
Dan Brown [Fri, 21 Oct 2022 09:41:55 +0000 (10:41 +0100)]
Updated test to align with latest translation

2 years agoFixed toggle controls on added content permission role rows
Dan Brown [Fri, 21 Oct 2022 09:13:11 +0000 (10:13 +0100)]
Fixed toggle controls on added content permission role rows

2 years agoAdded greek language option
Dan Brown [Thu, 20 Oct 2022 11:25:02 +0000 (12:25 +0100)]
Added greek language option

2 years agoNew Crowdin updates (#3737)
Dan Brown [Thu, 20 Oct 2022 11:18:58 +0000 (12:18 +0100)]
New Crowdin updates (#3737)

2 years agoSet fixed cell widths for users list table
Dan Brown [Wed, 19 Oct 2022 10:15:17 +0000 (11:15 +0100)]
Set fixed cell widths for users list table

To prevent certain cells squashing others.
Related to #3787.

2 years agoUpdated page pointer to use a fixed positioning system
Dan Brown [Tue, 18 Oct 2022 21:40:13 +0000 (22:40 +0100)]
Updated page pointer to use a fixed positioning system

Avoids interferance with elements that have their own overflow behaviour
such as table cells.
Related to #3774

2 years agoExtracted page pointer to its own compontent
Dan Brown [Tue, 18 Oct 2022 21:02:34 +0000 (22:02 +0100)]
Extracted page pointer to its own compontent

2 years agoUpdated php deps
Dan Brown [Sun, 16 Oct 2022 08:54:07 +0000 (09:54 +0100)]
Updated php deps

2 years agoPrevented saml2 autodiscovery on metadata load
Dan Brown [Sun, 16 Oct 2022 08:50:08 +0000 (09:50 +0100)]
Prevented saml2 autodiscovery on metadata load

Fixes issue where metadata cannot be viewed if autload is active and
entityid url is not active.
For #2480

2 years agoAdded wysiwyg code block edit tooltip
Dan Brown [Sat, 15 Oct 2022 14:47:34 +0000 (15:47 +0100)]
Added wysiwyg code block edit tooltip

For easier editing access on mobile devices where previous doubleclick
does not work so well.
For #2815

2 years agoMerge branch 'development' into bugfix/fix-being-unable-to-clear-filters
Dan Brown [Sat, 15 Oct 2022 14:12:55 +0000 (15:12 +0100)]
Merge branch 'development' into bugfix/fix-being-unable-to-clear-filters

2 years agoMerge pull request #3760 from BookStackApp/item_permission_revamp
Dan Brown [Fri, 14 Oct 2022 16:34:51 +0000 (17:34 +0100)]
Merge pull request #3760 from BookStackApp/item_permission_revamp

Refactor of item-level permission to be more intuitive

2 years agoFixed permission row permission check 3760/head
Dan Brown [Fri, 14 Oct 2022 15:03:06 +0000 (16:03 +0100)]
Fixed permission row permission check

2 years agoUpdated test for perms. changes and fixed static issues
Dan Brown [Wed, 12 Oct 2022 11:12:36 +0000 (12:12 +0100)]
Updated test for perms. changes and fixed static issues

2 years agoUpdated entity perms. changes for dark mode support
Dan Brown [Wed, 12 Oct 2022 10:27:24 +0000 (11:27 +0100)]
Updated entity perms. changes for dark mode support

2 years agoExtracted entity perms. text to translation files
Dan Brown [Tue, 11 Oct 2022 14:52:56 +0000 (15:52 +0100)]
Extracted entity perms. text to translation files

2 years agoRefined design and text for entity permission changes
Dan Brown [Tue, 11 Oct 2022 14:41:21 +0000 (15:41 +0100)]
Refined design and text for entity permission changes

2 years agoFixed and updated "Everyone Else" permissions handling
Dan Brown [Mon, 10 Oct 2022 16:22:38 +0000 (17:22 +0100)]
Fixed and updated "Everyone Else" permissions handling

- Fixed inheriting control for new system.
- Tested copying shelf permissions to books.
- Added additional handling for inheriting scenario identification.

2 years agoRemoved most usages of restricted entitiy property
Dan Brown [Mon, 10 Oct 2022 15:58:26 +0000 (16:58 +0100)]
Removed most usages of restricted entitiy property

2 years agoUpdated restricted usage on search and entity meta details
Dan Brown [Mon, 10 Oct 2022 15:22:51 +0000 (16:22 +0100)]
Updated restricted usage on search and entity meta details

Also removed now unused view.

2 years agoAdded interface for adding/removing roles in entity perms.
Dan Brown [Mon, 10 Oct 2022 11:24:23 +0000 (12:24 +0100)]
Added interface for adding/removing roles in entity perms.

2 years agoCentralised handling of permission form data to own class
Dan Brown [Sun, 9 Oct 2022 16:14:11 +0000 (17:14 +0100)]
Centralised handling of permission form data to own class

Also updates show roles on permission view to just those with
permissions applied.
Fixes rounded borders for lone permission rows.
Moves "Everyone Else" handling from role to new class.

2 years agoReorgranised permission routes into their own controller
Dan Brown [Sun, 9 Oct 2022 15:36:03 +0000 (16:36 +0100)]
Reorgranised permission routes into their own controller

Also introduced helpers for getting entities by slugs since we do it in
so many places.

2 years agoAdded migration to drop entity restricted field
Dan Brown [Sat, 8 Oct 2022 14:30:03 +0000 (15:30 +0100)]
Added migration to drop entity restricted field

2 years agoUpdated joint perms. gen. to use new entity permission format
Dan Brown [Sat, 8 Oct 2022 13:28:44 +0000 (14:28 +0100)]
Updated joint perms. gen. to use new entity permission format

2 years agoStarted code update for new entity permission format
Dan Brown [Sat, 8 Oct 2022 12:52:59 +0000 (13:52 +0100)]
Started code update for new entity permission format

2 years agoMigrated entity_permissions table to new flat format
Dan Brown [Fri, 7 Oct 2022 14:07:09 +0000 (15:07 +0100)]
Migrated entity_permissions table to new flat format

Simplifies structure and limits content count, while allowing direct
mapping of new UI intent, where we may have entries with no permissions.
Not yet updated app logic to suit.

Tested via migrating and rolling-back, then comparing export data,
across a set of custom permission entries.

2 years agoAdded proper entity permission removal on role deletion
Dan Brown [Fri, 7 Oct 2022 12:12:33 +0000 (13:12 +0100)]
Added proper entity permission removal on role deletion

Added test to cover.

2 years agoOnly output hidden user filters when not set to 'me' 3770/head
Allan [Thu, 6 Oct 2022 17:25:47 +0000 (19:25 +0200)]
Only output hidden user filters when not set to 'me'

2 years agoAdded user-interface for "Everyone Else" entity permission item
Dan Brown [Sun, 2 Oct 2022 17:09:48 +0000 (18:09 +0100)]
Added user-interface for "Everyone Else" entity permission item

Nothing on back-end logic done to hook this new option up.
Addition of permissions for role_id=0 works out of the box, but active
"everyone else" permissions, with no priviliges, is currently not
working. Needs change of permission gen logic also.

2 years agoDeveloped dev JS docs a bit further
Dan Brown [Sun, 2 Oct 2022 13:27:12 +0000 (14:27 +0100)]
Developed dev JS docs a bit further

2 years agoCleaned up old permission JS code
Dan Brown [Sun, 2 Oct 2022 12:57:32 +0000 (13:57 +0100)]
Cleaned up old permission JS code

Removed now unused JS entity-permissions compontent.
Updated existing permissions-table compontent to newer format.
Removed now unused translation string.

2 years agoStarted item permission design revamp
Dan Brown [Sun, 2 Oct 2022 12:17:28 +0000 (13:17 +0100)]
Started item permission design revamp

2 years agoStarted playing with table icons
Dan Brown [Fri, 30 Sep 2022 17:26:58 +0000 (18:26 +0100)]
Started playing with table icons

To make a little more accessible, Related to #3397

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