Commit Graph

4432 Commits

Author SHA1 Message Date
David Anderson 9000318170
Merge pull request #4155 from BOINC/dpa_download_info
Web RPC: add an RPC that lets "front-end" web sites show Download buttons that auto-attach to back-end BOINC projects or account managers.
2021-01-24 23:37:25 -08:00
David Anderson 43e277c82a Web RPC: add an RPC that lets "front-end" web sites show Download buttons that auto-attach to back-end BOINC projects or account managers. 2021-01-22 00:47:02 -08:00
David Anderson 6948c2d4f1 Allow invitation codes for create-account RPCs only
If you define INVITE_CODES_RPC, create-account RPCs must include
a matching invitation code.
Record this code in user.signature to keep track
of where the RPCs are coming from.
2021-01-19 18:48:51 -08:00
David Anderson 10fd6db22f web: remove 30-day limit in forum search function
The explanation for an error code could be years old.
2020-12-02 16:10:25 -08:00
Matt c19add3c0a Merge branch 'master' of https://github.com/mikaey/boinc 2020-11-10 11:39:29 -06:00
Matt 5c9acc064c Don't call magic_quotes_gpc on newer versions of PHP 2020-11-10 11:37:17 -06:00
Kevin Reed 3cf5fb5e54
Merge pull request #4052 from BOINC/dpa_web2
web: minor tweaks
2020-10-10 09:40:39 -05:00
David Anderson 01fc42f44a web: minor tweaks
- allow specification of panel body class
- say "Language: default" in language selector
2020-10-09 12:37:46 -07:00
David Anderson 7d68422e94 web: in "all projects" certificate, show message if no projects
... rather than a certificate with PHP warnings at the top
2020-10-07 16:35:12 -07:00
Rytis Slatkevičius 03b2e00990
Merge pull request #4030 from BOINC/dpa_submit_batch
remote job submission: specify all fields on batch creation.
2020-10-03 10:29:49 +03:00
David Anderson e725f9bd62 manage_privileges, badge_assign.php: fix DB inserts
For newer MySQLs, need to specify values for all fields
2020-10-01 15:08:10 -07:00
David Anderson dd332d61ed remote job submission: specify all fields on batch creation.
Newer versions of MySQL error out if you don't.
2020-09-24 22:06:53 -07:00
David Anderson 7423971fd4
Merge pull request #4027 from BOINC/Rytiss-account_creation
Check account creation in the project frontpage
2020-09-21 13:18:03 -07:00
Rytis Slatkevičius fc126a532e
Check account creation in the project frontpage 2020-09-21 13:58:17 +03:00
Rytis Slatkevičius 0d1b425959
Add a project-customizable hook to result pages 2020-09-21 13:11:33 +03:00
David Anderson 62f25e4016 Web: make some strings translatable 2020-08-18 23:57:42 -07:00
David Anderson cdb7acd7de update translation 2020-08-15 18:39:21 -07:00
David Anderson c2f0837dc0 Update translations 2020-08-07 12:37:58 -07:00
David Anderson 93c6dc5231 Update translations 2020-08-07 00:55:15 -07:00
David Anderson 18dcd34b74
Merge pull request #3947 from BOINC/dpa_submit_priority
Add priority options to remote job submission
2020-07-30 20:19:40 -07:00
David Anderson aa3163c41f Add keyword 2020-07-30 01:29:34 -07:00
David Anderson 3e903d0e36 Remote job submission was always using allocation-based prioritization.
This is not necessarily the right thing.
For example, nanoHUB submits batches of jobs that are mixtures
of speculative and user-submitted;
these simply need to be given low and high priorities.

The way things work now:
- if you want allocation-based prioritization,
    set the "allocation_priority" flag in the request object
    (Python or PHP API)
- or set the "priority" field in the request object;
    that sets the priority of all the jobs in the batch
- or set the "priority" field of jobs in the batch.

Updated wiki docs accordingly.

Also fixed a bug in the test script
(note to self: adding an object to an array adds a reference, not a copy).
2020-07-24 00:36:12 -07:00
David Anderson 2abd5d7a95 Merge branch 'master' of github.com:BOINC/boinc 2020-07-23 22:02:47 -07:00
David Anderson b9d8ea8e82 translation file updates [skip ci] 2020-07-23 22:01:49 -07:00
David Anderson 87e2c5d272
Merge pull request #3926 from BOINC/dpa_user_inc
web: don't show error messages on user page if no other projects yet
2020-07-23 21:54:18 -07:00
David Anderson 043029db76 Update translation files [skip ci] 2020-07-23 00:54:45 -07:00
David Anderson aa0255673c Add keywords for games and COVID 2020-07-23 00:32:53 -07:00
David Anderson b77b474f86 web: don't show error messages on user page if no other projects yet 2020-07-17 01:09:19 -07:00
David Anderson eacab4ee92 Web: if define('DARK_MODE', true) in project.inc, support dark mode
See https://web.dev/prefers-color-scheme/
Add a bootstrap theme (Darkly) for dark mode.
2020-05-25 00:37:20 -07:00
Kevin Reed db94a50066
Merge pull request #3584 from BOINC/dpa_web_warnings
Web: fix some PHP warnings
2020-05-11 09:56:17 -05:00
David Anderson ea30ded784 Update translation files 2020-05-01 22:55:38 -07:00
David Anderson 975e9ff18d Parse config.xml correctly for account managers 2020-04-12 15:33:35 -07:00
David Anderson f69d38f415 Web: fix some PHP warnings
There were lots of PHP warnings in the apache error log.
Fix most of these.
2020-04-09 13:54:16 -07:00
Kevin Reed a05f16a43b
Merge pull request #3553 from BOINC/dpa_user_count
web: fix warning when user has no projects yet
2020-04-06 16:04:31 -05:00
David Anderson a775719037 web: fix warning when user has no projects yet 2020-04-03 11:32:06 -07:00
David Anderson 110650a8fd web: if fail to connect to DB, say so rather than "project stopped". 2020-02-24 07:39:46 +01:00
David Anderson c51fa5d221 Web: fix ReCaptcha problem
I have no idea why, but out of nowhere ReCaptcha stopped working on both SU and S@h.
Changing an arg to the recaptcha constructor
(from a Stack Overflow entry from 2015) fixed the problem.
2020-02-12 10:15:12 +01:00
Kevin Reed b7a0168731
Merge pull request #3451 from BOINC/dpa_template_cleanup
Remote job submission: delete output template file on retire batch
2020-02-06 08:45:13 -06:00
David Anderson 7607e44151 Fix error messages in account creation RPC
The create-account RPC returned "Account creation disabled"
even if account creation on the web site is allowed.
Fix this.
2020-01-15 13:41:19 -08:00
David Anderson 81b054b4f6 Remote job submission: delete output template file on retire batch 2019-12-21 15:46:57 -08:00
David Anderson 83fc04e248 remote job submission: add an API function for setting RPC timeout 2019-11-19 16:00:21 +01:00
David Anderson c6792a9279 web: don't put HTML in title for team forums
... since it appears in browser tab title
2019-10-30 09:39:24 -07:00
Rytis Slatkevičius 5dd1a6c3a0
Make user search title translatable
Relates to #3265
2019-09-27 23:10:24 +03:00
Kevin Reed 68235b1584 Locale: Update localization files [skip ci] 2019-09-23 09:20:41 -05:00
Rytis Slatkevičius 89dbb09422
Remove duplicate success XML
success() call was duplicated, resulting in duplicate XML.

Fixes #3297
2019-09-20 22:56:47 +03:00
David Anderson b7e12b2431 Web: fix bug in output of [list] BBcode 2019-08-31 14:18:06 -07:00
Rytis Slatkevičius c1f6f0b420 Fix typo, show "empty" as a keyword string if none set 2019-08-29 17:58:27 +03:00
Rytis Slatkevičius 8479a418f1 Add missing fields to ops DB browser.
Fixes #2529
2019-08-23 22:11:09 +03:00
Rytis Slatkevičius 1833107b84
Remove boincsynergy.com from the stats site list
According to archive.org, the site is down at least since February 2019, so removing it from the list. Fixes #3244.
2019-08-12 16:50:58 +03:00
Kevin Reed b0d6271fb0 web - Add comments and fixing formatting for generate_acccount_ownership_keys.php.
Also remove generation of account ownership keys from initial project
      creation script
2019-07-03 08:50:16 -05:00