David Anderson
7302f02544
- user web: added new framework for DB access from PHP.
...
Here's how things should eventually be:
- inc/db_conn.inc defines DbConn, a PHP class representing
a connection to a database with
various generic operations (update, insert etc.).
DbConn prepends the DB name to table names,
so you don't have to select a DB;
this means you can access multiple databases
(e.g. BOINC and Bossa) and use persistent connections.
ALL MYSQL-SPECIFIC CODE WILL EVENTUALLY BE HERE.
- inc/boinc_db.inc defines classes BoincUser, BoincTeam etc.,
representing the various BOINC DB tables.
All access to the DB should use these classes.
When you use this framework, no initialization calls are needed.
db.inc is deprecated and should eventually be removed.
I changed get_logged_in_user()
and all team-related code to use this framework.
- user web: show team founder link to "management functions"
even if they're not currently a member;
allow team founder to perform all operations even if not a member.
- turned on E_ALL error checking,
and fixed a bunch of warnings
and a couple of bugs ($team, not team)
- database: update schema/constraints for team fulltext search
- user web: forgot to change Serbia and Montenegro to Serbia
svn path=/trunk/boinc/; revision=13968
2007-10-26 21:14:35 +00:00
David Anderson
c6c066bde1
- Bossa: refactor DB code, creating a new PHP class DbConn
...
representing a connection to a database.
This is independent of Bossa,
and we should rewrite the BOINC PHP code based on this.
svn path=/trunk/boinc/; revision=13967
2007-10-26 17:04:46 +00:00
David Anderson
156aa07711
svn path=/trunk/boinc/; revision=13963
2007-10-25 21:36:05 +00:00
David Anderson
27a7659f36
- Bossa: changed the DB infrastructure to let Bossa tables
...
live in a different database (and/or server) than the BOINC tables.
Also eliminated the need to call a DB init function.
This involved:
1) adding <bossa_db_host> etc. entries to config.xml
2) prefixing DB name to table name in all Bossa queries
(this is needed if Bossa DB is on same server as BOINC DB,
since we're using persistent connections)
- user web: added Montenegro, and changed Serbia and Montenegro to Serbia
(requires DB update to make latter change in existing records)
svn path=/trunk/boinc/; revision=13962
2007-10-25 21:34:13 +00:00
Rytis Slatkevičius
b82c9454ed
User web: add reCAPTCHA to profile creation/modification page.
...
svn path=/trunk/boinc/; revision=13961
2007-10-25 10:43:16 +00:00
David Anderson
d4cd3ac853
- user web: change "host" to "computer" in a few places
...
svn path=/trunk/boinc/; revision=13946
2007-10-24 17:59:08 +00:00
Rytis Slatkevičius
4b28e7c183
User web: add HTML DOCTYPE (4.01 Transitional) to all pages, make some HTML validity changes.
...
svn path=/trunk/boinc/; revision=13928
2007-10-22 19:36:01 +00:00
David Anderson
1239291e44
- client: add <active_task_state> to <active_task> elements in state file.
...
These are needed by some 3rd-party software that uses
the state file instead of GUI RPCs
svn path=/trunk/boinc/; revision=13921
2007-10-21 20:54:24 +00:00
Rytis Slatkevičius
c6824891d7
Get rid of PHP notice (undefined index)
...
svn path=/trunk/boinc/; revision=13920
2007-10-21 13:10:13 +00:00
Eric J. Korpela
706b283b19
Added ability for forum moderators to vote for banishment of a poster
...
New db tables banishment_vote and banishment_votes
Daemon script vote_monitor for timing the votes
New configuration option <moderators_vote_to_ban/>
svn path=/trunk/boinc/; revision=13917
2007-10-19 20:01:36 +00:00
David Anderson
094eb0095e
- Bossa:
...
JSON-encode stuff
use text instead of varchar(255) a couple of places
create Bossa class for utility functions
svn path=/trunk/boinc/; revision=13908
2007-10-18 21:43:25 +00:00
Rytis Slatkevičius
c70f01b64d
Fix unclosed HTML tag
...
svn path=/trunk/boinc/; revision=13877
2007-10-17 16:35:22 +00:00
David Anderson
b079d40cb9
- API, Unix: call getrusage() from the timer thread,
...
not the worker signal handler.
There's no reason to call it from the signal handler -
it returns the CPU for the entire process, not the calling thread.
And it may be asynch-signal-handler-unsafe.
- API: comment out checks for bad CPU times.
I don't think this is needed now, and in some cases it's wrong
(multi-threaded apps can accumulate CPU faster than real time)
- API, Unix: in boinc_calling_thread_cpu_time(), don't retry getrusage().
- Bossa: switch to better class structure (suggested by Nicolas Alvarez).
Haven't switched to mysqli yet, but will later.
Also various other Bossa fixes
svn path=/trunk/boinc/; revision=13855
2007-10-16 23:02:13 +00:00
David Anderson
ad2fe67886
- Initial checkin of Bossa code.
...
This isn't part of BOINC and eventually
it should go in a different repository,
but for now I'm putting it here.
svn path=/trunk/boinc/; revision=13851
2007-10-16 17:12:48 +00:00
Bruce Allen
00dbc6db34
Ops pages. In the course of a four-hour repair of the E@H database, where a sysadmin accidentally set outcome=6 in the entire result table, I noticed some inconsistencies in the summary result tables, for example that they did not properly incorporate outcome==7 (client detached) or client_state==6 (aborted). I have fixed this.
...
svn path=/trunk/boinc/; revision=13850
2007-10-15 23:04:55 +00:00
Rytis Slatkevičius
717898ae03
Fix a lot of PHP notices that show up when error reporting E_NOTICE is enabled
...
svn path=/trunk/boinc/; revision=13843
2007-10-12 17:58:50 +00:00
David Anderson
383b21dd5a
- update_versions now generates <api_version> for all app versions
...
- user web: don't XML-escape team names in DB
- deleted obsolete files
- calloc() return check, fixes #277
svn path=/trunk/boinc/; revision=13817
2007-10-09 22:58:49 +00:00
Frank Thomas
3bfc78b511
Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
...
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson
9b66217202
- user web: when a table column has numbers intended to be compared,
...
right-justify them
svn path=/trunk/boinc/; revision=13791
2007-10-07 21:32:55 +00:00
David Anderson
015ef7be04
- user web: remove debugging text from host merge page
...
svn path=/trunk/boinc/; revision=13790
2007-10-07 19:37:31 +00:00
David Anderson
d09bf92af3
- user web: add format_credit_large() function to show
...
credit in situations where it's likely to be large (e.g. team totals)
svn path=/trunk/boinc/; revision=13789
2007-10-07 19:27:59 +00:00
David Anderson
066f01dc26
- Terminology in user web and client:
...
"task" instead of "result";
"computer" instead of "host";
"scheduler request" instead of "scheduler RPC"
"access to Internet" instead of "access to reference web site"
svn path=/trunk/boinc/; revision=13774
2007-10-04 17:30:28 +00:00
David Anderson
cefb2ee5aa
- user web: team search tweaks
...
svn path=/trunk/boinc/; revision=13749
2007-10-02 15:32:28 +00:00
David Anderson
2272891035
- user web: add "team search" page, which does a multi-criteria
...
search (keywords, country, type).
Have the new-user scenario route the user through this page.
Also, link to it rather than team.php for existing users.
- user web: use cookies rather than URLs to identify new users,
and show "Welcome to X" when they reach their user page.
- user web: don't show user intermediate page for join/quit team.
Just take them to their user page.
svn path=/trunk/boinc/; revision=13731
2007-10-02 03:19:03 +00:00
Rytis Slatkevičius
4b8aeabf91
User web: fix an annoyance when team founder transfer is requested and the requester leaves the team.
...
NOTE: DB UPDATE REQUIRED.
svn path=/trunk/boinc/; revision=13673
2007-09-26 15:46:54 +00:00
Rytis Slatkevičius
61ce18e6ca
user web: fix invalid validate state reported to user.
...
svn path=/trunk/boinc/; revision=13597
2007-09-17 19:15:01 +00:00
David Anderson
49bf68fbbb
- user web: make it possible to merge hosts with OS other
...
than win/mac/linux/solaris;
when can't merge hosts, explain why better
svn path=/trunk/boinc/; revision=13592
2007-09-17 13:34:46 +00:00
Rytis Slatkevičius
4186ee2073
Reverse changeset 13581 (it broke more than it fixed)
...
svn path=/trunk/boinc/; revision=13588
2007-09-14 10:02:19 +00:00
Rytis Slatkevičius
dd97f02834
- User web: fix XSS vulnerability, web code update recommended
...
svn path=/trunk/boinc/; revision=13586
2007-09-13 09:46:36 +00:00
Rytis Slatkevičius
b8c0ef8815
Work around for servers where PHP magic_quotes_gpc is disabled
...
svn path=/trunk/boinc/; revision=13581
2007-09-12 18:10:49 +00:00
Rytis Slatkevičius
ae628d1fcd
Hide deleted posts when using the search ( fix #191 )
...
svn path=/trunk/boinc/; revision=13580
2007-09-12 15:02:39 +00:00
Rytis Slatkevičius
27cb39ca5a
Remove extra slashes when using PM preview
...
svn path=/trunk/boinc/; revision=13578
2007-09-12 14:08:34 +00:00
David Anderson
b92f1b81ce
- client: CPU scheduler: if a project has 2 jobs with same deadline,
...
give preference to jobs already started
svn path=/trunk/boinc/; revision=13575
2007-09-12 12:13:33 +00:00
Rytis Slatkevičius
2692557dd5
user web: prevent users with RAC < 1 become a user of the day (protection from spam)
...
svn path=/trunk/boinc/; revision=13567
2007-09-11 19:25:35 +00:00
Rytis Slatkevičius
571dc4afe0
User web: fix issues regarding forum preferences reset.
...
svn path=/trunk/boinc/; revision=13557
2007-09-09 19:01:05 +00:00
Rytis Slatkevičius
b4adecdea0
User web: fix invalid markup and change styling to CSS
...
svn path=/trunk/boinc/; revision=13509
2007-09-01 19:43:24 +00:00
Rytis Slatkevičius
a48027767f
User web: new functions to show table rows (and headers) with unlimited number of columns (table_row() and table_header())
...
User web: show credit information in team member list
svn path=/trunk/boinc/; revision=13464
2007-08-26 12:01:41 +00:00
Rytis Slatkevičius
31901159fc
Make private message functions translatable, using newly added string-based translation method.
...
Update English and Lithuanian languages.
svn path=/trunk/boinc/; revision=13460
2007-08-25 15:04:29 +00:00
Rytis Slatkevičius
aac96f2858
User web: tokenless translation, add wildcards
...
svn path=/trunk/boinc/; revision=13459
2007-08-25 14:45:15 +00:00
Rytis Slatkevičius
f2844f426b
User web: tokenless translation, fix display when translation missing.
...
svn path=/trunk/boinc/; revision=13458
2007-08-25 13:38:04 +00:00
Rytis Slatkevičius
595ded5e4c
User web: tokenless translation, do the same for project specific files.
...
svn path=/trunk/boinc/; revision=13457
2007-08-25 13:30:08 +00:00
Rytis Slatkevičius
2ce1ad7732
User web: allow tokenless translations (takes actual string instead of a token). New translation strings should use tra("string") instead of tr(TOKEN).
...
svn path=/trunk/boinc/; revision=13456
2007-08-25 13:28:01 +00:00
Rytis Slatkevičius
6c71f08c6f
Private messages: preview function before sending ( fix #227 )
...
svn path=/trunk/boinc/; revision=13416
2007-08-20 17:59:24 +00:00
Rytis Slatkevičius
bc17c8ab45
Fix previous checkin to conform to RFC (Location header expects complete URL)
...
svn path=/trunk/boinc/; revision=13413
2007-08-18 16:45:54 +00:00
Rytis Slatkevičius
882d20b226
Forums: return user to the same page after selecting "Mark all threads as read".
...
svn path=/trunk/boinc/; revision=13412
2007-08-18 16:14:53 +00:00
Rytis Slatkevičius
da105cb20b
-user web: allow customized CSS styling for separate newspost elements (add CSS classes)
...
svn path=/trunk/boinc/; revision=13390
2007-08-16 19:20:36 +00:00
Rytis Slatkevičius
d49cfa2a85
-user web: when merging hosts, remove CPU capabilities before any other action.
...
svn path=/trunk/boinc/; revision=13322
2007-08-15 14:09:10 +00:00
David Anderson
14bc500cab
- user web: added mechanism for recording team membership changes.
...
These are stored in a new DB table, "team_delta".
The team founder can view the history in HTML or XML
(links on Management Functions page)
svn path=/trunk/boinc/; revision=13231
2007-07-27 18:30:10 +00:00
David Anderson
2d9df04429
- more team stuff
...
svn path=/trunk/boinc/; revision=13223
2007-07-26 21:50:45 +00:00
David Anderson
3990e817e3
- add support for "BOINC teams" (to be explained later)
...
svn path=/trunk/boinc/; revision=13218
2007-07-25 20:58:36 +00:00
David Anderson
12ed1228d2
- user web: code cleanup related to user creation.
...
Make a single function that creates users and cleanses args.
svn path=/trunk/boinc/; revision=13216
2007-07-25 15:11:14 +00:00
David Anderson
2af893b0f2
- user web: code cleanup related to team creation.
...
Make a single function that creates teams
and cleanses arguments.
- API: don't include config.h in parse.h.
This file is included from apps
(indirectly, via graphics_api.h)
so it shouldn't assume that config.h exists
svn path=/trunk/boinc/; revision=13212
2007-07-25 03:17:31 +00:00
David Anderson
ef247eed41
- user web: moved functions to send specific messages out of email.inc
...
- user web: code cleanup involving team founder transfer,
and improved the text of some messages
svn path=/trunk/boinc/; revision=13210
2007-07-23 20:30:30 +00:00
David Anderson
eaed993f4c
- User web and client: added a new pref "suspend_if_no_recent_input"
...
that lets you suspend computation after a specified period of idleness.
This is necessary to allow some machines to go into low-power mode
when they're not being used.
- Change the wording of some existing prefs; for example, changed
"Do work while computer is in use?" to
"Suspend work while computer is in use".
The former is confusing - if you say yes, BOINC may in fact
NOT do work while the computer is in use,
due to other factors (time of day, etc.)
TODO: HOST_INFO::users_idle() should be changed so that it
returns the idle time
(rather than telling you whether we've been idle for X)
svn path=/trunk/boinc/; revision=13193
2007-07-19 23:22:19 +00:00
David Anderson
2fdb646ed3
- removed boincwapstats
...
svn path=/trunk/boinc/; revision=13192
2007-07-19 21:55:42 +00:00
Rytis Slatkevičius
b24c43f06f
- user web: add a feature to mark all threads as read (forums). ( fix #52 )
...
svn path=/trunk/boinc/; revision=13182
2007-07-18 15:48:07 +00:00
Rytis Slatkevičius
8ae1777f6f
Use web: move named anchor used for "jump to post" feature ( fix #323 ).
...
svn path=/trunk/boinc/; revision=13153
2007-07-14 18:33:48 +00:00
David Anderson
6285969149
- client: if CA bundle file isn't in BOINC directory,
...
don't tell Curl to look for it there.
It might be in the default place where Curl looks.
svn path=/trunk/boinc/; revision=13150
2007-07-13 17:25:47 +00:00
Eric J. Korpela
7451c3c62b
Web: result display: Changed text for display of results cancelled by
...
server (exit_status=-221).
svn path=/trunk/boinc/; revision=13143
2007-07-11 17:14:02 +00:00
David Anderson
bda30b3065
- added a stats site
...
- added return value for copy_stream()
svn path=/trunk/boinc/; revision=13133
2007-07-10 23:42:05 +00:00
Rytis Slatkevičius
6e8089b170
Allow users to change signature option when editing posts ( close #226 ).
...
svn path=/trunk/boinc/; revision=13124
2007-07-08 12:31:13 +00:00
David Anderson
d07916ca51
- client: change order so that backoff because of no work
...
happens before server-requested backoff (eliminate double messages)
svn path=/trunk/boinc/; revision=13114
2007-07-06 21:58:32 +00:00
Rytis Slatkevičius
b04aeea7d6
user web: make sure that all links that have URL_BASE have slashes after it. This makes a slash in the end of URL_BASE definition in project/project.inc no longer necessary.
...
svn path=/trunk/boinc/; revision=13106
2007-07-05 19:37:33 +00:00
David Anderson
7c7fbf250d
- client: add <simple_gui_only> config flag
...
- GUI RPC: add disallow_attach and simple_gui_only flags
to CC_STATUS structure
client/
gui_rpc_server_ops.C
log_flags.C,h
html/inc/
stats_sites.inc
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
svn path=/trunk/boinc/; revision=13084
2007-07-02 20:55:21 +00:00
Rytis Slatkevičius
3259b704a2
Show a link to a specific post in user post listings (requested by John McLeod VII).
...
svn path=/trunk/boinc/; revision=13072
2007-07-02 14:15:28 +00:00
David Anderson
79ad608685
- GUI RPC: debug set_debts handler. Fixes #131
...
client/
gui_rpc_server_ops.C
svn path=/trunk/boinc/; revision=13065
2007-06-30 18:46:07 +00:00
David Anderson
e8f9807a81
- user web: host merge: consider CPUs compatible if both
...
are vendor "AuthenticAMD".
html/inc/
host.inc
svn path=/trunk/boinc/; revision=13045
2007-06-28 03:46:06 +00:00
Matt Lebofsky
2d688ca625
svn path=/trunk/boinc/; revision=13041
2007-06-27 20:44:56 +00:00
David Anderson
6f94f032a4
- user web: host merge: don't require OS names to match exactly;
...
OK if both contain "Windows", "Linux", "SunOS" or "Darwin".
html/inc/
host.inc
svn path=/trunk/boinc/; revision=13038
2007-06-27 18:14:25 +00:00
David Anderson
c9ac734ae9
- user web: host merge: skip disjoint-time check
...
if one of the hosts has zero credit
html/inc/
host.inc
svn path=/trunk/boinc/; revision=13035
2007-06-27 16:12:25 +00:00
David Anderson
7ea662932c
- add new stats site
...
- back end: use boinc_mkdir to get permissions right
html/inc/
stats_sites.inc
lib/
filesys.C
sched/
db_dump.C
db_purge.C
feeder.C
svn path=/trunk/boinc/; revision=13033
2007-06-26 21:14:58 +00:00
David Anderson
0a19dddf18
- client: read only first 63KB of stderr.txt
...
- user web: default work_buf_min_days is 0, not ""
html/inc/
prefs.inc
client/
app_control.C
svn path=/trunk/boinc/; revision=12987
2007-06-22 22:18:28 +00:00
Rytis Slatkevičius
8fe8acf2d9
User web: fix forum display when viewing unfiltered posts from blocked users
...
svn path=/trunk/boinc/; revision=12981
2007-06-22 13:19:56 +00:00
David Anderson
c912a6506b
- user web: fixed bug in private-message code
...
- back end: moved HR_INFO to a separate file;
did some debugging in HR code
html/
inc/
forum_user.inc
util.inc
user/
forum_pm.php
sched/
Makefile.am
census.C
feeder.C
hr.C,h
hr_info.C,h (new)
svn path=/trunk/boinc/; revision=12978
2007-06-22 03:46:42 +00:00
David Anderson
1151f4c40b
- type in countries.inc
...
svn path=/trunk/boinc/; revision=12942
2007-06-16 16:29:16 +00:00
David Anderson
477008a3c1
- user web: added Burma to country list
...
- admin web: removed deprecated create-account scripts
html/
inc/
cache.inc
country.inc
ops/
create_account_form.php (removed)
create_account_action.php (removed)
show_log.php
svn path=/trunk/boinc/; revision=12941
2007-06-15 23:54:25 +00:00
Rytis Slatkevičius
2b3993fb40
Implement private message limits ( fix #216 ).
...
svn path=/trunk/boinc/; revision=12937
2007-06-14 19:43:11 +00:00
Rytis Slatkevičius
bcf948a03d
user web: add a separate preference for private message notification emails.
...
'''NOTE: needs DB update, see html/ops/db_update.php'''
(Fix #167 )
svn path=/trunk/boinc/; revision=12813
2007-06-04 19:35:11 +00:00
David Anderson
f2fd5da3ff
- user web: added new feature to merge hosts by name.
...
This is handy if you have a lot of hosts,
and every now and then they get a new host ID
(e.g. because you delete and reinstall BOINC).
You can now merge all of them with a single click.
html/
inc/
host.inc
user/
host_edit_action.php
merge_by_name.php (new)
hosts_user.php
svn path=/trunk/boinc/; revision=12785
2007-05-30 20:30:28 +00:00
David Anderson
c4069d8097
- user web: host-merging logic was wrong for Intel CPUs
...
with MHz instead of GHz in their names.
- user web: it no hosts eligible for merging, say so
instead of showing blank table
html/
inc/
host.inc
user/
host_edit_form.php
svn path=/trunk/boinc/; revision=12760
2007-05-29 04:38:54 +00:00
Rytis Slatkevičius
2b8478b457
Remove files that apparently have never been used (seems to be part of never completed donation system)
...
svn path=/trunk/boinc/; revision=12756
2007-05-27 17:55:51 +00:00
Rytis Slatkevičius
b3e3ce4c43
Include quick link to block PMs from a specific user ( fix #188 ).
...
svn path=/trunk/boinc/; revision=12748
2007-05-26 17:00:01 +00:00
David Anderson
826e65f8d0
- client simulator: fix cpu_sched_rr_only bug
...
- boinc_cmd: canonicalize URLs
- user web: fix link to Top Teams
- back end: remove code related to alternate download dir
client/
cpu_sched.C
sim.C
html/
inc/
stats_sites.inc
user/
stats.php
lib/
boinc_cmd.C
sched/
file_deleter.C
sched_config.C,h
svn path=/trunk/boinc/; revision=12694
2007-05-18 22:02:51 +00:00
Rytis Slatkevičius
1740f526d9
Encode UTF characters into HTML entities (from ChristianB, fix #57 ).
...
NOTE: teams that have name display issues will have to edit their description once the projects update the code.
svn path=/trunk/boinc/; revision=12691
2007-05-18 15:02:02 +00:00
Rytis Slatkevičius
9b07b4a46e
Remove unused files, fix forum rows being invisible in IE because of height issues
...
svn path=/trunk/boinc/; revision=12689
2007-05-18 14:20:58 +00:00
David Anderson
293176d656
- user web: add
...
$s = '$s';
at top of compiled translation files,
to allow re-ordering of format codes
(from H. Komori)
html/inc/
translation.inc
svn path=/trunk/boinc/; revision=12673
2007-05-15 21:41:59 +00:00
Rytis Slatkevičius
56871331a5
- Fix #189 : add links to send PMs below user name in the forum, in the user overview and in user profile page.
...
- Change "CVS" into "SVN" in the CVS version tracker (automatically generated comment in the pages showing page revision number)
svn path=/trunk/boinc/; revision=12666
2007-05-15 10:06:38 +00:00
Rytis Slatkevičius
5f7ed5b8fc
Remove redundant search boxes from the bottom of the forum pages
...
svn path=/trunk/boinc/; revision=12660
2007-05-13 18:41:34 +00:00
Rytis Slatkevičius
79e77f1de5
Fix non-unique user name handling in private messages
...
svn path=/trunk/boinc/; revision=12657
2007-05-11 20:34:16 +00:00
David Anderson
3612fe184f
- web RPC: show lots more info in team_lookup.php, XML version
...
html/inc/
xml.inc
svn path=/trunk/boinc/; revision=12656
2007-05-11 18:41:36 +00:00
David Anderson
0daa5a8802
- translation.inc: backed out change of 7 May;
...
we need to use " to expand $PROJECT var
- scheduler:
take work_buf_min into account in deciding whether
a result will be reported by its deadline.
- all back end programs:
better error message if can't parse config file
html/inc/
translation.inc
sched/
*.C
svn path=/trunk/boinc/; revision=12652
2007-05-11 16:30:13 +00:00
Rom Walton
2e944052a6
- Add a project config.xml option to allow moderators to ban
...
accounts.
<moderators_allowed_to_ban>1</moderators_allowed_to_ban>
html/inc/
forum.inc
forum_moderators.inc
svn path=/trunk/boinc/; revision=12643
2007-05-11 02:43:57 +00:00
David Anderson
a37403a673
- scheduler: add <workload_sim> config option.
...
If set, the scheduler will use EDF simulation,
together with the in-progress workload reported by the client,
to avoid sending results that
1) will miss their deadline, or
2) will cause an in-progress result to miss its deadline, or
3) will make an in-progress result miss its deadline
by more than is already predicted.
If this option is not set, or if the client request doesn't
include a workload description (i.e. the client is old)
use the existing approach, which assumes there's no workload.
NOTE: this is experimental. Production projects should not use it.
- EDF sim: write debug stuff to stderr instead of stdout
- Account manager:
- if an account is detach_when_done, set dont_request_more_work
- check done_request_more_work even for first-time projects
- update_uotd: generate a file for use by Google gadget
- user_links(): use full URLs (so can use in Google gadget)
client/
acct_mgr.C
work_fetch.C
html/
inc/
uotd.inc
util.inc
user/
uotd_gadget.php (new)
sched/
Makefile.am
edf_sim.C
sched_config.C,h
sched_resend.C
sched_send.C,h
server_types.C,h
svn path=/trunk/boinc/; revision=12639
2007-05-10 21:50:52 +00:00
David Anderson
a3c22a1bf7
- client: add constructor/destructor for APP_VERSION, WORKUNIT, RESULT
...
- client: with anonymous platform, don't link app version twice
client/
client_types.h
client_state.C
cs_apps.C
cs_files.C
cs_prefs.C
cs_scheduler.C
cs_statefile.C
sim_util.C
html/
uotd.inc
sched/
edf_sim.h
server_types.h
svn path=/trunk/boinc/; revision=12638
2007-05-10 16:23:10 +00:00
Rytis Slatkevičius
0379a5a655
Fix #114 : update BBCode to allow easy linking to Trac tickets, wiki and changesets.
...
svn path=/trunk/boinc/; revision=12632
2007-05-09 19:30:46 +00:00
David Anderson
f6a06c60ac
- client simulator:
...
- Add --server_uses_workload option
(simulate server that does EDF simulation)
- Add simulation of exponential backoff when don't get work.
Otherwise it will keep asking forever.
- move non-interesting stuff to sim_util.C
- change simulator code to use ' instead of " in compiled translations
client/
makefile_sim
sim_util.C
sim.C,h
work_fetch.C
html/inc/
translation.inc
sched/
edf_sim.C
edf_sim.h (new)
svn path=/trunk/boinc/; revision=12604
2007-05-08 01:55:28 +00:00
Janus B. Kristensen
5a28d40e57
Removed BOINC.dk from stats sites as it is in the process of shutting down several of those services.
...
svn path=/trunk/boinc/; revision=12593
2007-05-07 11:05:46 +00:00
Janus B. Kristensen
80d875b076
Removed some old debug and changed a bogus error message with a more sane one
...
svn path=/trunk/boinc/; revision=12580
2007-05-06 22:38:43 +00:00
David Anderson
c72634456d
- make_project and upgrade now write a file 'local.revision'
...
in the project home directory.
It contains the output of /usr/bin/svnversion,
i.e. the code revision from which the server software was built.
- Web files that create directories now give them g+rwx permissions
html/inc/
cache.inc
translation.inc
sched/
edf_sim.C
tools/
make_project
upgrade
svn path=/trunk/boinc/; revision=12521
2007-05-01 21:21:13 +00:00
Rytis Slatkevičius
dd9f10a2db
Add rel="nofollow" to URLs in the forum because of spammers
...
svn path=/trunk/boinc/; revision=12509
2007-04-30 17:23:44 +00:00
David Anderson
e4f26ad2c4
- UOTD code: don't generate a static page; add uotd.php
...
html/
ops/
update_uotd.php
inc/
uotd.inc
user/
uotd.php (new)
svn path=/trunk/boinc/; revision=12505
2007-04-30 15:29:14 +00:00
Rytis Slatkevičius
c0bf6fe21a
Fix for ticket #125 - problems with websites using PHP setting short_open_tag (additional files)
...
svn path=/trunk/boinc/; revision=12500
2007-04-29 14:45:44 +00:00
Rytis Slatkevičius
4332736ae9
Private message functionality for the forums.
...
NOTE: needs database update.
svn path=/trunk/boinc/; revision=12499
2007-04-29 14:22:28 +00:00
Rytis Slatkevičius
4ccd2698ef
<no_forum_rating/> should be parsed as bool, not as string
...
svn path=/trunk/boinc/; revision=12497
2007-04-29 13:02:35 +00:00
David Anderson
3c9f9102e6
David 27 Apr 2007
...
- bug in language_select.php made 'auto' not work,
i.e. its impossible to return to browser settings
after doing a cookie-based language choice
- translation.inc and language_select.php were using $HTTP_SERVER_VARS,
which appears to be deprecated in PHP 5.
Use $_SERVER instead.
- made strings at top of web site translatable
html/
inc/
translation.inc
user/
language_select.php
languages/translations/
en.po
svn path=/trunk/boinc/; revision=12493
2007-04-27 16:27:12 +00:00
Rytis Slatkevičius
606263161d
Fix for ticket #125 - problems with websites using PHP setting short_open_tag
...
svn path=/trunk/boinc/; revision=12475
2007-04-25 19:05:12 +00:00
Rytis Slatkevičius
8f960088ef
Fixing a bug where not having akismet key would block forum posting
...
svn path=/trunk/boinc/; revision=12462
2007-04-24 16:04:04 +00:00
David Anderson
fe32380dcf
David 23 Apr 2007
...
- make_project: remove --no_test_app option, add --test_app option
- make_project: initial config in all cases has
one_result_per_user_per_wu = 0
- sample_assimilator: make it able to handle > 1 output file
- boinc_cmd: make --help output more readable
- User web: fix some undefined vars in translation.inc
Rytis: let's try to fix PHP runtime warnings
- DB: add default values for app table (avoid MySQL warnings)
db/
schema.sql
html/
inc/
translation.inc
uotd.inc
ops/
update_forum_activities.php
lib/
str_util.C
boinc_cmd.C
py/Boinc/
setup_project.py
sched/
sample_work_generator.C
sample_assimilator.C
tools/
make_project
uc_wu, uc_result (new)
svn path=/trunk/boinc/; revision=12450
2007-04-23 16:14:47 +00:00
Rytis Slatkevičius
49841b2ef6
Change behaviour of BBCode [code] tag: get rid of multiple newlines, change <pre> to <div>, alter CSS so that long strings no longer break layout.
...
svn path=/trunk/boinc/; revision=12442
2007-04-21 12:10:15 +00:00
Rytis Slatkevičius
f198d8c78e
Adding anti-spam protection from akismet.com to the forums. Disabled by default; see http://boinc.berkeley.edu/trac/wiki/ProtectionFromSpam for information on how to enable it.
...
svn path=/trunk/boinc/; revision=12420
2007-04-19 18:22:38 +00:00
David Anderson
3f915e647f
svn path=/trunk/boinc/; revision=12407
2007-04-17 22:24:53 +00:00
David Anderson
49afbfe4e3
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12348
2007-04-11 22:46:42 +00:00
David Anderson
33a4319a42
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12336
2007-04-09 17:58:07 +00:00
Rytis Slatkevičius
7cbbd3667a
Implement web RPC for setting forum preferences (something should be done about separate DB calls for every setting)
...
svn path=/trunk/boinc/; revision=12284
2007-03-29 18:58:17 +00:00
David Anderson
ab2871e99c
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12278
2007-03-29 03:29:41 +00:00
Rytis Slatkevičius
b0822ac3bf
Allow projects to modify text under user's avatar (from Eric Myers)
...
svn path=/trunk/boinc/; revision=12270
2007-03-27 14:43:00 +00:00
Rytis Slatkevičius
a3e53a0004
Updated banishing feature
...
svn path=/trunk/boinc/; revision=12268
2007-03-24 14:57:30 +00:00
Matt Lebofsky
9e0b73e9d3
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12223
2007-03-14 18:05:30 +00:00
David Anderson
c695c0f1e6
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12193
2007-03-06 18:22:04 +00:00
David Anderson
2b67a5e84e
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12185
2007-03-04 02:30:48 +00:00
David Anderson
81effa6a7b
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
Rytis Slatkevičius
036bb03d5c
Modified host merge facility to work with the new processor model strings
...
svn path=/trunk/boinc/; revision=12114
2007-02-19 18:37:00 +00:00
David Anderson
e980ba94af
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12096
2007-02-15 21:11:05 +00:00
Rytis Slatkevičius
3d9e92055f
Fix for the security fix (allow reading forums when logged out)
...
svn path=/trunk/boinc/; revision=12067
2007-02-09 21:07:51 +00:00
Rytis Slatkevičius
aa396080c0
Fix XSS vulnerability in the forum
...
svn path=/trunk/boinc/; revision=12055
2007-02-08 19:54:05 +00:00
David Anderson
ea10b88346
*** empty log message ***
...
svn path=/trunk/boinc/; revision=12052
2007-02-07 21:24:34 +00:00
David Anderson
8cc3b29180
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11997
2007-01-29 22:57:10 +00:00
David Anderson
7b66693f21
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11995
2007-01-29 18:15:16 +00:00
Rytis Slatkevičius
8fa9ae3074
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11940
2007-01-23 20:48:05 +00:00
Matt Lebofsky
0a720c1da0
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11935
2007-01-22 22:39:22 +00:00
Rytis Slatkevičius
ff9d0b94ed
correct RSS feed link type to make IE7 and Safari recognise the feed
...
svn path=/trunk/boinc/; revision=11909
2007-01-19 18:50:29 +00:00
David Anderson
65cdb2055d
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11891
2007-01-17 18:17:03 +00:00
David Anderson
375ba7fdaa
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11838
2007-01-11 17:39:23 +00:00
Rytis Slatkevičius
5f5bd66eae
Make BBCode [url] accept HTTPS links
...
svn path=/trunk/boinc/; revision=11823
2007-01-10 18:42:01 +00:00
David Anderson
6b300c8048
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11817
2007-01-09 20:48:41 +00:00
David Anderson
8a212faa05
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11805
2007-01-08 19:58:37 +00:00
David Anderson
80d6938194
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11799
2007-01-07 20:00:15 +00:00
David Anderson
5479cf9a86
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11767
2007-01-04 15:54:10 +00:00
Matt Lebofsky
ae5748636c
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11762
2007-01-03 19:12:53 +00:00
Rytis Slatkevičius
90ad37471b
Team types display (from Eric Myers)
...
svn path=/trunk/boinc/; revision=11761
2007-01-03 18:07:44 +00:00
Rytis Slatkevičius
4a74e82f16
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11760
2007-01-03 16:18:43 +00:00
Eric J. Korpela
82028f530a
Added action and usernames to forum moderation messages.
...
svn path=/trunk/boinc/; revision=11750
2007-01-01 21:18:49 +00:00
David Anderson
caa9ac6276
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11744
2006-12-29 23:36:24 +00:00
Rytis Slatkevičius
e1bf139562
Multiple forum related fixes
...
svn path=/trunk/boinc/; revision=11739
2006-12-29 20:57:29 +00:00
David Anderson
c6ee2edf87
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11738
2006-12-29 19:01:03 +00:00
David Anderson
e4e447ad26
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11735
2006-12-29 03:29:13 +00:00
Matt Lebofsky
6986a1d785
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11731
2006-12-28 18:39:58 +00:00
David Anderson
f4953d1829
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11723
2006-12-27 18:22:17 +00:00
Rytis Slatkevičius
0870cce03d
Signature encoding issues
...
svn path=/trunk/boinc/; revision=11719
2006-12-23 15:35:49 +00:00
Rytis Slatkevičius
eedd0db6c9
HTML stripping issue
...
svn path=/trunk/boinc/; revision=11718
2006-12-23 14:59:47 +00:00
David Anderson
19785132bc
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11712
2006-12-21 16:56:33 +00:00
Rytis Slatkevičius
1259b6dbe8
Getting rid of PHP Warning (from Eric Myers)
...
svn path=/trunk/boinc/; revision=11693
2006-12-17 17:19:29 +00:00
Rytis Slatkevičius
570dde3783
Reorder login page fields
...
svn path=/trunk/boinc/; revision=11692
2006-12-17 16:05:56 +00:00
David Anderson
582942b864
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11637
2006-12-07 23:39:23 +00:00
Rytis Slatkevičius
6275463cda
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11551
2006-11-19 16:23:13 +00:00
Rytis Slatkevičius
d4d93cdc25
Show UOTD counter in the ops page (from Eric Myers)
...
svn path=/trunk/boinc/; revision=11533
2006-11-16 19:03:07 +00:00
Rytis Slatkevičius
e63b227c02
Show result link in the list on mouse hover
...
svn path=/trunk/boinc/; revision=11531
2006-11-15 15:41:02 +00:00
David Anderson
6f6f62c955
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11515
2006-11-10 17:55:22 +00:00
Rytis Slatkevičius
67b3f9a911
Forum thread locking
...
svn path=/trunk/boinc/; revision=11514
2006-11-10 17:09:09 +00:00
Rytis Slatkevičius
6f97facae9
New RPCs to get last user's posts/threads from the forum (requested by Matthew Blumberg)
...
svn path=/trunk/boinc/; revision=11506
2006-11-09 19:06:20 +00:00
David Anderson
abb5fa690c
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11477
2006-11-06 18:32:04 +00:00
Rytis Slatkevičius
f18d253948
Enable multiple moderation emails on post report (new defined value in project.inc!)
...
svn path=/trunk/boinc/; revision=11469
2006-11-04 19:21:05 +00:00
David Anderson
fce5066620
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11468
2006-11-04 00:11:46 +00:00
Rytis Slatkevičius
c73cdd3d74
Fix team cache bug
...
svn path=/trunk/boinc/; revision=11463
2006-11-03 18:41:34 +00:00
David Anderson
db10852294
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11457
2006-11-03 04:36:21 +00:00
Rytis Slatkevičius
3263a5d303
Update team_display.php to use object cache instead of full page cache to fix cache bug with team founder transfer
...
svn path=/trunk/boinc/; revision=11449
2006-11-02 19:34:02 +00:00
Rytis Slatkevičius
f007ab0d75
Count team members on the fly, remove team_update_nusers()
...
svn path=/trunk/boinc/; revision=11424
2006-10-31 20:07:09 +00:00
David Anderson
aca360eb82
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11423
2006-10-31 19:31:22 +00:00
David Anderson
71fbfb9fa8
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11416
2006-10-31 17:14:03 +00:00
David Anderson
da173a0dc1
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11404
2006-10-31 00:29:30 +00:00
Rytis Slatkevičius
8f7c1467b8
Function to lookup all teams where the user is founder
...
svn path=/trunk/boinc/; revision=11398
2006-10-30 09:03:52 +00:00
Rytis Slatkevičius
ccff6971ca
Big team change to allow founder transfer when he's no longer available
...
svn path=/trunk/boinc/; revision=11367
2006-10-27 16:06:42 +00:00
David Anderson
7918111de2
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11356
2006-10-25 21:15:08 +00:00
David Anderson
68b8204b53
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11351
2006-10-24 23:53:59 +00:00
David Anderson
e3d66f6411
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11330
2006-10-20 20:33:15 +00:00
Rytis Slatkevičius
a292281946
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11327
2006-10-20 17:15:31 +00:00
Rytis Slatkevičius
22798e94af
account creation via RPC with invitation code
...
svn path=/trunk/boinc/; revision=11314
2006-10-19 18:09:02 +00:00
David Anderson
2ab25bdfd2
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11313
2006-10-19 15:08:26 +00:00
Matt Lebofsky
44435b0191
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11289
2006-10-17 05:40:33 +00:00
David Anderson
631883dfe2
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11238
2006-10-03 17:24:25 +00:00
David Anderson
5e406b783c
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11236
2006-10-03 15:43:38 +00:00
David Anderson
60a4426031
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11211
2006-09-28 17:15:07 +00:00
David Anderson
7f4a2c5e19
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11196
2006-09-26 17:02:46 +00:00
David Anderson
6ecbc8ef12
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11188
2006-09-25 18:51:50 +00:00
David Anderson
2ffc4b02e0
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11176
2006-09-19 16:55:28 +00:00
David Anderson
efa7b7a3ad
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11175
2006-09-19 12:57:57 +00:00
Matt Lebofsky
d5edfcfe23
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11153
2006-09-13 16:47:48 +00:00
David Anderson
7fa8c7c8dd
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11125
2006-09-08 19:51:33 +00:00
David Anderson
02bb061b6d
*** empty log message ***
...
svn path=/trunk/boinc/; revision=11117
2006-09-06 20:56:55 +00:00
Bruce Allen
40017db1aa
Ops pages: modify to include new client state outcome (aborted)
...
svn path=/trunk/boinc/; revision=11093
2006-09-04 08:02:11 +00:00
Bruce Allen
6857d64879
ops pages, missing client state value
...
svn path=/trunk/boinc/; revision=11045
2006-08-30 22:43:22 +00:00
David Anderson
75b24e215d
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10996
2006-08-24 03:04:12 +00:00
David Anderson
5fea7f0226
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10976
2006-08-23 03:34:30 +00:00
Janus B. Kristensen
4a7088ca0a
Fixed two off-by-one errors in the monster if-sentence that controls which posts are to be displayed.
...
svn path=/trunk/boinc/; revision=10965
2006-08-22 10:49:46 +00:00
Janus B. Kristensen
1a886b519e
Make page_head and page_tail overrideable so that projects that want to integrate BOINC with existing systems can more easily do so.
...
svn path=/trunk/boinc/; revision=10960
2006-08-22 08:33:15 +00:00
David Anderson
ba63f6c949
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10955
2006-08-21 19:41:25 +00:00
David Anderson
15b02359cd
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10950
2006-08-21 01:44:03 +00:00
Matt Lebofsky
ab75c88183
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10929
2006-08-15 23:02:52 +00:00
David Anderson
b8c02cd8af
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10913
2006-08-14 22:50:51 +00:00
David Anderson
44658e81e5
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10912
2006-08-14 22:11:53 +00:00