Commit Graph

718 Commits (353639e1680f6b7e2883bd915c1b418caae038a2)

Author SHA1 Message Date
Jordan 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
2014-01-10 22:11:44 -06:00
Jordan 61ef18b3b4 Implemented auth.GetUser(id)
Impemented RequireLogin() middleware
Login is now working, just need to clean up the architecture a bit
2014-01-09 22:21:12 -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 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
2014-01-09 17:18:49 -06:00
Jordan 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. 2014-01-09 01:08:32 -06:00
Jordan 6cf9ae4bb8 Moved api.go to controllers - This commit shows the old one was deleted. 2014-01-09 00:43:08 -06:00
Jordan 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
2014-01-09 00:42:05 -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 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
2013-12-12 01:00:22 -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 90b1384d9e Added logo to readme 2013-12-02 22:59:29 -06:00
Jordan Wright 1d6e25a2d1 Initial commit - getting the ball rolling! 2013-12-02 22:56:55 -06:00
Jordan Wright fbc864cb98 Initial commit 2013-11-18 15:26:43 -08:00