dependabot[bot]
f6fa250cad
Bump flask-cors from 4.0.1 to 5.0.0 ( #4326 )
...
Bumps [flask-cors](https://github.com/corydolphin/flask-cors ) from 4.0.1 to 5.0.0.
- [Release notes](https://github.com/corydolphin/flask-cors/releases )
- [Changelog](https://github.com/corydolphin/flask-cors/blob/main/CHANGELOG.md )
- [Commits](https://github.com/corydolphin/flask-cors/compare/4.0.1...5.0.0 )
---
updated-dependencies:
- dependency-name: flask-cors
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 20:24:31 -07:00
Jason Robbins
3ed63859b0
Run mypy on generated openapi code too ( #4303 )
...
* Run mypy on generated openapi code too.
* fixed dep syntax and version number
2024-08-28 17:45:56 -07:00
dependabot[bot]
af6a56072e
--- ( #3898 )
...
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 16:58:50 -07:00
dependabot[bot]
a6532ff9c1
Bump flask-cors from 3.0.10 to 4.0.1 ( #3857 )
...
Bumps [flask-cors](https://github.com/corydolphin/flask-cors ) from 3.0.10 to 4.0.1.
- [Release notes](https://github.com/corydolphin/flask-cors/releases )
- [Changelog](https://github.com/corydolphin/flask-cors/blob/main/CHANGELOG.md )
- [Commits](https://github.com/corydolphin/flask-cors/compare/3.0.10...4.0.1 )
---
updated-dependencies:
- dependency-name: flask-cors
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 14:19:43 -07:00
dependabot[bot]
7b575e7fff
Bump jinja2 from 3.1.3 to 3.1.4 ( #3851 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 12:20:53 -07:00
dependabot[bot]
e0f836e859
Bump werkzeug from 3.0.1 to 3.0.3 ( #3845 )
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 10:21:03 -07:00
Daniel Smith
c6b40378ee
Validate OT creation arguments (API) ( #3794 )
...
* Check that OT Chromium name not used by other OTs
* Add method for validating OT creation arguments
* Handle Chromium checks in API
* Squashed commit of the following:
commit 5ee220fded
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Apr 15 17:11:42 2024 -0700
npm: bump @babel/preset-env from 7.24.3 to 7.24.4 (#3799 )
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.24.3 to 7.24.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit 66c768273e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Apr 15 16:21:28 2024 -0700
npm: bump rollup from 4.14.1 to 4.14.3 (#3797 )
Bumps [rollup](https://github.com/rollup/rollup ) from 4.14.1 to 4.14.3.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.14.1...v4.14.3 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit bea0dd3af3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Apr 15 15:47:05 2024 -0700
npm: bump @babel/core from 7.24.3 to 7.24.4 (#3798 )
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.24.3 to 7.24.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit 4142251f32
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Apr 15 15:46:43 2024 -0700
npm: bump tar from 6.2.1 to 7.0.1 (#3796 )
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.2.1 to 7.0.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.0.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit 57437c166c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Apr 15 15:46:15 2024 -0700
npm: bump sass from 1.74.1 to 1.75.0 (#3795 )
Bumps [sass](https://github.com/sass/dart-sass ) from 1.74.1 to 1.75.0.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.74.1...1.75.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit 6358a50bfa
Author: Jeffrey Yasskin <jyasskin@google.com>
Date: Mon Apr 15 12:30:20 2024 -0700
Show feature links in the Consensus section (#3791 )
Also denormalizes external reviewer positions into the FeatureEntries table.
commit cf742510fa
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date: Mon Apr 15 10:20:25 2024 -0700
Check that OT Chromium name not used by other OTs (#3792 )
* Update package-lock.json
* lint fix
2024-04-18 10:37:28 -07:00
dependabot[bot]
f4743fdd67
Bump jinja2 from 3.1.2 to 3.1.3 ( #3581 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 12:12:29 -08:00
dependabot[bot]
72e5c445f4
Bump werkzeug from 2.3.3 to 3.0.1 ( #3446 )
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 2.3.3 to 3.0.1.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.3...3.0.1 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-04 17:19:45 -07:00
Ping
4742cb05ff
Handle invalid urls ( #3221 )
...
* Add valid_url to filter invalid urls in extract_urls_from_value
* Hide 404 errors for autolinks in long text
* Skip indexing link with errors at first place
* Fix mypy typing
* Fix unittest
* Fix unittest
* Fix unittest
* Use validators.url
2023-08-02 08:57:01 +08:00
Daniel Smith
a8f4155068
Add origin trials API key variable to server settings ( #3213 )
...
* Add OT API key variable to settings
* fix type hint
* Update settings.py
Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>
* fix quotes
* Move api key function to secrets file
* Add key generation command and doc explanation
* remove OT_API_KEY from settings
* update global var
* Save API key in var to remove need to re-obtain
* logging change
---------
Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>
2023-07-31 15:14:14 -07:00
Jason Robbins
93c5435cd5
Upgrade google_cloud_logging. ( #3190 )
2023-07-18 16:54:44 -07:00
Ping
49acc5619c
Update stale feature links ( #3098 )
...
* Update stale feature links
* Support parse LINK_TYPE_GITHUB_ISSUE
* Support parse LINK_TYPE_GITHUB_MARKDOWN
* Fix mypy complains
* Improve markdown title parse
* Add comments
* Use cloud task to update feature links information
* Delay 10 seconds for second feature links request
* Add TODO
2023-06-30 19:34:28 +08:00
dependabot[bot]
9763af2a49
Bump requests from 2.27.1 to 2.31.0 ( #3035 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.27.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 13:22:40 -07:00
Jason Robbins
c36e142c32
Upgrade Flask and Werkzeug ( #2961 )
2023-05-02 10:07:57 -07:00
dependabot[bot]
5dece93a50
Bump redis from 4.3.4 to 4.4.4 ( #2884 )
...
Bumps [redis](https://github.com/redis/redis-py ) from 4.3.4 to 4.4.4.
- [Release notes](https://github.com/redis/redis-py/releases )
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES )
- [Commits](https://github.com/redis/redis-py/compare/v4.3.4...v4.4.4 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 13:41:45 -04:00
James C Scott III
428ca2e93f
Bump fakeredis to 1.10.1 ( #2885 )
...
Right now, redis can't upgrade.
https://github.com/GoogleChrome/chromium-dashboard/actions/runs/4576646737/jobs/8081053938?pr=2884#step:6:167
```
The conflict is caused by:
170 The user requested redis==4.4.4
171 google-cloud-ndb 1.11.1 depends on redis
172 fakeredis 1.9.0 depends on redis<4.4
```
This PR fixes that
2023-03-31 13:14:05 -04:00
Jason Robbins
52328f8d90
Update werkzeug and stopusing routes with the same path. ( #2861 )
2023-03-27 13:54:05 -07:00
James C Scott III
4a2f9f6a75
Manual changes to support using openapi [3/5] ( #2771 )
...
* Manual changes to support using openapi
.devcontainer/Dockerfile
- Install java in devcontainer
.devcontainer/devcontainer.json
- Make devcontainer automatically install VSCode OpenAPI plugin mentioned in #2769
- Make devcontainer automatically install VSCode plugin for Lit
client-src/elements/chromedash-app.js
- Use the generated client in the frontend.
- Leverage lit-labs/context to provide the client.
- Docs about context and use-cases: https://lit.dev/docs/data/context/
client-src/elements/chromedash-app_test.js
- Add tests for the changes in client-src/elements/chromedash-app.js
client-src/contexts/openapi-context.js
- Declare a context for the openapi client.
framework/basehandlers.py
- add do_put function. previously, all other HTTP verbs had a `do_<verb>` version except PUT.
- Add put function that uses defensive_jsonify. This enables XSSI for PUT requests.
- This needed change is safe to do because the only route using PUT is the admin/blink page which I am migrating into the SPA.
gulpfile.babel.js
- Fix usage of rollupBabel. Previously, @rollup/plugin-node-resolve's default export was named rollupBabel. Which is the wrong package. Fixed to use @rollup/plugin-babel
- Using the correct parameters to rollupBabel from https://www.npmjs.com/package/@rollup/plugin-babel
- Add client-src/contexts/*.js to lint and watch targets
- Add custom onwarn for rollup that comes from using the generated frontend code. Check comment for explanation
package.json
- Add lit-labs/context. Needed for changes in client-src/contexts/openapi-context.js
- Tell NPM to use the generated javascript changes via the `workspaces` key.
- Instead of adding as a dependency like [I initially did here](ccd5c8e71b (diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R101)
), rather keep the "dependencies" only for ones pulled from npm remotely.
- workspaces are meant more for packages that comes from the filesystem
- Docs: https://docs.npmjs.com/cli/v9/using-npm/workspaces?v=true
requirements.txt
- Tell pip to install the python package.
package-lock.json
- Generated changes from adding context and workspaces.
* revert accidental Werkzeug upgrade
* fix devcontainer
* Remove context & failed attempt at global
changes:
- Remove the context
- Move the openapi client to js-src
- modify gulp task to:
- ignore the test file
- add the openapi-client to the rollup task instead of the js task since it is a es6 module (because it has an import / require statement)
- Attempt to construct the object in the spa template. It failed to work at load time. More details below:
When trying to call my exported class at page load like the regular client, I get a not defined error.
There are thoughts about this:
- https://stackoverflow.com/a/75026222
- https://stackoverflow.com/a/53630402
- https://stackoverflow.com/a/69888825
This commit serves as an attempt to try it out
Turns out, script type "module" is automatically set to defer and cannot be disabled.
* add new rollup for cjs for openapi client
* add more tests
* fix middleware
2023-03-24 17:46:28 -04:00
Jason Robbins
2826101101
Revert "Bump werkzeug from 2.1.2 to 2.2.3 ( #2740 )" ( #2757 )
...
This reverts commit 9844a0bcf1
.
2023-02-21 10:56:19 -08:00
dependabot[bot]
9844a0bcf1
Bump werkzeug from 2.1.2 to 2.2.3 ( #2740 )
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 2.1.2 to 2.2.3.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/2.1.2...2.2.3 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 09:26:53 -08:00
Jason Robbins
ffeb6b2daa
Upgrade our app to use python 3.10. ( #2437 )
...
* Hack that gets me running on cloudtop py3.10.
* Update other references 3.9 -> 3.10
* Update yaml runtime version
* Added TODO for cloud debugger
2022-11-07 13:00:51 -08:00
James C Scott III
dad9bcceb6
Remove RSS functionality and dependencies ( #2393 )
...
Fixes #2366
2022-10-25 12:17:23 -04:00
James C Scott III
ad9ee9ae31
Remove all references to django ( #2358 )
...
* Remove all references to django
Replace any functionality with flask
* more cleanup
* fix template test after removing empty comment
* remove unused test_app
2022-10-19 13:51:39 -04:00
Kyle Ju
e5f9a7b642
Create Redis staging setup ( #2211 )
...
* Redis staging setup
* Add an if for staging
* Implement Redis caching APIs (#2212 )
* Redis APIs
* Nit
* Partially migrate Ramcache usage to Redis (#2214 )
* Migrate all fields except feature-related cache
* Fix
* Address comments
Co-authored-by: Kyle Ju <kyleju@chromium.org>
Co-authored-by: Kyle Ju <kyleju@chromium.org>
Co-authored-by: Kyle Ju <kyleju@chromium.org>
2022-09-12 13:56:50 -07:00
dependabot[bot]
0213eafbad
Bump django from 3.2.14 to 3.2.15 ( #2101 )
...
Bumps [django](https://github.com/django/django ) from 3.2.14 to 3.2.15.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.14...3.2.15 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 10:43:45 -07:00
Daniel Smith
8e42e5ca0c
Create scheduled DataStore backups. ( #2021 )
...
* create cron job to back up data
* use settings.py for referencing bucket names
2022-07-14 17:04:45 -07:00
dependabot[bot]
2177bd1b6c
Bump django from 3.2.13 to 3.2.14 ( #1998 )
...
Bumps [django](https://github.com/django/django ) from 3.2.13 to 3.2.14.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.13...3.2.14 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 16:41:58 -07:00
Jason Robbins
20a4ec5d5b
Upgrade Flask and related libraries. ( #1956 )
2022-06-20 16:56:22 -07:00
Kyle Ju
85faec04ae
Enable CORS for data/* ( #1922 )
...
* Test Flask-Cors
* Add a CORS test for data/*
2022-06-14 18:01:17 -07:00
Jason Robbins
df4aec4cf2
Send and receive emails in py3 using GAE legacy libraries ( #1923 )
...
* Progress
* Send and receive emails in py3 using GAE legacy libraries.
* No need to run py2 unit tests when there are none
* Addressed review comments.
2022-06-10 14:56:40 -07:00
Jason Robbins
831042c266
Pin all py3 library deps to avoid unexpected breakage. ( #1906 )
2022-05-26 13:09:44 -07:00
dependabot[bot]
d664a4dd90
Bump django from 3.2.12 to 3.2.13 ( #1856 )
...
Bumps [django](https://github.com/django/django ) from 3.2.12 to 3.2.13.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.12...3.2.13 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 10:55:06 -07:00
dependabot[bot]
f37d2fbd06
Bump django from 3.2.11 to 3.2.12 ( #1730 )
...
Bumps [django](https://github.com/django/django ) from 3.2.11 to 3.2.12.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.11...3.2.12 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 11:20:09 -08:00
Daniel LaLiberte
4589266e78
Add html5lib to requirements.txt
2022-02-08 20:21:26 +00:00
Kyle Ju
29267fecfb
Bring Django to the latest release ( #1662 )
2022-01-13 14:05:22 -08:00
Jason Robbins
fe3f910336
In py3 code, replace the separate mock lib with unittest.mock. ( #1665 )
2022-01-11 08:20:40 -08:00
Jason Robbins
10a6decb01
Further separate py2 code. ( #1657 )
...
* Further separate py2 code.
* Try making corresponding changes to py2 workflow
* Add TODOs for a couple of deps that are still needed for now.
2022-01-05 16:22:01 -08:00
Kyle Ju
4b743c2a93
Upgrade Django to 2.2.25 ( #1653 )
...
* Upgrade django to 2.1
* Update it to 2.2.25
* Use python3 to install py2 dependencies
* Update requirements.txt
2022-01-05 14:25:15 -08:00
Kyle Ju
2c4d1e536b
Clean up requirements.txt ( #1651 )
...
* Rearrange dependencies
* Revert the google-cloud-tasks in #1141
* Keep the google-auth pin for google-cloud-ndb in #1365
* Revert the pin in #1335 for outdated py2 support
* Remove the pin for requests in #1205
2021-12-21 11:33:03 -08:00
Jason Robbins
ad9e2c2b07
Work around broken library dependency. ( #1614 )
2021-11-19 11:44:23 -08:00
Jason Robbins
57abce6aba
Use urlfetch directly in py2 code. ( #1590 )
2021-10-26 17:33:00 -07:00
Jason Robbins
b59e9308c0
Enable Cloud Debugger in py3. ( #1576 )
...
* Enable Cloud Debugger in py3.
* Update main.py
Co-authored-by: Kyle Ju <kyleju@google.com>
Co-authored-by: Kyle Ju <kyleju@google.com>
2021-10-07 12:48:30 -07:00
Kyle Ju
9353bc4356
Set up GCL for python3 ( #1573 )
...
* Set up gcl
* move gcl to py3 only
* Update main.py
2021-10-05 15:15:47 -07:00
Shivam Agarwal
fd6018bd3d
20210618 gae ndb to cloud ndb ( #1365 )
...
* Added Cloud NDB to requirements
* google-cloud-core 1.7.0 requires google-auth<2.0dev,>=1.24.0, but you'll have google-auth 1.20.1 which is incompatible.
* Running DataStore Emulator on port 15606 and setting environment variable for the same
* Replaced GAE NDB imports with Cloud NDB imports
* Solved Error: No Context for Ramcache
* Solved No NDB Context Error for Cloud NDB
* Fixed Error No object QueryOptions
* Removed clear_datstore flag
* Fixed to_dict() method
* Added explicit call to method for stashing values while editing a feature
* Using Cloud NDB in testbed
* Updated README with JRE instructions and setting the DJANGO_SETTTINGS_MODULE environment variable for django.setup
* Added Env Variable for datastore emulator
* Migrated accounts_api_test.py
* Migrated approvals_api_test.py
* Migrated Comments.py and Cues_api_test.py
* Migrated Features.py
* Migrated metricsdata_test.py
* Migrated stars_api_test.py
* Fixed Deprecation warning for query options
* Migrated token_refresh_api_test.py
* Migrated basehandlers_test.py
* Migrated permissions_test.py
* Migrated ramcache_test.py
* Migrated secrets_test.py
* Migrated xsrf_test.py
* Migrated fetchmetrics_test.py
* Migrated models_test.py
* Migrated notifier_test.py
* Migrated processes_test.py
* Migrated featuredetail_test.py
* Migrated featurelist_test.py
* Migrated guide_test.py
* Migrated intentpreview_test.py
* Migrated samples_test.py
* Removed some unused stubs
* Set the consistency of datastore emulator to be 1
* Resetting the database emulator before running the tests
* Added npm targets for starting and stopping emulator
* Updated README and Developer Docs
* Removed unused imports
* Made NDB calls DRY
2021-06-28 19:05:04 -07:00
Jason Robbins
f9064ece6d
Upgrade urllib3 library due to vuln. ( #1348 )
2021-06-02 15:08:32 -07:00
Jason Robbins
d6cbfe835f
Fix and simplify project installation. ( #1335 )
2021-05-26 11:07:04 -07:00
Shivam Agarwal
9d8d441b94
20210317 fix npm run coverage ( #1212 )
...
* Added coverage dependency in requirements.dev.txt
* npm run coverage will install coverage before running coverage
* Modified npm run coverage script in package.json
2021-03-24 09:45:25 -07:00
Jason Robbins
79bd74b506
Fix usage of requests library for py2 GAE server.
2021-03-16 16:22:47 -04:00
Shivam Agarwal
a2afb0c28d
20210316 urlfetch to native python ( #1205 )
...
* Added requirements for requests library
* Replaces URLfetch with requests
* Taking secret key from environment
* Replaced urlfetch with requests in tests
* Fixed Test
* Fixed POST request in test
2021-03-16 12:18:48 -07:00