Permalink
Commits on Dec 6, 2018
  1. Dropping Python 3.3 Support (#232)

    hiranya911 committed Dec 6, 2018
    * Dropped support for Python 3.3
    
    * Not installing Firestore on PyPy
Commits on Dec 5, 2018
  1. Setting X-Client-Version header in project_management (#231)

    hiranya911 committed Dec 5, 2018
Commits on Dec 4, 2018
  1. Bumped version to 2.14.0 (#230)

    hiranya911 committed Dec 4, 2018
  2. Skipping Firestore tests on PyPy (#229)

    hiranya911 committed Dec 4, 2018
  3. Project Management API (#228)

    hiranya911 committed Dec 4, 2018
    *  Implement more methods of the FirebaseManagementService; refactoring. (#214)
    
    Implement list_android_apps and create_android_app; perform some refactoring on RPC-making code. With these two methods implemented, an integration test has been written at this time as well.
    
    * Complete Implementation of the project_management Module
    
    Implementation of all client-level functionalities (both Android and iOS), making use of the newly published Firebase Management API.
    
    * Add an (incomplete) unit test for package_management; add a MockMultiRequestAdapter test utility (#218)
    
    * Add the bulk of the remaining unit tests for the project_management module (#219)
    
    * Complete implementation and unit tests (#223)
    
    * Add TestListAndroidApps
    
    * Fix the maximum page size.
    
    * Fix string formatting.
    
    * Fix the naming of updateMask to be consistent with precedent.
    
    * Implement __eq__ and __hash__ for ShaCertificate
    
    * Add remaining unit tests.
    
    * Fix a subtle Python 2.7 vs 3 compatibility problem.
    
    * Rework the version compatibility line to be more elegant. Introduce the same thing to unit tests.
    
    * Addressing reviewer comments.
    
    * Fix a subtle Python 2.7 vs 3 compatibility problem.
    
    * Fix lint
    
    * Fix lint
    
    * Addressing reviewer comment.
    
    * Add __eq__ and __hash__ methods to AndroidAppMetadata and IosAppMetadata; write the remaining unit tests.
    
    * Small alterations to __eq__ implementations.
    
    * Addressing reviewer comments.
    
    * Addressing reviewer comments.
    
    * Porting reviewer comments to this branch.
    
    * Inlining more constants
    
    * Using a stronger assertion for an empty request body.
    
    * Remove the name attribute from AndroidAppMetadata and IosAppMetadata as per offline discussion.
    
    * Address reviewer comments.
    
    * Fix unit tests that triggered __ne__ with flipped arguments instead of __eq__.
    
    * Implement __ne__.
    
    * Use testutils.run_without_project_id
    
    * Updated changelog
    
    * Minor docs formatting fix
Commits on Dec 3, 2018
  1. Requesting verbose error responses from FCM backend (#226)

    hiranya911 committed Dec 3, 2018
Commits on Dec 1, 2018
  1. add channel_id to messaging.AndroidNotification (#227)

    chemidy authored and hiranya911 committed Dec 1, 2018
    * fix FcmErrorCode error type
    
    * add channel_id to messaging.AndroidNotification
    
    * fix test
Commits on Nov 30, 2018
  1. Fixing a performance issue in SSE client (#221)

    hiranya911 committed Nov 30, 2018
    * Fixing a performance issue in SSE client
    
    * Merged with master
    
    * Using a more efficient mechanism to buffer and parse incoming SSE data
    
    * Minor improvement to how tail string is read
    
    * Using string slicing to reduce the window
    
    * Updated comment
Commits on Nov 20, 2018
  1. Add header for opting into correct URL decoding (#206)

    rockwotj authored and hiranya911 committed Nov 20, 2018
    * Add header for opting into correct URL decoding
    
    There is a long standing bug (~years) in the RTDB url decoding where we URL decode query parameters twice. Since we can't simply fix the issue without breaking users, we allow an opt-in upgrade/fix of the correct behavior via a header `X-Firebase-Decoding: 1`. We hope to make this the default (correct) behavior at some point in the near future. Which then this header will not be needed anymore.
    
    * Add tests for X-Firebase-Decoding
Commits on Nov 16, 2018
  1. Handling non-existing validSince case on UserRecord (#220)

    hiranya911 committed Nov 16, 2018
    * Handling non-existing validSince case on UserRecord
    
    * Merged with master
Commits on Nov 15, 2018
  1. fix FcmErrorCode error type (#222)

    chemidy authored and hiranya911 committed Nov 15, 2018
Commits on Nov 2, 2018
  1. Handling HTTP errors from local metadata service (#212)

    hiranya911 committed Nov 2, 2018
    * Handling HTTP errors from local metadata service
    
    * Decoding the error response correctly
Commits on Aug 21, 2018
  1. Bumped version to 2.13.0 (#194)

    hiranya911 committed Aug 21, 2018
Commits on Aug 20, 2018
  1. Updated instance ID API docs (#193)

    hiranya911 committed Aug 20, 2018
    * Updated instance ID API docs
    
    * Fixing some typos and other minor formatting changes
Commits on Aug 15, 2018
  1. Basic firebaseopensource config (#192)

    samtstern committed Aug 15, 2018
Commits on Aug 13, 2018
  1. Fixed and refactored the db.Reference.listen() API (#190)

    hiranya911 committed Aug 13, 2018
    * Fixing a credentials issue in listener
    
    * Added more tests
    
    * Updated changelog
    
    * Further clean up and improvement
    
    * Improved error handling in listen() method
  2. Additional fields in the messaging.WebpushNotification type (#186)

    hiranya911 committed Aug 13, 2018
    * Additional webpush notificationp fields
    
    * More test coverage
    
    * Updated documentation
    
    * Updated documentation
    
    * Updated changelog
Commits on Aug 8, 2018
  1. [WIP] Adding stream listener to stream changes in child nodes (#183)

    the-c0d3r authored and hiranya911 committed Aug 8, 2018
    * Added SSEClient library
    
    * Added Streaming functionality to db.py
    
    * Added ignore directive 'protected-access' for db.py in lint.sh
    
    * Fixed typo
    
    * Renamed file to internal module
    
    * Reverted lint.sh, added ignore directive in db.py
    
    * Changed import module name to internal name
    
    * Fixed pylint protected-access by not calling protected member
    
    * Added test_sseclient.py
    
    * python2,3 compatibility, fixed encoding issue
    
    * Added tests for Event() class
    
    * removed build_headers() function
    
    * Removed Event().dump() test code
    
    * Changed import to match code style
    
    * init sseclient to Stream().start() and removed sleep
    
    * Added apache license 2.0 header
    
    * changed import style, removed for loop in event in test_sseclient.TestEvent
    
    * Removed self.running from firebase_admin._sseclient
    
    * Renamed Stream class to ListenerRegistration, stream() to listen(), removed 'stream_id' and added more documentation
Commits on Jul 25, 2018
  1. Multi DB support (#178)

    hiranya911 committed Jul 25, 2018
Commits on Jul 24, 2018
  1. '?' is now an illegal character for the REST API (#165)

    Bien-CV authored and hiranya911 committed Jul 24, 2018
    Having a '?' character in a path raised an ApiCallError (405 Client Error: Method Not Allowed for url: -fakeURLwith?-.json Reason: append .json to your request URI to use the REST API. ).
    
    It is indeed not the right error. 
    
    This pull request allows the correct error to be raised ( ValueError : 'Invalid path: "{0}". Path contains illegal characters.' ).
Commits on Jul 17, 2018
  1. Bumped version to 2.12.0 (#181)

    hiranya911 committed Jul 17, 2018
    * Bumped version to 2.12.0
    
    * Updated changelog
Commits on Jul 12, 2018
  1. Support for creating custom tokens without service account credentials (

    hiranya911 committed Jul 12, 2018
    #175)
    
    * Ability to sign custom tokens without a service account
    
    * Fixing tests for py3
    
    * Fix for Python 3.5
    
    * Implemented go/firebase-admin-sign
    
    * Sending the required headers when calling the metadata service
    
    * Renamed service_account option to service_account_+id
    
    * Added discovery failiure test
    
    * Added snippet; Updated error message to be in sync with docs
    
    * Renamed service_account_id option to serviceAccountId for consistency
Commits on Jun 29, 2018
  1. Reading project ID from GOOGLE_CLOUD_PROJECT (#176)

    hiranya911 committed Jun 29, 2018
    * Reading project ID from GOOGLE_CLOUD_PROJECT
    
    * Updated changelog
    
    * Renamed local variable for clarity
Commits on May 31, 2018
  1. Bumped version to 2.11.0 (#174)

    hiranya911 committed May 31, 2018
    * Bumped version to 2.11.0
    
    * Removing redundant whitespace
Commits on May 30, 2018
  1. Updated API docs (#171)

    hiranya911 committed May 30, 2018
    * Updated API refs; Renamed UserImportRecord to ImportUserRecord
    
    * Updated documentation for hash types
    
    * Added snippets for import_users() API (#172)
Commits on May 29, 2018
  1. Implementing the import_users() API (#168)

    hiranya911 committed May 29, 2018
    * Refactored the validators and paylaod constructors
    
    * Fixed a lint error and other regressions
    
    * Adding initial test cases
    
    * Added more tests; Added documentation
    
    * Moved more public API types to _user_mgt and aliased them
    
    * Added hash support
    
    * Handling b64 encoding correctly for py3
    
    * Integration tests for import users
    
    * Cleaning up UserImportRecord public API
    
    * Cleaned up the API surface; Relaxed vlidation and used duck typing instead
    
    * Facilitating more duck typing in the API
    
    * Further splitting the _user_mgt module into sub modules
    
    * refactored the UserProvider API
    
    * Added the rest of the hash algorithms
    
    * Added some documentation
Commits on May 22, 2018
  1. Refactored the _user_mgt module (#154)

    hiranya911 committed May 22, 2018
    * Refactored the validators and paylaod constructors
    
    * Fixed a lint error and other regressions
    
    * Facilitating more duck typing in the API
  2. Accepting None values in ref.update() (#162)

    hiranya911 committed May 22, 2018
  3. Code formatting some references in docstrings (#163)

    hiranya911 committed May 22, 2018
Commits on May 16, 2018
  1. Using Python 3 compatible print statements in snippets (#157) (#159)

    ncouture authored and hiranya911 committed May 16, 2018
    * Uses python 3 compatible print statements.
    
    * Fixed Python 3 incompatible print syntax used in snippets.
    
    * adjusting snippets to lint happily on Python <3
    
     - added "from __future__ import print_function" in snippets using
       print to make pylint "print-function-aware" and lint Python 3.x
       print-syntax without errors when running under Python 2.x.
    
    * remove unwanted parens from print statements in snippets
    
     - delete duplicate parens added in previous commits
    
    * Uses python 3 compatible print statements.
    
    * Fixed Python 3 incompatible print syntax used in snippets.
    
     - added "from __future__ import print_function" in snippets using
       print to make pylint "print-function-aware" and lint Python 3.x
       print-syntax without errors when running under Python 2.x.
     - delete duplicate parens used in print statements
Commits on Apr 12, 2018
  1. Bumped version to 2.10.0 (#153)

    hiranya911 committed Apr 12, 2018
Commits on Apr 11, 2018
  1. Snippets for Session Management (#148)

    hiranya911 committed Apr 11, 2018
    * Moved token generation/validation code to new helper module
    
    * Basic session cookie support (without tests)
    
    * Separated token generation and verification into two classes
    
    * Added unit tests for session management
    
    * Fixing a lint error
    
    * Added integration tests
    
    * Handling article in error messages
    
    * Fixed a lint error
    
    * Updated changelog
    
    * Added snippets for auth session management
    
    * Updated snippets
    
    * Added some comments
    
    * Merged with master; Updated CHANGELOG for #150
    
    * Minor improvements to samples
Commits on Apr 5, 2018
  1. Caching Public Keys for ID Token and Cookie Verification (#150)

    hiranya911 committed Apr 5, 2018
    * Re-organizing auth unit tests
    
    * Moving _request to TokenVerifier class
    
    * Updated tests
    
    * Caching public certificates used to verify ID tokens and session cookies
  2. Re-organizing Auth Unit Tests (#149)

    hiranya911 committed Apr 5, 2018
    * Re-organizing auth unit tests
    
    * Moving _request to TokenVerifier class
    
    * Updated tests