Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
649 commits
Select commit Hold shift + click to select a range
3148650
Public constructor
dephillipsmichael Nov 1, 2017
da8ea83
Merge pull request #399 from dephillipsmichael/public_constructor
dephillipsmichael Nov 1, 2017
9fa5f76
changes to support async remote loading of surveys
DwayneJengSage Nov 3, 2017
34122f0
public methods for getting private fields
dephillipsmichael Nov 3, 2017
0d8dd86
Merge pull request #400 from dephillipsmichael/public_methods
dephillipsmichael Nov 3, 2017
b7627f9
separate custom task logic from task loading logic
DwayneJengSage Nov 4, 2017
2409ee5
Merge branch 'develop' of https://github.com/ResearchStack/ResearchSt…
DwayneJengSage Nov 4, 2017
433936f
Added findStringResult method
dephillipsmichael Nov 5, 2017
6f1e320
make ActivitiesFragment.startCustomTask() abstract
DwayneJengSage Nov 7, 2017
4e483ec
move TaskModel and SmartSurveyTask down to backbone
DwayneJengSage Nov 7, 2017
624037c
move TaskFactory.newSmartSurvey() to SurveyFactory.createSmartSurvey()
DwayneJengSage Nov 7, 2017
8fe4e2c
Merge pull request #401 from DwayneJengSage/develop
liujoshua Nov 8, 2017
fbdfa57
login with external ID
DwayneJengSage Nov 10, 2017
fa275a2
CR responses
DwayneJengSage Nov 10, 2017
5d863e7
Merge pull request #403 from DwayneJengSage/develop
liujoshua Nov 11, 2017
7b8debf
Merge pull request #402 from dephillipsmichael/feature/stepResultHelper
liujoshua Nov 12, 2017
dfb5d46
Added date time support for background and health survey
dephillipsmichael Nov 16, 2017
fc2eab5
Fixed bug with 1 tab
dephillipsmichael Nov 16, 2017
58fd44a
Encapsulated methods for easier overrides
dephillipsmichael Nov 16, 2017
5a1ec59
Exposed variables for sub-classes
dephillipsmichael Nov 16, 2017
c6c8ed4
Added task model fields that should exist on a task
dephillipsmichael Nov 16, 2017
a92c0f9
Merge pull request #405 from dephillipsmichael/crf_actvities_additions
dephillipsmichael Nov 16, 2017
1250c3f
bug fix in unit tests
dephillipsmichael Nov 17, 2017
0f73d15
Merge pull request #406 from dephillipsmichael/unittest_bug
dephillipsmichael Nov 17, 2017
4015119
Added input type to text field survey item
dephillipsmichael Nov 17, 2017
d228ed3
Added validation regex and unit tests
dephillipsmichael Nov 17, 2017
c20f376
Merge pull request #407 from dephillipsmichael/feature/textfield_inpu…
dephillipsmichael Nov 17, 2017
435de1b
Adjustments to customize external id step and layout
dephillipsmichael Nov 19, 2017
e3e2221
Added clarifying comments
dephillipsmichael Nov 19, 2017
ec22446
Encapsulated focus keyboard method
dephillipsmichael Nov 19, 2017
d70df02
Merge pull request #408 from dephillipsmichael/feature/AA-12
dephillipsmichael Nov 19, 2017
d7ed519
Added better error messaging when there is no internet connection
dephillipsmichael Nov 19, 2017
1c5c116
protect access
dephillipsmichael Nov 19, 2017
835c813
Merge pull request #409 from dephillipsmichael/bug/AA-67
dephillipsmichael Nov 19, 2017
a9007e3
Merge pull request #410 from dephillipsmichael/protected_access
dephillipsmichael Nov 19, 2017
062233a
Added skip rule for permissions step
dephillipsmichael Nov 19, 2017
f86af56
Make sure fragment is still attached after call to get activities
dephillipsmichael Nov 19, 2017
c29c4d9
Fixed unit tests by mocking fragment validity method
dephillipsmichael Nov 19, 2017
466662d
Merge pull request #411 from dephillipsmichael/bug/AA-83
dephillipsmichael Nov 19, 2017
3a04615
fix hide keyboard bug
dephillipsmichael Nov 20, 2017
45dd6aa
Merge pull request #412 from dephillipsmichael/bug/hide_keyboard
dephillipsmichael Nov 20, 2017
d32398d
Fixed object casting which was displaying incorrect toasts
dephillipsmichael Nov 20, 2017
08748d9
added integer support
dephillipsmichael Nov 20, 2017
2c961db
added support for various keys that iOS uses now
dephillipsmichael Nov 20, 2017
a794c1b
fixed json serialization
dephillipsmichael Nov 20, 2017
2486434
added overridable survey view activity class
dephillipsmichael Nov 21, 2017
bf5e2a2
Added skip title support to form steps
dephillipsmichael Nov 21, 2017
2de564e
added support for skip to identifier when "skip" button tapped
dephillipsmichael Nov 21, 2017
c34b9c3
added unit test for form step json parsing and functionality
dephillipsmichael Nov 21, 2017
c610e65
Merge pull request #413 from dephillipsmichael/ipaq_survey_support
dephillipsmichael Nov 21, 2017
f06e711
protected access
dephillipsmichael Nov 21, 2017
bb44762
Merge pull request #414 from dephillipsmichael/protected_access
dephillipsmichael Nov 21, 2017
ba4a002
fixed bug with form step optional not being set
dephillipsmichael Nov 21, 2017
0b46ad8
Merge pull request #415 from dephillipsmichael/bug/formstep_optional
dephillipsmichael Nov 21, 2017
0c8ff92
Fixed skip detection bug and added unit test
dephillipsmichael Nov 21, 2017
982ddde
Merge pull request #416 from dephillipsmichael/bug/skip_bug
dephillipsmichael Nov 21, 2017
ac37066
Fixed EditText search bug and unit tested it
dephillipsmichael Nov 21, 2017
6c8401a
Merge pull request #417 from dephillipsmichael/bug/editTextSearch
dephillipsmichael Nov 21, 2017
f46dcc6
Allow TaskResults to be passed into a ViewTaskActivity
dephillipsmichael Nov 21, 2017
771588c
A disabled field for read-only textfields
dephillipsmichael Nov 21, 2017
0af47de
Merge pull request #418 from dephillipsmichael/feature/AA-79
liujoshua Nov 21, 2017
35db11c
Added full circle preview
dephillipsmichael Nov 29, 2017
b167026
Increased variable and method access
dephillipsmichael Nov 29, 2017
c9ed8de
Merge pull request #420 from dephillipsmichael/feature/AA-87
dephillipsmichael Nov 29, 2017
2d4b7a6
Merge pull request #421 from dephillipsmichael/feature/AA-86
dephillipsmichael Nov 29, 2017
ff18483
Encapsulate functionality into "fill" methods to make it a lot easier…
dephillipsmichael Nov 30, 2017
78b3c62
Merge pull request #422 from dephillipsmichael/feature/AA-86
dephillipsmichael Nov 30, 2017
8828f31
Fixed critical bug with ConsentSharingStepLayout not setting the corr…
dephillipsmichael Dec 2, 2017
f1eb2ef
Removed redundant "toggle" type and made appropriate profile steps ma…
dephillipsmichael Dec 2, 2017
208ea05
Fixed unit tests
dephillipsmichael Dec 2, 2017
3eccc8a
Merge pull request #423 from dephillipsmichael/feature/AA-113
dephillipsmichael Dec 2, 2017
2862f42
Fixed consent sharing StepResult parsing and use in ConsentReview
dephillipsmichael Dec 2, 2017
4379448
Merge pull request #424 from dephillipsmichael/bug/AA-8
dephillipsmichael Dec 2, 2017
e20742d
fixed sharing scope bug
dephillipsmichael Dec 3, 2017
9c6209e
Merge pull request #425 from dephillipsmichael/bug/sharingScope
dephillipsmichael Dec 3, 2017
3e74052
added a button on the fail alert
dephillipsmichael Dec 3, 2017
83297fe
Merge skin into backbone
liujoshua Dec 4, 2017
ab150d7
Rename resource prefix
liujoshua Dec 4, 2017
faf2683
Add missing file
liujoshua Dec 4, 2017
c9b2653
Delete skin dir
liujoshua Dec 4, 2017
5c464f6
Rename styles
liujoshua Dec 4, 2017
1139b8d
Merge pull request #426 from dephillipsmichael/ok_button
liujoshua Dec 5, 2017
e08df31
Added protected access to constructors
dephillipsmichael Dec 9, 2017
fe6e9ba
Merge pull request #428 from dephillipsmichael/protected_methods
dephillipsmichael Dec 9, 2017
95288c7
Added dimension method
dephillipsmichael Dec 10, 2017
538eff1
Merge pull request #429 from dephillipsmichael/dimension_method
dephillipsmichael Dec 10, 2017
5800866
Mainly pushing to get rid of the bug created by the "if no title, the…
EricSiegNW Dec 10, 2017
1d62691
fix intruction typo in subtask.json as well
EricSiegNW Dec 10, 2017
81b1aa8
Merge pull request #430 from ResearchStack/feature/display_bug_typo_fix
dephillipsmichael Dec 10, 2017
a428028
Switched DateQuestionBody to use an EditText
dephillipsmichael Dec 11, 2017
5219ba8
Improvements to make it easier to customize Consent UI
dephillipsmichael Dec 11, 2017
2e70731
Merge pull request #431 from dephillipsmichael/feature/AA-96
dephillipsmichael Dec 11, 2017
ce86f02
Capitalize Next button
dephillipsmichael Dec 11, 2017
e02abf9
Merge pull request #432 from dephillipsmichael/bug/next_lowercase
dephillipsmichael Dec 11, 2017
42f1627
Merge remote-tracking branch 'rs/develop' into refactor-skin-into-bac…
liujoshua Dec 11, 2017
5409f0a
Merge pull request #427 from liujoshua/refactor-skin-into-backbone
liujoshua Dec 11, 2017
45128bc
made a few methods protected
dephillipsmichael Dec 12, 2017
ed0b6fc
Merge pull request #433 from dephillipsmichael/protected
dephillipsmichael Dec 12, 2017
d43e385
Added simple time format to prevent crashing
dephillipsmichael Dec 13, 2017
e66dc86
Re-organized FormStepLayout for easier sub-classing
dephillipsmichael Dec 13, 2017
850fee0
Merge pull request #434 from dephillipsmichael/timeFormat
dephillipsmichael Dec 13, 2017
ab8253b
Made ActiveStepLayout output dir accessible by any class
dephillipsmichael Dec 14, 2017
8e21310
Merge pull request #435 from dephillipsmichael/staticMethod
dephillipsmichael Dec 14, 2017
0a34a10
protected view pager
dephillipsmichael Dec 14, 2017
1db7997
Merge pull request #436 from dephillipsmichael/develop
dephillipsmichael Dec 14, 2017
de1fcaa
exposed constructor for onboarding section to allow sub-classes to pr…
dephillipsmichael Dec 15, 2017
25ec4ba
Merge pull request #437 from dephillipsmichael/protectedMethod
dephillipsmichael Dec 15, 2017
fc76e8b
Added integer step result finder
dephillipsmichael Dec 16, 2017
a72f6b8
Merge pull request #438 from dephillipsmichael/integerStepResultFinder
dephillipsmichael Dec 16, 2017
583f941
made step switcher be protected access
dephillipsmichael Dec 17, 2017
db1c25a
Merge pull request #439 from dephillipsmichael/protectedAccess
dephillipsmichael Dec 17, 2017
01fb451
Added functionality to include custom consent sections or not based o…
dephillipsmichael Dec 18, 2017
bc82fa0
Merge pull request #440 from dephillipsmichael/cusomtInclude
dephillipsmichael Dec 18, 2017
b3ea149
changed should include method params
dephillipsmichael Dec 20, 2017
4aa33a3
fixed unit tests
dephillipsmichael Dec 20, 2017
62353c1
Merge pull request #441 from dephillipsmichael/feature/AA-116
dephillipsmichael Dec 20, 2017
c3a6e43
Added findString for task result, added isMultipleLines in textfield …
dephillipsmichael Dec 21, 2017
2879ce9
Merge pull request #442 from dephillipsmichael/feature/editProfile
dephillipsmichael Dec 21, 2017
11f2f26
added number result support in stepresulthelper
dephillipsmichael Jan 1, 2018
cf38289
Merge pull request #443 from dephillipsmichael/numberResult
dephillipsmichael Jan 1, 2018
f87e9a8
added step body getter
dephillipsmichael Jan 5, 2018
f59189e
Merge pull request #446 from dephillipsmichael/getter
dephillipsmichael Jan 5, 2018
da4cbf8
Updates for easier sub-classing
dephillipsmichael Jan 6, 2018
326b264
Merge pull request #447 from dephillipsmichael/easierSubclassing
dephillipsmichael Jan 6, 2018
d0851c6
Added getStringResourceId support
dephillipsmichael Jan 6, 2018
06bca87
Merge pull request #448 from dephillipsmichael/stringRes
dephillipsmichael Jan 6, 2018
bff5a89
Uptime and timestamp matching iOS
liujoshua Jan 8, 2018
592044e
toString for Result and StepResult for logging
liujoshua Jan 8, 2018
01cf387
Added spoken instruction map to match iOS JSON functionality
dephillipsmichael Jan 10, 2018
afed8c5
Added LogExt logging
dephillipsmichael Jan 10, 2018
b76daf2
Merge pull request #450 from dephillipsmichael/feature/AA-90
dephillipsmichael Jan 10, 2018
044d486
Update device motion recording to match iOS
liujoshua Jan 8, 2018
a9dfa93
Remove logging of all sensor data
liujoshua Jan 10, 2018
f435e43
Fix recording of game/geomag rotation; stop recording accuracy changes
liujoshua Jan 11, 2018
2660b32
Add reference coordinate system for attitude
liujoshua Jan 11, 2018
bc3aa8d
Started work creating a RecorderService
dephillipsmichael Jan 11, 2018
5bfec83
Make AccelerometerRecorder extend DeviceMotionRecorder. Fix millis to…
liujoshua Jan 11, 2018
528bfe3
add comments to clarify long/doubles
liujoshua Jan 11, 2018
2c5abba
Add links for reference. Add uncalibrated sensor data
liujoshua Jan 11, 2018
7c14f64
Merge remote-tracking branch 'rs/develop' into feature/archive-result…
liujoshua Jan 12, 2018
e9028c6
Add @CallSuper support annotation
liujoshua Jan 12, 2018
a9e4144
Merge pull request #449 from liujoshua/feature/archive-result-format
liujoshua Jan 12, 2018
7bb84c3
Finished RecorderService and tested all existing ActiveStepLayouts.
dephillipsmichael Jan 13, 2018
2c939f5
Merge branch 'develop' of https://github.com/ResearchStack/ResearchSt…
dephillipsmichael Jan 13, 2018
e602f3c
Added new broadcasts
dephillipsmichael Jan 13, 2018
dfe995c
Fixed unit tests
dephillipsmichael Jan 13, 2018
5df31dd
Rename onBroadcastContextRequested to getBroadcastContext
liujoshua Jan 15, 2018
8d9b714
TTS json keys to constant
liujoshua Jan 15, 2018
9ae8828
Merge pull request #451 from dephillipsmichael/feature/AA-140
liujoshua Jan 16, 2018
8506467
Add survey item for email-only sign up and sign in
liujoshua Jan 4, 2018
c2dc927
Removed "Are you sure" from first step discard
dephillipsmichael Jan 25, 2018
2c1ddd0
Merge pull request #453 from dephillipsmichael/bug/firstStepDiscard
dephillipsmichael Jan 25, 2018
2904c68
Merge branch 'develop' of https://github.com/ResearchStack/ResearchSt…
dephillipsmichael Jan 25, 2018
56f94b5
Added support for background sound
dephillipsmichael Jan 26, 2018
94b3199
fixed hold onto ref bug
dephillipsmichael Jan 26, 2018
385ac50
LocationRecorder option for relative coordinates
DwayneJengSage Jan 26, 2018
cb9d5f7
Merge pull request #455 from DwayneJengSage/develop
liujoshua Jan 26, 2018
4d742f9
Merge pull request #454 from dephillipsmichael/feature/AA-262
liujoshua Jan 26, 2018
f4a1d3d
Protected access
dephillipsmichael Jan 27, 2018
6bb5719
Merge pull request #456 from dephillipsmichael/protectedAccess
dephillipsmichael Jan 27, 2018
7144a47
Refactored to proper "Form" label. Added "autoFocusFirst" to FormSur…
dephillipsmichael Jan 28, 2018
cd23771
Merge pull request #457 from dephillipsmichael/feature/AABP-30
dephillipsmichael Jan 28, 2018
f415390
Update LocationRecorder timestamps to match iOS ResearchKit
DwayneJengSage Jan 30, 2018
c40a04d
Merge pull request #458 from DwayneJengSage/dev2
liujoshua Jan 30, 2018
38a6a8b
Provide default no-op implementation for email sign in
liujoshua Jan 30, 2018
196eed7
Added email text survey item
dephillipsmichael Jan 31, 2018
546bb06
Removed old code
dephillipsmichael Jan 31, 2018
1e05660
Merge pull request #459 from dephillipsmichael/feature/emailSurveyItem
dephillipsmichael Jan 31, 2018
ef66f9f
Merge branch 'develop' of https://github.com/ResearchStack/ResearchSt…
dephillipsmichael Jan 31, 2018
76694de
Removed result if step is requesting it be set to "null"
dephillipsmichael Jan 31, 2018
a6307a3
Added SerializableUtils for saving serializable objects
dephillipsmichael Feb 1, 2018
778f9d1
Fixed spelling error
dephillipsmichael Feb 1, 2018
9d25cf4
Added step option to intent factory
dephillipsmichael Feb 1, 2018
db7dbc2
Added fix for finding a step within a subtask step
dephillipsmichael Feb 1, 2018
66d8b28
Discard results when task moved backwards to finish
dephillipsmichael Feb 1, 2018
84c214f
Added max length to integer and text fields
dephillipsmichael Feb 1, 2018
f5272bd
Merge pull request #460 from dephillipsmichael/bug/AA-73
dephillipsmichael Feb 1, 2018
435191d
Merge branch 'develop' of https://github.com/ResearchStack/ResearchSt…
dephillipsmichael Feb 1, 2018
6db6c16
added protected access to methods
dephillipsmichael Feb 1, 2018
e89bc0d
LogExt for logging
dephillipsmichael Feb 1, 2018
742b89f
Merge pull request #461 from dephillipsmichael/feature/email-only-auth
dephillipsmichael Feb 1, 2018
00f8b79
protected access
dephillipsmichael Feb 5, 2018
883eee8
Merge pull request #462 from dephillipsmichael/protectedAccess
dephillipsmichael Feb 5, 2018
ed0c511
Fixed crash bug when view task activity gets in a bad state
dephillipsmichael Feb 7, 2018
950971a
Merge pull request #463 from dephillipsmichael/bug/AABP-267
dephillipsmichael Feb 7, 2018
d3b9922
Added an interface for step layouts to get activity "onPause" callbacks
dephillipsmichael Feb 8, 2018
7a5e2a7
Merge pull request #464 from dephillipsmichael/bug/AABP-241
dephillipsmichael Feb 9, 2018
1101a7c
make view accessible
EricSiegNW Feb 12, 2018
d25191f
Fixed crash bug when tapping back button very quickly in a task
dephillipsmichael Feb 13, 2018
f34d253
Merge pull request #465 from dephillipsmichael/bug/AABP-297
dephillipsmichael Feb 13, 2018
8b3f062
Surface an isPaused condition so for layouts to check
EricSiegNW Feb 16, 2018
79d1947
Allow step layouts to know what action happened that sent the user there
dephillipsmichael Feb 16, 2018
fd915c8
Merge pull request #466 from dephillipsmichael/bug/AABP-254
dephillipsmichael Feb 16, 2018
4a55ce3
Generify returns of StepBody subclasses
liujoshua Feb 19, 2018
e535783
Initialize RecyclerView with its Adapter up front so we don't get ren…
liujoshua Feb 19, 2018
d9d7fbd
Merge remote-tracking branch 'rs/develop' into feature/clean-up
liujoshua Feb 19, 2018
8b60c6a
Merge pull request #467 from liujoshua/feature/clean-up
liujoshua Feb 19, 2018
0af6c4f
Fixed bug where date text could be edited by keyboard inappropriately
dephillipsmichael Feb 28, 2018
9e63553
Merge pull request #469 from dephillipsmichael/bug/AABP-265
dephillipsmichael Feb 28, 2018
d6d0ca0
Added notification channel on android OS >= 26
dephillipsmichael Mar 3, 2018
c5f0cd5
Add font scaling to TextTuils
EricSiegNW Mar 3, 2018
8fbcd1d
Recorder service notification channel
liujoshua Mar 16, 2018
64c25f2
Merge pull request #471 from liujoshua/feature/register-notification-…
liujoshua Mar 16, 2018
9826cf8
Don't allow DataLogger writes after stop or cancelled
liujoshua Mar 23, 2018
94d03f0
Merge pull request #472 from liujoshua/feature/data-logger-race-condi…
liujoshua Mar 26, 2018
e0a0f08
update minSDK version to 19, remove explicit build tools version
EricSiegNW Apr 9, 2018
cff014b
Merge pull request #473 from EricSiegNW/develop
EricSiegNW Apr 9, 2018
62bc070
update build tools to 27.0.3, update travis
EricSiegNW Apr 9, 2018
59b4d0a
Fix crash in notifications on Pre-Lollipop devices
liujoshua Apr 10, 2018
f2b4253
Organize imports
liujoshua Apr 10, 2018
1ef85f6
Update to gradle 4.4
liujoshua Apr 10, 2018
77c76ff
Merge branch 'develop' into bug/notificationChannel
liujoshua Apr 10, 2018
96ddd22
Merge pull request #474 from EricSiegNW/update-build-tools
liujoshua Apr 10, 2018
04c6f8b
Merge pull request #470 from dephillipsmichael/bug/notificationChannel
liujoshua Apr 10, 2018
e5c5118
Merge pull request #475 from liujoshua/bugfix/crash-on-kitkat-and-bel…
liujoshua Apr 10, 2018
4bb7522
Add request phon sign in method
EricSiegNW Apr 25, 2018
34af35c
Merge pull request #476 from EricSiegNW/request_phone_sign_in
EricSiegNW Apr 27, 2018
7351166
Enable warnings for RxLint
liujoshua Jun 11, 2018
bd718a5
Merge pull request #477 from liujoshua/feature/warning-for-rxlint
liujoshua Jun 11, 2018
bbecde0
Replace joda-time with Android version
liujoshua Jul 21, 2018
62a77e0
Merge pull request #479 from liujoshua/feature/replace-joda-with-andr…
liujoshua Aug 16, 2018
64a6e12
Update for studio 3.2
liujoshua Oct 5, 2018
40e0af9
Travis sdk and tools update
liujoshua Oct 5, 2018
a6a5210
build tools 28.0.2
liujoshua Oct 5, 2018
03b5ef4
Merge pull request #481 from ResearchStack/feature/studio-3_2
liujoshua Oct 6, 2018
040f402
Update for survey step type
dephillipsmichael Oct 10, 2018
a535292
Visibility modifiers
dephillipsmichael Oct 15, 2018
6a411d8
Smart Task organization refactor
dephillipsmichael Oct 15, 2018
24bdf7c
Added abstract function to get license file
Oct 15, 2018
302b350
Update MockResourceManager to include a method for getLicense()
Oct 15, 2018
9216bd8
Added serialized fields for additional smart survey task functionality
dephillipsmichael Oct 16, 2018
8c31b59
Changes to support new version of surveys
dephillipsmichael Oct 16, 2018
bba14b6
Merge branch 'motivation' of https://github.com/dephillipsmichael/Res…
dephillipsmichael Oct 16, 2018
2150162
Reverted changes
dephillipsmichael Oct 16, 2018
1e506ab
Merge pull request #484 from eyeshoe/profile_feature
liujoshua Oct 16, 2018
010cd56
Merge pull request #485 from dephillipsmichael/motivation
dephillipsmichael Oct 16, 2018
b7c7ceb
Updates suggested/required for Studio 3.3 update
liujoshua Jan 15, 2019
867d6d9
Merge pull request #493 from liujoshua/feature/update-studio-3.3
liujoshua Jan 17, 2019
2925398
Add a null check in logAccessTime so that PinCodeActivity doesn't cra…
nategbrown9 Apr 3, 2019
65f1347
Merge pull request #501 from nategbrown9/crf_module_support
liujoshua Apr 4, 2019
69a94d8
Fix null PackageManager in LocationRecorderTest
liujoshua Jun 3, 2019
727b26e
Merge pull request #511 from ResearchStack/task/fix-test-failure
liujoshua Jun 3, 2019
3a4cdda
Integration enahancements
PriyankaKambleTouchcore Jul 16, 2019
97496f5
TextAnswer format updated
PriyankaKambleTouchcore Jul 16, 2019
b738952
ChoiceAnswer format updated
PriyankaKambleTouchcore Jul 16, 2019
8b074c1
Choice answer format changes
PriyankaKambleTouchcore Jul 17, 2019
7d6eb55
MultipleDropDownAnswerFormat and MultipleDropDownQuestionBody configu…
PriyankaKambleTouchcore Jul 18, 2019
d3c0e75
Added custom code
PriyankaKambleTouchcore Jul 18, 2019
880bfa8
remove unused imports
PriyankaKambleTouchcore Jul 18, 2019
a702148
Customized researchstack
PriyankaKambleTouchcore Aug 12, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: android
# Required to run retrolambda
jdk:
- oraclejdk8

android:
components:
# Uncomment the lines below if you want to
Expand All @@ -14,10 +14,10 @@ android:
# The BuildTools version used by your project
# per travis-ci issue #5036, add '-tools' to use build-tools-23.0.2
- tools
- build-tools-23.0.2
- build-tools-28.0.2

# The SDK version used to compile your project
- android-23
- android-28

# Additional components go here.
- extra-android-support
Expand All @@ -31,12 +31,7 @@ before_install:
- export JAVA8_HOME=/usr/lib/jvm/java-8-oracle
- export JAVA_HOME=$JAVA8_HOME

before_script:
# Tests crash if a local.properties file isn't present; this file is not kept
# under version control. Create an empty local.properties for testing.
- touch local.properties

script: ./gradlew test
script: ./gradlew build

# Uncomment line below to add post-test scripts.
# after_script:
Expand Down
4 changes: 1 addition & 3 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,13 @@ Then add the following entry to your dependencies in your app build.gradle:
dependencies {
...
compile 'org.researchstack:backbone:VERSION'
// or (if using Skin, you don't need Backbone since it is included)
compile 'org.researchstack:skin:VERSION'
...
}
```

## Running tests

Tests are located in the /backbone/src/test or /skin/src/test folder. Run the tests in Android Studio by right clicking on 'backbone' or 'skin' and clicking "Run 'All Tests'".
Tests are located in the /backbone/src/test folder. Run the tests in Android Studio by right clicking on 'backbone' or 'skin' and clicking "Run 'All Tests'".

## Code Style

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Documentation is written and maintained using [Javadoc](http://www.oracle.com/te
Add one or both to your app/build.gradle:
```groovy
compile 'org.researchstack:backbone:1.1.1'
compile 'org.researchstack:skin:1.1.1'
```

You may also need to add the following source repos to your project's build.gradle:
Expand Down
6 changes: 6 additions & 0 deletions backbone/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
23 changes: 23 additions & 0 deletions backbone/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>backbone</name>
<comment>Project backbone created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions backbone/.settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
connection.project.dir=..
eclipse.preferences.version=1
99 changes: 70 additions & 29 deletions backbone/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
apply plugin: 'com.android.library'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'

version = '1.1.2'
version = '2.0.0-SNAPSHOT'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
targetSdkVersion 23
minSdkVersion 19
targetSdkVersion 28
versionCode 6
versionName version
vectorDrawables.useSupportLibrary = true

multiDexEnabled true
}
buildTypes {
release {
Expand All @@ -36,8 +37,13 @@ android {
resourcePrefix 'rsb_'
}

// Reading in data from local.properties is used here to grab key/value pairs used below in ext
// Originally, it read the local.properties, but this file should never be committed to vcs,
// So check if it exists first, because some projects may not care about it
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
if (project.rootProject.file('local.properties').exists()) {
properties.load(project.rootProject.file('local.properties').newDataInputStream())
}

ext {
bintrayRepo = 'ResearchStack'
Expand All @@ -54,6 +60,8 @@ ext {

libraryVersion = version

// This grabs the key/value pairs from local.properties and assigns them to variables that
// can be used in gradle, and specifically, the mavenInstaller below
userOrgName = 'researchstack'
developerId = properties.getProperty("bintray.user")
developerName = properties.getProperty("bintray.developerName")
Expand All @@ -65,27 +73,57 @@ ext {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:cardview-v7:23.2.1'
compile 'com.android.support:preference-v14:23.2.1'
compile 'com.android.support:design:23.2.1'
compile 'com.google.code.gson:gson:2.4'
compile 'io.reactivex:rxjava:1.1.3'
compile 'io.reactivex:rxandroid:1.1.0'
compile 'com.jakewharton.rxbinding:rxbinding:0.2.0'
compile 'com.jakewharton.rxbinding:rxbinding-support-v4:0.2.0'
compile 'com.jakewharton.rxbinding:rxbinding-appcompat-v7:0.2.0'
compile 'com.jakewharton.rxbinding:rxbinding-design:0.2.0'
compile 'com.github.PhilJay:MPAndroidChart:v2.2.3'

compile 'com.scottyab:aes-crypto:0.0.3'
compile 'co.touchlab.squeaky:squeaky-query:0.4.0.0'
apt 'co.touchlab.squeaky:squeaky-processor:0.4.0.0'
compile 'net.zetetic:android-database-sqlcipher:3.5.4@aar'
testCompile 'junit:junit:4.12'
testCompile 'org.robolectric:robolectric:3.0'
testCompile 'org.mockito:mockito-core:1.10.19'
implementation fileTree(dir: 'libs', include: ['*.jar'])

// These are all support libraries that should be updated when Google releases new ones
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:preference-v14:28.0.0'
implementation 'com.android.support:support-annotations:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'

implementation 'com.android.support:multidex:1.0.3'

api 'io.reactivex:rxjava:1.3.0'
implementation 'nl.littlerobots.rxlint:rxlint:1.6.1'
implementation 'com.google.code.gson:gson:2.8.2'

implementation 'com.cronutils:cron-utils:3.1.2', {
exclude group: 'joda-time', module: 'joda-time' // this can cause dex errors due to duplicate joda times
}
api 'net.danlew:android.joda:2.9.9.4' // android specific joda time, jre version causes perf problems
testImplementation 'joda-time:joda-time:2.9.9'

implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'

implementation 'io.reactivex:rxandroid:1.2.1'

implementation 'com.jakewharton.rxbinding:rxbinding:0.4.0'
implementation 'com.jakewharton.rxbinding:rxbinding-support-v4:0.4.0'
implementation 'com.jakewharton.rxbinding:rxbinding-appcompat-v7:0.4.0'
implementation 'com.jakewharton.rxbinding:rxbinding-design:0.4.0'

// Used to display UploadData and study data in various chart formats
api 'com.github.PhilJay:MPAndroidChart:v2.2.3'

implementation 'com.scottyab:aes-crypto:0.0.3'
api 'co.touchlab.squeaky:squeaky-query:0.4.0.0'
annotationProcessor 'co.touchlab.squeaky:squeaky-processor:0.4.0.0'
api 'net.zetetic:android-database-sqlcipher:3.5.4@aar'

// Libraries to help with unit testing
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.8.9'
testImplementation 'org.powermock:powermock-api-mockito2:1.7.1'
testImplementation 'org.powermock:powermock-module-junit4-rule-agent:1.7.1'
testImplementation 'org.powermock:powermock-module-junit4-rule:1.7.1'
testImplementation 'org.powermock:powermock-module-junit4:1.7.1'

testImplementation 'org.robolectric:robolectric:3.5'
}

group = publishedGroupId // Maven Group ID for the artifact
Expand Down Expand Up @@ -137,6 +175,9 @@ if (project.hasProperty("android")) { // Android libraries
task javadoc(type: Javadoc) {
failOnError false
source = android.sourceSets.main.java.srcDirs
// Exclude generated files
exclude '**/BuildConfig.java'
exclude '**/R.java'
}

afterEvaluate {
Expand Down
6 changes: 6 additions & 0 deletions backbone/lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="MissingTranslation" severity="informational"/>
<issue id="RxLeakedSubscription" severity="warning"/>
<issue id="RxSubscribeOnError" severity="warning"/>
</lint>
21 changes: 20 additions & 1 deletion backbone/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
<manifest package="org.researchstack.backbone" />
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.researchstack.backbone">

<!-- We allow users to secure their data using their fingerprint see -->
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>

<!-- ActiveSteps may vibrate the phone on start and on finish -->
<!-- Apps should include this if you want ActiveSteps to vibrate -->
<!-- <uses-permission android:name="android.permission.VIBRATE"/> -->

<!-- Used to track location updates for walking tasks to get length walked, speed, etc -->
<!-- Apps should include this in their main AndroidManifest.xml if using location walking tasks -->
<!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />-->
<!--<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />-->

<!-- Needs to be added if your app uses an task with AudioStep -->
<!--<uses-permission android:name="android.permission.RECORD_AUDIO" /> -->

</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.researchstack.skin;
package org.researchstack.backbone;

import android.view.MenuItem;

Expand Down
Loading