Commit Graph

116 Commits

Author SHA1 Message Date
David Anderson 8cd8c8e7ee server software: handle 64-bit database IDs
The SETI@home result table is about to run out of 32-bit IDs,
so we need to move to 64-bit result IDs.
This will happen to the workunit table at some point too.

I changed the server C++ code to use the "long" type for all DB IDs
(and to use appropriate conversion codes like %lu).
"long" is 64 bit on 64-bit machines.
For uniformity I did this for all tables,
even ones (like app) that will never get big.

I chose NOT to change the DB schema for now.
The new code will work with 32-bit ID fields in the DB.
As projects approach the 32-bit limit on a table they can change
its ID field, and fields that reference this table, to BIGINT.
This is likely to happen only on the result and workunit tables.
I put functions in html/ops/db_update.php
to change the IDs of these tables.
2015-07-23 10:11:08 -07:00
David Anderson 4a5bf5f5e4 prune project list 2015-07-10 16:10:23 -07:00
David Anderson 2227e19b30 project list: make short descriptions translatable 2015-07-09 18:50:15 -07:00
David Anderson a275f9f047 project list: URL fix 2015-07-08 13:49:20 -07:00
David Anderson 63be0272e0 project list update 2015-06-03 00:29:41 -07:00
David Anderson d907c45b96 project list changes 2015-04-11 10:51:37 -07:00
David Anderson c8b0f80c7f unlist ABC@home 2015-03-25 16:45:13 -07:00
David Anderson d9558b87fb BOINC web: update project list 2015-01-22 09:38:36 -08:00
David Anderson 6c7ac2fd01 Remove DistRTgen from project list 2015-01-14 09:14:40 -08:00
David Anderson 0e60404de9 BOINC web: remove SIMAP from project list 2015-01-05 12:57:48 -08:00
David Anderson b9ae0775d3 Add FiND@Home to project list 2014-12-18 11:31:06 -08:00
David Anderson 9411118774 client: fix bug where GPU jobs non suspended
There was a bug where, when you suspend GPU activity,
GPU jobs show as suspended but are not actually suspended.
This was because of recent changes to distinguish GPU and non-GPU coprocs.
Change things so that coprocs are by default GPUs.
If you want to declare a non-GPU coproc in your cc_config.xml,
you much put <non_gpu/> in its <coproc> element.
2014-12-08 20:38:56 -08:00
David Anderson 2e127dd963 concierge: see if project is on list 2014-10-04 00:45:24 -07:00
David Anderson b673688ab9 cull old projects 2014-09-23 10:58:12 -07:00
David Anderson 2b599e8249 BOINC web site: my Javascript fix to project list broke XML 2014-09-14 13:43:59 -07:00
David Anderson a93090bce4 web: tweak processing of [code] in BBcode 2014-09-14 01:29:08 -07:00
David Anderson dbd2d03a0d server/web: add support for per-application credit
See http://boinc.berkeley.edu/trac/wiki/PerAppCredit
If enabled (by the <credit_by_app> config flag)
validators will maintain on a per-(app, user, credit type) basis,
and same for teams,
in new DB tables credit_user and credit_team.
This info is displayed in the web site, on user and team pages,
using project-supplied functions to generate the HTML.

Note: update_stats doesn't decay the recent-average values
for per-app credit; I'll add this if needed.
2014-08-15 14:01:32 -07:00
David Anderson ef83e5c2fc change CERN project URL 2014-07-28 08:59:56 -07:00
David Anderson b4dba535c0 web: fix typo 2014-06-21 13:40:02 -07:00
David Anderson 8992189045 tweaks (fix comments, compile warnings) 2014-06-20 17:15:04 -07:00
David Anderson cb376a0014 web: don't need db_init() in show_user.php 2014-06-01 10:14:45 -07:00
David Anderson 644ace77e8 delete dead projects from project list 2014-05-11 00:35:58 -07:00
David Anderson 0d1431947b Add 1-sentence summary to project XML description.
Maybe we can use this in the Android GUI
2014-03-16 14:48:03 -07:00
David Anderson 7e00868161 get_project_config: don't show platforms for deprecated apps 2014-02-02 22:08:09 -08:00
David Anderson 8934f46d88 translations, message tweak 2014-02-02 00:18:20 -08:00
David Anderson dfe1e5eb5d Manager: string tweaks
- Let's use "web site" instead of "website"
2013-11-17 12:29:11 -08:00
David Anderson 92b25f841d admin web: in result display, improve the way app version is shown 2013-11-17 11:45:11 -08:00
David Anderson 438cd78b13 Remote job submission: add C++ APIs for query_batches() and query_batch()
- Add program (tools/remote_submit_test.cpp) for testing C++ API for remote job submission.
- Rename Condor-specific API to query_batch_set().
2013-10-22 15:27:34 -07:00
David Anderson 99198c889d BOINC web: update Primegrid description 2013-08-09 13:32:14 -07:00
David Anderson 93d6f5ef16 transitioner: don't set result.mod_time to null; this fails if the DB field has accidentally been marked as not null. 2013-07-18 17:10:54 -07:00
Rom Walton ab0c4cbe45 DOC: Remove beta projects specific to Android 2013-07-17 01:13:42 -04:00
David Anderson 4d0109e3fb Client: add test harness for file copy (make sure we can handle > 2GB) 2013-07-16 21:40:13 -07:00
David Anderson 4fd76ee325 boinccmd: show result states as strings instead of numbers 2013-06-18 11:33:22 -07:00
David Anderson 6e3cdfc7e8 - remove dead projects 2013-04-02 12:29:14 -07:00
David Anderson 17b0362d27 - remove uFluids and Virtual Prairie from the projects file 2013-03-29 22:35:57 -07:00
David Anderson cff84a8ae2 - server: remove debugging printf from XML parser 2013-03-15 13:38:45 +01:00
David Anderson e41f7dfee5 - client: parse <fetch_on_update> config flag, and show it on startup 2013-03-07 11:30:08 +01:00
David Anderson 951f16d960 - client: add --suppress_net_info cmdline option 2013-03-07 11:28:42 +01:00
David Anderson c2ee387a13 - BOINC web site stuff 2013-03-07 11:22:18 +01:00
David Anderson 994f4d6b4c - Manager: fix case where the client has only an Intel GPU,
and the manager was acting as if it had no GPUs.
2013-03-05 13:39:42 +01:00
David Anderson 35608c434b - fix Android compile warnings
- intermediate checkin for Condor stuff
2013-03-05 13:33:27 +01:00
David Anderson 369abbd9f8 - client: if gui_rpc_auth.cfg is empty, print a warning but don't error out;
an empty GUI RPC password is allowed.
2013-03-04 17:39:23 +01:00
David Anderson 18d0f1f4d9 more GAHP code 2013-03-04 17:24:20 +01:00
David Anderson d0de3776bd - client: processor identification for ARM
(from Evandro Menezes and Joachim Fritzsch)
2013-03-04 17:24:19 +01:00
David Anderson 20d9bc9230 - add Constellation and MindModeling to project list 2013-03-04 17:24:19 +01:00
David Anderson 77233c7bcc - improve project list page 2013-03-04 17:24:19 +01:00
David Anderson a1b3935b21 - web: update .pot file for project web site translations 2013-03-04 14:09:44 +01:00
David Anderson 690c494612 - web: add "Validation inconclusive" state for task lists 2013-02-26 16:53:20 +01:00
David Anderson 282af6effc - user web: show the right page/message after the following actions:
- rate a post
    - moderate a post
    - edit a post
    - report a post


svn path=/trunk/boinc/; revision=26152
2012-10-15 18:47:55 +00:00
David Anderson be540c8318 - API: if get a resume message from client while in a critical section,
clear the suspend_request flag.
    Otherwise we'll end up doing two suspends,
    and on Win the app will be suspended forever.


svn path=/trunk/boinc/; revision=26143
2012-09-30 20:30:58 +00:00