Commit Graph

1488 Commits

Author SHA1 Message Date
Bryan Kendall
4158078618 adding a type for the options object 2018-11-26 15:21:17 -08:00
Bryan Kendall
ef69d5c3fc typescript implicitInit 2018-11-26 15:17:12 -08:00
Josep Sayol
1d05729c05 Fix bug where database emulator process is not properly killed (#1030) 2018-11-21 17:00:41 -08:00
Firebase Operations
1aa2a0ee7e [firebase-release] Removed change log and reset repo after 6.1.1 release 2018-11-20 21:12:59 +00:00
Firebase Operations
ca0ef18ca2 [firebase-release] Updated CLI to 6.1.1 v6.1.1 2018-11-20 21:12:34 +00:00
Bryan Kendall
2fa24eae75 changelog for 6.1.1 (#1029) 2018-11-20 13:08:46 -08:00
Sam Stern
ee0995ca2f Add project ID when deleting all collections (#1025) 2018-11-19 18:41:35 -05:00
Bryan Kendall
ddcaf52085 use total rather than tasks directly (#1024)
fixes #1020
2018-11-19 09:55:25 -08:00
Bryan Kendall
ba83d1678c throw errors instead of returning rejected promises (#1019) 2018-11-19 09:46:54 -08:00
Ryan Brewster
6ca7ecab05 Merge pull request #1016 from firebase/rpb/fix-emulators
Do not serve emulators unless explicitly requested
2018-11-15 14:55:51 -08:00
Ryan P. Brewster
90f5af7c82 Do not serve emulators unless explicitly requested 2018-11-15 12:13:34 -08:00
Firebase Operations
3ff94c531b [firebase-release] Removed change log and reset repo after 6.1.0 release 2018-11-13 19:42:56 +00:00
Firebase Operations
1900afe4fa [firebase-release] Updated CLI to 6.1.0 v6.1.0 2018-11-13 19:42:30 +00:00
Bryan Kendall
334b631d8b changelog for v6.1.0 (#1013) 2018-11-13 11:37:38 -08:00
Alex Memering
766322c94f Doing a Hosting deploy with the --json option should return the version deployed (#1006) 2018-11-12 14:45:59 -08:00
Ryan Brewster
a7caf1b66f Merge pull request #1008 from firebase/rpb/open-emulators
Expose emulators without a --open-sesame flag
2018-11-12 10:25:02 -08:00
Ryan Brewster
6c6f61b00a Merge branch 'master' into rpb/open-emulators 2018-11-12 10:16:55 -08:00
Qinmao Zhang
de47ef87be Improve memory performance of Queue implementation (#1011) 2018-11-12 10:03:56 -08:00
Ryan Brewster
87c3984237 Merge branch 'master' into rpb/open-emulators 2018-11-09 17:52:47 -08:00
Qinmao Zhang
8fb44491f9 Fredzqm/long delete cli (#977)
* make database-remove.js do recursively chunked delets

* make concurrent delete requests

* fixed exceptions, add pending and in progress to status

* limit max concurrency

* add print=silent

* refactor into database/remove.js

* add logging for prefetching

* use waiting map

* clean up map and handle known bug

* use queue

* remove feature flag and hardcode concurrency and retry

* revert to use utils.reject

* remove TODO for bug, since it is fixed

* move Helper class into DatabaseRemove file

* add tests for Remote

* rebase and fix import

* convert to remove.spec.ts and remove.ts

* handle comments

* extract an interface for RemoveRemote
2018-11-09 16:31:45 -08:00
Ryan Brewster
9aa29605ad Merge branch 'master' into rpb/open-emulators 2018-11-09 16:02:45 -08:00
Ryan P. Brewster
e35808af0a Remove previews 2018-11-09 13:09:56 -08:00
Ryan P. Brewster
7a79640283 resolve conflicts 2018-11-09 13:08:24 -08:00
Bryan Kendall
c98193fa88 Update src/commands/serve.js
Co-Authored-By: ryanpbrewster <RyanPBrewster@gmail.com>
2018-11-09 13:07:16 -08:00
Kevin Jian
370e5e5743 Fix function delete in interactive mode (#1007) 2018-11-09 11:55:11 -08:00
Ryan P. Brewster
86f6ac71cd Expose emulators without a --open-sesame flag 2018-11-09 10:31:10 -08:00
Bryan Kendall
d8e0072dd4 typescript utils and add some tests (#1003)
* typescript utils and add some tests

* add check to make sure exported variable is updated

* add missing types

* update utils

* import expect
2018-11-07 14:53:38 -08:00
Bryan Kendall
3d281d95e8 bootstrap mocha with chai-as-promised (#1004) 2018-11-07 14:36:32 -08:00
Ryan Brewster
9c3990591b Merge pull request #1002 from firebase/rpb/bump-emulator
Bump Firestore emulator version
2018-11-07 10:47:05 -08:00
Ryan P. Brewster
659a0dace5 Bump Firestore emulator version 2018-11-07 10:12:00 -08:00
Michael Bleigh
16c511425f Convert queue.js to TypeScript (#1000)
* Convert queue.js to TypeScript

* Update src/queue.ts

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Update src/queue.ts

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Update src/queue.ts

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Update src/deploy/hosting/uploader.js

Co-Authored-By: mbleigh <mbleigh@mbleigh.com>

* Address comments.
2018-11-06 08:20:44 -08:00
Bryan Kendall
645483aaf2 Hosting Functional Test; OAuth Scopes Fix (#998)
- add hosting functional test
- fix authenticating with GOOGLE_APPLICATION_CREDENTIALS
2018-11-05 15:16:42 -08:00
Bryan Kendall
5ba5231d37 Merge remote-tracking branch 'public/master' into bk-hosting-test 2018-11-05 15:04:49 -08:00
Qinmao Zhang
eee904b553 refactor queue.js so retryCount is per task (#988)
* refactor queue.js so retryCount is per task

* Add tests for queue; allow custom backoff

* add sinon types

* add test for two tasks having separate retry count

* added a couple of more tests

* added more asertions

* tests about taskName

* handle comments

* use callCountMap for testing concurrency
2018-11-05 13:57:08 -08:00
Bryan Kendall
4f733e5dd2 add ignore for generated files during testing 2018-11-05 11:59:07 -08:00
Bryan Kendall
85e663b60a fix env string 2018-11-05 11:43:48 -08:00
Bryan Kendall
6c69a88de1 move decrypt 2018-11-05 11:39:52 -08:00
Bryan Kendall
f372a5292f unbreak 2018-11-05 11:08:15 -08:00
Bryan Kendall
3b3d423fbc break 2018-11-05 11:02:54 -08:00
Bryan Kendall
6f3c3c7522 stop being verbose 2018-11-05 10:40:16 -08:00
Bryan Kendall
7c09fc91ea skip after_script 2018-11-05 09:12:50 -08:00
Bryan Kendall
acdb659119 print out commands in script 2018-11-05 08:55:29 -08:00
Bryan Kendall
784edca4d2 add job for running hosting test 2018-11-05 08:55:17 -08:00
Bryan Kendall
1b8a08f1d5 add fixes for local testing 2018-11-02 12:31:10 -07:00
Bryan Kendall
08fbd0e947 export GAC 2018-11-02 12:17:44 -07:00
Bryan Kendall
eeb6259fe2 remove stop 2018-11-02 12:08:05 -07:00
Bryan Kendall
9a0e14c8d8 adding fail-safes to decrypting 2018-11-02 12:05:10 -07:00
Bryan Kendall
56e38f768c add new script for testing hosting 2018-11-02 11:58:55 -07:00
Bryan Kendall
0fddfb3d02 remove gulp; fix test linting (#992) 2018-11-01 15:54:10 -07:00
Firebase Operations
63ae64a2e3 [firebase-release] Removed change log and reset repo after 6.0.1 release 2018-11-01 19:02:23 +00:00