Commit Graph

48 Commits

Author SHA1 Message Date
David Anderson 02adbc4d49 - web: remove all references to the PHP "session" mechanism,
which added only confusion.
    Implement login directly, using cookies.
- All cookie setting/clearing now goes through two functions,
    send_cookie() and clear_cookie().
    These deal with path and expiry
    (e.g. if you want to have different language or forum settings
    on two projects on the same server, that now works).

svn path=/trunk/boinc/; revision=14735
2008-02-13 19:02:44 +00:00
David Anderson e56ed1430f - DB code: safe_atof() was returning a float,
causing a potential loss of precision.
    Change it to double (same as atof())
- When moderator locks a thread, let them specify reason

svn path=/trunk/boinc/; revision=14662
2008-02-02 17:01:57 +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 2c5666df86 - web: when showing team forums, give link back to forum index
svn path=/trunk/boinc/; revision=14303
2007-11-26 04:12:15 +00:00
David Anderson fc2784895d - user web: add <team_forums_members_only> config option.
If set, only team members can see team forums

svn path=/trunk/boinc/; revision=14297
2007-11-25 04:47:54 +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 b597e4d204 - user web: on team message board pages,
put a link to the top-level message board

svn path=/trunk/boinc/; revision=14233
2007-11-16 21:48:28 +00:00
David Anderson c23eb176a6 - user web: fixes #482
svn path=/trunk/boinc/; revision=14231
2007-11-16 20:52:42 +00:00
David Anderson a49608a028 - user web: allow teams to create their own "team message board".
Team founder and admins have moderator power.
    Anyone can view a team message board,
    but only team members can write to it.
    Users cannot be banished from team message boards
    (due to database limitations).

svn path=/trunk/boinc/; revision=14218
2007-11-15 22:51:05 +00:00
David Anderson c83eeef1a5 - user web: factor out code for forum header (search forum and PM info)
into a separate function.
    Don't show subtitle bar for categories with no name.
    Rename search_post_titles() to search_post_content()

svn path=/trunk/boinc/; revision=14209
2007-11-15 00:27:02 +00:00
David Anderson a18dfc55a7 - user web: revise forum code to use new-style DB interface
svn path=/trunk/boinc/; revision=14160
2007-11-12 20:57:15 +00:00
David Anderson 4c8b387791 - user web: change more links to buttons; fix PHP warning
svn path=/trunk/boinc/; revision=14023
2007-11-02 18:48:48 +00:00
David Anderson 017c3a45f8 - user web: <form> outside of <td> screwed up Opera
svn path=/trunk/boinc/; revision=14021
2007-11-02 15:57:19 +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 f46a06305d - user web:
- changed Private Messages interface so that you see
        all your messages on one page,
        and remove various redundant links
        (like the Inbox link on the Inbox page)
    - changed links to buttons for moderator functions

svn path=/trunk/boinc/; revision=14019
2007-11-01 23:04:39 +00:00
David Anderson 15238b5747 - user web:
- replace some links with buttons in forum pages; add hover text.
    - show "mark all threads as read" only in forum page
    - fix bugs in team creation

svn path=/trunk/boinc/; revision=14016
2007-11-01 17:54:44 +00:00
David Anderson 82b2b0f68f - user web: fix some PHP warnings
- user web: more DB code conversion

svn path=/trunk/boinc/; revision=13996
2007-10-30 18:16:29 +00:00
Rytis Slatkevičius 717898ae03 Fix a lot of PHP notices that show up when error reporting E_NOTICE is enabled
svn path=/trunk/boinc/; revision=13843
2007-10-12 17:58:50 +00:00
Rytis Slatkevičius 5f7ed5b8fc Remove redundant search boxes from the bottom of the forum pages
svn path=/trunk/boinc/; revision=12660
2007-05-13 18:41:34 +00:00
Rytis Slatkevičius 3d9e92055f Fix for the security fix (allow reading forums when logged out)
svn path=/trunk/boinc/; revision=12067
2007-02-09 21:07:51 +00:00
Rytis Slatkevičius aa396080c0 Fix XSS vulnerability in the forum
svn path=/trunk/boinc/; revision=12055
2007-02-08 19:54:05 +00:00
Rytis Slatkevičius 90ad37471b Team types display (from Eric Myers)
svn path=/trunk/boinc/; revision=11761
2007-01-03 18:07:44 +00:00
Rytis Slatkevičius 6342a7e3a0 Do not show hidden threads to logged out users
svn path=/trunk/boinc/; revision=11749
2006-12-30 18:35:25 +00:00
Rytis Slatkevičius e1bf139562 Multiple forum related fixes
svn path=/trunk/boinc/; revision=11739
2006-12-29 20:57:29 +00:00
Rytis Slatkevičius 67b3f9a911 Forum thread locking
svn path=/trunk/boinc/; revision=11514
2006-11-10 17:09:09 +00:00
David Anderson 091b57c6c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
Rom Walton 25c7605f98 *** empty log message ***
svn path=/trunk/boinc/; revision=10031
2006-04-26 07:41:25 +00:00
Janus B. Kristensen 48c0603ab8 More layout moved to CSS
svn path=/trunk/boinc/; revision=8923
2005-11-24 16:20:48 +00:00
Janus B. Kristensen 0ca88c5ea6 Thread table has id and authorcol has the authorcol style
svn path=/trunk/boinc/; revision=6151
2005-05-13 19:18:32 +00:00
Janus B. Kristensen 5f214a026d Quoting is now done using blockquote, loads of get_int/get_str changes. Moderators can now view hidden threads if going direct by id.
svn path=/trunk/boinc/; revision=5951
2005-04-28 09:32:22 +00:00
Janus B. Kristensen a27c54cc31 Stickies and new forum rules
svn path=/trunk/boinc/; revision=5902
2005-04-20 21:11:20 +00:00
David Anderson 589c43379c *** empty log message ***
svn path=/trunk/boinc/; revision=5702
2005-03-23 03:04:56 +00:00
Janus B. Kristensen d2fca6e428 Navigation bar support
svn path=/trunk/boinc/; revision=5623
2005-03-10 11:29:55 +00:00
David Anderson a7320942ad *** empty log message ***
svn path=/trunk/boinc/; revision=5422
2005-02-13 21:33:02 +00:00
Janus B. Kristensen 53cc977ad2 Delete thread forum moderation feature
svn path=/trunk/boinc/; revision=5412
2005-02-12 09:50:13 +00:00
David Anderson cc9c0a6341 *** empty log message ***
svn path=/trunk/boinc/; revision=5135
2005-01-18 19:56:18 +00:00
Rom Walton fcd5fde1d9 *** empty log message ***
svn path=/trunk/boinc/; revision=5119
2005-01-14 02:51:26 +00:00
David Anderson 7035d11906 *** empty log message ***
svn path=/trunk/boinc/; revision=5045
2005-01-09 21:52:22 +00:00
David Anderson 3726e76ba6 *** empty log message ***
svn path=/trunk/boinc/; revision=5044
2005-01-09 09:33:06 +00:00
Janus B. Kristensen da2f822eb9 Display thread name in page title so users will not have to scroll up (or down)
svn path=/trunk/boinc/; revision=5003
2005-01-06 18:38:05 +00:00
David Anderson 15e29841be *** empty log message ***
svn path=/trunk/boinc/; revision=4941
2004-12-27 03:42:11 +00:00
Janus B. Kristensen 2d1cef4a9e Added display of forum navigation bar on the bottom of threads. Users won't have to scroll up to get back.
Also made the output HTML 4.01 transitional valid

svn path=/trunk/boinc/; revision=4761
2004-12-05 10:17:02 +00:00
David Anderson 465a97c096 *** empty log message ***
svn path=/trunk/boinc/; revision=4426
2004-10-25 22:04:15 +00:00
David Anderson abd4c861ed *** empty log message ***
svn path=/trunk/boinc/; revision=4311
2004-10-10 03:04:29 +00:00
David Anderson c5282fdc72 *** empty log message ***
svn path=/trunk/boinc/; revision=4158
2004-09-05 19:26:27 +00:00
David Anderson 2634204c88 *** empty log message ***
svn path=/trunk/boinc/; revision=4152
2004-09-04 23:37:49 +00:00
David Anderson e1929337bc *** empty log message ***
svn path=/trunk/boinc/; revision=3489
2004-06-01 22:12:41 +00:00
David Anderson ec78e50fb6 *** empty log message ***
svn path=/trunk/boinc/; revision=3476
2004-05-30 21:47:11 +00:00