Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item13897: Bootstrap configuration is starting!
Started adapting JQueryPlugin and JsonRpcContrib. - Converted to Moo: * CommentPlugin/JQuery.pm * ConfigurePlugin/JQuery.pm * UI/Configure.pm * UI/Viewfile.pm - Engine is now providing queryParameters and bodyParameters attributes to support Request's queryParam and bodyParam. - Foswiki::Engine (the base class) initializes queryParameters using $this->env->{QUERY_STRING} as a source of data if the engine is HTTPCompliant and no third parameter is passed over to _prepareQueryParameters() method. Supposed to be compatible with any HTTP environment. Works for CGI just out of the box. - Foswiki::Request initializes it's parameters attributes using Foswiki::Engine query/bodyParameters interface. - prepareBody() method is gone from Engine. - Imported George Clark's Foswiki::Request::Attachment implementation from Item14033 branch. - $Foswiki::app->ui is now the object handling particular action – it was _dispatcherObject until now. I consider 'user interface' name valid for this purpose as browser acting as a user for the server-side application. It is valid for RPC too. - Some JQueryPlugin macros are converted to the new model. - Temporarily reverted jquery versions from 2.2.1 to 2.1.4 and from 1.12.1 to 1.11.3 because the newer .js files failed to load. - JsonRpcContrib exception is now inheriting from Foswiki::Exception. =message= attribute/field has been replaced with text. message() method is there for compatibility.
- Loading branch information
Showing
36 changed files
with
954 additions
and
700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# ---+ Extensions | ||
# ---++ JQueryPlugin | ||
# ---+++ General settings | ||
# ---+++ General settings | ||
# **BOOLEAN LABEL="Debug"** | ||
# This flag enables the debug mode for JQueryPlugin and all of its sub-modules. | ||
# Instead of loading jquery.myplugin.js, it will load jquery.myplugin.uncompressed.js. | ||
|
@@ -14,7 +14,8 @@ $Foswiki::cfg{JQueryPlugin}{MemoryCache} = 1; | |
|
||
# **STRING LABEL="Icon Search Path" CHECK="undefok"** | ||
# search path for JQICONs | ||
$Foswiki::cfg{JQueryPlugin}{IconSearchPath} = 'FamFamFamSilkIcons, FamFamFamSilkCompanion1Icons, FamFamFamSilkCompanion2Icons, FamFamFamSilkGeoSilkIcons, FamFamFamFlagIcons, FamFamFamMiniIcons, FamFamFamMintIcons'; | ||
$Foswiki::cfg{JQueryPlugin}{IconSearchPath} = | ||
'FamFamFamSilkIcons, FamFamFamSilkCompanion1Icons, FamFamFamSilkCompanion2Icons, FamFamFamSilkGeoSilkIcons, FamFamFamFlagIcons, FamFamFamMiniIcons, FamFamFamMintIcons'; | ||
|
||
# **BOOLEAN LABEL="Enable No-Conflict Mode"** | ||
# Enable this switch to prevent name conflicts with other javascript frameworks that | ||
|
@@ -24,7 +25,7 @@ $Foswiki::cfg{JQueryPlugin}{IconSearchPath} = 'FamFamFamSilkIcons, FamFamFamSilk | |
$Foswiki::cfg{JQueryPlugin}{NoConflict} = 0; | ||
|
||
# **STRING LABEL="Default Plugins"** | ||
# List of plugins loaded by default on any page. Note that you need at least the "migrate" plugin being loaded by default in case you are using | ||
# List of plugins loaded by default on any page. Note that you need at least the "migrate" plugin being loaded by default in case you are using | ||
# a newer jQuery library. Starting with jquery-1.9.1 all deprecated methods have been removed from it and put into the "migrate" plugin. | ||
$Foswiki::cfg{JQueryPlugin}{DefaultPlugins} = ''; | ||
|
||
|
@@ -33,13 +34,13 @@ $Foswiki::cfg{JQueryPlugin}{DefaultPlugins} = ''; | |
# problems with plugins still using deprecated features then add the <code>migrate</code> plugin to the list | ||
# of plugins loaded by default (see above). Further note that starting with jQuery-2.0 support for Internet Explorer 6/7/8 | ||
# has been dropped. Use jQuery-1.9 in case you still need to cover these browsers. | ||
$Foswiki::cfg{JQueryPlugin}{JQueryVersion} = 'jquery-2.2.1'; | ||
$Foswiki::cfg{JQueryPlugin}{JQueryVersion} = 'jquery-2.1.4'; | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
vrurg
Author
Member
|
||
# **SELECT , jquery-1.9.1, jquery-1.10.0, jquery-1.10.1, jquery-1.11.0, jquery-1.11.1, jquery-1.11.2, jquery-1.11.3, jquery-1.12.0, jquery-1.12.1** | ||
# Use a different jQuery library for Internet Explorer 6/7/8. Since jQuery-2.0 these old browsers aren't suppored anymore. | ||
# Use one of the jQuery-1.x libraries to still serve a compatible jQuery to these browsers. Or leave it empty to use the same | ||
# Use one of the jQuery-1.x libraries to still serve a compatible jQuery to these browsers. Or leave it empty to use the same | ||
# library version for all browsers. | ||
$Foswiki::cfg{JQueryPlugin}{JQueryVersionForOldIEs} = 'jquery-1.12.1'; | ||
$Foswiki::cfg{JQueryPlugin}{JQueryVersionForOldIEs} = 'jquery-1.11.3'; | ||
|
||
# **SELECT ,base, flickr, foswiki, lightness, redmond, smoothness ** | ||
$Foswiki::cfg{JQueryPlugin}{JQueryTheme} = 'foswiki'; | ||
|
@@ -239,11 +240,11 @@ $Foswiki::cfg{JQueryPlugin}{Plugins}{WikiWord}{Enabled} = 1; | |
$Foswiki::cfg{JQueryPlugin}{Plugins}{Autocomplete}{Enabled} = 0; | ||
|
||
# **BOOLEAN LABEL="Bgiframe" EXPERT** | ||
# Warning: this plugin is deprecated. | ||
# Warning: this plugin is deprecated. | ||
$Foswiki::cfg{JQueryPlugin}{Plugins}{Bgiframe}{Enabled} = 0; | ||
|
||
# **BOOLEAN LABEL="Corner" EXPERT** | ||
# Warning: this plugin is deprecated. | ||
# Warning: this plugin is deprecated. | ||
$Foswiki::cfg{JQueryPlugin}{Plugins}{Corner}{Enabled} = 0; | ||
|
||
# **BOOLEAN LABEL="Gradient" EXPERT** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Looks like a regression. Are you in sync with master wrt JQueryPlugin?