Commit Graph

726 Commits (8ebdb43469da2d8649633fd4bc390245e6d372fe)

Author SHA1 Message Date
Shuhei Kitagawa d7810ddd2b Fix to raise error when trying to register a duplicate username (#926)
This corrects a minor error from recent changes in which registering an existing username didn't throw an error.
2018-01-13 16:35:58 -06:00
Shuhei Kitagawa 405bc5effe Refactor GetUserByUsername method not to suppress an error (#920)
Also adding some other tests for the User models.
2018-01-11 18:37:38 -06:00
Shuhei Kitagawa db19f0ac2a Remove redundant return nil statement in user.go (#921)
Removing some redundant statements in user.go.
Adding test cases for user models.
2018-01-11 18:11:57 -06:00
Thiago-Medeiros a5c6ffb572 Fix MySQL syntax error in maillogs migration.
update autoincrement -> auto_increment
add ";" after drop table
2018-01-07 16:43:26 -06:00
Shuhei Kitagawa 7d67ccc3da Adjust CSS to support long table values 2018-01-07 16:42:11 -06:00
Shuhei Kitagawa 3f5a8262f8 Add gophish_admin.crt and gophish_admin.key to .gitignore (#916) 2018-01-07 16:40:41 -06:00
Shuhei Kitagawa 1ad714a755 Update copyright year from 2017 to 2018 (#917) 2018-01-07 16:39:00 -06:00
Jordan Wright 44154f3bf0 Removing duplicates in campaigns. Fixes #855 2017-12-11 22:12:17 -06:00
Jordan Wright aa8c770e73 Adding "next" parameter to support redirecting after successful login. 2017-12-10 21:40:46 -06:00
Jordan Wright 227da5c7b9 Change failed login status code to 401. Fixes #833 2017-12-10 18:11:32 -06:00
Jordan Wright 76ece15b71
Email refactoring (#878)
The initial pass at refactoring the way we send emails.
2017-12-09 15:42:07 -06:00
Jordan Wright 18d92a8f74
Update .travis.yml
Removing unsupported Go versions <= 1.6
2017-12-05 21:47:35 -06:00
Jordan Wright d6449923ab
Create ISSUE_TEMPLATE.md
Added an issue template to be used when creating new issues.
2017-11-01 21:06:24 -05:00
Jordan Wright 62b2bb4780 Merge commit '3972fe5993ec409bd94bd9f3ca52b534d0f9a8f4' 2017-10-02 19:47:09 -05:00
Jordan Wright b742f28f92 Fixing dev dependencies
Fixes #775
Fixes #776
2017-10-02 19:43:23 -05:00
Jordan Wright 3972fe5993 Fixing dev dependencies
Fixes #775
Fixes #776
2017-10-02 19:40:56 -05:00
Jordan Wright e785af5c0a Disabled turboThreshold to allow campaign timeline renders for campaigns with > 1k events. Fixes #765
Moved datatables `draw()` functions to the end of a table render, rather than on every row
2017-09-26 21:29:15 -05:00
Jordan Wright 0d03d01fa5 Fixed CSV Parsing to allow emails in <email@example.com> syntax. Fixes #764 2017-09-24 17:50:58 -05:00
Jordan Wright 10ff5c181b Using SetAddressHeader to better format the SMTP From Address. Fixes #135. 2017-09-21 19:39:27 -05:00
Jordan Wright 8433882186 Updated papaparse. Changed export csv name to campaign.name - scope.csv syntax. Fixes #751 2017-09-19 20:33:26 -05:00
Jordan Wright 06cf4e9d55 Updating README 2017-09-17 12:30:44 -05:00
Jordan Wright 6f81f1f2e2 Making the results map an optional setting stored in localStorage. Fixes #747
Also does more formatting fixes for various files.
2017-09-16 23:30:04 -05:00
Jordan Wright c49474fd10 Bumping version to 0.4 2017-09-16 16:41:24 -05:00
Jordan Wright 5ee3cf42ab Fixed issue where tabs had an incorrect background color on hover. 2017-09-08 22:56:47 -05:00
Jordan Wright b5981f16d2 For now, removing tab on campaign results page since there's only one tab 2017-09-08 22:52:54 -05:00
Jordan Wright 015ea9bc2d Fixing scrollbar on nested modals. Fixes #598 2017-09-08 22:00:06 -05:00
Jordan Wright 26d2ca7344 Fixed some validation weirdness when sending a test email. Fixes #739 2017-09-05 22:35:54 -05:00
Jordan Wright ed217cd90e Cleaning up Sending Profile "Send Test Email" modal (plus general formatting cleanup) - Fixes #740 2017-09-05 22:06:22 -05:00
Jordan Wright ca1e52148b Adding VERSION file and bumping version to 0.4-dev. Fixes #742 2017-09-05 21:54:32 -05:00
Jordan Wright 28b802254b Changing the font from18px to 16px. This seems to be more readable and cleaner. Should give a bit more room to show things like dates. 2017-09-05 21:12:43 -05:00
Jordan Wright e5893c7748 Fixed glyphicons for use in datepicker 2017-09-03 20:27:59 -05:00
Jonathan Ingram a7e1f0b312 Add Go 1.9 to travis (#733) 2017-08-29 18:20:34 -05:00
Jordan Wright ac3fe6aeae Fixed issue where imported email wasn't being cleared from modal. Also auto-formatted templates.js 2017-08-28 23:26:51 -05:00
Jordan Wright 58a57589bd Updates all datetimes to use UTC on the backend. This includes a DB migration to convert existing dates.
Fixes #316
2017-08-28 22:48:49 -05:00
Mike Nickels 779e419ab4 Changed hrefs in sidebar to be consistent with other pages (#715) 2017-08-08 14:02:01 -05:00
Jordan Wright 75600f5812 Moved all charts from Chartist to Highcharts. Closes #680. 2017-08-05 21:12:44 -05:00
derpadoo 972c40fd87 Gophish Ansible playbook (#704)
* Added Ansible files

* Removed old README

* Changed admin_server's use_tls to true in config.json
2017-08-01 12:51:53 -05:00
Jordan Wright dac581a7eb Adding "Content-ID" headers to attachments to help support possible embedded images. Addresses #251 2017-06-22 19:22:35 -05:00
Jordan Wright ad45915aa2 Fixed recent campaign status colors on the dashboard (regression from 80c68194a6) 2017-06-19 12:34:45 -05:00
Jordan Wright dd905ecb3a Adding core.js polyfill for IE11 Promises support. Fixes #609. 2017-06-19 11:15:28 -05:00
Jordan Wright 80c68194a6 Updated dashboard to show full final statuses instead of just "Successful" vs "Unsuccessful". 2017-06-18 17:32:18 -05:00
Jordan Wright 269568148e Phishing emails are now sent in "First Last <email@domain.com>" format. 2017-06-16 22:21:08 -05:00
Jordan Wright 772fe28c06 Added config.json CLI flag: --config 2017-06-09 00:14:03 -05:00
Jordan Wright 17bf53a6e2 Updating travis.yml to include Golang 1.8 2017-06-09 00:01:07 -05:00
Jordan Wright e42302ebf9 Moved phishing handlers into separate file and added a ton of tests. 2017-06-08 23:41:38 -05:00
Jordan Wright b6653d5c94 Checks for input password fields are now case insensitive. Fixes #613 2017-05-26 20:18:51 -05:00
Jordan Wright 1fafe4845f Adding quick stats tooltips (#607)
* Adding a quick stats popup to campaign page (#600)

Added quick stats popup to campaign page

* Adding summarized quick stat tooltips on dashboard
2017-04-27 18:54:33 -05:00
Jordan Wright 871114a17d Cleaning up RobotsHandler 2017-04-27 18:14:14 -05:00
Matt D 5f5c8141c9 Add robots.txt handler (#604)
Disallow all robots from accessing the phishing server, to prevent phishing materials from being indexed during campaigns.
2017-04-27 18:04:22 -05:00
Jordan Wright adf9fa7208 Fixing README markdown syntax 2017-04-05 22:24:40 -05:00