Commit Graph

  • a9b299cd98 Merge pull request #4881 from ryanpetrello/cli-ssh-example softwarefactory-project-zuul[bot] 2019-10-02 15:00:51 +00:00
  • 6c1488ed00 cli: warn users if they specify a missing file with @ Ryan Petrello 2019-10-02 10:28:04 -04:00
  • 1f62d223a2 Merge pull request #4880 from ryanpetrello/cli-install-rst softwarefactory-project-zuul[bot] 2019-10-02 14:04:05 +00:00
  • da23c4e949 template CLI install documentation into a separate file Ryan Petrello 2019-10-02 09:41:11 -04:00
  • 6d00d43273 prettier Keith Grant 2019-10-01 15:20:51 -07:00
  • 77b68e0eb7 use getAddedAndRemoved for saving instance groups Keith Grant 2019-10-01 14:37:42 -07:00
  • 945d100302 Merge pull request #4836 from fosterseth/fix-4334-active-user-removed softwarefactory-project-zuul[bot] 2019-10-01 19:59:11 +00:00
  • c0fd70f189 add mgmt cmd to check db connection Christian Adams 2019-10-01 14:39:46 -04:00
  • ba4e79fd3a update JT form tests Keith Grant 2019-10-01 11:03:36 -07:00
  • db0bd471c3 rename playbook vars to have collection_ AlanCoding 2019-10-01 13:45:07 -04:00
  • 616fe285fa Unbind keydown listeners when Alert modals are closed. mabashian 2019-10-01 12:38:43 -04:00
  • b4b2cf76f6 Refactor job secondary label assignment Jake McDermott 2019-10-01 10:33:47 -04:00
  • 4aeda635ff Checks to make sure that OAUTH2_PROVIDER key is returned by api in settings options before attempting to use it. This fixes a bug where setting ACCESS_TOKEN_EXPIRE_SECONDS and AUTHORIZATION_CODE_EXPIRE_SECONDS manually in a file was causing the settings page to render improperly. mabashian 2019-10-01 10:17:33 -04:00
  • 7e8c00ee24 Merge pull request #4864 from ryanpetrello/dont-stop-the-beat softwarefactory-project-zuul[bot] 2019-10-01 13:56:54 +00:00
  • 27c4e35ee4 warn loudly if celerybeat encounters AMQP connection issues Ryan Petrello 2019-10-01 09:32:22 -04:00
  • 80a17987ff Merge pull request #4854 from ryanpetrello/cli-login-formatting softwarefactory-project-zuul[bot] 2019-10-01 01:14:15 +00:00
  • 10a6a29a07 Merge pull request #4857 from ryanpetrello/kombu-dns softwarefactory-project-zuul[bot] 2019-09-30 21:35:29 +00:00
  • b80eafe4a1 make kombu DNS failures louder in the logs Ryan Petrello 2019-09-30 16:33:43 -04:00
  • 6c443a0a6a fix lint error Alex Corey 2019-09-30 16:38:51 -04:00
  • 55378c635e Makes template list responive Alex Corey 2019-09-30 15:20:43 -04:00
  • a4047e414f cli: make awx login respect the -f flag Ryan Petrello 2019-09-30 15:37:35 -04:00
  • d549877ebd Check for the existance of a UnifiedJobTemplate with the same webhook GUID Jeff Bradberry 2019-09-30 15:26:49 -04:00
  • 28a119ca96 re-worked unit test into 3 seperate unit tests, one for orphans, one for group members, and one for multi-group members Rebeccah 2019-09-27 15:43:52 -04:00
  • 758529d7dd added in unit test for org admin deleting user Rebeccah 2019-09-27 15:27:14 -04:00
  • 075d1a2521 removed superuser check since can_admin already checks that, and also added allow orphans so admins can delete orphaned users Rebeccah 2019-09-27 12:26:00 -04:00
  • 69924c9544 added in ability to delete a user if they are part of your organization Rebeccah 2019-09-27 11:02:47 -04:00
  • b858001c8f Merge pull request #4851 from ryanpetrello/fix-host-key-checking softwarefactory-project-zuul[bot] 2019-09-30 18:38:05 +00:00
  • 82be87566f improve host key checking configurability Ryan Petrello 2019-09-30 12:26:30 -04:00
  • 52b8b7676a Prevent text overlap on workflow nodes when an approval node is deleted mabashian 2019-09-30 13:38:46 -04:00
  • 204c05aa3b Change the webhook post-back payload to use the job UI url Jeff Bradberry 2019-09-30 11:55:40 -04:00
  • ac34b24868 Post the job or workflow url to the webhook service as part of the status Jeff Bradberry 2019-09-27 15:38:31 -04:00
  • ffe89820e3 Return to using ContentType.kind Jeff Bradberry 2019-09-27 15:37:28 -04:00
  • 062c4908c9 Modify the webhook debounce logic Jeff Bradberry 2019-09-27 15:21:02 -04:00
  • b6b70e55fb Address a variety of small review issues Jeff Bradberry 2019-09-27 15:07:23 -04:00
  • 6aa6471b7c Add help_text to the new fields Jeff Bradberry 2019-09-27 11:28:42 -04:00
  • e14d4ddec6 Add a doc template to the webhook key API view Jeff Bradberry 2019-09-27 10:44:49 -04:00
  • 84dcda0a61 Use job launch_type field to detect webhook jobs Jake McDermott 2019-09-27 09:27:06 -04:00
  • df24f5d28f Add a new launch_type of 'webhook' Jeff Bradberry 2019-09-26 16:11:28 -04:00
  • fea7f914d2 Avoid the use of CredentialType.kind Jeff Bradberry 2019-09-26 15:18:38 -04:00
  • d4c8167b1b add arguments to awxkit for webhooks on jt or wfjt Elijah DeLee 2019-09-24 16:35:40 -04:00
  • a4873d97d8 Raise a validation error if a credential is set while the service is not Jeff Bradberry 2019-09-24 17:27:19 -04:00
  • efe4ea6575 Fix the webhook receiver url for workflow jobs Jeff Bradberry 2019-09-20 23:02:05 -04:00
  • b415c31b4f Fix problems with posting to Gitlab's API Jeff Bradberry 2019-09-20 14:59:35 -04:00
  • e91462d085 Update the Webhook Credential help text tooltip Jeff Bradberry 2019-09-20 13:37:33 -04:00
  • e85ff83be6 Apply 403 alert fixes for Workflows, too Jake McDermott 2019-09-20 11:36:00 -04:00
  • d500c1bb40 Don't alert user of 403 errors for webhook key Jake McDermott 2019-09-20 11:23:03 -04:00
  • 885841caea Drop Bitbucket support Jeff Bradberry 2019-09-19 15:12:47 -04:00
  • f7396cf81a Always include selected webhook service in creation requests Jake McDermott 2019-09-19 13:44:01 -04:00
  • 286da3a7eb Posting webhook status now works Jeff Bradberry 2019-09-18 15:30:54 -04:00
  • 40b03eb6ef Enable the call to update_webhook_status Jeff Bradberry 2019-09-18 10:47:53 -04:00
  • c76c531b7a Provide a payload for the webhook status post-back Jeff Bradberry 2019-09-17 17:23:57 -04:00
  • 75d3359b6f make label consistent with help text Jake McDermott 2019-09-17 17:03:16 -04:00
  • 4ad5054222 Add logic to post the job status for webhooks back to the service Jeff Bradberry 2019-09-17 16:22:02 -04:00
  • aa34984d7c Fix the git ref extractor for Gitlab pull requests Jeff Bradberry 2019-09-11 12:09:26 -04:00
  • 08594682a4 stub options request in workflow add unit test Jake McDermott 2019-09-10 18:18:06 -04:00
  • d73abda5d1 Update the webhook receiver git ref extractor logic Jeff Bradberry 2019-09-10 17:27:32 -04:00
  • 3bc91f123e add trailing '/' to webhook urls Jake McDermott 2019-09-10 16:52:25 -04:00
  • 41ba5c0968 add webhook fields to workflow unit test mock Jake McDermott 2019-09-10 15:37:13 -04:00
  • e8e3a601b2 Pull out a git ref for each event type where we might care Jeff Bradberry 2019-09-10 14:44:59 -04:00
  • b96c03e456 represent webhooks on job lists Jake McDermott 2019-09-10 11:35:53 -04:00
  • 5e9448a854 always show launched by webhook details if there's a webhook guid Jake McDermott 2019-09-10 10:39:01 -04:00
  • 6b17e86f30 add launched-by-webhook details to job runs Jake McDermott 2019-09-10 10:24:49 -04:00
  • 00337990db add webhook fields to workflows Jake McDermott 2019-09-09 19:26:14 -04:00
  • 1a33ae61a7 use key icon for webhook cred Jake McDermott 2019-09-09 13:11:11 -04:00
  • 5f7bfaa20a support server-side webhook key generation Jake McDermott 2019-09-09 13:04:00 -04:00
  • 178a2c7c49 Disable the authentication classes for the webhook receivers Jeff Bradberry 2019-09-06 14:59:26 -04:00
  • 58e5f02129 Expose the new webhook fields in the job and workflow serializers Jeff Bradberry 2019-09-06 13:33:53 -04:00
  • dd6c97ed87 Include a message in the webhook response Jeff Bradberry 2019-09-06 11:48:29 -04:00
  • 7aa424b210 Make sure that the new webhook fields are populated when firing off a job Jeff Bradberry 2019-09-06 11:36:18 -04:00
  • e0a363beb8 issue network calls for setting and getting webhook key Jake McDermott 2019-09-05 19:32:42 -04:00
  • 48eb502161 wip Jake McDermott 2019-09-05 16:50:36 -04:00
  • 151de89c26 add webhook credential field Jake McDermott 2019-09-05 15:59:03 -04:00
  • f5c151d5c4 add webhook url field Jake McDermott 2019-09-04 18:25:35 -04:00
  • 17b34b1e36 add webhook service field Jake McDermott 2019-09-04 17:43:02 -04:00
  • ee1d118752 Add the webhook receiver url to the related urls in the serializers Jeff Bradberry 2019-09-05 14:24:46 -04:00
  • 245931f603 Debounce when multiple copies of the same webhook event come in Jeff Bradberry 2019-09-04 16:47:30 -04:00
  • 095aa77857 Create a new model mixin for Job and WorkflowJob webhook fields Jeff Bradberry 2019-09-04 15:41:59 -04:00
  • bb1397a3d4 Validate the webhook credential Jeff Bradberry 2019-09-04 14:13:25 -04:00
  • 5848f0360a Update test_default_cred_types to include the new personal access token types Jeff Bradberry 2019-09-03 14:36:18 -04:00
  • 83fc2187cc Fix the summary fields for webhook_credential Jeff Bradberry 2019-09-03 14:27:36 -04:00
  • 4dba9916dc Add a new set of personal access token credential types Jeff Bradberry 2019-09-03 13:57:18 -04:00
  • 8836ed44ce Construct an ID for Gitlab webhooks Jeff Bradberry 2019-08-29 11:38:24 -04:00
  • 992c414737 Launch a Job or WorkflowJob based on the incoming webhook Jeff Bradberry 2019-08-28 16:57:53 -04:00
  • 66a8186995 Get the webhook receiver views to work at least minimally Jeff Bradberry 2019-08-27 16:39:10 -04:00
  • fa15696ffe Remove some dead comments Jeff Bradberry 2019-08-27 14:29:54 -04:00
  • 82a0dc0024 Cycle or unset the webhook key if the webhook service changes Jeff Bradberry 2019-08-22 14:17:30 -04:00
  • d4b20b7340 Update tests to use the expect keyword argument for get() and post() Jeff Bradberry 2019-08-20 14:01:19 -04:00
  • c0ad5a7768 Expose the webhook_service and webhook_credential fields in the serializer Jeff Bradberry 2019-08-19 15:57:26 -04:00
  • d9ac291115 Add some RBAC oriented tests for the webhook secret key view Jeff Bradberry 2019-08-19 15:32:14 -04:00
  • 6b86cf6e86 Revert to using the explicit dispatch to the appropriate model Jeff Bradberry 2019-08-19 15:13:34 -04:00
  • 771ef275d4 Include a check for the webhook_key related resource url Jeff Bradberry 2019-08-16 15:54:25 -04:00
  • 2310413dc0 Fix problem with the tests by dynamically setting the view model Jeff Bradberry 2019-08-16 14:56:25 -04:00
  • edb9d6b16c Add the related link to the webhook secrets view to the serializers Jeff Bradberry 2019-08-16 14:26:32 -04:00
  • 7973a18103 Switch to using a permission class for the webhook secret key view Jeff Bradberry 2019-08-16 11:52:21 -04:00
  • 747a2283d6 Attempt to get the RBAC right on the webhook secret key view Jeff Bradberry 2019-08-14 14:50:50 -04:00
  • 9d269d59d6 Add an api view for obtaining and rotating the webhook key Jeff Bradberry 2019-08-12 15:49:15 -04:00
  • b0c530402f Move the webhook url include from the top level urlconf to the JT/WFJT urlconfs Jeff Bradberry 2019-08-08 14:58:57 -04:00
  • 50a54c9214 Forbid access to the webhook receiver views if webhook_key is not set Jeff Bradberry 2019-08-07 14:49:39 -04:00
  • 8f97dbf781 Hook in the webhook receiver views into the urlconf Jeff Bradberry 2019-08-06 16:00:59 -04:00
  • a7a99ed141 Beginnings of the API views for the webhook receivers Jeff Bradberry 2019-08-06 14:33:25 -04:00