Commit Graph

124 Commits

Author SHA1 Message Date
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
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