OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Bump turbo
Oliver Günther8d3f61fe1b4f
diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 722ac831cdc..05bfbb5bca7 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -38,9 +38,9 @@"@fullcalendar/resource-timeline": "^6.1.11","@fullcalendar/timegrid": "^6.1.11","@github/webauthn-json": "^2.1.1",- "@hotwired/stimulus": "^3.2.1",- "@hotwired/turbo": "^7.3.0",- "@hotwired/turbo-rails": "^7.3.0",+ "@hotwired/stimulus": "^3.2.2",+ "@hotwired/turbo": "^8.0.4",+ "@hotwired/turbo-rails": "^8.0.4","@kolkov/ngx-gallery": "^2.0.1","@ng-select/ng-option-highlight": "0.0.7","@ng-select/ng-select": "^11.0.0",@@ -50,6 +50,7 @@"@openproject/primer-view-components": "^0.28.1","@openproject/reactivestates": "^3.0.1","@primer/css": "^21.1.1",+ "@types/hotwired__turbo": "^8.0.0","@uirouter/angular": "^13.0.0","@uirouter/core": "^6.1.0","@uirouter/rx": "^1.0.0",@@ -3494,19 +3495,19 @@"integrity": "sha512-eGeIqNOQpXoPAIP7tC1+1Yc1yl1xnwYqg+3mzqxyrbE5pg5YFBZcA6YoTiByJB6DKAEsiWtl6tjTJS4IYtbB7A=="},"node_modules/@hotwired/turbo": {- "version": "7.3.0",- "resolved": "https://registry.npmjs.org/@hotwired/turbo/-/turbo-7.3.0.tgz",- "integrity": "sha512-Dcu+NaSvHLT7EjrDrkEmH4qET2ZJZ5IcCWmNXxNQTBwlnE5tBZfN6WxZ842n5cHV52DH/AKNirbPBtcEXDLW4g==",+ "version": "8.0.4",+ "resolved": "https://registry.npmjs.org/@hotwired/turbo/-/turbo-8.0.4.tgz",+ "integrity": "sha512-mlZEFUZrJnpfj+g/XeCWWuokvQyN68WvM78JM+0jfSFc98wegm259vCbC1zSllcspRwbgXK31ibehCy5PA78/Q==","engines": {"node": ">= 14"}},"node_modules/@hotwired/turbo-rails": {- "version": "7.3.0",- "resolved": "https://registry.npmjs.org/@hotwired/turbo-rails/-/turbo-rails-7.3.0.tgz",- "integrity": "sha512-fvhO64vp/a2UVQ3jue9WTc2JisMv9XilIC7ViZmXAREVwiQ2S4UC7Go8f9A1j4Xu7DBI6SbFdqILk5ImqVoqyA==",+ "version": "8.0.4",+ "resolved": "https://registry.npmjs.org/@hotwired/turbo-rails/-/turbo-rails-8.0.4.tgz",+ "integrity": "sha512-GHCv5+B2VzYZZvMFpg/g9JLx/8pl/8chcubSB7T+Xn1zYOMqAKB6cT80vvWUzxdwfm/2KfaRysfDz+BmvtjFaw==","dependencies": {- "@hotwired/turbo": "^7.3.0",+ "@hotwired/turbo": "^8.0.4","@rails/actioncable": "^7.0"}},@@ -5309,6 +5310,11 @@"integrity": "sha512-qkcUlZmX6c4J8q45taBKTL3p+LbITgyx7qhlPYOdOHZB7B31K0mXbP5YA7i7SgDeEGuI9MnumiKPEMrxg8j3KQ==","dev": true},+ "node_modules/@types/hotwired__turbo": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/@types/hotwired__turbo/-/hotwired__turbo-8.0.0.tgz",+ "integrity": "sha512-hBcbZw6Er5iqrkh86LQgoTsO6eUfMmdKHwyAlq8pJCVioVOJqRjOUhi3CzbJH9ibZbJSFU+qVA5mu0sodvvwZg=="+ },"node_modules/@types/http-errors": {"version": "2.0.1","resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.1.tgz",@@ -24050,16 +24056,16 @@"integrity": "sha512-eGeIqNOQpXoPAIP7tC1+1Yc1yl1xnwYqg+3mzqxyrbE5pg5YFBZcA6YoTiByJB6DKAEsiWtl6tjTJS4IYtbB7A=="},"@hotwired/turbo": {- "version": "7.3.0",- "resolved": "https://registry.npmjs.org/@hotwired/turbo/-/turbo-7.3.0.tgz",- "integrity": "sha512-Dcu+NaSvHLT7EjrDrkEmH4qET2ZJZ5IcCWmNXxNQTBwlnE5tBZfN6WxZ842n5cHV52DH/AKNirbPBtcEXDLW4g=="+ "version": "8.0.4",+ "resolved": "https://registry.npmjs.org/@hotwired/turbo/-/turbo-8.0.4.tgz",+ "integrity": "sha512-mlZEFUZrJnpfj+g/XeCWWuokvQyN68WvM78JM+0jfSFc98wegm259vCbC1zSllcspRwbgXK31ibehCy5PA78/Q=="},"@hotwired/turbo-rails": {- "version": "7.3.0",- "resolved": "https://registry.npmjs.org/@hotwired/turbo-rails/-/turbo-rails-7.3.0.tgz",- "integrity": "sha512-fvhO64vp/a2UVQ3jue9WTc2JisMv9XilIC7ViZmXAREVwiQ2S4UC7Go8f9A1j4Xu7DBI6SbFdqILk5ImqVoqyA==",+ "version": "8.0.4",+ "resolved": "https://registry.npmjs.org/@hotwired/turbo-rails/-/turbo-rails-8.0.4.tgz",+ "integrity": "sha512-GHCv5+B2VzYZZvMFpg/g9JLx/8pl/8chcubSB7T+Xn1zYOMqAKB6cT80vvWUzxdwfm/2KfaRysfDz+BmvtjFaw==","requires": {- "@hotwired/turbo": "^7.3.0",+ "@hotwired/turbo": "^8.0.4","@rails/actioncable": "^7.0"}},@@ -25330,6 +25336,11 @@"integrity": "sha512-qkcUlZmX6c4J8q45taBKTL3p+LbITgyx7qhlPYOdOHZB7B31K0mXbP5YA7i7SgDeEGuI9MnumiKPEMrxg8j3KQ==","dev": true},+ "@types/hotwired__turbo": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/@types/hotwired__turbo/-/hotwired__turbo-8.0.0.tgz",+ "integrity": "sha512-hBcbZw6Er5iqrkh86LQgoTsO6eUfMmdKHwyAlq8pJCVioVOJqRjOUhi3CzbJH9ibZbJSFU+qVA5mu0sodvvwZg=="+ },"@types/http-errors": {"version": "2.0.1","resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.1.tgz",diff --git a/frontend/package.json b/frontend/package.jsonindex bc968b846e5..237f1573176 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -89,9 +89,9 @@"@fullcalendar/resource-timeline": "^6.1.11","@fullcalendar/timegrid": "^6.1.11","@github/webauthn-json": "^2.1.1",- "@hotwired/stimulus": "^3.2.1",- "@hotwired/turbo": "^7.3.0",- "@hotwired/turbo-rails": "^7.3.0",+ "@hotwired/stimulus": "^3.2.2",+ "@hotwired/turbo": "^8.0.4",+ "@hotwired/turbo-rails": "^8.0.4","@kolkov/ngx-gallery": "^2.0.1","@ng-select/ng-option-highlight": "0.0.7","@ng-select/ng-select": "^11.0.0",@@ -101,6 +101,7 @@"@openproject/primer-view-components": "^0.28.1","@openproject/reactivestates": "^3.0.1","@primer/css": "^21.1.1",+ "@types/hotwired__turbo": "^8.0.0","@uirouter/angular": "^13.0.0","@uirouter/core": "^6.1.0","@uirouter/rx": "^1.0.0",@@ -178,4 +179,4 @@"overrides": {"@primer/view-components": "npm:@openproject/primer-view-components@^0.28.1"}-}\ No newline at end of file+}diff --git a/frontend/src/turbo/setup.ts b/frontend/src/turbo/setup.tsindex 214cd914094..9906f7dc4ce 100644--- a/frontend/src/turbo/setup.ts+++ b/frontend/src/turbo/setup.ts@@ -1,3 +1,4 @@+import "../typings/shims.d.ts"import * as Turbo from '@hotwired/turbo';import { ModalDialogElement } from '@openproject/primer-view-components/app/components/primer/alpha/modal_dialog';diff --git a/frontend/src/typings/shims.d.ts b/frontend/src/typings/shims.d.tsindex 1f936f8bd88..11e9809e962 100644--- a/frontend/src/typings/shims.d.ts+++ b/frontend/src/typings/shims.d.ts@@ -18,16 +18,28 @@ import { Injector } from '@angular/core';import { OpenProject } from 'core-app/core/setup/globals/openproject';import * as TLodash from 'lodash';-import { GlobalI18n } from 'core-app/core/i18n/i18n.service';import { Dragula } from 'dragula';import { Screenfull } from 'screenfull';import { ErrorReporterBase } from 'core-app/core/errors/error-reporter-base';import { I18n } from 'i18n-js';+import '@hotwired/turbo';declare module 'observable-array';declare module 'dom-autoscroller';declare module 'core-vendor/enjoyhint';+declare module '@hotwired/turbo' {+ export const session:{+ drive:boolean;+ };++ export const navigator:{+ submitForm:(form:HTMLFormElement, submitter?:HTMLElement) => void;+ }++ export function start():void;+}+declare global {const _:typeof TLodash;const I18n:I18n;