-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #7
Commits on Dec 19, 2022
-
refactor: put all dashboard codes and data under the dashboard folder.
Restructing the project requires the following fixes: - fixed the docker build context. - fixed the app's data path.
Configuration menu - View commit details
-
Copy full SHA for 6622769 - Browse repository at this point
Copy the full SHA 6622769View commit details
Commits on Dec 20, 2022
-
feat: use e-mission-server as the base image of the dashboard.
Other changes include: - restructured the project.
Configuration menu - View commit details
-
Copy full SHA for 054132c - Browse repository at this point
Copy the full SHA 054132cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ff895 - Browse repository at this point
Copy the full SHA 04ff895View commit details
Commits on Dec 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6cf3d74 - Browse repository at this point
Copy the full SHA 6cf3d74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68be7c7 - Browse repository at this point
Copy the full SHA 68be7c7View commit details
Commits on Dec 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ef9442e - Browse repository at this point
Copy the full SHA ef9442eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1a909 - Browse repository at this point
Copy the full SHA 4d1a909View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94661fa - Browse repository at this point
Copy the full SHA 94661faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 330ca39 - Browse repository at this point
Copy the full SHA 330ca39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18c9bcf - Browse repository at this point
Copy the full SHA 18c9bcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d5716 - Browse repository at this point
Copy the full SHA 70d5716View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4b016a - Browse repository at this point
Copy the full SHA a4b016aView commit details
Commits on Jan 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ed6fb9b - Browse repository at this point
Copy the full SHA ed6fb9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a78b1d8 - Browse repository at this point
Copy the full SHA a78b1d8View commit details -
feat(home): Add plots and boxes. (#1)
The following elements have been added: - sign-ups trend plot, - trips trend plot, - number of users box, - number of trips box, and - number of active users box.
Configuration menu - View commit details
-
Copy full SHA for cad1661 - Browse repository at this point
Copy the full SHA cad1661View commit details
Commits on Jan 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b51dfba - Browse repository at this point
Copy the full SHA b51dfbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca8ac39 - Browse repository at this point
Copy the full SHA ca8ac39View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae92042 - Browse repository at this point
Copy the full SHA ae92042View commit details
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fa0980d - Browse repository at this point
Copy the full SHA fa0980dView commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 892d9c3 - Browse repository at this point
Copy the full SHA 892d9c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 502cfef - Browse repository at this point
Copy the full SHA 502cfefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e927a5 - Browse repository at this point
Copy the full SHA 4e927a5View commit details
Commits on Jan 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8c40599 - Browse repository at this point
Copy the full SHA 8c40599View commit details
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 873523c - Browse repository at this point
Copy the full SHA 873523cView commit details
Commits on Jan 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d479406 - Browse repository at this point
Copy the full SHA d479406View commit details
Commits on Jan 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b918107 - Browse repository at this point
Copy the full SHA b918107View commit details -
Basic functionality to generate random tokens and QR codes
- I have NOT tested this in the docker environment - The scripts work fine on my laptop in a conda environment - the two new packages are related to generating QR codes There is one script to generate random tokens and one to generate QR codes from the tokens Note that the scripts are written as scripts with the appropriate argument parsing These are not checked in anywhere else, so feel free to change the structure if needed. Hopefully we won't need too many changes, since I do have functions for most of the actual functionality. I have put the new files into the `opadmindash` directory - you should be able to import them once you put them into the PYTHONPATH. I didn't think that it was a great idea to put them into the `pages` directory, which is where all the new code lives
Configuration menu - View commit details
-
Copy full SHA for bd532d6 - Browse repository at this point
Copy the full SHA bd532d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf36118 - Browse repository at this point
Copy the full SHA cf36118View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bf03b3 - Browse repository at this point
Copy the full SHA 3bf03b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea8585e - Browse repository at this point
Copy the full SHA ea8585eView commit details
Commits on Jan 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 554e1e7 - Browse repository at this point
Copy the full SHA 554e1e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f63d2e - Browse repository at this point
Copy the full SHA 0f63d2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 947f489 - Browse repository at this point
Copy the full SHA 947f489View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0a2152 - Browse repository at this point
Copy the full SHA c0a2152View commit details
Commits on Jan 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 09d7d30 - Browse repository at this point
Copy the full SHA 09d7d30View commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 024fec3 - Browse repository at this point
Copy the full SHA 024fec3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03bbf1f - Browse repository at this point
Copy the full SHA 03bbf1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54236ae - Browse repository at this point
Copy the full SHA 54236aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69849d8 - Browse repository at this point
Copy the full SHA 69849d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec9c012 - Browse repository at this point
Copy the full SHA ec9c012View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa5f468 - Browse repository at this point
Copy the full SHA fa5f468View commit details -
fix: Extract UUIDs as hex.
as_uuid()
method no longer works with th……e data generated using a newer version of e-mission-server.
Configuration menu - View commit details
-
Copy full SHA for 6562338 - Browse repository at this point
Copy the full SHA 6562338View commit details
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2c264ca - Browse repository at this point
Copy the full SHA 2c264caView commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2be8241 - Browse repository at this point
Copy the full SHA 2be8241View commit details
Commits on Feb 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1ddaee2 - Browse repository at this point
Copy the full SHA 1ddaee2View commit details
Commits on Feb 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 148d2fa - Browse repository at this point
Copy the full SHA 148d2faView commit details
Commits on Feb 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a73c632 - Browse repository at this point
Copy the full SHA a73c632View commit details
Commits on Feb 22, 2023
-
Merge pull request #13 from e-mission/dynamic_config
Dynamic config
Configuration menu - View commit details
-
Copy full SHA for 95b6a15 - Browse repository at this point
Copy the full SHA 95b6a15View commit details
Commits on Feb 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 80f16be - Browse repository at this point
Copy the full SHA 80f16beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3089bc9 - Browse repository at this point
Copy the full SHA 3089bc9View commit details
Commits on Mar 3, 2023
-
Merge pull request #15 from e-mission/authentication
Authentication
Configuration menu - View commit details
-
Copy full SHA for e285a01 - Browse repository at this point
Copy the full SHA e285a01View commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4cb5512 - Browse repository at this point
Copy the full SHA 4cb5512View commit details -
Configuration menu - View commit details
-
Copy full SHA for c09f0ab - Browse repository at this point
Copy the full SHA c09f0abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dddd3d - Browse repository at this point
Copy the full SHA 0dddd3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1681195 - Browse repository at this point
Copy the full SHA 1681195View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ba50a8 - Browse repository at this point
Copy the full SHA 3ba50a8View commit details
Commits on Mar 7, 2023
-
Merge pull request #17 from e-mission/token_enhancement
Token enhancement
Configuration menu - View commit details
-
Copy full SHA for bf21494 - Browse repository at this point
Copy the full SHA bf21494View commit details -
Merge pull request #16 from e-mission/basic_auth
Implemented Dash basic authentication.
Configuration menu - View commit details
-
Copy full SHA for 7103f35 - Browse repository at this point
Copy the full SHA 7103f35View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f6a5f7a - Browse repository at this point
Copy the full SHA f6a5f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a62595e - Browse repository at this point
Copy the full SHA a62595eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d52e0f - Browse repository at this point
Copy the full SHA 1d52e0fView commit details -
Merge pull request #19 from e-mission/hide_no_access
Hiding tabs for users with no access.
Configuration menu - View commit details
-
Copy full SHA for cc465c8 - Browse repository at this point
Copy the full SHA cc465c8View commit details
Commits on Mar 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 418d671 - Browse repository at this point
Copy the full SHA 418d671View commit details
Commits on Mar 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d703fa5 - Browse repository at this point
Copy the full SHA d703fa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 178c961 - Browse repository at this point
Copy the full SHA 178c961View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd05f4a - Browse repository at this point
Copy the full SHA bd05f4aView commit details
Commits on Mar 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 238d567 - Browse repository at this point
Copy the full SHA 238d567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 318ff0c - Browse repository at this point
Copy the full SHA 318ff0cView commit details
Commits on Mar 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ccf0693 - Browse repository at this point
Copy the full SHA ccf0693View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f44f8f - Browse repository at this point
Copy the full SHA 8f44f8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b02745b - Browse repository at this point
Copy the full SHA b02745bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbae8f9 - Browse repository at this point
Copy the full SHA dbae8f9View commit details
Commits on Mar 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f6fac50 - Browse repository at this point
Copy the full SHA f6fac50View commit details
Commits on Mar 22, 2023
-
Merge pull request #22 from e-mission/documentation
Documentation & Updating Readme
Configuration menu - View commit details
-
Copy full SHA for d6cae38 - Browse repository at this point
Copy the full SHA d6cae38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29d9e52 - Browse repository at this point
Copy the full SHA 29d9e52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4829fbd - Browse repository at this point
Copy the full SHA 4829fbdView commit details
Commits on Mar 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f0a5fe7 - Browse repository at this point
Copy the full SHA f0a5fe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6035a - Browse repository at this point
Copy the full SHA 9c6035aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 185e5e9 - Browse repository at this point
Copy the full SHA 185e5e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c533e - Browse repository at this point
Copy the full SHA e4c533eView commit details
Commits on Mar 24, 2023
-
2
Configuration menu - View commit details
-
Copy full SHA for 62307f8 - Browse repository at this point
Copy the full SHA 62307f8View commit details
Commits on Mar 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6f37359 - Browse repository at this point
Copy the full SHA 6f37359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3c37d - Browse repository at this point
Copy the full SHA 8a3c37dView commit details
Commits on Apr 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fdd3c5d - Browse repository at this point
Copy the full SHA fdd3c5dView commit details
Commits on Apr 14, 2023
-
Convert all files to unix format to make code reviews easier in the f…
…uture Before this ``` $ find . -name \*.py | xargs file ./globals.py: ASCII text ./utils/decode_jwt.py: Python script text executable, ASCII text, with CRLF line terminators ./utils/constants.py: ASCII text, with CRLF line terminators ./utils/generate_qr_codes.py: Python script text executable, ASCII text ./utils/permissions.py: Python script text executable, ASCII text, with CRLF line terminators ./utils/cognito_utils.py: Python script text executable, ASCII text, with CRLF line terminators ./utils/db_utils.py: Python script text executable, ASCII text, with CRLF line terminators ./utils/generate_random_tokens.py: Python script text executable, ASCII text ./globalsUpdater.py: Python script text executable, ASCII text ./app.py: Python script text executable, ASCII text ./config-fake.py: ASCII text, with CRLF line terminators ./pages/home.py: Python script text executable, ASCII text ./pages/tokens.py: Python script text executable, ASCII text ./pages/map.py: Python script text executable, ASCII text ./pages/settings.py: Python script text executable, ASCII text ./pages/push_notification.py: Python script text executable, ASCII text ./pages/data.py: Python script text executable, ASCII text ./app_sidebar_collapsible.py: Python script text executable, ASCII text, with CRLF line terminators ``` Auto-fix using ``` $ find . -name \*.py | xargs file | grep "with CRLF" | cut -d ":" -f 1 | xargs dos2unix dos2unix: converting file ./utils/decode_jwt.py to Unix format... dos2unix: converting file ./utils/constants.py to Unix format... dos2unix: converting file ./utils/permissions.py to Unix format... dos2unix: converting file ./utils/cognito_utils.py to Unix format... dos2unix: converting file ./utils/db_utils.py to Unix format... dos2unix: converting file ./config-fake.py to Unix format... dos2unix: converting file ./app_sidebar_collapsible.py to Unix format... ``` After the change ``` $ find . -name \*.py | xargs file ./globals.py: ASCII text ./utils/decode_jwt.py: Python script text executable, ASCII text ./utils/constants.py: ASCII text ./utils/generate_qr_codes.py: Python script text executable, ASCII text ./utils/permissions.py: Python script text executable, ASCII text ./utils/cognito_utils.py: Python script text executable, ASCII text ./utils/db_utils.py: Python script text executable, ASCII text ./utils/generate_random_tokens.py: Python script text executable, ASCII text ./globalsUpdater.py: Python script text executable, ASCII text ./app.py: Python script text executable, ASCII text ./config-fake.py: Python script text executable, ASCII text ./pages/home.py: Python script text executable, ASCII text ./pages/tokens.py: Python script text executable, ASCII text ./pages/map.py: Python script text executable, ASCII text ./pages/settings.py: Python script text executable, ASCII text ./pages/push_notification.py: Python script text executable, ASCII text ./pages/data.py: Python script text executable, ASCII text ./app_sidebar_collapsible.py: Python script text executable, ASCII text ```
Configuration menu - View commit details
-
Copy full SHA for 18c97c0 - Browse repository at this point
Copy the full SHA 18c97c0View commit details -
Merge pull request #26 from e-mission/fix_crlf
Convert all files to unix format to make code reviews easier in the f…
Configuration menu - View commit details
-
Copy full SHA for 3f58def - Browse repository at this point
Copy the full SHA 3f58defView commit details
Commits on Apr 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7808f3e - Browse repository at this point
Copy the full SHA 7808f3eView commit details -
Merge pull request #27 from e-mission/fix_more_crlf
One more crlf fix
Configuration menu - View commit details
-
Copy full SHA for b7433e8 - Browse repository at this point
Copy the full SHA b7433e8View commit details -
Check in a simple docker-compose to run the app behind an nginx proxy
So that we can test the reverse proxy configuration fixes in dev This fixes #24 (comment) The `docker-compose` (except for `nginx`) should be kept consistent with the production `docker-compose-prod.yml` with the exception of `DASH_DEBUG_MODE`, which is set to true so that we can debug errors in the setup more easily Testing done: - Built and ran the docker-compose - Accessing http://localhost:8060/admin gives the same error as #24 (comment) ``` Uncaught ReferenceError: DashRenderer is not defined <anonymous> http://localhost:8060/admin/:58 ```
Configuration menu - View commit details
-
Copy full SHA for 712cb98 - Browse repository at this point
Copy the full SHA 712cb98View commit details -
Set the relative path prefix to
/admin/
This internally sets the `requests_pathname_prefix`, which allows us to load all the assets (including the javascript files) correctly. This is a partial fix for #24 that implements the first step in #24 (comment)
Configuration menu - View commit details
-
Copy full SHA for e19dd49 - Browse repository at this point
Copy the full SHA e19dd49View commit details -
Change all the hrefs to relative paths
This fixes #24 (comment) #24 (comment) #24 (comment) Since there are not a lot of hrefs and they are all in the same file #24 (comment) ``` $ grep -r href . | grep -v .git ./utils/cognito_utils.py: dbc.Button('Login with AWS Cognito', id='login-button', href=CognitoConfig.AUTH_URL, style={ ./app_sidebar_collapsible.py: href=dash.get_relative_path("/"), ./app_sidebar_collapsible.py: href=dash.get_relative_path("/data"), ./app_sidebar_collapsible.py: href=dash.get_relative_path("/tokens"), ./app_sidebar_collapsible.py: href=dash.get_relative_path("/map"), ./app_sidebar_collapsible.py: href=dash.get_relative_path("/push_notification"), ./app_sidebar_collapsible.py: href=dash.get_relative_path("/settings"), ```
Configuration menu - View commit details
-
Copy full SHA for d6cfdd2 - Browse repository at this point
Copy the full SHA d6cfdd2View commit details -
Merge pull request #28 from e-mission/support_reverse_proxy
Support and test the reverse proxy configuration
Configuration menu - View commit details
-
Copy full SHA for ac266f3 - Browse repository at this point
Copy the full SHA ac266f3View commit details -
Hack to use the timeseries calls to retrieve the data
This is a hack to get the dashboard to work. It retrieves data using the timeseries interfaces and performs the projections using pandas locally. It is *not* complete. Notably: - the projections are not the same as the original projections - the projections do not take the dynamic config into account - we still use `edb` for some calls - notably the ones to get the uuid table; we should add decorations to the timeseries to support them going forward
Configuration menu - View commit details
-
Copy full SHA for 8bba028 - Browse repository at this point
Copy the full SHA 8bba028View commit details -
Merge pull request #30 from e-mission/outline_for_ali_to_fill_in
Hack to use the timeseries calls to retrieve the data
Configuration menu - View commit details
-
Copy full SHA for 834be13 - Browse repository at this point
Copy the full SHA 834be13View commit details