Changeset 1532

Show
Ignore:
Timestamp:
03/30/05 05:15:57
Author:
miyagawa
Message:

0.02

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Kwiki-TypeKey/trunk/Changes

    r1531 r1532  
    11Revision history for Perl extension Kwiki::TypeKey 
     2 
     30.02  Wed Mar 30 04:47:19 JST 2005 
     4        * Fixed timing of plugin/users creation to avoid perms problem 
     5          (Old installaers: Make sure plugins/users is writable by Kwiki user) 
     6        * Added Kwiki::Edit::TypeKeyRequired 
     7        - add PREREQ to Makefile.PL 
    28 
    390.01  Wed Mar 30 04:12:27 2005 
  • Kwiki-TypeKey/trunk/MANIFEST

    r1531 r1532  
    11Changes 
     2lib/Kwiki/Edit/TypeKeyRequired.pm 
    23lib/Kwiki/TypeKey.pm 
    34lib/Kwiki/Users/TypeKey.pm 
    45Makefile.PL 
    56MANIFEST                        This list of files 
     7META.yml                        Module meta-data (added by MakeMaker) 
    68REAMDE 
    79t/00_compile.t 
    8 META.yml                                 Module meta-data (added by MakeMaker) 
  • Kwiki-TypeKey/trunk/Makefile.PL

    r1531 r1532  
    55    'PREREQ_PM' => { 
    66        Test::More => 0.32, 
    7         Authen::TypeKey => 0, 
     7        Authen::TypeKey => 0.02, 
     8        Kwiki => 0.37, 
    89    }, 
    910); 
  • Kwiki-TypeKey/trunk/lib/Kwiki/TypeKey.pm

    r1531 r1532  
    55use mixin 'Kwiki::Installer'; 
    66 
    7 our $VERSION = "0.01"
     7our $VERSION = 0.02
    88 
    99const class_id => 'user_name'; 
     
    5858 
    5959  > $EDITOR plugins 
    60   # Kwiki::UserName <-- If you use it, comment out 
     60  # Kwiki::UserName <-- If you use it, comment it out 
    6161  Kwiki::TypeKey 
     62  Kwiki::Edit::TypeKeyRequired <- Optional: If you don't allow anonymous writes 
    6263  > $EDITOR config.yaml 
    6364  users_class: Kwiki::Users::TypeKey 
     
    6566  script_name: http://www.example.com/kwiki/index.cgi <- needs absURI 
    6667  > kwiki -update 
     68  > chmod go+w plugin/users 
    6769 
    6870=head1 DESCRIPTION 
     
    8385Integration with C<edit_by> link: (e.g. Kwiki::RecentChanges) 
    8486 
     87=item * 
     88 
     89Logout feature. 
     90 
    8591=back 
    8692 
     
    94100=head1 SEE ALSO 
    95101 
    96 L<Authen::TypeKey> 
     102L<Authen::TypeKey> L<Kwiki::Edit::RequireUserName> L<Kwiki::Users::Remote> 
    97103 
    98104=cut 
  • Kwiki-TypeKey/trunk/lib/Kwiki/Users/TypeKey.pm

    r1531 r1532  
    33use Authen::TypeKey; 
    44 
    5 our $VERSION = 0.01
     5our $VERSION = 0.02
    66use Kwiki::Users '-Base'; 
    77 
     
    1212sub init { 
    1313    $self->hub->config->add_file('typekey.yaml'); 
     14    return unless $self->is_in_cgi; 
    1415    io($self->plugin_directory)->mkdir; 
    1516} 
     
    5758        $tk->expires($expires); 
    5859    } 
    59     $tk->verify($q); 
     60    my $res = $tk->verify($q) or warn $tk->errstr; 
     61    $res; 
    6062} 
    6163