boinc icon indicating copy to clipboard operation
boinc copied to clipboard

clean up admin DB code

Open romw opened this issue 10 years ago • 2 comments

Reported by davea on 16 Apr 44762362 03:33 UTC The admin web code (html/inc/db_ops.inc) is a mess. Suggested changes:

  • don't use $_GET to pass args
  • eliminate hardwired constants (use common_defs.inc)
  • eliminate the SqlQueryString class
  • eliminate mysql_* calls (use BoincDb)
  • wherever we show a count of results, make it a link so you can drill down and see the results with those properties
  • we already have code (in results.inc, user.inc etc.) to show entities as tables. Use this instead of having separate versions (which are now somewhat out of date, and don't show all fields)
  • The "result summary" stuff, rather than being a big matrix of links, should have menus for app, duration, and breakdown type.

Migrated-From: http://boinc.berkeley.edu/trac/ticket/1372

romw avatar Feb 04 '15 06:02 romw

We should consider a complete overhaul of the ops section using bootstrap and jquery to give more oversight. One example would be to hide the xml_doc fields by default but expand when needed.

ChristianBeer avatar Apr 11 '17 14:04 ChristianBeer

Wasn't there a discussion about this not too long ago?

Ageless93 avatar Aug 17 '17 21:08 Ageless93