Commit Graph

  • 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) Jordan 2014-02-07 19:40:16 -0600
  • f1aade0bfa Quick bugfixes Added dropdown to dashboard table Jordan 2014-02-06 21:36:00 -0600
  • cb39888c54 Added buttons to appear onhover for the rows (to select Edit/View/Delete etc.) Jordan 2014-02-06 19:17:20 -0600
  • 12d86c7e13 Moved Group insertion to db.PostGroup() Stubbed db.DeleteGroup() Added better logging to db (Logging to come soon for all other packages) Jordan 2014-02-06 19:16:29 -0600
  • cfd4e23b2b Updated API (/api/groups) Jordan 2014-02-06 13:30:05 -0600
  • 4b97a88238 Fixed issues with GET /api/groups Group names must now be unique (there's a bug here, but it will be fixed soon!) Jordan 2014-02-06 11:14:51 -0600
  • 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 Jordan 2014-02-06 10:49:53 -0600
  • af7a8f4c4e Added easier support for Flashes Moving DB access (as much as possible) into `db` package. Jordan 2014-02-05 10:57:53 -0600
  • 0bb9dc186c Finished implementing first version of GET, POST /api/groups Jordan 2014-02-04 21:53:11 -0600
  • fb6cdb5caf Implementing /api/groups functionality. POST is almost working :) Jordan 2014-02-04 21:08:09 -0600
  • 50292da53f Implemented Registration Created auth.GenerateSecureKey to handle generating API Keys Jordan 2014-02-04 18:39:01 -0600
  • 359fa01c1c Cleaned up csrf exemptions Cleaned up models Added UNIQUE constraint on many-many tables Added form parsing/ userid from API key lookup in middleware Jordan 2014-02-04 15:23:09 -0600
  • 4c722afe8b Creating layout for group add/edit modal Jordan 2014-02-04 10:21:07 -0600
  • 7045c7f3e2 Refined CSRF Protection Exempt Glob (/api/* to /api/*/*) to provide CSRF protection /api/reset Added stub for /api/campaigns/:id/launch Jordan 2014-02-03 23:41:31 -0600
  • e0e15221b1 Updated README Added CSRF Protection to login, /api/reset functions Added auto highlighting of API key when clicked Jordan 2014-02-03 17:21:56 -0600
  • ca884fd384 Implemented Logout function Jordan 2014-02-02 16:55:26 -0600
  • 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 Jordan 2014-02-02 16:37:36 -0600
  • e312e90570 Added ability to reset API token Cleaned up session flash handling Jordan 2014-02-02 14:47:06 -0600
  • 2cfe2b8f8f Cleaning up documentation Added targets, groups, group_target tables Jordan 2014-02-01 16:35:16 -0600
  • 3edcc11e61 Cleaning up router /campaigns - depreciated /api/doc - now /api/ Jordan 2014-01-31 21:49:35 -0600
  • c75e55154b Dates in dashboard template are working now. Changed column spacing to make Name column wider Jordan 2014-01-31 20:56:21 -0600
  • 87fbd41184 Changing int to int64 Starting to implement angularjs Implemented /api/campaigns/:id GET Changed template delims to {{% and %}} Jordan 2014-01-31 20:49:22 -0600
  • c4c57639e2 Implemented POST /api/campaigns Renamed "apikey" table to "api_key" for consistency Bug fix in checkError() Jordan 2014-01-31 16:25:02 -0600
  • 6802fe6800 Changed to indent JSON Changed default username to admin (instead of jordan) Jordan 2014-01-30 23:11:06 -0600
  • 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. Jordan 2014-01-30 22:46:25 -0600
  • e9aa8d2c88 Updated settings template and route to show basic user info Jordan 2014-01-30 15:15:12 -0600
  • c59415a133 Adding some models - Incorporated use of `gorp` package to allow ORM'ish functionality Jordan 2014-01-30 15:08:14 -0600
  • e993e8c898 Updated dashboard and nav template to handle user context Jordan 2014-01-14 21:20:28 -0600
  • 6944854005 Added support for --setup flag to reset database Jordan 2014-01-12 22:39:40 -0600
  • c42ddf3dd7 Added createTableSQL script to better manage table creation Added creation of Campaigns table Jordan 2014-01-12 21:46:51 -0600
  • 4272d5a12b Created Campaigns struct Jordan 2014-01-12 21:36:26 -0600
  • 4ad8c3c468 Implemented GetUserByAPIKey and changed GetUser to GetUserById Jordan 2014-01-12 20:00:52 -0600
  • 2a88b259b3 Working on API layout Jordan 2014-01-12 20:00:20 -0600
  • ef1bf55484 Updated README Jordan 2014-01-11 20:47:24 -0600
  • bdbc06f15b Create gh-pages branch via GitHub Jordan Wright 2014-01-10 23:35:57 -0800
  • cdb4181406 Renamed CheckLogin to Login Changed encryption cookie to be 32 bytes (64 bytes not supported) Jordan 2014-01-11 00:10:52 -0600
  • 2a62f62bc6 Cleaned API even more (everything is via HandlerFunc) Sessions are now encrypted as well as signed. Jordan 2014-01-10 22:37:42 -0600
  • 42d7c463df Moved Use() to controllers from middleware for cleaner usage (I'll consider moving it back if it doesn't logically make sense) Renamed Base_Campaigns to Campaigns Jordan 2014-01-10 22:11:44 -0600
  • 61ef18b3b4 Implemented auth.GetUser(id) Impemented RequireLogin() middleware Login is now working, just need to clean up the architecture a bit Jordan 2014-01-09 22:21:12 -0600
  • bb627396ee Implemented Flashes (Model and functionality) Working on login functionality Changed the way templates are loaded and rendered Jordan 2014-01-09 21:21:54 -0600
  • 7eb90b27ad Moved DB to root folder Created db package to handle DB connection/queries Removed Setup.go (now handled in db package) Setup context in middleware Jordan 2014-01-09 17:18:49 -0600
  • d4dbf30499 Changed Setup() to only return an error - I will need to find a way to handle the database connection either globally, or per package as needed. Not sure yet. Jordan 2014-01-09 01:08:32 -0600
  • 6cf9ae4bb8 Moved api.go to controllers - This commit shows the old one was deleted. Jordan 2014-01-09 00:43:08 -0600
  • 7f084760f9 Major refactoring - created auth, config, models, controllers, and middleware packages. Should help provide modularity and a clean architecture. Added doc.go for each package Jordan 2014-01-09 00:42:05 -0600
  • 326ab52146 Working on authentication Jordan 2014-01-07 00:58:48 -0600
  • e6343292be Working on setting up Login functionality Introduced working with SQLite DB - working on setting up database on first run Added "dbpath" to config Jordan 2014-01-06 00:09:41 -0600
  • 5a5c9f600f Working on SendMail (currently NOT functional) Added user model for kicks - we'll see if it finds a reason to stay Setup /users and /settings routes Jordan Wright 2013-12-12 01:00:22 -0600
  • 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) Jordan Wright 2013-12-12 00:27:43 -0600
  • 25a06a14a0 Working on adding session support Starting to add API documentation page Moved footer to base.html - Might move more later Jordan Wright 2013-12-09 00:35:07 -0600
  • 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) Jordan Wright 2013-12-07 15:08:09 -0600
  • a3518032be Added config file integration, updated some styles Jordan Wright 2013-12-06 17:39:40 -0600
  • f32989b4c5 Created actual *templates* Moved templates out of static directory Jordan Wright 2013-12-03 14:05:11 -0600
  • 90b1384d9e Added logo to readme Jordan Wright 2013-12-02 22:59:29 -0600
  • 1d6e25a2d1 Initial commit - getting the ball rolling! Jordan Wright 2013-12-02 22:56:55 -0600
  • fbc864cb98 Initial commit Jordan Wright 2013-11-18 15:26:43 -0800