Jordan
6944854005
Added support for --setup flag to reset database
2014-01-12 22:39:40 -06:00
Jordan
2a62f62bc6
Cleaned API even more (everything is via HandlerFunc)
...
Sessions are now encrypted as well as signed.
2014-01-10 22:37:42 -06:00
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
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
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
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
a3518032be
Added config file integration, updated some styles
2013-12-06 17:39:40 -06:00
Jordan Wright
1d6e25a2d1
Initial commit - getting the ball rolling!
2013-12-02 22:56:55 -06:00