298 Commits

Author SHA1 Message Date
mike cullerton
9b8fd0af81 Test for some redirects we perform for the new code. 2021-02-19 10:55:44 -05:00
mike cullerton
81457c2b7c We can now limit the list of studies to a particular user.
Created a new route /user_studies in __init__.py that takes a uva_id.
Pulled out some dupllcate code into a new method; render_study_template

In index.html, added a pulldown to select the user. I pull the list of users from the studies so we only show users that have studies.
Added a script to process the selection.
2021-02-19 10:55:21 -05:00
mike cullerton
60bd0f22ef Fix for LDAP lookup issue where we had the wrong url on testing. 2021-02-19 10:50:13 -05:00
mike cullerton
85bb0bf37c Merge branch 'dev' of https://github.com/sartography/protocol-builder-mock into dev 2021-02-17 10:50:33 -05:00
mike cullerton
f0803990e9 fixed url for ldap lookup. Had hardcoded localhost 2021-02-17 10:49:58 -05:00
Dan
3364619267 Removing deploy step from Travis, as we are moving to Quay.io
for this process.
Dropping the deloy.sh as it is no longer in use.
Updating the docker file to remove denendency on cr-connect-python-base
2021-02-11 16:07:28 -05:00
Dan
ccdc878bf1 Merge branch 'pb-mock-ldap-search-101' into dev 2021-01-21 12:26:11 -05:00
Dan
6d5f25ee53 Allow overriding the ldap url using the environment. 2021-01-21 12:25:01 -05:00
Dan
a8a7061abc README updates 2021-01-20 11:03:14 -05:00
mike cullerton
4e95dd6578 Simple test of the Python part of searching LDAP for users 2021-01-06 11:17:41 -05:00
mike cullerton
6b88f6ff91 Added ldap3 2021-01-06 11:16:57 -05:00
mike cullerton
f235339aa1 Added route for search_ldap 2021-01-06 11:16:36 -05:00
mike cullerton
9c99ff29ed added LDAP_URL and LDAP_TIMEOUT_SEC 2021-01-06 11:16:12 -05:00
mike cullerton
2a5c575b32 Import jquery.min.js
Added script for livesearch
2021-01-06 11:15:46 -05:00
mike cullerton
1138d45183 The 3 files from cr-connect ldap.
Most of my changes are in ldap_service. I added users_as_json method, commented out an unused method, and created my own search string.
	The model in ldap.py is unchanged.
	In ldap_response, I added a fake entry to test multiple returned values.
2021-01-06 11:14:07 -05:00
Aaron Louie
e6c2f5a628
Merge pull request #33 from sartography/feature/limit_investigator_options
Sponsor List Endpoint
2020-08-25 11:00:33 -04:00
Dan Funk
b2b8e278db Adding a sponsors endpoint 2020-08-25 10:26:29 -04:00
Dan Funk
a706e0ecab
Merge branch 'testing' into feature/limit_investigator_options 2020-08-19 08:36:09 -04:00
Dan Funk
983422ae05 fixing a bug that would prevent the proper listing of personnel options types. 2020-08-19 08:25:03 -04:00
Dan Funk
134c4dbc42
Merge pull request #31 from sartography/dev
dev to testing
2020-08-17 16:40:15 -04:00
Dan Funk
b8b8dd00b0
Merge pull request #30 from sartography/feature/limit_investigator_options
Feature/limit investigator options
2020-08-17 16:34:34 -04:00
Dan Funk
f63dfa82b6 Filter out options for adding investigators to ones that have not already been used, exceit for AS_C and SI which can have multiple of the same type. 2020-08-17 16:29:23 -04:00
Aaron Louie
71fc77a189
Merge pull request #29 from sartography/dev
Dev --> Testing
2020-08-14 11:15:43 -04:00
Aaron Louie
7c17b248bb Merge branch 'feature/sponsors' into dev 2020-08-14 09:39:19 -04:00
Aaron Louie
45a99d296d Adds environment variable option for loading sponsors via Docker. Prevents duplicate sponsors from being loaded. 2020-08-14 09:39:05 -04:00
Aaron Louie
561af4ba58
Merge pull request #28 from sartography/dev
Dev --> Testing
2020-08-13 16:51:05 -04:00
Aaron Louie
51231d37f5
Merge pull request #27 from sartography/feature/sponsors
Feature/sponsors
2020-08-13 15:24:31 -04:00
Aaron Louie
0e4cd7d130 Adds/edits sponsors for a given study. 2020-08-13 15:19:55 -04:00
Aaron Louie
18f557549f Hides hidden fields. Adds highlight class. Allows HTML tags in alert messages and form detail text. 2020-08-13 15:18:51 -04:00
Aaron Louie
459c3d508d Switches to Python 3.8 2020-08-13 14:54:21 -04:00
Aaron Louie
be441a7c53 WIP: Adds sponsor model, mock sponsors list, and form for adding sponsors to a study. 2020-08-12 19:15:16 -04:00
Aaron Louie
f1eab906b6
Merge pull request #26 from sartography/dev
Fixes checkbox field width problems
2020-07-22 17:27:11 -04:00
Aaron Louie
86101375b2 Fixes checkbox field width problems 2020-07-22 17:22:28 -04:00
Aaron Louie
4b736a340f
Merge pull request #25 from sartography/dev
Dev -> Testing
2020-07-14 09:45:43 -04:00
Aaron Louie
18936ad5a3
Merge pull request #21 from sartography/staging
Merge pull request #17 from sartography/dev
2020-07-14 09:25:41 -04:00
Aaron Louie
49ddb4cd79 Updates package hashes 2020-07-05 10:26:46 -04:00
Aaron Louie
bb9a117f53 Tweaks formatting 2020-07-05 10:26:34 -04:00
Aaron Louie
2cb993a71e
Merge pull request #20 from sartography/testing
Merge pull request #16 from sartography/dev
2020-06-30 17:08:09 -04:00
Aaron Louie
e9248e3a29
Merge pull request #24 from sartography/dev
Dev --> Testing
2020-06-30 17:01:32 -04:00
Aaron Louie
07444f8c36 Moves delete column to right side 2020-06-30 14:58:29 -04:00
Aaron Louie
d5a933d951 Fixes #23 - Displays confirmation screen before deleting a study or investigator 2020-06-30 14:48:11 -04:00
Aaron Louie
6190a5c110 Merge branch 'testing' into dev 2020-06-30 10:45:51 -04:00
Aaron Louie
3893f56176
Merge pull request #22 from sartography/dev
Goes back to python base
2020-06-30 10:34:20 -04:00
Aaron Louie
1344300230 Goes back to python base 2020-06-16 22:41:27 -04:00
Aaron Louie
11c7d0d24b
Merge pull request #19 from sartography/dev
Dev --> Testing
2020-06-16 16:34:12 -04:00
Aaron Louie
2d2fad73dd Fixes WTForms deprecation warnings 2020-06-16 15:50:46 -04:00
Aaron Louie
e2aa7c3781 Adds sonarcloud and coverage reporting. Removes duplicate config file. 2020-06-16 14:45:41 -04:00
Aaron Louie
67b05032cb Removes dependence on cr-connect-python-base for now 2020-06-16 14:23:27 -04:00
Aaron Louie
195063875c Disables AWS SQS message to refresh DCOS 2020-06-16 11:09:36 -04:00
Aaron Louie
ad3ead9de4 Merge branch 'rrt/dev' into dev 2020-06-13 12:51:01 -04:00