Commit Graph

16478 Commits

Author SHA1 Message Date
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
a881ac13ee Merge pull request #1807 from umbraco/bugfix/document-picker-start-node
Bugfix: Document Picker: Start node
2024-05-14 09:19:50 +02:00
Mads Rasmussen
16908a3842 Merge branch 'main' into bugfix/document-picker-start-node 2024-05-14 09:13:50 +02:00
Lee Kelleher
57632266eb Merge pull request #1806 from umbraco/bugfix/color-picker-input-focus
Bugfix: Color Picker modal focus
2024-05-14 08:13:13 +01: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
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
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
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
Mads Rasmussen
8322eb7de3 fixing types 2024-05-13 19:56:33 +02: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
707234cfa2 Merge pull request #1801 from umbraco/feature/login-on-main-frame
Feature: Login without popup
2024-05-13 15:49:36 +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
Mads Rasmussen
27ecd53c8f make skip take values optional 2024-05-13 14:22:54 +02:00
Mads Rasmussen
4eac4a7a1b move unused type from core 2024-05-13 14:21:06 +02:00
Mads Rasmussen
9079453f6a add entity type 2024-05-13 14:15:41 +02:00
Lee Kelleher
57d8f4168a Merge pull request #1782 from umbraco/feature/align-upload-field-with-updated-endpoint
Feature/align upload field with updated
2024-05-13 13:13:30 +01:00
Mads Rasmussen
2ba5b8edab Update tree-repository-base.ts 2024-05-13 14:10:53 +02:00
leekelleher
a5a6b8acdf Added @ts-ignore for ToggleEvent usage 2024-05-13 13:07:00 +01:00
leekelleher
dcd65e021f Merge branch 'main' into feature/align-upload-field-with-updated-endpoint 2024-05-13 12:49:07 +01:00
Lee Kelleher
37012bfd50 Merge pull request #1764 from umbraco/feature/dropzone-management
Feature: Dropzone Manager
2024-05-13 12:27:57 +01:00
Mads Rasmussen
d6ac55cd60 include entityType with parent unique 2024-05-13 13:21:58 +02:00
Lone Iversen
ef14a07d09 dont show popup if not allowed. Throw a description error 2024-05-13 13:21:30 +02:00
Mads Rasmussen
b93eb95414 update data passing to new models 2024-05-13 12:49:17 +02:00
Lone Iversen
d493a31884 remove mapping 2024-05-13 12:34:01 +02:00
Jacob Overgaard
b2d972a2ae Merge pull request #1798 from umbraco/bugfix/multiple-tinymce-per-page
fix: multiple TinyMCE's on the same page does not work
2024-05-13 10:05:12 +02:00
Mads Rasmussen
3f22affae3 Merge branch 'main' into bugfix/wire-up-dynamic-root 2024-05-13 10:04:10 +02:00
Jacob Overgaard
e3961d7f20 Merge pull request #1799 from umbraco/bugfix/tinymce-default-config
fix: tinymce does not use its default config
2024-05-13 10:00:29 +02:00
Jacob Overgaard
d90763a9b4 fix: tinymce does not use its default config
Specifically for height, width, content_css, and style_formats, tinymce did not use its fallbacks if they were not provided through the data type.
2024-05-10 15:41:43 +02:00
Jacob Overgaard
f08c474978 fix: merge css and let it work on the visible element 2024-05-10 15:34:25 +02:00