Skip to content

Commit

Permalink
adding missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
aboivert committed Sep 4, 2024
1 parent 7b8e0fb commit 6de2b3d
Show file tree
Hide file tree
Showing 5 changed files with 15,755 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Conveyal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# datatools-ui

[![Join the chat at https://matrix.to/#/#transit-data-tools:gitter.im](https://badges.gitter.im/repo.png)](https://matrix.to/#/#transit-data-tools:gitter.im)

The core application for IBI Group's TRANSIT-Data-Tools suite. This application provides GTFS editing, management, validation, and deployment to OpenTripPlanner.

## Quick Start

A pre-configured datatools instance can be lauched via Docker by running

```bash
cd docker
cp ../configurations/default/env.yml.tmp ../configurations/default/env.yml
docker-compose up
```

from the datatools-ui directory. Datatools will then be running on port `9966`.

Deployment functionality will not work, and persistence may only work in certain cases (look into Docker volumes for more info).

## Configuration

This repository serves as the front end UI for the Data Manager application. It must be run in conjunction with [datatools-server](https://github.com/conveyal/datatools-server)

## Documentation

View the [latest release documentation](http://data-tools-docs.ibi-transit.com/en/latest/) at ReadTheDocs for more info on deployment and development as well as a user guide.

Note: `dev` branch docs (which refer to the default `branch` and are more up-to-date and accurate for most users) can be found [here](http://data-tools-docs.ibi-transit.com/en/dev/).

## Getting in touch

We have a Gitter [space](https://matrix.to/#/#transit-data-tools:gitter.im) for the full TRANSIT-Data-Tools project where you can post questions and comments.

## Shoutouts 🙏

<img src="browserstack-logo-600x315.png" height="80" title="BrowserStack Logo" alt="BrowserStack Logo" />

Big thanks to [BrowserStack](https://www.browserstack.com) for letting the maintainers use their service to debug browser issues.

<img src="https://www.graphhopper.com/wp-content/uploads/2018/03/graphhopper-logo-small.png" height="25" alt="GraphHopper Logo" />

Street snapping powered by the <a href="https://www.graphhopper.com/">GraphHopper API</a>.
35 changes: 35 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
site_name: TRANSIT-data-tools Docs
site_url: http://conveyal-data-tools.readthedocs.io
repo_url: https://github.com/conveyal/datatools-manager
docs_dir: docs
site_dir: target/mkdocs
theme: readthedocs
extra_css: [style.css]

nav:
- Home: 'index.md'
- Data Manager:
- 'Introduction': 'user/introduction.md'
- 'Managing Projects & Feeds': 'user/managing-projects-feeds.md'
- 'Managing Users': 'user/managing-users.md'
- 'GTFS Editor':
- Getting Started: 'user/editor/getting-started.md'
- Stops: 'user/editor/stops.md'
- Routes: 'user/editor/routes.md'
- Patterns: 'user/editor/patterns.md'
- Schedules: 'user/editor/schedules.md'
- Fares: 'user/editor/fares.md'
- Deploying to OTP:
- Overview: 'user/otp-deployment.md'
- Setting up AWS servers: 'user/setting-up-aws-servers.md'
- Adding a deployment server: 'user/add-deployment-server.md'
- Deploying GTFS feeds to OTP: 'user/deploying-feeds.md'
- For Developers:
- Deployment: 'dev/deployment.md'
- Development: 'dev/development.md'
- Migration: 'dev/migration.md'
- Localization: 'dev/localization.md'
- API Interaction: 'dev/api_interaction.md'
- Appendices:
- GTFS Validation Warnings: 'user/appendix-gtfs-warnings.md'

209 changes: 209 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
{
"name": "datatools-manager",
"version": "0.0.0-development",
"description": "Core application for the IBI Group transit data tools suite",
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/__tests__/test-utils/setup-test-framework.js"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ibi-group/datatools-ui.git"
},
"author": "Conveyal LLC, IBI Group",
"license": "MIT",
"scripts": {
"build": "mastarm build --env production",
"build-dev": "mastarm build --env dev",
"cover-client": "npm run test-client -- --coverage --coverage-paths \"lib/**/*.js\"",
"cover-flow": "flow-coverage-report -t html -t text -i 'lib/**/*.js' -o coverage-flow",
"cover-end-to-end": "cross-env COLLECT_COVERAGE=true npm run test-end-to-end",
"deploy": "mastarm deploy --minify --env production",
"flow": "mastarm flow",
"import-mobility-data": "wget https://github.com/MobilityData/gtfs-validator/releases/download/v4.2.0/gtfs-validator-4.2.0-cli.jar && java -jar gtfs-validator-4.2.0-cli.jar -n -o ./lib/manager/components/validation/ && rm ./lib/manager/components/validation/rules.json && mv ./lib/manager/components/validation/notice_schema.json ./lib/manager/components/validation/rules.json",
"lint": "mastarm lint __tests__ lib scripts --quiet",
"lint-messages": "node scripts/lint-messages.js",
"postinstall": "patch-package && husky install",
"predeploy": "yarn",
"prestart": "yarn",
"semantic-release": "semantic-release --prepare false --publish @semantic-release/github --verify-conditions @semantic-release/github",
"start": "mastarm build --env dev --serve --proxy http://localhost:4000/api",
"test": "npm run lint && npm run lint-messages && yarn run flow && npm run test-client",
"test-client": "TZ=America/Los_Angeles mastarm test -e test -c configurations/test --test-path-ignore-patterns \"__tests__/end-to-end __tests__/test-utils\"",
"test-end-to-end": "mastarm test --run-in-band --test-path-ignore-patterns \"lib __tests__/test-utils\" --test-environment ./__tests__/test-utils/e2e-environment.js --jest-cli-args=\"--json --outputFile e2e-test-results/results.json\""
},
"dependencies": {
"@auth0/auth0-react": "^1.10.2",
"@conveyal/lonlat": "^1.3.0",
"@conveyal/woonerf": "^4.2.1",
"@turf/along": "^5.1.5",
"@turf/area": "^6.0.1",
"@turf/distance": "^5.1.5",
"@turf/line-slice-along": "^4.6.0",
"@turf/nearest-point-on-line": "^5.1.5",
"bootstrap": "^3.4.1",
"bugsnag-js": "^4.7.2",
"bugsnag-react": "^1.1.1",
"common-tags": "^1.6.0",
"dom-helpers": "3.2.1",
"fast-csv": "^4.3.6",
"file-saver": "^1.3.8",
"font-awesome": "^4.7.0",
"gravatar": "^1.5.2",
"humanize-duration": "^3.18.0",
"immutable": "^3.8.1",
"iso-639-1": "^1.2.4",
"isomorphic-fetch": "^2.2.1",
"jest-transform-stub": "^2.0.0",
"jju": "https://github.com/evansiroky/jju.git",
"jszip": "^3.7.0",
"jwt-decode": "^2.1.0",
"leaflet": "^1.7.1",
"leaflet-textpath": "^1.2.3",
"lodash": "^4.17.10",
"markdown-to-jsx": "^7.1.9",
"moment": "^2.29.4",
"numeral": "2.0.4",
"object-path": "^0.11.5",
"polyline": "^0.2.0",
"qs": "^6.2.1",
"randomcolor": "^0.5.3",
"rbush": "^2.0.1",
"rc-slider": "9.7.5",
"react": "^17.0.2",
"react-addons-shallow-compare": "^15.4.1",
"react-addons-update": "^15.6.3",
"react-bootstrap": "0.32.3",
"react-bootstrap-datetimepicker": "ibi-group/react-bootstrap-datetimepicker#bb3054c6dcccbb6b7009d9cc4a2f3b80d4830c99",
"react-bootstrap-table": "^4.3.1",
"react-color": "^2.3.4",
"react-dnd": "^2.1.4",
"react-dnd-html5-backend": "^2.1.2",
"react-dom": "^17.0.2",
"react-dropdown-tree-select": "^2.5.1",
"react-dropzone": "^3.5.3",
"react-flip-move": "^3.0.4",
"react-ga": "^2.3.5",
"react-leaflet": "^2.8.0",
"react-pure-render": "^1.0.2",
"react-redux": "^5.0.3",
"react-router": "^3.2.6",
"react-router-bootstrap": "^0.23.3",
"react-router-dom": "^6.1.1",
"react-router-redux": "^4.0.8",
"react-select": "1.x",
"react-toastify": "^5.1.0",
"react-toggle": "^4.1.2",
"react-transition-group": "^2.9.0",
"react-virtualized": "^9.2.2",
"react-virtualized-select": "^3.1.3",
"reduce-reducers": "^0.1.2",
"redux": "^3.3.1",
"redux-actions": "^2.2.1",
"redux-merge-reducers": "^0.0.2",
"redux-undo": "^1.0.0-beta9-9-7",
"reselect": "^3.0.0",
"shpjs": "^3.3.2",
"tinycolor2": "^1.4.2",
"truncate": "^2.0.0",
"turf-area": "^3.0.12",
"turf-bbox-polygon": "^3.0.12",
"turf-bearing": "^3.0.10",
"turf-featurecollection": "^1.0.1",
"turf-line-distance": "^3.0.10",
"turf-line-slice": "^3.0.11",
"turf-linestring": "^1.0.2",
"turf-multilinestring": "^1.0.2",
"turf-point": "^2.0.1",
"turf-point-on-line": "^3.0.11",
"turf-polygon": "^1.0.3",
"uuid": "^3.1.0",
"validator": "13.7.0"
},
"devDependencies": {
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"aggregate-error": "^3.0.0",
"archiver": "^3.1.1",
"auto-promised": "^0.0.3",
"cross-env": "^5.2.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.3.5",
"execa": "^2.0.4",
"express": "^4.16.4",
"express-http-proxy": "^1.5.1",
"extract-zip": "^1.6.7",
"flow-bin": "0.84",
"flow-coverage-report": "^0.3.0",
"fs-extra": "^6.0.1",
"husky": "^6.0.0",
"istanbul-middleware": "^0.2.2",
"js-yaml": "^3.11.0",
"lint-staged": "^11.0.0",
"mastarm": "^5.3.1",
"md5-file": "^4.0.0",
"nock": "^9.0.14",
"patch-package": "^6.4.7",
"puppeteer-screen-recorder": "^2.1.0",
"react-addons-test-utils": "^15.6.2",
"redux-mock-store": "^1.5.3",
"request": "^2.88.0",
"semantic-release": "^17.2.3",
"simple-node-logger": "^0.93.37",
"slack": "^11.0.1"
},
"resolutions": {
"react-overlays": "0.9.3"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --config node_modules/mastarm/lib/eslintrc.json --fix"
]
},
"standard": {
"env": [
"jest"
],
"parser": "babel-eslint",
"globals": [
"$Diff",
"$Keys",
"$Values",
"Blob",
"ClipboardEvent",
"File",
"IntervalID",
"HTMLCanvasElement",
"HTMLElement",
"HTMLInputElement",
"KeyboardEvent",
"MouseEvent",
"ReactComponent",
"ReactElement",
"Response",
"SyntheticEvent",
"SyntheticClipboardEvent",
"SyntheticCompositionEvent",
"SyntheticInputEvent",
"SyntheticUIEvent",
"SyntheticFocusEvent",
"SyntheticKeyboardEvent",
"SyntheticMouseEvent",
"SyntheticDragEvent",
"SyntheticWheelEvent",
"SyntheticTouchEvent"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
]
}
Loading

0 comments on commit 6de2b3d

Please sign in to comment.