commit
3ef36d0089
@ -1,111 +1,119 @@ |
||||
{ |
||||
"name": "Rocket.Chat", |
||||
"description": "The Ultimate Open Source WebChat Platform", |
||||
"version": "0.59.0-develop", |
||||
"author": { |
||||
"name": "Rocket.Chat", |
||||
"url": "https://rocket.chat/" |
||||
}, |
||||
"contributors": [ |
||||
{ |
||||
"name": "Aaron Ogle", |
||||
"email": "aaron.ogle@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Bradley Hilton", |
||||
"email": "bradley.hilton@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Diego Sampaio", |
||||
"email": "diego.sampaio@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Gabriel Engel", |
||||
"email": "gabriel.engel@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Marcelo Schmidt", |
||||
"email": "marcelo.schmidt@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Rodrigo Nascimento", |
||||
"email": "rodrigo.nascimento@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Sing Li", |
||||
"email": "sing.li@rocket.chat" |
||||
} |
||||
], |
||||
"mocha": { |
||||
"tests": [ |
||||
"packages/**/*.tests.js" |
||||
], |
||||
"files": [ |
||||
"packages/**/*.js", |
||||
"!packages/**/*.tests.js" |
||||
] |
||||
}, |
||||
"keywords": [ |
||||
"rocketchat", |
||||
"rocket", |
||||
"chat" |
||||
], |
||||
"scripts": { |
||||
"start": "meteor npm i && meteor", |
||||
"lint": "eslint .", |
||||
"lint-fix": "eslint . --fix", |
||||
"stylelint": "stylelint packages/**/*.css", |
||||
"test": "node .scripts/start.js", |
||||
"deploy": "npm run build && pm2 startOrRestart pm2.json", |
||||
"chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests/end-to-end", |
||||
"chimp-test": "chimp tests/chimp-config.js", |
||||
"postinstall": "cd packages/rocketchat-katex && npm i", |
||||
"testunit-watch": "mocha --watch --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"", |
||||
"coverage": "nyc -r html mocha --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"", |
||||
"testunit": "mocha --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"", |
||||
"version": "node .scripts/version.js", |
||||
"set-version": "node .scripts/set-version.js", |
||||
"release": "npm run set-version --silent" |
||||
}, |
||||
"license": "MIT", |
||||
"repository": { |
||||
"type": "git", |
||||
"url": "https://github.com/RocketChat/Rocket.Chat.git" |
||||
}, |
||||
"bugs": { |
||||
"url": "https://github.com/RocketChat/Rocket.Chat/issues", |
||||
"email": "support@rocket.chat" |
||||
}, |
||||
"devDependencies": { |
||||
"babel-mocha-es6-compiler": "^0.1.0", |
||||
"babel-plugin-array-includes": "^2.0.3", |
||||
"chimp": "^0.49.1", |
||||
"conventional-changelog-cli": "^1.3.2", |
||||
"eslint": "^4.2.0", |
||||
"postcss-cssnext": "^2.11.0", |
||||
"postcss-smart-import": "^0.7.5", |
||||
"simple-git": "^1.73.0", |
||||
"stylelint": "^7.13.0", |
||||
"stylelint-order": "^0.6.0", |
||||
"supertest": "^3.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"@google-cloud/storage": "^1.2.0", |
||||
"aws-sdk": "^2.86.0", |
||||
"babel-runtime": "^6.23.0", |
||||
"bcrypt": "^1.0.2", |
||||
"codemirror": "^5.27.4", |
||||
"file-type": "^5.2.0", |
||||
"highlight.js": "^9.12.0", |
||||
"jquery": "^3.2.1", |
||||
"mime-db": "^1.29.0", |
||||
"mime-type": "^3.0.5", |
||||
"moment": "^2.18.1", |
||||
"moment-timezone": "^0.5.13", |
||||
"photoswipe": "^4.1.2", |
||||
"prom-client": "^10.0.2", |
||||
"semver": "^5.3.0", |
||||
"toastr": "^2.1.2", |
||||
"wolfy87-eventemitter": "^5.1.0" |
||||
} |
||||
"name": "Rocket.Chat", |
||||
"description": "The Ultimate Open Source WebChat Platform", |
||||
"version": "0.59.0-develop", |
||||
"author": { |
||||
"name": "Rocket.Chat", |
||||
"url": "https://rocket.chat/" |
||||
}, |
||||
"contributors": [ |
||||
{ |
||||
"name": "Aaron Ogle", |
||||
"email": "aaron.ogle@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Bradley Hilton", |
||||
"email": "bradley.hilton@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Diego Sampaio", |
||||
"email": "diego.sampaio@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Gabriel Engel", |
||||
"email": "gabriel.engel@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Guilherme Gazzo", |
||||
"email": "guilherme.gazzo@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Karl Prieb", |
||||
"email": "karl.priebk@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Marcelo Schmidt", |
||||
"email": "marcelo.schmidt@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Rodrigo Nascimento", |
||||
"email": "rodrigo.nascimento@rocket.chat" |
||||
}, |
||||
{ |
||||
"name": "Sing Li", |
||||
"email": "sing.li@rocket.chat" |
||||
} |
||||
], |
||||
"mocha": { |
||||
"tests": [ |
||||
"packages/**/*.tests.js" |
||||
], |
||||
"files": [ |
||||
"packages/**/*.js", |
||||
"!packages/**/*.tests.js" |
||||
] |
||||
}, |
||||
"keywords": [ |
||||
"rocketchat", |
||||
"rocket", |
||||
"chat" |
||||
], |
||||
"scripts": { |
||||
"start": "meteor npm i && meteor", |
||||
"lint": "eslint .", |
||||
"lint-fix": "eslint . --fix", |
||||
"stylelint": "stylelint packages/**/*.css", |
||||
"test": "node .scripts/start.js", |
||||
"deploy": "npm run build && pm2 startOrRestart pm2.json", |
||||
"chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests/end-to-end", |
||||
"chimp-test": "chimp tests/chimp-config.js", |
||||
"postinstall": "cd packages/rocketchat-katex && npm i", |
||||
"testunit-watch": "mocha --watch --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"", |
||||
"coverage": "nyc -r html mocha --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"", |
||||
"testunit": "mocha --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"", |
||||
"version": "node .scripts/version.js", |
||||
"set-version": "node .scripts/set-version.js", |
||||
"release": "npm run set-version --silent" |
||||
}, |
||||
"license": "MIT", |
||||
"repository": { |
||||
"type": "git", |
||||
"url": "https://github.com/RocketChat/Rocket.Chat.git" |
||||
}, |
||||
"bugs": { |
||||
"url": "https://github.com/RocketChat/Rocket.Chat/issues", |
||||
"email": "support@rocket.chat" |
||||
}, |
||||
"devDependencies": { |
||||
"babel-mocha-es6-compiler": "^0.1.0", |
||||
"babel-plugin-array-includes": "^2.0.3", |
||||
"chimp": "^0.49.1", |
||||
"conventional-changelog-cli": "^1.3.2", |
||||
"eslint": "^4.2.0", |
||||
"postcss-cssnext": "^2.11.0", |
||||
"postcss-smart-import": "^0.7.5", |
||||
"simple-git": "^1.73.0", |
||||
"stylelint": "^7.13.0", |
||||
"stylelint-order": "^0.6.0", |
||||
"supertest": "^3.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"@google-cloud/storage": "^1.2.0", |
||||
"aws-sdk": "^2.86.0", |
||||
"babel-runtime": "^6.23.0", |
||||
"bcrypt": "^1.0.2", |
||||
"codemirror": "^5.27.4", |
||||
"file-type": "^5.2.0", |
||||
"highlight.js": "^9.12.0", |
||||
"jquery": "^3.2.1", |
||||
"mime-db": "^1.29.0", |
||||
"mime-type": "^3.0.5", |
||||
"moment": "^2.18.1", |
||||
"moment-timezone": "^0.5.13", |
||||
"photoswipe": "^4.1.2", |
||||
"prom-client": "^10.0.2", |
||||
"semver": "^5.3.0", |
||||
"toastr": "^2.1.2", |
||||
"wolfy87-eventemitter": "^5.1.0" |
||||
} |
||||
} |
||||
|
@ -1,9 +1,9 @@ |
||||
{ |
||||
"dependencies": { |
||||
"csv-parse": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-1.1.7.tgz", |
||||
"from": "csv-parse@1.1.7" |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-1.2.0.tgz", |
||||
"from": "csv-parse@1.2.0" |
||||
} |
||||
} |
||||
} |
||||
|
@ -1,53 +1,55 @@ |
||||
<template name="customFieldsForm"> |
||||
{{#if customFields}} |
||||
<div class="rc-form-group rc-grid"> |
||||
{{#each customFields}} |
||||
<div class="rc-input rc-w50 padded"> |
||||
{{#if $eq field.type 'select'}} |
||||
{{# unless ../new}} |
||||
<div class="input-line"> |
||||
<label for="{{fieldName}}">{{_ fieldName}}</label> |
||||
<div> |
||||
<select name="{{fieldName}}" data-customfield="true"> |
||||
{{#each field.options}} |
||||
<option value="{{.}}" selected="{{selectedField . ..}}">{{_ .}}</option> |
||||
{{/each}} |
||||
</select> |
||||
<div class="input-error"></div> |
||||
</div> |
||||
</div> |
||||
{{else}} |
||||
<label class="rc-input__label"> |
||||
<div class="rc-input__title">{{_ fieldName}}</div> |
||||
<div class="rc-input__wrapper"> |
||||
<select name="{{fieldName}}" data-customfield="true" class="rc-input__element"> |
||||
<option></option> |
||||
{{#each field.options}} |
||||
<option value="{{.}}" selected="{{selectedField . ..}}">{{_ .}}</option> |
||||
{{/each}} |
||||
</select> |
||||
</div> |
||||
</label> |
||||
{{/unless}} |
||||
{{/if}} |
||||
{{#if $eq field.type 'text'}} |
||||
{{# unless ../new}} |
||||
<div class="input-line"> |
||||
<label for="{{fieldName}}">{{_ fieldName}}</label> |
||||
<div> |
||||
<input type="text" name="{{fieldName}}" id="{{fieldName}}" data-customfield="true" value="{{fieldValue}}" maxlength="{{field.maxLength}}" /> |
||||
<div class="input-error"></div> |
||||
</div> |
||||
</div> |
||||
{{else}} |
||||
{{#each customFields}} |
||||
<div class="rc-input rc-w50 padded"> |
||||
{{#if $eq field.type 'select'}} |
||||
{{# unless ../new}} |
||||
<div class="input-line"> |
||||
<label for="{{fieldName}}">{{_ fieldName}}</label> |
||||
<div> |
||||
<select name="{{fieldName}}" data-customfield="true"> |
||||
{{#each field.options}} |
||||
<option value="{{.}}" selected="{{selectedField . ..}}">{{_ .}}</option> |
||||
{{/each}} |
||||
</select> |
||||
<div class="input-error"></div> |
||||
</div> |
||||
</div> |
||||
{{else}} |
||||
<label class="rc-input__label"> |
||||
<div class="rc-input__title">{{_ fieldName}}</div> |
||||
<div class="rc-input__wrapper"> |
||||
<select name="{{fieldName}}" data-customfield="true" class="rc-input__element"> |
||||
<option></option> |
||||
{{#each field.options}} |
||||
<option value="{{.}}" selected="{{selectedField . ..}}">{{_ .}}</option> |
||||
{{/each}} |
||||
</select> |
||||
</div> |
||||
</label> |
||||
{{/unless}} |
||||
{{/if}} |
||||
{{#if $eq field.type 'text'}} |
||||
{{# unless ../new}} |
||||
<div class="input-line"> |
||||
<label for="{{fieldName}}">{{_ fieldName}}</label> |
||||
<div> |
||||
<input type="text" name="{{fieldName}}" id="{{fieldName}}" data-customfield="true" value="{{fieldValue}}" maxlength="{{field.maxLength}}" /> |
||||
<div class="input-error"></div> |
||||
</div> |
||||
</div> |
||||
{{else}} |
||||
<label class="rc-input__label"> |
||||
<div class="rc-input__title">{{_ fieldName}}</div> |
||||
<div class="rc-input__wrapper"> |
||||
<input type="text" class="rc-input__element" name="{{fieldName}}" id="{{fieldName}}" data-customfield="true" value="{{fieldValue}}" maxlength="{{field.maxLength}}"> |
||||
</div> |
||||
</label> |
||||
{{/unless}} |
||||
{{/if}} |
||||
{{/unless}} |
||||
{{/if}} |
||||
</div> |
||||
{{/each}} |
||||
</div> |
||||
{{/each}} |
||||
</div> |
||||
{{/if}} |
||||
</template> |
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Loading…
Reference in new issue