Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
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
Kyle Ju 515e1bb6a6 Update README 2021-06-02 17:59:55 -07:00
Shivam Agarwal 072e92d4b2
Updated ReadMe with solutions to installation problems and creating an admin user (#1339)
* Updated ReadMe with solution to installation problem that may occur

* Updated Developer Documentation with instructions for creating an Admin User
2021-05-28 15:00:52 -07:00
Jason Robbins d6cbfe835f
Fix and simplify project installation. (#1335) 2021-05-26 11:07:04 -07:00
Jason Robbins 10058da34c
Add separate prod client_id and registered release candidate URLs. (#1313) 2021-05-07 14:03:08 -07:00
Jason Robbins fd4875a95f
Stop hitting prod when testing locally. (#1292) 2021-04-28 15:17:39 -07:00
Jason Robbins b495597a77
Work around crumbling python2 support. (#1263) 2021-04-12 18:18:29 -07:00
Jason Robbins 9a0019035d Update README to avoid frustrated GSOC students. 2021-03-16 19:17:55 -04:00
Jason Robbins 8d5af789ab
Update README.md
Added note about jinja2.tests problem that new developers are hitting.
2021-03-15 18:26:43 -07:00
Jason Robbins 28840790b5 Remove unneeded firebase environment variables 2021-02-24 16:31:01 -05:00
Jason Robbins 9cb625cf1a Updated obsolete info in README.md 2021-02-24 16:16:30 -05:00
Jason Robbins 41f68437bd
Set up unit tests locally and in travis. (#734)
In this CL:

* Set up a test directory for python unit tests
* Add a script to package.json to make 'nom run test' run the python scripts and document that in README.md
* Add the mock library for python mock objects
* Implement a few simple unit tests, including one that uses mock
* Add a test/testing_config.py file that finds the needed GAE libraries and adds them to the python system path so that they can be imported in code that is being tested
* Hack on the travis config to get it to install gcloud with python libraries without running out of disk space, and make it run the tests
2020-01-30 10:57:22 -08:00
Jason Robbins 9466f5cb58 merged from master to dev to resolve conflicts. 2020-01-13 18:36:01 -05:00
Yangguang a448e6f9bf Using rollup for components (#679)
* Import lit-virtualizer

* misc

* Add rollup and add it to gulp task

* Update gulp

* Downgrade paper-toggle-button to input checkbox

* Include all css to lit-elements

* Add rollup minify. Remove unused packages.

* Fix code review feedback

* Fixes based on code review.

* Remove two unnecessary .call(this, ...)

* Bind _onFeatureToggled (used inside lit-virtualizer) in the constructor

* Add lit-analyzer

* Update lit-analyzer script
2019-11-11 14:32:32 -08:00
Johnny Stenback c79240c32a Update django to 1.11 (LTS). #668
This updates django to the latest LTS version (1.11), and bumps the gulp
version while we're at it.
2019-08-14 11:59:14 -07:00
Yangguang Li 07fd72e47a Update lint fix 2019-07-01 14:28:54 -07:00
Yangguang Li 3f3c580707 Add fix lint 2019-06-27 13:52:25 -07:00
Yangguang Li 7437677a9b Rename pages 2019-06-25 11:16:06 -07:00
Johnny Stenback 27636b25c4
Add note to migrate traffic to both the default and notifier services.
Expand on the deployment instructions a bit to clarify that cr-status contains two services, 'default' and 'notifier'.
2019-06-14 13:20:27 -07:00
Yangguang Li 830872e4ff Add gulp watch 2019-05-22 11:51:38 -07:00
Yangguang Li 7196301568 WIP 2019-05-22 11:13:09 -07:00
Joe Medley 5e8b3d7274
Update README.md 2019-03-01 13:01:21 -08:00
Joe Medley edc0a2ec4e Clarify deployment instructions. (#593) 2019-02-27 13:10:52 -08:00
Eric Bidelman ca2ef3aa9f
readme: add note about blink components 2019-02-11 16:07:34 -08:00
Eric Bidelman b60d4e7992
readme: add env_vars.yaml mention 2018-07-17 11:16:04 -07:00
Eric Bidelman ba43b4464f
readme: use pwa score 2018-02-26 22:28:59 -08:00
Eric Bidelman 845b4da1e5
readme: update LH badge 2018-02-26 22:27:30 -08:00
Eric Bidelman f0ea082304
Update README.md 2018-01-31 14:04:17 -08:00
Piper Chester d86c88a093 Add period after sentence in README (#518) 2017-10-17 19:54:11 -07:00
Eric Bidelman 20e0d5993d Add new settings to readme 2017-08-20 09:08:35 -07:00
Eric Bidelman 46f72420c7 Push notifications: sent to subscribers when feature is updated 2017-08-06 10:35:40 -07:00
Eric Bidelman e4b4e6e19d Update travis 2017-07-03 10:56:36 -07:00
Eric Bidelman 6b9aba52aa Feature owners: db notifications and task queue.
- Intercepts calls to Feature.put() and diffs changes in properties for updates
- Creates async task queue and email notifies feature owners
- Switch to pip and custom django install instead of GAE version
2017-07-02 21:25:30 -07:00
Eric Bidelman a034056519 Add info on seeding component owners list 2017-06-30 16:04:31 -07:00
wh0 16a66ec0d5 Correct copyright holder in README 2017-02-15 15:05:51 -08:00
François Beaufort a73adffc54 Add note to help debugging locally 2016-08-23 13:45:25 +02:00
Jason Chase 07f5c5b687 Use Gulp for build instead of Grunt (#349)
* Add initial support for Gulp

* Implement clean task to match Grunt behaviour

* Copy from Gulp implementation in Web Starter Kit 0.6.4

* Implement sass task using Gulp

* Implement vulcanize task using Gulp

* Implement Gulp task to minify scripts

* Simplify the Gulp vulcanize task

* Implement Gulp default task to match Grunt behaviour

* Change to use Gulp for build/post install

* Cleanup obsolete Grunt tasks and config

* Grunt is still used for serve task (for now)

* Remove unused Gulp tasks

* Clean up tasks that are not needed, which were copied from
  the Web Starter Kit
* Leaving the service worker tasks, as expect those to be used

* Address comments

* Address more comments

* Enable autoprefixer for CSS

* Remove unused tasks
2016-07-20 12:49:10 -07:00
Eric Bidelman 69f44890b8 README: add info on settings.py 2016-07-11 11:37:51 -07:00
Eric Bidelman 4e9b11a32a Fixes #295 2016-07-11 09:01:52 -07:00
Rick Byers 354a4ea26e Fix typo in README.md 2016-07-11 11:56:30 -04:00
Eric Bidelman 0a8a35612e Update license info 2016-07-08 13:37:44 -07:00
Eric Bidelman 8113dce01b Update README with deploy instructions 2016-07-08 12:41:10 -07:00
Eric Bidelman 00675f0344 Update run locally instructions 2016-07-08 10:21:05 -07:00
Eric Bidelman 3c97a9521c Update README.md 2016-06-23 11:37:47 -07:00
Prayag Verma 668bab7789 Update license year range to 2016 2016-01-18 00:15:19 +05:30
Eric Bidelman 7a94de6f5c update to polymer 1.2.3 2015-11-17 09:11:51 -08:00
Christian Biesinger 44a5ecd078 Also document the ruby-compass requirement
Got an error about missing compass; so adding this requirement here.
2015-11-09 21:43:54 -08:00
Eric Bidelman 09075a2533 Add http2push-gae 2015-10-13 15:13:53 -07:00
Eric Bidelman ab2c7c3e46 Feedback. 2015-08-03 09:59:03 -07:00
Seth Ladd 8ae70995ca adding docs and samples links to status 2014-05-05 14:13:23 -07:00