98 Commits

Author SHA1 Message Date
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
21b5d034e2 authentication
variable name changes for readability
removed unused code
2022-02-02 14:11:41 -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
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
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
Carlos Lopez
ed10cc1fa8 Enabling mail debugging 2020-06-08 11:59:09 -06:00