Commit Graph

15721 Commits

Author SHA1 Message Date
leekelleher
7b1791fc26 Bugfix: Document Picker: Start node 2024-05-13 21:40:29 +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
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
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
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
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
Mads Rasmussen
f5a7a6f2a8 Merge pull request #1777 from umbraco/feature/split-panel-v2
Feature: Split Panel
2024-05-10 09:34:22 +02:00
Mads Rasmussen
4165a76497 Merge branch 'main' into patch-2 2024-05-10 09:29:02 +02:00
Mads Rasmussen
e1e336c9db Merge branch 'main' into bugfix/language-culture-input 2024-05-10 09:21:00 +02:00
Mads Rasmussen
61b285d6fc Merge branch 'main' into feature/split-panel-v2 2024-05-10 09:19:37 +02:00
Mads Rasmussen
f64a4772d8 Merge branch 'main' into bugfix/wire-up-dynamic-root 2024-05-10 08:54:21 +02:00
Bjarne Fyrstenborg
d9f80eb14f Update label of count properties in Examine dashboard 2024-05-09 15:33:30 +02:00
Bjarne Fyrstenborg
ef66e0b798 Change labels of buttons in webhook 2024-05-09 15:19:17 +02:00
Jacob Overgaard
36bef09836 Merge pull request #1784 from umbraco/bugfix/save-token-after-refresh
fix: token after refresh is not persisted
2024-05-09 12:47:25 +02:00
Lee Kelleher
e83eb076d6 Merge pull request #1785 from umbraco/bugfix/remove-create-button-on-doc-type-items
Bugfix: remove create action on doc type items
2024-05-09 10:43:07 +01:00
Lee Kelleher
117c59af49 Merge pull request #1783 from umbraco/chore/correct-update-to-tsconfig-so-it-won't-be-overwritten
Chore: Update tsconfig in the correct place + enlarge the warning
2024-05-09 10:31:42 +01:00