Commit Graph

36 Commits

Author SHA1 Message Date
David Anderson c9cf1f85a2 - user web: fix [img] BBcode problem
svn path=/trunk/boinc/; revision=23029
2011-02-14 19:06:42 +00:00
David Anderson 7ca6eeecd2 - web: remove align=right on BBcode images
svn path=/trunk/boinc/; revision=22228
2010-08-14 01:49:08 +00:00
David Anderson ede7c8cea9 - web: right-align bbcode images
- API: warning fix

svn path=/trunk/boinc/; revision=22160
2010-08-07 03:33:25 +00:00
David Anderson 65679fcfca - user web: in BBCode->HTML conversion there was a limit of
20 tags converted.
    I don't think a limit is needed.
    In any case, I changed it to 1000

svn path=/trunk/boinc/; revision=21329
2010-04-29 15:36:49 +00:00
David Anderson 5c1f254b64 - web: small fix
svn path=/trunk/boinc/; revision=19984
2009-12-19 06:13:22 +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 1b7f0aa88a - web: bb2html() previously generated HTML that assumed
the BOINC stylesheet (main.css) was included.
    This is no good if we're exporting the HTML.
    Add an option to generate generic HTML.
- web: add options to the forum RSS feed:
    1) threads_only: just show threads (i.e. 1st post in each thread)
    2) truncate: truncate posts to 256 chars.
        If this is not set, convert post from BBcode to generic HTML,
        and put this (XML-encoded) in item.description
This is preparation for using the forum code for project news,
and for displaying forum RSS feeds in the manager.


svn path=/trunk/boinc/; revision=19915
2009-12-15 17:57:36 +00:00
David Anderson 71c7e7a74b - client/scheduler/web: add per-project preferences for whether
to accept CPU, NVIDIA and ATI jobs.
    These prefs are shown only where relevant:
    e.g., only for processor types for which the project has app versions,
    and if it has versions for only one type, no pref is shown.

    These prefs affect both client and scheduler.
    The client won't ask for work for a device blocked by prefs,
    and the scheduler won't send it.

    This replaces earlier optional project-specific prefs for
    "no CPU jobs" and "no GPU jobs".
    (However, these prefs continue to be honored on the server side).

- client: if NVIDIA driver is unknown, say that rather than 0


svn path=/trunk/boinc/; revision=19194
2009-09-28 04:24:18 +00:00
David Anderson bf2f9942bd - web: don't show user ID next to posts
- web: fix [pre] bbcode


svn path=/trunk/boinc/; revision=18357
2009-06-10 22:54:21 +00:00
David Anderson c127a5c355 - web: make [pre] work similar to [code]. fixes #798
Note: I had to move [pre] to the top of the
    preg list to make this work.  Not sure why.


svn path=/trunk/boinc/; revision=18285
2009-06-03 23:00:43 +00:00
David Anderson c5439380f7 - web: fix regular expression for "images as links"
svn path=/trunk/boinc/; revision=18200
2009-05-25 18:49:42 +00:00
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 fce59a4840 - web: fix formatting in [pre]. Fixes #891
svn path=/trunk/boinc/; revision=18140
2009-05-18 03:08:33 +00:00
David Anderson 0cf46274e7 - web: remove unused code; fixes #799
svn path=/trunk/boinc/; revision=16703
2008-12-16 21:39:07 +00:00
Janus B. Kristensen 2c45b94115 Fixed issue where BBCode inside code-tags was being interpreted
svn path=/trunk/boinc/; revision=16690
2008-12-15 18:43:52 +00:00
Janus B. Kristensen 46711e4bc8 Fixed #557 - Hightlighting in Forum Search Results applied to HTML tags.
Highlighting is now done before parsing other special code. 

svn path=/trunk/boinc/; revision=16193
2008-10-12 17:11:19 +00:00
Janus B. Kristensen f2dda6f02c Fixed ticket #557 - Hightlighting in Forum Search Results applied to HTML tags.
Highlighting is now done before parsing other special code.

svn path=/trunk/boinc/; revision=16192
2008-10-12 17:09:38 +00:00
Janus B. Kristensen ed032e15c1 Fixes Ticket #662 - list items are now kept open to allow more than one line of content
svn path=/trunk/boinc/; revision=16081
2008-09-27 11:52:19 +00:00
Janus B. Kristensen fc0ddc1d0d Fixes Ticket #662 - list items are now kept open to allow more than one line of content
svn path=/trunk/boinc/; revision=16080
2008-09-27 11:49:32 +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 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 0dadf8d62f - admin web: fix profile screen form formatting
- web: remove get_transform_settings_from_user().
    There's only get_output_options()

    NOTE: why is text_transform() doing stripslashes()?
    The slashes shouldn't be in the DB in the first place.
    There's some fundamental confusion here.

- web: fix uotd.php


svn path=/trunk/boinc/; revision=14866
2008-03-07 04:38:06 +00:00
David Anderson 9041fd8507 - user web: use forum prefs (e.g. display images as links)
when displaying PMs.  fixes #497

svn path=/trunk/boinc/; revision=14264
2007-11-20 00:55:35 +00:00
Rytis Slatkevičius 0379a5a655 Fix #114: update BBCode to allow easy linking to Trac tickets, wiki and changesets.
svn path=/trunk/boinc/; revision=12632
2007-05-09 19:30:46 +00:00
Rytis Slatkevičius dd9f10a2db Add rel="nofollow" to URLs in the forum because of spammers
svn path=/trunk/boinc/; revision=12509
2007-04-30 17:23:44 +00:00
Rytis Slatkevičius 606263161d Fix for ticket #125 - problems with websites using PHP setting short_open_tag
svn path=/trunk/boinc/; revision=12475
2007-04-25 19:05:12 +00:00
Rytis Slatkevičius 49841b2ef6 Change behaviour of BBCode [code] tag: get rid of multiple newlines, change <pre> to <div>, alter CSS so that long strings no longer break layout.
svn path=/trunk/boinc/; revision=12442
2007-04-21 12:10:15 +00:00
Rytis Slatkevičius 5f5bd66eae Make BBCode [url] accept HTTPS links
svn path=/trunk/boinc/; revision=11823
2007-01-10 18:42:01 +00:00
Rytis Slatkevičius 0870cce03d Signature encoding issues
svn path=/trunk/boinc/; revision=11719
2006-12-23 15:35:49 +00:00
David Anderson 1de783dd7d *** empty log message ***
svn path=/trunk/boinc/; revision=10842
2006-08-04 21:39:03 +00:00
David Anderson 6e4da982f7 *** empty log message ***
svn path=/trunk/boinc/; revision=10809
2006-08-01 21:45:05 +00:00
David Anderson 091b57c6c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
Janus B. Kristensen bfbd0d6bd1 More layout moved to CSS and corrections in the text transformer.
svn path=/trunk/boinc/; revision=8924
2005-11-24 16:26:05 +00:00
Janus B. Kristensen fb4a35889c Added BOINC-doc code as [[something]], html is off by default.
svn path=/trunk/boinc/; revision=7766
2005-09-05 11:52:20 +00:00
David Anderson ccf355877c *** empty log message ***
svn path=/trunk/boinc/; revision=6520
2005-07-05 09:02:55 +00:00
Janus B. Kristensen 1b7975ad33 *** empty log message ***
svn path=/trunk/boinc/; revision=6146
2005-05-13 19:13:30 +00:00