Module: docs
Branch: master
Commit: 50b65515fd7f8c42bd046450413d66f9ec5ee8d1
URL: http://source.winehq.org/git/docs.git/?a=commit;h=50b65515fd7f8c42bd0464504…
Author: André Hentschel <nerv(a)dawncrow.de>
Date: Thu Apr 4 02:44:49 2013 +0200
winelib: Use winecfg to set a DllOverride.
---
en/winelib-bindlls.sgml | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/en/winelib-bindlls.sgml b/en/winelib-bindlls.sgml
index 54fb63a..f978780 100644
--- a/en/winelib-bindlls.sgml
+++ b/en/winelib-bindlls.sgml
@@ -255,13 +255,8 @@ signed short WINAPI MyProxyWinFunc (unsigned short a, void *b, void *c,
If you have both a Windows DLL and a Linux DLL/proxy pair then you will
have to ensure that the correct one gets called. The easiest way is
probably simply to rename the windows version so that it doesn't get
- detected. Alternatively you could specify in the DllOverrides section
- (or the AppDefaults\\myprog.exe\\DllOverrides section) of the config
- file (in your .wine directory) that the built-in version be used. Note
- that if the Windows version Dll is present and is in the same
- directory as the executable (as opposed to being in the Windows
- directory) then you will currently need to specify the whole path to
- the dll, not merely its name.
+ detected. Alternatively you could set a DLL override with winecfg,
+ so that the built-in version is used.
</para>
<para>
Once you have done this you should be using the Linux Shared Object
Module: tools
Branch: master
Commit: e92578b7804177c3af9b9954781eb685d3c8bcc8
URL: http://source.winehq.org/git/tools.git/?a=commit;h=e92578b7804177c3af9b9954…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Thu Apr 4 12:29:44 2013 +0200
testbot/Users: Add a 'Reject' button for accounts waiting for approval.
---
testbot/README | 4 ++--
testbot/web/admin/UserDetails.pl | 20 +++++++++++++++++++-
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/testbot/README b/testbot/README
index 7ddaba9..3977c5d 100644
--- a/testbot/README
+++ b/testbot/README
@@ -78,8 +78,8 @@ but has to be 'activated' before it can be used. Also an email is sent to the
WineTestBot administrators.
If the request is considered to be illegitimate / spam, the administrator
-should directly delete the provisional account. Otherwise the account should
-be approved.
+should directly delete / reject the provisional account. Otherwise the account
+should be approved.
Approving the account will generate a 'password reset code' and send an email
to the user with a URL to visit to set the account password. That will activate
diff --git a/testbot/web/admin/UserDetails.pl b/testbot/web/admin/UserDetails.pl
index f9c1bea..faf8bbd 100644
--- a/testbot/web/admin/UserDetails.pl
+++ b/testbot/web/admin/UserDetails.pl
@@ -57,7 +57,8 @@ sub GetActions
my @Actions;
if (!defined $LDAPServer and $self->{Item}->WaitingForApproval())
{
- $Actions[0] = "Approve";
+ push @Actions, "Approve";
+ push @Actions, "Reject" if ($self->{Item}->Name);
}
push(@Actions, @{$self->SUPER::GetActions()});
@@ -76,6 +77,19 @@ sub OnApprove($)
exit;
}
+sub OnReject($)
+{
+ my $self = shift;
+
+ $self->{Item}->Status('deleted');
+ ($self->{ErrField}, $self->{ErrMessage}) = $self->{Item}->Save();
+ return !1 if (defined $self->{ErrMessage});
+ # Forcefully log out that user by deleting his web sessions
+ DeleteSessions($self->{Item});
+ $self->RedirectToList();
+ exit;
+}
+
sub OnOK($)
{
my $self = shift;
@@ -99,6 +113,10 @@ sub OnAction
{
return $self->OnApprove();
}
+ elsif ($Action eq "Reject")
+ {
+ return $self->OnReject();
+ }
elsif ($Action eq "OK")
{
return $self->OnOK();
Module: tools
Branch: master
Commit: 2411c853ce53830a32569c22a3b7ec4f08e094b3
URL: http://source.winehq.org/git/tools.git/?a=commit;h=2411c853ce53830a32569c22…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Thu Apr 4 12:14:10 2013 +0200
testbot/Users: Fix the deletion of user accounts.
Users cannot be deleted directly because the Jobs table hold
references to them. So mark the accounts as deleted and let the
Janitor.pl script delete them when they are not referenced anymore.
To do so, transform the 'Active' boolean field into a 'Status'
enumeration that can be 'active' (previously Active=Y),
'disabled' (Active=N) or 'deleted'. The Sessions table also contains
references to the Users, but these should be deleted together with the
user account, which will forcefully log out the user as a side effect.
---
testbot/README | 4 +-
testbot/bin/Janitor.pl | 63 +++++++++++++++++++++++++------
testbot/ddl/update25.sql | 17 ++++++++
testbot/ddl/winetestbot.sql | 6 +-
testbot/doc/winetestbot-schema.dia | 4 +-
testbot/lib/WineTestBot/CGI/Sessions.pm | 11 +++++-
testbot/lib/WineTestBot/Users.pm | 17 ++++----
testbot/web/Register.pl | 2 +-
testbot/web/admin/UsersList.pl | 4 +-
9 files changed, 98 insertions(+), 30 deletions(-)
Diff: http://source.winehq.org/git/tools.git/?a=commitdiff;h=2411c853ce53830a3256…