62578[TASK] Use AJAX API in top toolbar items
Commit message
Review
-
Code review CR +2 Done
- Daniel Goerz +2
- Oli Bartsch +1
-
Verified V +2 Done
- Daniel Goerz +2
- Oli Bartsch +1
- TYPO3com +1 CI
Issues 1
Files 10
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Toolbar/ClearCacheMenu.ts8+8 −9
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Toolbar/ShortcutMenu.ts+23 −44
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Toolbar/SystemInformationMenu.ts1+8 −13
- Build/Sources/TypeScript/opendocs/Resources/Public/TypeScript/Toolbar/OpendocsMenu.ts+15 −22
- Build/Sources/TypeScript/workspaces/Resources/Public/TypeScript/Toolbar/WorkspacesMenu.ts+27 −29
- typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ShortcutMenu.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/SystemInformationMenu.js+1 −1
- typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js+1 −1
- typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js+1 −1
Review log 1924
-
Andreas Kienast uploaded patch set 1 12/08/19, 08:37
-
Andreas Kienast commented on patch set 1 CR -2 12/08/19, 08:37
Depends on https://review.typo3.org/c/Packages/TYPO3.CMS/+/62576 -
TYPO3com voted on patch set 1 V -1 12/08/19, 08:48 Completed build in 10m 52s on Sun, 8 Dec, 08:48 AM Test Summary: 63 of 69068 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-39258
-
Andreas Kienast uploaded patch set 2 12/11/19, 08:48
-
Andreas Kienast voted on patch set 2 CR 0 12/11/19, 08:48
-
TYPO3com voted on patch set 2 V +1 12/11/19, 09:24 Completed build in 35m 21s on Wed, 11 Dec, 09:24 AM Test Summary: 68714 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-39325
-
Oli Bartsch commented on patch set 2 CR -1 12/11/19, 18:42
ClearCacheMenu.ts:78Why did you remove the labels again? (Added recently in https://review.typo3.org/c/Packages/TYPO3.CMS/+/62269) -
Andreas Kienast commented on patch set 2 12/11/19, 19:03
ClearCacheMenu.ts:78Reply UnresolvedSorry, rebase fail -
Andreas Kienast uploaded patch set 3 12/11/19, 19:08
-
TYPO3com voted on patch set 3 V -1 12/11/19, 19:29 Completed build in 20m 48s on Wed, 11 Dec, 07:29 PM Test Summary: 68423 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-39347
-
TYPO3com voted on patch set 3 V +1 12/11/19, 19:33 Completed build in 45m 29s on Wed, 11 Dec, 07:33 PM Test Summary: 68716 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-39347
-
Oli Bartsch voted on patch set 3 V +1 CR +1 12/11/19, 20:06
-
Georg Ringer commented on patch set 3 CR -1 12/12/19, 04:04
ClearCacheMenu.ts:68Why switching from get to post?SystemInformationMenu.ts:75UnresolvedWhy now get? -
Andreas Kienast commented on patch set 3 12/12/19, 04:47
ClearCacheMenu.ts:68ReplyBecause post makes no sense as no data is sent -
Andreas Kienast commented on patch set 3 12/12/19, 05:21
ClearCacheMenu.ts:68ReplyBtw, we're switching from post to get... -
Georg Ringer voted on patch set 3 CR 0 12/12/19, 07:44
-
Oli Bartsch commented on patch set 3 V -1 12/12/19, 09:02
ClearCacheMenu.ts:68ReplyAh good catch Georg, overlooked this yesterday. The choice between get and post is not whether there are arguments submitted but rather if the state of the server is changed. Therefore this should be post because the cache is cleared. -
Andreas Kienast commented on patch set 3 12/12/19, 09:15
ClearCacheMenu.ts:68ReplySince we're removing caches, this would be technically a DELETE request. Anyway, I don't care that much which type of request we send, tbh. -
Oli Bartsch commented on patch set 3 12/12/19, 12:08
ClearCacheMenu.ts:68Reply UnresolvedThis is no DELETE request because a DELETE request will delete some resource on the server which results in the resource is not accessible anymore (404). Just "clearing" the cache is POST with in this case no further data supplied. Properly speaking it's neither a POST nor a DELETE but as DELETED is defined as: "The DELETE method requests that the origin server delete the resource identified by the Request-URI." So only POST remains. Because we just want to switch from jQuery to the AJAX Api we should let the the types as they are. -
Andreas Kienast uploaded patch set 4 12/12/19, 12:54
-
Oli Bartsch voted on patch set 4 V +1 CR +1 12/12/19, 13:31
-
TYPO3com voted on patch set 4 V +1 12/12/19, 13:48 Completed build in 53m 49s on Thu, 12 Dec, 01:48 PM Test Summary: 68712 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-39361
-
Daniel Goerz voted on patch set 4 V +2 CR +2 12/12/19, 19:26
-
Daniel Goerz merged patch set 5 12/12/19, 19:27