Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/vue-3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tacruc authored Nov 4, 2024
2 parents 1afb385 + e714095 commit 370f636
Show file tree
Hide file tree
Showing 31 changed files with 1,162 additions and 451 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
sudo apt install make openssl -y
echo "###### installing nextcloud"
mkdir ~/html
git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b v28.0.0 ~/html/nextcloud
git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b v30.0.1 ~/html/nextcloud
sed -i $'s|if (substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|if (is_string($root) and substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|g' ~/html/nextcloud/lib/autoloader.php
cp -r $GITHUB_WORKSPACE ~/html/nextcloud/apps/${APP_ID}
php ~/html/nextcloud/occ maintenance:install --database "sqlite" --admin-user "admin" --admin-pass "password"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
php-versions: [8.1, 8.2, 8.3]
nextcloud-versions: ['stable28', 'stable29']
nextcloud-versions: ['stable30']
name: Nextcloud ${{ matrix.nextcloud-versions }} php${{ matrix.php-versions }} unit tests
steps:
- name: Set up php${{ matrix.php-versions }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.5.0 - 2024.11.xx Nextcloud Hub 9
- Update OSM tile service URL [#1295](https://github.com/nextcloud/maps/pull/1295) @StyXman
- Support Nextcloud 30, update CSP header [1336](https://github.com/nextcloud/maps/pull/1336) @Ma27

## 1.4.0 - 2024.04.28 Nextcloud Hub 8
- Compability changes to Nextcloud 29.

Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- **📱 Devices:** Lost your phone? Check the map!
- **〰 Tracks:** Load GPS tracks or past trips. Recording with [PhoneTrack](https://f-droid.org/en/packages/net.eneiluj.nextcloud.phonetrack/) or [OwnTracks](https://owntracks.org) is planned.
]]></description>
<version>1.4.0</version>
<version>1.5.0</version>
<licence>agpl</licence>
<author mail="eneiluj@posteo.net">Julien Veyssier</author>
<author mail="kontakt+github@arne.email">Arne Hamann</author>
Expand All @@ -37,7 +37,7 @@
<dependencies>
<php min-version="8.1" max-version="8.3"/>
<lib>exif</lib>
<nextcloud min-version="28" max-version="29"/>
<nextcloud min-version="30" max-version="30"/>
</dependencies>
<repair-steps>
<post-migration>
Expand Down
14 changes: 7 additions & 7 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
margin-left: 56px !important;
padding-top: 5px;
border: 2px solid var(--color-border-dark) !important;
border-bottom-left-radius: var(--border-radius-large) !important;
border-bottom-right-radius: var(--border-radius-large) !important;
border-bottom-left-radius: var(--border-radius-element) !important;
border-bottom-right-radius: var(--border-radius-element) !important;
border-top: 0 !important;
background-color: var(--color-main-background);
}
Expand Down Expand Up @@ -90,7 +90,7 @@
}

td:nth-child(3) {
color: var(--color-text-light);
color: var(--color-main-text);
}

tr:nth-child(odd) {
Expand Down Expand Up @@ -132,7 +132,7 @@
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
border: none;
border-radius: var(--border-radius);
border-radius: var(--border-radius-small);
}

/* Fix attribution overlapping map on mobile */
Expand Down Expand Up @@ -461,7 +461,7 @@ tr.selected td {
.leaflet-marker-photo-suggestion,
.leaflet-marker-photo,
.leaflet-marker-photo-suggestion-selected {
border-radius: var(--border-radius);
border-radius: var(--border-radius-small);
}

.leaflet-marker-track.track-marker,
Expand All @@ -479,7 +479,7 @@ tr.selected td {
.photo-tooltip {
max-width: 325px;
max-height: 325px;
border-radius: var(--border-radius);
border-radius: var(--border-radius-small);
}

.easy-button-button {
Expand Down Expand Up @@ -575,7 +575,7 @@ tr.selected td {
text-align: center;
}
.tooltip-photo-name {
color: var(--color-text-light);
color: var(--color-main-text);
}
.tooltip-photo-date {
font-weight: bold;
Expand Down
1 change: 1 addition & 0 deletions l10n/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ OC.L10N.register(
"Mapbox API key" : "Clé d'API Mapbox",
"MapLibre Website" : "Site web MapLibre",
"MapLibre settings" : "Paramètres MapLibre",
"Set the URL and Basic Authorization of style.json for OpenStreetMap Vector Tiles with MapLibre-GL-JS." : "Définissez l'URL et l'autorisation de base de style.json pour les Tiles vectorielles OpenStreetMap avec MapLibre-GL-JS.",
"MapLibre Street style URL" : "URL du style MapLibre Street",
"Basic Authorization if required. Format is \"user:password\"" : "Basic Authorization si nécessaire. Le format est \"user:password\"",
"Maps settings" : "Paramètres de Maps"
Expand Down
1 change: 1 addition & 0 deletions l10n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@
"Mapbox API key" : "Clé d'API Mapbox",
"MapLibre Website" : "Site web MapLibre",
"MapLibre settings" : "Paramètres MapLibre",
"Set the URL and Basic Authorization of style.json for OpenStreetMap Vector Tiles with MapLibre-GL-JS." : "Définissez l'URL et l'autorisation de base de style.json pour les Tiles vectorielles OpenStreetMap avec MapLibre-GL-JS.",
"MapLibre Street style URL" : "URL du style MapLibre Street",
"Basic Authorization if required. Format is \"user:password\"" : "Basic Authorization si nécessaire. Le format est \"user:password\"",
"Maps settings" : "Paramètres de Maps"
Expand Down
43 changes: 42 additions & 1 deletion l10n/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,24 @@ OC.L10N.register(
{
"Invalid values" : "Valori non validi",
"No such device" : "Nessun dispositivo",
"Map not Found" : "Mappa non trovata",
"No device to export" : "Nessun dispositivo da esportare",
"/Maps is not a directory" : "/Maps non è una cartella",
"/Maps directory is not writeable" : "La directory /Maps non è scrivibile",
"Impossible to create /Maps directory" : "Impossibile creare la cartella /Maps",
"Nothing to export" : "Nulla da esportare",
"Invalid file extension" : "Estensione del file non valida",
"Impossible to read the file" : "Impossibile leggere il file",
"File does not exist" : "Il file non esiste",
"Error sharing device" : "Errore durante la condivisione del dispositivo",
"Share not Found" : "Condivisione non trovata",
"Share was already on map" : "La condivisione era già sulla mappa",
"No such favorite" : "Nessun preferito",
"invalid values" : "valori non validi",
"no such favorite" : "nessun preferito",
"Unknown category" : "Categoria sconosciuta",
"Error sharing favorite" : "Errore nella condivisione dei preferiti",
"Bad file type" : "Tipo di file non valido",
"File not found" : "File non trovato",
"Personal" : "Personale",
"Maps" : "Mappe",
Expand All @@ -20,9 +29,13 @@ OC.L10N.register(
"My contacts" : "I miei contatti",
"Toggle all" : "Commuta tutto",
"Zoom" : "Ingrandisci",
"Copy to map" : "Copia sulla mappa",
"Hide history" : "Nascondi cronologia",
"Show history" : "Mostra cronologia",
"Change color" : "Cambia colore",
"Zoom on area" : "Zoom sull'area",
"Export" : "Esporta",
"Link to map" : "Collegamento alla mappa",
"Delete" : "Elimina",
"My devices" : "I miei dispositivi",
"Refresh positions" : "Aggiorna posizioni",
Expand All @@ -41,15 +54,22 @@ OC.L10N.register(
"Create share link" : "Crea collegamento di condivisione",
"Copied!" : "Copiato!",
"Copy share link" : "Copia collegamento di condivisione",
"Leave share" : "Lascia la condivisione",
"Cancel" : "Annulla",
"Link copied" : "Collegamento copiato",
"Link could not be copied to clipboard." : "Impossibile copiare il collegamento negli appunti.",
"Open folder" : "Apri cartella",
"Share" : "Condividi",
"My maps" : "Le mie mappe",
"New map" : "Nuova mappa",
"Add Map" : "Aggiungi mappa",
"My photos" : "Le mie foto",
"Disable photo drag" : "Disabilita il trascinamento delle foto",
"Enable photo drag" : "Abilita il trascinamento delle foto",
"Say hi" : "Saluta",
"Hide suggestions" : "Nascondi suggerimenti",
"Suggest photo locations" : "Suggerisci posizioni per le foto",
"Clear photo cache" : "Cancella la cache delle foto",
"Hi" : "Ciao",
"Show track elevation" : "Mostra quota della traccia",
"My tracks" : "Le mie tracce",
Expand Down Expand Up @@ -85,6 +105,7 @@ OC.L10N.register(
"Select all" : "Seleziona tutto",
"Display picture" : "Mostra l'immagine",
"Remove from selection" : "Rimuovi dalla selezione",
"No suggestions found" : "Nessun suggerimento trovato",
"Quit" : "Esci",
"Load more" : "Carica altro",
"Tracks" : "Tracce",
Expand Down Expand Up @@ -131,8 +152,11 @@ OC.L10N.register(
"Zoom on bounds" : "Zoom sui limiti",
"Undo {action} (Ctrl+Z)" : "Annulla {azione} (Ctrl+Z)",
"Redo {action} (Ctrl+Shift+Z)" : "Rifai {action} (Ctrl+Shift+Z)",
"Move photo" : "Sposta foto",
"Add favorite" : "Aggiungi preferito",
"Edit favorite" : "Modifica preferito",
"Rename favorite category" : "Rinomina la categoria dei preferiti",
"Delete contact address" : "Elimina indirizzo contatto",
"Select All" : "Seleziona tutto",
"Display pictures" : "Mostra immagini",
"Spiderfy" : "Ragno",
Expand Down Expand Up @@ -256,7 +280,18 @@ OC.L10N.register(
"View in Maps" : "Visualizza in Mappe",
"Import as favorites in Maps" : "Importa come preferito in Mappe",
"Import as devices in Maps" : "Importa come dispositivo in Mappe",
"Copy link to map" : "Copia collegamento alla mappa",
"Default Map" : "Mappa predefinita",
"Your Default Map" : "La tua mappa predefinita",
"New Map" : "Nuova mappa",
"Map deleted" : "Mappa eliminata",
"Failed to save map color" : "Impossibile salvare il colore della mappa",
"Failed to delete map" : "Impossibile eliminare la mappa",
"Failed to rename map" : "Impossibile rinominare la mappa",
"Share map not implemented yet, just go to files and share the folder." : "La condivisione della mappa non è ancora implementata, basta andare su File e condividere la cartella.",
"Failed to load your maps" : "Impossibile caricare le mappe",
"Media scan was not done yet. Wait a few minutes/hours and reload this page to see your photos/tracks." : "La scansione multimediale non è stata ancora completata. Attendi qualche minuto/ora e ricarica questa pagina per vedere le tue foto/tracce.",
"Report Error" : "Segnala un errore",
"Failed to get favorites" : "Recupero dei preferiti non riuscito",
"Failed to create favorite" : "Creazione del preferito non riuscita",
"Failed to update favorite" : "Aggiornamento del preferito non riuscito",
Expand Down Expand Up @@ -302,6 +337,12 @@ OC.L10N.register(
"Mapbox settings" : "Impostazioni Mapbox",
"Set the API key to use Mapbox routing service." : "Imposta la chiave API per usare il servizio di instradamento Mapbox.",
"Leave empty to disable." : "Lascia vuoto per disabilitare.",
"Mapbox API key" : "Chiave API Mapbox"
"Mapbox API key" : "Chiave API Mapbox",
"MapLibre Website" : "Sito web MapLibre",
"MapLibre settings" : "Impostazioni di MapLibre",
"Set the URL and Basic Authorization of style.json for OpenStreetMap Vector Tiles with MapLibre-GL-JS." : "Imposta l'URL e l'autorizzazione di base di style.json per i riquadri vettoriali di OpenStreetMap con MapLibre-GL-JS.",
"MapLibre Street style URL" : "URL in stile MapLibre Street",
"Basic Authorization if required. Format is \"user:password\"" : "Autorizzazione di base se richiesta. Il formato è \"user:password\"",
"Maps settings" : "Impostazioni mappe"
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
43 changes: 42 additions & 1 deletion l10n/it.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
{ "translations": {
"Invalid values" : "Valori non validi",
"No such device" : "Nessun dispositivo",
"Map not Found" : "Mappa non trovata",
"No device to export" : "Nessun dispositivo da esportare",
"/Maps is not a directory" : "/Maps non è una cartella",
"/Maps directory is not writeable" : "La directory /Maps non è scrivibile",
"Impossible to create /Maps directory" : "Impossibile creare la cartella /Maps",
"Nothing to export" : "Nulla da esportare",
"Invalid file extension" : "Estensione del file non valida",
"Impossible to read the file" : "Impossibile leggere il file",
"File does not exist" : "Il file non esiste",
"Error sharing device" : "Errore durante la condivisione del dispositivo",
"Share not Found" : "Condivisione non trovata",
"Share was already on map" : "La condivisione era già sulla mappa",
"No such favorite" : "Nessun preferito",
"invalid values" : "valori non validi",
"no such favorite" : "nessun preferito",
"Unknown category" : "Categoria sconosciuta",
"Error sharing favorite" : "Errore nella condivisione dei preferiti",
"Bad file type" : "Tipo di file non valido",
"File not found" : "File non trovato",
"Personal" : "Personale",
"Maps" : "Mappe",
Expand All @@ -18,9 +27,13 @@
"My contacts" : "I miei contatti",
"Toggle all" : "Commuta tutto",
"Zoom" : "Ingrandisci",
"Copy to map" : "Copia sulla mappa",
"Hide history" : "Nascondi cronologia",
"Show history" : "Mostra cronologia",
"Change color" : "Cambia colore",
"Zoom on area" : "Zoom sull'area",
"Export" : "Esporta",
"Link to map" : "Collegamento alla mappa",
"Delete" : "Elimina",
"My devices" : "I miei dispositivi",
"Refresh positions" : "Aggiorna posizioni",
Expand All @@ -39,15 +52,22 @@
"Create share link" : "Crea collegamento di condivisione",
"Copied!" : "Copiato!",
"Copy share link" : "Copia collegamento di condivisione",
"Leave share" : "Lascia la condivisione",
"Cancel" : "Annulla",
"Link copied" : "Collegamento copiato",
"Link could not be copied to clipboard." : "Impossibile copiare il collegamento negli appunti.",
"Open folder" : "Apri cartella",
"Share" : "Condividi",
"My maps" : "Le mie mappe",
"New map" : "Nuova mappa",
"Add Map" : "Aggiungi mappa",
"My photos" : "Le mie foto",
"Disable photo drag" : "Disabilita il trascinamento delle foto",
"Enable photo drag" : "Abilita il trascinamento delle foto",
"Say hi" : "Saluta",
"Hide suggestions" : "Nascondi suggerimenti",
"Suggest photo locations" : "Suggerisci posizioni per le foto",
"Clear photo cache" : "Cancella la cache delle foto",
"Hi" : "Ciao",
"Show track elevation" : "Mostra quota della traccia",
"My tracks" : "Le mie tracce",
Expand Down Expand Up @@ -83,6 +103,7 @@
"Select all" : "Seleziona tutto",
"Display picture" : "Mostra l'immagine",
"Remove from selection" : "Rimuovi dalla selezione",
"No suggestions found" : "Nessun suggerimento trovato",
"Quit" : "Esci",
"Load more" : "Carica altro",
"Tracks" : "Tracce",
Expand Down Expand Up @@ -129,8 +150,11 @@
"Zoom on bounds" : "Zoom sui limiti",
"Undo {action} (Ctrl+Z)" : "Annulla {azione} (Ctrl+Z)",
"Redo {action} (Ctrl+Shift+Z)" : "Rifai {action} (Ctrl+Shift+Z)",
"Move photo" : "Sposta foto",
"Add favorite" : "Aggiungi preferito",
"Edit favorite" : "Modifica preferito",
"Rename favorite category" : "Rinomina la categoria dei preferiti",
"Delete contact address" : "Elimina indirizzo contatto",
"Select All" : "Seleziona tutto",
"Display pictures" : "Mostra immagini",
"Spiderfy" : "Ragno",
Expand Down Expand Up @@ -254,7 +278,18 @@
"View in Maps" : "Visualizza in Mappe",
"Import as favorites in Maps" : "Importa come preferito in Mappe",
"Import as devices in Maps" : "Importa come dispositivo in Mappe",
"Copy link to map" : "Copia collegamento alla mappa",
"Default Map" : "Mappa predefinita",
"Your Default Map" : "La tua mappa predefinita",
"New Map" : "Nuova mappa",
"Map deleted" : "Mappa eliminata",
"Failed to save map color" : "Impossibile salvare il colore della mappa",
"Failed to delete map" : "Impossibile eliminare la mappa",
"Failed to rename map" : "Impossibile rinominare la mappa",
"Share map not implemented yet, just go to files and share the folder." : "La condivisione della mappa non è ancora implementata, basta andare su File e condividere la cartella.",
"Failed to load your maps" : "Impossibile caricare le mappe",
"Media scan was not done yet. Wait a few minutes/hours and reload this page to see your photos/tracks." : "La scansione multimediale non è stata ancora completata. Attendi qualche minuto/ora e ricarica questa pagina per vedere le tue foto/tracce.",
"Report Error" : "Segnala un errore",
"Failed to get favorites" : "Recupero dei preferiti non riuscito",
"Failed to create favorite" : "Creazione del preferito non riuscita",
"Failed to update favorite" : "Aggiornamento del preferito non riuscito",
Expand Down Expand Up @@ -300,6 +335,12 @@
"Mapbox settings" : "Impostazioni Mapbox",
"Set the API key to use Mapbox routing service." : "Imposta la chiave API per usare il servizio di instradamento Mapbox.",
"Leave empty to disable." : "Lascia vuoto per disabilitare.",
"Mapbox API key" : "Chiave API Mapbox"
"Mapbox API key" : "Chiave API Mapbox",
"MapLibre Website" : "Sito web MapLibre",
"MapLibre settings" : "Impostazioni di MapLibre",
"Set the URL and Basic Authorization of style.json for OpenStreetMap Vector Tiles with MapLibre-GL-JS." : "Imposta l'URL e l'autorizzazione di base di style.json per i riquadri vettoriali di OpenStreetMap con MapLibre-GL-JS.",
"MapLibre Street style URL" : "URL in stile MapLibre Street",
"Basic Authorization if required. Format is \"user:password\"" : "Autorizzazione di base se richiesta. Il formato è \"user:password\"",
"Maps settings" : "Impostazioni mappe"
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
2 changes: 1 addition & 1 deletion l10n/lv.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OC.L10N.register(
"Load more" : "Ielādēt vairāk",
"Devices" : "Ierīces",
"Tags" : "Birkas",
"Favorite" : "Favorīts",
"Favorite" : "Izlasē",
"Duration" : "Ilgums",
"End" : "Beigas",
"Name" : "Nosaukums",
Expand Down
2 changes: 1 addition & 1 deletion l10n/lv.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"Load more" : "Ielādēt vairāk",
"Devices" : "Ierīces",
"Tags" : "Birkas",
"Favorite" : "Favorīts",
"Favorite" : "Izlasē",
"Duration" : "Ilgums",
"End" : "Beigas",
"Name" : "Nosaukums",
Expand Down
Loading

0 comments on commit 370f636

Please sign in to comment.