##// END OF EJS Templates
user-groups: new selector for user group memebers....
user-groups: new selector for user group memebers. - removed old two column selector in replacement of autocomplete list - scales much better for alrge number of users - still allows to select single users and user groups - fixes #4291 (user group shows only username in members)

File last commit:

r1089:4d236b89 default
r1089:4d236b89 default
Show More
grunt_config.json
190 lines | 6.0 KiB | application/json | JsonLexer
/ grunt_config.json
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 {
"dirs": {
"css": {
"src":"rhodecode/public/css",
"dest":"rhodecode/public/css"
},
"js": {
"src": "rhodecode/public/js/src",
frontend: added favico.js to requirements
r877 "dest": "rhodecode/public/js",
"bower": "bower_components",
"node_modules": "node_modules"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 }
},
"copy": {
"main": {
"expand": true,
"cwd": "bower_components",
"src": "webcomponentsjs/webcomponents-lite.js",
"dest": "<%= dirs.js.dest %>/vendors"
}
},
"concat": {
"polymercss": {
"src": [
"<%= dirs.js.src %>/components/root-styles-prefix.html",
"<%= dirs.css.src %>/style-polymer.css",
"<%= dirs.js.src %>/components/root-styles-suffix.html"
],
"dest": "<%= dirs.js.dest %>/src/components/root-styles.gen.html",
"nonull": true
},
"dist": {
"src": [
"<%= dirs.js.src %>/jquery-1.11.1.min.js",
"<%= dirs.js.src %>/logging.js",
"<%= dirs.js.src %>/bootstrap.js",
"<%= dirs.js.src %>/mousetrap.js",
"<%= dirs.js.src %>/moment.js",
frontend: added favico.js to requirements
r877 "<%= dirs.js.node_modules %>/appenlight-client/appenlight-client.min.js",
favicon: added favicon notifications
r882 "<%= dirs.js.node_modules %>/favico.js/favico-0.3.10.min.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/i18n_utils.js",
"<%= dirs.js.src %>/deform.js",
"<%= dirs.js.src %>/plugins/jquery.pjax.js",
"<%= dirs.js.src %>/plugins/jquery.dataTables.js",
"<%= dirs.js.src %>/plugins/flavoured_checkbox.js",
"<%= dirs.js.src %>/plugins/jquery.auto-grow-input.js",
"<%= dirs.js.src %>/plugins/jquery.autocomplete.js",
"<%= dirs.js.src %>/plugins/jquery.debounce.js",
"<%= dirs.js.src %>/plugins/jquery.mark.js",
"<%= dirs.js.src %>/plugins/jquery.timeago.js",
"<%= dirs.js.src %>/plugins/jquery.timeago-extension.js",
"<%= dirs.js.src %>/select2/select2.js",
"<%= dirs.js.src %>/codemirror/codemirror.js",
"<%= dirs.js.src %>/codemirror/codemirror_loadmode.js",
"<%= dirs.js.src %>/codemirror/codemirror_hint.js",
"<%= dirs.js.src %>/codemirror/codemirror_overlay.js",
"<%= dirs.js.src %>/codemirror/codemirror_placeholder.js",
"<%= dirs.js.dest %>/mode/meta.js",
"<%= dirs.js.dest %>/mode/meta_ext.js",
"<%= dirs.js.dest %>/rhodecode/i18n/select2/translations.js",
"<%= dirs.js.src %>/rhodecode/utils/array.js",
"<%= dirs.js.src %>/rhodecode/utils/string.js",
"<%= dirs.js.src %>/rhodecode/utils/pyroutes.js",
"<%= dirs.js.src %>/rhodecode/utils/ajax.js",
"<%= dirs.js.src %>/rhodecode/utils/autocomplete.js",
"<%= dirs.js.src %>/rhodecode/utils/colorgenerator.js",
"<%= dirs.js.src %>/rhodecode/utils/ie.js",
"<%= dirs.js.src %>/rhodecode/utils/os.js",
"<%= dirs.js.src %>/rhodecode/utils/topics.js",
"<%= dirs.js.src %>/rhodecode/init.js",
"<%= dirs.js.src %>/rhodecode/codemirror.js",
"<%= dirs.js.src %>/rhodecode/comments.js",
"<%= dirs.js.src %>/rhodecode/constants.js",
"<%= dirs.js.src %>/rhodecode/files.js",
"<%= dirs.js.src %>/rhodecode/followers.js",
"<%= dirs.js.src %>/rhodecode/menus.js",
"<%= dirs.js.src %>/rhodecode/notifications.js",
"<%= dirs.js.src %>/rhodecode/permissions.js",
"<%= dirs.js.src %>/rhodecode/pjax.js",
"<%= dirs.js.src %>/rhodecode/pullrequests.js",
"<%= dirs.js.src %>/rhodecode/settings.js",
"<%= dirs.js.src %>/rhodecode/select2_widgets.js",
"<%= dirs.js.src %>/rhodecode/tooltips.js",
"<%= dirs.js.src %>/rhodecode/users.js",
"<%= dirs.js.src %>/rhodecode/appenlight.js",
"<%= dirs.js.src %>/rhodecode.js"
],
"dest": "<%= dirs.js.dest %>/scripts.js",
"nonull": true
}
},
"crisper": {
"dist": {
"options": {
"cleanup": false,
"onlySplit": true
},
"src": "<%= dirs.js.dest %>/rhodecode-components.html",
"dest": "<%= dirs.js.dest %>/rhodecode-components.js"
}
},
"less": {
"development": {
"options": {
"compress": false,
"yuicompress": false,
"optimization": 0
},
"files": {
"<%= dirs.css.dest %>/style.css": "<%= dirs.css.src %>/main.less",
"<%= dirs.css.dest %>/style-polymer.css": "<%= dirs.css.src %>/polymer.less"
}
},
"production": {
"options": {
"compress": true,
"yuicompress": true,
"optimization": 2
},
"files": {
"<%= dirs.css.dest %>/style.css": "<%= dirs.css.src %>/main.less",
"<%= dirs.css.dest %>/style-polymer.css": "<%= dirs.css.src %>/polymer.less"
}
},
"components": {
"files": [
{
"cwd": "<%= dirs.js.src %>/components/",
"dest": "<%= dirs.js.src %>/components/",
"src": [
"**/*.less"
],
"expand": true,
"ext": ".css"
}
]
}
},
"watch": {
"less": {
"files": [
grunt: small improvements to gruntfile
r761 "<%= dirs.css.src %>/**/*.less",
"<%= dirs.js.src %>/components/**/*.less"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 ],
"tasks": [
"less:development",
"less:components",
"concat:polymercss",
bower: update packages
r818 "vulcanize",
"crisper",
"concat:dist"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 ]
},
"js": {
"files": [
grunt: small improvements to gruntfile
r761 "!<%= dirs.js.src %>/components/root-styles.gen.html",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/**/*.js",
"<%= dirs.js.src %>/components/**/*.html"
],
"tasks": [
"less:components",
"concat:polymercss",
"vulcanize",
"crisper",
"concat:dist"
]
}
},
"jshint": {
"rhodecode": {
"src": "<%= dirs.js.src %>/rhodecode/**/*.js",
"options": {
"jshintrc": ".jshintrc"
}
}
},
"vulcanize": {
"default": {
"options": {
"abspath": "",
"inlineScripts": true,
"inlineCss": true,
"stripComments": true
},
"files": {
"<%= dirs.js.dest %>/rhodecode-components.html": "<%= dirs.js.src %>/components/shared-components.html"
}
}
}
}