Questions tagged [emberfire]

EmberFire is the officially supported Ember JS adapter for Firebase with Ember-Data.

EmberFire is intended to make it easy to build Firebase-powered Ember applications.

152 questions
0
votes
1 answer

Reload ember model

Hi I'm a little confused how ember works, I've got a app I'm creating which is to list tasks for a particular user. Here is my model: import DS from 'ember-data'; export default DS.Model.extend({ title: DS.attr('string'), location:…
jsg
  • 1,224
  • 7
  • 22
  • 44
0
votes
1 answer

Ember fire filter data in controller

I'm new to ember, what I've created is a task manager app in Ember. I've got a model for tasks which is the following: import DS from 'ember-data'; export default DS.Model.extend({ title: DS.attr('string'), location: DS.attr('string'), …
jsg
  • 1,224
  • 7
  • 22
  • 44
0
votes
1 answer

Cannot access firebase from within an electron app

Trying to build an Electron app using ember-electron and am trying to use emberfire to communicate with Firebase. Everything runs fine when running as a web app with ember s but when launching as an Electron app I get nothing but errors like…
PenguinProgrammer
  • 141
  • 2
  • 5
  • 11
0
votes
1 answer

Create a new user using emberfire

I am writing a EmberJS web application. I want to create and authenticate the user using firebase. I am using the emberfire https://github.com/firebase/emberfire I am not able to create a user using the emberfire. There is no info regarding user…
bjkpriyanka
  • 151
  • 1
  • 11
0
votes
1 answer

EmberFire: Getting property generated by Cloud Function when saving record completes

I use a Cloud Function to generate a short unique URL on a record on the 'onWrite' event, and save it. This works well, but when I save a record from my Ember app using EmberFire, I do get a model back as an argument to a callback, but the URL of…
CookieEater
  • 2,237
  • 3
  • 29
  • 54
0
votes
1 answer

Why does my Ember store.query() query everything?

In Ember.js, I am trying to perform a query of all posts with a matching key. Btw, this is in Firebase. My data looks something like this: I'm trying to query specific posts based off the key property (multiple posts may have the same key property…
Cameron
  • 2,805
  • 3
  • 31
  • 45
0
votes
1 answer

ember-simple-auth and torii firebase TypeError: Converting circular structure to JSON

I started out getting torri and emberfire to work for a login page but when I try to use that with ember simple auth I get the error: TypeError: Converting circular structure to JSON at JSON.stringify () at Class.persist…
Tobias
  • 304
  • 2
  • 7
0
votes
1 answer

How does emberfire maintain authentication sessions when restarting the app?

This is a very noobie question, but there is something I don't really understand. Whenever I have an authenticated session with emberfire, I'm able to stay logged in, even if I do something like refresh the page or go hit the back button on my…
Cameron
  • 2,805
  • 3
  • 31
  • 45
0
votes
1 answer

Emberfire: How can I check that a login failed?

I'm using emberJS with emberfire to do email/password login system. I am using Torii (which is used inside of emberfire) to handle authentication. So far, everything works fine and dandy. I would now like to add a feature that tells the user that…
Cameron
  • 2,805
  • 3
  • 31
  • 45
0
votes
1 answer

emberfire auth + cordova

As I understood, emberfire auth works via torii and includes the own torii-provider (torii-providers/firebase.js). When I try to sign in, it runs signInWithPopup method from the firebase provider. It does not work when the application is running on…
0
votes
2 answers

Emberfire read data from database that already exists

I am learning to use emberfire but I am having trouble reading data from a database that already exists. In other words, I have an iOS app that uses a firebase database. Data is constantly being changed by users on the iOS app. I am now trying to…
MikeG
  • 3,745
  • 1
  • 29
  • 51
0
votes
1 answer

Custom session data not persisting in ember-fire

I am trying to add the custom session variable session.currentUser.isBusiness in ember-fire. However, on page reload, the data does not persist and disappears. I'm putting the login logic within my login route, which looks like this: import Ember…
beckah
  • 1,543
  • 6
  • 28
  • 61
0
votes
2 answers

how to filter model to get data in realtime in emberfire

so i have quota model like this : export default DS.model.extend({ quota : DS.attr('number'), sellerId: DS.attr('string'), buyerId:DS.attr('string') }); and i have assignQuota routes with dynamic segment like this: this.route('assignQuota',…
marendra
  • 51
  • 1
  • 7
0
votes
2 answers

How can I use a value from one model to shape my store.query() of another?

(My project is using Emberfire, which is Firebase's integration for Ember. This allows me to either make direct database calls through Firebase, or to just use the built-in model functions in Ember) I have two models. One is /users and contains…
0
votes
2 answers

Newbie Emberfire Querying

I am having trouble with simple EmberFire queries. I want to find a department object by name, and then add it to a college departments according to the data model described below. The error I am receiving is: TypeError: Cannot read property…
Janusz Chudzynski
  • 2,700
  • 3
  • 33
  • 46