[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3748] branches/1.3



Revision: 3748
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3748&view=rev
Author:   einhverfr
Date:     2011-09-25 23:11:46 +0000 (Sun, 25 Sep 2011)
Log Message:
-----------
Changes for rc3

Modified Paths:
--------------
    branches/1.3/LedgerSMB/Form.pm
    branches/1.3/LedgerSMB.pm
    branches/1.3/VERSION
    branches/1.3/dists/rpm/ledgersmb.spec
    branches/1.3/dists/source/build.sh
    branches/1.3/scripts/setup.pl
    branches/1.3/sql/modules/admin.sql

Modified: branches/1.3/LedgerSMB/Form.pm
===================================================================
--- branches/1.3/LedgerSMB/Form.pm	2011-09-25 04:56:58 UTC (rev 3747)
+++ branches/1.3/LedgerSMB/Form.pm	2011-09-25 23:11:46 UTC (rev 3748)
@@ -150,7 +150,7 @@
     #menubar will be deprecated, replaced with below
     $self->{lynx} = 1 if ( ( defined $self->{path} ) && ( $self->{path} =~ /lynx/i ) );
 
-    $self->{version}   = "1.3.0 rc2";
+    $self->{version}   = "1.3.0 rc3";
     $self->{dbversion} = "1.3.0";
 
     bless $self, $type;

Modified: branches/1.3/LedgerSMB.pm
===================================================================
--- branches/1.3/LedgerSMB.pm	2011-09-25 04:56:58 UTC (rev 3747)
+++ branches/1.3/LedgerSMB.pm	2011-09-25 23:11:46 UTC (rev 3748)
@@ -220,7 +220,7 @@
 $CGI::Simple::POST_MAX = -1;
 
 package LedgerSMB;
-our $VERSION = '1.3.0 rc2';
+our $VERSION = '1.3.0 rc3';
 
 my $logger = Log::Log4perl->get_logger('LedgerSMB');
 

Modified: branches/1.3/VERSION
===================================================================
--- branches/1.3/VERSION	2011-09-25 04:56:58 UTC (rev 3747)
+++ branches/1.3/VERSION	2011-09-25 23:11:46 UTC (rev 3748)
@@ -1 +1 @@
-1.3.0 rc2
+1.3.0 rc3

Modified: branches/1.3/dists/rpm/ledgersmb.spec
===================================================================
--- branches/1.3/dists/rpm/ledgersmb.spec	2011-09-25 04:56:58 UTC (rev 3747)
+++ branches/1.3/dists/rpm/ledgersmb.spec	2011-09-25 23:11:46 UTC (rev 3748)
@@ -1,7 +1,7 @@
 # RPM spec written for and tested on CentOS 4 and CentOS 5 
 Summary: LedgerSMB - Open Source accounting software
 Name: ledgersmb
-Version: 1.3.0_rc2
+Version: 1.3.0_rc3
 Release: 1
 License: GPL
 URL: http://www.ledgersmb.org/

Modified: branches/1.3/dists/source/build.sh
===================================================================
--- branches/1.3/dists/source/build.sh	2011-09-25 04:56:58 UTC (rev 3747)
+++ branches/1.3/dists/source/build.sh	2011-09-25 23:11:46 UTC (rev 3748)
@@ -2,7 +2,7 @@
 
 # Simple script to prepare for release
 
-version="1.3.0_rc2";
+version="1.3.0_rc3";
 build_d="../release";
 
 if test -d $build_d/ledgersmb; then

Modified: branches/1.3/scripts/setup.pl
===================================================================
--- branches/1.3/scripts/setup.pl	2011-09-25 04:56:58 UTC (rev 3747)
+++ branches/1.3/scripts/setup.pl	2011-09-25 23:11:46 UTC (rev 3748)
@@ -46,6 +46,9 @@
     my ($request) = @_;
     $request->{_locale}->new('en');
     my $creds = LedgerSMB::Auth::get_credentials();
+    if (!$request->{database}){
+        $request->error($request->{_locale}->text('No database specified'));
+    }
     my $database = LedgerSMB::Database->new(
                {username => $creds->{username},
             company_name => $request->{database},
@@ -477,7 +480,7 @@
         $request->call_procedure(procname => 'admin__add_user_to_role',
                                  args => [ $request->{username},
                                            "lsmb_$request->{database}__".
-                                            "manage_users",
+                                            "users_manage",
                                          ]
         );
     } else {

Modified: branches/1.3/sql/modules/admin.sql
===================================================================
--- branches/1.3/sql/modules/admin.sql	2011-09-25 04:56:58 UTC (rev 3747)
+++ branches/1.3/sql/modules/admin.sql	2011-09-25 23:11:46 UTC (rev 3748)
@@ -24,7 +24,6 @@
     
         -- Issue the grant
         select rolname into a_role from pg_roles where rolname = in_role;
-        
         IF NOT FOUND THEN
             RAISE EXCEPTION 'Cannot grant permissions of a non-existant role.';
         END IF;
@@ -127,7 +126,7 @@
         select rolname into a_role from pg_roles where rolname = in_role;
         
         IF NOT FOUND THEN
-            RAISE EXCEPTION 'Cannot revoke permissions of a non-existant role.';
+            RAISE EXCEPTION 'Cannot revoke permissions of non-existant role $.';
         END IF;
         
         select rolname into a_user from pg_roles where rolname = in_username;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.