-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from catalogueglobal/dev
v2.0.0
- Loading branch information
Showing
324 changed files
with
20,643 additions
and
12,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ignore] | ||
.*/node_modules/auth0-lock/.* | ||
.*/node_modules/config-chain/.* | ||
.*/node_modules/fbjs/flow/.* | ||
.*/node_modules/mapbox.js/docs/examples/.* | ||
.*/node_modules/nock/node_modules/changelog/examples/.* | ||
.*/node_modules/npmconf/.* | ||
.*/node_modules/react-leaflet/src/.* | ||
.*/node_modules/reqwest/.* | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[options] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
AUTH0_CLIENT_ID: test | ||
AUTH0_DOMAIN: test.com | ||
MAPZEN_TURN_BY_TURN_KEY: test | ||
MAPBOX_ACCESS_TOKEN: test | ||
MAPBOX_MAP_ID: test | ||
MAPBOX_ATTRIBUTION: <a href="https://www.mapbox.com/about/maps/" target="_blank">© Mapbox © OpenStreetMap</a> <a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
entries: | ||
- lib/main.js:dist/index.js | ||
- lib/index.css:dist/index.css | ||
application: | ||
data: | ||
gtfs_s3_bucket: bucket-name | ||
use_s3_storage: false | ||
title: Data Manager | ||
logo: http://lorempixel.com/400/200/ | ||
active_project: project-id | ||
notifications_enabled: false | ||
docs_url: http://docs.example.com | ||
changelog_url: https://changelog.example.com | ||
support_email: [email protected] | ||
date_format: MMM Do YYYY | ||
modules: | ||
enterprise: | ||
enabled: false | ||
editor: | ||
enabled: true | ||
user_admin: | ||
enabled: true | ||
validator: | ||
enabled: true | ||
extensions: | ||
transitland: | ||
enabled: false | ||
transitfeeds: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Migration | ||
|
||
## Migrating manager application data | ||
datatools-server offers a way to migrate application data (e.g., due to either breaking application schema changes or server changes). **Note:** this process requires temporarily exposing a `GET` request that exposes the entirety of the manager database. | ||
|
||
1. Set the config setting `modules:dump:enabled` to `true`. | ||
2. Restart the application. | ||
3. Download copy of application data to local json file `curl localhost:4000/dump > db_backup.json`. | ||
4. Change dump config setting back to `false`. | ||
5. (optional) If looking to reload into the existing server, delete the manager mapdb (`.db` and `.dbp`) files in `application:data:mapdb` | ||
6. Follow instructions in [`/scripts/load.py`](https://github.com/conveyal/datatools-ui/blob/master/scripts/load.py) to upload the json data to the new server. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// flow-typed signature: 801d87d0bccd96d1e1a9c0fd6a351c79 | ||
// flow-typed version: <<STUB>>/@conveyal/lonlat_v^1.3.0/flow_v0.37.0 | ||
|
||
declare module '@conveyal/lonlat' { | ||
declare type coordinatesInput = [number, number] | ||
declare type objectInput = { | ||
lat?: number, | ||
latitude?: number, | ||
lon?: number, | ||
lng?: number, | ||
longitude?: number | ||
} | ||
declare type pointInput = {x: number, y: number} | ||
declare type standardizedLonLat = { | ||
lat: number, | ||
lon: number | ||
} | ||
|
||
declare export default function normalize(mixed): standardizedLonLat | ||
|
||
declare export function isEqual(mixed, mixed, ?number): boolean | ||
declare export function print(mixed): string | ||
declare export function toCoordinates(mixed): [number, number] | ||
declare export function toLeaflet(mixed): {lat: number, lng: number} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// flow-typed signature: 47370d221401bec823c43c3598266e26 | ||
// flow-typed version: ec28077c25/isomorphic-fetch_v2.x.x/flow_>=v0.25.x | ||
|
||
declare module 'isomorphic-fetch' { | ||
declare module.exports: (input: string | Request | URL, init?: RequestOptions) => Promise<Response>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// flow-typed signature: b1bcad4f459d3e23e1460c8b17a4feea | ||
// flow-typed version: <<STUB>>/lodash.throttle_v^4.1.1/flow_v0.37.0 | ||
|
||
declare module 'lodash.throttle' { | ||
declare export default function throttle<T>((...T) => void, number): (...T) => void | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
declare module 'lodash.tolower' { | ||
declare export default (string) => string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
declare module 'lodash.upperfirst' { | ||
declare export default (string) => string | ||
} |
Oops, something went wrong.