Commit Graph

21 Commits

Author SHA1 Message Date
David Anderson 71cbc5d400 - web: in RSS feeds, replace images with [Image link]
but allow other tags (like <a>).
    Note: if the image is itself inside a <a href=x>,
    then the [Image link] will be linked to x, not to the image.

svn path=/trunk/boinc/; revision=18169
2009-05-20 18:25:36 +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 512af1d30e - user web: don't append "/" to URL_BASE.
URL_BASE is assumed to end with a /.
    If you put another /, you end up with // in URLs.
    This leads to a situation where you can have
    one cookie for // and another for / - bad.

    If this causes problems for any projects,
    they should edit their project.inc accordingly

svn path=/trunk/boinc/; revision=14254
2007-11-18 22:42:47 +00:00
Rytis Slatkevičius b04aeea7d6 user web: make sure that all links that have URL_BASE have slashes after it. This makes a slash in the end of URL_BASE definition in project/project.inc no longer necessary.
svn path=/trunk/boinc/; revision=13106
2007-07-05 19:37:33 +00:00
Rytis Slatkevičius 4a74e82f16 *** empty log message ***
svn path=/trunk/boinc/; revision=11760
2007-01-03 16:18:43 +00:00
Rytis Slatkevičius 7f0e9e0c4c RSS feed fix
svn path=/trunk/boinc/; revision=11736
2006-12-29 16:22:08 +00:00
Bruce Allen cd66c37327 Checked in the wrong version of this file....
svn path=/trunk/boinc/; revision=9664
2006-03-17 00:39:16 +00:00
Bruce Allen 333c1e053a Make 'last-modified' and '<lastBuildDate>' entries in RSS feed
correctly correspond to the last time the project_news.inc file
was modified.

svn path=/trunk/boinc/; revision=9661
2006-03-16 21:38:06 +00:00
Bruce Allen 5559f64ce1 - User web pages. Make RSS feed type application/xml rather than text/xml.
Make RSS feed link permanent guid rather than temporary.
- Better caching mechanism for hosts_user.php to prevent malicious user
  from passing _GET[] strings that would lead to unbounded cache usage.

Also, checkin change to checkin_notes from Feb 20th that generated a conflict
which I didn't notice until now.  Sorry....

svn path=/trunk/boinc/; revision=9523
2006-02-22 06:19:54 +00:00
Bruce Allen 6039c183ed Jens suggested that this was better...
svn path=/trunk/boinc/; revision=9511
2006-02-18 09:57:43 +00:00
Bruce Allen 2865fd324b User RSS page: make it pass the validation check
http://feedvalidator.org/

svn path=/trunk/boinc/; revision=9510
2006-02-18 09:44:34 +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
David Anderson 2acfa60174 PHP changes
svn path=/trunk/boinc/; revision=7609
2005-08-30 14:55:17 +00:00
Bruce Allen 60fe324f96 Eliminate some annoying 'undefined index' errors in PHP log. Note
that in general the right way to use _GET[] is like this:
          $x=default_value;
          if (isset($_GET["x"])) $x=$_GET["x"];
This prevents PHP notice-type error messages.

svn path=/trunk/boinc/; revision=6104
2005-05-11 08:29:35 +00:00
David Anderson bb97a32957 *** empty log message ***
svn path=/trunk/boinc/; revision=4360
2004-10-20 05:45:43 +00:00
David Anderson c5723ee3f9 *** empty log message ***
svn path=/trunk/boinc/; revision=4352
2004-10-19 22:12:00 +00:00
David Anderson e75283e8f4 *** empty log message ***
svn path=/trunk/boinc/; revision=4340
2004-10-18 22:08:37 +00:00
David Anderson cd3884593b *** empty log message ***
svn path=/trunk/boinc/; revision=3727
2004-06-30 18:53:35 +00:00
David Anderson c46546288e *** empty log message ***
svn path=/trunk/boinc/; revision=3508
2004-06-07 03:34:07 +00:00