Commit Graph

797 Commits (6b61426aabc237398ae465ca6921c6d3d653e3c2)

Author SHA1 Message Date
Jordan Wright af91483cd4 Merge pull request #169 from gophish/78-store-smtp-settings
Added storage of SMTP settings to database. Closes #78
2016-02-28 22:16:30 -06:00
Jordan Wright 6b61b24f68 Merge branch 'master' into 78-store-smtp-settings
# Conflicts:
#	models/models_test.go
#	static/js/app/landing_pages.js
2016-02-28 22:08:39 -06:00
William Woodson 5afaea8d6d Remove attempt to migrate from existing SMTP since it is unsafe in multi user environments and confusing + breaks relationships when entries are de-duped. 2016-02-27 21:24:24 -06:00
William Woodson 7d52c8a7ab Update campaign copy function to work with saved SMTP data 2016-02-27 21:13:35 -06:00
William Woodson abec9adfba Return an SMTP object via GET /campaigns 2016-02-27 21:12:18 -06:00
William Woodson c066fa9d52 Merge branch '78-store-smtp-settings' of github.com:gophish/gophish into 78-store-smtp-settings 2016-02-27 21:03:13 -06:00
Jordan Wright 49e575cf56 Making the Name column a bit wider so that the "Interface" column doesn't take up all the room. 2016-02-27 20:08:38 -06:00
William Woodson cc241ea67e Merge remote-tracking branch 'origin/160-clone-campaigns' into 78-store-smtp-settings 2016-02-27 20:08:02 -06:00
William Woodson 56c9ea070b Fixed isses with SMTP table migration: better names on created objects, all SMTP records are imported with appropriate user_id, entries are de-duped based on user_id:host:from_address tuple 2016-02-27 19:38:54 -06:00
William Woodson 7ca63f55be gofmt, because that is a thing 2016-02-27 08:37:02 -06:00
William Woodson f1d1d6838b Updated js on sending_profiles page to work with updated /util/send_test_email 2016-02-27 08:34:33 -06:00
William Woodson 80fc04924d Added handling to /util/send_test_email to use default on empty template and accept a validated SMTP object from send test email workflow on sending profiles page 2016-02-27 08:32:10 -06:00
Jordan Wright 4810222404 Merge branch '124-capture-passwords' 2016-02-25 20:04:48 -06:00
Jordan Wright b0dd96d088 Merge branch 'master' into 124-capture-passwords 2016-02-25 20:02:15 -06:00
Jordan Wright 44fa8127fc Adding the ability to capture submitted data via the UI. Fixes #124 2016-02-25 19:58:49 -06:00
Jordan Wright af76603949 Adding tests 2016-02-25 19:58:02 -06:00
Jordan Wright 89ae56fb94 Merge pull request #174 from gophish/148-polling
Implemented Polling for Campaign Updates
2016-02-24 21:26:32 -06:00
Jordan Wright 79627d5579 Fixed caret not being saved.
Added realtime updates to timeline
2016-02-24 17:48:54 -06:00
Jordan Wright 0c72e8b69a Added updating of datamaps with new bubbles 2016-02-23 18:50:07 -06:00
Jordan Wright 95fb02bade Cleaning up some logic on updating the email chart legend. 2016-02-23 11:51:43 -06:00
Jordan Wright 53e5508bca Upgrading Datatables 2016-02-22 22:40:33 -06:00
William Woodson ffb14b7927 Created default email template and landing page passed for _send_test_email_ in sending profile page 2016-02-22 22:27:23 -06:00
William Woodson e889052a90 Merge branch '78-store-smtp-settings' of github.com:gophish/gophish into 78-store-smtp-settings 2016-02-22 21:38:56 -06:00
William Woodson 3e69a4f4e8 Update 20160221001538_0.1.2_store-smtp-settings.sql
Makes more sense to use campaigns.id in this select
2016-02-22 20:11:02 -06:00
William Woodson a3376a702f Working on send test email in sending_profiles page 2016-02-22 06:25:29 -06:00
William Woodson a2ee229848 More cleaning up artifacts in modals on edit/copy/new for #143 2016-02-22 05:57:03 -06:00
Jordan Wright 553ead7d68 Moved fmt prints to Logger prints 2016-02-21 22:18:34 -06:00
Jordan Wright 78203ad208 Added tests for SMTP 2016-02-21 22:13:06 -06:00
Jordan Wright d1de466cc9 Validating on PUT
Added check for parsing the FromAddress on Validate()
2016-02-21 22:12:47 -06:00
Jordan Wright 7bf2c00356 gofmt'ing 2016-02-21 21:09:14 -06:00
Jordan Wright f7b63adfbb Added basic polling updates for the charts. Made the call to get campaign results be async. 2016-02-21 20:55:27 -06:00
William Woodson 9c7adb9941 Cleaning up artifacts in modals on edit/copy/new for #143 2016-02-21 17:00:37 -06:00
William Woodson 5b1ffe39b7 Fixed issue with smtp table migration from 0.1.2 db 2016-02-21 13:20:56 -06:00
William Woodson 2dd31c58c3 Fixed "edit" and "copy" buttons on sending profiles datatable 2016-02-21 12:34:11 -06:00
William Woodson 9818410fcf Updated campaign creation and send_test_email to use settings from sending profile 2016-02-21 12:05:40 -06:00
William Woodson b2eafd07c3 Updated new campaigns modal, send test email modal, and js to use sending profile 2016-02-21 12:04:17 -06:00
William Woodson 3d8126e981 Started frontend work for sending test email from sending_profiles page. This will need to wait for rewrite of /util/send_test_email to send with default template, etc. 2016-02-21 10:40:26 -06:00
William Woodson 5b89fb04eb Fixing issues in SMTP model and db schema. Add interface_type to support future sending interfaces beyond SMTP. 2016-02-21 09:46:25 -06:00
William Woodson 2d503ff215 Added Sending Profiles page and sending_profiles.js for interacting with /smtp/ API endpoint 2016-02-21 09:44:36 -06:00
William Woodson 1dd1851ce7 Added functions for handling SMTP objects to gophish.js API client 2016-02-20 21:24:28 -06:00
William Woodson dde2312183 Updated smtp model and api to support managing SMTP objects as independent entities 2016-02-20 21:08:52 -06:00
William Woodson b7396fa149 Added DB columns to SMTP table 2016-02-20 21:08:32 -06:00
William Woodson 5077ba9f1f Added DB migration to support storing SMTP settings as independent objects 2016-02-20 19:55:44 -06:00
William Woodson 12823468d3 Fixed page titles for several routes 2016-02-20 17:46:22 -06:00
William Woodson 0e1fe9eb0e Created API endpoint smtp for storing SMTP server config 2016-02-20 17:24:08 -06:00
William Woodson 828e42bc3b Created routes, template, js for sending_profiles page 2016-02-20 17:24:08 -06:00
William Woodson 225c457a9c Added current version of user guide to local content. This should be kept in sync with features of the local gophish version 2016-02-20 17:23:58 -06:00
William Woodson 306d315941 Updated menus to include link to sending_profiles page 2016-02-20 16:39:23 -06:00
Jordan Wright 77e38b6c72 Added datatables sorting for dashboard campaigns. Fixes #166. Also formatting fixes. 2016-02-18 18:42:00 -06:00
Jordan Wright 3798896042 Merge pull request #167 from gophish/163-allow-position-in-campaigns
Adding position attribute for models.Result.
2016-02-17 21:29:47 -06:00