Commit Graph

304 Commits

Author SHA1 Message Date
Bruce Allen f931f4878c PHP notice fix that I forgot to check in.
svn path=/trunk/boinc/; revision=6130
2005-05-12 14:07:22 +00:00
Bruce Allen 85316e4cf1 Eliminate a few other undefined variables
svn path=/trunk/boinc/; revision=6127
2005-05-11 14:44:36 +00:00
Bruce Allen 3a2bb7661d Corrected undefined index/variable errors on ops pages.
svn path=/trunk/boinc/; revision=6126
2005-05-11 14:37:42 +00:00
Bruce Allen 61d6b9d612 Fixed another typo that's been in this file for some time now.
svn path=/trunk/boinc/; revision=6125
2005-05-11 12:30:39 +00:00
Bruce Allen 2e02ac23be Deal with error case that occurs in PHP logs
svn path=/trunk/boinc/; revision=6124
2005-05-11 12:24:05 +00:00
Bruce Allen fc194843d4 Another undefined index gone
svn path=/trunk/boinc/; revision=6119
2005-05-11 10:30:28 +00:00
Bruce Allen 5187814770 another undefined index removed
svn path=/trunk/boinc/; revision=6116
2005-05-11 10:11:54 +00:00
Bruce Allen a84e48af43 Eliminate typo and another undefined variable
svn path=/trunk/boinc/; revision=6112
2005-05-11 09:48:07 +00:00
Bruce Allen b123c44e6d Eliminate undefined indexes
svn path=/trunk/boinc/; revision=6110
2005-05-11 09:37:44 +00:00
Bruce Allen e99cac1155 More undefined variables
svn path=/trunk/boinc/; revision=6109
2005-05-11 09:27:14 +00:00
Bruce Allen ddf3be23a2 Fix uninitalized variable
svn path=/trunk/boinc/; revision=6107
2005-05-11 08:59:42 +00:00
Bruce Allen f0d0306011 Eliminate another PHP undefined index error
svn path=/trunk/boinc/; revision=6106
2005-05-11 08:44:27 +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
Bruce Allen 6ac1767301 Corrected typo
svn path=/trunk/boinc/; revision=6103
2005-05-11 07:45:47 +00:00
Bruce Allen 2be3da41fc Added credit/recent average credit to brief description of users in forum
postings.

svn path=/trunk/boinc/; revision=6101
2005-05-11 03:50:01 +00:00
Bruce Allen cf027936bf Forums: added an html/bookmark style link to the header for each message.
This makes it a bit more convenient to reference a particular message (rather
than the entire thread) in an email or another thread.  Janus, Rob, I hope this
is OK with you.  Feel free to revert if you don't like it.

svn path=/trunk/boinc/; revision=6089
2005-05-10 13:19:39 +00:00
Janus B. Kristensen 070c6dde2a Initial checkin of PayPal donation system
svn path=/trunk/boinc/; revision=6078
2005-05-08 01:50:20 +00:00
Janus B. Kristensen d176bf1d18 Removed old unused code and regex is now used for removing images instead of the old slow image removing function. Also added a new function to prepare text to be dropped into a textarea
svn path=/trunk/boinc/; revision=6072
2005-05-08 01:26:02 +00:00
Janus B. Kristensen fe423a3a08 Escaping of strings and checking of everything else before inserting into SQL DB
svn path=/trunk/boinc/; revision=6071
2005-05-08 01:19:12 +00:00
Bruce Allen 0b62469e31 Strip slashes from clause
svn path=/trunk/boinc/; revision=6061
2005-05-06 18:35:55 +00:00
David Anderson 31b1dbbc02 *** empty log message ***
svn path=/trunk/boinc/; revision=6047
2005-05-05 21:12:26 +00:00
David Anderson de6cc8f23c *** empty log message ***
svn path=/trunk/boinc/; revision=6034
2005-05-05 06:21:45 +00:00
David Anderson 204fcd1f13 *** empty log message ***
svn path=/trunk/boinc/; revision=6033
2005-05-05 06:08:57 +00:00
Bruce Allen 58b5a09fa5 Oops
svn path=/trunk/boinc/; revision=6029
2005-05-05 05:15:26 +00:00
Bruce Allen 367d0daa8e Change php functions to correctly describe timezone field.
svn path=/trunk/boinc/; revision=6028
2005-05-05 05:06:16 +00:00
Janus B. Kristensen 6ea73ff7dd Separating the forum.inc into two files - one related to the database and one related to actual forum stuff (like displaying posts etc).
svn path=/trunk/boinc/; revision=6021
2005-05-04 08:46:46 +00:00
Bruce Allen 0ce0500e17 in host page visible to ordinary users, include daily result
quota info.

svn path=/trunk/boinc/; revision=6011
2005-05-04 05:01:18 +00:00
Janus B. Kristensen 1de42d1500 Ability to ignore sticky posts (don't reorder them in forum list)
svn path=/trunk/boinc/; revision=5990
2005-04-30 10:20:49 +00:00
Janus B. Kristensen e70234033f Rating +/- links now are images
svn path=/trunk/boinc/; revision=5988
2005-04-30 09:04:00 +00:00
Bruce Allen 44b8232bc4 Typo
svn path=/trunk/boinc/; revision=5979
2005-04-29 19:31:02 +00:00
Bruce Allen f8de417987 Fixed update_average() function to do the right thing when the time
between successive calls is small (zero seconds):

Consider the limit
as diff->0, using the first-order Taylor expansion of
exp(x)=1+x+O(x^2).
So to the lowest order in diff:
weight = 1 - diff ln(2) / half_life
so one has
avg += (1-weight)*(work/diff_days)
avg += [diff*ln(2)/half_life] * (work*SECONDS_PER_DAY/diff)
notice that diff cancels out, leaving
avg += [ln(2)/half_life] * work*SECONDS_PER_DAY

svn path=/trunk/boinc/; revision=5978
2005-04-29 19:22:43 +00:00
Janus B. Kristensen bc302dfff9 Added blockquote and u as valid tags
svn path=/trunk/boinc/; revision=5950
2005-04-28 09:30:37 +00:00
Janus B. Kristensen c82fd585d5 Minor correction that will take "holes" in special user bitfield into account.
svn path=/trunk/boinc/; revision=5947
2005-04-27 15:13:44 +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
Janus B. Kristensen cddce53f72 Stickies and new forum rules
svn path=/trunk/boinc/; revision=5901
2005-04-20 20:56:58 +00:00
Bruce Allen ffcebd559f Added ops page script to email owners of 'problem' hosts. Thanks to
Christian Beer for writing this.

svn path=/trunk/boinc/; revision=5888
2005-04-18 18:26:14 +00:00
David Anderson 38c306c40d *** empty log message ***
svn path=/trunk/boinc/; revision=5826
2005-04-11 18:24:36 +00:00
David Anderson cfbf124d4d *** empty log message ***
svn path=/trunk/boinc/; revision=5809
2005-04-08 21:40:32 +00:00
David Anderson 1c4a881fe1 *** empty log message ***
svn path=/trunk/boinc/; revision=5798
2005-04-08 00:06:52 +00:00
David Anderson 5fa6e0ec46 *** empty log message ***
svn path=/trunk/boinc/; revision=5794
2005-04-07 20:46:25 +00:00
David Anderson 67f6558e04 *** empty log message ***
svn path=/trunk/boinc/; revision=5785
2005-04-06 19:41:31 +00:00
David Anderson 733f296261 *** empty log message ***
svn path=/trunk/boinc/; revision=5766
2005-04-03 22:01:18 +00:00
David Anderson 0dd0664134 *** empty log message ***
svn path=/trunk/boinc/; revision=5764
2005-04-02 18:37:22 +00:00
Janus B. Kristensen 90420d0dbd Create missing dirs on first start, support for dual ID (xx_YY) languages, uses list traversal instead of just first browser specified language, uses cookies to override browser string. General fixes and updates.
svn path=/trunk/boinc/; revision=5759
2005-04-02 15:49:30 +00:00
Rom Walton f4f0c81c84 *** empty log message ***
svn path=/trunk/boinc/; revision=5728
2005-03-29 04:55:43 +00:00
Rom Walton f16d29bea3 *** empty log message ***
svn path=/trunk/boinc/; revision=5727
2005-03-29 04:34:47 +00:00
Rom Walton 2e551a5807 *** empty log message ***
svn path=/trunk/boinc/; revision=5726
2005-03-29 04:30:38 +00:00
David Anderson a95f0c33bd *** empty log message ***
svn path=/trunk/boinc/; revision=5724
2005-03-28 22:26:22 +00:00
David Anderson 1ae97e68b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5714
2005-03-24 19:06:27 +00:00
David Anderson c5bba41114 *** empty log message ***
svn path=/trunk/boinc/; revision=5713
2005-03-24 19:02:27 +00:00