Commit Graph

47 Commits

Author SHA1 Message Date
Rytis Slatkevičius b11b56ecbb user web: implement Memcache as an option for caching (defaults to in-file cache). Can be enabled by installing php5-memcached package and defining MEMCACHE_SERVERS in project.inc
svn path=/trunk/boinc/; revision=23228
2011-03-12 15:36:58 +00:00
David Anderson d27af6214d - user web: finish dealing with get args spam
svn path=/trunk/boinc/; revision=23010
2011-02-09 22:11:34 +00:00
David Anderson 21a18b7045 - web: more translations, from Christian. fixes #982
svn path=/trunk/boinc/; revision=20582
2010-02-16 01:06:03 +00:00
David Anderson 6a75b78de4 - client: don't ignore jobs with fraction_done=1 (but still running)
in RR simulation; we may need to mark them as deadline miss.
- web: replace & with & various places


svn path=/trunk/boinc/; revision=17278
2009-02-17 17:39:57 +00:00
David Anderson fd3dbc1058 - client: ignore CUDA devices with major versions > 100
(apparently some report 9999)
- web: security changes: sanitize some params; escape some strings

svn path=/trunk/boinc/; revision=16005
2008-09-16 23:06:37 +00:00
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +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 fb8b4ffabb - user web: added the notion of "Team Admin": team members,
appointed by the founder, who have most of the same
    rights as the founder (edit team info, view/remove users).
    They can't, however, change the founder, or select/remove Admins.
- user web: added the ability for founder to delete an empty team
- user web: count/show all team members, not just those with credit
- user web: Team Search returns top team if form fields left blank
- Added db_update.php entry for Eric's banishment_vote stuff

svn path=/trunk/boinc/; revision=14108
2007-11-07 17:23:29 +00:00
Rytis Slatkevičius c1fb4934ec - user web: convert translations from tokens to strings; update Lithuanian translation.
- ops pages: add user removal feature (for spammers).

svn path=/trunk/boinc/; revision=14020
2007-11-02 14:43:02 +00:00
David Anderson e1ca1c5aee - User web: more DB framework changes;
extended DB framework to allow use of a read-only replica

svn path=/trunk/boinc/; revision=13985
2007-10-29 16:38:25 +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 89c9b4f112 - user web: added optional <users_per_page>, <teams_per_page> and
<hosts_per_page> elements to config.xml;
    determine the number of entries to show per page
    in top user/team/host lists

svn path=/trunk/boinc/; revision=13964
2007-10-26 03:57:07 +00:00
Matt Lebofsky 9e0b73e9d3 *** empty log message ***
svn path=/trunk/boinc/; revision=12223
2007-03-14 18:05:30 +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
David Anderson 79e14047f2 *** empty log message ***
svn path=/trunk/boinc/; revision=11150
2006-09-13 03:39:30 +00:00
Janus B. Kristensen b19ba89d79 Avoid cases where the page would show "Next 20" but no more users/teams are registered.
svn path=/trunk/boinc/; revision=7830
2005-09-07 16:00:27 +00:00
Janus B. Kristensen 2fd8d74b6e Top users should include inactive users in RAC listing. Fixed some serious typos in cache timing.
Top teams can now be translated.

svn path=/trunk/boinc/; revision=7353
2005-08-16 09:20:25 +00:00
Bruce Allen 35847ea4bf Eliminate undefined index
svn path=/trunk/boinc/; revision=6114
2005-05-11 10:03:27 +00:00
Bruce Allen ae34abe4f4 Eliminate annoying undefined variables
svn path=/trunk/boinc/; revision=6108
2005-05-11 09:14:22 +00:00
David Anderson 5db48631f9 *** empty log message ***
svn path=/trunk/boinc/; revision=5480
2005-02-19 08:06:53 +00:00
David Anderson 4acb793e6e *** empty log message ***
svn path=/trunk/boinc/; revision=4797
2004-12-08 22:05:56 +00:00
David Anderson 7342b36f2e *** empty log message ***
svn path=/trunk/boinc/; revision=4599
2004-11-18 20:01:12 +00:00
David Anderson 5a107b7093 *** empty log message ***
svn path=/trunk/boinc/; revision=4507
2004-11-09 16:07:46 +00:00
Karl Chen f4a1f74d5b *** empty log message ***
svn path=/trunk/boinc/; revision=4504
2004-11-08 06:20:36 +00:00
David Anderson e8cb263ff7 *** empty log message ***
svn path=/trunk/boinc/; revision=4470
2004-11-01 23:10:02 +00:00
David Anderson 3510973585 *** empty log message ***
svn path=/trunk/boinc/; revision=4039
2004-08-11 11:24:49 +00:00
Eric J. Korpela 1ca61ba699 *** empty log message ***
svn path=/trunk/boinc/; revision=3946
2004-07-23 04:04:21 +00:00
Eric J. Korpela a7a656299d *** empty log message ***
svn path=/trunk/boinc/; revision=3943
2004-07-22 23:42:50 +00:00
David Anderson ecf08e05cd *** empty log message ***
svn path=/trunk/boinc/; revision=3880
2004-07-15 18:54:17 +00:00
David Anderson cd3884593b *** empty log message ***
svn path=/trunk/boinc/; revision=3727
2004-06-30 18:53:35 +00:00
David Anderson 8d1c9b4979 *** empty log message ***
svn path=/trunk/boinc/; revision=3696
2004-06-24 16:51:22 +00:00
David Anderson c46546288e *** empty log message ***
svn path=/trunk/boinc/; revision=3508
2004-06-07 03:34:07 +00:00
David Anderson c5b4118a34 *** empty log message ***
svn path=/trunk/boinc/; revision=3477
2004-05-31 00:50:06 +00:00
David Anderson 00c54bac9d *** empty log message ***
svn path=/trunk/boinc/; revision=3261
2004-04-14 20:55:37 +00:00
Karl Chen 545a56d5c8 directory structure change
svn path=/trunk/boinc/; revision=2938
2004-02-02 23:34:39 +00:00
Karl Chen e4d3f63780 *** empty log message ***
svn path=/trunk/boinc/; revision=2476
2003-10-15 08:47:13 +00:00
Karl Chen 664287ec97 *** empty log message ***
svn path=/trunk/boinc/; revision=2310
2003-09-08 00:04:55 +00:00
David Anderson 39bc2da38d admin account creation
svn path=/trunk/boinc/; revision=2171
2003-08-22 05:36:25 +00:00
David Anderson b30f73a15c user web
svn path=/trunk/boinc/; revision=1066
2003-03-17 22:37:49 +00:00
Eric Heien 048ba6b6c9 update_stats program
svn path=/trunk/boinc/; revision=1030
2003-03-08 00:09:40 +00:00
David Anderson 90f040383b check for team and user login
svn path=/trunk/boinc/; revision=747
2002-12-16 21:41:41 +00:00
David Anderson 3b69788310 web site fixes
svn path=/trunk/boinc/; revision=738
2002-12-13 00:12:44 +00:00
David Anderson 24d08f51a9 web site fixes
svn path=/trunk/boinc/; revision=700
2002-12-06 21:37:30 +00:00
David Anderson 4e21bcc807 docs
svn path=/trunk/boinc/; revision=601
2002-11-12 17:01:16 +00:00
David Anderson 089ced4746 team PHP cleanup, not finished
svn path=/trunk/boinc/; revision=598
2002-11-11 19:40:22 +00:00
David Anderson 671bd72cfe top teams
svn path=/trunk/boinc/; revision=588
2002-11-08 22:30:13 +00:00