Commit Graph

68 Commits

Author SHA1 Message Date
Janus B. Kristensen 209d519fc4 - Fixed issue where the cached version of the profile page was displayed in a wrong language
- Added translation awareness to view_profile.php
- Added translation awareness to show_user.php
- Added cacheability to the community_links() by splitting it into a function for getting the cacheable object "get_community_links_object()" and another for displaying it "community_links()"
- Added the community_links cacheable object to the cache in show_user.php
- Changed view_profile.php from being full-page cached to using data caching. Only the community_links object is cached as that is the only one containing heavy queries. All other queries are simple and will be cached at the SQL query cache level.

svn path=/trunk/boinc/; revision=16749
2008-12-29 18:44:11 +00:00
David Anderson 312ffba708 - API: remove BOINC_OPTIONS::worker_thread_stack_size
- web: check whether to show profile in separate function
    from displaying profile; eliminate double headers
- scheduler: finish purge of redundant arguments

svn path=/trunk/boinc/; revision=16726
2008-12-19 18:14:02 +00:00
David Anderson 2d1d47de15 - client: move round-robin simulation to its own file
- web: check for profile existence before trying to show it
- file deleter: add some debugging msgs

svn path=/trunk/boinc/; revision=16338
2008-10-28 21:59:25 +00:00
David Anderson c0c4bfdae7 - web: make the ordering of profiles in "browse profiles with pictures"
deterministic


svn path=/trunk/boinc/; revision=16330
2008-10-28 16:03:53 +00:00
Eric J. Korpela 3be692ce7f - Added additional spam fighting measure to profile.inc. Profiles for
users with RAC less than <profile_min_credit> with only be displayed if
 the viewing user is logged in.


svn path=/trunk/boinc/; revision=16004
2008-09-16 22:03:43 +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 520142d475 - web: check profile text with Akismet if enabled
- web: in get_logged_in_user(), check for bad user agent types
    (a bit of spam-resistance)

svn path=/trunk/boinc/; revision=15552
2008-07-04 20:06:31 +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 cf4e42b4a3 - client: restore proper sense of --check_all_logins
(should this be set by default?)
- web: removed addslashes() when building language translation arrays.
    These caused 's to be displayed as \' everywhere.
    They may serve some purpose, but I can't think of what it is.
- web: changed max profile image dimensions from 800x600 to 640x480.
    The new profile page puts a column to the right
    of the image, so it shouldn't be quite that wide.

svn path=/trunk/boinc/; revision=14562
2008-01-15 22:22:08 +00:00
David Anderson 2d40b5722d - web: fix broken link for profile like/don't like.
TODO: currently these don't do anything useful.  Fix this.

svn path=/trunk/boinc/; revision=14461
2008-01-03 17:37:38 +00:00
David Anderson 57f0bbc6e5 - make_project: prepend "./" to config.xml script names in case "." is not
in Apache's search path
- web: show UOTD text correctly
- web: memoize profile_screening() in attempt to fix out-of-memory error
    when building profile pages on S@h
- web: move gallery.inc into update_profile_pages and remove it

svn path=/trunk/boinc/; revision=14460
2008-01-03 17:24:28 +00:00
David Anderson b542785c1e - web: My Account page, other user account page, and profile pages
now have community info in a 2nd column on the right.
    This accomplishes two things:
    1) it puts community info in more places;
    2) it provides a reasonable way to format long lists of friends;
        they just continue down the right column.

svn path=/trunk/boinc/; revision=14452
2008-01-01 22:29:10 +00:00
David Anderson 13baee4302 - user web: add "friend" and "notification" features
- user web: code cleanup in Profile area
- GUI RPC: add missing "/" in auth2 RPC

svn path=/trunk/boinc/; revision=14394
2007-12-18 20:28:08 +00:00
David Anderson aaa6e6659d - web: if user is banished, don't show their posts except to mods,
don't show their name in thread headers,
    and don't show their profile

svn path=/trunk/boinc/; revision=14344
2007-12-02 21:11:17 +00:00
David Anderson 05fb140544 svn path=/trunk/boinc/; revision=14276 2007-11-21 00:17:56 +00:00
David Anderson 6ac91121d1 - user web: add a <profile_min_credit> config file option.
This specifies min average credit needed to create or edit a profile.

svn path=/trunk/boinc/; revision=14275
2007-11-21 00:12:55 +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
David Anderson 000a3e5594 - user web: code cleanup, deleted unused files
svn path=/trunk/boinc/; revision=14200
2007-11-14 16:03:47 +00:00
David Anderson ee1621c566 - user web: more of the above.
Also, try to make it PHP 4 compatible

svn path=/trunk/boinc/; revision=13982
2007-10-29 04:02:41 +00:00
Rytis Slatkevičius 4635e8f6ca Fix broken profile edit feature
svn path=/trunk/boinc/; revision=13980
2007-10-28 13:42:54 +00:00
David Anderson ee4e3fba01 - user web: Add BoincDb::escape_string(),
and have boinc_real_escape_string 
    call it rather than mysql_real_escape_string(),
    to ensure that a DB connection exists
    (you need one to call mysql_real_escape_string()).
- some additional conversion to BoincDb-based classes

svn path=/trunk/boinc/; revision=13977
2007-10-27 20:38:12 +00:00
David Anderson 1ff8594698 - user web: fixed a few hex colors without #
svn path=/trunk/boinc/; revision=13969
2007-10-26 22:07:39 +00:00
Rytis Slatkevičius b82c9454ed User web: add reCAPTCHA to profile creation/modification page.
svn path=/trunk/boinc/; revision=13961
2007-10-25 10:43:16 +00:00
David Anderson b92f1b81ce - client: CPU scheduler: if a project has 2 jobs with same deadline,
give preference to jobs already started


svn path=/trunk/boinc/; revision=13575
2007-09-12 12:13:33 +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
David Anderson 44658e81e5 *** empty log message ***
svn path=/trunk/boinc/; revision=10912
2006-08-14 22:11:53 +00:00
David Anderson 8230f9ca6c *** empty log message ***
svn path=/trunk/boinc/; revision=10900
2006-08-13 04:27:24 +00:00
David Anderson f351e21bf8 show posts
svn path=/trunk/boinc/; revision=9500
2006-02-17 22:01:22 +00:00
Janus B. Kristensen 55abab8a0b mysql_escape input strings for profiles.
svn path=/trunk/boinc/; revision=9007
2005-11-29 21:28:12 +00:00
David Anderson 0d7f8d16a7 *** empty log message ***
svn path=/trunk/boinc/; revision=8794
2005-11-02 23:47:25 +00:00
David Anderson 9dc3ca508e PHP profile include fix
svn path=/trunk/boinc/; revision=8674
2005-10-14 00:05:41 +00:00
Bruce Allen 97b5956d6b More undefined variables
svn path=/trunk/boinc/; revision=8402
2005-10-01 18:40:39 +00:00
Bruce Allen 0cd8eab5bf Eliminate a few more undefined variables
svn path=/trunk/boinc/; revision=8401
2005-10-01 18:30:15 +00:00
Bruce Allen c9f15ce395 Uninitalized variable
svn path=/trunk/boinc/; revision=8397
2005-10-01 17:17:00 +00:00
Bruce Allen 2a3545a547 Only screen profile pictures, not responses.
svn path=/trunk/boinc/; revision=8391
2005-10-01 16:00:31 +00:00
Bruce Allen 9179a8f30d Janus, you neglected to include the tranlation.inc file in your check
in a few days ago!

svn path=/trunk/boinc/; revision=8376
2005-10-01 01:39:32 +00:00
David Anderson bd668c4b9e profile screening conditionally restored
svn path=/trunk/boinc/; revision=8182
2005-09-26 20:01:01 +00:00
Matt Lebofsky b7e459694e fixed missing comma
svn path=/trunk/boinc/; revision=8170
2005-09-25 16:18:01 +00:00
David Anderson 5d9e3a61fd profile picture verification
svn path=/trunk/boinc/; revision=8169
2005-09-25 05:47:48 +00:00
Bruce Allen 4185f363ed Web pages. To control the posting of offsensive pictures, do not
display any user profile pictures until they have been verified by
project admin.  When user enters or modifies picture, only they can
see if.  If not yet verified, they will see a message saying that
other users can't see it until it has been verified by the project.
If admins have rejected it, user will see a message saying that they
must replace their picture or no one but themselves can see it.

The only known side effect of this is that selection of UOTD is now
includes users with no credit.  I will try to fix this.

svn path=/trunk/boinc/; revision=7967
2005-09-11 07:31:42 +00:00
Janus B. Kristensen 99f75171f6 small correction
svn path=/trunk/boinc/; revision=7606
2005-08-30 09:50:35 +00:00
Janus B. Kristensen 039eb9a0dc When vieweing profiles the output is now based on the logged in user's forum output preferences.
svn path=/trunk/boinc/; revision=7601
2005-08-30 09:41:47 +00:00
David Anderson 1c4a881fe1 *** empty log message ***
svn path=/trunk/boinc/; revision=5798
2005-04-08 00:06:52 +00:00
Janus B. Kristensen ffe9fa69e7 Automatically detect >=GD2
svn path=/trunk/boinc/; revision=5564
2005-03-04 10:35:32 +00:00
David Anderson a6d5713db1 *** empty log message ***
svn path=/trunk/boinc/; revision=5417
2005-02-13 06:13:33 +00:00
David Anderson 2e71493903 *** empty log message ***
svn path=/trunk/boinc/; revision=5246
2005-01-30 20:15:18 +00:00
Bruce Allen 76b635f131 Fixes from Christian Beer for ops pages to approve profiles and
to errors in the previous 20/next 20 links when 'additional
clauses' is non-empty.

svn path=/trunk/boinc/; revision=5192
2005-01-24 13:17:49 +00:00
David Anderson 6df7ebc5e8 *** empty log message ***
svn path=/trunk/boinc/; revision=5144
2005-01-19 19:08:46 +00:00
David Anderson cc9c0a6341 *** empty log message ***
svn path=/trunk/boinc/; revision=5135
2005-01-18 19:56:18 +00:00
David Anderson ba4f91bae7 *** empty log message ***
svn path=/trunk/boinc/; revision=5042
2005-01-09 09:07:22 +00:00