Commit Graph

1460 Commits

Author SHA1 Message Date
David Anderson e672cdac37 web: don't call db_init() in uotd.inc 2014-01-07 13:04:59 -08:00
David Anderson e8110e6918 Fix last commit 2013-12-28 22:53:47 -08:00
David Anderson ecdc25968a Extend PHP interface for Web RPCs
- add a PHP interface for lookup_account()
- PHP interfaces return error number as well as message
  (messages change; numbers don't)
- using symbolic error codes instead of hardwired numbers in PHP code
2013-12-28 22:50:59 -08:00
David Anderson ef245d456b web: show badges on private user page 2013-12-23 22:13:27 -08:00
David Anderson 92fec3e4ae admin web: enhance badge admin page
- add delete button
- show # of badges assigned
- don't use separate head/tail function are admin pages
- add badge assign task for new projects
- turn on db_dump, update_uotd, update_forum_activities,
  update_profile_pages, notify for new projects
2013-12-23 21:02:55 -08:00
David Anderson 387c04c365 web: tweak badge images 2013-12-22 20:39:52 -08:00
David Anderson b33bf69a98 web: enhance badge features
- the default badges (defined in ops/badge_assign.php) are now
  based on RAC percentile (top 1%, 5%, and 25%) rather than plain RAC.
- RAC percentile badges are now granted for teams as well as users;
  show badges in team page.
- move badge utility functions to inc/util_ops.inc
2013-12-20 15:03:24 -08:00
David Anderson 4d738ab4fb admin web: add script for removing zombie hosts 2013-12-18 13:32:23 -08:00
David Anderson 00897ecc3f web: remove some mysql_* calls 2013-12-16 19:22:34 -08:00
David Anderson 0fdfcbd074 web: remove some mysql_* calls 2013-12-16 00:45:45 -08:00
David Anderson 13cb0e817f web: change Recaptcha URL; the old one doesn't work w/ Chrome, IE 2013-12-06 17:45:40 -08:00
David Anderson 65b5ab5184 server/web: preliminary support for badges
- DB: add tables for badges and badge/user and badge/team associations
- add script that defines 3 RAC-based badges and assigns them
- add images for these badges
- add admin page for creating/editing badges
- show badges on user page
not done:
- figure out how to send badges to client
- display badges somewhere in the GUIs
- export badges in db_dump
- enable badges by default for new projects
2013-12-05 10:14:26 -08:00
David Anderson 6e622fa017 web: code cleanup in translation code 2013-12-04 10:22:11 -08:00
David Anderson 5357952783 web: when using sub_sentence() to truncate user-supplied text, you must first use output_transform() (to convert BBcode to HTML) and then sanitize_tags() (to remove HTML tags). 2013-11-24 10:13:07 -08:00
David Anderson 1872fd0f6b web: eliminate some mysql_*() calls in preparation for mysqli conversion 2013-11-22 22:46:19 -08:00
David Anderson 0bedadd429 web: result display tweak, and code cleanup 2013-11-21 11:34:43 -08:00
David Anderson 5efa5d7388 admin web: fix links for app version in result page 2013-11-17 13:47:05 -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 5689ded88d web: on HTTPS pages, load stylesheets using HTTPS also; otherwise Firefox rejects them 2013-11-14 18:23:44 -08:00
David Anderson b978b2aa53 web: message tweak 2013-11-07 10:54:32 -08:00
David Anderson a673c12300 Web: add code for language selection 2013-10-29 00:09:27 -07:00
David Anderson 519e0629d3 BOINC web site language fixes 2013-10-23 20:09:04 -07:00
David Anderson a5757e8ecf Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-10-23 18:32:57 -07:00
David Anderson 916f46aa8c language changes 2013-10-23 18:32:30 -07:00
David Anderson abd33fbdd6 language name update 2013-10-23 18:31:06 -07:00
David Anderson 4408b80cf5 Add language_names.inc 2013-10-23 15:57:10 -07:00
Rytis Slatkevicius b7a89884b8 Fix incorrect assigment title for users; fix warnings in assign.php 2013-10-10 16:35:43 +03:00
David Anderson 3b395872be Upgrade script: fix message text: default MySQL user is owner of server, not current user 2013-10-09 12:42:55 -07:00
David Anderson 78b7faed99 web: remove "Pending credit" link from account page. This page didn't work, and is subsumed by results.php 2013-09-29 02:44:47 -07:00
David Anderson d40bbcf9e5 Web RPC interface: don't need Curl if you're just doing a GET 2013-09-18 23:51:23 -07:00
David Anderson f06d4af433 Add PHP interface to Web RPCs (create_account, to start) 2013-09-18 23:28:18 -07:00
David Anderson 2a2c9c4ad8 remote job submission: add notion of "expire time" for batches (for Condor)
- Batches now have optional "expire time".
  If this time passes and the batch is not retired, abort and retire it.
- Add script "expire_batches" which enforces the above.
  Run it as a periodic task.
- Add a web RPC for setting the expire time of a batch
  (it can be changed multiple times)
- Add a C++ interface for this RPC
- Add a BOINC_SET_LEASE command to the BOINC GAHP
  ("lease" is Condor term for expire time)
2013-09-17 13:35:55 -07:00
David Anderson a7ceaee1e3 Web: fix PHP warnings 2013-09-08 23:36:03 -07:00
David Anderson e798bf50eb Web: in result list, sort by name if showing names, and allow search by result name. 2013-09-08 15:20:49 -07:00
David Anderson 17c8f90926 BOINC web: fix translation problems
- change build_po.php to included news.inc and omit poll stuff
- remote.po.inc files before generating them (otherwise we'll always append)
2013-08-22 16:33:08 -07:00
David Anderson cca4b96152 admin web: fix PHP warning 2013-08-16 12:20:40 -07:00
David Anderson 6501519031 admin web: in failure-by-version page, show anon platform versions correctly 2013-08-16 11:59:46 -07:00
David Anderson 1c31f6feaa Condor: fix bug when 2 input files have same contents; fix error messages 2013-08-09 16:06:36 -07:00
David Anderson 6a34f264d4 web: remove mobile venue for the time being 2013-08-04 15:12:34 -07:00
David Anderson 24788d4f54 admin web: fix typo in cancel jobs page 2013-08-03 18:31:43 -07:00
David Anderson eb489c487c web: show product name in host lists, and don't show domain name twice 2013-08-02 13:35:17 -07:00
David Anderson e1523cc093 admin web: add option to Cancel Jobs page to cancel only unsent jobs 2013-07-30 14:07:34 -07:00
David Anderson e85a18289e client (win): fix typo in last commit 2013-07-30 10:47:54 -07:00
David Anderson d078038daa web: add "mobile" prefs venue
Note: the prefs code is badly in need of modernization.
Adding a venue should not require changing a bunch of code.
2013-07-26 11:23:27 -07:00
David Anderson 3faf18c7b4 remote_submit script: exit with nonzero status if error
Also, suppress warnings from simplexml_load_string()
2013-07-16 13:18:46 -07:00
David Anderson 4d09bb549c web: fix bug where am_set_info RPC incorrectly removed people from teams
The problem: post_int() was returning 0 rather than null when arg is missing
2013-07-10 13:00:50 -07:00
David Anderson 7a281665c0 Admin web: change App and App Version admin pages to limit POST size
On projects with lots of app versions and small POST size limits
(PHP or Apache config?) limit could be exceeded,
causing incorrect DB updates.
Fix this by having one Update button per app version.
Similar for apps.
2013-07-02 14:51:19 -07:00
David Anderson 85245f1802 web: show host product name to owner 2013-06-26 16:23:50 -07:00
David Anderson 2ad0e83417 web: don't show host cache size if we don't know it 2013-06-26 16:16:21 -07:00
David Anderson 57a6d3d17a client (Android): make max battery temperature a preference
Note: internal change only; there's no GUI for this yet
2013-06-20 21:47:34 -07:00