Commit Graph

50 Commits

Author SHA1 Message Date
David Anderson 815b8fc043 Various preparation for handling multithreaded apps
and apps that use coprocessors.
There now can be several app_versions for the same
(app, platform, version_num) combination.
This changes a number of things.

- Added app_version.plan_class field to DB
- update_versions now looks for a :plan-class in the
    file or directory name, and puts it in the app_version's DB record
- Change uniqueness constraint to include plan_class
- Feeder: the feeder was putting non-deprecated app_versions
    in shared mem, and leaving it to the scheduler to
    find the latest version for a given platform.
    This is dumb.
    Instead, for each app/platform pair the feeder now
    finds the highest version number of a non-deprecated app version,
    and enumerates all non-deprecated app_versions with that
    app/platform/version
- Scheduler: add a BEST_APP_VERSION data structure that keeps track,
    for each app, what the best app_version is for this host.
    This saves the work of recomputing it for each job.

svn path=/trunk/boinc/; revision=14906
2008-03-13 22:57:24 +00:00
David Anderson f183b6f47f - web: add general-purpose notification mechanism.
Users can choose whether to get 1 email per notification,
    a daily "digest" email, or no email.
    (All notifications are shown on the Account page).
    Currently used for:
    - Friend requests and confirmations
    - Posts to subscribed threads
    - Private messages

    NOTE: To implement the "daily digest" feature, projects must add
    a periodic task for html/ops/notify.php to config.xml
- web: have project_footer() generate links for
    Account Page and Message Boards as well as Home
    NOTE: projects that want this change
    will have to modify their own project.inc.

svn path=/trunk/boinc/; revision=14447
2007-12-30 22:02:16 +00:00
David Anderson 13baee4302 - user web: add "friend" and "notification" features
- user web: code cleanup in Profile area
- GUI RPC: add missing "/" in auth2 RPC

svn path=/trunk/boinc/; revision=14394
2007-12-18 20:28:08 +00:00
David Anderson 4a81532043 - DB: add fulltext index on team.name
- user web: improve "team search" function,
    and get rid of the superceded "search by name" function
- user web: don't show team founder link to initiate transfer
- user web: show team types
- user web: fix "top teams by type" function
- client: tread NOT_FOUND error on file upload as transient;
    it means the project is missing its file_upload_handler

svn path=/trunk/boinc/; revision=14272
2007-11-20 22:58:14 +00:00
David Anderson 9970e2c71b - user web: bug fixes
svn path=/trunk/boinc/; revision=14204
2007-11-14 21:55:05 +00:00
David Anderson 87c0f98b10 - user web: a private message is considered "read" the
first time it's shown.
        No explicit "mark as read" action needed.
        Also, no confirmation for message delete.

svn path=/trunk/boinc/; revision=14077
2007-11-03 04:26:47 +00:00
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 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 3e340136da - feeder: simplified DB query
- make_project: remove space after URL in schedulers.txt

svn path=/trunk/boinc/; revision=13127
2007-07-09 20:09:49 +00:00
Matt Lebofsky 136ce49b84 svn path=/trunk/boinc/; revision=12536 2007-05-02 23:17:52 +00:00
Matt Lebofsky 846ec9fbb0 svn path=/trunk/boinc/; revision=12532 2007-05-02 18:51:51 +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
Bruce Allen 400896a94f comma -> semicolon typo
svn path=/trunk/boinc/; revision=5087
2005-01-12 21:16:45 +00:00
David Anderson 86c3728abe *** empty log message ***
svn path=/trunk/boinc/; revision=5020
2005-01-07 19:45:46 +00:00
David Anderson c417859785 *** empty log message ***
svn path=/trunk/boinc/; revision=4944
2004-12-27 21:14:18 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
David Anderson 0a516adac0 *** empty log message ***
svn path=/trunk/boinc/; revision=4029
2004-08-07 20:23:22 +00:00
David Anderson bcded77fcb *** empty log message ***
svn path=/trunk/boinc/; revision=3815
2004-07-08 19:20:19 +00:00
David Anderson a3f0e3ba73 checkin_notes
svn path=/trunk/boinc/; revision=3699
2004-06-24 21:00:46 +00:00
David Anderson fb06f2f372 *** empty log message ***
svn path=/trunk/boinc/; revision=3606
2004-06-16 19:10:24 +00:00
David Anderson 7a4ea37042 *** empty log message ***
svn path=/trunk/boinc/; revision=3486
2004-06-01 17:02:14 +00:00
David Anderson 7134a969cb *** empty log message ***
svn path=/trunk/boinc/; revision=3482
2004-05-31 17:37:22 +00:00
David Anderson f80a5f1a12 *** empty log message ***
svn path=/trunk/boinc/; revision=3083
2004-03-17 01:26:44 +00:00
David Anderson 13215f88cd *** empty log message ***
svn path=/trunk/boinc/; revision=2995
2004-02-17 02:16:53 +00:00
David Anderson 6d44e9ccc1 *** empty log message ***
svn path=/trunk/boinc/; revision=2844
2004-01-04 06:48:40 +00:00
David Anderson f4d30aa220 *** empty log message ***
svn path=/trunk/boinc/; revision=2840
2003-12-31 23:09:21 +00:00
David Anderson 645f77de1b *** empty log message ***
svn path=/trunk/boinc/; revision=2819
2003-12-21 05:55:48 +00:00
David Anderson 135cd63228 *** empty log message ***
svn path=/trunk/boinc/; revision=2760
2003-12-09 06:46:50 +00:00
David Anderson e6f9710032 *** empty log message ***
svn path=/trunk/boinc/; revision=2735
2003-12-02 22:04:26 +00:00
David Anderson 731cb45570 *** empty log message ***
svn path=/trunk/boinc/; revision=2703
2003-11-28 06:23:58 +00:00
David Anderson 032644aaaf *** empty log message ***
svn path=/trunk/boinc/; revision=2659
2003-11-11 20:49:07 +00:00
Karl Chen c090d1ef9c *** empty log message ***
svn path=/trunk/boinc/; revision=2560
2003-10-25 07:29:43 +00:00
David Anderson 04c00075d8 *** empty log message ***
svn path=/trunk/boinc/; revision=2557
2003-10-24 20:13:50 +00:00
David Anderson b089311fc3 *** empty log message ***
svn path=/trunk/boinc/; revision=2490
2003-10-16 18:10:56 +00:00
Karl Chen a0fb89cf3d *** empty log message ***
svn path=/trunk/boinc/; revision=2395
2003-10-03 02:49:26 +00:00
David Anderson 7edf91f52a backend logic
svn path=/trunk/boinc/; revision=2115
2003-08-15 20:35:44 +00:00
David Anderson 7d0cc4a6ab *** empty log message ***
svn path=/trunk/boinc/; revision=2112
2003-08-15 17:36:44 +00:00
Karl Chen e840468a1b test cases and make_project
svn path=/trunk/boinc/; revision=1734
2003-07-18 21:43:12 +00:00
David Anderson 8a3e89f698 random send order
svn path=/trunk/boinc/; revision=1121
2003-04-01 03:28:37 +00:00
Eric Heien 4b1f7c810c bug fix
svn path=/trunk/boinc/; revision=891
2003-02-11 19:28:02 +00:00
David Anderson 967f20777e db_dump
svn path=/trunk/boinc/; revision=851
2003-01-31 07:19:20 +00:00
Eric Heien c6000bbc99 indices for stats
svn path=/trunk/boinc/; revision=850
2003-01-31 00:04:51 +00:00
David Anderson 563db0cbe5 make_work
svn path=/trunk/boinc/; revision=795
2003-01-03 22:17:40 +00:00
David Anderson ca2a26987a added indices
svn path=/trunk/boinc/; revision=794
2003-01-03 21:55:05 +00:00
Hamid Aghdaee 05aa32415b *** empty log message ***
svn path=/trunk/boinc/; revision=704
2002-12-07 00:56:51 +00:00
David Anderson 1b92e7781a web site: accounts, login
svn path=/trunk/boinc/; revision=597
2002-11-11 10:26:40 +00:00
David Anderson 783239db37 result retry
svn path=/trunk/boinc/; revision=584
2002-11-07 19:31:34 +00:00
Barry Luong 192249fcda Changes made so database name is based off an environment variable to allow for multiple databases
svn path=/trunk/boinc/; revision=178
2002-07-11 20:35:05 +00:00
David Anderson ad452cdf57 preference propagation
svn path=/trunk/boinc/; revision=80
2002-06-01 20:26:21 +00:00
David Anderson d5d4634807 Initial revision
svn path=/trunk/boinc/; revision=10
2002-04-30 22:22:54 +00:00