meteorite

Verify user password in Meteor

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-17 09:42:04
问题 There are some irreversible actions that user can do in my app. To add a level of security, I'd like to verify that the person performing such an action is actually the logged in user. How can I achieve it? For users with passwords, I'd like a prompt that would ask for entering user password again. How can I later verify this password, without sending it over the wire? Is a similar action possible for users logged via external service? If yes, how to achieve it? 回答1: I can help with the first

Meteorjs - Passing data context to Template Rendered function?

China☆狼群 提交于 2019-12-13 04:52:58
问题 I have these data context and I want to use JQuery to set the selected value in the tag based on the value. I am having problem passing the return data from the helpers into the Template.Rendered function. is there any way of doing that? Helpers Template.studentSetting.helpers({ values: function(){ return Basics.findOne({userId:Meteor.userId()}); } }); Rendered function Template.studentSetting.rendered = function(){ //I want to use the "values" helper data here and perform some jquery code

Meteor crashes with error: No version 0.9.1 of package iron-router was found

和自甴很熟 提交于 2019-12-12 13:18:20
问题 Running Meteor 0.8.3, haven't worked on my project since Monday. Today I can't start Meteor nor use Meteorite package manager: /usr/local/bin/mrt run Stand back while Meteorite does its thing smart.json changed.. installing from smart.json /usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:63 throw('No version ' + version + ' of package ' + self.name + ' was found ^ No version 0.9.1 of package iron-router was found in the atmosphere database Process finished with exit code 8 I

meteor with mrt - iron:router: no such package

岁酱吖の 提交于 2019-12-12 12:15:27
问题 I'm learning meteor 0.8.3 and trying to get some basic routing set up using iron-router My smart.json contains: { packages: { iron-router: { git: https://github.com/EventedMind/iron-router.git, branch: blaze-integration } } } I added this, and then ran mrt install and mrt update Then I did this, and got this error: $ meteor add iron:router iron-router: updating npm dependencies -- connect... iron:router: no such package I'm still able to run the application with mrt , and the application

How can I modify the Meteor (meteorite) that is running?

为君一笑 提交于 2019-12-12 06:25:36
问题 One of the benefits of open source projects is that you can open up the code, see what it does and even modify it to help you understand under the hood . How can I modify the base code of meteor(ite) so that I can insert my own console log statements to view how the code is working? I run my application as a meteorite app ( mrt ) Things I have tried but have not got working: * editing my .meteor source tree * editing my .meteorite source tree * editing the /myApp/.meteor/local/build

Trying to create a Meteor Package

久未见 提交于 2019-12-12 04:16:26
问题 I've been trying to create a Smart Package for the SkelJS framework. The file is being loaded by the browser but when I try and access the object it exports it says its undefined . I'm using the following code in package.js: Package.describe({ summary: "SkelJS for Meteor" }); Package.on_use(function (api) { api.use('jquery', 'client'); api.add_files(['skel.js'], 'client'); api.export('skel', 'client'); }); Also trying to access Package.skeljs.skel returns undefined as well. In smart.json I'm

Meteor UP to deploy meteor app. Issues with remote DB url?

妖精的绣舞 提交于 2019-12-12 03:41:54
问题 I'm trying to use Meteor Up: https://github.com/arunoda/meteor-up There is a setting in the config file to set the remote MongoDB URL It looks like this: "env": { "PORT": 3000, "ROOT_URL": "http://dev.mysite.com", "MONGO_URL": "mongodb://MyMongoDBUsername:MyMongoHQPassword@troup.mongohq.com:#####/name_of_my_db" }, [##.###.###.##] invoking deployment process: FAILED -----------------------------------STDERR----------------------------------- Warning: Permanently added '##.###.###.##' (RSA) to

Integrating Multi-Level Push Menu into a Meteor app

空扰寡人 提交于 2019-12-11 17:44:31
问题 I want to integrate the great Multi-Level Push Menu JQuery plugin into my Meteor.js app. I followed the instructions at the homepage and it seems to load. It just won't style right. I'm not sure why that's the case. I think I have to package it somehow but it is not loaded into Meteorite. How can I do this? EDIT: I'm using the new 0.8 version. I put the jquery.multilevelpushmenu.min.js and the multilevelpushmenu.css in a public folder to load them in. <head> <title>menu-test</title> <link rel

meteorite error Cloning Mac

若如初见. 提交于 2019-12-11 15:13:46
问题 This is the error I keep getting when I try to run meteorite $ mrt Stand back while Meteorite does its thing ✓ router tag: https://github.com/tmeasday/meteor-router.git#v0.5.3 /usr/local/lib/node_modules/meteorite/lib/sources/git.js:108 throw "There was a problem cloning repo: " + self.url; ^ There was a problem cloning repo: https://github.com/tmeasday/meteor-router.git I've tried sudo -H npm install -g meteorite I've installed and reinstalled it a bunch of times I have git installed, I have

error when type 'sudo npm install -g meteorite'

被刻印的时光 ゝ 提交于 2019-12-11 10:53:28
问题 I'm trying to install the meteorite. I've success to install nodejs(v0.10.7).and when I type 'sudo npm install -g meteorite'. It comes the error below. I think it may exist some problem with npm(1.2.21). But I do not how to solve it. And I use ubuntu12.10 64bit. Any ideas? Thinks a lot. npm http GET https://registry.npmjs.org/meteorite npm http 304 https://registry.npmjs.org/meteorite npm ERR! Error: ENOTDIR, mkdir '/home/icarus/tmp/npm-5885/1369411459617-0.27502001402899623' npm ERR! If you