Commit Graph

3103 Commits

Author SHA1 Message Date
Bruce Allen 20004d75e4 Fixed David's mistake in simplifying my fix to escape_string()!
svn path=/trunk/boinc/; revision=9173
2006-01-05 08:15:18 +00:00
David Anderson b6ec685ca4 scheduler buglet
svn path=/trunk/boinc/; revision=9172
2006-01-05 07:37:51 +00:00
David Anderson 0e3f5dda43 *** empty log message ***
svn path=/trunk/boinc/; revision=9171
2006-01-05 07:28:12 +00:00
David Anderson 9edb1c083f *** empty log message ***
svn path=/trunk/boinc/; revision=9170
2006-01-05 06:42:45 +00:00
Rom Walton 1ba5dc278d *** empty log message ***
svn path=/trunk/boinc/; revision=9167
2006-01-04 13:14:14 +00:00
Bruce Allen c92a22c91a Nasty bug fix to sched. escape_string() replaces \ by \\ and
' by \'.  This makes the string longer.  To guarantee that the
resulting longer string does not overflow storage, escape_string()
uses safe_strncpy() to copy the longer string back.  But this
is too heavy-handed, since safe_strncpy() will blindly truncate
the string.  Thus it might clobber \\ into \ or \' into \ which
causes trouble.

David, Rom, please double-check my changes, since escape_string()
is used all over the place.

svn path=/trunk/boinc/; revision=9163
2005-12-30 18:07:46 +00:00
David Anderson a941a17019 *** empty log message ***
svn path=/trunk/boinc/; revision=9162
2005-12-30 06:48:19 +00:00
David Anderson f7c9f791a8 *** empty log message ***
svn path=/trunk/boinc/; revision=9161
2005-12-30 06:25:55 +00:00
David Anderson 82fe2ff24c state file atomicity
svn path=/trunk/boinc/; revision=9160
2005-12-29 22:34:06 +00:00
David Anderson 3ef77d5a93 state file atomicity
svn path=/trunk/boinc/; revision=9159
2005-12-29 00:59:53 +00:00
David Anderson 03cf1a9ae8 *** empty log message ***
svn path=/trunk/boinc/; revision=9158
2005-12-28 23:28:00 +00:00
David Anderson c3b2d71261 *** empty log message ***
svn path=/trunk/boinc/; revision=9157
2005-12-28 19:59:05 +00:00
Rom Walton 06766f12af *** empty log message ***
svn path=/trunk/boinc/; revision=9154
2005-12-28 13:52:59 +00:00
Rom Walton a22c56d0f7 *** empty log message ***
svn path=/trunk/boinc/; revision=9151
2005-12-28 12:33:18 +00:00
Bruce Allen 1eb780f444 Added sort ability on user fields. Limit database stress by requiring
at least three characters of search string.
To-do: add similar functionality for profile search

svn path=/trunk/boinc/; revision=9150
2005-12-27 18:21:00 +00:00
Bruce Allen 90bec63406 Modified the pages to search users and profiles so that the results
display a bit more info about the users (date joined project, country,
total credit, RAC)..

svn path=/trunk/boinc/; revision=9149
2005-12-26 20:03:06 +00:00
David Anderson f3d1e4e71d *** empty log message ***
svn path=/trunk/boinc/; revision=9147
2005-12-25 04:53:24 +00:00
David Anderson 9b8fbcc59f *** empty log message ***
svn path=/trunk/boinc/; revision=9141
2005-12-24 06:32:07 +00:00
David Anderson d19b6419bb *** empty log message ***
svn path=/trunk/boinc/; revision=9136
2005-12-23 22:36:37 +00:00
Rom Walton 0b8f9251e5 *** empty log message ***
svn path=/trunk/boinc/; revision=9132
2005-12-23 04:51:52 +00:00
Bruce Allen cc96fd006a Einstein@Home-specific hack to the locality scheduler. For new
WU, I need to separate two types of 'sticky/report on RPC' files.
One type is used for WU names of the form FILE__ and the others
are auxilliary.  David, after I've talked with you I'll either
generalize this notion or we can eliminate it.

svn path=/trunk/boinc/; revision=9131
2005-12-23 04:17:10 +00:00
David Anderson 829bc4c678 translation fixes
svn path=/trunk/boinc/; revision=9121
2005-12-22 08:22:44 +00:00
Charlie Fenton f95224899d *** empty log message ***
svn path=/trunk/boinc/; revision=9119
2005-12-22 02:33:59 +00:00
David Anderson ba23e3be09 state file update atomicity
svn path=/trunk/boinc/; revision=9115
2005-12-22 00:55:15 +00:00
David Anderson 32e31d3ede web fix
svn path=/trunk/boinc/; revision=9114
2005-12-21 22:59:21 +00:00
David Anderson 53919051a9 -command_line arg to create_work
svn path=/trunk/boinc/; revision=9112
2005-12-21 21:46:22 +00:00
Bruce Allen c88787d169 Make update_versions touch ../reread_db to force the
feeder to notice new app versions.

svn path=/trunk/boinc/; revision=9104
2005-12-20 22:36:31 +00:00
David Anderson b5536e8760 port 31416
svn path=/trunk/boinc/; revision=9103
2005-12-20 07:35:50 +00:00
David Anderson 12d1beac6b *** empty log message ***
svn path=/trunk/boinc/; revision=9102
2005-12-20 07:03:42 +00:00
Rom Walton 06d299e3ed *** empty log message ***
svn path=/trunk/boinc/; revision=9098
2005-12-20 01:12:46 +00:00
Rom Walton e5c4916f97 *** empty log message ***
svn path=/trunk/boinc/; revision=9091
2005-12-19 13:38:18 +00:00
Rom Walton 7112d7db1f *** empty log message ***
svn path=/trunk/boinc/; revision=9089
2005-12-19 13:30:01 +00:00
David Anderson 6374d88da0 web RPC additions
svn path=/trunk/boinc/; revision=9088
2005-12-19 07:42:40 +00:00
David Anderson 8ba13f5273 include config.h
svn path=/trunk/boinc/; revision=9086
2005-12-19 05:55:06 +00:00
David Anderson 1959fbe160 don't leak fds to apps
svn path=/trunk/boinc/; revision=9084
2005-12-18 02:00:15 +00:00
Bruce Allen d40a80fde4 To address some concerns about security, strip USER # from the
online scheduler logs.  The only info that appears in these
online logs is then the HOSTID.  If the user has chosen to hide
their hosts, then there is no way to figure out which user a
given hostid belongs to.

Note that this is exactly the same as the current approach of
displaying the results by hostid, but hiding the identity of the
user who owns a given host.

Also, increase default time for retaining logs to two weeks.

svn path=/trunk/boinc/; revision=9082
2005-12-17 15:51:18 +00:00
Bruce Allen b87eed0dd0 [From Walt Gribben]
Cleanup of parameters that define disk free space requirements.
Previously these were spread around in different places.  Now
these are defined by some config.xml options that are used by
PHP pages and by the scheduler code.  See a description in
doc/configuration.php.

svn path=/trunk/boinc/; revision=9081
2005-12-17 04:53:48 +00:00
Bruce Allen 78c552d8dc Restrict list of top hosts to those with > 300 credits. This prevents
hosts that have done only one or two WU and have anomalously high
RAC values from heading the list.

svn path=/trunk/boinc/; revision=9079
2005-12-16 21:18:52 +00:00
Eric J. Korpela 6fc5491a68 *** empty log message ***
svn path=/trunk/boinc/; revision=9074
2005-12-16 03:27:56 +00:00
Bruce Allen 68c79d4ad7 On David's request, added the E@H 'server_status.php' page. Note that
this is not linked to from the sample project home page.  It also contains
at least some E@H-specific stuff, but David promised to clean this up (:-).

svn path=/trunk/boinc/; revision=9071
2005-12-15 17:19:56 +00:00
Bruce Allen 5f61674bad Made 'last scheduler contact' values a link to the posted server-side
scheduler logs.  On projects that don't post logs, these links will
simply give a 'not found' error if the user clicks on them.

svn path=/trunk/boinc/; revision=9070
2005-12-15 17:16:48 +00:00
David Anderson d093c54c2b account manager security
svn path=/trunk/boinc/; revision=9069
2005-12-15 00:55:09 +00:00
David Anderson 86855fc26d *** empty log message ***
svn path=/trunk/boinc/; revision=9068
2005-12-14 23:43:50 +00:00
Bruce Allen c5ed94a649 Fix to script that cleans 'user-visible' scheduler logs, to prevent
it from inadvertently leaving old files hanging around.

svn path=/trunk/boinc/; revision=9067
2005-12-14 23:25:25 +00:00
Jeff Cobb 646c9a5e81 *** empty log message ***
svn path=/trunk/boinc/; revision=9066
2005-12-14 22:48:05 +00:00
David Anderson bcb5d07cb8 *** empty log message ***
svn path=/trunk/boinc/; revision=9064
2005-12-14 01:44:11 +00:00
David Anderson d0df76e6aa *** empty log message ***
svn path=/trunk/boinc/; revision=9063
2005-12-14 01:07:10 +00:00
David Anderson 9798e714c7 GUI RPC port specification
svn path=/trunk/boinc/; revision=9061
2005-12-13 08:04:57 +00:00
Bruce Allen d118641dcb API: when app version number is shown in the title bar of
a graphics window, print it in the same format at the
client GUI, for example 4.29 rather than existing 429.
This is for consistency with line 506 of clientgui/ViewWork.cpp.

svn path=/trunk/boinc/; revision=9060
2005-12-10 12:46:09 +00:00
David Anderson b451979ab0 user web fixes
svn path=/trunk/boinc/; revision=9059
2005-12-10 02:21:06 +00:00