Commit Graph

33 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 c764633a96 web: fix include problem
Sometimes (I don't understand why) you get "constant already defined"
warnings for constants in project/project.inc.
This is related to recursive includes.

Principle:
- include project.inc from util.inc (and nowhere else)
- include util.inc from the top-level .php file (and nowhere else)
2014-10-02 08:09:00 -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 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 0bc1a36451 - user web: add a feature allowing project admins to control
whether news items are exported as notices.
    The creator of a news item is shown a "Don't export" or "Export"
    button on the thread page.
    By default, news items are exported.


svn path=/trunk/boinc/; revision=23119
2011-02-28 19:02:59 +00:00
Rytis Slatkevičius a002ba4845 - user web: use full output transform for frontpage news posts (to handle newlines and other related stuff).
- user web: add a warning in case admin hasn't changed show_news() call to the new format.

svn path=/trunk/boinc/; revision=21459
2010-05-11 19:25:13 +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 2e6e97cfe6 - web: don't show news items if they're hidden
svn path=/trunk/boinc/; revision=20063
2010-01-04 17:06:54 +00:00
David Anderson 4ae4fce8c0 svn path=/trunk/boinc/; revision=20038 2009-12-25 01:27:29 +00:00
David Anderson d86c0b2802 - web tweaks
svn path=/trunk/boinc/; revision=20037
2009-12-24 22:47:53 +00:00
David Anderson bfe4e1bf3d - web: fix motd bug
svn path=/trunk/boinc/; revision=20013
2009-12-22 18:39:40 +00:00
David Anderson 8132f29140 - web: fix bug if news item title occurs in middle of content
svn path=/trunk/boinc/; revision=20004
2009-12-21 19:38:50 +00:00
David Anderson 4e9fc3d595 - client: a big glob of new code related to notices.
Not functional yet.


svn path=/trunk/boinc/; revision=20002
2009-12-21 17:49:28 +00:00
David Anderson 43d4c667a7 - web: add Comment link to news items
svn path=/trunk/boinc/; revision=19991
2009-12-19 18:14:04 +00:00
David Anderson 88616eb157 svn path=/trunk/boinc/; revision=19990 2009-12-19 17:52:49 +00:00
David Anderson e57f286e47 - web: some fixes that arose from converting BOINC's news
to forum format.


svn path=/trunk/boinc/; revision=19963
2009-12-18 04:32:30 +00:00
David Anderson 98a192e5ac - web: bug fixes to the above.
svn path=/trunk/boinc/; revision=19951
2009-12-17 00:17:37 +00:00
David Anderson e1bdfc0ee8 - web: change the way project news is stored.
Old: in a flat file (html/project/project_news.inc)
    New: in a forum (called "News" by default)
    The script html/ops/news_convert.php copies news from
    old to new format.
    You'll also need to edit your index.php and use
    "show_news(0, 5)" to show news.
- web: added a "message of the day" mechanism.
    Edit html/user/motd.php to show a message.
    This will be shown as the first news item,
    but it's not archived (i.e., it's not a forum post)


svn path=/trunk/boinc/; revision=19949
2009-12-16 22:35:08 +00:00
David Anderson 65a1bdab39 - lib: change XML_PARSER to handle attributes and spaces in tags.
e.g. it handles <foo /> correctly,
    and handles <foo attr="x">
    (it doesn't return the attributes, but it doesn't choke on them).
- GUI RPC client lib:
    use XML_PARSER to process authorization replies,
    e.g. so that it handles <authorized />

    TODO: use XML_PARSER to parse all GUI RPC requests and replies

- web: add a CSS entry for news item titles
- web (news items): add an optional "category" field to news items:
    suggested values: "server status", "news", "emergency".
    These are not used to display the items,
    but are passed in the RSS feed and could be used by news aggregators.
- manager: replace "BOINC-based account managers" with "account managers"


svn path=/trunk/boinc/; revision=16028
2008-09-19 18:08:17 +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
David Anderson dc4ca1e5cd - user web: changes to use new DB framework and eliminate PHP warnings
svn path=/trunk/boinc/; revision=13981
2007-10-28 15:03:14 +00:00
Rytis Slatkevičius da105cb20b -user web: allow customized CSS styling for separate newspost elements (add CSS classes)
svn path=/trunk/boinc/; revision=13390
2007-08-16 19:20:36 +00:00
David Anderson 65cdb2055d *** empty log message ***
svn path=/trunk/boinc/; revision=11891
2007-01-17 18:17:03 +00:00
David Anderson 6b300c8048 *** empty log message ***
svn path=/trunk/boinc/; revision=11817
2007-01-09 20:48:41 +00:00
David Anderson 80d6938194 *** empty log message ***
svn path=/trunk/boinc/; revision=11799
2007-01-07 20:00:15 +00:00
Rytis Slatkevičius 4a74e82f16 *** empty log message ***
svn path=/trunk/boinc/; revision=11760
2007-01-03 16:18:43 +00:00
David Anderson 805c004eb2 *** empty log message ***
svn path=/trunk/boinc/; revision=10129
2006-05-15 00:27:15 +00:00
David Anderson 51aefe4979 rss
svn path=/trunk/boinc/; revision=9270
2006-01-20 07:39:29 +00:00
David Anderson a941a17019 *** empty log message ***
svn path=/trunk/boinc/; revision=9162
2005-12-30 06:48:19 +00:00
Janus B. Kristensen 51f388ee0c *** empty log message ***
svn path=/trunk/boinc/; revision=5710
2005-03-24 11:35:35 +00:00
David Anderson 6ac981446e *** empty log message ***
svn path=/trunk/boinc/; revision=3555
2004-06-13 17:58:18 +00:00
David Anderson 319b4573b7 *** empty log message ***
svn path=/trunk/boinc/; revision=3519
2004-06-09 21:42:23 +00:00
David Anderson 7134a969cb *** empty log message ***
svn path=/trunk/boinc/; revision=3482
2004-05-31 17:37:22 +00:00