From d3b6a9e4ee58d965f5b483ec340ecd215370c4be Mon Sep 17 00:00:00 2001 From: vmarc Date: Thu, 20 Jun 2024 07:59:50 +0200 Subject: [PATCH] release 5.0.3 --- frontend/package.json | 2 +- frontend/src/app/shared/services/version.ts | 2 +- server/pom.xml | 2 +- .../kpn/database/base/DatabaseImpl.scala | 50 +++++++++---------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index f37caf3c6..3e42b8e92 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "5.0.0", + "version": "5.0.3", "scripts": { "serve": "ng serve --proxy-config src/proxy-dev.conf.mjs", "serve:vmarc": "ng serve --proxy-config src/proxy-vmarc.conf.mjs", diff --git a/frontend/src/app/shared/services/version.ts b/frontend/src/app/shared/services/version.ts index 3a31e381d..afae06a76 100644 --- a/frontend/src/app/shared/services/version.ts +++ b/frontend/src/app/shared/services/version.ts @@ -1,4 +1,4 @@ export class Version { - static readonly id = '5.0.0'; + static readonly id = '5.0.3'; static readonly experimental = false; } diff --git a/server/pom.xml b/server/pom.xml index bd0a5a3ae..553956f18 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -5,7 +5,7 @@ knooppuntnet server - 5.0.2 + 5.0.3 server knooppuntnet server diff --git a/server/src/main/scala/kpn/database/base/DatabaseImpl.scala b/server/src/main/scala/kpn/database/base/DatabaseImpl.scala index d69a3d6f2..e160f5368 100644 --- a/server/src/main/scala/kpn/database/base/DatabaseImpl.scala +++ b/server/src/main/scala/kpn/database/base/DatabaseImpl.scala @@ -50,71 +50,71 @@ class DatabaseImpl(val database: MongoDatabase) extends Database { } override def networks: DatabaseCollection[NetworkDoc] = { - new DatabaseCollectionImpl(database.getCollection[NetworkDoc]("networks")) + new DatabaseCollectionImpl(database.getCollection[NetworkDoc]("old-networks")) } override def networkInfos: DatabaseCollection[NetworkInfoDoc] = { - new DatabaseCollectionImpl(database.getCollection[NetworkInfoDoc]("network-infos")) + new DatabaseCollectionImpl(database.getCollection[NetworkInfoDoc]("old-network-infos")) } override def nodes: DatabaseCollection[NodeDoc] = { - new DatabaseCollectionImpl(database.getCollection[NodeDoc]("nodes")) + new DatabaseCollectionImpl(database.getCollection[NodeDoc]("old-nodes")) } override def orphanNodes: DatabaseCollection[OrphanNodeDoc] = { - new DatabaseCollectionImpl(database.getCollection[OrphanNodeDoc]("orphan-nodes")) + new DatabaseCollectionImpl(database.getCollection[OrphanNodeDoc]("old-orphan-nodes")) } override def routes: DatabaseCollection[RouteDoc] = { - new DatabaseCollectionImpl(database.getCollection[RouteDoc]("routes")) + new DatabaseCollectionImpl(database.getCollection[RouteDoc]("old-routes")) } override def orphanRoutes: DatabaseCollection[OrphanRouteDoc] = { - new DatabaseCollectionImpl(database.getCollection[OrphanRouteDoc]("orphan-routes")) + new DatabaseCollectionImpl(database.getCollection[OrphanRouteDoc]("old-orphan-routes")) } override def networkChanges: DatabaseCollection[NetworkChange] = { - new DatabaseCollectionImpl(database.getCollection[NetworkChange]("network-changes")) + new DatabaseCollectionImpl(database.getCollection[NetworkChange]("old-network-changes")) } override def networkInfoChanges: DatabaseCollection[NetworkInfoChange] = { - new DatabaseCollectionImpl(database.getCollection[NetworkInfoChange]("network-info-changes")) + new DatabaseCollectionImpl(database.getCollection[NetworkInfoChange]("old-network-info-changes")) } override def routeChanges: DatabaseCollection[RouteChange] = { - new DatabaseCollectionImpl(database.getCollection[RouteChange]("route-changes")) + new DatabaseCollectionImpl(database.getCollection[RouteChange]("old-route-changes")) } override def nodeChanges: DatabaseCollection[NodeChange] = { - new DatabaseCollectionImpl(database.getCollection[NodeChange]("node-changes")) + new DatabaseCollectionImpl(database.getCollection[NodeChange]("old-node-changes")) } override def changeSetComments: DatabaseCollection[ChangeSetComment] = { - new DatabaseCollectionImpl(database.getCollection[ChangeSetComment]("changeset-comments")) + new DatabaseCollectionImpl(database.getCollection[ChangeSetComment]("old-changeset-comments")) } override def changes: DatabaseCollection[ChangeSetSummary] = { - new DatabaseCollectionImpl(database.getCollection[ChangeSetSummary]("changes")) + new DatabaseCollectionImpl(database.getCollection[ChangeSetSummary]("old-changes")) } override def nodeNetworkRefs: DatabaseCollection[NodeNetworkRef] = { - new DatabaseCollectionImpl(database.getCollection[NodeNetworkRef]("node-network-refs")) + new DatabaseCollectionImpl(database.getCollection[NodeNetworkRef]("old-node-network-refs")) } override def routeNetworkRefs: DatabaseCollection[RouteNetworkRef] = { - new DatabaseCollectionImpl(database.getCollection[RouteNetworkRef]("route-network-refs")) + new DatabaseCollectionImpl(database.getCollection[RouteNetworkRef]("old-route-network-refs")) } override def changeSets: DatabaseCollection[ChangeSetInfo] = { - new DatabaseCollectionImpl(database.getCollection[ChangeSetInfo]("changesets")) + new DatabaseCollectionImpl(database.getCollection[ChangeSetInfo]("old-changesets")) } override def pois: DatabaseCollection[Poi] = { - new DatabaseCollectionImpl(database.getCollection[Poi]("pois")) + new DatabaseCollectionImpl(database.getCollection[Poi]("old-pois")) } override def poiStates: DatabaseCollection[PoiState] = { - new DatabaseCollectionImpl(database.getCollection[PoiState]("poi-states")) + new DatabaseCollectionImpl(database.getCollection[PoiState]("old-poi-states")) } override def tasks: DatabaseCollection[Task] = { @@ -122,31 +122,31 @@ class DatabaseImpl(val database: MongoDatabase) extends Database { } override def monitorGroups: DatabaseCollection[MonitorGroup] = { - new DatabaseCollectionImpl(database.getCollection[MonitorGroup]("monitor-groups")) + new DatabaseCollectionImpl(database.getCollection[MonitorGroup]("old-monitor-groups")) } override def monitorRoutes: DatabaseCollection[MonitorRoute] = { - new DatabaseCollectionImpl(database.getCollection[MonitorRoute]("monitor-routes")) + new DatabaseCollectionImpl(database.getCollection[MonitorRoute]("old-monitor-routes")) } override def monitorRouteReferences: DatabaseCollection[MonitorRouteReference] = { - new DatabaseCollectionImpl(database.getCollection[MonitorRouteReference]("monitor-route-references")) + new DatabaseCollectionImpl(database.getCollection[MonitorRouteReference]("old-monitor-route-references")) } override def monitorRouteStates: DatabaseCollection[MonitorRouteState] = { - new DatabaseCollectionImpl(database.getCollection[MonitorRouteState]("monitor-route-states")) + new DatabaseCollectionImpl(database.getCollection[MonitorRouteState]("old-monitor-route-states")) } override def monitorRouteChanges: DatabaseCollection[MonitorRouteChange] = { - new DatabaseCollectionImpl(database.getCollection[MonitorRouteChange]("monitor-route-changes")) + new DatabaseCollectionImpl(database.getCollection[MonitorRouteChange]("old-monitor-route-changes")) } override def monitorRouteChangeGeometries: DatabaseCollection[MonitorRouteChangeGeometry] = { - new DatabaseCollectionImpl(database.getCollection[MonitorRouteChangeGeometry]("monitor-route-change-geometries")) + new DatabaseCollectionImpl(database.getCollection[MonitorRouteChangeGeometry]("old-monitor-route-change-geometries")) } override def monitorRelations: DatabaseCollection[MonitorRelation] = { - new DatabaseCollectionImpl(database.getCollection[MonitorRelation]("monitor-relations")) + new DatabaseCollectionImpl(database.getCollection[MonitorRelation]("old-monitor-relations")) } override def monitorTasks: DatabaseCollection[MonitorTask] = { @@ -154,7 +154,7 @@ class DatabaseImpl(val database: MongoDatabase) extends Database { } override def statistics: DatabaseCollection[StatisticLongValues] = { - new DatabaseCollectionImpl(database.getCollection[StatisticLongValues]("statistics")) + new DatabaseCollectionImpl(database.getCollection[StatisticLongValues]("old-statistics")) } override def status: DatabaseCollection[WithStringId] = {