version bump

This commit is contained in:
Mottie 2014-10-26 19:11:12 -05:00
parent a611f5d5a6
commit 3b2742f475
23 changed files with 137 additions and 89 deletions

116
README.md
View File

@ -65,6 +65,81 @@ tablesorter can successfully parse and sort many types of data including linked
View the [complete listing here](//github.com/Mottie/tablesorter/wiki/Changes).
#### <a name="v2.18.0">Version 2.18.0</a> (10/26/2014)
* Core
* Move "ipAddress" parser into `parser-network.js` parser file.
* Add "image" parser to core.
* Add `widgetClass` option
* Allows adding widgets to the table by adding a table class name.
* Fix debug logs for applying widgets.
* Fixes [issue #743](https://github.com/Mottie/tablesorter/issues/743).
* Add `$cell` parameter to parser detection `is` function (`is: function(s, table, cell, $cell) { /* ... */ }`).
* Add `$table` parameter to `onRenderHeader` function (`onRenderHeader: function (index, config, $table){ /* ... */ }`).
* Fix ARIA caption label reference.
* Get column index from data-attribute when sorting.
* The `aria-labelledby` attribute is no longer to all nested captions.
* Update `widgetClass` option matching. See [issue #743](https://github.com/Mottie/tablesorter/issues/743).
* Themes
* Include caption element in metro theme; update various demo theme selectors to include the metro theme.
* Fix zebra striping in nested tables.
* Parsers
* Created `parser-network.js` parser
* Removed "ipAddress" parser from core.
* Move "ipAddress" parser into this file; a duplicate of the parser named "ipv4Address" is included.
* Moved "ipv6Address" parser into this file.
* Added new MAC parser.
* Update all date parsers to ensure a valid date is being parsed.
* Add named number parser & demo.
* Column Selector widget
* Prevent adding a media query when no priorities are set.
* `col` element will now be hidden along with the column. Fixes [issues #740](https://github.com/Mottie/tablesorter/issues/740).
* Editable widget
* Make updatable so this widget works with the pager. Fixes [issue #732](https://github.com/Mottie/tablesorter/issues/732).
* Filter widget
* Fix wildcard match logic to behave logically. Fixes [issue #727](https://github.com/Mottie/tablesorter/issues/727).
* Add `filter_cellFilter` option. Fixes [issue #731](https://github.com/Mottie/tablesorter/issues/731).
* External inputs can now target multiple columns (e.g. `data-column="0-2,4,6-7"`); see [this Stackoverflow question](http://stackoverflow.com/q/26470602/145346).
* Any match filters now properly uses `filter_ignoreCase`. Fixes [issue #748](https://github.com/Mottie/tablesorter/issues/748).
* Fix saved filter updates to multiple or "any" column inputs.
* Grouping widget
* Add "monthyear" grouping to dates. Fixes [issue #744](https://github.com/Mottie/tablesorter/issues/744).
* Pager addon & widget
* Use a sample of page number links for large collections.
* Add `maxOptionSize` option
* Tweak code & fix problems introduces in [pull #711](https://github.com/Mottie/tablesorter/pull/711).
* Thanks [camallen](https://github.com/camallen)!
* Fix ouput display not updating on initialization.
* Add url check to allow ajax updating of table. Fixes [issue #730](https://github.com/Mottie/tablesorter/issues/730).
* Check for dynamically changing `ajaxUrl` option.
* Add `ajaxObject` to the `table.config.pager` variable.
* IE requires a value attribute for every option. Fixes [issue #734](https://github.com/Mottie/tablesorter/issues/734).
* Revert some code modified for large collections to use jQuery instead of native javascript (more IE issues).
* Ensure `pager.filteredRows` is current on page move. See [issue #745](https://github.com/Mottie/tablesorter/issues/745).
* Fix empty table select showing 0 & 1 pages.
* The `fixedHeight` option is now working properly. Fixes [issue #742](https://github.com/Mottie/tablesorter/issues/742) & [issue #729](https://github.com/Mottie/tablesorter/issues/729).
* Widget cleanup & only use the last search data.
* Add note about including an ajax `success` function within the `ajaxObject` definition. See [issue #749](https://github.com/Mottie/tablesorter/issues/749).
* RepeatHeaders widget
* Now works with filtered & nested tables.
* Resizable widget
* Make it work inside of an overflow container. Fixes [issue #737](https://github.com/Mottie/tablesorter/issues/737).
* Scroller widget
* Remove `scroller_idPrefix` in lieu of a unique namespace id.
* StickyHeaders widget
* Now stacks when within a nested table.
* Wrapped sticky header components (`thead` & `caption`) in a sticky div.
* Added `stickyHeaders_xScroll` and `stickyHeaders_yScroll` options.
* Removed jQuery UI selection from the demo to allow the accordion to be properly themed.
* CssStickyHeaders widget
* Now stacks when within a nested table.
* Removed `cssStickyHeaders_zIndex` option as the widget no longer uses relative positioning (it wasn't necessary)
* Please note that **using this widget on nested tables does not work properly in ALL versions of IE** (including IE11).
* UITheme
* Ignore nested tables.
* Add method to remove previous theme.
* Fix multiple header row sort icons.
#### <a name="v2.17.8">Version 2.17.8</a> (9/15/2014)
* Core
@ -115,44 +190,3 @@ View the [complete listing here](//github.com/Mottie/tablesorter/wiki/Changes).
* Core: Do not detach rows before appending to prevent ajax rows from disappearing. Fixes [issue #701](//github.com/Mottie/tablesorter/issues/701).
* Docs: Fix change log links.
* Filter: attached external select causing javascript errors. Fixes [issue #702](//github.com/Mottie/tablesorter/issues/702)
#### <a name="v2.17.6">Version 2.17.6</a> (8/1/2014)
* Core
* Adding a class name of `parser-false` to a column will now automatically set `sorter-false` and `filter-false` behavior.
* Add extractor type which allows giving a column two parsers, one to extract content from an input/select and the second to parse the extracted text. Thanks to [TheSin-](//github.com/TheSin-)!
* Ensure custom parsed data adheres to the `ignoreCase` option.
* Add a delay to any sort if there is an update in progress. This prevents issues with a sort being applied causing duplicate rows to be added to the table, hopefully.
* The `widthFixed` option now finds both visible `th` and `td` cells within the first row of the tbody to set column width percentages.
* Ensure all rows have a set role for screen readers (`role="row"`). Fixes [issue #690](//github.com/Mottie/tablesorter/issues/690).
* Redefine `c.$headers` when building headers for new/replaced header cells (not just content). Fixes [issue #683](//github.com/Mottie/tablesorter/issues/683).
* Docs
* Fixed lots of minor HTML issues (e.g. missing closing `</li>` &amp; `<p>` tags)
* Parsers
* Add parser for textareas within the `parser-input-select.js` file.
* Modify input &amp; textarea parser to only update the table cache when:
* The user presses enter (input) or alt + enter (textarea) within the element.
* When the element is blurred.
* Or, when the mouse leaves the tbody.
* Editable
* Add two new options:
* `editable_autoAccept`: accepts any changes made to the table cell automatically (`true` by default)
* `editable_validate`: a function used to validate the changes; return a valid string (`null` by default)
* Modify `editable_columns` type check to prevent javascript errors. See [pull #688](//github.com/Mottie/tablesorter/issues/688). Thanks [scratcher28](//github.com/scratcher28)!
* Limit the `editable_columns` array value to columns within the table.
* Filter
* Make all options show within the current select when the `filter-onlyAvail` class is set on a column.
* Updated &amp; added docs for `$.tablesorter.filter.buildSelect` function to allow external calls to modify filter select options.
* Update `filter_selectSource` to accept arrays instead of a function. This was documented as working, but it wasn't coded until now. Sorry!
* Add `filter_selectSourceSeparator` option:
* Include a separator within the `filter_selectSource` array (e.g. "a-z|A through Z").
* The text that is left of the separator is added to the option value, the the text on the right is added to the option text.
* So `"a-z|A through Z"` becomes `<option value="a-z">A through Z</option>`.
* Fixes [issue #692](//github.com/Mottie/tablesorter/issues/692).
* Add `role="row"` to the filter row. Fixes [issue #697](//github.com/Mottie/tablesorter/issues/697).
* Any match inputs now follow the `filter_startsWith` setting. See [this Stackoverflow](//stackoverflow.com/q/25070448/145346) question.
* Pager
* The `ouput` option can now include user modifiable `startRow` (`{startRow:input}`) or `page` (`{page:input}`) inputs within the output.
* Remove selected attribute from page selector options. Fixes [issue #700](//github.com/Mottie/tablesorter/issues/700).
* Resizable
* Update `$.tablesorter.addHeaderResizeEvent` function's first parameter `table` to accept table DOM elements as well as jQuery objects. Fixes [issue #687](//github.com/Mottie/tablesorter/issues/687).

View File

@ -1,6 +1,6 @@
/*!
* tablesorter pager plugin
* updated 9/15/2014 (v2.17.8)
* updated 10/26/2014 (v2.18.0)
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/**!
* TableSorter 2.17.8 - Client-side table sorting with ease!
* TableSorter 2.18.0 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
* Copyright (c) 2007 Christian Bach
@ -24,7 +24,7 @@
var ts = this;
ts.version = "2.17.8";
ts.version = "2.18.0";
ts.parsers = [];
ts.widgets = [];

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tableSorter 2.16+ widgets - updated 9/15/2014 (v2.17.8)
/*! tableSorter 2.16+ widgets - updated 10/26/2014 (v2.18.0)
*
* Column Styles
* Column Filters

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,6 @@
/*!
* Extract out date parsers
* 10/26/2014 (v2.18.0)
*/
/*jshint jquery:true */
;(function($){
@ -22,11 +23,11 @@
*/
$.tablesorter.addParser({
id: "extractUSLongDate",
is: function (s) {
is: function () {
// don't auto detect this parser
return false;
},
format: function (s, table) {
format: function (s) {
var date,
str = s ? s.match(regex.usLong) : s;
if (str) {
@ -43,11 +44,11 @@
*/
$.tablesorter.addParser({
id: "extractMMDDYYYY",
is: function (s) {
is: function () {
// don't auto detect this parser
return false;
},
format: function (s, table) {
format: function (s) {
var date,
str = s ? s.replace(/\s+/g," ").replace(/[\-.,]/g, "/").match(regex.mdy) : s;
if (str) {
@ -64,11 +65,11 @@
*/
$.tablesorter.addParser({
id: "extractDDMMYYYY",
is: function (s) {
is: function () {
// don't auto detect this parser
return false;
},
format: function (s, table) {
format: function (s) {
var date,
str = s ? s.replace(/\s+/g," ").replace(/[\-.,]/g, "/").match(regex.dmy) : s;
if (str) {
@ -85,11 +86,11 @@
*/
$.tablesorter.addParser({
id: "extractYYYYMMDD",
is: function (s) {
is: function () {
// don't auto detect this parser
return false;
},
format: function (s, table) {
format: function (s) {
var date,
str = s ? s.replace(/\s+/g," ").replace(/[\-.,]/g, "/").match(regex.ymd) : s;
if (str) {

View File

@ -1,4 +1,4 @@
/*! ISO-8601 date parser
/*! ISO-8601 date parser - 10/26/2014 (v2.18.0)
* This parser will work with dates in ISO8601 format
* 2013-02-18T18:18:44+00:00
* Written by Sean Ellingham :https://github.com/seanellingham

View File

@ -1,4 +1,4 @@
/*! Month parser
/*! Month parser - 10/26/2014 (v2.18.0)
* Demo: http://jsfiddle.net/Mottie/abkNM/4169/
*/
/*jshint jquery:true */

View File

@ -1,4 +1,4 @@
/*! Two digit year parser
/*! Two digit year parser - 10/26/2014 (v2.18.0)
* Demo: http://mottie.github.io/tablesorter/docs/example-parsers-dates.html
*/
/*jshint jquery:true */

View File

@ -1,4 +1,4 @@
/*! Weekday parser
/*! Weekday parser - 10/26/2014 (v2.18.0)
* Demo: http://jsfiddle.net/Mottie/abkNM/4169/
*/
/*jshint jquery:true */

View File

@ -1,5 +1,6 @@
/*!
* Extract dates using popular natural language date parsers
* 10/26/2014 (v2.18.0)
*/
/*jshint jquery:true */
;(function($){

View File

@ -1,4 +1,4 @@
/*! Named Numbers Parser
/*! Named Numbers Parser - 10/26/2014 (v2.18.0)
* code modified from http://stackoverflow.com/a/12014376/145346
*/
/*jshint jquery:true */

View File

@ -1,4 +1,4 @@
/*! Network parsers - IPv4, IPv6 and MAC Addresses */
/*! Network parsers - IPv4, IPv6 and MAC Addresses - 10/26/2014 (v2.18.0) */
/*global jQuery: false */
;(function($){
"use strict";

View File

@ -1,4 +1,4 @@
/* Column Selector/Responsive table widget (beta) for TableSorter 5/22/2014 (v2.17.0)
/* Column Selector/Responsive table widget (beta) for TableSorter - 10/26/2014 (v2.18.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Justin Hallett & Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! tablesorter CSS Sticky Headers widget - updated 5/5/2014 (v2.16.4)
/*! tablesorter CSS Sticky Headers widget - updated 10/26/2014 (v2.18.0)
* Requires a modern browser, tablesorter v2.8+
*/
/*jshint jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/*! tablesorter Editable Content widget - updated 9/27/2014 ( core v2.17.8 )
/*! tablesorter Editable Content widget - updated 10/26/2014 (v2.18.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! tablesorter Grouping widget - updated 3/7/2014 (core v2.15.6)
/*! tablesorter Grouping widget - updated 10/26/2014 (v2.18.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/* Pager widget for TableSorter 9/15/2014 (v2.17.8) - requires jQuery 1.7+ */
/* Pager widget for TableSorter 10/26/2014 (v2.18.0) - requires jQuery 1.7+ */
/*jshint browser:true, jquery:true, unused:false */
;(function($){
"use strict";

View File

@ -1,4 +1,4 @@
/*! tablesorter repeatHeaders widget - updated 4/12/2013
/*! tablesorter repeatHeaders widget - updated 10/26/2014 (v2.18.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* Original by Christian Bach from the example-widgets.html demo
*/

View File

@ -10,7 +10,7 @@
Resizable scroller widget for the jQuery tablesorter plugin
Version 2.0 - modified by Rob Garrison 4/12/2013; updated 6/28/2014 (v2.17.3)
Version 2.0 - modified by Rob Garrison 4/12/2013; updated 10/26/2014 (v2.18.0)
Requires jQuery v1.7+
Requires the tablesorter plugin, v2.8+, available at http://mottie.github.com/tablesorter/docs/

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.17.8",
"version": "2.18.0",
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",
@ -39,5 +39,17 @@
"js/jquery.tablesorter.min.js",
"js/jquery.tablesorter.widgets.min.js",
"addons/pager/"
]
],
"npmName": "tablesorter",
"npmFileMap": [{
"basePath": "./",
"files": [
"js/*",
"js/**/*",
"css/*",
"css/images/*",
"addons/pager/*",
"addons/pager/icons/*"
]
}]
}