135 Commits

Author SHA1 Message Date
danfunk
44fb334367 fixes to logging 2023-05-10 12:38:07 -04:00
danfunk
5f4db5e5fd remove logging file altogether. 2023-05-10 12:28:00 -04:00
danfunk
4fcb1298e2 Reduce noise from Spiffworkflow in the logs. 2023-05-10 11:49:49 -04:00
jpitts-uva
8bbf28a44d Modified PB_MIN_DATE 2022-10-17 13:44:00 -04:00
jpitts-uva
33016005c2 Filtering of studies is now by creation date instead of modified date. 2022-09-15 15:36:17 -04:00
mike cullerton
7c9ccac8d2 Add new PB API endpoint for Pre Reviews. 2022-06-20 11:24:54 -04:00
mike cullerton
1b4821d2b9 Use a new INSTANCE_NAME variable for this, instead of SERVER_NAME 2022-05-17 09:59:33 -04:00
Dan
8df20977c3 Missing a valid user name and password for git. 2022-04-12 15:01:10 -04:00
Dan
a401c41b23 Setting a minimum date for which to import studies.
Merging in code to improve performance of calculating percent complete for a study.
Assureing we have a primary investigator for the front page (another merge)
2022-03-18 15:27:45 -04:00
mike cullerton
cb65a7dc41 Add booleans for displaying push/merge buttons
*** WIP ***
Still need to add some tests for this.
Committing so we can work on the frontend
2022-03-02 12:03:08 -05:00
mike cullerton
10880d6354 Modify default sender for emails 2022-02-25 08:38:40 -05:00
Dan Funk
b91372171c
Merge pull request #454 from sartography/git-integration-fixes-596
Git integration fixes #596
2022-02-17 12:15:13 -05:00
Dan
7a91363db1 By default the system will start up the scheduled tasks, which is usually what you want, but in development
it can be kind of irritating for this stuff to be spinning up when you are trying to debug something, so just set
PROCESS_WAITING_TASKS to false in instance/config.py and voila!!
2022-02-15 11:06:11 -05:00
mike cullerton
88b662ea38 modified get_remote_url to use configuration, instead of hard-coding the remote host 2022-02-11 12:17:32 -05:00
Dan
4f2602c2f8 Assure sync_file_root can be set from an environment variable. 2022-02-11 10:19:25 -05:00
Dan
1b993ea227 updating readme 2022-02-11 09:47:49 -05:00
mike cullerton
3f856355e2 Merge branch 'git-integration-596' into feature/spec_files_wthout_db
# Conflicts:
#	config/testing.py
#	crc/services/lookup_service.py
2022-02-08 10:38:03 -05:00
mike cullerton
9a98b10073 Three tests; get_repo, _get_repo, and push_to_remote 2022-02-04 14:04:52 -05:00
Dan
6765afbd02 WIP - Move the categories and specifications out of the database. 2022-02-04 13:51:39 -05:00
mike cullerton
21b5d034e2 authentication
variable name changes for readability
removed unused code
2022-02-02 14:11:41 -05:00
Dan
4ec6e403f5 1. Created a UserFileService, so it's clear what we use when for File Services, UserFiles, SpecFiles, and ReferenceFiles each function differently.
2. Reference Files and Spec Files are written to disk, they do not exist in the database at all.
2022-02-02 12:59:56 -05:00
mike cullerton
070c3cfd5d *** WIP ***
New API endpoints, and associated methods.
Services for the new endpoints
Minimal test
2022-02-01 10:49:35 -05:00
mike cullerton
c9b7d95a83 *** WIP ***
Beginning of Git integration
- added gitpython to Pipfile
- started additions for api, model, service, and a test
2022-01-28 16:11:36 -05:00
Dan Funk
97c29bf77c
Merge pull request #449 from sartography/files-to-filesystem-572
Files to filesystem 572
2022-01-26 10:11:26 -05:00
Dan Funk
e033acb38c
Merge branch 'dev' into fix-admin-ids 2022-01-24 16:37:15 -05:00
mike cullerton
0617b770a2 Removed Aaron and Carlos from default admin ids. Added myself. 2022-01-24 11:37:02 -05:00
mike cullerton
65345a8e91 We can now set our own user_id in instance.config so that user dhf8r isn't always logged in. 2022-01-21 14:42:36 -05:00
Dan
f815add699 1. Add a default directory for the location of SYNC files.
2. Added a last_updated column to the lookup table
3. The Lookup service now uses the above, and compares it to the actual file date, we can then rebuild the lookup if needed.
4. That 755 migration loads up the models, so when you change the models, the migration starts to fail.  Not really sure what to do here, but modify the migration while we are in process.
2022-01-20 13:05:58 -05:00
mike cullerton
d83f28e1a7 Pushed so Dan can play 2022-01-18 15:55:49 -05:00
mike cullerton
86a6039dc8 *** WIP ***
**Many** tests are failing!

Committing so I can merge dev into this branch
2022-01-06 11:46:54 -05:00
Dan
7b02f46403 During validation, options were not being handled correctly for certain types of lookups. 2021-11-17 13:38:41 -05:00
Dan
c25d173606 Set the default level of logging to be INFO, not DEBUG, we don't want everyone elses debug information. 2021-11-15 13:39:42 -05:00
mike cullerton
c7147274f0 Resolving issues from code review 2021-11-10 17:43:34 -05:00
mike cullerton
0e8c4580ed Moved to instance/config 2021-11-10 17:18:33 -05:00
mike cullerton
748c80964f Don't need the .strip('/') for the UVA urls 2021-11-09 13:09:01 -05:00
mike cullerton
d584e735ec Possible way to switch between real and mock PB 2021-11-09 13:03:41 -05:00
mike cullerton
fe502ad306 Added easy way to switch back and forth between PB urls 2021-11-09 10:29:23 -05:00
mike cullerton
8be9a1968b configure logging 2021-11-03 11:21:39 -04:00
mike cullerton
e22a9e7173 Cleanup, and added comments about the 2 sets of URLs 2021-11-02 15:32:43 -04:00
mike cullerton
dd951b279b Migrated the remaining URLs 2021-11-02 14:06:34 -04:00
mike cullerton
b80a2d181c Changed PB_BASE_URL and PB_USER_STUDIES_URL for testing move to production 2021-11-02 12:01:06 -04:00
mike cullerton
0ef33aae00 Change default From field for emails to uvacrconnect@virginia.edu 2021-10-01 14:02:37 -04:00
Dan
2a1d531b5e adding back in a default port, not sure how this might be interacting badly with mesosphere, but this commit maybe caused the problem? 2021-07-22 18:16:02 -04:00
Dan
f6612a65d5 Creating a SERVER_NAME environment variable that should help in cases where we don't have an http request (ie, a scheduled task is executing workflows) but we still want to create emails and do other things that tend to be based on a request. SERVER_NAME is a standard Flask config setting that we must have dropped along the way somewhere. 2021-07-22 17:40:19 -04:00
mike cullerton
9690c69b6c added check_study method to protocol_builder service for new endpoint 2021-07-02 15:25:33 -04:00
mike cullerton
1f67f55275 Fixed definition for FRONTEND and BPMN. I was overwriting the environmental variables. 2021-05-20 13:10:04 -04:00
mike cullerton
8d698cf275 Added explicit config values for FRONTEND and BPMN hostname and port.
Use these new values to define `CORS_ALLOW_ORIGINS`

Removed unused `FRONTEND_AUTH_CALLBACK`
2021-05-06 15:31:33 -04:00
mike cullerton
09a395fa34 Start for ticket 230 - Get Dashboard URL 2021-05-06 14:07:21 -04:00
mike cullerton
22b3230243 Added service get_irb_info to crc.services.protocol_builder.ProtocolBuilderService
Added environment variable `PB_IRB_INFO_URL` for new `get_irb_info` service
2021-05-01 15:20:47 -04:00
Dan
f7337f4e54 Merge branch 'dev' of github.com:sartography/cr-connect-workflow into dev 2021-02-11 11:17:56 -05:00