Commit Graph

233 Commits

Author SHA1 Message Date
David Anderson 6c73f71cee web: fix PHP warnings 2014-09-25 13:39:05 -07:00
David Anderson 93f7def3fa web: show badges at bottom of forum-post box 2014-09-24 00:55:03 -07:00
David Anderson efa6f4e3d6 web: make badge display configurable
See http://boinc.berkeley.edu/trac/wiki/BadgeDoc
2014-09-18 10:08:45 -07:00
David Anderson 3788d0c337 web: code cleanup 2014-08-11 14:57:34 -07:00
David Anderson cb1bb4069a web: be more thorough when deleting users
When deleting a spammer, delete
- forum_logging
- private messages
- notifications

Also, when displaying private messages, check if sender
doesn't exist, and delete if so
2014-07-11 15:20:01 -07:00
David Anderson 9ba2f03669 admin tools: change delete_spammers.php to delete message board posts too
Also add --id_range N M command (delete range of users)
Also forum moderation "done" pages now contain link back to forum or thread
2014-05-11 00:36:45 -07:00
David Anderson 278f3fd370 web: use new DB API here and there; should be no visible changes 2014-04-24 09:41:59 -07:00
David Anderson 7c9b5a6b56 web: lets project admins delete posts and threads
Spam needs to be deleted, not hidden.
Add buttons for deleting posts and threads.
For now, these are available only to admins
(ADMIN, DEV, SCIENTIST privileges).
2014-04-16 22:54:17 -07:00
David Anderson 92f35f9f7b web: when export posts as RSS feed, escape HTML for non-admin posters 2014-03-15 15:33:38 -07:00
David Anderson 2869cf4bbd web: fix typo 2014-03-14 12:03:12 -07:00
David Anderson fbc81b40ae web: only show HTML in posts by admins (fix yesterday's changes) 2014-03-14 00:20:07 -07:00
David Anderson ff484b9228 web: allow HTML in news items
Now that the manager supports images/video in notices,
we need to allow these in new posts
(i.e. posts to the News forum, which only admins can do).
Don't escape HTML tags in the web display of news items,
or in their export in RSS
2014-03-13 13:08:27 -07:00
David Anderson 1872fd0f6b web: eliminate some mysql_*() calls in preparation for mysqli conversion 2013-11-22 22:46:19 -08:00
David Anderson e12280909f web: fix PHP warnings, and a small bug in forum search 2013-05-13 12:29:07 -07:00
David Anderson 876113ddd5 - PHP comment tweak 2013-03-05 16:33:40 +01:00
David Anderson 58808d507e - web: use · instead of | as a separater 2013-03-04 17:19:39 +01:00
David Anderson 109661f912 - user web: fix bug when showing last page of thread 2013-03-01 16:26:08 +01:00
David Anderson e54b0ae02e - web: if showing a thread in oldest-first order, default to showing the last page of posts. 2013-02-28 15:58:01 +01:00
David Anderson c4b337d276 - scheduler: compile fixes for FCGI
svn path=/trunk/boinc/; revision=25955
2012-08-02 16:17:10 +00:00
David Anderson ab120dea9e - web: after post to a thread, show thread in user's chosen order
instead of newest first.


svn path=/trunk/boinc/; revision=25931
2012-08-01 17:57:56 +00:00
David Anderson 98f6763c48 - web: make "jump to first unread" work for threads that
haven't been viewed before


svn path=/trunk/boinc/; revision=25875
2012-07-17 04:06:48 +00:00
David Anderson 1b8e8fbb7f - web: don't try to update thread last-read-time if not logged in
svn path=/trunk/boinc/; revision=25870
2012-07-12 22:43:23 +00:00
David Anderson 52b72d620e - web: make links to specific posts work with pagination
svn path=/trunk/boinc/; revision=25869
2012-07-12 19:01:34 +00:00
David Anderson 99a077c642 - web: make "jump to first unread" for with pagination
svn path=/trunk/boinc/; revision=25868
2012-07-12 18:07:06 +00:00
David Anderson 5fc1577eea - web: forum fixes
svn path=/trunk/boinc/; revision=25865
2012-07-12 06:40:58 +00:00
David Anderson e3b7e6a889 - web: forum fix
svn path=/trunk/boinc/; revision=25864
2012-07-11 20:36:07 +00:00
David Anderson 490b740682 - web: improve forum pagination
svn path=/trunk/boinc/; revision=25863
2012-07-11 19:24:28 +00:00
David Anderson 68ee74fedf svn path=/trunk/boinc/; revision=25860 2012-07-11 05:37:43 +00:00
David Anderson b162aa3d2b - user web: add "posts per page" pref for message boards;
get rid of existing funky page-limit prefs


svn path=/trunk/boinc/; revision=25859
2012-07-11 05:27:31 +00:00
David Anderson eaddebab61 - web: more translatability. From Uwe Becker.
svn path=/trunk/boinc/; revision=24886
2011-12-24 15:37:20 +00:00
David Anderson d886dfcc37 - web: when showing a user's posts, don't show the ones
in hidden threads
- web: in showing the context of a post, link the thread also.


svn path=/trunk/boinc/; revision=24298
2011-09-27 07:35:26 +00:00
David Anderson b9eda96e8a web: message tweak
svn path=/trunk/boinc/; revision=24278
2011-09-23 17:18:33 +00:00
David Anderson 7c81d72378 - web: fix warnings in forum pages
- scheduler: when using elapsed time stats to predict runtime,
    cap the estimated FLOPS at twice the peak FLOPS;
    otherwise, if a host has received a lot of very short jobs
    recently, it will get a too-high FLOPS estimate and
    will exceed the rsc_fpops_bound limit.


svn path=/trunk/boinc/; revision=24128
2011-09-05 17:29:53 +00:00
David Anderson 1c054907c7 - web: fix some stuff broken by my checkin [24039].
- web: use & instead of & in URLs (not complete)


svn path=/trunk/boinc/; revision=24064
2011-08-29 05:37:52 +00:00
David Anderson 595df001cc - web: fix glitch in forum next/prev links
svn path=/trunk/boinc/; revision=24060
2011-08-28 00:31:40 +00:00
David Anderson 78a9c920c7 - web: more fixes from Christian Beer. Fixes #1129
svn path=/trunk/boinc/; revision=24050
2011-08-26 18:30:13 +00:00
David Anderson 49205acfd9 - job submission: fix bug where parameters specified in the
input template (e.g., delay bound) were ignored
- web: fix PHP warning


svn path=/trunk/boinc/; revision=24039
2011-08-25 05:08:47 +00:00
David Anderson 17e947f543 - web: remote job submission: implement abort and cleanup functions
svn path=/trunk/boinc/; revision=23880
2011-07-26 15:13:10 +00:00
David Anderson 61cbe110ef - web: when creating an item in News forum,
show "Export as Notice?" checkbox, and default to off.


svn path=/trunk/boinc/; revision=23721
2011-06-14 05:42:52 +00:00
David Anderson f56051a182 - user web: use special icon for hidden threads (from Jord)
svn path=/trunk/boinc/; revision=23361
2011-04-11 06:46:22 +00:00
David Anderson 226d70d174 svn path=/trunk/boinc/; revision=23033 2011-02-14 21:01:37 +00:00
David Anderson 3e2e5f2fdc - user web: CSS cleanup.
Use classes instead of IDs.
    white.css and black.css are cleaned up; style2.css needs work


svn path=/trunk/boinc/; revision=23018
2011-02-10 22:45:39 +00:00
David Anderson 25493bff27 - user web: fix "nowrap" post display
svn path=/trunk/boinc/; revision=23017
2011-02-10 19:42:52 +00:00
David Anderson 9552bd3670 - user web: appearance tweaks
svn path=/trunk/boinc/; revision=23013
2011-02-09 23:42:05 +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 ad77989928 - user web: make all forum tables full-width
svn path=/trunk/boinc/; revision=23009
2011-02-09 21:45:00 +00:00
David Anderson 91c251c103 - user web: add "delete account" feature.
This allows a user to delete all traces of themselves from a project.
    Namely:
    - clear fields of user record: email_addr, authenticator,
        name, country, postal_code
        Note: record is not deleted
    - clear the domain_name and last_ip_addr fields of hosts
        Note: records are not deleted
    - quit team
    - delete private messages sent and received
    - delete forum posts, subscriptions, and forum prefs
    - delete profile and associated images
- server: compile fix


svn path=/trunk/boinc/; revision=23006
2011-02-08 21:38:16 +00:00
David Anderson 8145cb86b0 - create_work: add some debugging printfs for Kamran
svn path=/trunk/boinc/; revision=22993
2011-02-03 23:27:30 +00:00
Rytis Slatkevičius e0bcf3805f user web: add some CSS classes for easier styling
svn path=/trunk/boinc/; revision=22850
2010-12-21 17:15:57 +00:00
David Anderson 0630ffa054 - web: fix "seperator" spelling
svn path=/trunk/boinc/; revision=22650
2010-11-08 17:56:39 +00:00