Version 0.5.15: ONLINE !

This commit is contained in:
Paolo Arena
2022-09-19 19:03:24 +02:00
parent c75b78ea98
commit 2d068d00e7
13 changed files with 42 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet DIRECTORY_LOCAL=newfreeplanet

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="12" APP_ID="12"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet DIRECTORY_LOCAL=newfreeplanet

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="14" APP_ID="14"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.13" APP_VERSION="0.5.15"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="14" APP_ID="14"
DIRECTORY_LOCAL=newfreeplanet DIRECTORY_LOCAL=newfreeplanet

View File

@@ -1086,6 +1086,7 @@ export default defineComponent({
nome_valuta: 1, nome_valuta: 1,
fido_scoperto_default: 1, fido_scoperto_default: 1,
qta_max_default: 1, qta_max_default: 1,
valuta_per_euro: 1,
symbol: 1, symbol: 1,
idCity: 1, idCity: 1,
pub_to_share: 1, pub_to_share: 1,

View File

@@ -355,6 +355,7 @@ export default defineComponent({
function onRejected (rejectedEntries: any) { function onRejected (rejectedEntries: any) {
// Notify plugin needs to be installed // Notify plugin needs to be installed
// https://quasar.dev/quasar-plugins/notify#Installation // https://quasar.dev/quasar-plugins/notify#Installation
console.log('rejectedEntries', rejectedEntries)
$q.notify({ $q.notify({
type: 'negative', type: 'negative',
message: 'La Dimensione massima dell\'immagine è di 2 MB' message: 'La Dimensione massima dell\'immagine è di 2 MB'

View File

@@ -669,31 +669,37 @@ export default defineComponent({
} }
function getDirectoryGall() { function getDirectoryGall() {
let ris = '' console.log('getDirectoryGall', myrow.value)
let username = myrow.value.hasOwnProperty('username') ? myrow.value['username'] : ''
let userId = myrow.value.hasOwnProperty('userId') ? myrow.value['userId'] : ''
if (username === '') { let ris = ''
if (userId === userStore.my._id) try {
let username = myrow.value.hasOwnProperty('username') ? myrow.value['username'] : ''
let userId = myrow.value.hasOwnProperty('userId') ? myrow.value['userId'] : ''
if (username === '') {
if (userId === userStore.my._id)
username = userStore.my.username
}
if (username === '') {
username = userStore.my.username username = userStore.my.username
} }
if (username === '') { if (fieldsTable.tableForUsers.includes(props.table)) {
username = userStore.my.username ris = 'profile/' + username + '/' + props.table
} } else if (props.table === 'users') {
if (fieldsTable.tableForUsers.includes(props.table)) { ris = 'profile/' + userStore.my.username
ris = 'profile/' + username + '/' + props.table } else if (props.table === 'mygroups') {
} else if (props.table === 'users') { if (myrow.value.hasOwnProperty('groupname'))
ris = 'profile/' + userStore.my.username ris = 'mygroups/' + myrow.value['groupname']
} else if (props.table === 'mygroups') { } else if (props.table === 'circuits') {
if (myrow.value.hasOwnProperty('groupname')) if (myrow.value.hasOwnProperty('path'))
ris = 'mygroups/' + myrow.value['groupname'] ris = 'circuits/' + myrow.value['path']
} else if (props.table === 'circuits') { } else if (!!myrow.value && !!myrow.value.directory) {
if (myrow.value.hasOwnProperty('path')) ris = myrow.value.directory
ris = 'circuits/' + myrow.value['path'] } else {
} else if (!!myrow.value && !!myrow.value.directory) { ris = props.table
ris = myrow.value.directory }
} else { } catch (e) {
ris = props.table console.error('err getDirectoryGall', e)
} }
console.log('getDirectoryGall', ris) console.log('getDirectoryGall', ris)
return ris return ris

View File

@@ -2592,6 +2592,7 @@ export const colTableCircuit = [
fieldtype: costanti.FieldType.currency, required: true, visulabel: true }), fieldtype: costanti.FieldType.currency, required: true, visulabel: true }),
AddCol({ name: 'qta_max_default', label_trans: 'circuit.qta_max_default', AddCol({ name: 'qta_max_default', label_trans: 'circuit.qta_max_default',
fieldtype: costanti.FieldType.currency, required: true, visulabel: true }), fieldtype: costanti.FieldType.currency, required: true, visulabel: true }),
AddCol({ name: 'valuta_per_euro', label_trans: 'circuit.valuta_per_euro', fieldtype: costanti.FieldType.number }),
AddCol({ name: 'totCircolante', label_trans: 'circuit.totCircolante', AddCol({ name: 'totCircolante', label_trans: 'circuit.totCircolante',
fieldtype: costanti.FieldType.currency, visulabel: true, fieldtype: costanti.FieldType.currency, visulabel: true,
showWhen: costanti.showWhen.InPage + costanti.showWhen.InView, showWhen: costanti.showWhen.InPage + costanti.showWhen.InView,

View File

@@ -3500,7 +3500,7 @@ export const tools = {
return tools.getServerHost() + `/uploadnew/${this.getvers()}/` return tools.getServerHost() + `/uploadnew/${this.getvers()}/`
}, },
escapeslash(mystr: string) { escapeslash(mystr: string) {
return mystr.replace(/\//g, '-') return mystr.replace(/\//g, 'Ç')
}, },
geturlrelativeprofile() { geturlrelativeprofile() {
return costanti.DIR_UPLOAD + 'profile' return costanti.DIR_UPLOAD + 'profile'
@@ -5901,6 +5901,7 @@ export const tools = {
symbol: 'RIS', symbol: 'RIS',
fido_scoperto_default: 100, fido_scoperto_default: 100,
qta_max_default: 500, qta_max_default: 500,
valuta_per_euro: 1,
totTransato: 0, totTransato: 0,
totCircolante: 0, totCircolante: 0,
} }