Commit Graph

196 Commits (master)

Author SHA1 Message Date
Jordan Wright 6acbac26f5 Changing primary font from "Lato" to "Source Sans Pro/Roboto" 2015-09-25 19:49:40 -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 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 cb1b418594 Adding modal layout for "import site" 2015-08-23 20:58:48 -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 fc2aa71e91 Fixed settings - can now reset password, api key. 2015-08-15 16:03:39 -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 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 0c71c8982e Fixed settings page (missing closing script tag) 2015-07-29 23:15:49 -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 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 0e496bdf73 Migrated settings (at least it loads).
Working on making the template syntax consistent across all the files, cleaning them up, etc.
2015-06-21 16:10: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 e1eadc3892 Re-organizing files to use Jquery instead of Angular 2015-06-15 16:49:16 -05: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 f21d40d77a Registration works again.
Additional cleanup, removing unused code
2015-02-07 17:30:22 -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
unknown d567153d2a Time to get back to work - starting with some simple comment fixes. 2015-01-28 17:56:56 -06: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 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 9e376d0c11 Added purple version of logo for login page 2014-06-02 01:56:15 -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 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 776f591f68 Cleaned up old gorp code
Bug fix in settings template
2014-03-26 15:01:49 -05:00
Jordan e137126a90 Working on gorm integration
TODO:
[ ] Finish up groups (many-to-many with group_targets)
[ ] Convert Template models
2014-03-25 23:53:51 -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 bfdf9ca00e Added autofocus
PUT /api/groups/:id can now update the group name and modified date
2014-03-19 20:27:09 -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
Jordan b3e3dd8ff1 Added "templates" Template, View, and Route
Added "unsafe" filter per stackoverflow
Updated side nav to include links to "/templates"
2014-03-18 15:20:34 -05:00
Jordan 5f1bd43344 Working on adding campaign results page 2014-03-13 15:12:03 -05:00
Jordan 79cef0341e Fixed auto completion in campaign groups 2014-03-12 21:49:10 -05:00
Jordan 445bdd90a9 Added auto complete for group selection (backend to be implemented soon) 2014-02-24 11:03:20 -06:00
Jordan 77ea41c2f9 Added some error checking
Added flashes on campaign modal (coming soon to group modal)
2014-02-19 19:40:23 -06:00
Jordan 1e52267bfa Added ability to create campaigns
Need to improve GetCampaign() and GetCampaigns() to include Results and Groups
2014-02-18 14:22:16 -06:00
Jordan 788a5703d2 Working on front-end integration for adding/editing campaigns 2014-02-17 20:46:57 -06:00
Jordan 2420e19e15 Implemented DELETE /api/groups/:id 2014-02-13 12:05:22 -06:00
Jordan 631cd1ad13 Fixed the way Angular POSTS data
Added error code to checkError to support responses such as BadRequest, NotFound, etc.
2014-02-12 10:43:54 -06:00
Jordan c68bb5ab71 Added Swagger API Docs
Will work on trying to make the look more consistent later.
2014-02-11 11:39:36 -06:00
Jordan eb8491c144 Implemented ChangePassword() (now password can be changed from /settings)
A couple of UI fixes in tables
2014-02-10 13:02:44 -06:00
Jordan 34b93b7bf4 Updated campaigns view to support ng-table pagination
Updated Edit Group modal to support ng-table pagination
2014-02-10 09:44:15 -06:00
Jordan d72bc4b7df Updated interfacing with ng-table module. Will propagate changes to campaigns soon.
Updated footer copyright year
Cleaned up tables in templates
2014-02-10 01:15:36 -06:00
Jordan b471a886e3 Updated angular ui to support adding group
Updated POST /api/groups/ to successfully add group
Fixed CSRF in API issue
Moved PUT and DELETE to /api/groups/:id (TODO: Implement)
Changed SQL to use user_id instead of API key
It is now possible to add a new group! Will propagate logic to campaigns soon.
2014-02-09 19:34:47 -06:00
Jordan 79ba4fadb6 Improved usability/implementation of adding/editing groups and campaigns. 2014-02-08 15:16:36 -06:00
Jordan 6cbc47e80c Added ng-table support (for future pagination, sorting, etc.)
Created services for campaigns/groups
Changed modals to be binded to the data. Will improve on this soon!
Added trailing slash to api endpoints (I hope to be able to remove this later)
2014-02-07 19:40:16 -06:00
Jordan f1aade0bfa Quick bugfixes
Added dropdown to dashboard table
2014-02-06 21:36:00 -06:00
Jordan cb39888c54 Added buttons to appear onhover for the rows (to select Edit/View/Delete etc.) 2014-02-06 19:17:20 -06:00
Jordan 40cd2ae837 Cleaned up some errors
Implemented using db.* helpers (ie GetUser)
Implemented ChangePassword (not reachable from UI currently)
Fixed angular issue in settings.html template
2014-02-06 10:49:53 -06:00
Jordan af7a8f4c4e Added easier support for Flashes
Moving DB access (as much as possible) into `db` package.
2014-02-05 10:57:53 -06:00
Jordan fb6cdb5caf Implementing /api/groups functionality. POST is almost working :) 2014-02-04 21:08:09 -06:00
Jordan 50292da53f Implemented Registration
Created auth.GenerateSecureKey to handle generating API Keys
2014-02-04 18:39:01 -06:00
Jordan 4c722afe8b Creating layout for group add/edit modal 2014-02-04 10:21:07 -06:00
Jordan 7045c7f3e2 Refined CSRF Protection Exempt Glob (/api/* to /api/*/*) to provide CSRF protection /api/reset
Added stub for /api/campaigns/:id/launch
2014-02-03 23:41:31 -06:00
Jordan e0e15221b1 Updated README
Added CSRF Protection to login, /api/reset functions
Added auto highlighting of API key when clicked
2014-02-03 17:21:56 -06:00
Jordan 43417d160f Cleaning up some broken links
Changed default admin password to 'gophish'
Fixed bug in POST /api/campaigns
Starting to implements groups and users functionality
2014-02-02 16:37:36 -06:00
Jordan e312e90570 Added ability to reset API token
Cleaned up session flash handling
2014-02-02 14:47:06 -06:00
Jordan 3edcc11e61 Cleaning up router
/campaigns - depreciated
/api/doc - now /api/
2014-01-31 21:49:35 -06:00
Jordan c75e55154b Dates in dashboard template are working now.
Changed column spacing to make Name column wider
2014-01-31 20:56:21 -06:00
Jordan 87fbd41184 Changing int to int64
Starting to implement angularjs
Implemented /api/campaigns/:id GET
Changed template delims to {{% and %}}
2014-01-31 20:49:22 -06:00
Jordan c60b9d584b - Working on implementing the API (started working on /api/campaigns)
- Implemented APIKey middleware
- Changed settings template to look a bit nicer and to, you know, work.
2014-01-30 22:46:25 -06:00
Jordan e9aa8d2c88 Updated settings template and route to show basic user info 2014-01-30 15:15:12 -06:00
Jordan c59415a133 Adding some models - Incorporated use of `gorp` package to allow ORM'ish functionality 2014-01-30 15:08:14 -06:00
Jordan e993e8c898 Updated dashboard and nav template to handle user context 2014-01-14 21:20:28 -06:00
Jordan bb627396ee Implemented Flashes (Model and functionality)
Working on login functionality
Changed the way templates are loaded and rendered
2014-01-09 21:21:54 -06:00
Jordan 326ab52146 Working on authentication 2014-01-07 00:58:48 -06:00
Jordan e6343292be Working on setting up Login functionality
Introduced working with SQLite DB - working on setting up database on first run
Added "dbpath" to config
2014-01-06 00:09:41 -06:00
Jordan Wright a64b0c10c9 Moved structs to models.go file
Changed config to have "host" string
Working on simple mailing library
Some basic template bug fixes (eventually I might move the side nav to a template)
2013-12-12 00:27:43 -06:00
Jordan Wright 25a06a14a0 Working on adding session support
Starting to add API documentation page
Moved footer to base.html - Might move more later
2013-12-09 00:35:07 -06:00
Jordan Wright ceaf400206 Changed API_Campaigns_Id to be one method
Added secure cookie random []byte generation
Changed sidebar css
Fixed footer alignment (may consider making separate template)
2013-12-07 15:08:09 -06:00
Jordan Wright a3518032be Added config file integration, updated some styles 2013-12-06 17:39:40 -06:00
Jordan Wright f32989b4c5 Created actual *templates*
Moved templates out of static directory
2013-12-03 14:05:11 -06:00