- 03 Jun, 2022 2 commits
-
-
Andreas Fernandez authored
Resolves: #97730 Releases: main Change-Id: I78aa8d10dfdd045405316c25d8ce39d353b9e9d6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74812 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
If TCA with a file upload is used within IRRE (e.g. as done by EXT:news), creating a new record or opening an existing record now sets up the drag uploader. As the DragUploader module is loaded independently from the FormEngine main module, loading order may vary, rendering an event-based solution unstable. To solve this issue without any major refactorings, a MutationObserver is installed by the DragUploader module. Resolves: #97676 Releases: main, 11.5 Change-Id: I36a3922999842f4d0bddfc7e4b148ec39880d9df Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74748 Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
- 28 Mar, 2022 1 commit
-
-
The Folder Tree shows notifications through FlashMessages when using the AJAX endpoint "file_process", while the drag uploader still used the very old "terr" XML Response (which I added in TYPO3 v4.1). Now the file_process returns the error messages from the flash message queue, ready to be printed out. The "includeMessages" is thus not needed anymore, as message results are always sent. Resolves: #97177 Releases: main Change-Id: I0ded504fcfd4847e01f44440fab5230899881285 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73906 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- 16 Feb, 2022 1 commit
-
-
Switch from TYPO3/CMS/ExtName/ to @typo3/ext-name/ module namespace in all TypoScript modules in order to use the common "scoped package" syntax as known from npmjs. This will allow TYPO3 TypeScript declarations to be published to @typo3/* packages on npmjs.com at some point, allowing extension authors to require these as npm/yarn dependencies to be able to use TypeScript type declarations when developing against the TYPO3 JavaScript API. While at it, the naming convention of JavaScript modules is also switched to use lowercase-dashed form. This is to adhere to the common used naming convention in the npm-world. Also @typo3/core/ajax/ajax-request.js simply looks better than a mixed form @typo3/core/Ajax/AjaxRequest.js would be. All existing RequireJS module identifiers are mapped to the new naming syntax in the requirejs-to-es6 bridge: For example a requirejs call to TYPO3/CMS/T3editor/Element/CodeMirrorElement will transparently be transformed to the new scheme: @typo3/t3editor/element/code-mirror-element.js Manual modifications in: Build/Gruntfile.js Build/util/map-import.js Build/JSUnit/karma.conf.js Build/Sources/TypeScript/backend/Resources/Public/TypeScript/viewport/navigation-container.ts typo3/sysext/core/Resources/Public/JavaScript/requirejs-loader.js typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php typo3/sysext/core/Tests/Unit/Page/Fixtures/ImportMap/package2/Configuration/JavaScriptModules.php typo3/sysext/core/Tests/Unit/Page/Fixtures/ImportMap/package3/Configuration/JavaScriptModules.php typo3/sysext/core/Tests/Unit/Page/ImportMapTest.php typo3/sysext/t3editor/Configuration/JavaScriptModules.php All other changes have been automated with: find Build/Sources/TypeScript/ -type f | \ grep -v index.d.ts | \ sed \ -e 's:Build/Sources/TypeScript/:typo3/sysext/:' \ -e 's:/Tests/:/Tests/JavaScript/:' \ -e 's:/TypeScript/:/JavaScript/:' \ -e 's:\.ts$:.js:' | \ xargs git rm find Build/Sources/TypeScript/ -type f | while read file do newFilename=$(echo $file | sed \ -e :loop1 -e 's:\(/Public/TypeScript\|/Tests\)\([0-9a-zA-Z/.]*\)/\([A-Z][A-Z]*\)\([0-9a-zA-Z/-]*\)\.ts:\1\2/\L\3\E\4.ts:' -e 't loop1' \ -e :loop2 -e 's:\(/Public/TypeScript\|/Tests\)\([0-9a-zA-Z/.]*[a-z]\)\([A-Z][A-Z]*\)\([0-9a-zA-Z/-]*\)\.ts:\1\2-\L\3\E\4.ts:' -e 't loop2' \ -e s:/Resources/Public/TypeScript/:/: \ -e s:/Tests/:/tests/: ) mkdir -p $(dirname "${newFilename}") [[ "$file" != "$newFilename" ]] && git mv "${file}" "${newFilename}" done cat << EOF > convert_uppercase_to_lowercase.sed :loop1 s:\(TYPO3/CMS[0-9a-zA-Z/]*\)/\([A-Z]\)\([0-9a-zA-Z/-]*\.js\):\1/\l\2\3: t loop1 :loop2 s:\(TYPO3/CMS[0-9a-zA-Z/]*[a-z]\)\([A-Z]\)\([0-9a-z/-]*\.js\):\1-\l\2\3: t loop2 s:TYPO3/CMS/\([0-9a-z/-]*\.js\):@typo3/\1:g :loop3 s:\(^import \|^import .* from \|import(\|declare module \)'\([0-9a-zA-Z/.]*\)/\([A-Z][A-Z]*\)\([0-9a-zA-Z/.-]*\)':\1'\2/\L\3\E\4': t loop3 :loop4 s:\(^import \|^import .* from \|import(\|declare module \)'\([0-9a-zA-Z/.]*[a-z]\)\([A-Z][A-Z]*\)\([0-9a-z/.-]*\)':\1'\2-\L\3\E\4': t loop4 :loop5 s:\(\* Module\:\{0,1\} \|\* @exports \|\* @module \)\([0-9a-zA-Z/.]*\)/\([A-Z][A-Z]*\)\([0-9a-zA-Z/.-]*\)$:\1\2/\L\3\E\4: t loop5 :loop6 s:\(\* Module\:\{0,1\} \|\* @exports \|\* @module \)\([0-9a-zA-Z/.]*[a-z]\)\([A-Z][A-Z]*\)\([0-9a-z/.-]*\)$:\1\2-\L\3\E\4: t loop6 s:\(^import '\|^import .* from '\|import('\|declare module '\|\* Module\:\{0,1\} \|\* @exports \|\* @module \)TYPO3/cms/\([0-9a-z/.-]*\):\1@typo3/\2:g s:@typo3/rte_ckeditor:@typo3/rte-ckeditor: s:TYPO3/CMS/Backend/Module/Iframe:@typo3/backend/module/iframe: s:TYPO3/CMS/Backend/PageTree/PageTreeElement:@typo3/backend/page-tree/page-tree-element: s:TYPO3/CMS/Backend/Tree/FileStorageTreeContainer:@typo3/backend/tree/file-storage-tree-container: s:TYPO3/CMS/Impexp/ContextMenuActions:@typo3/impexp/context-menu-actions: s:TYPO3/CMS/Install/chosen.jquery.min.js:@typo3/install/chosen.jquery.min.js: s:Public/JavaScript/JavaScriptItemHandler.js:Public/JavaScript/java-script-item-handler.js: s:Public/JavaScript/RequireJSConfigHandler.js:Public/JavaScript/require-jsconfig-handler.js: s:Public/JavaScript/AdminPanel.js:Public/JavaScript/admin-panel.js: EOF git ls-tree --name-only -r HEAD | \ grep -v dashboard/Documentation/ | \ grep -v Documentation/Changelog/ | \ grep -v Build/JSUnit/ | \ xargs sed -i -f convert_uppercase_to_lowercase.sed rm convert_uppercase_to_lowercase.sed sed -i \ -e 's:TYPO3/CMS/\([A-Z]\):@typo3/\l\1:' \ -e 's:@typo3/rteCkeditor:@typo3/rte-ckeditor:' \ typo3/sysext/*/Configuration/JavaScriptModules.php \ typo3/sysext/core/Tests/Unit/Page/Fixtures/ImportMap/*/Configuration/JavaScriptModules.php sed -i \ -e "s/: \\(@typo3\\/.*\\)/: '\1\'/" \ typo3/sysext/form/Configuration/Yaml/FormSetup.yaml (cd Build; grunt build) git add typo3/sysext/ Resolves: #96906 Related: #96323 Releases: main Change-Id: Ifed6ac373aa2bc0c36fe157fb3e9c220f520a9c4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73522 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
- 21 Jan, 2022 1 commit
-
-
Benjamin Franzke authored
Use the JavaScript module and importmap Feature introduced in #96510 to import JavaScript as native browser modules (commonly referred to as ES6 modules, or short ESM). To be specific: we actually use ES2020 (ES11) modules, as we import modules dynamically via import() in combination with an importmap (#96510). Backwards compatibility for existing RequireJS imports is provided by a shim as introduced in #96510. How to (re)view this change --------------------------- Exclude all automatic TypeScript/JavaScript/lockfile changes with: git show --oneline -- . \ ':(exclude)typo3/sysext/*.js' \ ':(exclude)Build/Sources/TypeScript/*.ts' \ ':(exclude)Build/yarn.lock' git show --oneline -- $(find Build/ \ -name DragUploader.ts -o \ -name FormEngine.ts -o \ -name Helper.ts -o \ -name CKEditorLoader.ts -o \ -name CodeMirrorElement.ts) Gruntfile & tsconfig.json ------------------------- Gruntfile is adapted to transform all our dependencies into ES6 modules. Also tsconfig is adapted to emit es2020 modules (es2020 is required for dynamic module imports with import()). Also allowSyntheticDefaultImports is enabled while esModuleInterop is now longer needed as we target ES modules and therefore removed. allowSyntheticDefaultImports had been enabled implicitly by esModuleInterop, we still need this enabled as the type declarations of our dependencies still imply AMD/CJS exports (which we fix in our build steps). JSUnit ------ JSUnit configuration is moved from testing-framework into core for more flexibility when adaptions are required. The testing is revamped to use karma-rollup-preprocessor instead of karma-requirejs in order to support the newly compiled ES6 modules. TypeScript Exports and Imports ------------------------------ All export and import definitions have been auto-converted from AMD pseudo import/exports to native ES6 import/exports. Executed commands: find Build/Sources/TypeScript/ -name '*.ts' -exec sed -i \ -e 's/export =/export default/' \ -e 's/ = require(\(.*\))/ from \1/g' \ -e "s/^import 'tablesort';/import Tablesort from 'tablesort';/" \ '{}' + Note that the switch from `export =` to `export default` is not considered breaking because the require-adapter in requirejs-loader wil transparently resolve the .default in moduls. This is possible because AMD modules could not use `export =` and `export {}` (for named exports) at the same time. Explicitly use RequireJS for CodeMirror and ext:form for now ------------------------------------------------------------ CodeMirror can't be easily transformed to ES6 right now, therefore this patch explicitly configures to use the global RequireJS instance. The ext:form JavaScript is currently not written in TypeScript and will therefore not be automatically transformed from AND to ES6 when updating tsconfig.json to emit ES6 modules. Therefore requirejs is uses. This partially reverts #96326 which changed some require() calls to import() syntax too early. New npm dependencies: --------------------- # For module-postprocessing in Gruntfile # This is the same parser as used for the # frontend polyfill es-module-shims yarn add --dev es-module-lexer # A rollup bundle for unit testing in karma is created # usin a karma preprocessor yarn remove karma-requirejs yarn add --dev karma-rollup-preprocessor rollup-plugin-glob-import # Update grunt-terser to support es2020 syntax # (uses terser v5 which we already depended on, but grunt v1 # used the older v4 version) yarn add --dev grunt-terser@^2.0.0 Releases: main Resolves: #96511 Related: #96510 Related: #96323 Change-Id: Id1a6d414c1e9b2e39227d0b6ce9e79333a372349 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72637 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
-
- 13 Dec, 2021 1 commit
-
-
Benjamin Franzke authored
ECMAScript 2020 (ES11) introduced dynamic imports. TypeScript offers automatic type checking and resolution for the dynamic import syntax (when using static strings) and is able to transpile to require() calls in AMD output mode. Therefore all occurences where a require() is used directly, are migrated to the import syntax. Notes: * This change has a slight drawback: the generated code is slighter in order to add runtime detections for ES6 vs AMD style default. Although, this only applies in TypeScript AMD mode and will be compensated once switching to native ES6 modules. * top.require() calls are left as-is for now, as this cases can't be changed to top.import(): Property 'import' does not exist on type 'Window' Also something isn't available in native ES11 imports: TypeError: top.import is not a function We'll rather need a messaging api between the frames that allows to load top-level modules via import() in future. Resolves: #96326 Related: #96323 Releases: main Change-Id: Ia389da64255fb1fee76a4fbb0d2abdfc277921e1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72619 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
-
- 01 Oct, 2021 1 commit
-
-
Previously, when a folder was empty or no files were found for a search term, the filelist still displayed the table header. This was related to the Drag&Drop functionality, which internally reads data from the table header. However it's also sufficient to just hide the table header and to show proper messages, including direct actions, e.g. "reset search" or "upload files". Therefore, also the Drag&Drop functionality is improved. The draggable area now covers the whole module, so the user does no longer have to strike a 70 pixels box. Besides, a couple of bugs in the Drag&Drop implementation are fixed: - When uploading files in "active search" mode, the file path is now properly added to the row - After all files were uploaded, the user is now able to reload the module via a notification action - Drag&Drop in FormEngine does no longer add the selector / checkbox field to the row - When dragging files in and out of the dropzone, the dropzone is now hidden again after "dragleave" (only for filelist) - The dropzone is now also hidden on "drop" (uploading the dragged files) - The dropzone is not "activated" when not in the current visible scope (e.g. in another FormEngine tab) - The checkbox is now also activated for uploaded files (without module reload) - The full sized drozone can be closed with the ESC key - JavaScript SyntaxError, triggered by a server error, such as "POST Content-Length" exceeds limit, is now properly handled Resolves: #95403 Resolves: #95421 Releases: master Change-Id: Id9de5065544aa57deaa11b8b4f9158b869a72427 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71375 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
-
- 22 Sep, 2021 1 commit
-
-
A couple of patches changed the amount of columns, shown in the filelist module listing. For example, since column selector component. Also multi record selection, introduced in #94906, adds an additional column, providing the checkbox. This patch therefore adjusts the DragUploader component to take this into account while dynamically adding rows for uploaded files. Resolves: #95300 Related: #84184 Related: #94906 Releases: master Change-Id: I0fcadc1c38da94a3365f6524c5407fe487fc4e21 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71166 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- 02 Aug, 2021 1 commit
-
-
When uploading an invalid file (or a folder), the message within the filelist now does not contain empty "()" (for the status text) anymore. Resolves: #94691 Releases: master Change-Id: I8fcf62c7bd8a7ef3413e44e787a56fb289e73b83 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70184 Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
- 04 Jan, 2021 1 commit
-
-
With Bootstrap 5, <select> fields make use of the class `form-select`. This patch aims to replace every occurrence of `form-control` used with select fields. Since Bootstrap finally brings proper styling for select boxes, the custom implementation rendering chevrons can be removed. In the same run, the `input-$size` classes are migrated to its new class names and some obsolete classes have been removed. Resolves: #93135 Releases: master Change-Id: I0044127cc380bddfbaec0b9f730123959f7288bd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67247 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Martin Kutschker <mkutschker-typo3@yahoo.com> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Martin Kutschker <mkutschker-typo3@yahoo.com> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
-
- 05 Nov, 2020 1 commit
-
-
The dropzone for file uploads now uses two <button> tags instead of <div> tags. One for the dropzone itself and the other one for the close button. The dropzone button now has got an `aria-labelledby` attribute pointing to the dropzone title. The close button got an `aria-label` attribute. Both to support screen readers. Resolves: #92680 Releases: master, 10.4 Change-Id: I32ce15dfc8c36c6fbfd17ef993ceacb8e5aaf3e0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66270 Tested-by:
Michael Telgkamp <michael.telgkamp@mindscreen.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Daniel Haupt <mail@danielhaupt.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Michael Telgkamp <michael.telgkamp@mindscreen.de> Reviewed-by:
Daniel Haupt <mail@danielhaupt.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- 22 Aug, 2020 1 commit
-
-
So far always the SKIP action was executed. But in the drop-down of the actions the correct option was already selected. Now the default action is also executed and not only displayed. Resolves: #91985 Releases: master, 10.4 Change-Id: I1b03019eb6b0ed112abc2e6afb528094faf83018 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65398 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Kevin Appelt <kevin.appelt@icloud.com> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Kevin Appelt <kevin.appelt@icloud.com> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
-
- 09 Aug, 2020 1 commit
-
-
Andreas Fernandez authored
jQuery 3.5 has been released a while ago, it's safe to update to the current version. However, as 3.5.0 introduced some deprecations, it should be updated in master only. Executed commands: yarn add jquery@^3.5.1 grunt build Resolves: #91953 Releases: master Change-Id: Ife43bc2679549757dede58b0b1fa92df9bce6d7f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65224 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Daniel Haupt <mail@danielhaupt.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Daniel Haupt <mail@danielhaupt.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- 08 Aug, 2020 1 commit
-
-
This changes the configuration of the TypeScript compiler to resolve modules in "node" style, which allows using TypeScript declaration files (*.d.ts) shipped with npm packages. Additionally the option "esModuleInterop" is enabled which allows us to use CommonJS modules in AMD modules without fiddling with incompatible exports. As a negative side-effect, all JavaScript have to get recompiled to reflect these changes. Resolves: #91954 Releases: master, 10.4 Change-Id: If6386f5062bfbe439615bb947e94cd728dfd5b2b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65225 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
- 18 Apr, 2020 1 commit
-
-
Christian Eßl authored
Resolves: #91103 Releases: master Change-Id: If342b9bf69574b54d598e342c3bb2773dba582cb Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64224 Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Jonas Eberle <flightvision@googlemail.com> Reviewed-by:
Christian Eßl <indy.essl@gmail.com> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Jonas Eberle <flightvision@googlemail.com> Tested-by:
Christian Eßl <indy.essl@gmail.com>
-
- 23 Mar, 2020 1 commit
-
-
If assets get imported via mass selection in the Element Browser, the order of the items is now kept. Since this requires interframe communication, the Inline Control Container now sends a postMessage to the Element Browser. When the import process starts, the first asset of the selection gets imported. After the import, the postMessage is intercepted and the next asset get imported, until the queue is empty. As this could be a rather lenghty process, a progress bar is rendered at the top of the file table. To get a more fitting naming, all previously used action names used in postMessages have been renamed from `typo3:foreignRelation:inserted` to `typo3:foreignRelation:insert`. As a drive-by fix, the server is not spammed with n request anymore due to queueing. Resolves: #86362 Resolves: #59341 Releases: master Change-Id: Ib9e3ee8d943582874a0a73632968f8660b169b42 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63838 Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
-
- 20 Mar, 2020 1 commit
-
-
Andreas Fernandez authored
Define the `hideDropzone` event listener via assignment to keep the binding of `this` to the DragUploader class. Resolves: #90792 Releases: master, 9.5 Change-Id: I21c52da477349e77a52f2c6701fd75abc3b5b074 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63805 Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- 29 Feb, 2020 1 commit
-
-
This patch replaces $.ajax() in EXT:backend either with our AJAX API or with native XMLHttpRequest. The latter is required in the DragUploader as we need to listen to the progress event which isn't supported by fetch(). This patch skips Storage/Persistent, as this one needs some refactoring due to the usage of synchronous(!) AJAX requests. Resolves: #90597 Releases: master Change-Id: Ifdf41c133929740f3e766ae992848ab99ca1f283 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63502 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Susanne Moog <look@susi.dev>
-
- 26 Feb, 2020 1 commit
-
-
The postMessage sent to IRRE when uploading a file via drag & drop missed the actionName, which resulted in ignoring the message. The actionName is now used and also streamlined to match the actual behavior. Resolves: #90534 Releases: master Change-Id: Ic56059762a6822e27ac64ea6fc07b5d37fc34c9a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63434 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Tobi Kretschmann <tobi@tobishome.de> Tested-by:
Alexander Grein <alexander.grein@gmail.com> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Tobi Kretschmann <tobi@tobishome.de> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Alexander Grein <alexander.grein@gmail.com> Reviewed-by:
Susanne Moog <look@susi.dev>
-
- 25 Sep, 2019 1 commit
-
-
TSLint is in a deprecation phase, recommending to migrate to ESLint instead. This patch removes all TSLint packages and supplies a proper ESLint configuration. Also, rule violations are fixed in this patch. Executed commands: yarn add --dev typescript-eslint \ @typescript-eslint/parser \ @typescript-eslint/eslint-plugin \ eslint grunt-eslint yarn remove tslint grunt-tslint ./node_modules/.bin/eslint -c eslintrc.js --fix --ext .ts \ ./Sources/TypeScript/ Resolves: #89232 Releases: master Change-Id: I3bd4a1c30ecc27f8c334951547aff5e9352629da Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61784 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Frank Nägler <frank.naegler@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Frank Nägler <frank.naegler@typo3.org>
-
- 07 Sep, 2019 1 commit
-
-
To ease the upgrade to TypeScript 3.6, this patch adjusts the source code in a TS 2.4 compatible way. This way, the upgrade patch stays as small as possible. Resolves: #89106 Releases: master Change-Id: I7e2d65262395e19f958182f8658aa326dd0aec43 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61638 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
-
- 23 Aug, 2019 1 commit
-
-
This patch adds a new TSConfig setting to define the default action in the DragUploader of the file list module. Resolves: #86670 Releases: master Change-Id: Iec2bc6da0d932f5d1fb0b5e41451ae870d4136cd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61436 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
- 24 May, 2019 1 commit
-
-
This patch refactors the IRRE handling on client side, the JavaScript land has been rewritten to have a better structure and do less repeating on-the-fly calculations. Each IRRE container is represented by a independent instance of InlineControlContainer. Most of the internally used `scriptCall` directives have been removed. Currently, `scriptCall` can't get removed completely, as further refactorings in different areas are required. All of the "external" communication via `inline.foobar()` has been replaced by a event-driven approach. This also affects ElementBrowser windows, those use a minimalistic API based on postMessage. Some code that was never evaluated in ElementBrowser is considered dead and has been removed regarding inserting multiple items. A new sorting library has been added in order to replace jqueryui piece by piece. Executed command: yarn add --dev sortablejs On PHP side, some code has been removed as well since the rewritten client code is event-based and doesn't depend on external calls anymore. Resolves: #88182 Releases: master Change-Id: I4176483d2882cef49fbaddb5e2e1914c1f76c908 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59324 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org>
-
- 05 Apr, 2019 2 commits
-
-
Andreas Fernandez authored
TypeScript: Due to issues with upcoming TypeScript versions, the TypeScript sources are moved into the Build directory before building JavaScript. The unused Grunt task `tsdev` has been removed. Additionally, some type defintions have been installed: yarn add --dev \ @types/bootstrap-slider \ @types/datatables.net \ @types/chosen-js Sass: The Sass sources have been moved into the common "Sources" directory. Those source files are moved to have a less cluttered Build directory. Note: With this patch, all TypeScript files must be placed into `Build/Sources/TypeScript` to be compiled by tsc again. Resolves: #88043 Releases: master Change-Id: I4d3e5f69564c38a35bf083652ea7262f5b85e4f3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60335 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
The property lastModifiedDate was remove by some browsers, thus with this change if will be checked and the proper property is used to parse the timestamp in the replace dialog. Resolves: #88081 Releases: master, 9.5, 8.7 Change-Id: I4ae812267ef81c4db5c86d2d6dd814f83bebeb00 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60373 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Felix Herrmann <herrmann@riconet.de> Tested-by:
Wolf-Peter Utz <wpu@hotmail.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Felix Herrmann <herrmann@riconet.de> Reviewed-by:
Wolf-Peter Utz <wpu@hotmail.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- 18 Feb, 2019 1 commit
-
-
This patch updates the definitions in tslint.json to use current settings for TypeScript builds. Most of the occurred issues were fixed by executing cd Build ./node_modules/tslint/bin/tslint -c tslint.json --fix --project . Resolves: #87709 Releases: master, 9.5 Change-Id: Iba318b438a44f6de3fdfcacfb52a5bddef9c8002 Reviewed-on: https://review.typo3.org/c/59696 Tested-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
- 27 Sep, 2018 1 commit
-
-
Resolves: #86152 Releases: master, 8.7 Change-Id: I677c6d0405b833caf8a62f7f560b2e9b97679b36 Reviewed-on: https://review.typo3.org/58389 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Josef Glatz <josef.glatz@typo3.org> Tested-by:
Josef Glatz <josef.glatz@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
Frank Naegler <frank.naegler@typo3.org>
-
- 12 May, 2018 1 commit
-
-
This patch fix a JS error on creating file references because of loading jsfunc.inline.js twice. Resolves: #84989 Related: #84969 Releases: master Change-Id: I35c212025d399d53033abe8ca1c25d3db10bb4b1 Reviewed-on: https://review.typo3.org/56946 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- 11 May, 2018 1 commit
-
-
Resolves: #84969 Releases: master Change-Id: I871656c436a9ded5c82fbade4a28d5bd5e84de26 Reviewed-on: https://review.typo3.org/56921 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
-
- 26 Feb, 2018 1 commit
-
-
Change-Id: Ic71a3dde434402ad828e2098eefae80f4039475b Resolves: #82596 Releases: master Reviewed-on: https://review.typo3.org/55847 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
-
- 21 Feb, 2018 1 commit
-
-
Change-Id: I71cbf24dc540b5a5659be8848d08be7dc2e84b22 Resolves: #82599 Releases: master Reviewed-on: https://review.typo3.org/55792 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- 18 Feb, 2018 1 commit
-
-
Change-Id: I5b738983f733da77100830b841419ba9d12fdf23 Resolves: #83955 Releases: master Reviewed-on: https://review.typo3.org/55780 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Andreas Wolf <andreas.wolf@typo3.org> Tested-by:
Andreas Wolf <andreas.wolf@typo3.org>
-
- 17 Feb, 2018 1 commit
-
-
Change-Id: If1aeff95d06e98e9c5a3725445bc616552c1eb14 Resolves: #82585 Releases: master Reviewed-on: https://review.typo3.org/55295 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-