Convert meteor-accounts-saml to main module structure (#12486)
* First wave of removal of Meteor global * Second wave of removal of Meteor global * Third wave of removal of Meteor global * Fix tests * Remove global variable SHA256 * Remove global variable WebApp * Remove global variable EJSON * Remove global variable Email * Remove global variable HTTP * Remove global variable Random * Remove global variable ReactiveDict * Remove global variable ReactiveVar * Remove global variable Accounts * Remove globals variables Match and check * Remove global variable Mongo * Remove global variable moment * Remove global variable Tracker * Remove global variable Blaze * Remove global variables FlowRouter and BlazeLayout * Add FlowRouter to eslint global in tests file * Remove global variable DDPRateLimiter * Remove global variable Session * Remove global variable UAParser * Remove global variable Promise * Remove global variable Reload * Remove global variable CryptoJS * Remove global variable Template * Remove global variable TAPi18n * Remove global variable TAPi18next * Exposing t function from rocketchat:ui package * Convert chatpal search to main module structure * Fix ESLint * Convert meteor-accounts-saml to main module structure * ReAdd removed package dependecies * Change export statement * Fix lint issue in saml packagepull/12491/head^2
parent
3b3caafdf9
commit
c5a14f2196
@ -0,0 +1 @@ |
||||
import './saml_client'; |
@ -0,0 +1,2 @@ |
||||
import './saml_rocketchat'; |
||||
import './saml_server'; |
@ -1,5 +1,8 @@ |
||||
import { Meteor } from 'meteor/meteor'; |
||||
import { Accounts } from 'meteor/accounts-base'; |
||||
import { RocketChat } from 'meteor/rocketchat:lib'; |
||||
import { Logger } from 'meteor/rocketchat:logger'; |
||||
import { ServiceConfiguration } from 'meteor/service-configuration'; |
||||
|
||||
const logger = new Logger('steffo:meteor-accounts-saml', { |
||||
methods: { |
@ -1,9 +1,10 @@ |
||||
/* globals RoutePolicy, SAML */ |
||||
/* jshint newcap: false */ |
||||
import { Meteor } from 'meteor/meteor'; |
||||
import { Accounts } from 'meteor/accounts-base'; |
||||
import { Random } from 'meteor/random'; |
||||
import { WebApp } from 'meteor/webapp'; |
||||
import { RocketChat } from 'meteor/rocketchat:lib'; |
||||
import { RoutePolicy } from 'meteor/routepolicy'; |
||||
import { SAML } from './saml_utils'; |
||||
import _ from 'underscore'; |
||||
|
||||
if (!Accounts.saml) { |
Loading…
Reference in new issue