Skip to content

Instantly share code, notes, and snippets.

@evanp
Created June 20, 2024 14:50
Show Gist options
  • Save evanp/3aa716b1cee757781624fdbb4bbb77a5 to your computer and use it in GitHub Desktop.
Save evanp/3aa716b1cee757781624fdbb4bbb77a5 to your computer and use it in GitHub Desktop.
53743f8a chore: v0.11.0-dev.0
5f6ffa6d chore: v0.10.0-rc.0
5df97f00 fix: add CDP API KEY secret for testing
80d40a95 chore(deps): bump braces from 3.0.2 to 3.0.3 in /app
cb56a57d fix: gitignore
ddefd097 fix: gitignore
baf58ac8 fix: gitignore
c5042110 fix: gitignore
436682f1 fix: gitignore
18a53758 fix: dockerfile for mage
eb151a0e fix: dockerfile for mage
475a2f7f fix: dockerfile for mage
adc3d4fd fix: dockerfile for mage
aad5f8ff fix: variable name change
47771428 fix(ui): changed function name
426b9af1 test: githubactions
0bfccf2a test: githubactions
0bf69384 test: githubactions
cb36be08 test: githubactions
5f38ae2d test: githubactions
d2aeccef test: githubactions
7f6a675e test: githubactions
f32c93e7 test: githubactions
a2c32da0 test: githubactions
b9f72d3e test: githubactions
b83a477b fix: remove console.dir() from inventory submit
30c2b974 fix: remove non-working cdpservice test
e5fcc65d chore: apply changes from cdp-api to develop
3e228696 fix: don't drop data coverage
fbd0a7ae test: githubactions
5c0a10c4 test: githubactions
d487d098 test: githubactions
e3552a08 test: githubactions
4d96d651 test: githubactions
fd5e4f11 chore(deps): bump react-email from 2.1.0 to 2.1.4 in /app
484d32eb feat: added pipeline for s3
ee0ff524 fix(ui): replaced sector names with i18n string functions
d3cb6feb fix(ui): summary section height
3ebb3489 feat(ui): adds subsector data to redux
ceff792f feat: added subsector slice
8e90607a chore(deps): bump pytest from 8.2.1 to 8.2.2 in /global-api
1365870b chore(deps-dev): bump @storybook/addon-essentials in /app
05c50f88 chore(deps): bump @storybook/react from 7.6.16 to 8.1.6 in /app
ca1677db feat(ui): made routing dynamic and sector names dynamic
8ffec720 fix(build): adds encodes apostrophe that fixes build errors
9f4bcbdd feat: adds translation
787514ef fix: fixes typos and adds translation
f519a31f fix: enables section to stay fixed when scroll event is active
171a054a fix: changes style for unavailable external sources component
f8444cd1 fix: removes bottom bar with steps, adds bottom bar on subsector for emissions
a707db8c doc:metadata
72f6153f feat:cleaning_process
1b9fa7de feat:download_raw_data
aa939e39 doc:readme_file_metadata
a34af9d2 feat:cleanning_script
c4d7c4bf fix: adds funtions to call modals, changes table styles
04715054 fix: changed form options to sentence case
32356f61 fix: changes for style
7d9ab638 fix: adds popover menu for methodology
07ad86f4 fix: adds loading state component, fixed info section
13057d47 doc:README file
ee5623dd feat: cleaning_script
d76e90e0 feat:extraction_script
ee0f5f0b fix migration files
d8e5679b feat:code_improvements
f2a1f83f fix: usernameacess for mageai
d39d85f4 adds placeholder page for cdp data submission
2a54341a fix(ui): wrong unit on energy consumtion modal
ead0f84c fix(ui): remove logging
c590af0a feat(ui): add i18n to MethodologyCard component and organize imports
4bc2c96b fix: removed logging, removed uncalled function
f71f71c1 chore(deps-dev): bump glob from 10.3.10 to 10.4.1 in /app
e628dfd0 chore(deps): bump @huggingface/inference from 2.6.4 to 2.7.0 in /app
83cd5e26 chore(deps): bump uvicorn from 0.29.0 to 0.30.1 in /global-api
4f31f7f9 fix(ui): favicon sometimes displayed as the NextJS default one in favicon.ico
9397cf5e deps(api): upgrade to NextJS 14.2.3
1e7517ea feat(api): include related tables in GET ActivityValue route
345550a2 feat(ui): add translations and translation functions
8a5aeb69 feat(api): add data source support to PATCH ActivityValue route
cf64b052 feat(api): allow passing along data sources for the POST ActivityValue route
f15efb8e feat(db): add column datasourceId to ActivityValue
1d6a52df fix(api): add missing import for activity-value routes
0cd66c95 feat(api): add methodologyId query param to ActivityValue batch GET route
bb28fda9 fix(build): fix type errors and compoment props
2432cbaf doc:file_renamed_by_sector_and_scope
be6efb81 fix:column_names
ac1023d0 fix:column_names
b60911c2 fix:column_names
2f6b11db feat(): ui added modals ,dropdowns, tables, route to mock data
0f0f9dc8 Revert "migration file for table name change"
66c5a368 feat(api): implement EmissionsFactor creation from POST ActivityValue route
ac9f4c3e fix(api): not being able to updateActivityValue without adding new EmissionsFactor
0df03d9a feat(api): allow creation of EmissionsFactor from activity-value POST route
c1c1bffe feat(api): implement creation of GasValue entries from ActivityValue POST and PATCH routes
05335d23 feat(api): add validation rule for ActivityValue
41d85424 fix(db): load activityData column as JSONB blob
8f7e30c2 Add GET, PATCH, DELETE routes for ActivityValue
03281726 feat(api): add POST route for ActivityValue
2f4e7874 Add missing types to user inventory route
50d8fb0d Add missing cities property to User model
6e894d29 Add ActivityValues t the inventory value API response
ab253dd0 Create route GET /api/v0/inventory/[i]/activity-value
3ad8f92d feat(ui): added suggested activities component
171f49b6 chore(deps): bump react-hook-form from 7.51.3 to 7.51.5 in /app
d365d200 chore(deps-dev): bump storybook from 8.0.4 to 8.1.3 in /app
776ec3e2 doc:file_name_changed
6fd46e4a feat:EF_Stationary_Energy
0d699b68 feat:transformation_script_EF
2c9403b2 fix: github actions
f652f577 doc:step5_deleted
e62d1ca8 add:new_raw_data
c173b673 feat(ui): added subsector page and components
6e742c8d github actions test
149435e3 github actions test
a9c62cf9 github actions test
537d0ebd added db details
9a9aff37 test mage github actions upgrade helm
ceb12c5d test mage github actions
d8b3bdd0 no data copy in dockerfile
b24522fc added raw data file
eb0a645a test github actions
d095205e adding caasting of values to change type
6809288e fix:column_types
fda9aa34 fix:convertion_units_activity_values
118f08cc migration file for table name change
b3f99ca0 updated github actions
70153183 updated scripts
c5c97d2e update(ui): removed wizard steps
61ba725f feat(ui): added breadcrumb links to sector pages
403e2780 feat(ui): added add data card, translation
564d28cc chore(deps): bump pytest from 8.2.0 to 8.2.1 in /global-api
c9af9d25 chore(deps): bump @types/node from 20.11.5 to 20.12.12 in /app
d7f53187 fix: set production env in .github/workflows/web-tag.yml
f4f8dbee fix(api): duplicate GasValue relation definitions in init-models.ts
22a68e59 feat(api): add new ActivityValue model and relations to init-models.ts
7ee89595 feat(api): add GasValue relation to ActivityValue model
6042b3f7 feat(api): add missing scopeId property to SubSector data model
587cca2f feat(api): update User model to remove non-existing organizationId attribute
10d7d08c feat(api): add activityValueId field and relation functions to GasValue model
be4ad00a feat(api): add data model for ActivityValue
ec905e37 fix(script): forward arguments to sequelize-auto from script
b0ed6c29 fix(db): remove already existing columns in EmissionsFactor from inventory v2 migration
fae282f2 feat(db): add migration for inventory schema v2 with ActivityValue
8c2671f6 fix: send area as an integer, not a float
f65fc016 fix: error in area calculations caused crash of endpoint
5e4dd453 added back the onFocus Event Listener on city input field
0b26ee45 fix(ui): area null passed to addCity route
5b70cc81 chore(deps): bump next-auth from 4.24.5 to 4.24.7 in /app
6a65d2cb chore(deps): bump osmnx from 1.9.2 to 1.9.3 in /global-api
5d4aaa98 chore(deps): bump fastapi from 0.110.2 to 0.111.0 in /global-api
69992268 chore(deps): bump sqlalchemy from 2.0.29 to 2.0.30 in /global-api
1aff99b2 chore: v0.10.0-dev.0
26aefbfd chore(deps): bump ejs from 3.1.9 to 3.1.10 in /app
67fd80c7 updated values with GHCR
bd3dd2f4 changed image name
c3846791 removed gdal
f2c50bb3 added raw_data
a615c1cd added workflow
33fe18ef added raw data
52355940 allow changes on workflow
b739be7a updated directory
a8e7eaa6 added workflow
447f0cbe added project and workflow
57de5d88 fixed german translations
61c6581c onfocus event is sluggish to pick up changes in the textinput
22022db5 Added toast error for failed validation on adding a new city and updated the command to set up the ui app
fb00cc72 fix(script): usage of renamed parameter url in catalogue-sync.ts
5a12db20 fix(build): also exclude playwright.config.ts in tsconfig.json
bf81b22c fix(build): add e2e folder to exclude in tsconfig.json
a5503175 fix: removed comments and todos
81a5466a fix: remove unused mock string
a5082948 fix:remove unused mock function
0c2d58ab fix: modifed notification service, added mocks, updated userfile route to make tests run properly
55d41645 chore(deps): bump mypy from 1.9.0 to 1.10.0 in /global-api
3bc97d1c added dataseeder and run shell script
77294b5b removed sesco extracted file
e7243682 updated route and pk on import
a68fc214 feat: biofuels_emissions_calculations_added
c819ad09 chore(deps): bump @types/pg from 8.11.4 to 8.11.5 in /app
2e2f5017 chore(deps): bump tsx from 4.7.0 to 4.7.3 in /app
5b5bde5e chore(deps): bump pino from 8.20.0 to 9.0.0 in /app
bd06d4fb chore(deps): bump @react-email/components from 0.0.11 to 0.0.16 in /app
e215856b chore(deps): bump react-icons from 4.11.0 to 5.1.0 in /app
507ab7b5 chore(deps): bump pytest from 8.1.1 to 8.2.0 in /global-api
8242c955 chore(deps): bump black from 24.4.0 to 24.4.2 in /global-api
86b02e50 chore(deps): bump geopandas from 0.14.3 to 0.14.4 in /global-api
74a22773 fix: react hook function rename
932f7696 fix: moved usesession hook to a reusable function, reworked the area login
19fc6a22 fix(ui): redirect user to login page if loggedout and prevent them from accessing the dashboard
4045020d added mendoza
63107559 added pilot city extract for edgar v8
df48b95b updated load sql file
3945c3c5 fix(docs): clarify start-sh.sh section in README.md
719b81bf fix(e2e): remaining errors in login e2e tests
4d85a7c5 feat(docs): add reference to start-db.sh to README.md
a593e6ff fix(script): wrong database details in start-db.sh
64c736db feat(e2e): add login e2e tests and extract helper methods into separate file
d180f6e5 fix(api): added mock transporter to userfiles
c75b1594 fix(api):reverted to admin email template
65013217 feat: new_subsector_added_I.8.1
6ad81838 fix(ui): not being able to click arrows on year dropdowns on onboarding page
77eabdce fix(ui): NaN text on population year dropdowns on onboarding page
d05ba188 chore(deps): bump ai from 2.2.36 to 3.0.31 in /app
c6180603 feat(ui): add countryLocode and regionLocode during onboarding
e206bb0a changed route name
65d9789f added route, datasoure seeder and import script
f63192ff feat(api): allow regionLocode and countryLocode in validation and Redux
dc55b62e feat(api): add countryLocode and regionLocode to City
c236ac1f fix(e2e): add comment explaining use of + selector
49b415aa fix(e2e): errors in signup tests
192907b8 feat(e2e): add npm script e2e:test:head to see browser windows
bbcafd10 fix(e2e): remove old signup test built with Cypress
72438d46 feat(e2e): add more tests for signup page
92558f2e fix(e2e): only replace the @, not the + in URL
f93250d9 fix(e2e): encode email als URI component in URL check
e552fdc0 fix(e2e): remove unnecessary click and press tab calls in signup test
a623d744 fix(e2e): expect check email page at the end of signup test
0282a359 fix(ci): append random UUID to email to make it unique for testing in different browsers
0af0234e fix(ci): use different email for signup e2e test to prevent collision with other tests
8f9a0405 fix(ci): add Playwright steps to develop and tag workflows for web
ca1b5e1d feat(test): write e2e test for signup
25c8ad8d feat(script): add start-db.sh which starts a Docker Postgres instance with the right config
ca354a87 feat(docs): add commands for e2e and unit tests to README.md
fc711665 feat(ci): add npm script e2e:test and update test script command
607e1fd7 fix(ui): clear all persisted data after confirmation
273e5cde fix(ui): redirect the page to dashboard after last step
6a32bbef fix: show correct button text for files modal
9f2c9c72 feat: added translations for toasts text
ed5627f2 fix(ci): run unit tests first and install Playwright browsers before testing
86e43cae fix(ci): move Playwright tests into normal test workflow
12ffccda feat(ci): replace example test with signup test
3e001e73 fix(ci): builder server before running Playwright tests
75d1704e fix(ci): set default working directory to app and cache node dependencies
e42ebe5c fix(ci): run Playwright tests in app directory
a0fd5a36 fix: upload file and save to database per sector, also append to state for review
d4c75d63 chore(deps): bump pino from 8.16.2 to 8.20.0 in /app
87b263e2 chore(deps): bump react-intersection-observer in /app
8ecfdcee chore(deps): bump @storybook/cli from 7.6.17 to 8.0.8 in /app
c953009d chore(deps): bump framer-motion from 11.0.14 to 11.1.7 in /app
35da09b1 chore(deps): bump fastapi from 0.110.1 to 0.110.2 in /global-api
84c419d3 chore(deps): bump shapely from 2.0.3 to 2.0.4 in /global-api
ab986ede feat(ci): add Playwright suggested GitHub Action
a35f7c9f feat(ci): install and configure Playwright
ea84128e Reapply "Merge pull request #416 from Open-Earth-Foundation/fix/missing_columns_country_code_table"
d7787731 Revert "Merge pull request #416 from Open-Earth-Foundation/fix/missing_columns_country_code_table"
1527466e fix:wrong_extention
888fc34f update
d93a9014 feat:transformation_process
aa99fb1d feat: run migrations in global api tests
faad4008 fix: ON-1707
f1d2a0af chore: version tag 0.9.0-dev.0
4c7bbf3a chore: rc.0 of 0.8.0
5e1619e3 fix: remove unnecessary casts, rounding from series.estimate
f86c9bff fix: processed_file_path
740518f8 feat: loading_script
2f31020a fix:change_province_to_region
adc68239 feat: transformation_process_SESCO
57ba7e08 feat: Create README.md
fd3c64d7 fix: removed console, reverted formprovider component
408e7e7a fix: manaul input form state errors
f8d7695b fix: added conditional checks for area during onboarding
7ac13d2d fix: add area to city during onboarding
f84c79ff fix: show area in onboarding confirm page
cbad07f3 fix(ui): show area in ui
33fbe016 feat: add area in return response
9313f32d fix(ui): remove extra brackets causing build errors
dc907266 fix(ui): show right flag for city
27423d30 feat: function for estimating value from a series
8a2ea1f3 chore(deps): bump pytest-cov from 4.1.0 to 5.0.0 in /global-api
6a73d04d feat: add area to city boundaries and own endpoint
1744d5b3 fix(test): add user to city in UserFile tests
69fd4a5e fix(api): check if user is part of city or admin before uploading file for it
26ab06e1 feat(api): use new access control for find file and delete file routes as well
6196e3a9 feat(api): use findUserFile in download file route
d93a820f feat(api): implement UserService.findUserFile to let all users of a city or admins access files
6e363bfc fix(model): missing city reference in UserFile TS model
d9aca3ac fix(i18n): use spanish version of max in csv-or-json es data translation
3306993e feat(api): allow admin users to access most inventory functions of other users
33db241a feat(ui): update spanish translations for footer and settings
84e0c649 feat(ui): update data translation part II
d3dcc8cd feat(ui): update data translation part I
ba79101a feat(ui): update spanish translations on auth, chat, dashboard pages
43e7a674 fix: remove unused import
668db581 chore(deps): bump pandas from 2.2.1 to 2.2.2 in /global-api
87c895aa chore(deps): bump black from 24.3.0 to 24.4.0 in /global-api
3a879282 chore(deps-dev): bump cypress from 13.6.4 to 13.7.3 in /app
5ce0c503 chore(deps-dev): bump @storybook/nextjs from 7.6.16 to 8.0.8 in /app
e6804d8d chore(deps): bump react-redux from 9.1.0 to 9.1.1 in /app
2fa40858 chore(deps): bump react-hook-form from 7.49.2 to 7.51.3 in /app
04f72906 chore(deps): bump tar from 6.2.0 to 6.2.1 in /app
597bd5c2 fix(ui): remove hard coded inventory year and replace with actual value from inventory
599d920e feature new custom polygons
dae5d194 feat(ui): show progress indicator for unfinished subsectors in list
5a871da2 chore(deps): bump openai from 4.28.0 to 4.33.0 in /app
61ee19d3 fix(db): remove incorrect additional constraints on GasValue table
2dfe9df3 fix(deps): also upgrade @reduxjs/tooolkit to 2.2.3
473e315c chore(deps): bump pg from 8.11.3 to 8.11.5 in /app
14608e5c fix(ui): no null check for file.subsectors on add data page
4221abcb fix(ui): add new i18n strings for signup errors, remove duplicate cancel entry
02fa7d4c feat(ui): implement optional validation for PasswordInput and use on signup
96f9f9bb chore(deps): bump fastapi from 0.110.0 to 0.110.1 in /global-api
2ee4500f chore(deps): update scipy requirement in /global-api
a3327fb9 chore(deps): bump osmnx from 1.9.1 to 1.9.2 in /global-api
38bd22c7 fix(api): downscaling not using other inventory years during apply step
e1bee90a refactor(ui): extract function getClosestYear into helpers
09fb425b fix(ci): set ADMIN_NAMES and ADMIN_EMAILS env vars on test and prod envs
5587441f fix(ci): add quotes to new env vars in web-develop workflow
c9527ae4 fix(ci): add quotes to new env vars in web-develop workflow
c92db126 fix(ui): make fileName/ size/ subsectors/ scopes nullable in inventoryDataSlice
a0eea528 fix(ui): don't use any for mapped files on add data page
425d466d fix(ui): crash related to missing subsectors on add data page
d7c93181 chore: v0.7.1
26ed33e9 fix: restore data review page that was hosed in the merge
29b15576 chore: v0.7.0
dd732370 chore: 0.7.0-rc.0
5bd37cda fix: replace inventory object with cityId
a6e9fa6c fix: removed redundant ternary operator
431de825 fix(ui): file query api method error
9e863101 chore: v0.6.2
0d81ef94 fix: change tag-ignore to if condition on jobs
10b3bcda chore: v0.6.1
7565a977 fix: change tag match from regex to glob
02c65216 fix(ui): rework callbackUrl handling on signup page and prevent null value
5be4a662 fix(ui): catch invalid callback URLs on login page redirect to dashboard
4bcff1c8 fix: updated envinronment variables for email notifications
cd083b6d fix(ui): data review page not redirecting back to city dashboard after finish
0c4d3ba5 refactor(ui): remove unused imports from data review page
3260599c chore: 0.6.0 version stamp
00d2cfb8 fix(ui): dashboard crashing when inventory ID null or undefined are passed
ff45f289 fix(ui): catch invalid callback URLs and accept relative URLs on signup page
2e6aa038 docs: fixing_command
f284d024 feat:integration_process
64178d3c docs:name changed
988f3f70 fix:adding_missing_columns
688c2afc fix(ui): remove sendEmailNotification from Redux
dbbdcb27 Update app/src/i18n/locales/de/root-page.json
59732d1a Update app/src/app/[lng]/page.tsx
b0a5f3db fix: added right page filename for locales
c91e9d76 feat: adds translation and files
44e03188 fix(ui): added a root page to handle redirect
7ab261d1 fix(api): missing await in register route
134c1f73 fix(api): error when creating user without inventory field in request
8ddfe915 fix(ui): signup not working if callbackUrl missing or doesn't have inventory ID
1640b833 fix(ui): disconnecting source progress indicator being enabled for all sources
eaf35fc1 updated tag
2d1cd861 chore: new develop version 0.7.0-dev.0
8f7fb0ad chore: rc version upgrade
88acec5f fix(db): emissions factor seed not using new column names in DataSource CSV files
67ef241d fix(ui): wrong scale label being displayed for data sources on SourceDrawer
4b1d9264 fix(db): emissions factor seed not using new column names in DataSource CSV files
2ec7a871 update: added secrets to deployement file
536e91e0 feat: reworked email temmplate preventing failed tests
ff0e19c7 update country route name
f87be6a1 chore: version tag
713fd494 fix: move custom polygons before datasets that require polygons
2c8b0efc fix: remove branches from pull_request trigger
98eae100 removed changes for global-api routes
9039fbca feat: added tags to email file card
2b23b2d8 fix: used right dynamic path vairable for router
e290ad39 added notification service, added service to user file route, updated types
8ba4d6ab Merge from dev
cf92be80 feat: automate deployment for production
4fcba575 fix: syntax error in data-coverage.sql
3e883a84 feat: calculate data coverage with SQL instead of API hits
e4cc03f6 feat: add geography, population to import_everything script
6bb00306 feat: data representing population
edf11495 feat: data representing geographical hierarchy
275c3123 feat: add geography, population tables to global API db
3be3170e chore(deps): bump tailwindcss from 3.4.1 to 3.4.3 in /app
d09ac2eb chore(deps): bump react-redux from 8.1.3 to 9.1.0 in /app
f9f628e9 chore(deps): bump @types/jsonwebtoken from 9.0.4 to 9.0.6 in /app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment