diff --git a/send_pwa_to_production.sh b/send_pwa_to_production.sh index 5e500957..b640b48a 100755 --- a/send_pwa_to_production.sh +++ b/send_pwa_to_production.sh @@ -9,6 +9,6 @@ if [[ $risposta == "Y" || $risposta == "y" ]]; then echo "Sincronizzazione in remoto $SERVERDIR_WEBSITE ..." - sshpass -p $SERVERPW_WEBSITE rsync -e 'ssh -p 8855' -a --exclude 'upload' dist/pwa/ ftpadmin@servereng:/var/www/$SERVERDIR_WEBSITE/ + sshpass -p $SERVERPW_WEBSITE rsync -e 'ssh -p 8855' -avv --exclude 'upload' dist/pwa/ ftpadmin@servereng:/var/www/$SERVERDIR_WEBSITE/ echo "Finito $SERVERDIR_WEBSITE " fi diff --git a/src/components/CBarSelection/CBarSelection.ts b/src/components/CBarSelection/CBarSelection.ts index 7771bdd2..d169b371 100755 --- a/src/components/CBarSelection/CBarSelection.ts +++ b/src/components/CBarSelection/CBarSelection.ts @@ -147,7 +147,7 @@ export default defineComponent({ watch(() => props.table, (newval, oldval) => { tablesel.value = props.table - console.log('CHANGE TABLESEL', tablesel.value) + // console.log('CHANGE TABLESEL', tablesel.value) }) watch(() => globalStore.myselector.data, (newval, oldval) => { @@ -270,7 +270,7 @@ export default defineComponent({ tablesel.value = props.table - console.log(' . TABLE =', props.table) + // console.log(' . TABLE =', props.table) mycolumns.value = fieldsTable.getArrColsByTable(props.table) searchList.value = [ diff --git a/src/components/CCart/CCart.ts b/src/components/CCart/CCart.ts index f92ffc7a..ff2aed49 100755 --- a/src/components/CCart/CCart.ts +++ b/src/components/CCart/CCart.ts @@ -134,7 +134,7 @@ export default defineComponent({ recOrderCart.value = await productStore.CreateOrdersCart({ cart_id: mycart.value._id, status: 0, note: note.value }) } - console.log('myrec', myrec.value) + // console.log('myrec', myrec.value) endload.value = true } diff --git a/src/components/CGridTableRec/CGridTableRec.ts b/src/components/CGridTableRec/CGridTableRec.ts index 6976c4ad..e4aa613e 100755 --- a/src/components/CGridTableRec/CGridTableRec.ts +++ b/src/components/CGridTableRec/CGridTableRec.ts @@ -1570,7 +1570,7 @@ export default defineComponent({ if (!shared_consts.TABLES_ORDER_DATE_UPDATED.includes(tablesel.value) && !shared_consts.TABLES_ORDER_DESCR.includes(tablesel.value)) { - console.log('get cookie)') + // console.log('get cookie)') let v1 = tools.getCookie('s_ordinamnew_' + tablesel.value, null) if (v1) ordinam.value = v1 @@ -2077,7 +2077,7 @@ export default defineComponent({ } async function saverecModif() { - console.log('saverecModif') + // console.log('saverecModif') const mydata = { table: mytable.value, data: {} diff --git a/src/components/CGridTableUser/CGridTableUser.ts b/src/components/CGridTableUser/CGridTableUser.ts index 126db554..494211cb 100755 --- a/src/components/CGridTableUser/CGridTableUser.ts +++ b/src/components/CGridTableUser/CGridTableUser.ts @@ -1524,7 +1524,7 @@ export default defineComponent({ if (!shared_consts.TABLES_ORDER_DATE_UPDATED.includes(tablesel.value) && !shared_consts.TABLES_ORDER_DESCR.includes(tablesel.value)) { - console.log('get cookie)') + // console.log('get cookie)') let v1 = tools.getCookie('s_ordinamnew_' + tablesel.value, null) if (v1) ordinam.value = v1 @@ -2021,7 +2021,7 @@ export default defineComponent({ } async function saverecModif() { - console.log('saverecModif') + // console.log('saverecModif') const mydata = { table: mytable.value, data: {} diff --git a/src/components/CMyCardService/CMyCardService.ts b/src/components/CMyCardService/CMyCardService.ts index 9128bf79..6838b93f 100644 --- a/src/components/CMyCardService/CMyCardService.ts +++ b/src/components/CMyCardService/CMyCardService.ts @@ -174,7 +174,7 @@ export default defineComponent({ // Carica il record if (props.idRec) { await userStore.loadGeneric(props.table, props.idRec, idnotif.value).then((ris) => { - console.log('myrec', myrec) + // console.log('myrec', myrec) myrec.value = ris notifStore.setAsRead(idnotif.value) }) @@ -182,7 +182,7 @@ export default defineComponent({ } else { // myrec.value = props.prop_myrec await userStore.loadGeneric(props.table, props.prop_myrec._id, idnotif.value).then((ris) => { - console.log('myrec', myrec) + // console.log('myrec', myrec) myrec.value = ris notifStore.setAsRead(idnotif.value) }) diff --git a/src/components/CMyPageElem/CMyPageElem.ts b/src/components/CMyPageElem/CMyPageElem.ts index 722ce505..e84851a2 100755 --- a/src/components/CMyPageElem/CMyPageElem.ts +++ b/src/components/CMyPageElem/CMyPageElem.ts @@ -90,7 +90,7 @@ export default defineComponent({ }) function load() { - console.log('load', mypathin.value) + // console.log('load', mypathin.value) if (mypathin.value !== '') { globalStore.loadPage('/' + mypathin.value, 'cmypageelem').then(ris => { diff --git a/src/components/CMyPopupEdit/CMyPopupEdit.ts b/src/components/CMyPopupEdit/CMyPopupEdit.ts index b1192c72..79d3ac0b 100755 --- a/src/components/CMyPopupEdit/CMyPopupEdit.ts +++ b/src/components/CMyPopupEdit/CMyPopupEdit.ts @@ -390,7 +390,7 @@ export default defineComponent({ } function changevalRec(newval: any) { - console.log('changevalRec', newval) + // console.log('changevalRec', newval) // if (!props.insertMode || (props.insertMode && col.value.fieldtype !== costanti.FieldType.multioption)) { if (col.value && col.value.allowchar === costanti.ALLOWCHAR_CODE) { newval = tools.removespaces_slash(newval) diff --git a/src/components/COrdersCart/COrdersCart.ts b/src/components/COrdersCart/COrdersCart.ts index 01d2472f..85d5bd3d 100755 --- a/src/components/COrdersCart/COrdersCart.ts +++ b/src/components/COrdersCart/COrdersCart.ts @@ -88,7 +88,7 @@ export default defineComponent({ } function change_field(fieldname: any) { - console.log('myrec', recOrderCart.value) + // console.log('myrec', recOrderCart.value) const mydata = { [fieldname]: myrec.value[fieldname] diff --git a/src/components/CSigninNoreg/CSigninNoreg.ts b/src/components/CSigninNoreg/CSigninNoreg.ts index 06c2c335..54e79910 100755 --- a/src/components/CSigninNoreg/CSigninNoreg.ts +++ b/src/components/CSigninNoreg/CSigninNoreg.ts @@ -24,7 +24,7 @@ export default defineComponent({ const route = useRoute() const { t } = useI18n() - console.log('SETUP - CSigninNoreg') + // console.log('SETUP - CSigninNoreg') function loginOk() { tools.loginOk($router, route, $q, true) diff --git a/src/store/Modules/tools.ts b/src/store/Modules/tools.ts index 54b3de66..95d11b24 100644 --- a/src/store/Modules/tools.ts +++ b/src/store/Modules/tools.ts @@ -4452,7 +4452,7 @@ export const tools = { console.log('indcat', indcat) if (indcat >= 0) { const myrec = todos.todos[indcat].find((rec: any) => rec._id === id) - console.log('myrec', myrec) + // console.log('myrec', myrec) let ris = null if (myrec) { ris = myrec[keystr] @@ -7554,7 +7554,7 @@ export const tools = { let myrec = await this.loadrecProfile() - console.log('myrec', myrec) + // console.log('myrec', myrec) const sep = ';' diff --git a/src/store/Modules/toolsext.ts b/src/store/Modules/toolsext.ts index b682d1b5..a4bdfb0f 100755 --- a/src/store/Modules/toolsext.ts +++ b/src/store/Modules/toolsext.ts @@ -204,7 +204,7 @@ export const toolsext = { console.log('indcat', indcat) if (indcat >= 0) { const myrec = todos.todos[indcat].find((rec: any) => rec._id === id) - console.log('myrec', myrec) + // console.log('myrec', myrec) let ris = null if (myrec) { ris = myrec[keystr] diff --git a/src/store/UserStore.ts b/src/store/UserStore.ts index 1c4bd520..98e48e2a 100755 --- a/src/store/UserStore.ts +++ b/src/store/UserStore.ts @@ -1142,7 +1142,7 @@ export const useUserStore = defineStore('UserStore', { if (myuser.profile !== undefined) tools.localStSetItem(toolsext.localStorage.img, (myuser.profile.img) ? String(myuser.profile.img) || '' : '') else tools.localStSetItem(toolsext.localStorage.img, '') localStorage.setItem(toolsext.localStorage.token, this.x_auth_token) - console.log('updateLocalStorage: salva refreshtoken', this.refreshToken) + // console.log('updateLocalStorage: salva refreshtoken', this.refreshToken) localStorage.setItem(toolsext.localStorage.refreshToken, this.refreshToken) localStorage.setItem(toolsext.localStorage.expirationDate, expirationDate.toString()) tools.localStSetItem(toolsext.localStorage.isLogged, String(true)) @@ -1452,7 +1452,7 @@ export const useUserStore = defineStore('UserStore', { this.isLogged = isok && isLogged - console.log('this.isLogged', this.isLogged, 'isok', isok, 'isLogged', isLogged) + // console.log('this.isLogged', this.isLogged, 'isok', isok, 'isLogged', isLogged) if (globalStore.site.confpages && globalStore.site.confpages.enableTodos) await todos.dbLoad({ checkPending: true }) diff --git a/src/store/globalStore.ts b/src/store/globalStore.ts index 995c9459..5dc971ab 100644 --- a/src/store/globalStore.ts +++ b/src/store/globalStore.ts @@ -810,7 +810,7 @@ export const useGlobalStore = defineStore('GlobalStore', { // Calling the Server to Save in the MongoDB the Subscriber saveNewSubscriptionToServer(newSub: any) { - console.log('saveNewSubscriptionToServer') + // console.log('saveNewSubscriptionToServer') const userStore = useUserStore() @@ -862,8 +862,8 @@ export const useGlobalStore = defineStore('GlobalStore', { this.wasAlreadySubscribed = true this.wasAlreadySubOnDb = true - if (res) - console.log('saveNewSubscriptionToServer: OK') + // if (res) + // console.log('saveNewSubscriptionToServer: OK') tools.localStSetItem(toolsext.localStorage.wasAlreadySubOnDb, String(this.wasAlreadySubOnDb)) }) @@ -1635,13 +1635,13 @@ export const useGlobalStore = defineStore('GlobalStore', { } // const isLogged = localStorage.getItem(toolsext.localStorage.username) - console.log('isLogged', isLogged) + // console.log('isLogged', isLogged) // calendarStore.editable = userStore.isAdmin || userStore.isManager || userStore.isFacilitatore if (res.data.myuser === null || (res.data.myuser.idapp !== process.env.APP_ID)) { if (isLogged) { // Fai Logout - console.log('Fai Logout', 'isLogged', isLogged) + // console.log('Fai Logout', 'isLogged', isLogged) userStore.logout() this.rightDrawerOpen = true return false