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
851ba9de30
Fixed double insertion of results when worker handles campaign (looks like a bug in gorm)
...
Removed handy abbreviation due to latest commit in gorm (this is why we can't have nice things :smile)
2014-05-28 22:20:58 -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
023d0207a8
Fixed bug in deleting campaign
2014-05-27 16:13:30 -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
7c50f4dbb4
Initial commit of worker.go (Still work to do)
...
Moved constants to models.go
Changed Campaign.Template to be an actual template (will need to adjust all the methods to handle it)
Added UpdateCampaignStatus function to update a campaign status
2014-03-27 23:31:51 -05:00
Jordan
ac7fda0b04
Merge branch 'gorm_integration'
2014-03-27 13:21:32 -05:00
Jordan
f0e7ac46c8
Integrated gorm with templates - Gorm integration complete
...
Updated groups to belong to one user. I may make a Team and TeamGroups, and TeamUsers m2m relationships later.
Added another test - more on the way soon.
2014-03-27 13:19:57 -05:00
Jordan
a0d8dab633
Forgot to specify original build strings as well
2014-03-26 21:53:23 -05:00
Jordan
1b8b247562
Added gocheck to be installed in Travis-CI
2014-03-26 21:49:39 -05:00
Jordan
cb9c405f46
Added better testing with gocheck
...
Fixed some typos leading to syntax errors
TODO: Finish up gorm integration into templates
2014-03-26 21:42:07 -05:00
Jordan
776f591f68
Cleaned up old gorp code
...
Bug fix in settings template
2014-03-26 15:01:49 -05:00
Jordan
5740ee3273
Fixed bug in POSTing campaign
...
Removed gorp initialization code from models.go
2014-03-26 14:50:16 -05:00
Jordan
6e5361b210
Continuing gorm integration
...
Todo:
Templates
2014-03-26 14:32:48 -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
92af237258
Changed the init to Setup() for better control over DB creation
2014-03-24 22:38:59 -05:00
Jordan
584d7dbc23
Major refactoring - modularized models into separate files. Removed db package (moved to models)
...
I will be looking to migrate to gorm (instead of gorp) soon!
2014-03-24 22:31:33 -05:00
Jordan
4dd9a5cc53
Checking for no targets on PUT /groups/:id
2014-03-24 19:12:04 -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
20fe32fd4e
Added some very basic Travis-CI testing
2014-03-18 17:42:46 -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
a3882cbf02
A couple more auth.go cleanups
2014-03-18 14:35:02 -05:00
Jordan
38db9480a2
Cleaned up comments for auth.go
2014-03-18 14:28:47 -05:00
Jordan
ef371f68bd
Set StrictSlash on API router to automatically redirect to correct url if slash is not provided
2014-03-18 13:58:08 -05:00
Jordan
af35130222
Updated API Documentation for Templates
2014-03-16 22:22:47 -05:00
Jordan
9b94971a1d
Implementing Template API calls (todo: PUT, DELETE)
...
Cleaning up documentation for templates
Bugfix for DB Tables
2014-03-16 22:18:48 -05:00
Jordan
3f30d08bf5
Working on implementing templates
2014-03-16 22:02:06 -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
cdc776ec03
Implemented PUT /api/groups/:id
...
Updated documentation of functions in db module (other modules to come)
Created consistency in API documentation
2014-02-11 17:32:29 -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
73db7fbdf9
Fixed invalid/unset API Key header to be 400 instead of 500
...
Successfully handle OPTIONS header for API
2014-02-11 00:14:58 -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