Skip to content
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

merge from master #1

Open
wants to merge 2,156 commits into
base: addsvs
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2156 commits
Select commit Hold shift + click to select a range
66ab686
Update RIG UI to show footnotes if no tooltips (#4546)
chejennifer Aug 9, 2024
6e178b1
Create smaller, faster building services docker. (#4547)
keyurva Aug 12, 2024
1c227be
Create scripts to auto build / deploy the new services docker. (#4548)
keyurva Aug 13, 2024
e59928a
Copy only static dist artifacts to further reduce docker image size. …
keyurva Aug 13, 2024
fc155d9
Update internal to use remoteMixerDomain (#4550)
n-h-diaz Aug 13, 2024
2f07791
Build cdc services image with docker buildkit enabled. (#4551)
keyurva Aug 13, 2024
5c51033
Run chmod as a separate step when building docker image. (#4553)
keyurva Aug 14, 2024
afc4e4c
Fixed local cdc docker compose setup to use custom embeddings and con…
dwnoble Aug 16, 2024
4421bcd
Added custom data commons terraform deployment scripts (#4552)
dwnoble Aug 16, 2024
4182c73
Add query logging for Bard instance (#4556)
chejennifer Aug 16, 2024
863cbab
Create initial client to fetch dc api keys for a given project. (#4557)
keyurva Aug 16, 2024
bdf8376
minor readme and .gitignore updates to custom dc terraform (#4558)
dwnoble Aug 16, 2024
3f7281d
Update magic_eye to use remoteMixerDomain (#4559)
n-h-diaz Aug 16, 2024
defceb0
Add apigee apis for importing keys. (#4560)
keyurva Aug 19, 2024
041c843
Read projects from Google Sheet and write dc keys back to it. (#4562)
keyurva Aug 21, 2024
02044eb
Updated terraform.tfvars.sample with dc_api_key (#4564)
dwnoble Aug 21, 2024
2711bef
Updated comments in terraform.tfvars.sample (#4565)
dwnoble Aug 21, 2024
0d1303e
Added disableEntityLink option to bar chart web component (#4563)
dwnoble Aug 21, 2024
59fd8c7
Update README.md (#4567)
kmoscoe Aug 22, 2024
01eebc1
updated custom dc terraform services container to use the new image (…
dwnoble Aug 22, 2024
8e7b8e4
Add one more step to instructions (#4569)
kmoscoe Aug 22, 2024
587c43c
Add support for importing keys into apigee. (#4568)
keyurva Aug 23, 2024
2c7230d
Set default value for FLASK_ENV. (#4576)
keyurva Aug 23, 2024
0ac63c1
updated custom dc docker dev image to pull down models in container b…
dwnoble Aug 24, 2024
40d3ac2
Bump github.com/hashicorp/go-getter from 1.7.0 to 1.7.5 in /deploy/te…
dependabot[bot] Aug 26, 2024
9083aaf
[custom_dc] Add env.list.sample (#4577)
wittrock Aug 26, 2024
8bb6dd6
Removed 'Analyze this data in BigQuery' button from visualization too…
dwnoble Aug 26, 2024
b1d97e6
Added terraform variable google_analytics_tag_id for enabling Google …
dwnoble Aug 26, 2024
8a291b1
Enable NL by default for Custom DC. (#4583)
keyurva Aug 27, 2024
7007e9d
[docs] Update readme with setup instructions for tests. (#4578)
wittrock Aug 27, 2024
6ac9116
Disable obs browser pages for some custom DCs (#4566)
n-h-diaz Aug 28, 2024
3e71970
Updating goldens for nodejs query differ (#4585)
beets Aug 29, 2024
f5e8e87
Add semicolon to server script (#4571)
jenibelle08 Aug 30, 2024
eb2d61e
Remove scripts and docker files related to old CDC docker image. (#4590)
keyurva Sep 4, 2024
0207c1d
Stanford Upload 8/24 (#4586)
bchivers-stanford Sep 4, 2024
6895e89
Reduced UN prod cluster resources (#4508)
dwnoble Sep 4, 2024
d02c81e
Updating NL goldens (#4594)
beets Sep 5, 2024
430b58d
Update NL test goldens (#4595)
beets Sep 6, 2024
4f47d89
Update DataGemma environment config (#4596)
chejennifer Sep 6, 2024
2a5dde6
Add redirect link to data gemma paper (#4597)
shifucun Sep 6, 2024
ba1eef6
Update node server to only return line and highlight for RIG (#4607)
chejennifer Sep 11, 2024
c3095d9
Merging new homepage to master (#4609)
dwnoble Sep 11, 2024
d486180
Added meta tags for social sharing (#4610)
dwnoble Sep 11, 2024
bf53d40
Footer updates for new homepage (#4612)
dwnoble Sep 11, 2024
7adc768
place page: fix whitespace and scroll (#4613)
beets Sep 11, 2024
b62150b
Update website sanity to adapt to the new homepage. (#4611)
keyurva Sep 11, 2024
946cf68
Create cloudbuild to run website sanity in the cloud. (#4614)
keyurva Sep 11, 2024
feb6f67
forward along page url to feedback link (#4615)
beets Sep 11, 2024
14f810a
Update DataGemma paper link (#4617)
shifucun Sep 12, 2024
3a7433b
Layout updates and fixes (#4616)
nick-next Sep 12, 2024
f78e1cd
Fix custom dc header. (#4619)
keyurva Sep 12, 2024
ae932cb
Bump path-to-regexp and express in /experimental/sdg-tracker-un/front…
dependabot[bot] Sep 14, 2024
1d533c2
Add more comments to env.list.sample (#4628)
kmoscoe Sep 16, 2024
c3da084
Delete custom_dc/env.list (#4629)
kmoscoe Sep 16, 2024
3fe33bc
Minor updates to Apigee key import tool (#4606)
hqpho Sep 16, 2024
8a654f6
Clean up existing docs for running website locally. (#4592)
gmechali Sep 16, 2024
66c5319
Removed UN SDG tracker experimental folder (#4630)
dwnoble Sep 17, 2024
fb54fa4
Bump serve-static and express in /static (#4624)
dependabot[bot] Sep 17, 2024
7b7b8e4
Bump body-parser and express in /static (#4625)
dependabot[bot] Sep 17, 2024
fc07749
Bump path-to-regexp and express in /static (#4623)
dependabot[bot] Sep 17, 2024
62cbe72
Client side redirect for place explorer + hides unnecessary component…
gmechali Sep 17, 2024
31f4378
Makes url flag optional in screenshot generation script. (#4632)
gmechali Sep 17, 2024
7c0b9fd
[nl] update bar sorting (#4561)
chejennifer Sep 17, 2024
9b0a13c
Fix place redirection to NOT redirect for unfulfilled queries. (#4635)
gmechali Sep 19, 2024
777d8e6
Bump vite from 5.2.11 to 5.2.14 in /packages/client (#4633)
dependabot[bot] Sep 19, 2024
ac2e67c
Update data gemma paper link (#4639)
shifucun Sep 24, 2024
329ed3a
Update goldens for NodeJs query differ (#4640)
hqpho Sep 24, 2024
5895f89
Re-introduce message for topic selected from previous query. (#4644)
gmechali Sep 26, 2024
b204f85
Migrate Place Page Functionality to Flask Service (#4627)
dwnoble Sep 27, 2024
a4e9b12
Fix redirection from the Tools' StatVarHierarchySearch (#4643)
gmechali Sep 30, 2024
1d2e8ca
Update instructions for creating a Bard API key (#4645)
hqpho Sep 30, 2024
d901702
Remove feedback Q since it's now prominent on the website. (#4646)
kmoscoe Sep 30, 2024
d234d81
Updated goldens for 10-03-2024 release (#4651)
dwnoble Oct 4, 2024
185ccde
Add custom_dc/env.list to .gitignore (#4573)
wittrock Oct 4, 2024
d76d970
Updated mixer and import for website release (#4652)
dwnoble Oct 4, 2024
8c74151
FE changes to support location autocomplete within the NL Search bar …
gmechali Oct 7, 2024
8a13ffc
update screenshot diff script (#4655)
chejennifer Oct 8, 2024
9ebb132
StatVar Hierarchy - Allow wrapping SV names (#4656)
gmechali Oct 8, 2024
e52ff4f
Updated UN ILO NL embeddings (#4653)
dwnoble Oct 8, 2024
96a9aa4
Update nodejs goldens. (#4657)
keyurva Oct 9, 2024
2233f8d
Screenshots (#4658)
gmechali Oct 9, 2024
7a17b92
deprecate userMessage (#4193)
chejennifer Oct 9, 2024
4d14eee
Update custom dc nl test golden. (#4660)
keyurva Oct 9, 2024
ff1b71c
dashboard documentation from prashanth old pr (#4662)
chejennifer Oct 11, 2024
904ee18
fix some css (#4663)
chejennifer Oct 11, 2024
68e79c3
update link to unsdg dashboard (#4664)
chejennifer Oct 11, 2024
2f5db32
Update recipient for Nodejs query failure emails (#4665)
hqpho Oct 14, 2024
7733731
Fixes bug that sets the query parameter as placeholder only. (#4666)
gmechali Oct 14, 2024
c8e9ba5
Modify the autocomplete processing logic to improve results (#4667)
gmechali Oct 14, 2024
7c9bef0
Custom DC Testing (#4661)
gmechali Oct 15, 2024
c2c4efe
updated un ilo stat var groupings and embeddings (#4668)
dwnoble Oct 15, 2024
3ba078e
Add Typing to autocomplete API + Fix bug where comma affects the scor…
gmechali Oct 15, 2024
76308f7
Complete test parity for Custom DC and Base DC (#4669)
gmechali Oct 15, 2024
8e9abb8
Autocomplete Trigger Improvements (#4672)
gmechali Oct 17, 2024
6fe2cc3
Google Analytics AutoComplete Tracking (#4671)
gmechali Oct 17, 2024
53a72e0
update NL goldens (#4677)
chejennifer Oct 18, 2024
ae0c287
update submodules for release (#4674)
chejennifer Oct 18, 2024
6bba024
update submodule for release (#4681)
chejennifer Oct 21, 2024
5249768
update NL goldens after mixer push (#4680)
chejennifer Oct 21, 2024
d347f7e
Adds logging for autocomplete responses. (#4678)
gmechali Oct 21, 2024
5f6ede7
Exit cdc_services/run.sh when any background process exits (#4682)
hqpho Oct 22, 2024
4ef8962
update nodejs goldens (#4685)
chejennifer Oct 22, 2024
c073189
Update submodules (#4688)
n-h-diaz Oct 24, 2024
4fbd786
Pin transformers to 4.45.2 (#4689)
n-h-diaz Oct 24, 2024
499b981
Support schema update mode for data docker (#4686)
hqpho Oct 25, 2024
204ee26
Improves Typo recognition for autocomplete (#4690)
gmechali Oct 28, 2024
60a4f5f
Miscellaneous updates and improvements (#4673)
nick-next Oct 31, 2024
ac8fdad
Accessibility Updates (#4683)
nick-next Oct 31, 2024
6e141a4
Fix nl server start up in webdriver tests (#4692)
chejennifer Oct 31, 2024
1ebe115
Adds Continents to AutoComplete (#4693)
gmechali Oct 31, 2024
d003bff
Enable autocomplete for Autopush environment. (#4695)
gmechali Oct 31, 2024
21ef43c
Autopush env bug fix. (#4696)
gmechali Oct 31, 2024
8d7b51d
Adds GA even trigger for when autocomplete gets triggered. (#4694)
gmechali Oct 31, 2024
a427b46
Updated custom dc terraform deployment instructions (#4697)
dwnoble Nov 1, 2024
f9a2b0c
Refactor continent hack into custom places, and add 'world' and 'eart…
gmechali Nov 1, 2024
6609086
Miscellaneous Layout and Style fixes and cleanups (#4684)
nick-next Nov 2, 2024
137dcbd
Updated nodejs goldens (#4701)
dwnoble Nov 4, 2024
4550112
Update submods for custom DC stable release (#4703)
hqpho Nov 4, 2024
8d8a700
Reintroduce css styling for search autocomplete (#4702)
gmechali Nov 4, 2024
5d5fdaf
Fix size of Custom DC default logo (#4705)
hqpho Nov 4, 2024
9097f79
Removed delete protection from cloud run resources in Custom DC (#4698)
dwnoble Nov 4, 2024
f1ae34e
Add comments for fields in the response for nodejs/query endpoint (#4…
chejennifer Nov 5, 2024
55eed44
Add a GitHub workflow that verifies all commits are already in master…
hqpho Nov 5, 2024
3d069c4
Fix all-commits-in-master ambiguous argument issue (#4711)
hqpho Nov 5, 2024
454b21f
Properly reference master branch on central repo (#4713)
hqpho Nov 5, 2024
cf2ed57
[bio] update multi-hop properties (#4712)
chejennifer Nov 5, 2024
725a1fd
Add wait for loading before SV group click in timeline test (#4714)
hqpho Nov 6, 2024
0ed78f2
Webdriver test fixes and improvements (#4719)
hqpho Nov 6, 2024
81c43b6
[bio] some fulfillment improvements (#4715)
chejennifer Nov 7, 2024
82d3c9c
Replaces accents and more into ascii equivalents for matching algorit…
gmechali Nov 7, 2024
ddd3e22
Replace CO2 emissions example links (#4720)
hqpho Nov 7, 2024
9d1d4e0
Truncate golden CosineScores to 6 decimals to reduce noisy diffs. (#4…
clincoln8 Nov 7, 2024
18e5b76
Update submods. (#4723)
keyurva Nov 8, 2024
eae2dce
Update goldens. (#4724)
keyurva Nov 8, 2024
d07ffd8
fix sanity test (#4725)
chejennifer Nov 8, 2024
c2c1d9d
[NL] Disable llm fallback for entity based queries. (#4722)
clincoln8 Nov 9, 2024
3b0f5ab
[bio] Update biomed property embeddings. (#4721)
clincoln8 Nov 11, 2024
e78d1b6
Convert stable update script to create a PR instead of updating a tag…
hqpho Nov 11, 2024
bbfaf23
Explore landing Update (#4717)
nick-next Nov 11, 2024
0bce14d
Make stable branch commit check clearer (#4727)
hqpho Nov 12, 2024
8b7bdf7
Trigger autocomplete for 2 letter query if that is "US" (#4730)
gmechali Nov 12, 2024
bbd38ec
Desensitize hiding the autocomplete results on scroll. (#4731)
gmechali Nov 13, 2024
2adf62c
Knowledge graph (#4700)
nick-next Nov 13, 2024
c3aa528
Improvements to header (#4709)
nick-next Nov 14, 2024
a11642e
Consolidate custom DC Docker image release scripts (#4527)
hqpho Nov 14, 2024
2cfee8a
Improve custom DC stable release PR creation script (#4735)
hqpho Nov 14, 2024
d8dd40c
Bump versions of CodeQL check actions (#4728)
hqpho Nov 14, 2024
d571bbc
Add a build trigger that updates CDC stable images (#4736)
hqpho Nov 14, 2024
c7dc534
Place redirect smoothing (#4732)
nick-next Nov 15, 2024
3899039
Fix custom DC tests (NL goldens, shared tests) (#4737)
hqpho Nov 18, 2024
864e945
Increase webdriver test timeout to 45 minutes (#4742)
hqpho Nov 18, 2024
a0514c7
Icons to components (#4739)
nick-next Nov 20, 2024
9dc743c
Bump requests from 2.31.0 to 2.32.2 in /tools/resources/icons (#4748)
dependabot[bot] Nov 20, 2024
da28e04
Stop using LiveServerTestCase for webdriver and integration tests (#4…
hqpho Nov 20, 2024
b412cfe
Update release branch checks to work with a merge queue (#4741)
hqpho Nov 20, 2024
5d3d39d
Add alternate health check route for website server (#4749)
hqpho Nov 21, 2024
37de9d9
Tweak CDC stable release trigger config (#4750)
hqpho Nov 21, 2024
e2a38bf
Remove "In Arcs" header when there are no arcs to display. (#4745)
clincoln8 Nov 21, 2024
7e779b4
Update submods (#4752)
hqpho Nov 21, 2024
f1a8171
Update integration test goldens (#4753)
hqpho Nov 22, 2024
bf0c326
Removed /translator page from UI (#4754)
dwnoble Nov 22, 2024
85f4e06
Adds a list of words to skip Autocomplete trigger and abort old reque…
gmechali Nov 22, 2024
e38240c
Updated website service account bigquery permissions (#4755)
dwnoble Nov 22, 2024
6ac95af
Update submods (#4757)
hqpho Nov 25, 2024
d936b66
Update integration test goldens (#4759)
hqpho Nov 25, 2024
0ca3d9d
Update submods (#4758)
hqpho Nov 25, 2024
5e7752e
Updated nodejs query differ goldens (#4761)
dwnoble Dec 2, 2024
fed5115
[CDC Data] Create Python venv in a single step (#4762)
hqpho Dec 2, 2024
276b872
Ignore merge commits on final release branch check (#4765)
hqpho Dec 2, 2024
bad806d
Removed unused climate_trace, worldbank, and tech soup legacy custom …
dwnoble Dec 2, 2024
4f48263
Removed unused climate_trace, worldbank, and tech soup legacy custom …
dwnoble Dec 2, 2024
98ff7cf
Added child type fetching to dev place API. Improved fetching perform…
dwnoble Dec 4, 2024
a783648
Specify length of short hashes for custom DC image labels (#4767)
hqpho Dec 4, 2024
9bd5e1c
Add script for updating prod tag (#4768)
hqpho Dec 4, 2024
5545946
Reformat NodeJS failure email subject (#4770)
hqpho Dec 4, 2024
3bfa00a
Set up "cron" testing job in staging (#4769)
hqpho Dec 4, 2024
496dd7d
Minor tweaks (#4764)
gmechali Dec 5, 2024
bdef654
Dev place page UI (#4747)
dwnoble Dec 5, 2024
732f6da
Only show the Google Map widget on Place pages for places contained w…
gmechali Dec 6, 2024
1124975
Deflake map tool webdriver tests (#4776)
hqpho Dec 6, 2024
a38ca26
Added dev place page experiment setup (#4773)
dwnoble Dec 6, 2024
4aeefc3
Create script to generate topic cache from mcf. (#4775)
keyurva Dec 9, 2024
e5b9944
Added FAQ entry and updated several others (#4760)
kmoscoe Dec 9, 2024
093cd4e
Global header search (#4740)
nick-next Dec 9, 2024
665f47b
fixed multidict import path (#4778)
dwnoble Dec 9, 2024
480a56e
Improve "place in" box on dev place pages (#4774)
juliawu Dec 9, 2024
4342b8f
Fixed padding on dev place page (#4780)
dwnoble Dec 9, 2024
666e4aa
Filters out deprecated places from the fetch_places helper method. (#…
gmechali Dec 10, 2024
465e0ad
Tiny little fix to stop triggering on 'the '. (#4783)
gmechali Dec 11, 2024
7c4dc36
Remove India and Russia from place page experiment group (#4784)
juliawu Dec 11, 2024
dfe8688
Enable "explore in tool" on dev place pages (#4785)
juliawu Dec 11, 2024
1e5d1d2
Emotion and homepage updates (#4756)
nick-next Dec 11, 2024
0e30e41
Update pinned commits for submodules (#4788)
gmechali Dec 11, 2024
4459240
Home hero updates (#4790)
nick-next Dec 12, 2024
6bfa441
Topics to questions (#4791)
nick-next Dec 12, 2024
e6cef24
Fix python cloudbuild test (#4795)
chejennifer Dec 13, 2024
1202443
Place revamp - minor bug fixes (#4792)
gmechali Dec 13, 2024
97873c0
Fixed sanity test issue to account for homepage redesign (#4794)
dwnoble Dec 13, 2024
e074aba
Moving place revamp test to Base DC only. (#4797)
gmechali Dec 13, 2024
6883b9c
Keep the user's query in the NL search bar when landing on the place …
dwnoble Dec 13, 2024
1d2b0df
Revert css I unintentionally modified & add the source sv modal on Pl…
gmechali Dec 16, 2024
19e54cc
Fix linting warnings that were ignored (#4799)
gmechali Dec 17, 2024
33a4ecc
Updates the wording on the hero text. (#4801)
gmechali Dec 17, 2024
51b1207
Move the see all data sources chip into the link chip group (#4803)
gmechali Dec 17, 2024
e700af2
Updated place page redirect so it keeps the user's locale (#4802)
dwnoble Dec 18, 2024
84ed72a
Updated cdc data Dockerfile to install dependencies before copying ov…
dwnoble Dec 20, 2024
25c920c
Update build embeddings logger to match format from the stats importe…
dwnoble Dec 20, 2024
0994cd4
Reorganize custom DC Terraform script for readability (#4786)
kmoscoe Dec 20, 2024
6263071
Fixed webdriver tests that stopped working due to data changes (#4811)
dwnoble Dec 20, 2024
54a0649
Bump cross-spawn in /static (#4744)
dependabot[bot] Dec 20, 2024
ed2c046
Bump werkzeug from 3.0.1 to 3.0.6 in /server (#4691)
dependabot[bot] Dec 20, 2024
4b63504
Bump rollup from 3.29.4 to 3.29.5 in /packages/web-components (#4654)
dependabot[bot] Dec 20, 2024
b06778e
Bump cookie and express in /static (#4659)
dependabot[bot] Dec 20, 2024
c492c35
Bump vite from 4.5.3 to 4.5.5 in /packages/web-components (#4634)
dependabot[bot] Dec 21, 2024
da83e98
Bump webpack from 5.76.0 to 5.94.0 in /static (#4584)
dependabot[bot] Dec 21, 2024
0a8ba60
Bump elliptic from 6.5.4 to 6.5.7 in /static (#4581)
dependabot[bot] Dec 21, 2024
4a4e36c
Bump follow-redirects from 1.15.5 to 1.15.6 in /static (#4045)
dependabot[bot] Dec 21, 2024
e5de2db
Resolve lint warnings (#4808)
gmechali Dec 21, 2024
2836d93
Bump nanoid from 3.3.6 to 3.3.8 in /static (#4787)
dependabot[bot] Dec 21, 2024
b1b9955
update nodejs test goldens (#4804)
ajaits Dec 23, 2024
cb5f2a7
More lint warning fixes (#4809)
gmechali Dec 23, 2024
b8ebd8f
Bump path-to-regexp and express in /static (#4772)
dependabot[bot] Dec 23, 2024
381dac8
Bump @grpc/grpc-js from 1.9.14 to 1.9.15 in /static (#4333)
dependabot[bot] Dec 23, 2024
f948da2
Resolves more lint warnings. Down to 221. (#4814)
gmechali Dec 23, 2024
f5c6780
Bump braces from 3.0.2 to 3.0.3 in /packages/client (#4341)
dependabot[bot] Dec 23, 2024
53037e1
Bump jinja2 from 3.1.3 to 3.1.5 in /server (#4815)
dependabot[bot] Dec 23, 2024
7eea9bf
Fixed bug where export csv wasn't working on place page 'snapshot' gr…
dwnoble Dec 26, 2024
76845fe
Removed stage from CDC data dockerfile to reduce image size (#4818)
dwnoble Dec 26, 2024
7b2b9fc
Bump scikit-learn from 1.2.2 to 1.5.0 in /nl_server (#4360)
dependabot[bot] Dec 27, 2024
0af0523
Bump axios from 1.6.8 to 1.7.7 in /static (#4626)
dependabot[bot] Dec 27, 2024
d7ff8f3
Bump rollup from 4.17.2 to 4.22.4 in /packages/client (#4638)
dependabot[bot] Dec 27, 2024
9520b74
Parameterize the env file used to run the custom dc dev script. (#4819)
keyurva Dec 27, 2024
5d31efc
Bump webpack from 5.88.2 to 5.97.1 in /packages/web-components (#4813)
dependabot[bot] Dec 27, 2024
883bd51
Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /deploy/terraform-d…
dependabot[bot] Dec 27, 2024
fc4828a
Down to 181 lint warnings. (#4816)
gmechali Dec 27, 2024
553cf2d
Bump flask-cors from 3.0.10 to 5.0.0 in /server (#4589)
dependabot[bot] Dec 27, 2024
62e394b
Bump bootstrap from 4.6.2 to 5.0.0 in /packages/web-components (#4636)
dependabot[bot] Dec 27, 2024
c8a8c66
Skip failing custom dc tests. (#4820)
keyurva Dec 27, 2024
4579b7f
Remove web admin. (#4821)
keyurva Dec 30, 2024
93cd989
Set default env values in the run_servers script. (#4822)
keyurva Jan 2, 2025
b594073
Update NL Goldens (#4825)
gmechali Jan 2, 2025
e1f1400
Fix default place name and add continents to place experiment (#4823)
gmechali Jan 2, 2025
bb7b11f
Add child places for all allowed place types and sort them (#4824)
gmechali Jan 3, 2025
dba2831
Topics tab refactoring (#4826)
gmechali Jan 3, 2025
86a7943
Tweaks to new place page for the no data state (#4827)
gmechali Jan 6, 2025
81b9e96
update webdriver test (#4829)
chejennifer Jan 7, 2025
bd458fa
Added script to create custom data commons docker artifact repo in gc…
dwnoble Jan 9, 2025
0b32ad7
Update submods (#4832)
hqpho Jan 10, 2025
78fbb8b
Remove unused website-compose base Docker image (#4833)
hqpho Jan 10, 2025
c015ad2
Skip empty embeddings in custom DC (#4836)
keyurva Jan 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@
.git
.env

pytest_log.txt
pytest_log.txt

**/eval/**/result

import/simple/sample/
**/.data
**/testdata
**/test_data
14 changes: 9 additions & 5 deletions server/.gcloudignore → .gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@
# below:
.git
.gitignore
#!include:.gitignore
#!include:.dockerignore
!mcf_parser.py

# Python pycache:
**/__pycache__/**
.pytest_cache
.pytest_cache/

# Ignored by the build system
/setup.cfg

**/node_modules/**
static/node_modules/

.env/
server/dist/

# Ignore tests
tests/
**/.env/

screenshots/*.png
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
50 changes: 50 additions & 0 deletions .github/workflows/release-branch-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release branch checks

on:
pull_request:
branches: [ "customdc_stable" ]
# Required for merge queue to work: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions
merge_group:
branches: [ "customdc_stable" ]

jobs:
verify_all_commits_are_already_in_master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch all history for accurate comparison
fetch-depth: 0
# Check out the PR branch
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Verify that all commits are already in the master branch
run: |
git remote add dc https://github.com/datacommonsorg/website.git
git fetch dc
MASTER_BRANCH="dc/master"

# Get the list of commits in the source branch that are not in the master branch.
# Exclude merge commits only if this is the final run in the merge queue.
# This way the only merge commits that end up in the final commit history
# are the ones added by GitHub when merging PRs.
if [[ ${{ github.event_name }} == 'merge_group' ]]; then
MISSING_COMMITS=$(git log --pretty="%H - %s" --no-merges $MASTER_BRANCH..HEAD --)
else
MISSING_COMMITS=$(git log --pretty="%H - %s" $MASTER_BRANCH..HEAD --)
fi

if [[ -n "$MISSING_COMMITS" ]]; then
echo ""
echo "ERROR: The following commits are not present in $MASTER_BRANCH:"
echo ""
echo "$MISSING_COMMITS"
echo ""
echo "PRs to release branches should only contain commits that are already in master."
echo "To fix this PR, reset its branch locally to a commit at or behind https://github.com/datacommonsorg/website/commits/master/ and then force-push it."
echo "Note that a release branch PR should be based on master and not the previous version of the release branch, which contains merge commits."
exit 1
fi

echo "All commits are present in $MASTER_BRANCH"
62 changes: 58 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ __pycache__/
.pytest_cache
*.pyc
.env/
test_screenshots/
screenshots/*.png
screenshots/screenshot_url.json

# Production static files
server/dist/**
**/dist/**
!server/dist/.empty

**/node_modules/**

# Local env.
*.swp
.vscode
.idea
!.vscode/launch.json
.env.list

# Mac
.DS_Store
Expand All @@ -24,9 +27,11 @@ tmp/
.air.toml

# Kubernetes
gke/config.yaml
gke/endpoints.yaml
gke/mci.yaml
endpoints.yaml
gke/*.crt
gke/*.key

mixer-grpc.*.pb
deploy/overlays/**/endpoints.yaml
Expand All @@ -37,6 +42,8 @@ deploy/overlays/kustomization.yaml
deploy/git/mixer_hash.txt
deploy/git/website_hash.txt

deploy/apigee/**/*.zip

# Helm
build/helm/**/*.tgz

Expand All @@ -49,4 +56,51 @@ build/helm/**/*.tgz
*.tfstate.*
pylist.json

pytest_log.txt
pytest_log.txt


tools/sdg/sdg.textproto
tools/sdg/subject_page_pb2.py

*diff_report.html

# Experimental - ignore symbolic links
experimental/sdg-static/datacommons/datacommons.js
experimental/sdg-static/datacommons/ranking.min.css
experimental/sdg-static/datacommons/nl_interface.min.css

# Custom DC data
dc-data/
custom_dc/env.list

# Topic cache
gen_ordered_list_for_topics.mcf
mcf_parser.py

# Test output files
output/

# wireit files
.wireit

# finetuned model
ft_final_v20230717230459.all-MiniLM-L6-v2/

# model eval output

**/eval/**/result

# CDC ignores
custom_dc/sample/datacommons/**
custom_dc/data/*.db

.cache/

**/*.egg-info
*.egg-info

# Custom DC dev and terraform ignores
build/cdc/dev/.env
*.tfvars
deploy/terraform-custom-datacommons/modules/backend.tf

3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "mixer"]
path = mixer
url = https://github.com/datacommonsorg/mixer.git
[submodule "import"]
path = import
url = https://github.com/datacommonsorg/import.git
63 changes: 63 additions & 0 deletions .run_cdc_dev.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Env variables for running run_cdc_dev.sh

# The 3 keys / passwords below must be specified before the script can be run.
# Either specify them here or better still is to
# copy this file, specify the values in the copy and set the env variable RUN_CDC_DEV_ENV_FILE to that file's path before running the script.
# e.g. if the copied file is at tmp/cdc.env, you can run the script as follows:
# RUN_CDC_DEV_ENV_FILE=tmp/cdc.env ./run_cdc_dev.sh
DC_API_KEY=
MAPS_API_KEY=
DB_PASS=

# If your DC_API_KEY is for autopush, change this to https://autopush.api.datacommons.org
DC_API_ROOT=https://api.datacommons.org

# Developers will typically change the Cloud SQL and GCS folders below when developing against various DB instances and embeddings files.
# So keep them at the top of the file.

# Cloud SQL settings.
# Set to false is not using Cloud SQL.
USE_CLOUDSQL=true
CLOUDSQL_INSTANCE=datcom-website-dev:us-central1:dc-dev
DB_USER=root

# GCS or local folder to "user data" folder.
# This is primarily for NL embeddings.
# The code looks for it under $USER_DATA_PATH/datacommons/nl/embeddings/custom_catalog.yaml
USER_DATA_PATH=gs://customdc-data/dc-dev
GOOGLE_CLOUD_PROJECT=datcom-website-dev
ADDITIONAL_CATALOG_PATH=$USER_DATA_PATH/datacommons/nl/embeddings/custom_catalog.yaml

# SQLite settings.
# If using sqlite, set USE_CLOUDSQL to false and USE_SQLITE to true.
USE_SQLITE=false
SQLITE_PATH=

# Set this to false if you don't want to start the NL server.
ENABLE_MODEL=true

# You will typically not change these.
IS_CUSTOM_DC=true
FLASK_ENV=custom_dev
WEBSITE_MIXER_API_ROOT=http://127.0.0.1:8081
ENV_PREFIX=Compose
ENABLE_ADMIN=true
DEBUG=true
# https://stackoverflow.com/a/62703850
TOKENIZERS_PARALLELISM=false
# https://github.com/UKPLab/sentence-transformers/issues/1318#issuecomment-1084731111
OMP_NUM_THREADS=1
Loading