diff --git a/.env b/.env index 20b055c0..b1ee8ed9 100755 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ -VITE_APP_VERSION="1.2.23" +VITE_APP_VERSION="1.2.25" VITE_LANG_DEFAULT="it" VITE_PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF" -VITE_SERVICE_WORKER_FILE="sw-1.2.23.js" +VITE_SERVICE_WORKER_FILE="sw-1.2.25.js" VITE_PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a" VITE_VUE_ROUTER_MODE="history" \ No newline at end of file diff --git a/index.html b/index.html index 875a6d18..62360d4b 100755 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + diff --git a/package.json b/package.json index ac3577ac..3637d5e0 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "riso", - "version": "1.2.23", + "version": "1.2.25", "description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.", "productName": "Riso", "author": "Surya", diff --git a/quasar.config.ts b/quasar.config.ts index da730cb2..5097648b 100644 --- a/quasar.config.ts +++ b/quasar.config.ts @@ -366,7 +366,7 @@ export default defineConfig((ctx) => { // https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa pwa: { workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest' - swFilename: 'sw-' + "1.2.23" + '.js', + swFilename: 'sw-' + "1.2.25" + '.js', workboxOptions: { swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/], // File da precacheare diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/package.json b/scripts/_ALL_SITES/comunitanuovomondo.app/package.json index 96746ed0..427f3231 100755 --- a/scripts/_ALL_SITES/comunitanuovomondo.app/package.json +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/package.json @@ -1,6 +1,6 @@ { "name": "cnm", - "version": "1.2.23", + "version": "1.2.25", "description": "Comunita Nuovo Mondo", "productName": "ComunitaNuovoMondo", "author": "Surya", diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/css/dragula.css b/scripts/_ALL_SITES/comunitanuovomondo.app/public/css/dragula.css new file mode 100755 index 00000000..b18c16e7 --- /dev/null +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/public/css/dragula.css @@ -0,0 +1,22 @@ +.gu-mirror { + position: fixed !important; + margin: 0 !important; + z-index: 9999 !important; + opacity: 0.8; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; + filter: alpha(opacity=80); +} +.gu-hide { + display: none !important; +} +.gu-unselectable { + -webkit-user-select: none !important; + -moz-user-select: none !important; + -ms-user-select: none !important; + user-select: none !important; +} +.gu-transit { + opacity: 0.2; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; + filter: alpha(opacity=20); +} diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/favicon.ico b/scripts/_ALL_SITES/comunitanuovomondo.app/public/favicon.ico new file mode 100644 index 00000000..d283c964 Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/favicon.ico differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/AGaramondPro Regular.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/AGaramondPro Regular.otf new file mode 100755 index 00000000..db89cfed Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/AGaramondPro Regular.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Bold Italic.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Bold Italic.otf new file mode 100644 index 00000000..81447cf0 Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Bold Italic.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Medium Italic.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Medium Italic.otf new file mode 100644 index 00000000..5d50d16c Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Medium Italic.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Regular.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Regular.otf new file mode 100644 index 00000000..8bcf37af Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DIN Pro Condensed Regular.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-BoldItalic.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-BoldItalic.otf new file mode 100644 index 00000000..76c99de8 Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-BoldItalic.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-CondBlack.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-CondBlack.otf new file mode 100755 index 00000000..cbcc768f Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-CondBlack.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-CondensedBold.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-CondensedBold.otf new file mode 100644 index 00000000..81501d57 Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-CondensedBold.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-Medium.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-Medium.otf new file mode 100644 index 00000000..6f771ab6 Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro-Medium.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro.otf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro.otf new file mode 100644 index 00000000..e6e44b10 Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/DINPro.otf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/font_maps.ttf b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/font_maps.ttf new file mode 100644 index 00000000..5c26ed5a Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/font_maps.ttf differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/font_maps.woff b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/font_maps.woff new file mode 100644 index 00000000..a886dcf1 Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/font_maps.woff differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/gogocarto.woff b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/gogocarto.woff new file mode 100644 index 00000000..c31a3b6e Binary files /dev/null and b/scripts/_ALL_SITES/comunitanuovomondo.app/public/fonts/gogocarto.woff differ diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_de.svg b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_de.svg new file mode 100755 index 00000000..1acf302d --- /dev/null +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_de.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_es.svg b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_es.svg new file mode 100755 index 00000000..8791e51a --- /dev/null +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_es.svg @@ -0,0 +1,544 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_gb.svg b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_gb.svg new file mode 100755 index 00000000..64d1a1c3 --- /dev/null +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_gb.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_it.svg b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_it.svg new file mode 100755 index 00000000..615c58fb --- /dev/null +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_it.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_us.svg b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_us.svg new file mode 100755 index 00000000..5b552671 --- /dev/null +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/public/svg/flag_us.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/quasar.config.ts b/scripts/_ALL_SITES/comunitanuovomondo.app/quasar.config.ts index 78279f92..ac9b9ef8 100644 --- a/scripts/_ALL_SITES/comunitanuovomondo.app/quasar.config.ts +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/quasar.config.ts @@ -219,7 +219,7 @@ export default defineConfig((ctx) => { key: path.resolve(__dirname, 'localhost-key.pem'), cert: path.resolve(__dirname, 'localhost.pem'), }, - port: ctx.mode.spa ? 8084 : 8094, + port: ctx.mode.spa ? 8086 : 8096, vueDevtools: false, // automatically opening remote Vue Devtools open: false, // opens browser window automatically hot: true, // Disable hot module replacement @@ -366,7 +366,7 @@ export default defineConfig((ctx) => { // https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa pwa: { workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest' - swFilename: 'sw-' + "1.2.23" + '.js', + swFilename: 'sw-' + "1.2.25" + '.js', workboxOptions: { swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/], // File da precacheare diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/src/db/lang/languages.ts b/scripts/_ALL_SITES/comunitanuovomondo.app/src/db/lang/languages.ts new file mode 100644 index 00000000..8a37deee --- /dev/null +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/src/db/lang/languages.ts @@ -0,0 +1,9 @@ +// import it from 'quasar/lang/it.mjs'; +// import en from 'quasar/lang/en.mjs'; + +// const languages = { +// it, +// en, +// }; + +// export default languages; diff --git a/scripts/_ALL_SITES/comunitanuovomondo.app/src/db/lang/ws_it.js b/scripts/_ALL_SITES/comunitanuovomondo.app/src/db/lang/ws_it.js index 9cd59a3d..15a48e2d 100755 --- a/scripts/_ALL_SITES/comunitanuovomondo.app/src/db/lang/ws_it.js +++ b/scripts/_ALL_SITES/comunitanuovomondo.app/src/db/lang/ws_it.js @@ -1,9 +1,9 @@ const msg_website_it = { ws: { - sitename: 'Riso', - siteshortname: 'RISO', - description: 'Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.', - keywords: 'riso, piattaforma di scambio, rete italiana scambio orizzontale, riso app, riso piattaforma, scambio e baratto, momenta RIS', + sitename: 'NuovoMondoRimini', + siteshortname: 'CNM', + description: 'Nuovo Mondo Rimini', + keywords: '', }, hours: { descr: 'Descrizione', diff --git a/scripts/_ALL_SITES/freeplanet.app/quasar.conf.js b/scripts/_ALL_SITES/freeplanet.app/quasar.conf.js index 414ca655..1e964de1 100755 --- a/scripts/_ALL_SITES/freeplanet.app/quasar.conf.js +++ b/scripts/_ALL_SITES/freeplanet.app/quasar.conf.js @@ -97,7 +97,7 @@ module.exports = configure((ctx) => ({ chainWebpack(chain, { isServer, isClient }) { chain.resolve.alias - // .set('myalias', path.resolve(__dirname, './src/somefolder')) + // .set('myalias', path.resolve(__dirname, './src/somefolder')) .set('@', helpers.root('src')) .set('@components', helpers.root('src/components/index.ts')) .set('@boot', helpers.root('src/boot/*')) @@ -293,12 +293,12 @@ module.exports = configure((ctx) => ({ theme_color: '#027be3', icons: [ { - src: 'images/android-chrome-192x192.png', + src: '/images/android-chrome-192x192.png', sizes: '384x384', type: 'image/png', }, { - src: 'images/android-chrome-512x512.png', + src: '/images/android-chrome-512x512.png', sizes: '512x512', type: 'image/png', }, diff --git a/scripts/_ALL_SITES/gruppomacro.app/package.json b/scripts/_ALL_SITES/gruppomacro.app/package.json index b1f523f0..b4daffd0 100755 --- a/scripts/_ALL_SITES/gruppomacro.app/package.json +++ b/scripts/_ALL_SITES/gruppomacro.app/package.json @@ -1,6 +1,6 @@ { "name": "gruppomacro", - "version": "1.2.23", + "version": "1.2.25", "description": "Gruppo Macro", "productName": "Gruppo Macro", "author": "Surya", diff --git a/scripts/_ALL_SITES/gruppomacro.app/quasar.config.ts b/scripts/_ALL_SITES/gruppomacro.app/quasar.config.ts index 13619513..fdc7e9c4 100644 --- a/scripts/_ALL_SITES/gruppomacro.app/quasar.config.ts +++ b/scripts/_ALL_SITES/gruppomacro.app/quasar.config.ts @@ -360,7 +360,7 @@ export default defineConfig((ctx) => { pwa: { workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest' - swFilename: 'sw-' + "1.2.23" + '.js', + swFilename: 'sw-' + "1.2.25" + '.js', workboxOptions: { swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/], // File da precacheare diff --git a/scripts/_ALL_SITES/kolibrilab.it/db/db_data.js b/scripts/_ALL_SITES/kolibrilab.it/db/db_data.js index a6d707ca..13f5dcfc 100755 --- a/scripts/_ALL_SITES/kolibrilab.it/db/db_data.js +++ b/scripts/_ALL_SITES/kolibrilab.it/db/db_data.js @@ -12,14 +12,14 @@ export const db_data = { { title: 'Scambi Reiki', details: 'Nelle serate esperienziali è possibile Dare e Ricevere un trattamento completo.
' - + 'Possono partecipare le persone che hanno già preso parte al seminario di 1° livello, ma anche tutti quelli che hanno il desiderio di conoscere il Reiki e sperimentarlo per la prima volta: in questo caso invitiamo gli interessati a contattarci per un appuntamento prima dell’inizio della serata per ricevere le informazioni pratiche.', + + 'Possono partecipare le persone che hanno già preso parte al seminario di 1° livello, ma anche tutti quelli che hanno il desiderio di conoscere il Reiki e sperimentarlo per la prima volta: in questo caso invitiamo gli interessati a contattarci per un appuntamento prima dell’inizio della serata per ricevere le informazioni pratiche.', date: '2019-07-11', time: '21:00', duration: 120, side: 'left', bgcolor: 'orange', icon: 'fas fa-praying-hands', - img: 'images/reiki/reikisfondo.jpg', + img: '/images/reiki/reikisfondo.jpg', where: 'Centro Shen', // whereicon: 'shen.png', teacher: 'Cristina Barattoni', @@ -30,14 +30,14 @@ export const db_data = { { title: 'Scambi Reiki', details: 'Nelle serate esperienziali è possibile Dare e Ricevere un trattamento completo.
' - + 'Possono partecipare le persone che hanno già preso parte al seminario di 1° livello, ma anche tutti quelli che hanno il desiderio di conoscere il Reiki e sperimentarlo per la prima volta: in questo caso invitiamo gli interessati a contattarci per un appuntamento prima dell’inizio della serata per ricevere le informazioni pratiche.', + + 'Possono partecipare le persone che hanno già preso parte al seminario di 1° livello, ma anche tutti quelli che hanno il desiderio di conoscere il Reiki e sperimentarlo per la prima volta: in questo caso invitiamo gli interessati a contattarci per un appuntamento prima dell’inizio della serata per ricevere le informazioni pratiche.', date: '2019-07-20', time: '21:00', duration: 120, side: 'left', bgcolor: 'orange', icon: 'fas fa-praying-hands', - img: 'images/reiki/reikisfondo.jpg', + img: '/images/reiki/reikisfondo.jpg', where: 'Centro Shen', // whereicon: 'shen.png', teacher: 'Cristina Barattoni', @@ -48,16 +48,16 @@ export const db_data = { { title: 'Seminario Reiki 1° Livello', details: 'I seminari vengono organizzati volutamente in gruppi poco numerosi.\n' - + 'Si crea così un ambiente accogliente e tranquillo con un atmosfera conviviale.
' - + '' - + 'Per info vedi Seminari Reiki', + + 'Si crea così un ambiente accogliente e tranquillo con un atmosfera conviviale.
' + + '' + + 'Per info vedi Seminari Reiki', date: '2019-07-22', days: 2, time: '9:00', side: 'left', bgcolor: 'red', icon: 'fas fa-chalkboard-teacher', - img: 'images/reiki/reikisfondo.jpg', + img: '/images/reiki/reikisfondo.jpg', where: 'Centro Shen', // whereicon: 'shen.png', teacher: 'Cristina Barattoni', @@ -76,7 +76,7 @@ export const db_data = { side: 'left', bgcolor: 'blue', icon: 'fas fa-praying-hands', - img: 'images/scuolaopbenessere/img1.jpg', + img: '/images/scuolaopbenessere/img1.jpg', where: 'Centro Shen', // whereicon: 'shen.png', teacher: 'Operatori', diff --git a/scripts/_ALL_SITES/piuchebuono.app/package.json b/scripts/_ALL_SITES/piuchebuono.app/package.json index ee08678f..10f40290 100755 --- a/scripts/_ALL_SITES/piuchebuono.app/package.json +++ b/scripts/_ALL_SITES/piuchebuono.app/package.json @@ -1,6 +1,6 @@ { "name": "piuchebuono", - "version": "1.2.23", + "version": "1.2.25", "description": "PiuCheBuono", "productName": "PiuCheBuono", "author": "Surya", diff --git a/scripts/_ALL_SITES/piuchebuono.app/quasar.config.ts b/scripts/_ALL_SITES/piuchebuono.app/quasar.config.ts index 90ad555f..66c5eee9 100644 --- a/scripts/_ALL_SITES/piuchebuono.app/quasar.config.ts +++ b/scripts/_ALL_SITES/piuchebuono.app/quasar.config.ts @@ -360,7 +360,7 @@ export default defineConfig((ctx) => { pwa: { workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest' - swFilename: 'sw-' + "1.2.23" + '.js', + swFilename: 'sw-' + "1.2.25" + '.js', workboxOptions: { swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/], // File da precacheare diff --git a/scripts/_ALL_SITES/riso.app/package.json b/scripts/_ALL_SITES/riso.app/package.json index ac3577ac..3637d5e0 100755 --- a/scripts/_ALL_SITES/riso.app/package.json +++ b/scripts/_ALL_SITES/riso.app/package.json @@ -1,6 +1,6 @@ { "name": "riso", - "version": "1.2.23", + "version": "1.2.25", "description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.", "productName": "Riso", "author": "Surya", diff --git a/scripts/_ALL_SITES/riso.app/quasar.config.ts b/scripts/_ALL_SITES/riso.app/quasar.config.ts index da730cb2..5097648b 100644 --- a/scripts/_ALL_SITES/riso.app/quasar.config.ts +++ b/scripts/_ALL_SITES/riso.app/quasar.config.ts @@ -366,7 +366,7 @@ export default defineConfig((ctx) => { // https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa pwa: { workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest' - swFilename: 'sw-' + "1.2.23" + '.js', + swFilename: 'sw-' + "1.2.25" + '.js', workboxOptions: { swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/], // File da precacheare diff --git a/scripts/inizia_cnm.app.sh b/scripts/inizia_cnm.app.sh new file mode 100755 index 00000000..2ac53c6d --- /dev/null +++ b/scripts/inizia_cnm.app.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +source __sites_list.sh + +for mysite in "${sites[@]}"; do + if [ -d "$mysite" ]; then + rmdir "my$site" + fi +done + +site=comunitanuovomondo.app + +source __inizia.sh + diff --git a/scripts/now.txt b/scripts/now.txt index a1eb1e45..29373b53 100644 --- a/scripts/now.txt +++ b/scripts/now.txt @@ -1 +1 @@ -TERMINA DI LAVORARE SU gruppomacro.app: (Sovrascrivo!) +TERMINA DI LAVORARE SU comunitanuovomondo.app: (Sovrascrivo!) diff --git a/scripts/termina_cnm.sh b/scripts/termina_cnm.sh new file mode 100755 index 00000000..8e33656e --- /dev/null +++ b/scripts/termina_cnm.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +site=comunitanuovomondo.app + +source __termine.sh diff --git a/src-pwa/custom-service-worker.js b/src-pwa/custom-service-worker.js index 76d6f71a..96d659ad 100755 --- a/src-pwa/custom-service-worker.js +++ b/src-pwa/custom-service-worker.js @@ -3,7 +3,7 @@ /* global workbox */ /* global cfgenv */ -const VITE_APP_VERSION = "1.2.23"; +const VITE_APP_VERSION = "1.2.25"; const CACHE_NAME = 'pwa-cache-' + VITE_APP_VERSION; // Nome della cache diff --git a/src/components/CCard/CCard.vue b/src/components/CCard/CCard.vue index 22425ec5..3ddb38a9 100755 --- a/src/components/CCard/CCard.vue +++ b/src/components/CCard/CCard.vue @@ -2,7 +2,7 @@
- +
{{ myop.name }} {{ myop.surname }}
{{ myop.qualification }}
diff --git a/src/components/CEventsCalendar/CEventsCalendar.vue b/src/components/CEventsCalendar/CEventsCalendar.vue index 74533fb2..9d2668c8 100755 --- a/src/components/CEventsCalendar/CEventsCalendar.vue +++ b/src/components/CEventsCalendar/CEventsCalendar.vue @@ -104,7 +104,7 @@ Località @@ -1275,7 +1275,7 @@ diff --git a/src/components/CMapByTable/CMapByTable.ts b/src/components/CMapByTable/CMapByTable.ts index dc12233f..6db3f411 100755 --- a/src/components/CMapByTable/CMapByTable.ts +++ b/src/components/CMapByTable/CMapByTable.ts @@ -73,22 +73,22 @@ export default defineComponent({ } const myIcon = L.icon({ - iconUrl: 'images/icon.png', + iconUrl: '/images/icon.png', iconSize: [30, 30], iconAnchor: [22, 35], popupAnchor: [-6, -36], - shadowUrl: 'images/marker-shadow.png', + shadowUrl: '/images/marker-shadow.png', shadowSize: [60, 30], shadowAnchor: [22, 35] }); const myIconPosAtt = L.icon({ - iconUrl: 'images/icon.png', + iconUrl: '/images/icon.png', iconSize: [30, 30], iconAnchor: [22, 35], popupAnchor: [-6, -36], - shadowUrl: 'images/marker-shadow.png', + shadowUrl: '/images/marker-shadow.png', shadowSize: [60, 30], shadowAnchor: [22, 35] }); @@ -331,7 +331,7 @@ export default defineComponent({ iconSize: [40, 40], iconAnchor: [22, 35], popupAnchor: [-6, -36], - shadowUrl: 'images/marker-shadow.png', + shadowUrl: '/images/marker-shadow.png', shadowSize: [60, 30], shadowAnchor: [22, 35] }); diff --git a/src/components/CMapComuni/CMapComuni.ts b/src/components/CMapComuni/CMapComuni.ts index 6eed0d49..e4290d94 100755 --- a/src/components/CMapComuni/CMapComuni.ts +++ b/src/components/CMapComuni/CMapComuni.ts @@ -36,11 +36,11 @@ export default defineComponent({ const initialMap = ref(null); const myIcon = L.icon({ - iconUrl: 'images/icon.png', + iconUrl: '/images/icon.png', iconSize: [30, 30], iconAnchor: [22, 35], popupAnchor: [-6, -36], - shadowUrl: 'images/marker-shadow.png', + shadowUrl: '/images/marker-shadow.png', shadowSize: [60, 30], shadowAnchor: [22, 35] }); diff --git a/src/components/CMapUsers/CMapUsers.ts b/src/components/CMapUsers/CMapUsers.ts index 486bb114..3e01a302 100755 --- a/src/components/CMapUsers/CMapUsers.ts +++ b/src/components/CMapUsers/CMapUsers.ts @@ -27,11 +27,11 @@ export default defineComponent({ const initialMap = ref(null); const myIcon = L.icon({ - iconUrl: 'images/icon.png', + iconUrl: '/images/icon.png', iconSize: [30, 30], iconAnchor: [22, 35], popupAnchor: [-6, -36], - shadowUrl: 'images/marker-shadow.png', + shadowUrl: '/images/marker-shadow.png', shadowSize: [60, 30], shadowAnchor: [22, 35] }); diff --git a/src/components/CMyElem/CMyElem.vue b/src/components/CMyElem/CMyElem.vue index 3ec03021..cd1b57f6 100755 --- a/src/components/CMyElem/CMyElem.vue +++ b/src/components/CMyElem/CMyElem.vue @@ -446,7 +446,7 @@ v-for="(myrec, ind) in myel.list" :key="ind" :name="ind" - :img-src="getsrcbyimg(`images/` + myrec.imagefile)" + :img-src="getsrcbyimg(`/images/` + myrec.imagefile)" >
- Diventerà: {{ tools.generateURL(col.showLinkResult, myvalue) }} + Diventerà: {{ tools.generateURL(col.showLinkResult, myvalue) }}
diff --git a/src/components/CMySingleEvent/CMySingleEvent.vue b/src/components/CMySingleEvent/CMySingleEvent.vue index 060fec72..9d9f856a 100644 --- a/src/components/CMySingleEvent/CMySingleEvent.vue +++ b/src/components/CMySingleEvent/CMySingleEvent.vue @@ -116,7 +116,7 @@ località
+ :src="`/images/` + myop.img" class="img_effetto_3d" :alt="`${myop.name} ${myop.surname}`">
{{ myop.name }} {{ myop.surname ? myop.surname : '' }}
diff --git a/src/components/COperators/COperators.ts b/src/components/COperators/COperators.ts index 4597549c..c9b7a88d 100755 --- a/src/components/COperators/COperators.ts +++ b/src/components/COperators/COperators.ts @@ -23,7 +23,7 @@ export default defineComponent({ const autoplaydiscsaved = ref(0) const tab = ref('one') - const mydir = ref('images/') + const mydir = ref('/images/') watch(() => showuserdetails, (value: any, old: any) => { if (!showuserdetails.value) { diff --git a/src/components/CPresentazione/CPresentazione.vue b/src/components/CPresentazione/CPresentazione.vue index 97fc5925..d6a57904 100755 --- a/src/components/CPresentazione/CPresentazione.vue +++ b/src/components/CPresentazione/CPresentazione.vue @@ -7,7 +7,7 @@ + :img-src="$q.dark.isActive ? `/images/riso_home_dark.png` : `/images/riso_home.png`" class="carousel_img_3">
diff --git a/src/mixins/mixin-events.ts b/src/mixins/mixin-events.ts index 3f61260a..074b09cd 100755 --- a/src/mixins/mixin-events.ts +++ b/src/mixins/mixin-events.ts @@ -15,7 +15,7 @@ export default function () { if (event && !!event.img) return event.img else - return 'images/noimg.png' + return '/images/noimg.png' } function getStyleByEvent(event: IEvents, visu: boolean) { diff --git a/src/mixins/mixin-operator.ts b/src/mixins/mixin-operator.ts index e093dedc..69882c34 100755 --- a/src/mixins/mixin-operator.ts +++ b/src/mixins/mixin-operator.ts @@ -1,12 +1,12 @@ import { useCalendarStore } from '@store/CalendarStore' export default function () { - function isEstate(){ + function isEstate() { const now = new Date() return (now.getMonth() === 5) || (now.getMonth() === 6) || (now.getMonth() === 7) || (now.getMonth() === 8) } - function isEstateRiprenderanno(){ + function isEstateRiprenderanno() { const now = new Date() return (now.getMonth() === 9) } @@ -28,7 +28,7 @@ export default function () { function getImgTeacherByUsername(username: string) { const calendarStore = useCalendarStore() - return 'images/' + calendarStore.getImgTeacherByUsername(username) + return '/images/' + calendarStore.getImgTeacherByUsername(username) } function getTeacherByUsername(username: string) { diff --git a/src/mixins/mixin-users.ts b/src/mixins/mixin-users.ts index 17c1a22b..cc829662 100755 --- a/src/mixins/mixin-users.ts +++ b/src/mixins/mixin-users.ts @@ -66,7 +66,7 @@ export default function () { function getMyImg() { const userStore = useUserStore() const ris = userStore.getImgByUsername(userStore.my.username) - const out = (ris !== '') ? `${ris}` : 'images/noimg-user.svg' + const out = (ris !== '') ? `${ris}` : '/images/noimg-user.svg' // console.log('getMyImg = ', out) return out } diff --git a/src/store/Api/Inst-Pao.ts b/src/store/Api/Inst-Pao.ts index 995ac9aa..7c3dffec 100755 --- a/src/store/Api/Inst-Pao.ts +++ b/src/store/Api/Inst-Pao.ts @@ -6,7 +6,7 @@ import type * as Types from '@src/store/Api/ApiTypes' // Funzione che smista la richiesta in base al metodo -async function sendRequest(url, method, mydata, myformdata, responsedata, options) { +async function sendRequest(url, method, mydata, myformdata = null, responsedata = null, options = null) { const actions = { get: () => Api.get(url, mydata, responsedata), post: () => Api.post(url, mydata, responsedata, options), diff --git a/src/store/Api/index.ts b/src/store/Api/index.ts index 803a618f..f1ca1dde 100755 --- a/src/store/Api/index.ts +++ b/src/store/Api/index.ts @@ -114,9 +114,9 @@ export const Api = { } catch (error) { console.error('Errore durante il refresh token:', error); // Logout dell'utente in caso di errore critico - userStore.setAuth('', ''); - localStorage.removeItem(toolsext.localStorage.token); - localStorage.removeItem(toolsext.localStorage.refreshToken); + // userStore.setAuth('', ''); + // localStorage.removeItem(toolsext.localStorage.token); + // localStorage.removeItem(toolsext.localStorage.refreshToken); throw error; } }, @@ -147,15 +147,15 @@ export const Api = { if (err2?.code === serv_constants.RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN) { userStore.setServerCode(toolsext.ERR_AUTHENTICATION); - // userStore.setAuth('', ''); - throw { status: toolsext.ERR_RETRY_LOGIN }; + userStore.setAuth('', ''); + throw { status: err2.code }; } // Gestione di altri errori critici throw err2; } } else if (status === serv_constants.RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN) { - // userStore.setAuth('', ''); + userStore.setAuth('', ''); const $router = useRouter() throw { status: toolsext.ERR_RETRY_LOGIN }; } diff --git a/src/store/Modules/costanti.ts b/src/store/Modules/costanti.ts index 4b672ed6..4b36f083 100755 --- a/src/store/Modules/costanti.ts +++ b/src/store/Modules/costanti.ts @@ -220,7 +220,7 @@ export const costanti = { to: '/circuits', table: 'circuits', icon: 'fas fa-coins', - image: 'images/1ris_rosso_100.png', + image: '/images/1ris_rosso_100.png', color: 'orange-6', hint: '', disable: true, @@ -488,7 +488,7 @@ export const costanti = { Nessuno: 0, Entrata: 1, Uscita: -1, - }, + }, FieldTypeArr: [ { label: 'Boolean', value: 1 }, diff --git a/src/store/Modules/tools.ts b/src/store/Modules/tools.ts index 638446cc..9e862ef5 100644 --- a/src/store/Modules/tools.ts +++ b/src/store/Modules/tools.ts @@ -2998,7 +2998,7 @@ export const tools = { }, getimglogo() { - return `images/${import.meta.env.VITE_LOGO_REG}` + return `/images/${import.meta.env.VITE_LOGO_REG}` }, consolelogpao(strlog: string, strlog2: any = '', strlog3: any = '') { @@ -9238,18 +9238,18 @@ export const tools = { let addtourl = '' if (!gallerylist) { - return 'images/noimg.png'; + return '/images/noimg.png'; } if (gallerylist && gallerylist.vers_img) { addtourl = '?v=' + gallerylist.vers_img } if (gallerylist && !gallerylist.imagefile) { - return 'images/noimg.png'; + return '/images/noimg.png'; } if (gallerylist) { if (this.getextfile(gallerylist.imagefile) === 'pdf') - return 'images/images/pdf.jpg' + return '/images/images/pdf.jpg' else { if (this.contieneSlash(gallerylist.imagefile)) { return gallerylist.imagefile + addtourl @@ -9259,7 +9259,7 @@ export const tools = { } } else { - return 'images/noimg.png'; + return '/images/noimg.png'; } }, diff --git a/src/store/UserStore.ts b/src/store/UserStore.ts index 644cfa4a..e34f7669 100755 --- a/src/store/UserStore.ts +++ b/src/store/UserStore.ts @@ -424,7 +424,7 @@ export const useUserStore = defineStore('UserStore', { getImgUserByUsername(username: string): string { const img = this.getImgByUsername(username) - return img ? img : 'images/noimg-user.svg' + return img ? img : '/images/noimg-user.svg' }, getImgUserByRow(row: any, col: IColGridTable): string { @@ -453,7 +453,7 @@ export const useUserStore = defineStore('UserStore', { } } - return img ? img : 'images/noimg-user.svg' + return img ? img : '/images/noimg-user.svg' }, getImgByProfile(userparam: any, reale: any = false, col: any = null): string { @@ -461,7 +461,7 @@ export const useUserStore = defineStore('UserStore', { let myrec = this.getRecByCol(userparam, col) let img = '' if (!reale) - img = 'images/noimg-user.svg' + img = '/images/noimg-user.svg' let tipoconto = shared_consts.AccountType.USER if (col && tools.existProp(col, 'tipoconto') && col.tipoconto) { @@ -483,7 +483,7 @@ export const useUserStore = defineStore('UserStore', { // } if (!reale) - return 'images/noimg-user.svg' + return '/images/noimg-user.svg' else return '' }, @@ -493,7 +493,7 @@ export const useUserStore = defineStore('UserStore', { let img = '' if (!reale) - img = 'images/noimg-user.svg' + img = '/images/noimg-user.svg' if (tipoconto === shared_consts.AccountType.COLLECTIVE_ACCOUNT) { img = this.getImgByGroup(from ? mov.groupfrom : mov.groupto) @@ -512,7 +512,7 @@ export const useUserStore = defineStore('UserStore', { // } if (!reale) - return 'images/noimg-user.svg' + return '/images/noimg-user.svg' else return '' }, @@ -658,7 +658,7 @@ export const useUserStore = defineStore('UserStore', { return tools.getDirUpload() + 'circuits/' + circ.path + '/' + circ.photos[0].imagefile } catch (e) { } - return 'images/noimg.png' + return '/images/noimg.png' }, getImgByCircuitpath(circuitpath: string): string { @@ -677,7 +677,7 @@ export const useUserStore = defineStore('UserStore', { } } catch (e) { } - return 'images/noimg.png' + return '/images/noimg.png' }, getImgByGroupname(groupname: string): string { diff --git a/src/store/globalStore.ts b/src/store/globalStore.ts index 9827cd8e..908ec808 100644 --- a/src/store/globalStore.ts +++ b/src/store/globalStore.ts @@ -1023,9 +1023,11 @@ export const useGlobalStore = defineStore('GlobalStore', { let stop = false - if (!await this.loadSite()) { + const { ris, status } = await this.loadSite() + + if (status === toolsext.ERR_RETRY_LOGIN) { stop = true - code = toolsext.ERR_RETRY_LOGIN + code = status } else { isok = true } @@ -1740,6 +1742,8 @@ export const useGlobalStore = defineStore('GlobalStore', { const Products = useProducts() const catalogStore = useCatalogStore() + let status = 0 + // console.log('calendarStore: loadAfterLogin') // Load local data const showall = userStore.isAdmin || userStore.isManager ? '1' : '0' @@ -1750,6 +1754,7 @@ export const useGlobalStore = defineStore('GlobalStore', { try { const res = await Api.SendReq(`/loadsite/${myuserid}/${tools.getEnv('VITE_APP_ID')}/${import.meta.env.VITE_APP_VERSION}`, 'GET', null) + status = res.status if (res.status === 200) { console.log('____________________________ res', res) @@ -1884,15 +1889,18 @@ export const useGlobalStore = defineStore('GlobalStore', { } } - return true + return { ris: true, status } } else { } } catch (error) { + status = error.status if (error.status === toolsext.ERR_RETRY_LOGIN) { } else { - if (error.status === serv_constants.RIS_CODE__HTTP_FORBIDDEN_TOKEN_EXPIRED) { + if (error.status === serv_constants.RIS_CODE__HTTP_FORBIDDEN_TOKEN_EXPIRED || + error.status === serv_constants.RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN + ) { } else { this.serverError = true @@ -1904,10 +1912,10 @@ export const useGlobalStore = defineStore('GlobalStore', { this.serverMsgError = error //return new Types.AxiosError(serv_constants.RIS_CODE_ERR, null, toolsext.ERR_GENERICO, error) - return false + return { ris: false, status } } - return false + return { ris: false, status } }, getProvinceByProv(provstr: string) {