Skip to content
Snippets Groups Projects
Commit d70c4e2e authored by Rafael Caferati's avatar Rafael Caferati
Browse files

rocketchat-ui initial implementation

parent c4367d16
No related branches found
No related tags found
No related merge requests found
Showing
with 55 additions and 16 deletions
......@@ -113,3 +113,8 @@ yasaricli:slugify
yasinuslu:blaze-meta
# sanjo:jasmine
# velocity:html-reporter
rocketchat:rocketchat-ui
rocketchat:rocketchat-ui-sidenav
rocketchat:rocketchat-ui-account
rocketchat:rocketchat-ui-admin
rocketchat:rocketchat-ui-login
......@@ -142,6 +142,11 @@ rocketchat:mentions@0.0.1
rocketchat:message-pin@0.0.1
rocketchat:message-star@0.0.1
rocketchat:oembed@0.0.1
rocketchat:rocketchat-ui@0.1.0
rocketchat:rocketchat-ui-account@0.0.1
rocketchat:rocketchat-ui-admin@0.0.1
rocketchat:rocketchat-ui-login@0.0.1
rocketchat:rocketchat-ui-sidenav@0.1.0
rocketchat:slashcommands-invite@0.0.1
rocketchat:slashcommands-join@0.0.1
rocketchat:slashcommands-leave@0.0.1
......
Accounts.onEmailVerificationLink (token, done) ->
Accounts.verifyEmail token, (error) ->
if not error?
alert(t('Email_verified'))
done()
Accounts.onResetPasswordLink (token, done) ->
newPassword = prompt(t('New_password'))
Accounts.resetPassword token, newPassword, (error) ->
if error?
console.log error
alert(t('Error_changing_password'))
else
alert('Password_changed')
done()
\ No newline at end of file
Package.describe({
name: 'rocketchat:rocketchat-ui-account',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: '',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.2.1');
api.use([
'ecmascript',
'templating',
'coffeescript',
'underscore',
'rocketchat:lib@0.0.1'
]);
api.addFiles('account/account.html', 'client');
api.addFiles('account/accountFlex.html', 'client');
api.addFiles('account/accountPreferences.html', 'client');
api.addFiles('account/accountProfile.html', 'client');
api.addFiles('account/avatar/avatar.html', 'client');
api.addFiles('account/avatar/prompt.html', 'client');
api.addFiles('account/account.coffee', 'client');
api.addFiles('account/accountFlex.coffee', 'client');
api.addFiles('account/accountPreferences.coffee', 'client');
api.addFiles('account/accountProfile.coffee', 'client');
api.addFiles('account/avatar/avatar.coffee', 'client');
api.addFiles('account/avatar/prompt.coffee', 'client');
// api.addAssets('styles/side-nav.less', 'client');
});
\ No newline at end of file
// Write your tests here!
// Here is an example.
Tinytest.add('example', function (test) {
test.equal(true, true);
});
// Write your package code here!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment