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
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
Mads Rasmussen
5a3b445cae
Merge branch 'main' into feature/add-user-group-query-filter
2024-05-13 10:03:29 +02:00
Mads Rasmussen
3dce387f04
Merge branch 'main' into feature/add-user-group-query-filter
2024-05-12 18:59:33 +02:00
Mads Rasmussen
0560644df6
wip monaco markdown editor extensions
2024-05-10 18:27:28 +02:00
Mads Rasmussen
2e5d730c5f
Merge branch 'chore/collect-multi-url-picker-files' of https://github.com/umbraco/Umbraco.CMS.Backoffice into chore/collect-multi-url-picker-files
2024-05-10 18:26:30 +02:00
Jacob Overgaard
a723d5ce09
fix: a black icon is shown twice in the icon picker
...
Due to the migration of icon colors from the old backoffice to the new, the black icon was shown twice.
2024-05-10 15:57:39 +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
72a83370f3
move extension components
2024-05-10 15:14:36 +02:00
Mads Rasmussen
b7c34fde27
Merge branch 'main' into chore/collect-multi-url-picker-files
2024-05-10 14:30:54 +02:00
Mads Rasmussen
d2b1ff048d
Merge branch 'main' into bugfix/document-media-recycle-bin-conditions
2024-05-10 14:30:31 +02:00
Mads Rasmussen
f535459872
Merge branch 'main' into bugfix/split-panel-overflow-2
2024-05-10 13:57:13 +02:00
Mads Rasmussen
ce016bf933
add recycle bin conditions for media + document root access
2024-05-10 13:51:58 +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
Mads Rasmussen
2b931a19c1
Merge branch 'main' into feature/add-user-group-query-filter
2024-05-10 12:54:29 +02:00
Mads Rasmussen
36d3eae02d
add collection view bundle
2024-05-10 12:50:54 +02:00
Mads Rasmussen
3d34aa13db
call filter end point
2024-05-10 12:49:17 +02:00