Commit Graph
188 Commits
Author SHA1 Message Date
Zsika Phillip bd85f55093 Adds new callback to createUse API (breaking change) (#1186) 2018-04-25 21:50:19 -07:00
Zsika Phillip 0ae7d902d7 First pass of Auth breaking changes (#1123) 2018-04-25 06:49:59 -07:00
Ryan Wilson 260557691f Add counter for errors and warnings logged. (#1168)
* Moved writes outside of dispatch_async block.
2018-04-25 06:45:36 -07:00
Paul Beusterien 83b519f0a5 Remove GTM dependency from FirebaseAuth (#1175) 2018-04-24 16:19:11 -07:00
Paul Beusterien 6a432ad628 Eliminate an Auth tvOS build warning (#1159) 2018-04-24 15:39:53 -07:00
Paul Beusterien 8e70791465 Update travis to use Xcode 9.3 (#1163)
* Workaround already installed brew error message
* NSJSONSerialization of doubles is now fixed on OSX
2018-04-23 10:00:02 -07:00
Zsika Phillip b2cf8c6d3d Fixes base64URL encoding (#1161)
* Fixes base64URL encoding

* Addresses comments

* Addresses comment
2018-04-20 18:58:23 -07:00
Chen Liang 58b0aefc66 replace the private OCMock method with a public one, and also fix the EXC_BAD_ACCESSw (#1149) 2018-04-19 17:03:45 -07:00
Benoit St-Pierre 9eea8d4fc4 Add unit tests for FirebaseCore (#751)
* Add unit tests for FIRMutableDictionary

Basic unit tests to increase overall code coverage.

* Add unit tests for FIRReachabilityChecker

Basic unit tests to increase overall test coverage.

* Add unit tests for FIRNetwork

Basic unit tests to increase overall test coverage.

This also includes a mock HTTP server to serve mock network responses
through the network stack.

* Remove +internal from imports

This was unnecessary.

* Move Example/Tests/Core/Utils files to Example/Tests/Core

This simplifies build files to include the correct dependencies

I had also missed some tvOS test fixes.

* PR Feedback

Fixed some style issues and updated GTMHTTPServer comments.

* Moved GTMHTTPServer.h into third_party directory

* Revert Firebase Xcode project for merging.

* Add tests to project file.
2018-04-19 15:56:11 -04:00
Ryan Wilson 7f0b04afa2 Fix version number reporting for minor versions. (#1124)
* Fix version number reporting for minor versions.

* run clang-format

* Updated the comment in systemVersion.
2018-04-17 11:08:30 -04:00
Ryan Wilson ad321bb279 Match previous systemVersion functionality (#1120)
* Match previous systemVersion functionality

* style.sh

* Add new test file to test targets
2018-04-16 19:29:53 -04:00
Ryan Wilson fd84cd60aa Merge pull request #1102 from firebase/release-4.13.0
Release 4.13.0
2018-04-13 20:34:55 -04:00
Sebastian Schmidt 4e01558661 Merge pull request #1055 from firebase/mrschmidt-removedownloadurl
Removing FirebaseStorage.downloadURL
2018-04-13 14:37:28 -07:00
Sebastian Schmidt e86665b1ba Addressing feedback 2018-04-13 12:20:32 -07:00
Paul Beusterien f23c3914bd Rename version 4.12.1 to 4.13 (#1092) 2018-04-13 11:24:52 -07:00
Chen Liang 609cd0328a Options should be nullable for subscription (#1085)
Getting warning message from xcode so we need to define it to remove warning.
2018-04-13 11:15:28 -07:00
Zsika Phillip c875e43283 Fixes typo that causes token parsing to break (#1076) 2018-04-12 16:57:55 -07:00
Zsika Phillip ac969c721a Fixes typo that causes token parsing to break (#1076) 2018-04-12 16:54:22 -07:00
Sebastian Schmidt a7ce4d9d3c Being less technically correct 2018-04-11 10:38:31 -07:00
Paul Beusterien e29010caf2 Update component versions for 4.12.1 2018-04-11 09:07:06 -07:00
Paul Beusterien 55eed807df Merge pull request #1067 from firebase/release-4.12.0
Release 4.12.0
2018-04-10 17:45:20 -07:00
Ryan Wilson 23742e8159 Merge pull request #1050 from firebase/core-breaking-changes
Core Breaking API Changes
2018-04-10 13:34:13 -04:00
Paul Beusterien 10105d83c9 Enable Core Unit Tests to run in a Release config (#1064) 2018-04-10 09:00:38 -07:00
Sebastian Schmidt caa57b65fa Removing trailing comma 2018-04-09 14:49:00 -07:00
Sebastian Schmidt 2dd40e3abb Removing FirebaseStorage.downloadURL 2018-04-09 14:41:54 -07:00
Paul Beusterien 2f2bb7f4c7 Import changes to build Auth as a Swift static lib (#1042) 2018-04-09 11:23:29 -07:00
Ryan Wilson 7f8a5ef1e5 Actually fixed the tests this time. (#796) 2018-04-09 12:16:57 -04:00
Ryan Wilson 5bf3a6abdb Fixed Core test's missing constant. (#795) 2018-04-09 12:16:57 -04:00
Ryan Wilson b8fdf48833 Remove old FIROptions constructor. (#615) 2018-04-09 12:16:57 -04:00
Paul Beusterien 42bc113754 Travis static library testing (#1047)
* Add Objective C example app for Messaging
* Travis static library testing
* static lib build fixes
2018-04-09 09:11:21 -07:00
Zsika Phillip 21a6e1f930 Minor enhancements (#1041)
* Minor enhancements

* addresses comment
2018-04-07 23:59:33 -07:00
Paul Beusterien 6ea2af1564 Update unit test options for with or without use_frameworks (#1037) 2018-04-06 11:19:18 -07:00
Ryan Wilson 465e9a1f0e Update component versions for 4.12.0 (#1024) 2018-04-04 10:56:23 -04:00
Zsika Phillip fbe9f9c30c Adds support for deep link to Email/Link sign-In (#1023) 2018-04-04 10:14:36 -04:00
Zsika Phillip 6566328dc4 Adds copy auth state API (#1018)
* Adds copy auth state API

* improvements

* Addresses comments
2018-04-03 17:19:51 -07:00
Chen Liang 653aea7b50 Adding a new topic subscription/unsubcription with completion handler method (#1001)
* add new topic subscription/unsubscription method with handler
2018-03-30 11:41:38 -07:00
Zsika Phillip ea490a2c64 Custom claims client api (#1004)
* Adds custom claims API to client

* Ammends branch

Adds:
- Deprecation messages
- Fixes auth result keys
- Ammends sample app
- Adds unit tests

* fixes typo

switches “to” to “so”
2018-03-29 18:16:45 -07:00
Ben Hamilton (Ben Gertzfield) cb1f65dfcf Migrate Firebase off ObjC module @import statements (#992)
* Migrate Firebase off @import statements

* - Migrate tests and test utils from @import to #import.
  - Update Xcode projects for tests to explicitly link in framework deps.
  - Update check_no_module_imports.sh to look for @imports in tests/test utils/
    integration tests.

* Ensure check_no_module_imports.sh explicitly exits with code 0 on success.
2018-03-29 08:44:48 -07:00
Morgan Chen c67031386d Remove FIRMessagingInstanceIDProxy 2018-03-27 12:37:27 -07:00
Zsika Phillip 7e65885762 Add sign in method constants (#923)
* Updates Changelog for 4.5.0 release
* Adds sign-in method constants
2018-03-14 18:38:55 -07:00
Paul Beusterien d5afb9bbf3 Version bumps for 4.11.0 (#919) 2018-03-14 07:00:34 -07:00
zxu e41f4b1857 Merge Release 4.10.1 into Master (#896)
* Version bumps for Firebase 4.10.1 (#891)

* Minimal fix for b/74357976 (#890)

Fixes b/74357976 which caused unauthenticated users to be unable to reach the Firestore backend and updates the changelog.

* Copy all C++ strings to NSString where they're not obviously safe (#893)

This fixes a known instances of memory corruption where in
FSTLevelDBMutationQueue, the NSString view was retained for later, and
the incorrect user was used, causing b/74381054.

gRPC does not necessarily copy its string argumnets and if our hostname
were configured to a non-default one it's possible that we could corrupt
the host cache too.

All remaining usages of util::WrapNSStringNoCopy are obviously safe:
passed into logging or other known transient usages.

* fix lint
2018-03-09 11:48:07 -05:00
Paul Beusterien 8ef0f1490a Adds Email link sign-in (#882) 2018-03-07 07:47:09 -08:00
Paul Beusterien 85dc1d4ec9 Version bumps for Firebase 4.10.0 (#859) 2018-02-27 07:25:18 -08:00
Benoit St-Pierre 3d03426e0e Style fixes 2018-02-26 15:58:37 -05:00
Benoit St-Pierre b18e09cfe9 Merge pull request #850 from firebase/bs-useragent
Add useragent registration
2018-02-26 14:40:36 -05:00
Benoit St-Pierre e281a2135b Deflake tests 2018-02-26 14:40:00 -05:00
Benoit St-Pierre 6f5eebb77f PR feedback 2018-02-26 13:58:28 -05:00
Gil ac06a94ace Auto-style swift sources (#847)
* Fix bash style issues

* Exclude additional build output directories

* Format swift files with scripts/style.sh

* Reformat swift sources

* Allow swiftformat 0.32.0 on travis
2018-02-26 10:51:58 -08:00
Benoit St-Pierre 34dd1dbfd9 Add tests for useragent
Tests a variety of simple use cases.
2018-02-26 13:25:26 -05:00