Skip to content

Commit acbc2f2

Browse files
authored
Merge pull request #172 from aspnetboilerplate/issue-166
updated bootstrap and jquery versions
2 parents b76d562 + 9a0d767 commit acbc2f2

File tree

182 files changed

+17879
-3192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+17879
-3192
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/bower.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "asp.net",
33
"private": true,
44
"dependencies": {
5-
"bootstrap": "3.3.6",
6-
"jquery": "2.2.0",
5+
"bootstrap": "3.3.7",
6+
"jquery": "3.1.1",
77
"toastr": "^2.1.2",
88
"famfamfam-flags": "^1.0.0",
99
"font-awesome": "^4.7.0",
@@ -26,5 +26,8 @@
2626
"jquery-sparkline": "^2.1.3",
2727
"Flot": "jquery-flot#^0.8.3",
2828
"abp-web-resources": "^3.1.0"
29+
},
30+
"resolutions": {
31+
"jquery": ">=1.6.3"
2932
}
3033
}

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/bootstrap/.bower.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
"test-infra"
3030
],
3131
"dependencies": {
32-
"jquery": "1.9.1 - 2"
32+
"jquery": "1.9.1 - 3"
3333
},
34-
"version": "3.3.6",
35-
"_release": "3.3.6",
34+
"version": "3.3.7",
35+
"_release": "3.3.7",
3636
"_resolution": {
3737
"type": "version",
38-
"tag": "v3.3.6",
39-
"commit": "81df608a40bf0629a1dc08e584849bb1e43e0b7a"
38+
"tag": "v3.3.7",
39+
"commit": "0b9c4a4007c44201dce9a6cc1a38407005c26c86"
4040
},
4141
"_source": "https://github.com/twbs/bootstrap.git",
42-
"_target": "3.3.6",
42+
"_target": "3.3.7",
4343
"_originalSource": "bootstrap"
4444
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://rubygems.org'
2+
3+
group :development, :test do
4+
gem 'jekyll', '~> 3.1.2'
5+
gem 'jekyll-sitemap', '~> 0.11.0'
6+
end
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.4.0)
5+
colorator (0.1)
6+
ffi (1.9.14-x64-mingw32)
7+
jekyll (3.1.6)
8+
colorator (~> 0.1)
9+
jekyll-sass-converter (~> 1.0)
10+
jekyll-watch (~> 1.1)
11+
kramdown (~> 1.3)
12+
liquid (~> 3.0)
13+
mercenary (~> 0.3.3)
14+
rouge (~> 1.7)
15+
safe_yaml (~> 1.0)
16+
jekyll-sass-converter (1.4.0)
17+
sass (~> 3.4)
18+
jekyll-sitemap (0.11.0)
19+
addressable (~> 2.4.0)
20+
jekyll-watch (1.4.0)
21+
listen (~> 3.0, < 3.1)
22+
kramdown (1.11.1)
23+
liquid (3.0.6)
24+
listen (3.0.8)
25+
rb-fsevent (~> 0.9, >= 0.9.4)
26+
rb-inotify (~> 0.9, >= 0.9.7)
27+
mercenary (0.3.6)
28+
rb-fsevent (0.9.7)
29+
rb-inotify (0.9.7)
30+
ffi (>= 0.5.0)
31+
rouge (1.11.1)
32+
safe_yaml (1.0.4)
33+
sass (3.4.22)
34+
35+
PLATFORMS
36+
x64-mingw32
37+
38+
DEPENDENCIES
39+
jekyll (~> 3.1.2)
40+
jekyll-sitemap (~> 0.11.0)
41+
42+
BUNDLED WITH
43+
1.12.5

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/bootstrap/Gruntfile.js

Lines changed: 31 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Bootstrap's Gruntfile
33
* http://getbootstrap.com
4-
* Copyright 2013-2015 Twitter, Inc.
4+
* Copyright 2013-2016 Twitter, Inc.
55
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
66
*/
77

@@ -17,7 +17,6 @@ module.exports = function (grunt) {
1717

1818
var fs = require('fs');
1919
var path = require('path');
20-
var npmShrinkwrap = require('npm-shrinkwrap');
2120
var generateGlyphiconsData = require('./grunt/bs-glyphicons-data-generator.js');
2221
var BsLessdocParser = require('./grunt/bs-lessdoc-parser.js');
2322
var getLessVarsData = function () {
@@ -130,7 +129,7 @@ module.exports = function (grunt) {
130129
warnings: false
131130
},
132131
mangle: true,
133-
preserveComments: 'some'
132+
preserveComments: /^!|@preserve|@license|@cc_on/i
134133
},
135134
core: {
136135
src: '<%= concat.bootstrap.dest %>',
@@ -232,6 +231,7 @@ module.exports = function (grunt) {
232231
compatibility: 'ie8',
233232
keepSpecialComments: '*',
234233
sourceMap: true,
234+
sourceMapInlineSources: true,
235235
advanced: false
236236
},
237237
minifyCore: {
@@ -277,7 +277,7 @@ module.exports = function (grunt) {
277277
copy: {
278278
fonts: {
279279
expand: true,
280-
src: 'fonts/*',
280+
src: 'fonts/**',
281281
dest: 'dist/'
282282
},
283283
docs: {
@@ -301,7 +301,9 @@ module.exports = function (grunt) {
301301

302302
jekyll: {
303303
options: {
304-
config: '_config.yml'
304+
bundleExec: true,
305+
config: '_config.yml',
306+
incremental: false
305307
},
306308
docs: {},
307309
github: {
@@ -314,12 +316,27 @@ module.exports = function (grunt) {
314316
htmlmin: {
315317
dist: {
316318
options: {
319+
collapseBooleanAttributes: true,
317320
collapseWhitespace: true,
318321
conservativeCollapse: true,
319-
minifyCSS: true,
322+
decodeEntities: false,
323+
minifyCSS: {
324+
compatibility: 'ie8',
325+
keepSpecialComments: 0
326+
},
320327
minifyJS: true,
328+
minifyURLs: false,
329+
processConditionalComments: true,
321330
removeAttributeQuotes: true,
322-
removeComments: true
331+
removeComments: true,
332+
removeOptionalAttributes: true,
333+
removeOptionalTags: true,
334+
removeRedundantAttributes: true,
335+
removeScriptTypeAttributes: true,
336+
removeStyleLinkTypeAttributes: true,
337+
removeTagWhitespace: false,
338+
sortAttributes: true,
339+
sortClassName: true
323340
},
324341
expand: true,
325342
cwd: '_gh_pages',
@@ -331,17 +348,17 @@ module.exports = function (grunt) {
331348
}
332349
},
333350

334-
jade: {
351+
pug: {
335352
options: {
336353
pretty: true,
337354
data: getLessVarsData
338355
},
339356
customizerVars: {
340-
src: 'docs/_jade/customizer-variables.jade',
357+
src: 'docs/_pug/customizer-variables.pug',
341358
dest: 'docs/_includes/customizer-variables.html'
342359
},
343360
customizerNav: {
344-
src: 'docs/_jade/customizer-nav.jade',
361+
src: 'docs/_pug/customizer-nav.pug',
345362
dest: 'docs/_includes/nav/customize.html'
346363
}
347364
},
@@ -350,7 +367,7 @@ module.exports = function (grunt) {
350367
options: {
351368
ignore: [
352369
'Attribute "autocomplete" not allowed on element "button" at this point.',
353-
'Attribute "autocomplete" is only allowed when the input type is "color", "date", "datetime", "datetime-local", "email", "month", "number", "password", "range", "search", "tel", "text", "time", "url", or "week".',
370+
'Attribute "autocomplete" is only allowed when the input type is "color", "date", "datetime", "datetime-local", "email", "hidden", "month", "number", "password", "range", "search", "tel", "text", "time", "url", or "week".',
354371
'Element "img" is missing required attribute "src".'
355372
]
356373
},
@@ -372,25 +389,6 @@ module.exports = function (grunt) {
372389
}
373390
},
374391

375-
sed: {
376-
versionNumber: {
377-
pattern: (function () {
378-
var old = grunt.option('oldver');
379-
return old ? RegExp.quote(old) : old;
380-
})(),
381-
replacement: grunt.option('newver'),
382-
exclude: [
383-
'dist/fonts',
384-
'docs/assets',
385-
'fonts',
386-
'js/tests/vendor',
387-
'node_modules',
388-
'test-infra'
389-
],
390-
recursive: true
391-
}
392-
},
393-
394392
'saucelabs-qunit': {
395393
all: {
396394
options: {
@@ -485,16 +483,11 @@ module.exports = function (grunt) {
485483
// Default task.
486484
grunt.registerTask('default', ['clean:dist', 'copy:fonts', 'test']);
487485

488-
// Version numbering task.
489-
// grunt change-version-number --oldver=A.B.C --newver=X.Y.Z
490-
// This can be overzealous, so its changes should always be manually reviewed!
491-
grunt.registerTask('change-version-number', 'sed');
492-
493486
grunt.registerTask('build-glyphicons-data', function () { generateGlyphiconsData.call(this, grunt); });
494487

495488
// task for building customizer
496489
grunt.registerTask('build-customizer', ['build-customizer-html', 'build-raw-files']);
497-
grunt.registerTask('build-customizer-html', 'jade');
490+
grunt.registerTask('build-customizer-html', 'pug');
498491
grunt.registerTask('build-raw-files', 'Add scripts/less files to customizer.', function () {
499492
var banner = grunt.template.process('<%= banner %>');
500493
generateRawFiles(grunt, banner);
@@ -512,22 +505,7 @@ module.exports = function (grunt) {
512505
grunt.registerTask('docs-js', ['uglify:docsJs', 'uglify:customize']);
513506
grunt.registerTask('lint-docs-js', ['jshint:assets', 'jscs:assets']);
514507
grunt.registerTask('docs', ['docs-css', 'lint-docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs', 'build-glyphicons-data', 'build-customizer']);
508+
grunt.registerTask('docs-github', ['jekyll:github', 'htmlmin']);
515509

516-
grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', 'compress']);
517-
518-
// Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json).
519-
// This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.
520-
grunt.registerTask('update-shrinkwrap', ['exec:npmUpdate', '_update-shrinkwrap']);
521-
grunt.registerTask('_update-shrinkwrap', function () {
522-
var done = this.async();
523-
npmShrinkwrap({ dev: true, dirname: __dirname }, function (err) {
524-
if (err) {
525-
grunt.fail.warn(err);
526-
}
527-
var dest = 'test-infra/npm-shrinkwrap.json';
528-
fs.renameSync('npm-shrinkwrap.json', dest);
529-
grunt.log.writeln('File ' + dest.cyan + ' updated.');
530-
done();
531-
});
532-
});
510+
grunt.registerTask('prep-release', ['dist', 'docs', 'docs-github', 'compress']);
533511
};
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Before opening an issue:
2+
3+
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
4+
- [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
5+
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs
6+
- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
7+
8+
When asking general "how to" questions:
9+
10+
- Please do not open an issue here
11+
- Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community)
12+
13+
When reporting a bug, include:
14+
15+
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
16+
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
17+
- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com)
18+
19+
When suggesting a feature, include:
20+
21+
- As much detail as possible for what we should add and why it's important to Bootstrap
22+
- Relevant links to prior art, screenshots, or live demos whenever possible

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/bootstrap/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2011-2015 Twitter, Inc
3+
Copyright (c) 2011-2016 Twitter, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/bootstrap/README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ To get started, check out <http://getbootstrap.com>!
2929

3030
Several quick start options are available:
3131

32-
* [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.6.zip).
32+
* [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.7.zip).
3333
* Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.
3434
* Install with [Bower](http://bower.io): `bower install bootstrap`.
35-
* Install with [npm](https://www.npmjs.com): `npm install bootstrap`.
35+
* Install with [npm](https://www.npmjs.com): `npm install bootstrap@3`.
3636
* Install with [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`.
3737
* Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`.
3838

@@ -71,17 +71,18 @@ We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified
7171

7272
Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/twbs/bootstrap/issues/new).
7373

74+
Note that **feature requests must target [Bootstrap v4](https://github.com/twbs/bootstrap/tree/v4-dev),** because Bootstrap v3 is now in maintenance mode and is closed off to new features. This is so that we can focus our efforts on Bootstrap v4.
75+
7476

7577
## Documentation
7678

7779
Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages at <http://getbootstrap.com>. The docs may also be run locally.
7880

7981
### Running documentation locally
8082

81-
1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) (requires v3.0.x).
83+
1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) and other Ruby dependencies with `bundle install`.
8284
**Note for Windows users:** Read [this unofficial guide](http://jekyll-windows.juthilo.com/) to get Jekyll up and running without problems.
83-
2. Install the Ruby-based syntax highlighter, [Rouge](https://github.com/jneen/rouge), with `gem install rouge`.
84-
3. From the root `/bootstrap` directory, run `jekyll serve` in the command line.
85+
2. From the root `/bootstrap` directory, run `bundle exec jekyll serve` in the command line.
8586
4. Open `http://localhost:9001` in your browser, and voilà.
8687

8788
Learn more about using Jekyll by reading its [documentation](http://jekyllrb.com/docs/home/).
@@ -99,6 +100,8 @@ Please read through our [contributing guidelines](https://github.com/twbs/bootst
99100

100101
Moreover, if your pull request contains JavaScript patches or features, you must include [relevant unit tests](https://github.com/twbs/bootstrap/tree/master/js/tests). All HTML and CSS should conform to the [Code Guide](https://github.com/mdo/code-guide), maintained by [Mark Otto](https://github.com/mdo).
101102

103+
**Bootstrap v3 is now closed off to new features.** It has gone into maintenance mode so that we can focus our efforts on [Bootstrap v4](https://github.com/twbs/bootstrap/tree/v4-dev), the future of the framework. Pull requests which add new features (rather than fix bugs) should target [Bootstrap v4 (the `v4-dev` git branch)](https://github.com/twbs/bootstrap/tree/v4-dev) instead.
104+
102105
Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.
103106

104107

@@ -136,4 +139,4 @@ See [the Releases section of our GitHub project](https://github.com/twbs/bootstr
136139

137140
## Copyright and license
138141

139-
Code and documentation copyright 2011-2015 Twitter, Inc. Code released under [the MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE).
142+
Code and documentation copyright 2011-2016 Twitter, Inc. Code released under [the MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE).

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/bootstrap/bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"test-infra"
3030
],
3131
"dependencies": {
32-
"jquery": "1.9.1 - 2"
32+
"jquery": "1.9.1 - 3"
3333
}
3434
}

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)