diff --git a/CHANGELOG b/CHANGELOG index b96d6779..68b45f36 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,11 @@ All notable changes to this project will be documented in this file. +### 1.6.4 - 22 feb '23 + - add missing i18n during setup + - really fix #232 + - downgrade mariadb as sequelize is not ready yet + - location saving not working when geocoding is disabled, fix #238 + ### 1.6.3 - 17 feb '23 - visitors could now choose to view images or not / dark theme or not - i18n refactoring, locale loaders, custom strings, fix #231 diff --git a/docs/changelog.md b/docs/changelog.md index e8b581d9..879be9ec 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,13 @@ nav_order: 10 All notable changes to this project will be documented in this file. + +### 1.6.4 - 22 feb '23 + - add missing i18n during setup + - really fix #232 + - downgrade mariadb as sequelize is not ready yet + - location saving not working when geocoding is disabled, fix #238 + ### 1.6.3 - 17 feb '23 - visitors could now choose to view images or not / dark theme or not - i18n refactoring, locale loaders, custom strings, fix #231 diff --git a/locales/ca.json b/locales/ca.json index 49f027dc..d46513c7 100644 --- a/locales/ca.json +++ b/locales/ca.json @@ -183,7 +183,8 @@ "alt_text_description": "Descripció per a persones amb discapacitat visual", "choose_focal_point": "Tria el punt focal", "address_description": "Quina és l'adreça completa del lloc?", - "address_description_osm": "Quina és l'adreça completa del lloc? (gràcies a la comunitat d'OpenStreetMap)" + "address_description_osm": "Quina és l'adreça completa del lloc? (gràcies a la comunitat d'OpenStreetMap)", + "show_multidate": "activitats de més d'un dia" }, "admin": { "place_description": "En el cas que un lloc és incorrecte o l'adreça ha de canviar, pots arreglar-ho.
Tingues en compte que totes les activitats passades i futures associades amb aquest lloc també canviaran d'adreça.", diff --git a/package.json b/package.json index cbb0c222..9bea6a2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gancio", - "version": "1.6.3", + "version": "1.6.4", "description": "A shared agenda for local communities", "author": "lesion", "scripts": { @@ -61,7 +61,7 @@ "linkify-html": "^4.0.2", "linkifyjs": "4.1.0", "lodash": "^4.17.21", - "mariadb": "^3.1.0", + "mariadb": "^2.5.6", "memory-cache": "^0.2.0", "microformat-node": "^2.0.1", "minify-css-string": "^1.0.0", diff --git a/pages/add/_edit.vue b/pages/add/_edit.vue index 58ea5af7..a9368efc 100644 --- a/pages/add/_edit.vue +++ b/pages/add/_edit.vue @@ -74,7 +74,6 @@ import dayjs from 'dayjs' import { mdiFileImport, mdiFormatTitle, mdiTagMultiple, mdiCloseCircle } from '@mdi/js' -import List from '@/components/List' import Editor from '@/components/Editor' import ImportDialog from '@/components/ImportDialog' import MediaInput from '@/components/MediaInput' @@ -84,7 +83,6 @@ import DateInput from '@/components/DateInput' export default { name: 'NewEvent', components: { - List, Editor, ImportDialog, MediaInput, @@ -125,9 +123,6 @@ export default { data.event.place.name = event.place.name data.event.place.address = event.place.address || '' - data.event.place.latitude = event.place.latitude || '' - data.event.place.longitude = event.place.longitude || '' - data.event.online_locations = event.online_locations || [] const from = dayjs.unix(event.start_datetime).tz() const due = event.end_datetime && dayjs.unix(event.end_datetime).tz() data.date = { @@ -157,7 +152,6 @@ export default { openImportDialog: false, event: { place: { name: '', address: '', latitude: null, longitude: null }, - online_locations: [], title: '', description: '', tags: [], @@ -165,7 +159,6 @@ export default { }, tags: [], page: { month, year }, - fileList: [], id: null, date: { from: null, due: null, recurrent: null }, edit: false, @@ -252,12 +245,12 @@ export default { formData.append('description', this.event.description) formData.append('multidate', !!this.date.multidate) let [hour, minute] = this.date.fromHour.split(':') - formData.append('start_datetime', dayjs(this.date.from).hour(Number(hour)).minute(Number(minute)).second(0).tz().unix()) + formData.append('start_datetime', dayjs(this.date.from).tz().hour(Number(hour)).minute(Number(minute)).second(0).unix()) if (this.date.dueHour) { [hour, minute] = this.date.dueHour.split(':') - formData.append('end_datetime', dayjs(this.date.due).hour(Number(hour)).minute(Number(minute)).second(0).tz().unix()) + formData.append('end_datetime', dayjs(this.date.due).tz().hour(Number(hour)).minute(Number(minute)).second(0).unix()) } else if (!!this.date.multidate) { - formData.append('end_datetime', dayjs(this.date.due).hour(24).minute(0).second(0).tz().unix()) + formData.append('end_datetime', dayjs(this.date.due).tz().hour(24).minute(0).second(0).unix()) } if (this.edit) { diff --git a/pages/setup/_db.vue b/pages/setup/_db.vue index 0fdc6616..4db91804 100644 --- a/pages/setup/_db.vue +++ b/pages/setup/_db.vue @@ -1,6 +1,8 @@