Commit Graph

318 Commits (af0a630ea39ff2e803c8708bc645553413912cb3)

Author SHA1 Message Date
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 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 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 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 c59415a133 Adding some models - Incorporated use of `gorp` package to allow ORM'ish functionality 2014-01-30 15:08:14 -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
Jordan Wright 1d6e25a2d1 Initial commit - getting the ball rolling! 2013-12-02 22:56:55 -06:00