Thread 'Filtered view for error results'

Message boards : Web interfaces : Filtered view for error results
Message board moderation

To post messages, you must log in.

AuthorMessage
ProfileAnanas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 4855 - Posted: 27 Jun 2006, 23:06:31 UTC
Last modified: 27 Jun 2006, 23:09:21 UTC

A selection on error results (only the red ones) would make it much easier to find problem hosts, especially when the validation takes a long time.

A minor change like this should do in results.php (bold lines) :
_________________________

db_init();
$hostid = get_int("hostid", true);
$userid = get_int("userid", true);
$offset = get_int("offset", true);

[b]$invalid = get_int ("invalid", true);[/b]


if (!$offset) $offset=0;

if ($hostid) {
$host = lookup_host($hostid);
$type = "computer";
$clause = "hostid=$hostid";
} else {
$user = get_logged_in_user();
if ($userid != $user->id) {
error_page("No access");
}
$type = "user";
$clause = "userid=$userid";


[b]if ($invalid) {
$clause .= " AND validate_state=2 OR (received_time IS NOT NULL AND report_deadline<".date();
}[/b]

}

_________________________

plus an additional link results.php?userid=999&invalid=1 from home.php
��u�
ID: 4855 · Report as offensive
ProfileAnanas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 13532 - Posted: 4 Nov 2007, 0:02:52 UTC

Still missing this feature very much, especially in projects with tons of tiny work units *sigh*
ID: 13532 · Report as offensive
Pepo
Avatar

Send message
Joined: 3 Apr 06
Posts: 547
Slovakia
Message 13583 - Posted: 5 Nov 2007, 12:56:56 UTC - in response to Message 13532.  

Still missing this feature very much, especially in projects with tons of tiny work units *sigh*

You could try to submit the patch directly to admins of these projects.

Or maybe to Boinc_Dev mailing list? This is read and replied by the Boinc devs.

Peter
ID: 13583 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 13587 - Posted: 5 Nov 2007, 13:33:24 UTC - in response to Message 13583.  


Or maybe to Boinc_Dev mailing list? This is read and replied by the Boinc devs.


I think most of the devs do not read this forum, but all of them read the e-mail list. Try submitting the patch there.

-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 13587 · Report as offensive
ProfileAnanas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 13599 - Posted: 5 Nov 2007, 16:15:58 UTC - in response to Message 13592.  

Join WCG....


WCG doesn't run so well on my oldish crunching equipment :-/
ID: 13599 · Report as offensive
ProfileAnanas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 13781 - Posted: 13 Nov 2007, 9:00:10 UTC
Last modified: 13 Nov 2007, 9:01:13 UTC

Had to sign up to trac anyway, I submitted the mod (on the current code) there.

Maybe it helps :-)


Stupid me, I failed to make it an "Enhancement", now it stands there as a "Defect" :-(

Need some practice with trac.
ID: 13781 · Report as offensive
Pepo
Avatar

Send message
Joined: 3 Apr 06
Posts: 547
Slovakia
Message 13782 - Posted: 13 Nov 2007, 10:51:30 UTC - in response to Message 13781.  

Stupid me, I failed to make it an "Enhancement", now it stands there as a "Defect" :-(

Make another ticket marked as "Enhancement" and ask Nicolas to close the "Defect" ticked as being a duplicate of the "Enhancement" one ;-)

Peter
ID: 13782 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 13783 - Posted: 13 Nov 2007, 11:17:05 UTC - in response to Message 13782.  

Stupid me, I failed to make it an "Enhancement", now it stands there as a "Defect" :-(

Make another ticket marked as "Enhancement" and ask Nicolas to close the "Defect" ticked as being a duplicate of the "Enhancement" one ;-)

Peter

Nah, there's some of us who can change that. I checked and saw that it was changed already by Didactylos (David B.); others who can change things there are Kathryn, Nicolas and I. And the people you appoint the tickets to, of course. ;-)
ID: 13783 · Report as offensive
ProfileAnanas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 13785 - Posted: 13 Nov 2007, 15:06:58 UTC - in response to Message 13783.  
Last modified: 13 Nov 2007, 15:14:14 UTC

Good :-)

Actually there even was a defect, at one place it had & instead of &amp; in a link and that's fixed now. Severe defect ;-)

p.s.: thanks for fixing the keywords, I had looked in the trac help and it didn't say which separators to use.
ID: 13785 · Report as offensive
Pepo
Avatar

Send message
Joined: 3 Apr 06
Posts: 547
Slovakia
Message 13787 - Posted: 13 Nov 2007, 15:27:26 UTC - in response to Message 13781.  

I submitted the mod (on the current code) there.

Just to note it's trac Ticket [trac]#469[/trac].

Peter
ID: 13787 · Report as offensive

Message boards : Web interfaces : Filtered view for error results

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.