Commit Graph

16450 Commits

Author SHA1 Message Date
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
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
Jacob Overgaard
d411ca1c09 chore: add localization 2024-05-13 14:59:26 +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
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
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
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
Lone Iversen
ef14a07d09 dont show popup if not allowed. Throw a description error 2024-05-13 13:21:30 +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
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
23968b738e Merge pull request #1795 from umbraco/bugfix/split-panel-overflow-2
fix split panel overflow
2024-05-10 14:03:13 +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
9799cda111 Merge pull request #1791 from umbraco/feature/body-layout-empty-slots
Feature: umb-body-layout - Hide empty slots
2024-05-10 13:07:58 +02:00
Mads Rasmussen
f0c1db2787 Merge branch 'main' into feature/body-layout-empty-slots 2024-05-10 13:02:06 +02:00
Mads Rasmussen
98483ed235 Merge pull request #1789 from umbraco/feature/bigger-user-card-avatars
Feature/bigger user card avatars
2024-05-10 13:01:14 +02:00
Mads Rasmussen
9c98f4afd9 Merge branch 'main' into feature/bigger-user-card-avatars 2024-05-10 12:55:03 +02:00
Mads Rasmussen
818c9a0368 Merge pull request #1792 from umbraco/bugfix/split-panel-overflow
Bugfix: Split panel overflow
2024-05-10 12:52:54 +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
JesmoDev
6b52dd134b hide empty slots 2024-05-10 10:58:20 +02:00
JesmoDev
cf8d6f73ae remove unused css 2024-05-10 10:56:30 +02:00
Lone Iversen
0247f3b818 remove dependency 2024-05-10 10:55:03 +02:00
Lone Iversen
6eee26e213 Merge remote-tracking branch 'origin/feature/media-picker-modal' into feature/align-upload-field-with-updated-endpoint 2024-05-10 10:53:51 +02:00
Lone Iversen
b2188343ef Merge remote-tracking branch 'origin/feature/dropzone-management' into feature/align-upload-field-with-updated-endpoint 2024-05-10 10:51:10 +02:00
Lone Iversen
50c5f940ae remove dependency, remove isImg 2024-05-10 10:50:21 +02:00
Lone Iversen
3223fbe206 Merge remote-tracking branch 'origin/feature/dropzone-management' into feature/media-picker-modal 2024-05-10 10:26:45 +02:00
Lone Iversen
c9a2e86fde Merge remote-tracking branch 'origin/main' into feature/dropzone-management 2024-05-10 10:26:13 +02:00
Lone Iversen
23e21adbbd remove dependency 2024-05-10 10:26:04 +02:00
JesmoDev
2071344df7 size 2024-05-10 10:16:19 +02:00
Mads Rasmussen
e284f64086 Merge pull request #1787 from bjarnef/patch-3
Update label of count properties in Examine dashboard
2024-05-10 10:14:27 +02:00
JesmoDev
e4d8faeef6 fix avatar quality 2024-05-10 10:07:15 +02:00
JesmoDev
e11429b389 make avatars bigger 2024-05-10 10:00:07 +02:00
Mads Rasmussen
1c57d8c8be Merge pull request #1786 from bjarnef/patch-2
Change labels of buttons in webhook
2024-05-10 09:35:24 +02:00