-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item13897: Intermidiate, converted checkers.
Also some improvements to error handling has been done. Trying to get rid of as much of eval's as possible in cases where it's used to load a module. - Another significat change is introduction of attrs attribute on Foswiki::Configure::Item objects. It is used to hold all serializable keys – i.e. those which names are not started with underscore. This is somewhat of a headache across the Configure code because previously all keys were stored directly on the object hash. Now non-serializable keys must have their own attributes (like _parent, for instance). For example, old code: $item->{serializable} $item->{_nonserializable} must be replaced with: $item->attrs->{serializable} $item->_nonserializable Perhaps the children key shall get its own attribute too but I left it for later. - Moved redirect() method to Foswiki::App. - Improved Foswiki::Config localization code by localizing not only data but files and urlHost attributes too. - Added TO_JSON method to Foswiki::Exception to take care of cases when eval hides a thrown exception and interprets it as a response for a JsonRPC request. This happened to Store::Implementation checker code leading to JSON failing to encode response object. - Added Foswiki::Exception::errorStr static method to convert an error object of unknown type (i.e. a string from die, or a Foswiki::Exception or Error descendants) into a plain string. For blessed references it is using stringify or text methods in the order given. - Fixed a bug in store encoding checked which was causing a regexp match agains unitialized {Store}{Encoding} key during bootstrapping stage.
- Loading branch information
Showing
147 changed files
with
1,124 additions
and
1,187 deletions.
There are no files selected for viewing
8 changes: 3 additions & 5 deletions
8
CommentPlugin/lib/Foswiki/Configure/Checkers/Plugins/CommentPlugin/GuestCanComment.pm
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
8 changes: 3 additions & 5 deletions
8
CommentPlugin/lib/Foswiki/Configure/Checkers/Plugins/CommentPlugin/RequiredForSave.pm
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
8 changes: 3 additions & 5 deletions
8
...isionsAddOn/lib/Foswiki/Configure/Checkers/Plugins/CompareRevisionsAddonPlugin/Enabled.pm
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
10 changes: 5 additions & 5 deletions
10
CompareRevisionsAddOn/lib/Foswiki/Configure/Checkers/SwitchBoard/compareauth.pm
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
8 changes: 3 additions & 5 deletions
8
EditRowPlugin/lib/Foswiki/Configure/Checkers/Plugins/EditRowPlugin/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
EditRowPlugin/lib/Foswiki/Configure/Checkers/Plugins/EditRowPlugin/Macro.pm
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
10 changes: 5 additions & 5 deletions
10
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/JQueryVersion.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Autocomplete/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Bgiframe/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Corner/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Gradient/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Media/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Nifty/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Rating/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Shake/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/SimpleModal/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Supersubs/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Tmpl/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
JQueryPlugin/lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Tooltip/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
MailerContrib/lib/Foswiki/Configure/Checkers/Plugins/MailerContribPlugin/Enabled.pm
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
8 changes: 3 additions & 5 deletions
8
MailerContrib/lib/Foswiki/Configure/Checkers/Plugins/MailerContribPlugin/Module.pm
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
8 changes: 3 additions & 5 deletions
8
...oreContrib/lib/Foswiki/Configure/Checkers/Extensions/PlainFileStoreContrib/CheckForRCS.pm
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.