gophish/models
Jordan Wright 9561846979
Update workflow actions and Go versions (#3245)
This PR:

* Updates the versions of various actions used by the CI and release workflows
* Updates the release workflow to use Go version 1.22
* Updates the test matrix to use Go versions 1.21, 1.22, and 1.23

It also updates the CI workflow to run when pull requests are created or changed. This will help give feedback when formatting or tests are broken during a PR.

As a good example of why this is useful, you'll see that I needed to run `gofmt` to get this to pass! We should have caught that earlier and now we'll catch it moving forward.
2024-09-22 23:24:43 -05:00
..
testdata Added support for templating attachments (#1936) 2022-02-02 15:41:27 +01:00
attachment.go Added support for templating attachments (#1936) 2022-02-02 15:41:27 +01:00
attachment_test.go Added support for templating attachments (#1936) 2022-02-02 15:41:27 +01:00
campaign.go Update workflow actions and Go versions (#3245) 2024-09-22 23:24:43 -05:00
campaign_test.go Improve the Performance of Sending Emails (#1753) 2020-02-29 20:19:54 -06:00
doc.go Major refactoring - created auth, config, models, controllers, and middleware packages. Should help provide modularity and a clean architecture. 2014-01-09 00:42:05 -06:00
email_request.go Embed or attach files based on their file extension (#1525) 2022-06-01 17:14:22 +02:00
email_request_test.go 986 custom envelope sender remerge (#2334) 2022-03-25 16:24:49 +01:00
group.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
group_test.go Performance Improvements for Campaign and Group Creation (#1686) 2019-12-02 23:00:11 -06:00
imap.go Added support to allow invalid IMAP certificates (#1909) 2020-08-08 15:03:42 -05:00
maillog.go Embed or attach files based on their file extension (#1525) 2022-06-01 17:14:22 +02:00
maillog_test.go Modified "SMTP From" field to avoid SMTP server errors with RFC 5321 (#2669) 2022-11-29 16:41:10 +00:00
models.go Add ability to provide initial API key on service standup (#1883) 2020-07-01 22:06:31 -05:00
models_test.go Performance Improvements for Campaign and Group Creation (#1686) 2019-12-02 23:00:11 -06:00
page.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
page_test.go Support Re-enabling CapturePasswords for Landing Pages (#1271) 2018-11-11 12:34:26 -06:00
rbac.go Implement User Management API (#1473) 2019-05-31 13:58:18 -05:00
rbac_test.go Initial commit of RBAC support. (#1366) 2019-02-19 20:33:50 -06:00
result.go Improve the Performance of Sending Emails (#1753) 2020-02-29 20:19:54 -06:00
result_test.go Performance Improvements for Campaign and Group Creation (#1686) 2019-12-02 23:00:11 -06:00
smtp.go Updated regex pattern to allow longer TLDs 2022-12-16 17:04:55 +00:00
smtp_test.go Modified "SMTP From" field to avoid SMTP server errors with RFC 5321 (#2669) 2022-11-29 16:41:10 +00:00
template.go Fixed formatting from Custom Envelope PR #2334 2022-06-05 21:18:32 +01:00
template_context.go Minor cleanup on webhook feature integration 2019-12-15 22:07:55 -06:00
template_context_test.go Add {{.BaseURL}} template tag to provide the root URL for static files. Fixes #1182 2018-09-03 20:28:32 -05:00
user.go Added functionality to lock accounts (+bug fix) (#2060) 2020-12-07 08:56:05 -06:00
user_test.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
webhook.go Add Webhook Support 2019-12-15 20:27:21 -06:00