
| Line: 4 to 4 | ||||||||
|---|---|---|---|---|---|---|---|---|
|
On this page:
| ||||||||
| Changed: | ||||||||
| < < | [[CGISessionDotPm][]] | |||||||
| > > | Monitor | |||||||
| Added: | ||||||||
| > > | Monitoring package. Instrument the code like this: | |||||||
| Changed: | ||||||||
| < < | This package doesn't smell | |||||||
| > > | use Monitor; Monitor::MARK("Description of event"); Monitor::MARK("Another event"); | |||||||
| Changed: | ||||||||
| < < | [[CGISessionDriverDBIDotPm][]] | |||||||
| > > | or, to monitor all the calls to a module | |||||||
| Added: | ||||||||
| > > | use Monitor; Monitor::MonitorMethod('TWiki::Users'); | |||||||
| Changed: | ||||||||
| < < | This package doesn't smell | |||||||
| > > | or a function | |||||||
| Changed: | ||||||||
| < < | [[CGISessionDriverDb_fileDotPm][]] | |||||||
| > > | use Monitor; Monitor::MonitorMethod('TWiki::Users', 'getCanonicalUserID'); | |||||||
| Added: | ||||||||
| > > | Then set the environment variable TWIKI_MONITOR to a perl true value, and run the script from the command line e.g: $ cd bin $ ./view -topic Myweb/MyTestTopic | |||||||
| Changed: | ||||||||
| < < | This package doesn't smell | |||||||
| > > | The results will be printed to STDERR at the end of the run. Two times are shown, a time relative to the last MARK and a time relative to the first MARK (which is always set the first time this package is used). The final column is total memory. | |||||||
| Changed: | ||||||||
| < < | [[CGISessionDriverDotPm][]] | |||||||
| > > | NOTE: it uses /proc - so its linux specific... | |||||||
| Deleted: | ||||||||
| < < | This package doesn't smell | |||||||
| Deleted: | ||||||||
| < < | [[CGISessionDriverFileDotPm][]] | |||||||
| This package doesn't smell | ||||||||
| Deleted: | ||||||||
| < < | [[CGISessionDriverMysqlDotPm][]]This package doesn't smell[[CGISessionDriverPostgresqlDotPm][]]This package doesn't smell[[CGISessionDriverSqliteDotPm][]]This package doesn't smell[[CGISessionErrorHandlerDotPm][]]This package doesn't smell[[CGISessionIDIncrDotPm][]]This package doesn't smell[[CGISessionIDMd5DotPm][]]This package doesn't smell[[CGISessionSerializeDefaultDotPm][]]This package doesn't smell[[CGISessionSerializeFreezethawDotPm][]]This package doesn't smell[[CGISessionSerializeJsonDotPm][]]This package doesn't smell[[CGISessionSerializeStorableDotPm][]]This package doesn't smell[[CGISessionSerializeYamlDotPm][]]This package doesn't smell[[CGISessionTutorialDotPm][]]This package doesn't smell[[MonitorDotPm][]]This package doesn't smell | |||||||
TWiki::AccessControlExceptionException used raise an access control violation. This exception has the | ||||||||
| Line: 169 to 113 | ||||||||
| This package has smell factor of 2 | ||||||||
| Changed: | ||||||||
| < < | TWiki::Configure::Load | |||||||
| > > | TWiki::Configure::Checkers::CertificateCheckerConfigure GUI checker for Certificate items. | |||||||
| Changed: | ||||||||
| < < | Purpose | |||||||
| > > | This checker validates files that contain X.509 certificates, such as for the S/MIME signatures and for the Tasks framework. | |||||||
| Added: | ||||||||
| > > | It must be subclassed for the various certificate types, as the requirements
are slightly different.
This package doesn't smell
TWiki::Configure::Checkers::Certificate::KeyCheckerConfigure GUI checker for Certificate Key items. This checker validates files that contain private key files such as for the S/MIME signatures and for the Tasks framework. It must be subclassed for the various certificate types, as the requirements are slightly different. This package doesn't smellTWiki::Configure::Load | |||||||
This module consists of just a single subroutine readConfig. It allows to
safely modify configuration variables for one single run without affecting
normal TWiki operation. | ||||||||
| Line: 181 to 149 | ||||||||
| This package doesn't smell | ||||||||
| Changed: | ||||||||
| < < | [[TWikiConfigureUIsEXTENDDotPm][]] | |||||||
| > > | TWiki::Configure::UIs::EXTEND | |||||||
| Line: 197 to 166 | ||||||||
| Global variables are avoided wherever possible to avoid problems with CGI accelerators such as mod_perl. | ||||||||
| Changed: | ||||||||
| < < | Public Data members | |||||||
| > > | Public Data members | |||||||
| ||||||||
| Line: 230 to 199 | ||||||||
| This package has smell factor of 38 | ||||||||
| Changed: | ||||||||
| < < | [[TWikiEngineDotPm][]] | |||||||
| > > | TWiki::Engine | |||||||
| Added: | ||||||||
| > > | The engine class is a singleton that implements details about TWiki's execution mode. This is the base class and implements basic behavior. | |||||||
| Added: | ||||||||
| > > | Each engine should inherits from this and overload methods necessary to achieve correct behavior. | |||||||
This package has smell factor of 1
TWiki::EngineException | ||||||||
| Line: 292 to 268 | ||||||||
| This package has smell factor of 1 | ||||||||
| Changed: | ||||||||
| < < | [[TWikiFormSelectDotPm][]] | |||||||
| > > | TWiki::Form::Select | |||||||
| Line: 324 to 301 | ||||||||
$TWiki::Plugins::VERSION. The 'Since' field in the function
documentation refers to $TWiki::Plugins::VERSION. | ||||||||
| Changed: | ||||||||
| < < | Notes on use of $TWiki::Plugins::VERSION (from 1.2 forwards): | |||||||
| > > | Notes on use of $TWiki::Plugins::VERSION 6.00 and later: | |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 459 to 428 | ||||||||
| The package is also a Factory for login managers and also the base class for all login managers. | ||||||||
| Changed: | ||||||||
| < < | On it's own, an object of this class is used when you specify 'none' in | |||||||
| > > | On its own, an object of this class is used when you specify 'none' in | |||||||
| the security setup section of configure. When it is used, logins are not supported. If you want to authenticate users then you should | ||||||||
| Line: 499 to 468 | ||||||||
| The last step in TWiki::new is to find the user, using whatever user mapping manager is in place. | ||||||||
| Deleted: | ||||||||
| < < | ObjectData | |||||||
| Deleted: | ||||||||
| < < | The TWiki object this login manager is attached to. | |||||||
| Added: | ||||||||
| > > | This package has smell factor of 8 | |||||||
| Added: | ||||||||
| > > | TWiki::LoginManager::Session | |||||||
| Changed: | ||||||||
| < < | This package has smell factor of 8 | |||||||
| > > | Class to provide CGI::Session like infra-structure, compatible with TWiki Runtime Engine mechanisms other than CGI. | |||||||
| Changed: | ||||||||
| < < | [[TWikiLoginManagerSessionDotPm][]] | |||||||
| > > | It inherits from CGI::Session and redefine methods that uses %ENV directly, replacing by calls to TWiki::Request object, that is passed to constructor. | |||||||
| Added: | ||||||||
| > > | It also redefines name method, to avoid creating CGI object. | |||||||
| Line: 526 to 500 | ||||||||
| This package has smell factor of 2 | ||||||||
| Added: | ||||||||
| > > | TWiki::MdrepoThis package doesn't smell | |||||||
TWiki::MergeSupport for merging strings | ||||||||
| Line: 580 to 560 | ||||||||
| Changed: | ||||||||
| < < | This package has smell factor of 3 | |||||||
| > > | This package has smell factor of 4 | |||||||
TWiki::Net::HTTPResponse | ||||||||
| Line: 623 to 603 | ||||||||
| topic => $topic, params => [ 'bigtoe', 'hot tap' ] ); | ||||||||
| Added: | ||||||||
| > > | ||||||||
| This package doesn't smell | ||||||||
| Changed: | ||||||||
| < < | [[TWikiPluginDotPm][]] | |||||||
| > > | TWiki::Plugin | |||||||
| Line: 753 to 735 | ||||||||
| Changed: | ||||||||
| < < | This package has smell factor of 23 | |||||||
| > > | This package has smell factor of 21 | |||||||
| Changed: | ||||||||
| < < | [[TWikiRequestDotPm][]] | |||||||
| > > | TWiki::Request | |||||||
| Added: | ||||||||
| > > | Class to encapsulate request data. | |||||||
| Added: | ||||||||
| > > | Fields:
| |||||||
| This package has smell factor of 1 | ||||||||
| Changed: | ||||||||
| < < | [[TWikiResponseDotPm][]] | |||||||
| > > | TWiki::Response | |||||||
| Added: | ||||||||
| > > | Class to encapsulate response data. | |||||||
| Added: | ||||||||
| > > | Fields:
* status - response status
* headers - hashref to response headers
* body - response body
* cookies - hashref to response cookies
| |||||||
This package doesn't smell
TWiki::Sandbox | ||||||||
| Line: 786 to 797 | ||||||||
| Changed: | ||||||||
| < < | This package has smell factor of 13 | |||||||
| > > | This package has smell factor of 12 | |||||||
TWiki::Store | ||||||||
| Line: 861 to 872 | ||||||||
| ||||||||
| Changed: | ||||||||
| < < | File format | |||||||
| > > | File format | |||||||
rcstext ::= admin {delta}* desc {deltatext}* | ||||||||
| Line: 941 to 952 | ||||||||
| Forking implementation of the RCS cache search. | ||||||||
| Deleted: | ||||||||
| < < | search($searchString, $topics, $options, $sDir) -> \%seenSearch .txt files in $dir for $searchString. See RcsFile::searchInWebContent for details. | |||||||
| This package has smell factor of 3 | ||||||||
| Line: 953 to 960 | ||||||||
| Pure perl implementation of the RCS cache search. | ||||||||
| Deleted: | ||||||||
| < < | search($searchString, $topics, $options, $sDir) -> \%seenSearch .txt files in $dir for $string. See RcsFile::searchInWebContent for details. | |||||||
| This package doesn't smell | ||||||||
| Line: 985 to 988 | ||||||||
| This package doesn't smell | ||||||||
| Changed: | ||||||||
| < < | [[TWikiUIDotPm][]] | |||||||
| > > | TWiki::UI::Copy | |||||||
| Added: | ||||||||
| > > | UI delegate for copy function | |||||||
| This package doesn't smell | ||||||||
| Added: | ||||||||
| > > | TWiki::UICoordinator of execution flow and service functions used by the UI packages This package doesn't smell | |||||||
TWiki::UI::EditEdit command handler | ||||||||
| Line: 1006 to 1020 | ||||||||
| This package has smell factor of 4 | ||||||||
| Added: | ||||||||
| > > | TWiki::UI::MdrepoUIUI delegate for mdrepo function This package doesn't smell | |||||||
TWiki::UI::OopsUI delegate for oops function | ||||||||
| Line: 1132 to 1154 | ||||||||
| No registration - this is a read only usermapper. It uses the mapper prefix 'BaseUserMapping_'. | ||||||||
| Changed: | ||||||||
| < < | Users | |||||||
| > > | Users | |||||||
| ||||||||
| Changed: | ||||||||
| < < | Groups | |||||||
| > > | Groups | |||||||
| ||||||||
| Line: 1199 to 1221 | ||||||||
| Changed: | ||||||||
| < < | This package has smell factor of 6 | |||||||
| > > | This package has smell factor of 7 | |||||||
TWiki::Users::HtPasswdUser | ||||||||
| Line: 1246 to 1268 | ||||||||
| This package has smell factor of 14 | ||||||||
| Changed: | ||||||||
| < < | There were a total of 220 smells | |||||||
| > > | There were a total of 219 smells | |||||||