Porównaj commity

...

9 Commity

Autor SHA1 Wiadomość Data
Manuel Kasper ed7b27ae8b Update caniuse, remove branch from footer, bump SOTA DB copyright 2023-05-10 16:31:43 +02:00
Manuel Kasper ce1a0826ec Update vue-template-compiler 2023-05-10 16:17:11 +02:00
Manuel Kasper 6476b646d6 Increase enlarge map height. Update frappe-charts 2023-05-10 15:53:16 +02:00
Manuel Kasper d6cabc6c30 Attempt to fix route 2023-05-10 15:26:07 +02:00
Manuel Kasper b32884364c JS version compatibility, remove version number from footer 2023-05-10 15:17:41 +02:00
Manuel Kasper 2e71728a4e Add public path to vue-router 2023-05-10 15:10:39 +02:00
Manuel Kasper 6e3f6abfce Remove old/unnecessary dependency; add support for different public path (beta) 2023-05-10 14:47:31 +02:00
Manuel Kasper 69e5436257 Downgrade core-js for vue2 compatibility. Update vue-router 2023-05-10 14:39:34 +02:00
Manuel Kasper baaa496ea3 Update some components 2023-05-10 14:25:38 +02:00
9 zmienionych plików z 122 dodań i 15709 usunięć

1
.env
Wyświetl plik

@ -3,3 +3,4 @@ VUE_APP_WSS_URL="wss://sotl.as/api"
VUE_APP_PHOTOS_URL="https://photos.sotl.as" VUE_APP_PHOTOS_URL="https://photos.sotl.as"
VUE_APP_PHOTOS_ORIGINAL_URL="https://sotlas-photos.s3.eu-central-003.backblazeb2.com/original" VUE_APP_PHOTOS_ORIGINAL_URL="https://sotlas-photos.s3.eu-central-003.backblazeb2.com/original"
VUE_APP_ELEVATION_API_URL="https://elevation.sotl.as/api" VUE_APP_ELEVATION_API_URL="https://elevation.sotl.as/api"
PUBLIC_PATH=/

15801
package-lock.json wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -18,25 +18,24 @@
"@fortawesome/pro-solid-svg-icons": "^5.15.2", "@fortawesome/pro-solid-svg-icons": "^5.15.2",
"@fortawesome/vue-fontawesome": "^0.1.10", "@fortawesome/vue-fontawesome": "^0.1.10",
"@mapbox/mapbox-gl-draw": "github:manuelkasper/mapbox-gl-draw#sotlas", "@mapbox/mapbox-gl-draw": "github:manuelkasper/mapbox-gl-draw#sotlas",
"@mapbox/togeojson": "^0.16.0",
"@tmcw/togeojson": "^3.2.0", "@tmcw/togeojson": "^3.2.0",
"axios": "^0.27.2", "axios": "^1.4.0",
"buefy": "^0.8.20", "buefy": "^0.8.20",
"cheap-ruler": "^2.5.1", "cheap-ruler": "^2.5.1",
"core-js": "^2.6.12", "core-js": "^2.6.12",
"filepond": "^4.25.1", "filepond": "^4.30.4",
"filepond-plugin-file-validate-type": "^1.2.5", "filepond-plugin-file-validate-type": "^1.2.5",
"flagpack": "^1.0.5", "flagpack": "^1.0.5",
"frappe-charts": "^1.5.6", "frappe-charts": "^1.6.2",
"haversine-distance": "^1.2.1", "haversine-distance": "^1.2.1",
"maidenhead": "^1.0.7", "maidenhead": "^1.0.7",
"mapbox-gl": "^1.13.1", "mapbox-gl": "^1.13.1",
"moment": "^2.29.1", "moment": "^2.29.4",
"node-vincenty": "0.0.6", "node-vincenty": "0.0.6",
"photoswipe": "^4.1.3", "photoswipe": "^4.1.3",
"proj4": "^2.7.2", "proj4": "^2.7.2",
"togpx": "^0.5.4", "togpx": "^0.5.4",
"vue": "^2.7.8", "vue": "^2.7.14",
"vue-clipboard2": "^0.3.1", "vue-clipboard2": "^0.3.1",
"vue-debounce": "^2.6.0", "vue-debounce": "^2.6.0",
"vue-filepond": "^6.0.3", "vue-filepond": "^6.0.3",
@ -44,8 +43,8 @@
"vue-lazy-youtube-video": "^2.3.0", "vue-lazy-youtube-video": "^2.3.0",
"vue-mapbox": "github:manuelkasper/vue-mapbox#sotlas", "vue-mapbox": "github:manuelkasper/vue-mapbox#sotlas",
"vue-match-media": "^1.0.3", "vue-match-media": "^1.0.3",
"vue-native-websocket": "^2.0.15", "vue-native-websocket": "github:nathantsoi/vue-native-websocket#a265da6",
"vue-router": "^3.5.4", "vue-router": "^3.6.5",
"vuedraggable": "^2.24.3", "vuedraggable": "^2.24.3",
"vuex": "^3.6.2" "vuex": "^3.6.2"
}, },
@ -62,7 +61,7 @@
"sass": "^1.62.1", "sass": "^1.62.1",
"sass-loader": "^10.3.1", "sass-loader": "^10.3.1",
"vue-svgicon": "^3.2.9", "vue-svgicon": "^3.2.9",
"vue-template-compiler": "^2.6.12" "vue-template-compiler": "^2.7.14"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,

Wyświetl plik

@ -16,7 +16,7 @@ export default {
name: 'Footer', name: 'Footer',
computed: { computed: {
version () { version () {
return VERSION + '-' + COMMITHASH.substring(0, 7) return 'Version ' + COMMITHASH.substring(0, 7)
} }
} }
} }

Wyświetl plik

@ -25,7 +25,7 @@
<script> <script>
import axios from 'axios' import axios from 'axios'
import togeojson from '@mapbox/togeojson' import togeojson from '@tmcw/togeojson'
import { MglGeojsonLayer, MglMarker } from 'vue-mapbox' import { MglGeojsonLayer, MglMarker } from 'vue-mapbox'
import haversineDistance from 'haversine-distance' import haversineDistance from 'haversine-distance'
import tracks from '../mixins/tracks.js' import tracks from '../mixins/tracks.js'

Wyświetl plik

@ -23,6 +23,7 @@ Vue.use(Router)
let router = new Router({ let router = new Router({
mode: 'history', mode: 'history',
base: process.env.BASE_URL,
routes: [ routes: [
{ {
path: '/', path: '/',

Wyświetl plik

@ -13,7 +13,7 @@
</p> </p>
<p> <p>
Summit database © 2002-2021 Summits on the Air.<br /> Summit database © 2002-2023 Summits on the Air.<br />
Summits on the Air, SOTA and the SOTA Logo are trademarks of the Programme. Summits on the Air, SOTA and the SOTA Logo are trademarks of the Programme.
</p> </p>

Wyświetl plik

@ -474,7 +474,7 @@ export default {
} }
@media (min-width: 769px) { @media (min-width: 769px) {
.map.enlarge { .map.enlarge {
height: calc(100vh - 20rem); height: calc(100vh - 16rem);
} }
} }
@media (max-width: 768px) { @media (max-width: 768px) {

Wyświetl plik

@ -15,5 +15,6 @@ module.exports = {
'BRANCH': JSON.stringify(gitRevisionPlugin.branch()) 'BRANCH': JSON.stringify(gitRevisionPlugin.branch())
}) })
] ]
} },
publicPath: process.env.PUBLIC_PATH
} }