-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Upgrade emberfire #354
Conversation
Couldn't make timestamps work. Hardcoded it as |
Solution for counting items in a collection: https://github.com/firebase/functions-samples/tree/master/child-count. Hopefully we can find another way to do this like in v2, without needing an extra cloud function. Solution for timestamp: FirebaseExtended/emberfire#589 (comment) |
hej! Kind of lost track of this PR. Not sure where we're at... sry |
It's not easy… Have to take the time with a fresh database and verify that things are still being saved correctly. But there is a new Emberfire release candidate v4 yesterday to try out. |
If you have energy, try to create a new user and radio and make that work. At the moment there is a firebase rules/permissions error. The |
This won't happen as we're migrating to https://github.com/radio4000/components |
just wanted to leave a last comment here, for the lolz |
Haha. I couldn't get myself to delete the branch 🥲 Well, thank you Emberfire. We learned from you. Time to move on. |
Work in progress to upgrade emberfire from version 2 to 3. Using this PR to keep track of progress and what needs to be done.
Blocking
vim node_modules/emberfire/addons/services/firebase-app.ts
replace line 28 withsuper.init(...arguments)
To test
this.firebaseApp.database.ServerValue.TIMESTAMP
calls are still working (fe9499f){{input-autocomplete}}
component is temporarily disabled until the Algolia "process" bug is fixed (219a08d)totalTracks
method. Opened issue on emberfire. https://github.com/internet4000/radio4000/blob/master/app/models/channel.js#L97-L99Authentication
Torii hasn't been updated for years and Emberfire works easier with ember-simple-auth now
session
service from simple-auth, not torii. has to be injectedNot tried yet
Also see