Commit Graph

42 Commits

Author SHA1 Message Date
David Anderson e6ecb981b3 web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
David Anderson dd5c8a804c web: add "chars remaining" for friend message
friend-request messages have a 250 char limit.
Show this in the GUI.
Factor this out into a function so we can use it elsewhere if needed.
2014-08-11 15:45:13 -07:00
David Anderson af99251e79 web: let projects disable forums
Do this by putting
define("DISABLE_FORUMS", true);
in your html/project/project.inc.

If this is set, admin users can still see enough forum functionality
to post and edit news items
(this is linked to from the Admin web interface).

Other users, or non-logged-in access, sees news but no forums
or forum-related info.
2014-04-18 15:54:28 -07: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 4d45dda3d9 - validator: update credit statistics even if credit_from_wu
is being used.
- web: make almost everything translatable.  From Christian Beer.


svn path=/trunk/boinc/; revision=24048
2011-08-25 22:12:48 +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 d1e66f0427 - web: appearance tweaks from Simek; fixes #1012
svn path=/trunk/boinc/; revision=22394
2010-09-20 23:59:25 +00:00
David Anderson f10384af43 - client: add <stderr_head> config option;
sends the first rather than last 64KB of stderr to server.
    This doesn't belong here; this choice should come from the server.
    I may take this out later.
- user web: when add a private message, always add a notification

svn path=/trunk/boinc/; revision=20141
2010-01-12 18:39:59 +00:00
David Anderson 412208b007 - web: fix buggy changeset 17278
svn path=/trunk/boinc/; revision=17418
2009-03-01 23:32:15 +00:00
David Anderson 8470b55be3 - web: link to 3rd-party signature sources on community prefs page
svn path=/trunk/boinc/; revision=17417
2009-03-01 19:00:40 +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 &amp; various places


svn path=/trunk/boinc/; revision=17278
2009-02-17 17:39:57 +00:00
Janus B. Kristensen f361f95313 - Added "Highlight special users"-feature
- Allow projects to specify how special users can be highlighted in their forums through CSS
- Special users are now highlighted by default
- Post body background is now 25% transparent in browsers that support transparency (white.css only)


svn path=/trunk/boinc/; revision=16134
2008-10-05 16:00:11 +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
Rytis Slatkevičius 96068182bc Forums: add support for Globally Recognized Avatars.
svn path=/trunk/boinc/; revision=15637
2008-07-19 17:31:10 +00:00
David Anderson d764eb5873 - web: clean up stuff related to stripslashes():
1) it's not correct to apply stripslashes() to all form input.
        That should be done only if magic quotes is on.
        I fixed this by adding a function undo_magic_quotes()
        that does the right thing.
    2) There's no reason to strip backslashes from user-supplied text
        (forum titles and bodies, private messages, passwords etc.)
        I'm not sure why this was being done.
        It prevented messages from containing backslashes.

svn path=/trunk/boinc/; revision=15364
2008-06-05 20:32:21 +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 27ba7bf0e8 - web: clean up forum prefs forum, and add a Confirm when reset
svn path=/trunk/boinc/; revision=14320
2007-11-29 16:47:56 +00:00
David Anderson 235ea7fdea - web: fix PHP errors, add translations strings
svn path=/trunk/boinc/; revision=14302
2007-11-26 03:05:27 +00:00
David Anderson c1ad7d8df5 - web: reorder and reword Your Account page and Forum prefs page;
rename General Prefs to Computing Prefs;
    rename Forum Prefs to Community Prefs
    add Prefs link if user doesn't have email PM notification
- remove forum low/high rating theshold stuff.
    Message rating was a failed experiment.

svn path=/trunk/boinc/; revision=14300
2007-11-26 00:51:00 +00:00
David Anderson 8456c61a35 - user web: fix bug in user filter; fixes #505
svn path=/trunk/boinc/; revision=14290
2007-11-23 00:19:48 +00:00
David Anderson dddc2ec6d2 - user web: clean up funky search result formatting.
For thread titles, show links to forum/category also
    For posts, show complete post, with search terms highlighted.
- user web: in display of posts for a user,
    show links to thread and forum also
- user web: posts/threads can become "orphaned" if their forum
    disappears, e.g. team message board is deleted.
    Handle this gracefully in search results and user post list
- user web: where HTML tags are allowed, say so
- user web: fix bug where wrap_postcounts weren't being shown in form
- DB: use "tinyint" instead of "tinyint(1) unsigned" etc.

svn path=/trunk/boinc/; revision=14267
2007-11-20 19:23:26 +00:00
David Anderson e85f6d492e - user web: fix forum banishment vote stuff
svn path=/trunk/boinc/; revision=14256
2007-11-19 05:14:37 +00:00
David Anderson 1abb08ca65 - user web: remove debugging code;
remove odd use of tables in edit forum prefs forum

svn path=/trunk/boinc/; revision=14206
2007-11-14 23:22:01 +00:00
David Anderson 83362a31ed - user web: change forum prefs editing to use new DB interface
svn path=/trunk/boinc/; revision=14175
2007-11-13 17:18:34 +00:00
Rytis Slatkevičius bcf948a03d user web: add a separate preference for private message notification emails.
'''NOTE: needs DB update, see html/ops/db_update.php'''

(Fix #167)

svn path=/trunk/boinc/; revision=12813
2007-06-04 19:35:11 +00:00
David Anderson 6984ec8cf4 *** empty log message ***
svn path=/trunk/boinc/; revision=12233
2007-03-15 19:08:22 +00:00
Matt Lebofsky 33fef9cba9 *** empty log message ***
svn path=/trunk/boinc/; revision=10988
2006-08-23 19:47:22 +00:00
Janus B. Kristensen 9e5763268f - When updating forum preferences the avatar will now be preserved if set.
- Use the new forum backend
- Deleted remains of old external-URL avatar feature, we will not need this ever (lack of avatar control)
- Added CVS auto tracker
- Improved the layout of the page by using row1 and row2 to seperate the different categories.

svn path=/trunk/boinc/; revision=10963
2006-08-22 09:25:30 +00:00
David Anderson aeac868c11 *** empty log message ***
svn path=/trunk/boinc/; revision=10559
2006-07-01 20:03:48 +00:00
Janus B. Kristensen 96f82f3a4f Display only last Y posts if thread has more than X posts in total.
svn path=/trunk/boinc/; revision=8925
2005-11-24 16:36:12 +00:00
Janus B. Kristensen a2a0c7c019 Correct mistakes where user has hit space
svn path=/trunk/boinc/; revision=6973
2005-08-02 17:00:59 +00:00
Janus B. Kristensen b1f774ab65 Output-transform the signature preview
svn path=/trunk/boinc/; revision=6149
2005-05-13 19:15:39 +00:00
Janus B. Kristensen 1de42d1500 Ability to ignore sticky posts (don't reorder them in forum list)
svn path=/trunk/boinc/; revision=5990
2005-04-30 10:20:49 +00:00
David Anderson 2e71493903 *** empty log message ***
svn path=/trunk/boinc/; revision=5246
2005-01-30 20:15:18 +00:00
Janus B. Kristensen a869084f87 Users can ignore other users in the forums
svn path=/trunk/boinc/; revision=4999
2005-01-06 11:47:44 +00:00
Janus B. Kristensen eec295c40d Added a text-box that displays how many more chars the user can write in the signature.
Also made changes to make this file HTML 4.01 transitional valid.

svn path=/trunk/boinc/; revision=4842
2004-12-14 02:54:29 +00:00
David Anderson 4cb055dbe8 *** empty log message ***
svn path=/trunk/boinc/; revision=4442
2004-10-26 22:27:50 +00:00
David Anderson 465a97c096 *** empty log message ***
svn path=/trunk/boinc/; revision=4426
2004-10-25 22:04:15 +00:00
David Anderson 35fbdcc866 *** empty log message ***
svn path=/trunk/boinc/; revision=4318
2004-10-12 18:05:38 +00:00
David Anderson abd4c861ed *** empty log message ***
svn path=/trunk/boinc/; revision=4311
2004-10-10 03:04:29 +00:00
David Anderson 75fb68e02d *** empty log message ***
svn path=/trunk/boinc/; revision=4199
2004-09-14 21:29:52 +00:00
David Anderson 2634204c88 *** empty log message ***
svn path=/trunk/boinc/; revision=4152
2004-09-04 23:37:49 +00:00