Commit Graph

31254 Commits

Author SHA1 Message Date
Kevin Reed 0ba3d607d5
Merge pull request #2394 from BOINC/dpa_passwd5
web: improve - but not fix - password visibility checkbox
2018-03-22 12:51:23 -05:00
Kevin Reed 5f7cbdb2a7
Merge branch 'master' into dpa_passwd5 2018-03-22 09:28:01 -05:00
Kevin Reed 2c047c464e
Merge pull request #2417 from BOINC/dpa_https
Web: use https links to BOINC web site in default project config
2018-03-22 08:07:27 -05:00
Kevin Reed 87a9fd6149
Merge pull request #2419 from lfield/patch-4
Default working directory changd to /var/lib/boinc
2018-03-22 08:06:41 -05:00
Kevin Reed 1531b3b9df
Merge pull request #2418 from BOINC/mac_fix_computing_prefs_dlg
Mac: Fix wxWidgets 3.1.0 Mac-only bug when wxStaticBox has no label
2018-03-22 07:54:04 -05:00
lfield 344ddabeb4
Default working directory changd to /var/lib/boinc
This change should got into the 7.10 client release.
2018-03-22 10:50:25 +01:00
Charlie Fenton cb45ab59d2 Mac: Fix wxWidgets 3.1.0 Mac-only bug when wxStaticBox has no label (this bug has been fixed in wxWidgets 3.1.1) 2018-03-20 02:01:28 -07:00
David Anderson 1194bab1e3 Web: use https links to BOINC web site in default project config 2018-03-19 20:11:31 -07:00
David Anderson 42979fc8f9 remote job submission: add optional "job params" for batchs
This lets you specify the rsc_* parameters and delay bound in the submit call.
2018-03-18 23:25:26 -07:00
tristanolive 20b634b0fd
Merge pull request #2408 from drshawnkwang/drupal_fix-prefxmltrim
Drupal: Trim strings in project-specific XML to help translators.
2018-03-15 10:49:40 -04:00
tristanolive 8c7c645b1d
Merge pull request #2407 from drshawnkwang/drupal_feature-deleteteam-utility
Drupal: Add team  delete utility for SPAMMER teams
2018-03-15 10:44:21 -04:00
Shawn Kwang 9a7627c9e8 Drupal: Trim strings in project-specific XML to help translators.
Add custom trim function to code where the strings in the project-specific XML are aded to translation table(s).
Custom function removes whitespace from beginning and end of each line, separated by newline.

https://dev.gridrepublic.org/browse/DBOINCP-418
2018-03-14 10:27:51 -05:00
Shawn Kwang e4414e1e90 Drupal: Fixed minor scrutinizer issues in PHP. 2018-03-14 09:06:30 -05:00
Shawn Kwang dd4a0e969e Drupal: Added misc help text. 2018-03-14 08:25:06 -05:00
Shawn Kwang 5f2d678c1f Drupal: Fixed bugs.
Fixed link to teams, use relative URL.
Added link in message to site maintenance admin page.
2018-03-14 08:12:43 -05:00
Shawn Kwang 2686231299 Drupal: Add boincteam utility to delete spammer teams.
Adds an admin page where the admin may select and delete teams that meet a certain SPAMMER criteria. Deletion is handled through drupal batch operation.

https://dev.gridrepublic.org/browse/DBOINCP-364
2018-03-14 08:12:43 -05:00
David Anderson fcd2ffa1a9
Merge pull request #2395 from BOINC/knr_passwd5
Add 'show password' to join and change password pages
2018-03-13 23:06:43 -07:00
Kevin Reed 1ceb1e3a24 web: Fix style incompatibilities 2018-03-13 16:49:14 -05:00
Kevin Reed ea6f2c35ac web: Once hashed a password does not need to be escaped when inserting
it into the database
2018-03-13 16:23:27 -05:00
Sebastian 50e743d80f
Fix buffer size for call of function GetWindowText
Cppcheck found this issue: Multiplying sizeof() with sizeof() indicates a logic error.
GetWindowText expects the number of characters (3. argument) that fit into the buffer (2. argument).
So a division seems to be correct here instead of a multiplication.
2018-03-13 12:50:59 +01:00
David Anderson 13b9783c27 get_project_config.php: say whether account manager 2018-03-09 22:15:03 -08:00
David Anderson 40dccf9168 client: debug use of authenticators with account managers 2018-03-09 21:55:45 -08:00
David Anderson 99fbb26598 client: if account manager sends auth, use that instead of name/passwd
Previously, the credentials in account manager requests
were login name and password hash.
We need to keep this for compatibility with BAM and GR,
but it has problems:
- users can't change AM password
- password hash is stored on client and sent with each AM request

Solution: AM reply can include authenticator instead of name/passwd.
If so, store and use that.

Also: login_token_lookup.php needs to return auth instead of weak auth,
for both projects and AMs.
Weak auths are invalidated when user changes password.
2018-03-09 15:37:33 -08:00
Kevin Reed 2f299967aa web: changes for improving password hashing (admin, web_rpcs) 2018-03-09 15:05:16 -06:00
Kevin Reed cfa5cd6723 web: Fix autofocus and tab order for the login form 2018-03-09 13:51:41 -06:00
tristanolive bb695bb256
Merge pull request #2402 from drshawnkwang/drupal_fix-boinc_standard-Feature
Drupal: updated Strongarm variable to reflect new HTMLPurifier version
2018-03-09 11:11:23 -05:00
Kevin Reed 09a3666803 web: Only rehash password on login when needed 2018-03-09 09:18:01 -06:00
Oliver Bock c17e730d78 Drupal: updated Strongarm variable to reflect new HTMLPurifier version
Regression/missing in 9de2db9a
2018-03-09 08:20:28 -06:00
Kevin Reed 4b147e6cb2 web: initial changes for improving password hashing (join, change email,
change password, login)
2018-03-08 15:53:39 -06:00
Kevin Reed 5809474cf1 web: Add password compatability library (MIT License) from
https://github.com/ircmaxell/password_compat
2018-03-08 15:37:58 -06:00
Kevin Reed 2253277c38 web: Remove the confirmation password field in locations where the "show
password" toggle has been added
2018-03-08 12:34:30 -06:00
Kevin Reed 4c36d4c317 web: provide defaults for user.login_token and user.login_token_time
as the lack of them was preventing registration from working on (at
least on MariaDB 10.2)
2018-03-08 12:10:29 -06:00
Kevin Reed 0f9425c3ad Revert "web: provide defaults for user.login_token and user.login_token_time as"
This commit wasn't atomic, so reverting and redoing it as two seperate
commits

This reverts commit 855ff67e47.
2018-03-08 11:37:45 -06:00
Kevin Reed 855ff67e47 web: provide defaults for user.login_token and user.login_token_time as
the lack of them was preventing registration from working on (at least
on MariaDB 10.2)
2018-03-08 10:13:31 -06:00
Kevin Reed ff36cc5f66 Build: Add python bytecode files and py/lib/Boinc to .gitignore 2018-03-08 09:38:59 -06:00
tristanolive f95ebc5e27
Merge pull request #2397 from drshawnkwang/drupal_update-htmlpurifierlibrary
Drupal: updated HTMLpurifier library to version 4.10.0.
2018-03-08 10:03:34 -05:00
tristanolive 64f75f7154
Merge pull request #2400 from drshawnkwang/drupal_fix-rules-updates
Drupal: Rules updates
2018-03-08 09:41:34 -05:00
tristanolive 2f093446c1
Merge pull request #2396 from drshawnkwang/drupal_feature-views-readonlyDB
Drupal: Set additional Views to use replica DB.
2018-03-08 09:36:25 -05:00
Shawn Kwang d298973366 Drupal: Added additional text to email message. 2018-03-07 13:49:17 -06:00
Shawn Kwang 267a83572e Drupal: Added rule for forum topic moving. 2018-03-07 13:49:16 -06:00
Shawn Kwang 8fcbe781db Drupal: Modified some name/title strings to be more clear and concise. 2018-03-07 13:49:16 -06:00
Shawn Kwang f6d7688437 Drupal: Fixed bug where wrong 'parent' variable was used. 2018-03-07 13:49:16 -06:00
Shawn Kwang e0190c8876 Drupal: Added rule when topic is moved to a separate forum. Edited rule 'edit' notification will only trigger when body text has changed. 2018-03-07 13:49:16 -06:00
Shawn Kwang fdfc2ce848 Drupal: Added rules to send separate notifications for lock, sticky, and edit (not lock or sticky) actions. 2018-03-07 13:49:15 -06:00
Shawn Kwang 03d8d99076 Drupal: Added line breaks to rules email messages.
https://dev.gridrepublic.org/browse/DBOINCP-298
2018-03-07 13:49:15 -06:00
Kevin Reed fd73f114d2 web: add 'show password' to login and change password pages. add label to text for show password to make it easier to select 2018-03-07 12:27:23 -06:00
Kevin Reed 0ada71f227
Merge pull request #2387 from BOINC/dpa_parse
Fix VS compile warnings.  No functional change.
2018-03-07 11:37:10 -06:00
Kevin Reed ce5d3ed79f
Merge pull request #2385 from BOINC/dpa_token
web: in download.php, use current login token if recent
2018-03-07 11:11:42 -06:00
Kevin Reed 7b7a1843f1
Merge pull request #2384 from BOINC/dpa_filenames
client: not an error if a file starts with account_ but is not accounting file
2018-03-07 10:54:38 -06:00
Kevin Reed 8cac8d1617
Merge pull request #2382 from BOINC/dpa_passwd4
web: add "show password" checkbox to login form
2018-03-06 19:52:11 -06:00