Commit Graph

21 Commits

Author SHA1 Message Date
David Anderson cb6259ecf1 fix comment about output filename random part 2015-11-20 13:58:28 -08:00
David Anderson 6b81b0e63b server: provide access to output file names without random part
- add random substring as "_r123123"
- add function remove_random_from_filename() that removes
  the random substring from an output filename
2015-11-18 13:42:06 -08:00
Rom Walton 914d9f0873 sched: Remove commit ecea18f.
We parse the stuff from xml_doc_in instead of xml_doc_out.  xml_doc_in cannot be modified by anything the BOINC client returns.
2015-11-16 15:39:30 -05:00
Rom Walton 8e11f75195 sched: Do not create a temp string object just to append a character to a string object. 2015-11-15 11:54:27 -05:00
Rom Walton 90f4e92e3e sched: fix compiler warnings 2015-11-14 12:29:42 -05:00
Rom Walton eec9f10460 sched: fix compiler warnings 2015-11-14 12:26:28 -05:00
Rom Walton ecea18f473 sched: Do not trust that the result name embedded within the result output file name is correctly reported by the client.
This opens the validator up to a result name spoofing attack where a bogus client can claim it processed the result reported by a different client for the same workunit.
2015-11-14 12:18:39 -05:00
David Anderson 302aa8c7aa server: add script_validator: a validator framework for Python, Perl, bash etc.
Added script_validator, a validator that invokes scripts of your choice
to check and compare results.
These can be in any language you want.
2014-10-21 22:14:57 -07:00
David Anderson ef82d5d9fb server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
Eric J Korpela 244ba5bc85 SCHED: modified scheduled log output to use unsigned format for WU and RESULT
ids.  This allows IDs greater than 2^31 to be printed.
2013-06-19 10:15:08 -07:00
David Anderson 78f7610f6e remove dependency of boinc_api.h on str_replace.h (and hence config.h)
Any files that use strlcpy() or strlcat() must directly include str_replace.h
2013-06-06 17:31:46 -07:00
David Anderson b9f0733c06 server: replace strcpy() with strlcpy() various places 2013-06-03 22:42:53 -07:00
David Anderson 32a08d27d9 - C++ code: use MAXPATHLEN for char arrays that hold paths
svn path=/trunk/boinc/; revision=25659
2012-05-09 16:11:50 +00:00
David Anderson 9c154484ee - fix many problems with validator_test
svn path=/trunk/boinc/; revision=25582
2012-04-19 08:47:38 +00:00
David Anderson c5c5975b44 - Improve interface of XML_PARSER.
Add parsed_tag and is_tag to the class,
    so that parsing functions don't need to declare them
    and pass them around.
- Complete the task of using XML_PARSER as the argument
    to all parsing functions.
    (Internally, many of these functions still use the old XML parser;
    that's the next step.)


svn path=/trunk/boinc/; revision=23978
2011-08-10 17:11:08 +00:00
David Anderson 8aa29bec33 - validator: fix another bug with --credit_from_wu
- make_project, update scripts: don't quit it user_profiles
    already exists


svn path=/trunk/boinc/; revision=22630
2010-11-05 17:15:27 +00:00
David Anderson 4147249de2 - server: delete old credit stuff
- user web: show host link in user result list.  Fixes #999


svn path=/trunk/boinc/; revision=21735
2010-06-12 22:08:15 +00:00
David Anderson 3fb7c8f13f - server code: moved everything related to credit-granting to credit.cpp,
where it can be used by trickle handlers as well as by validators.

svn path=/trunk/boinc/; revision=18831
2009-08-12 16:26:43 +00:00
David Anderson 7484aeccf1 - validator: prepare for code cleanup
svn path=/trunk/boinc/; revision=18824
2009-08-10 04:22:02 +00:00
David Anderson 2135687990 - validator utilities: improvements to two_credit()
(used for deciding how much credit to grant
    when there are 2 valid results).
    From Kevin Reed

svn path=/trunk/boinc/; revision=17601
2009-03-16 23:12:20 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00