]>
BookStack Code Mirror - bookstack/log
Dan Brown [Wed, 23 Nov 2022 00:13:02 +0000 (00:13 +0000)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Wed, 23 Nov 2022 00:12:41 +0000 (00:12 +0000)]
Updated global search component to new format
Dan Brown [Wed, 23 Nov 2022 00:10:21 +0000 (00:10 +0000)]
Merge branch 'search_preview' into development
Dan Brown [Wed, 23 Nov 2022 00:05:24 +0000 (00:05 +0000)]
Adjusted global search preview for dark mode
Dan Brown [Mon, 21 Nov 2022 17:35:19 +0000 (17:35 +0000)]
Extracted keyboard nav. from dropdowns to share w/ search
Dan Brown [Mon, 21 Nov 2022 10:29:12 +0000 (10:29 +0000)]
Added new endpoint for search suggestions
Dan Brown [Sun, 20 Nov 2022 22:21:52 +0000 (22:21 +0000)]
Merge pull request #3852 from BookStackApp/php82
PHP8.2 Support
Dan Brown [Sun, 20 Nov 2022 22:20:31 +0000 (22:20 +0000)]
Added global search input debounce and loading indicator
Dan Brown [Sun, 20 Nov 2022 21:53:53 +0000 (21:53 +0000)]
Replaced JS logic with CSS focus-within logic
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
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
Dan Brown [Wed, 16 Nov 2022 16:02:31 +0000 (16:02 +0000)]
Updated js dev docs with latest component changes
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.
Dan Brown [Wed, 16 Nov 2022 15:21:22 +0000 (15:21 +0000)]
Removed use of image-manager/entity-selector window globals
Dan Brown [Wed, 16 Nov 2022 13:04:22 +0000 (13:04 +0000)]
Finished updating remainder of JS components to new system
Dan Brown [Tue, 15 Nov 2022 16:04:46 +0000 (16:04 +0000)]
Updated a whole load more js components
Dan Brown [Tue, 15 Nov 2022 12:44:57 +0000 (12:44 +0000)]
Updated another set of components
Dan Brown [Tue, 15 Nov 2022 11:24:31 +0000 (11:24 +0000)]
Updated a batch of JS components
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.
Dan Brown [Mon, 14 Nov 2022 18:26:01 +0000 (18:26 +0000)]
Added php8.2 to GH action checks
Dan Brown [Mon, 14 Nov 2022 10:24:14 +0000 (10:24 +0000)]
Started on a live-preview on global search input
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
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
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
Dan Brown [Sat, 12 Nov 2022 08:44:25 +0000 (08:44 +0000)]
Added swift support to code blocks and editor
Closes #3847
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
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
Dan Brown [Thu, 10 Nov 2022 13:38:56 +0000 (13:38 +0000)]
Added dart support to code blocks/editing
For #3808
Dan Brown [Thu, 10 Nov 2022 13:30:48 +0000 (13:30 +0000)]
Extracted hardcoded english text to language files
Closes #3822
Dan Brown [Thu, 10 Nov 2022 10:32:56 +0000 (10:32 +0000)]
Merge pull request #3830 from BookStackApp/shortcuts
User interface shortcuts system
Dan Brown [Thu, 10 Nov 2022 10:25:28 +0000 (10:25 +0000)]
Extracted shortcut text to language files
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.
Dan Brown [Wed, 9 Nov 2022 18:42:54 +0000 (18:42 +0000)]
Added tests to cover shortcut endpoints
Dan Brown [Wed, 9 Nov 2022 14:40:44 +0000 (14:40 +0000)]
Added shortcut input controls to make custom shortcuts work
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.
Dan Brown [Sat, 5 Nov 2022 13:57:22 +0000 (13:57 +0000)]
Improved shortcut overlay with related action highlighting
Dan Brown [Sat, 5 Nov 2022 13:39:17 +0000 (13:39 +0000)]
Distributed shortcut actions to common ui elements
Dan Brown [Fri, 4 Nov 2022 15:20:19 +0000 (15:20 +0000)]
Started implementation of UI shortcuts system
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
Dan Brown [Thu, 3 Nov 2022 14:40:01 +0000 (14:40 +0000)]
Addressed additional unsupported array spread operation
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+
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
Dan Brown [Thu, 3 Nov 2022 13:28:07 +0000 (13:28 +0000)]
Updated role permission table to responsive format
Dan Brown [Thu, 3 Nov 2022 12:49:05 +0000 (12:49 +0000)]
Updated search term lists to flex layouts
Dan Brown [Wed, 2 Nov 2022 15:22:53 +0000 (15:22 +0000)]
Merge branch 'v22-10' into development
Dan Brown [Wed, 2 Nov 2022 15:19:13 +0000 (15:19 +0000)]
Updated translator attribution before release v22.10.2
Dan Brown [Wed, 2 Nov 2022 15:17:54 +0000 (15:17 +0000)]
Merged and squashed l10n_development into v22-10
Dan Brown [Tue, 1 Nov 2022 14:53:36 +0000 (14:53 +0000)]
Updated tests to align with recent list changes
Dan Brown [Mon, 31 Oct 2022 21:26:31 +0000 (21:26 +0000)]
Revised revision list to responsive layout
Dan Brown [Mon, 31 Oct 2022 16:45:32 +0000 (16:45 +0000)]
Updated recycle bin list to new responsive layout
Dan Brown [Mon, 31 Oct 2022 11:40:28 +0000 (11:40 +0000)]
Updated tags list to new responsive format
Dan Brown [Sun, 30 Oct 2022 21:06:42 +0000 (21:06 +0000)]
Tweaked list spacings a little to align paddings
Dan Brown [Sun, 30 Oct 2022 20:29:21 +0000 (20:29 +0000)]
Removed addition detail spacing in audit list
Dan Brown [Sun, 30 Oct 2022 20:27:41 +0000 (20:27 +0000)]
Adjusted audit log row spacing a tad
Dan Brown [Sun, 30 Oct 2022 20:24:08 +0000 (20:24 +0000)]
Revised audit log 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
Dan Brown [Sun, 30 Oct 2022 15:25:02 +0000 (15:25 +0000)]
Split out user controller preference methods to new controller
Dan Brown [Sun, 30 Oct 2022 15:16:06 +0000 (15:16 +0000)]
Refactored common list handling operations to new class
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.
Dan Brown [Sat, 29 Oct 2022 19:52:17 +0000 (20:52 +0100)]
Revised role index list to align with user list
Dan Brown [Sat, 29 Oct 2022 14:25:28 +0000 (15:25 +0100)]
Extracted user list item to its own template
Dan Brown [Sat, 29 Oct 2022 14:23:21 +0000 (15:23 +0100)]
Redesigned users list to be responsive and aligned
Dan Brown [Mon, 24 Oct 2022 11:12:48 +0000 (12:12 +0100)]
Worked towards phpstan level 2, 13 errors remain
Dan Brown [Mon, 24 Oct 2022 10:40:05 +0000 (11:40 +0100)]
Updated npm package versions
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.
Dan Brown [Fri, 21 Oct 2022 10:15:35 +0000 (11:15 +0100)]
Updated translator attribution before release v22.10
Dan Brown [Fri, 21 Oct 2022 09:41:55 +0000 (10:41 +0100)]
Updated test to align with latest translation
Dan Brown [Fri, 21 Oct 2022 09:13:11 +0000 (10:13 +0100)]
Fixed toggle controls on added content permission role rows
Dan Brown [Thu, 20 Oct 2022 11:25:02 +0000 (12:25 +0100)]
Added greek language option
Dan Brown [Thu, 20 Oct 2022 11:18:58 +0000 (12:18 +0100)]
New Crowdin updates (#3737)
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.
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
Dan Brown [Tue, 18 Oct 2022 21:02:34 +0000 (22:02 +0100)]
Extracted page pointer to its own compontent
Dan Brown [Sun, 16 Oct 2022 08:54:07 +0000 (09:54 +0100)]
Updated php deps
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
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
Dan Brown [Sat, 15 Oct 2022 14:12:55 +0000 (15:12 +0100)]
Merge branch 'development' into bugfix/fix-being-unable-to-clear-filters
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
Dan Brown [Fri, 14 Oct 2022 15:03:06 +0000 (16:03 +0100)]
Fixed permission row permission check
Dan Brown [Wed, 12 Oct 2022 11:12:36 +0000 (12:12 +0100)]
Updated test for perms. changes and fixed static issues
Dan Brown [Wed, 12 Oct 2022 10:27:24 +0000 (11:27 +0100)]
Updated entity perms. changes for dark mode support
Dan Brown [Tue, 11 Oct 2022 14:52:56 +0000 (15:52 +0100)]
Extracted entity perms. text to translation files
Dan Brown [Tue, 11 Oct 2022 14:41:21 +0000 (15:41 +0100)]
Refined design and text for entity permission changes
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.
Dan Brown [Mon, 10 Oct 2022 15:58:26 +0000 (16:58 +0100)]
Removed most usages of restricted entitiy property
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.
Dan Brown [Mon, 10 Oct 2022 11:24:23 +0000 (12:24 +0100)]
Added interface for adding/removing roles in entity perms.
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.
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.
Dan Brown [Sat, 8 Oct 2022 14:30:03 +0000 (15:30 +0100)]
Added migration to drop entity restricted field
Dan Brown [Sat, 8 Oct 2022 13:28:44 +0000 (14:28 +0100)]
Updated joint perms. gen. to use 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
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.
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.
Allan [Thu, 6 Oct 2022 17:25:47 +0000 (19:25 +0200)]
Only output hidden user filters when not set to 'me'
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.
Dan Brown [Sun, 2 Oct 2022 13:27:12 +0000 (14:27 +0100)]
Developed dev JS docs a bit further
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.
Dan Brown [Sun, 2 Oct 2022 12:17:28 +0000 (13:17 +0100)]
Started item permission design revamp
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