Skip to content

Commit

Permalink
Rename Cyclassist to Cygnal
Browse files Browse the repository at this point in the history
  • Loading branch information
Phyks committed Jan 22, 2019
1 parent cdd6533 commit 98f13a3
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 15 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="@PhyksIsHere" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Cyclassist: your bike companion!" />
<meta property="og:title" content="Cygnal: your bike companion!" />
<meta property="og:description" content="Track and share issues (work, interruption in routes, parked cars) on bike lanes in realtime!" />
<meta property="og:url" content="<%= htmlWebpackPlugin.options.ogURL %>" />
<meta property="og:image" content="<%= htmlWebpackPlugin.options.ogImage %>" />

<link type="text/plain" rel="author" href="humans.txt" />

<title>Cyclassist: your bike companion!</title>
<title>Cygnal: your bike companion!</title>
</head>
<body>
<div id="app">
<noscript>
<h1>Cyclassist</h1>
<h1>Cygnal</h1>
<h2>Track and share issues (work, interruption in routes, parked cars) on bike lanes in realtime!</h2>
<p>Sorry, JavaScript is required to run this webapp.</p>
</noscript>
Expand Down
1 change: 0 additions & 1 deletion src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/ReportIssueModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</template>

<script>
import { CONTACT_EMAIL_ADDRESS } from '@/constants';
import { APP_NAME, CONTACT_EMAIL_ADDRESS } from '@/constants';
import Modal from '@/components/Modal.vue';
Expand All @@ -78,7 +78,7 @@ export default {
if (this.shouldIncludeGPX) {
mailText += `\n\nGPX trace: ${JSON.stringify(this.$store.state.location.gpx)}.`;
}
return `mailto:${CONTACT_EMAIL_ADDRESS}?subject=Issue%20with%20Cyclassist&body=${encodeURIComponent(mailText)}`;
return `mailto:${CONTACT_EMAIL_ADDRESS}?subject=Issue%20with%20${APP_NAME}&body=${encodeURIComponent(mailText)}`;
},
},
data() {
Expand Down
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ export const DELAY_BETWEEN_API_BATCH_REQUESTS = 1000;
export const REPORT_ALARM_VIBRATION_SEQUENCE = [500];

// Email address to send issues to
export const CONTACT_EMAIL_ADDRESS = 'phyks+cyclassist@phyks.me';
export const CONTACT_EMAIL_ADDRESS = 'phyks+cygnal@phyks.me';
2 changes: 1 addition & 1 deletion src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"availableReportsTitle": "The available reports so far are:",
"lastReportAdded": "Last report added {fromNow}.",
"license": "License",
"licenseDescription": "It is released under an <a href=\"https://opensource.org/licenses/MIT\">MIT license</a> (<a href=\"https://framagit.org/phyks/cyclassist\">source code</a>). Icons are based on creations from Wikimedia, Vecteezy, Pixabay or Flaticon. Sounds are based on CC0 works from <a href=\"https://freesound.org/\">freesound.org</a>. The map background is using tiles from <a href=\"https://carto.com/location-data-services/basemaps/\">Carto.com</a> or <a href=\"http://thunderforest.com/\">Thunderforest</a>, thanks to <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap contributors</a> and <a href=\"http://leafletjs.com/\">Leaflet</a>. Collected reports are available under <a href=\"https://opendatacommons.org/licenses/odbl/\">ODbL license</a>. Manual location picking uses the awesome API from <a href=\"https://adresse.data.gouv.fr\">adresse.data.gouv.fr</a>. Opendata about current roadworks are imported from the Département des Hauts-de-Seine, Lille, Lyon, Nancy, the Département de Seine-Saint-Denis, Sicoval and Versailles (all available under Etalab Licence Ouverte) as well as from Montpellier, Paris, Rennes and Toulouse (all available under ODbL license) and from the Département du Loiret. All opendata sources are fetched daily. More info about the licenses can be found in <a href=\"https://framagit.org/phyks/cyclassist/blob/master/README.md#license\">the README</a>.",
"licenseDescription": "It is released under an <a href=\"https://opensource.org/licenses/MIT\">MIT license</a> (<a href=\"https://framagit.org/phyks/cygnal\">source code</a>). Icons are based on creations from Wikimedia, Vecteezy, Pixabay or Flaticon. Sounds are based on CC0 works from <a href=\"https://freesound.org/\">freesound.org</a>. The map background is using tiles from <a href=\"https://carto.com/location-data-services/basemaps/\">Carto.com</a> or <a href=\"http://thunderforest.com/\">Thunderforest</a>, thanks to <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap contributors</a> and <a href=\"http://leafletjs.com/\">Leaflet</a>. Collected reports are available under <a href=\"https://opendatacommons.org/licenses/odbl/\">ODbL license</a>. Manual location picking uses the awesome API from <a href=\"https://adresse.data.gouv.fr\">adresse.data.gouv.fr</a>. Opendata about current roadworks are imported from the Département des Hauts-de-Seine, Lille, Lyon, Nancy, the Département de Seine-Saint-Denis, Sicoval and Versailles (all available under Etalab Licence Ouverte) as well as from Montpellier, Paris, Rennes and Toulouse (all available under ODbL license) and from the Département du Loiret. All opendata sources are fetched daily. More info about the licenses can be found in <a href=\"https://framagit.org/phyks/cygnal/blob/master/README.md#license\">the README</a>.",
"nbActiveReports": "No active report. |\u00a0One active report. | {nbActiveReports} active reports.",
"nbReports": "No report. | One report. | {nbReports} reports.",
"stats": "Stats",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"availableReportsTitle": "Les signalements disponibles pour l'instant sont :",
"lastReportAdded": "Dernier signalement ajout\u00e9 {fromNow}.",
"license": "Licence",
"licenseDescription": "Le code source est sous <a href=\"https://opensource.org/licenses/MIT\">licence MIT</a> (<a href=\"https://framagit.org/phyks/cyclassist\">code source</a>). Les ic\u00f4nes sont bas\u00e9es sur des travaux de Wikimedia, Vecteezy, Pixabay ou Flaticon. Les sons sont bas\u00e9s sur des \u0153uvres sous CC0 de <a href=\"https://freesound.org/\">freesound.org</a>. Les tuiles de fond de carte proviennent de chez <a href=\"https://carto.com/location-data-services/basemaps/\">Carto.com</a> ou <a href=\"http://thunderforest.com/\">Thunderforest</a>, gr\u00e2ce aux <a href=\"https://www.openstreetmap.org/copyright\">contributeurs OpenStreetMap</a> et \u00e0 <a href=\"http://leafletjs.com/\">Leaflet</a>. Les signalements sont disponibles sous <a href=\"https://opendatacommons.org/licenses/odbl/\">licence ODbL</a>. La saisie manuelle de la position utilise l'excellente API de <a href=\"https://adresse.data.gouv.fr\">adresse.data.gouv.fr</a>. Les donn\u00e9es ouvertes des travaux en cours sont import\u00e9es depuis celles fournies par le D\u00e9partement des Hauts-de-Seine, Lille, Lyon, Nancy, le D\u00e9partement de Seine-Saint-Denis, Sicoval et Versailles (toutes disponibles sous licence Etalab Licence Ouverte) ainsi que par Montpellier, Paris, Rennes et Toulouse (toutes disponibles sous licence ODbL) et par le D\u00e9partement du Loiret. Toutes les donn\u00e9es ouvertes sont rafra\u00eechies quotidiennement. Plus d'informations sur les licences sont disponibles dans <a href=\"https://framagit.org/phyks/cyclassist/blob/master/README.md#license\">le README</a>.",
"licenseDescription": "Le code source est sous <a href=\"https://opensource.org/licenses/MIT\">licence MIT</a> (<a href=\"https://framagit.org/phyks/cygnal\">code source</a>). Les ic\u00f4nes sont bas\u00e9es sur des travaux de Wikimedia, Vecteezy, Pixabay ou Flaticon. Les sons sont bas\u00e9s sur des \u0153uvres sous CC0 de <a href=\"https://freesound.org/\">freesound.org</a>. Les tuiles de fond de carte proviennent de chez <a href=\"https://carto.com/location-data-services/basemaps/\">Carto.com</a> ou <a href=\"http://thunderforest.com/\">Thunderforest</a>, gr\u00e2ce aux <a href=\"https://www.openstreetmap.org/copyright\">contributeurs OpenStreetMap</a> et \u00e0 <a href=\"http://leafletjs.com/\">Leaflet</a>. Les signalements sont disponibles sous <a href=\"https://opendatacommons.org/licenses/odbl/\">licence ODbL</a>. La saisie manuelle de la position utilise l'excellente API de <a href=\"https://adresse.data.gouv.fr\">adresse.data.gouv.fr</a>. Les donn\u00e9es ouvertes des travaux en cours sont import\u00e9es depuis celles fournies par le D\u00e9partement des Hauts-de-Seine, Lille, Lyon, Nancy, le D\u00e9partement de Seine-Saint-Denis, Sicoval et Versailles (toutes disponibles sous licence Etalab Licence Ouverte) ainsi que par Montpellier, Paris, Rennes et Toulouse (toutes disponibles sous licence ODbL) et par le D\u00e9partement du Loiret. Toutes les donn\u00e9es ouvertes sont rafra\u00eechies quotidiennement. Plus d'informations sur les licences sont disponibles dans <a href=\"https://framagit.org/phyks/cygnal/blob/master/README.md#license\">le README</a>.",
"nbActiveReports": "Aucun signalement actif. | Un signalement actif. | {nbActiveReports} signalements actifs.",
"nbReports": "Aucun signalement. | Un signalement. | {nbReports} signalements.",
"stats": "Statistiques",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/oc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"availableReportsTitle": "Los senhalaments disponibles pel moment son :",
"lastReportAdded": "Darri\u00e8ra senhalament ajustat {fromNow}.",
"license": "Lic\u00e9ncia",
"licenseDescription": "Publicat jos la <a href=\"https://opensource.org/licenses/MIT\">lic\u00e9ncia MIT</a> (<a href=\"https://framagit.org/phyks/cyclassist\">c\u00f2di font</a>). Ic\u00f2nas basadas sus de creacions de Wikimedia, Vecteezy, Pixabay o Flaticon. Los sons venon del trabalh de CC0 sus <a href=\"https://freesound.org/\">freesound.org</a>. Lo fons de la carta utiliza de teulas de <a href=\"https://carto.com/location-data-services/basemaps/\">Carto.com</a> o <a href=\"http://thunderforest.com/\">Thunderforest</a>, gr\u00e0cia als <a href=\"https://www.openstreetmap.org/copyright\">contribuidors d\u2019OpenStreetMap</a> e <a href=\"http://leafletjs.com/\">Leaflet</a>. Los senhalaments reculhits son disponibles jos <a href=\"https://opendatacommons.org/licenses/odbl/\">lic\u00e9ncia ODbL</a>. Lo posicionament manual utiliza una API tr\u00f2pa crana de <a href=\"https://adresse.data.gouv.fr\">adresse.data.gouv.fr</a>. Las donadas liuras en Opendata tocant lo trafic actual son importats de lo departament de Hauts-de-Seine, Lilla, Lion, Nanc\u00ed, lo departament de S\u00e8ina Saint Denis, lo Sicoval e Versailles (totas disponibales jos Etalab Licence Ouverte) tot pari\u00e8r per Montpelhi\u00e8r, Par\u00eds, Rennes e Tolosa (totas disponiblas jos la lic\u00e9ncia ODbL) e del departament de Loiret. Totas las donadas son recuperadas cada jorn. Mai d\u2019informacions tocant las lic\u00e9ncias dins <a href=\"https://framagit.org/phyks/cyclassist/blob/master/README.md#license\">lo README</a>.",
"licenseDescription": "Publicat jos la <a href=\"https://opensource.org/licenses/MIT\">lic\u00e9ncia MIT</a> (<a href=\"https://framagit.org/phyks/cygnal\">c\u00f2di font</a>). Ic\u00f2nas basadas sus de creacions de Wikimedia, Vecteezy, Pixabay o Flaticon. Los sons venon del trabalh de CC0 sus <a href=\"https://freesound.org/\">freesound.org</a>. Lo fons de la carta utiliza de teulas de <a href=\"https://carto.com/location-data-services/basemaps/\">Carto.com</a> o <a href=\"http://thunderforest.com/\">Thunderforest</a>, gr\u00e0cia als <a href=\"https://www.openstreetmap.org/copyright\">contribuidors d\u2019OpenStreetMap</a> e <a href=\"http://leafletjs.com/\">Leaflet</a>. Los senhalaments reculhits son disponibles jos <a href=\"https://opendatacommons.org/licenses/odbl/\">lic\u00e9ncia ODbL</a>. Lo posicionament manual utiliza una API tr\u00f2pa crana de <a href=\"https://adresse.data.gouv.fr\">adresse.data.gouv.fr</a>. Las donadas liuras en Opendata tocant lo trafic actual son importats de lo departament de Hauts-de-Seine, Lilla, Lion, Nanc\u00ed, lo departament de S\u00e8ina Saint Denis, lo Sicoval e Versailles (totas disponibales jos Etalab Licence Ouverte) tot pari\u00e8r per Montpelhi\u00e8r, Par\u00eds, Rennes e Tolosa (totas disponiblas jos la lic\u00e9ncia ODbL) e del departament de Loiret. Totas las donadas son recuperadas cada jorn. Mai d\u2019informacions tocant las lic\u00e9ncias dins <a href=\"https://framagit.org/phyks/cygnal/blob/master/README.md#license\">lo README</a>.",
"nbActiveReports": "Cap de senhalament actiu. |\u00a0Un senhalament actiu. | {nbActiveReports} senhalaments actius.",
"nbReports": "Cap de senhalament. | Un senhalament. | {nbReports} senhalaments.",
"stats": "Estatisticas",
Expand Down
6 changes: 3 additions & 3 deletions src/tools/exportGPX.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FileSaver from 'file-saver';
import createGPX from 'gps-to-gpx/es/createGpx';

import { VERSION } from '@/constants';
import { APP_NAME, VERSION } from '@/constants';
import { formatDate } from '@/tools/date';

export default function (activityName, locationGPX) {
Expand Down Expand Up @@ -40,7 +40,7 @@ export default function (activityName, locationGPX) {
});
const gpx = createGPX(waypoints, {
activityName,
creator: `Cycl'Assist v${VERSION}`,
creator: `${APP_NAME} v${VERSION}`,
eleKey,
extKey,
hdopKey,
Expand All @@ -52,6 +52,6 @@ export default function (activityName, locationGPX) {
});
FileSaver.saveAs(
new Blob([gpx], { type: 'application/gpx+xml;charset=utf-8' }),
`cyclassist_${formatDate(new Date(), 'YYYY-MM-DD_HH-mm_ddd')}.gpx`,
`${APP_NAME.toLowerCase()}_${formatDate(new Date(), 'YYYY-MM-DD_HH-mm_ddd')}.gpx`,
);
}
4 changes: 2 additions & 2 deletions src/views/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ export default {
createNotification() {
const $t = this.$t.bind(this);
this.notification = new Notification(
'Cycl\'Assist',
{ body: $t('notification.body'), icon: AppLogo, tag: 'CyclassistMap' },
constants.APP_NAME,
{ body: $t('notification.body'), icon: AppLogo, tag: `${constants.APP_NAME}Map` },
);
this.notification.addEventListener('click', () => {
this.showReportDialog();
Expand Down

0 comments on commit 98f13a3

Please sign in to comment.