Skip to content
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

push notifications #641

Merged
merged 10 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions big-dipper/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ output/
.envrc
settings.json
ali-scripts.txt
firebase.json
16 changes: 8 additions & 8 deletions big-dipper/.meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

meteor-base@1.4.0 # Packages every Meteor app needs to have
meteor-base@1.5.1 # Packages every Meteor app needs to have
mobile-experience@1.1.0 # Packages for a great mobile UX
mongo@1.11.0 # The database Meteor supports right now
mongo@1.15.0 # The database Meteor supports right now
reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.2.0 # Meteor's client-side reactive programming library

standard-minifier-css@1.7.2 # CSS minifier run for production mode
standard-minifier-js@2.6.0 # JS minifier run for production mode
standard-minifier-css@1.8.1 # CSS minifier run for production mode
standard-minifier-js@2.8.0 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers
ecmascript@0.15.1 # Enable ECMAScript2015+ syntax in app code
ecmascript@0.16.2 # Enable ECMAScript2015+ syntax in app code
shell-server@0.5.0 # Server-side component of the `meteor shell` command

less@2.8.0 # Leaner CSS language

meteortesting:mocha # A package for writing and running your meteor app and package tests with mocha
johanbrook:publication-collector # Test a Meteor publication by collecting its output
static-html
static-html@1.3.2
react-meteor-data
bkruse:pace
dburles:collection-helpers
Expand All @@ -30,8 +30,8 @@ jquery
universe:i18n
fourseven:scss
kadira:dochead
check
check@1.3.1
ostrio:flow-router-meta
ostrio:flow-router-extra
server-render
server-render@0.4.0
nimble:restivus
2 changes: 1 addition & 1 deletion big-dipper/.meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@2.2.1
METEOR@2.7.3
115 changes: 56 additions & 59 deletions big-dipper/.meteor/versions
Original file line number Diff line number Diff line change
@@ -1,103 +1,100 @@
accounts-base@1.9.0
accounts-password@1.7.1
allow-deny@1.1.0
autoupdate@1.7.0
babel-compiler@7.6.1
babel-runtime@1.5.0
accounts-base@2.2.3
accounts-password@2.3.1
allow-deny@1.1.1
autoupdate@1.8.0
babel-compiler@7.9.0
babel-runtime@1.5.1
base64@1.0.12
binary-heap@1.0.11
bkruse:pace@0.5.1
blaze-tools@1.1.1
blaze-tools@1.1.3
boilerplate-generator@1.7.1
caching-compiler@1.2.2
caching-html-compiler@1.2.0
callback-hook@1.3.0
caching-html-compiler@1.2.1
callback-hook@1.4.0
check@1.3.1
coffeescript@1.0.17
dburles:collection-helpers@1.1.0
ddp@1.4.0
ddp-client@2.4.1
ddp-client@2.5.0
ddp-common@1.4.0
ddp-rate-limiter@1.0.9
ddp-server@2.3.3
ddp-rate-limiter@1.1.0
ddp-server@2.5.0
diff-sequence@1.1.1
dynamic-import@0.6.0
ecmascript@0.15.1
ecmascript-runtime@0.7.0
ecmascript-runtime-client@0.11.0
ecmascript-runtime-server@0.10.0
ejson@1.1.1
email@2.0.0
dynamic-import@0.7.2
ecmascript@0.16.2
ecmascript-runtime@0.8.0
ecmascript-runtime-client@0.12.1
ecmascript-runtime-server@0.11.0
ejson@1.1.2
email@2.2.1
es5-shim@4.8.0
fetch@0.1.1
fourseven:scss@4.14.2
fourseven:scss@4.15.0
geojson-utils@1.0.10
hot-code-push@1.0.4
html-tools@1.1.1
htmljs@1.1.0
html-tools@1.1.3
htmljs@1.1.1
http@1.4.4
id-map@1.1.1
inter-process-messaging@0.1.1
johanbrook:publication-collector@1.1.0
jquery@3.0.0
kadira:dochead@1.5.0
launch-screen@1.2.1
launch-screen@1.3.0
less@2.8.0
livedata@1.0.18
lmieulet:meteor-coverage@3.2.0
localstorage@1.2.0
logging@1.2.0
meteor@1.9.3
meteor-base@1.4.0
meteortesting:browser-tests@1.3.4
logging@1.3.1
meteor@1.10.0
meteor-base@1.5.1
meteortesting:browser-tests@1.3.5
meteortesting:mocha@1.1.5
meteortesting:mocha-core@7.0.1
minifier-css@1.5.4
minifier-js@2.6.0
minimongo@1.6.2
minifier-css@1.6.0
minifier-js@2.7.4
minimongo@1.8.0
mobile-experience@1.1.0
mobile-status-bar@1.1.0
modern-browsers@0.1.5
modules@0.16.0
modules-runtime@0.12.0
mongo@1.11.1
mongo-decimal@0.1.2
modern-browsers@0.1.8
modules@0.18.0
modules-runtime@0.13.0
mongo@1.15.0
mongo-decimal@0.1.3
mongo-dev-server@1.1.0
mongo-id@1.0.8
nimble:restivus@0.8.12
npm-bcrypt@0.9.4
npm-mongo@3.9.0
nimble:restivus@0.8.13
npm-mongo@4.3.1
ordered-dict@1.1.0
ostrio:flow-router-extra@3.7.5
ostrio:flow-router-meta@2.1.1
ostrio:flow-router-title@3.2.1
promise@0.11.2
ostrio:flow-router-extra@3.8.1
ostrio:flow-router-meta@2.1.2
ostrio:flow-router-title@3.2.2
promise@0.12.0
random@1.2.0
rate-limit@1.0.9
react-fast-refresh@0.1.1
react-meteor-data@2.3.1
react-fast-refresh@0.2.3
react-meteor-data@2.5.1
reactive-dict@1.3.0
reactive-var@1.0.11
reload@1.3.1
retry@1.1.0
reywood:publish-composite@1.7.3
routepolicy@1.1.0
server-render@0.3.1
service-configuration@1.0.11
routepolicy@1.1.1
server-render@0.4.0
service-configuration@1.3.0
sha@1.0.9
shell-server@0.5.0
simple:json-routes@2.1.0
socket-stream-client@0.3.2
spacebars-compiler@1.2.1
srp@1.1.0
standard-minifier-css@1.7.2
standard-minifier-js@2.6.0
static-html@1.3.1
templating-tools@1.2.0
socket-stream-client@0.5.0
spacebars-compiler@1.3.1
standard-minifier-css@1.8.1
standard-minifier-js@2.8.0
static-html@1.3.2
templating-tools@1.2.2
tracker@1.2.0
typescript@4.2.2
typescript@4.5.4
underscore@1.0.10
universe:i18n@1.31.0
url@1.3.1
webapp@1.10.1
universe:i18n@1.32.6
url@1.3.2
webapp@1.13.1
webapp-hashing@1.1.0
4 changes: 3 additions & 1 deletion big-dipper/default_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
"nftInterval": 5000,
"cookbookInterval": 5000,
"missedBlocksInterval": 60000,
"delegationInterval": 900000
"delegationInterval": 900000,
"sendNotifications" : 1,
"collectNotificationsInterval" : 10000
}
}
11 changes: 11 additions & 0 deletions big-dipper/imports/api/admin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var admin = require("firebase-admin");

var serviceAccount = require("./firebase.json");

admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
});



module.exports.admin = admin
Loading