Commit Graph

279 Commits (abafe3526b1d2d2bf765f6538a1cb46be0884005)

Author SHA1 Message Date
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 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 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 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 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
Jordan Wright 77e38b6c72 Added datatables sorting for dashboard campaigns. Fixes #166. Also formatting fixes. 2016-02-18 18:42:00 -06:00
Jordan Wright a00eaf2096 Initial copy function - need to handle #78 before this will be fully functional 2016-02-17 20:47:16 -06:00
Jordan Wright 81f4e1e097 Added ability to copy templates. Fixes #156 2016-02-15 20:41:07 -06:00
Jordan Wright b51cea7a57 Added the ability to copy landing pages 2016-02-15 20:03:27 -06:00
Jordan Wright 913f444598 Fixing results download in Firefox. Fixes #153 2016-02-15 12:18:21 -06:00
Jordan Wright bbe0163366 Adding checkboxes to handle capturing credentials and passwords 2016-02-13 16:11:45 -06:00
Jordan Wright b9995456c2 A few style tweaks 2016-02-12 21:26:01 -06:00
Jordan Wright 12975bf0c3 Adding the JS to handle submitting the "ignore cert errors" with a campaign.
Adding JS to handle showing errors on email submissions
2016-02-12 21:25:49 -06:00
Jordan Wright c436bdb514 Added UI checkbox... working on sendmail function 2016-02-09 22:08:41 -06:00
Jordan Wright a0a8a7b8ad Merge pull request #123 from gophish/61-record-browser-post
Capture Credentials Sent via POST
2016-02-02 22:54:42 -06:00
Jordan Wright 99da20abc0 Added table for displaying submitted data. 2016-02-02 22:49:30 -06:00
Jordan Wright 528d8525b1 Added basic table to display results - last step is the JS to dynamically show it. 2016-02-01 21:53:00 -06:00
Jordan Wright ce8a9e5456 Changed status of new targets to "Sending" instead of "Unknown". Fixes #112 2016-02-01 20:42:46 -06:00
Jordan Wright 94e43fe557 Initial commit - adding db migration as well as the logic to add the payload 2016-01-31 19:50:41 -06:00
Jordan Wright d714635e69 Added ability to export raw events. Fixes #102 2016-01-29 13:18:06 -06:00
Jordan Wright 17e81e6caa Added event on sending email error. Fixes #99 2016-01-29 12:34:29 -06:00
Jordan Wright 7854d8e96d Finishing up first release of timeline format 2016-01-29 09:55:49 -06:00
Jordan Wright 741adfa2e3 Upgrading Font-Awesome to 4.5. Closes #101 2016-01-29 09:36:25 -06:00
Jordan Wright dbc407676e Adding initial structure of timeline 2016-01-29 08:31:58 -06:00
Jordan Wright 42efd1f321 Changed Exclamation Mark to Check Mark 2016-01-24 20:07:46 -06:00
Jordan Wright e4d6e68147 Added ability to send a test email before launching a campaign 2016-01-24 20:03:53 -06:00
Jordan Wright 33947086b3 Added async option to the API to address async/synch requests until I can migrate all to async 2016-01-24 19:48:15 -06:00
Jordan Wright cf4565caf6 Changing label font to be Roboto 2016-01-21 00:00:41 -06:00
Jordan Wright 080b3a6c27 Merge branch 'table-style' of https://github.com/StrangeUSB/gophish into StrangeUSB-table-style
# Conflicts:
#	static/js/app/campaigns.js
#	static/js/app/dashboard.js
#	static/js/app/landing_pages.js
#	static/js/app/templates.js
#	static/js/app/users.js
2016-01-20 21:53:12 -06:00
Justin Gray 964ce6f152 Fixed Double Instantiation
When a modal was closed and the data was loaded again it tried to
instantiate the table again, so always destroy the table on load.
2016-01-20 20:35:51 -06:00
Justin Gray 0bdc4a751d Remove unnecessary code
Removed check and just always destroy and rebuild datatables.
2016-01-20 20:33:59 -06:00
Justin Gray 22c2f659e8 Fixed the attachments table
Fixed the sorting on the attachments table, there could be opportunity
to clean this up a little.
2016-01-20 19:42:41 -06:00
Jordan Wright 92e3d2a4fd Merge pull request #86 from gophish/81-campaign-launch-button
Changed button on campaign to say "Launch Campaign". Fixes #81
2016-01-20 19:04:35 -06:00
Jordan Wright 52e5c60511 Changed button on campaign to say "Launch Campaign" - minor formatting fixes. 2016-01-20 19:00:32 -06:00
Jordan Wright 655faaf72b Added ability to export as CSV. Fixes #34 2016-01-20 18:45:53 -06:00
Jordan Wright 1b5fb638ea Fixed new campaign redirect 2016-01-18 11:53:27 -06:00
Jordan Wright ac368e1046 Fixing tooltips on campaign results table 2016-01-17 22:20:38 -06:00
Justin Gray b9fd654f8a Added no-sort options to tables
Added a no-sort class to column headers where sorting doesn’t make
sense.  Still have the attachments table in the templates page to do,
there was something strange happening.
2016-01-17 15:27:11 -06:00
Justin Gray 2ff2cbd1ca Changed Sortable Icon Color
Changed the color of the sortable icon back to the initial color.  Adds
a little more contrast to the enabled icon.
2016-01-17 14:37:18 -06:00
William Woodson fa5a5c65af fix dumb things in last commit 2016-01-17 13:25:13 -06:00
William Woodson e6a9848c20 UI fixes to dashboard, campaign, and campaign_result views. fixes #76 2016-01-17 13:21:06 -06:00
Justin Gray 84d21ab655 Sample Table Style
Changed the style of the add/manage users table.
2016-01-17 01:31:46 -06:00
Jordan Wright 3ae09be989 Final fix for campaign deletion 2016-01-16 23:50:32 -06:00
Jordan Wright cff666119e Added ability to delete campaign. Fixes #72 2016-01-16 23:50:11 -06:00
Jordan Wright 2dda83814c Formatting Javascript using js-beautifier 2016-01-16 22:59:40 -06:00
Jordan Wright 65005a2805 Moved modal closing to hide.bs.modal - Fixes #71 2016-01-16 19:24:13 -06:00
Jordan Wright a6748a7d5f Added "Add Tracking Image" checkbox to template modal 2016-01-13 22:42:16 -06:00
Jordan Wright 7c9e5195f5 Fixed inverted tooltip toggle issue 2016-01-13 22:41:39 -06:00
Jordan Wright e29e3335c5 Fix CSS Navbar Bug to Collapse Sooner 2016-01-13 21:06:29 -06:00
Jordan Wright 3316468cb3 Changed color to #283F50. Fixes #52 2016-01-06 20:44:30 -06:00
Jordan Wright c6cd018536 Added IP, Lat and Lon to models.Result. Closes #47
Added basic mapping on campaign results. Closes #51
2016-01-04 00:04:10 -06:00
Jordan Wright 72f6387b3b Fixed date format on dashboard for consistency 2015-12-31 11:05:00 -06:00
Jordan Wright 04a942298d Small UI fix to remove loading icon on campaign 404. 2015-12-26 22:00:18 -06:00
Jordan Wright 2c70a6a9d6 Changed styling of API Docs 2015-12-26 21:35:09 -06:00
Jordan Wright 594aef49a5 First draft of moving api docs to aglio - WIP 2015-12-25 22:09:32 -06:00
Jordan Wright 8141393480 Fixed page editing. Fixes #44 2015-10-23 18:35:42 -05:00
Jordan Wright 01c3da611b PhishHandler now loads landing page content. Fixes #37
Now supports autocomplete for modal typeahead. Fixes #40
Users can now specify landing pages in campaigns. Fixes #39
Implemented "Email Opened" status. Fixes #38
2015-10-22 22:29:10 -05:00
Jordan Wright b574fb2741 Implemented campaign.URL. Fixed #32
Implemented {{.From}}. Fixed #36
2015-10-22 19:54:01 -05:00
Jordan Wright b4a73ae5c7 Fixed datetime sorting
Fixes #30
2015-10-03 13:32:09 -05:00
Jordan Wright 3bbd6b7ca1 Fixing labels on dashboard
Added "Emails Sent" campaign status
2015-09-27 22:25:38 -05:00
Jordan Wright 6acbac26f5 Changing primary font from "Lato" to "Source Sans Pro/Roboto" 2015-09-25 19:49:40 -05:00
Jordan Wright c9f5a753c8 Removing dead code 2015-09-25 18:06:38 -05:00
Jordan Wright e783017280 Added typeahead for templates and fixed groups not being submitted
I fixed the typeahead for templates. This should allow for campaigns to finally be sent successfully.
2015-09-15 22:57:47 -05:00
Jordan Wright 9a13eef518 Tweaked Modal Fading Interaction (Open/Close actions) 2015-09-15 20:39:33 -05:00
Jordan Wright b45a72618d Adding the ability to import emails - WIP 2015-09-14 23:42:29 -05:00
Jordan Wright f51758f8c9 Fixed issue where links and other attributes could not be edited in CKEditor 2015-08-25 22:07:57 -05:00
Jordan Wright ba11f6428c Can now add/delete pages
Fixed test for importing a site - Now actually performs the right test.
2015-08-25 21:03:12 -05:00
Jordan Wright fad36607e4 Importing a site now works fairly well... just need to be able to save the "Landing Page" 2015-08-25 18:56:58 -05:00
Jordan Wright 1ec08d86cf Adding landing page frontend logic - basic page structure at this point 2015-08-23 15:20:28 -05:00
unknown 1cbb223939 Removing angular artifacts 2015-08-15 16:08:09 -05:00
unknown fc2aa71e91 Fixed settings - can now reset password, api key. 2015-08-15 16:03:39 -05:00
unknown ba43e683c2 Added ability to delete templates 2015-08-14 18:27:04 -05:00
unknown d79de6263d Updated templates page to handle PUT vs POST - can now edit templates 2015-08-14 18:24:02 -05:00
unknown a78e92a436 Changed look of donut chart legend
Fixed deleteCampaign tooltip
Moved Result Status styles to an object
Dashboard, Users,  now has fancy loading gif
Now only loading ckeditor from templates and landing pages templates
Starting to add maps (coming soon!)
2015-08-11 21:12:09 -05:00
unknown eacb4ddfd4 Fixed /users endpoint to now have the following functionality:
- Edit
- Delete
Also added group validation on PUT /api/groups/:id
2015-08-05 00:23:05 -05:00
unknown 5cd7268023 Upgraded chartist to v0.9.2 2015-08-04 21:27:21 -05:00
unknown 8c3bb3c04d Made some fixes to the timeline - waiting for chartist to support dynamic timeaxis.
Added legend to campaign_results email donut chart.
2015-08-04 21:27:04 -05:00
unknown 530a60cd08 Fixed tabs on campaign_results
Added email status chart on campaign_results
2015-08-01 15:35:32 -05:00
unknown 4f03224d98 Fixed event timeline chart - should work fairly well 2015-07-30 23:07:54 -05:00
unknown 9df97d9d05 Added some loading gifs to make things seem smoother.
Working on fixing up campaign_results.html endpoint to have the graphs, results table, etc.
2015-07-29 22:31:39 -05:00
unknown 67b28094db Removed highcharts (no longer needed)
Starting to add campaign_results page
2015-07-28 19:31:12 -05:00
unknown bb716bb681 Fixed background color on label-success to be consistent with ui theme 2015-07-27 21:32:21 -05:00
unknown e8d8f030d4 Fixed chart heights, made donut a bit wider
Added dynamic labels for campaign statuses at /campaigns
2015-07-27 21:31:08 -05:00
unknown 674c71e271 Added better donut chart with tooltips and legend. 2015-07-27 21:06:20 -05:00
unknown 1183cc1bee Removed chartjs in favor of chartist-js (better interaction, more customization, etc.)
Made a poc of the dashboard charts - need to work on styling.
Some basic css / nav changes
2015-07-27 19:44:10 -05:00
unknown a2252c1b5b UI fixes
working on campaign results page
2015-07-07 22:31:21 -05:00
unknown 4685b36928 Updated font-awesome to 4.3.0
Added buttons for editing/viewing/deleting objects in the tables (actual functionality to follow)
2015-07-06 22:26:08 -05:00
unknown 8224eb8989 Working on campaign creation - added hogan and typeahead 2015-06-29 23:52:26 -05:00
unknown 1d0636daab Can now create templates (working on edit functionality for all of these) 2015-06-29 19:33:11 -05:00
unknown 62323c170e Fixed csv upload on user import
Added moment.js for date formatting
UI Tweaks on pagination
Attachments are now a datatable (table all the things)
2015-06-27 19:21:46 -05:00
unknown 62fc7b2d97 Made progress handling adding attachments to templates 2015-06-25 02:53:03 -05:00
unknown ca378f835f UI fixes
Got submitting groups working
Fixed CKEditor integration on templates
2015-06-23 23:02:29 -05:00
unknown 1cf017acba Fixed pointer css 2015-06-19 13:53:47 -05:00
unknown 33f240bfe0 Working on group editing 2015-06-17 22:44:05 -05:00
unknown 20b1c80454 Fixed tooltip - still cleaning up /users 2015-06-16 23:23:02 -05:00
unknown cf8c8c4534 Cleaned up sidebar nav links
Moved JS api structure to api.*.get(), etc.
Working on /groups now
2015-06-16 23:09:27 -05:00
unknown 22a4d3f923 Added campaign table
Created save() method for campaigns
2015-06-16 22:22:51 -05:00
unknown da1216aaf7 Added documentation for api
Working on /campaigns UI (modals, etc.)
2015-06-16 18:38:43 -05:00
unknown 5d0792044d More re-org. Added datatables support 2015-06-15 22:51:18 -05:00
unknown 59b6aa16c1 Better UI Color consistency 2015-06-14 18:15:29 -05:00
unknown 497fce25df Added polling for campaign results - probably a waste since I'll move to d3 soon. 2015-06-14 16:57:05 -05:00
unknown 7af35237a7 Working on tracking and email handling - want to make it as smooth as possible
Removed flash that shouldn't have been on the campaigns page
Added small time delay to prevent connection overload - might remove it later, but it'll be tricky
2015-06-12 23:12:43 -05:00
unknown 03b25f5fee Cleaning up a bit of controllers.js #12
Working on site clone and email import
2015-06-12 18:22:17 -05:00
unknown 0b73d5f6ee Can now use Position in CSV import.
Added Position attribute to Target model.
Fixes #17
2015-02-21 11:36:08 -06:00
unknown be9064f718 Added ability to delete campaign from campaign results - needs some cleanup, but it works 2015-02-21 01:27:32 -06:00
unknown 66dbe2e799 Cleaned up error messages - *all* errors in JSON format
Cleaned up flashes - fixes #13
Added specified errors - more to come soon
Added Campaign validation
Added Group validation
Cleaned up the way angular errors are handled. Will double check, but for the most part fixes #11
Results are now shown on the webui with most recent shown first
Added comments, additional cleanup, etc.
2015-02-21 00:11:22 -06:00
unknown ab8dfc8bb3 Fixed #14 2015-02-17 22:53:19 -06:00
unknown 73e395cfe0 - Cleanup up flash messages for templates. Will fix for everything else later.
- Also fixed #5 with the help from CKEditor devs (duplicate ticket found)
2015-02-17 20:49:09 -06:00
unknown 759f86447d Working on importing emails from source (still doesn't work yet!) 2015-02-15 21:53:30 -06:00
unknown 4488a7aaba Initial run of getting full CKEditor support into the HTML editors!
Still some work to be done, but I think it's in an improvement.
2015-02-12 22:21:50 -06:00
unknown 4211abe78b Previewing Landing pages in a different window seems to work now.
Working on getting some site clone functionality working.
2015-02-08 18:37:07 -06:00
unknown f21d40d77a Registration works again.
Additional cleanup, removing unused code
2015-02-07 17:30:22 -06:00
unknown c8be0ddb74 Still working on pages integration. Added skeleton for page HTML previewing in a new browser.
Additional cleanup, documentation
Changed return values for /api/templates and /api/pages to return empty array [] if no results (like /api/campaigns was already doing)
2015-02-07 10:41:53 -06:00
unknown c318424ac0 Starting to integrate landing page functionality (still not working).
Also did some minor cleanup.
2015-02-06 20:24:10 -06:00
Jordan 86dca67a5a Finished implementing PUT /templates/:id
Now deleting events on campaign deletion
Added some minor UI fixes and changes
2014-07-23 21:04:38 -05:00
Jordan 533742d833 Testing new README logo 2014-07-12 14:18:46 -05:00
Jordan 83ab6ffb52 Working on adding support for template file attachments 2014-07-12 13:46:38 -05:00
Jordan f0fb9b7dbc Updated font-awesome to version 4.1.0 2014-07-12 13:43:14 -05:00
Jordan fee943cf36 Working on campaign results page (added tabs)
Added timeline graph to campaign results
2014-07-07 23:02:40 -05:00
Jordan 523c2087f5 Changed name of dashboard series to "Campaigns" 2014-07-06 21:34:26 -05:00
Jordan 28e074f1fd Added graph of average phishing results to dashboard 2014-07-06 16:16:22 -05:00
Jordan c9d00059b0 Updated dashboard diagrams 2014-07-05 22:57:17 -05:00
Jordan 02c7c4b5b1 Moved models.Result into its own file
Added initial dashboard template (some updates and changes will be needed)
Added some documentation
2014-07-01 20:32:34 -05:00
Jordan 49da412538 Adding handling for campaign events
Cleaned up user import button
Cleaning up modal interfacing
Added ability to set result status
2014-06-25 21:01:01 -05:00
Jordan efec86ae56 Added util package for handling misc. tasks
Added basic (*not finished*) functionality for handling bulk user insert
2014-06-21 21:06:16 -05:00
Jordan 01901c9008 Decoupling campaign.go a bit
Added #!/campaigns route so that #!/ can be used for a dashboard in the future
2014-06-21 12:19:49 -05:00
Jordan d887843b86 Added basic highcharts support 2014-06-11 18:23:16 -05:00
Jordan a1b6218473 Refined models
Added *basic* worker functionality - emails get sent now! woo hoo!
2014-06-04 23:54:46 -05:00
Jordan db24496fb0 Adding logic to handle getting the template for a campaign
Added SMTP Model
Added better flash support in controllers.js
Added SMTP Options accordion in campaign modal
2014-06-03 13:27:20 -05:00
Jordan 0c1d82ad46 Whitespace fixing
Added template validate() function
2014-06-02 01:57:04 -05:00
Jordan 9e376d0c11 Added purple version of logo for login page 2014-06-02 01:56:15 -05:00
Jordan 96cefc4931 Cleaned up possible (very unlikely?) permission issue
Better logging in controllers module
DRY changes to API
Added Data attribute to models.Response struct
Added GetTemplateByName (will be used in filling out campaign)
Changed modal to be 800px on large screens for better previews
2014-06-01 23:38:21 -05:00
Jordan 31aa5614a0 Moving JSON Responses to a standard Response object
Added cursor:pointer styling to dropdown menus
2014-06-01 22:30:23 -05:00
Jordan e1520e6742 Fixed nav toggle
Removed campaign_results.html template (not needed - covered in AngularJS template now)
2014-05-29 01:01:22 -05:00
Jordan 7b39096e3f Added async settings update
Removed /settings GET endpoint (not needed, since AngularJS in use)
TODO: Move the anon struct in use to a model as appropriate
2014-05-28 23:29:41 -05:00
Jordan e5a3a7875b Moving group editing to angular modal template
Fixed bug in HTML preview for templates
2014-05-28 22:29:30 -05:00
Jordan 25cbaf92ce Changed templates to have a 1-1 relationship with user (will implement sharing differently later)
Working on implementing /api/template/:id methods
Removed API_Campaigns_Id_Launch method (will just POST using template from angularjs scope later)
2014-05-28 18:48:30 -05:00
Jordan 6ec45ab927 Fixed indentation in controllers.js 2014-05-28 18:46:56 -05:00
Jordan 32ffe46363 Fixed HTML Previewing 2014-05-27 18:59:39 -05:00
Jordan d99bf5ec0e More changes to the new design
Moving modal templates into separate files
Now using angularui to handle bootstrap modals
2014-05-27 13:18:57 -05:00
Jordan 9b216c5466 Major design change - more dashboard-ish.
Working on more angularjs + gophish abstraction. Gophish for backend, AngularJS for the frontend
Moved templates to partials for angular
Using FlatUI color scheme
2014-05-26 20:29:12 -05:00
Jordan 8c1bb58fe2 Added validation for campaigns... I'm considering making everything branch off of a Model Interface with Get(), Put(), Post(), and Delete(), etc. Might make things cleaner.
Added better error messages on the UI side
2014-03-28 00:21:42 -05:00
Jordan ee6137e3e2 Deleted swagger-ui.js (only using minified version now)
Added tooltip for deleting a campaign
Added (disabled) option for importing an email as a template
2014-03-20 17:37:18 -05:00
Jordan 490ba31779 Template HTML Preview is now editable 2014-03-20 11:58:24 -05:00
Jordan b3e411c54c Adding DB table for template attachments (coming soon)
Cleanup API docs for campaigns
Added "omitempty" for Campaign model
2014-03-18 18:08:17 -05:00
Jordan bd182964ca Cleaned up template modal 2014-03-18 16:00:48 -05:00