Commit Graph

15745 Commits

Author SHA1 Message Date
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
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
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
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
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
Jacob Overgaard
ae207b1c12 fix: allow multiple editors on the page
tinymce does not support having the same html id on its root elements (even though it's a Shadow DOM), so we use an html class instead and tinymce is happy
2024-05-10 15:33:09 +02:00
Jacob Overgaard
bd80bd312e fix: load the editor only once
this ensures the index.ts file is only loaded once even though you have more editors visible on the page
2024-05-10 15:32:28 +02:00
Lone Iversen
857345f95f Merge remote-tracking branch 'origin/main' into feature/dropzone-management 2024-05-10 15:25:15 +02:00
Mads Rasmussen
f535459872 Merge branch 'main' into bugfix/split-panel-overflow-2 2024-05-10 13:57:13 +02:00
JesmoDev
a0ca8f7f4d fix split panel overflow 2024-05-10 13:41:54 +02:00
Jacob Overgaard
e22cfb7be0 Merge pull request #1790 from umbraco/bugfix/don't-lower-case-iso-code
Bugfix: Don't lower case iso codes
2024-05-10 13:17:09 +02:00
Mads Rasmussen
f0c1db2787 Merge branch 'main' into feature/body-layout-empty-slots 2024-05-10 13:02:06 +02:00
Mads Rasmussen
9c98f4afd9 Merge branch 'main' into feature/bigger-user-card-avatars 2024-05-10 12:55:03 +02:00
JesmoDev
b601ae22a4 add overflow to split panel 2024-05-10 12:18:43 +02:00
Mads Rasmussen
a44ecd8829 Update language-detail.server.data-source.ts 2024-05-10 11:04:57 +02:00