Commit Graph

15780 Commits

Author SHA1 Message Date
Mads Rasmussen
0b140d59db Merge branch 'main' into bugfix/document-media-recycle-bin-conditions 2024-05-14 14:13:47 +02:00
Lee Kelleher
c1c42329bf Merge pull request #1809 from umbraco/feature/pass-entity-type-to-tree-data-source
Feature: Pass the entity type along the unique when requesting tree data.
2024-05-14 10:31:46 +01:00
Jacob Overgaard
3bca83e31d Merge pull request #1793 from umbraco/feature/add-user-group-query-filter
Feature: Add user group query filter
2024-05-14 10:59:25 +02:00
Lee Kelleher
c7d27c928b Merge pull request #1808 from umbraco/bugfix/document-collection-create-action-modal-route
Bugfix: Document Collection: Create action modal route
2024-05-14 09:57:52 +01:00
Lee Kelleher
5106c23e3a Merge pull request #1804 from umbraco/bugfix/eye-dropper-show-palette-swatches
Bugfix: Eye Dropper: Show Palette / Swatches
2024-05-14 09:57:25 +01:00
Lee Kelleher
a8c2030d33 Merge pull request #1805 from umbraco/chore/umb-debug-tweaks
Chore: `umb-debug` UI tweaks
2024-05-14 09:56:24 +01:00
Mads Rasmussen
f97a26dbcf Merge branch 'main' into feature/pass-entity-type-to-tree-data-source 2024-05-14 10:08:40 +02:00
Jacob Overgaard
1ebed370dc fix: always validate to true if bypassed 2024-05-14 10:05:45 +02:00
Jacob Overgaard
33b0e06fec Merge branch 'main' into chore/umb-debug-tweaks 2024-05-14 10:01:52 +02:00
Mads Rasmussen
cd7b8c253a temp ignore 2024-05-14 09:55:26 +02:00
Mads Rasmussen
0a98feecec pass entity type to start node 2024-05-14 09:54:01 +02:00
Mads Rasmussen
ab2395e725 pass entity type 2024-05-14 09:43:15 +02:00
Mads Rasmussen
8d3e6d331b require entity type for start node 2024-05-14 09:43:08 +02:00
Mads Rasmussen
ff98ee553c Merge branch 'main' into feature/pass-entity-type-to-tree-data-source 2024-05-14 09:20:11 +02:00
Mads Rasmussen
16908a3842 Merge branch 'main' into bugfix/document-picker-start-node 2024-05-14 09:13:50 +02:00
Mads Rasmussen
d93e0c4e4f pass entity type when requesting ancestors 2024-05-14 08:43:53 +02:00
Mads Rasmussen
3b8a53ebfc add entity type and parent entity type observables to all workspaces 2024-05-14 08:43:31 +02:00
Mads Rasmussen
6a7b614e43 remove display value 2024-05-14 08:39:33 +02:00
leekelleher
0c55621af9 Bugfix: Document Collection: Create action modal route 2024-05-13 21:50:19 +01:00
leekelleher
7b1791fc26 Bugfix: Document Picker: Start node 2024-05-13 21:40:29 +01:00
leekelleher
c4ac87bec2 Bugfix: Color Picker modal focus
Changes the event capture from `@input` to `@change`
to prevent losing focus on initial color selection.
2024-05-13 21:36:12 +01:00
leekelleher
f4820d1241 Updated screenshots for Storybook docs 2024-05-13 21:27:42 +01:00
Mads Rasmussen
87e414cfb1 fixing types 2024-05-13 21:27:48 +02:00
Mads Rasmussen
891c038ba4 Merge branch 'main' into feature/pass-entity-type-to-tree-data-source 2024-05-13 21:22:36 +02:00
Mads Rasmussen
c2b81f5384 Merge branch 'main' into bugfix/document-media-recycle-bin-conditions 2024-05-13 21:19:05 +02:00
Mads Rasmussen
d8efd10dda remove ignore 2024-05-13 21:16:57 +02:00
Mads Rasmussen
f25d685eb1 remove ignore 2024-05-13 21:16:25 +02:00
Mads Rasmussen
00c72bcdbf remove ignore 2024-05-13 21:15:36 +02:00
Mads Rasmussen
76de076341 remove ignore 2024-05-13 21:14:55 +02:00
Mads Rasmussen
a4abd6e765 types 2024-05-13 21:12:43 +02:00
leekelleher
f426e49b43 Bugfix: Eye Dropper: Show Palette / Swatches
- Adds a `showPalette` property to the input.
- Allows for the `swatches` to be undefined, so that it can fallback on UUI default swatches.
- Removes the hard-coded swatches from the property-editor.
- Updates Storybook story.
2024-05-13 19:21:31 +01:00
Mads Rasmussen
8322eb7de3 fixing types 2024-05-13 19:56:33 +02:00
leekelleher
7b975cfefd General code tidy-up 2024-05-13 18:10:35 +01:00
leekelleher
c63e65b49e Sorts the method and property names 2024-05-13 18:09:51 +01:00
leekelleher
57f6089c59 UI enhancements
Uses `<details>` to collapse the context data.

Makes more use of Lit directives to render markup.
2024-05-13 18:09:25 +01:00
leekelleher
afc5600d16 Renamed DebugContext type exports as UmbDebugContext 2024-05-13 18:03:48 +01:00
Jacob Overgaard
e1340f45bd Merge pull request #1802 from umbraco/feature/validate-token-on-first-load
Feature: Validate the token on first load
2024-05-13 16:26:35 +02:00
Jacob Overgaard
57e1cf86a9 feat: validate the token on first load
If the client thinks it has a valid token (i.e. if the token was set on another umbraco instance or it has expired on the server or been revoked), it will still try and use it. The first authenticated request will then return a 401 prompting the client to show the "time out" screen. This is not entirely correct, as the user might simply expect to see the login screen directly.

This PR aims to introduce a simple server request to validate the token if one is present. We do this by trying to exchange the stored refresh_token to an access_token only on the first load. This has two benefits:

1. We let the server tell us directly if it thinks the stored token is useful.
2. We get a freshly minted access_token that is now valid for the configured timeout period and wont accidentally expire during the next 2 seconds thereby prompting the "time out" screen anyway.
2024-05-13 15:20:17 +02:00
Mads Rasmussen
d2239b788a Update default-tree.element.ts 2024-05-13 15:14:07 +02:00
Mads Rasmussen
5725cbb0ee Merge branch 'main' into feature/pass-entity-type-to-tree-data-source 2024-05-13 15:05:16 +02:00
Jacob Overgaard
d411ca1c09 chore: add localization 2024-05-13 14:59:26 +02:00
Mads Rasmussen
3c139bb528 remove entity model code duplication 2024-05-13 14:55:41 +02:00
Jacob Overgaard
365be67ea2 fix: we need to listen for authorization signals on oauth_complete, otherwise it's a race condition to set the token in local storage 2024-05-13 14:52:42 +02:00
Jacob Overgaard
3d2c4c04fd feat: we want to do a real redirect to the login provider unless the user has timed out 2024-05-13 14:51:58 +02:00
Mads Rasmussen
316f741d41 extend UmbEntityModel 2024-05-13 14:44:35 +02:00
Mads Rasmussen
6d3412609d remove unique from name 2024-05-13 14:36:45 +02:00
Mads Rasmussen
7dd3a4ff4e require unique 2024-05-13 14:35:14 +02:00
Lee Kelleher
29c91a9335 Merge pull request #1769 from umbraco/bugfix/wire-up-dynamic-root
Bugfix: Wire up dynamic root for Content Picker Property Editor
2024-05-13 13:33:48 +01:00
Mads Rasmussen
32534a18ea require unique 2024-05-13 14:28:23 +02:00
Mads Rasmussen
71ecb06d0c remove unused method 2024-05-13 14:25:24 +02:00