Shawn Kwang
683c5629bc
web: Re-added line thaty was accidentally removed.
2018-09-28 11:12:51 -05:00
Shawn Kwang
c38f8065e0
sched: Use safe_str* functions.
2018-09-20 09:58:49 -05:00
Shawn Kwang
a8e1862e6f
rpc: Modified create_account RPC.
...
RPC checks the version of BOINC client and if the client is newer than 6.10.0, then assume the user has seen the terms-of-use dialog, and thus consented to the TOU.
2018-09-18 11:47:56 -05:00
Shawn Kwang
41b8064b32
Added long docmentation about the create_account RPC, and what may need to change in the future. No functional changes.
2018-09-17 15:23:20 -05:00
Shawn Kwang
1381601c6e
web: Replaced login_action code with a function that interecepts the login process to present a terms-of-use if necessary.
2018-09-17 15:12:34 -05:00
Shawn Kwang
992ceced0d
web: Renamed database field 'protect' to 'project_specific'.
...
Boolean is inverse of what it was before.
Conflicts:
html/ops/db_update.php
2018-09-17 12:55:55 -05:00
Shawn Kwang
b44a8c8455
db: Renamed database field 'protect' to 'project_specific'
2018-09-17 12:55:55 -05:00
Shawn Kwang
a02bc83678
web: Modified lookup to also search fo consent_flag.
...
Query for what is needed to determine if a user has consented to a policy.
2018-09-17 12:55:55 -05:00
Shawn Kwang
90bdd9196a
web: defined CONSENT_TYPE_ENROLL and replaced string 'ENROLL' with this define.
...
No changes to functionally, only a new define().
2018-09-17 12:55:55 -05:00
Shawn Kwang
4cb30b1a8b
Removed unnecessary primary_key from insert statements.
2018-09-17 12:55:50 -05:00
Shawn Kwang
e4df047685
web: Misc small fixes.
...
Added tra() function.
2018-09-17 09:50:00 -05:00
Shawn Kwang
7bf7d5c0a0
web: User SQL View latest_consent to obtain consent information for users.
...
Web site operations can now use latest_consent View.
2018-09-13 11:54:04 -05:00
Shawn Kwang
1aa90e0a15
sched: Take advantage of SQL View lastest_consent in queries to user and host tables, to determine of user has consented to stats. exports.
2018-09-13 11:00:01 -05:00
Shawn Kwang
14fad89838
db: Added SQL view to schema and db_update.php
...
This view represents the latest consent status of all users and all consent_type_ids. It is what is often needed for determining if a user ABC has consented to consent_type XYZ.
2018-09-13 10:41:16 -05:00
Shawn Kwang
4531d5644c
db: Update index for consent table
2018-09-13 10:08:05 -05:00
Shawn Kwang
fd3fb65047
fixed semicolons should be colons
2018-09-12 15:43:13 -05:00
Shawn Kwang
9593f1848c
Fixed missing comma
2018-09-12 11:50:20 -05:00
Shawn Kwang
cbce74df7c
Merge branch 'master' into sak-useroptin-dbaddconsent
...
Prepare for merging this development branch into master.
Conflicts:
html/ops/db_update.php
2018-09-12 11:48:25 -05:00
Christian Beer
4e82939157
Locale: extract strings from content.sql
...
Creates a local DB and selects the strings needed for translation. Adds them to the pot file for project generic website strings with location information for translators.
Signed-off-by: Shawn Kwang <kwangs@uwm.edu>
2018-09-12 11:44:02 -05:00
Christian Beer
3d91ec6c8f
DB: move index from schema.sql to constraints.sql
...
As noted in the comment this is how it should be.
Signed-off-by: Shawn Kwang <kwangs@uwm.edu>
2018-09-12 11:43:53 -05:00
Shawn Kwang
c4c2ae69ba
Added additional index to consent table as well as foreign_key index.
2018-09-12 11:32:40 -05:00
Shawn Kwang
60ee7e85f9
Changed/Fixed SQL queries. New queries now function to select users who have consented to stats. exports.
2018-09-12 10:18:20 -05:00
Shawn Kwang
60acd8ccd1
db: Fixed bug where STATSEXPORTS was spelled incorrectly.
2018-09-12 10:00:27 -05:00
Kevin Reed
5a42f595cb
Merge pull request #2680 from brevilo/fix-android-build-scripts
...
Fix android build scripts
2018-09-11 12:24:14 -05:00
Kevin Reed
89e0836140
Merge pull request #2685 from AenBleidd/gitignore_update_for_vs
...
Fix .gitignore by adding .vs folder
2018-09-10 14:03:13 -05:00
brevilo
ac77f1a49c
Merge pull request #2655 from BOINC/knr_host_indexes
...
Add indexes to host table
2018-09-10 18:34:54 +02:00
Shawn Kwang
75d4716369
db_dump changes - use consent_type table to dump user and host stats based on consent.
...
User and host table dump modified - use consent table to determine if user has consented to stats. exports.
Look up STATSEXPORT consent type and determine if enabled; if so, change the SQL statement to use consent table. Only if a user has consented to statistics exports is that user's data returned and exported.
2018-09-10 10:46:16 -05:00
David Anderson
2a426379bf
Merge pull request #2672 from armstrdj/mac_installer_clear_launch_services_database
...
clears the Launch services database during a mac client install
2018-09-09 21:30:07 -07:00
Juha Sointusalo
c294cf9354
Merge pull request #2585 from BOINC/RDH_tune_AdvPrefDlg
...
[GUI] Tune advanced preferences dialog
2018-09-09 23:10:23 +03:00
Vitalii Koshura
944aef5748
Fix .gitignore by adding .vs folder
...
Visual Studio 2015/2017 use new cache/options directory .vs in the root of solution directory and should be ignored
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-09-08 04:43:47 +03:00
Vitalii Koshura
352b93b393
Merge pull request #2671 from armstrdj/add_custom_help_menu_string_for_brand
...
Adds ability for a Brand to define the string for boinc help in the h…
2018-09-08 03:40:20 +03:00
Shawn Kwang
d924bb2eee
db: Add necessary DB_CONSENT_TYPE declarations to boinc_db
2018-09-07 11:44:54 -05:00
Kevin Reed
436409a40b
server: Replace host index on userid with one based on userid and host_cpid
2018-09-07 10:10:03 -05:00
Kevin Reed
3a8f1e2b22
Merge pull request #2673 from armstrdj/wcgrid_branding_updates
...
Updates for the wcgrid brand to support the mac installer
2018-09-07 09:10:34 -05:00
brevilo
6558370ef0
Merge pull request #2670 from armstrdj/security_fixes_buffer_overflow
...
security updates for potential buffer overflows
2018-09-07 13:03:01 +02:00
Shawn Kwang
20d195e54e
web: Fixed bug where disabled ENROLL consent_type still sent user to user-agreement Web form.
2018-09-06 12:48:13 -05:00
Kevin Reed
0f24ab0953
Merge pull request #2677 from BOINC/dpa_am_names
...
client: parse and store user and team name from account manager.
2018-09-05 09:28:36 -05:00
David Anderson
2ff0e7ef21
Fix bug where AM user/team names weren't being escaped in XML files
2018-09-04 16:14:01 -07:00
Oliver Behnke
a325b61bbe
Adapt to v7 appcompat support library API changes (as of 25.1)
2018-09-04 13:52:40 +00:00
Oliver Behnke
2f4925c56b
Upgrade Gradle
2018-09-04 13:45:23 +00:00
Oliver Behnke
4aac696424
Partially revert "Ensure Android NDK r18 compatibility"
...
This reverts the accidental changes to version.h in commit 55f8736
.
2018-09-04 12:55:19 +00:00
Oliver Behnke
fdf326a5af
Workaround for missing truncate() libc function
...
* Relevant for 32 bit builds only
* Would otherwise only be available as of API level 21
* See also: https://android.googlesource.com/platform/bionic/+/master/docs/status.md
* See also: https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md
2018-09-04 12:43:04 +00:00
Oliver Behnke
802225c7e4
Raised minimum Android requirement to KitKat 4.4.4 (API level 19)
...
* Relevant for 32 bit builds only
* Provides sys/statvfs.h
* Provides sys/swap.h (no more patch required)
2018-09-04 12:40:09 +00:00
Oliver Behnke
e62ffd3fc5
Fix libstdc++ path for armv7-a architecture
2018-09-04 11:39:58 +00:00
Shawn Kwang
d094f16b97
web: renamed 'protectedct' field 'protect'.
2018-08-31 13:58:54 -05:00
Shawn Kwang
59697b7929
db: Renamed database field 'protectedct' to 'protect'.
2018-08-31 13:58:28 -05:00
Juha Sointusalo
dcba4f98af
Merge pull request #2651 from AenBleidd/wsl_fix_benchmark_2
...
[WIP] Fix cs_benchmark.cpp heap destruction
2018-08-31 21:56:24 +03:00
Oliver Behnke
55f8736836
Ensure Android NDK r18 compatibility
...
* Use Clang instead of GCC (deprecated)
* Raised/added minimum Android API version (16)
* Use (static) libc++ by default/explicitly (gnustl and stlport are deprecated)
* Add verbose flag to toolchain builder where missing
2018-08-31 13:00:58 +00:00
Oliver Behnke
d655906380
Match Android API requirement with BOINC app counterpart for consistency
2018-08-31 09:49:08 +00:00
Oliver Behnke
fb65077206
Raising targetSdkVersion to 26 (Oreo) as required by Google Play Store as of 11/2018
2018-08-31 09:10:16 +00:00