Commit Graph

108 Commits

Author SHA1 Message Date
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
Dan 2ada9f6f42 Private Ldap settings 2021-02-11 11:17:21 -05:00
mike cullerton e72be4a217 Needed to define SERVER_NAME so get_url worked properly. Made the port into a constant in config.default so I can import it into config.testing.
Dan, I'm not sure this is the best approach. Let me know if you want something different.
2021-01-26 09:35:35 -05:00
Kelly McDonald a8203ed01d save changes before refactor 2020-12-10 10:06:21 -05:00
Kelly McDonald c57b17df1e Add a robust way of adding an API key, update examples and documentation for swagger API and add the ability to completely sync the local system from the remote system. 2020-12-09 12:13:17 -05:00
Dan c14e50046c Merging in changes from Kelly. 2020-11-23 16:20:10 -05:00
Kelly McDonald 871c9e4409 Merge remote-tracking branch 'origin/dev' into dev 2020-11-23 16:12:30 -05:00
Kelly McDonald 255dca09ec Try out some options for SQLAlchemy engine to head off connectoin issues 2020-11-23 16:12:10 -05:00
Dan 5499adb10e Making more modifications to the default configuration to try and debug an issue with the database connections. 2020-11-23 15:33:51 -05:00
Dan 071c98d72e Some minor config tweaks to try and deal with some database timeout issues. 2020-11-19 11:25:58 -05:00
Kelly McDonald 5c4aae6802 Make sure we have PB_SPONSORS_URL defined 2020-11-05 10:45:51 -05:00
Carlos Lopez 2bd906e96d Update github routines to use branches 2020-08-14 11:04:22 -06:00
Dan Funk 31982f81ae Merge branch 'dev' into feature/documents_publishing
# Conflicts:
#	Pipfile.lock
2020-07-30 10:17:08 -04:00
Carlos Lopez fcb772c900 Reporting to Sentry all captured exceptions and enabling multiple environments 2020-07-19 16:40:33 -06:00
Carlos Lopez f4eb592b87 Extracting token to env var 2020-07-17 12:31:05 -06:00
Carlos Lopez 419d06c95b Updating file by latest version 2020-07-17 12:31:05 -06:00
Aaron Louie 1f454536e3 Renames TOKEN_AUTH_SECRET_KEY to SECRET_KEY 2020-07-10 11:26:15 -04:00
Carlos Lopez e947f40ec7 Merge branch 'rrt/dev' into feature/emails-enhancement 2020-06-17 20:10:11 -06:00
Carlos Lopez c730a7b1ec Sending subject and using default sender 2020-06-17 08:53:02 -06:00
Aaron Louie 720435113b Fixes typo in Alex's uid 2020-06-17 08:54:43 -04:00
Aaron Louie ffadc8e1b7 Merge branch 'rrt/staging' into rrt/production 2020-06-15 13:28:55 -04:00
Aaron Louie 81b6fc1490 Removes unnecessary extra config file 2020-06-13 23:34:12 -04:00
Aaron Louie c664a77beb Updates default Protocol Builder base URL 2020-06-13 11:56:00 -04:00
Aaron Louie cccff9b856 Fixes broken unit tests. But still broken. 2020-06-11 11:29:58 -04:00
Aaron Louie 1f5554d0d8 Merge branch 'rrt/dev' into feature/swagger_admin_authentication 2020-06-11 08:55:29 -04:00
Dan Funk 9281c962a6 Default to no ssl or tls 2020-06-08 14:46:36 -04:00
Dan Funk 777e429382 Merging production back into dev, because we got out of whack somehow. 2020-06-08 14:19:30 -04:00
Dan Funk 8cf420b781 Default mail user name and password to blank. 2020-06-08 14:15:56 -04:00