David Anderson
3bb136aca5
BOINC web site: add wallpaper images
...
Added [sm_img] BBCode tag to show small images.
Kludge. Should be able to say e.g. [img width=400]
2015-09-28 12:40:03 -07:00
Oliver Bock
755e891084
Add missing include
...
* tra() is defined in translation.inc
* prefs.inc didn't yet include it in any way
2015-09-28 14:44:43 +02:00
David Anderson
5f21fe99fd
add license file for rappture example
2015-09-08 22:33:24 -07:00
Rytis Slatkevičius
9a9986006f
Ops: drop count operation from a loop
2015-09-03 09:37:22 +03:00
David Anderson
c70698eeef
Web: fix BBCode transform for [img] when using HTTPS URL
2015-09-02 11:37:37 -07:00
David Anderson
3d50f6b501
Merge branch 'master' of github.com:BOINC/boinc
2015-08-31 12:30:18 -07:00
David Anderson
84d7391220
admin: add --id option to delete_spammers.php (to delete a single user)
2015-08-31 11:49:30 -07:00
Rytis Slatkevičius
ac27765ce0
Fix typos
2015-08-28 10:45:10 +03:00
David Anderson
2cb97f4b89
web: suppress DB connect warnings
2015-08-21 14:17:59 -07:00
David Anderson
52a9a3e746
user web: fix PHP warning
2015-08-19 21:00:51 -07:00
David Anderson
ad5014dd67
user web: change banish period options per Jord's request
2015-08-15 10:31:14 -07:00
Oliver Bock
1c1bcb92d5
admin web: retain state of "Show deprecated app versions"
2015-08-11 12:23:17 +02:00
Oliver Bock
a84ba8e1d0
admin web: on update anchor at current app version
2015-08-11 12:23:04 +02:00
David Anderson
04bc445a24
web: cache the results of getting user project list from boinc.netsoft-online.com.
...
From Janus.
2015-08-07 15:22:10 -07:00
David Anderson
15ac87749c
web: suppress mysql connect warnings
2015-08-06 10:46:59 -07:00
David Anderson
ce82f44bf7
BOINC web site: fix MySQL warnings; fix news RSS
2015-08-04 10:57:05 -07:00
David Anderson
ad83e9e0e1
web: supply defaults for thread/post inserts; for MySQL strict mode
2015-07-29 16:26:25 -07:00
Rom Walton
c479dc30f7
web: Remove obsolete Drupal stuff
2015-07-24 19:03:57 -04:00
David Anderson
776e6fec64
web: if using HTTPS, use it also for gravatar avatars (from Janus).
...
Include a function gravatar_update() in db_update.php to fix existing avatar URLs
2015-07-24 14:09:11 -07:00
David Anderson
3e6ae6f48d
web: fix "stay logged in" when logging in with authenticator; from Janus
...
Oddly enough, I couldn't repro this on Chrome or Firefox;
I remained logged in after quit/restart browser,
even though the cookie said it was for this browsing session only.
2015-07-24 13:58:38 -07:00
David Anderson
e2d57dc350
web: make team types translatable; fix warning in team import
2015-07-23 23:09:54 -07:00
Rom Walton
43ed191287
Merge pull request #1372 from brevilo/web_global_vars
...
web: make team_types globally accessible (missed in 8be519a616
)
2015-07-24 00:39:22 -04:00
David Anderson
8cd8c8e7ee
server software: handle 64-bit database IDs
...
The SETI@home result table is about to run out of 32-bit IDs,
so we need to move to 64-bit result IDs.
This will happen to the workunit table at some point too.
I changed the server C++ code to use the "long" type for all DB IDs
(and to use appropriate conversion codes like %lu).
"long" is 64 bit on 64-bit machines.
For uniformity I did this for all tables,
even ones (like app) that will never get big.
I chose NOT to change the DB schema for now.
The new code will work with 32-bit ID fields in the DB.
As projects approach the 32-bit limit on a table they can change
its ID field, and fields that reference this table, to BIGINT.
This is likely to happen only on the result and workunit tables.
I put functions in html/ops/db_update.php
to change the IDs of these tables.
2015-07-23 10:11:08 -07:00
David Anderson
e39047b61a
web: make "email friends" feature work without project configuration
...
Previously the feature that lets people send email about the project
to their friends only worked if the project supplied a message.
Remove this restriction; supply a default message.
Also make it work with or without PHPMailer.
Projects can still supply a default subject and message;
the user can now edit these.
Remove the ability to send HTML email
and to macro-substitute names in the message.
2015-07-22 23:37:40 -07:00
Oliver Bock
a515a84879
web: make team_types globally accessible (missed in 8be519a616
)
2015-07-22 16:21:23 +02:00
David Anderson
40a630e56b
web: fix last commit
2015-07-21 23:54:21 -07:00
David Anderson
1a0824bfe5
web: fix bug in family/friends email feature
2015-07-21 23:41:13 -07:00
David Anderson
588e001c17
web: in thread page, don't show some buttons if not logged in
2015-07-20 10:16:14 -07:00
Oliver Bock
8be519a616
HTML: Make various variables accessible to Drupal by declaring them as global
2015-07-14 14:47:31 +02:00
David Anderson
1896036dda
user web: change pm_send() name to avoid Drupal conflict
2015-07-13 16:11:30 -07:00
David Anderson
0192970350
web: fix bug when need to login to complete an operation; from Janus
2015-07-12 21:12:06 -07:00
David Anderson
8c53ae493a
size_census.php: include only active hosts (expavg_credit>10) in census.
2015-07-10 16:11:16 -07:00
David Anderson
366e4cd100
server_status.php: query local daemons by looking for PIDs, not commands
...
Avoids confusion if multiple daemons w/ same command.
From tmannerm on github.
2015-07-10 11:21:41 -07:00
David Anderson
a519c3fb25
server_status: show scheduler as a daemon, and check stop_sched and stop_upload
...
From tmannerm on github
2015-07-10 11:16:12 -07:00
Rom Walton
50d9e35e29
remote job submission: bug fix for getting the CPU time.
2015-07-08 11:54:58 -04:00
David Anderson
4f0d27c702
remote job submission: create output file zip in html/cache rather than /tmp
...
/tmp is small on some systems
2015-07-07 23:21:10 -07:00
David Anderson
ab2453a35a
web: fix bug if request foundership of a team with no founder.
...
Also, grant such a request immediately
2015-07-07 23:10:59 -07:00
David Anderson
b9cbb1d4a5
web: prevent thread/post counts from going negative
...
Because we don't use transactions, there are situations
(like if a moderator clicks "OK" repeatedly)
where decrementing thread/post counts makes them negative.
Prevent this.
2015-07-05 12:09:51 -07:00
David Anderson
364662f1dc
web: add missing _mysql_fetch_array() definition
2015-07-02 10:55:59 -07:00
David Anderson
033d67d927
remote job submission: in batch query, getting CPU time is optional
2015-06-29 15:28:51 -07:00
Rom Walton
4576f446a6
bug fix for last commit
2015-06-25 13:42:08 -04:00
Rom Walton
e3bd34c4de
remote: Add missing piece for people using the RPC mechanism.
2015-06-25 13:41:15 -04:00
Rom Walton
d9dcd82ada
remote: Report total CPU Time for a batch when querying batch states.
2015-06-25 13:31:10 -04:00
Rom Walton
37d8c0b4e1
HTML: Make sure BOINC-Project-Generic.pot contains comments.
2015-06-24 15:42:30 -04:00
David Anderson
659af28fd8
Web and BOINC Web: add comments for translated strings
2015-06-24 12:26:06 -07:00
David Anderson
4f4b842227
Web: fix XSS issue in result.php
2015-06-22 11:03:42 -07:00
David Anderson
d48c48c530
admin web: filter deprecated apps in showing # of shmem slots
2015-06-18 15:08:09 -07:00
Eric J Korpela
f253ff87ea
- Changed KWSN url
2015-05-04 13:34:53 -07:00
David Anderson
452fe458a7
size_census.php: avoid divide by zero
2015-04-28 00:32:01 -07:00
David Anderson
1c6267f2f1
scheduler: fix possible bug if use assigned jobs with FCGI scheduler
...
Need to end the enumeration.
2015-04-27 10:10:32 -07:00