Commit Graph

100 Commits

Author SHA1 Message Date
Dan Ballard 9476bf1e74 tweak roll up css, add pagination 2016-01-09 09:04:31 -08:00
Dan Ballard 94221611c1 rollup and roll down big posts. fix some button css 2016-01-09 08:32:39 -08:00
Dan Ballard b45d101657 don't truncate news notes display 2016-01-09 06:29:40 -08:00
Dan Ballard 62366427fb markdown fix 2015-12-25 20:10:59 -08:00
Dan Ballard e45be9fbd3 disable csrf until SSL 2015-12-25 13:21:59 -08:00
Dan Ballard 765659b3ee fix username color 2015-12-25 10:26:53 -08:00
Dan Ballard de09e150b2 add paging to db call 2015-12-25 09:31:23 -08:00
Dan Ballard 015d6fa86d a lot of ui cleaning up, extending csrf time, adding csrf logging errors to screen 2015-12-25 09:07:03 -08:00
Dan Ballard 9f5cd7e5d8 cleanup nav for public, footer + branding 2015-11-22 16:26:51 -08:00
Dan Ballard cbc4dc40bf wire config.Url to news page for add to transmet link 2015-11-22 10:01:03 -08:00
Dan Ballard 2b77215d05 Merge branch 'master' of github.com:dballard/transmet 2015-11-22 09:55:42 -08:00
Dan Ballard 7e16f7431c fix add to transmet link 2015-11-22 09:55:27 -08:00
Dan Ballard 3f963a066f category managment now in program, removed from readme sql 2015-11-20 13:34:12 -08:00
Dan Ballard 674c44032b use urandom
http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/
2015-11-20 10:09:35 -08:00
Dan Ballard 0dc40f0a96 should not be default file 2015-11-19 20:10:38 -08:00
Dan Ballard ad765f5798 gofmt 2015-11-19 20:03:51 -08:00
Dan Ballard 42795c6cef finish csrf and gorilla mux port work 2015-11-19 20:00:33 -08:00
Dan Ballard df5dca3a52 work on porting routers to more gorilla/mux style and making all actions POST and csrf trackable 2015-11-11 09:28:07 -08:00
Dan Ballard e07b20b531 proof of concept csrf working. needs cleaning up and securing 2015-11-07 15:32:28 -08:00
Dan Ballard 1709429e98 implement CSRF per docs - doesnt work. css,js files 404 and get csrf invalid errors on form submit 2015-11-03 08:16:59 -08:00
Dan Ballard 11c85d110f start using gorilla csrf - in place but not used 2015-11-02 08:07:22 -08:00
Dan Ballard 86e5802ae8 dummy file and script to gen csrf secret 2015-11-02 08:00:00 -08:00
Dan Ballard 75154338db bad sleep upstart hack so that postgres has a chance to start before transmet 2015-10-31 10:32:50 -07:00
Dan Ballard 31106490b8 nb influenced styles to make news page more better porpotioned/sized/looking 2015-09-30 07:33:06 -07:00
Dan Ballard df78114c6d Merge branch 'master' into news-admin
Conflicts:
	.gitignore
2015-09-23 21:14:22 -07:00
Dan Ballard 11a50e973c Edit post works 2015-09-23 21:12:57 -07:00
Dan Ballard e0575939c3 finish up route/editPostHandle 2015-09-23 20:22:12 -07:00
Dan Ballard 0b17312c22 edit loads 2015-09-22 08:30:51 -07:00
Dan Ballard 4e632602f4 getting close to edit working 2015-09-21 08:26:31 -07:00
Dan Ballard 9c127555eb editing may not work (load mostly) but at least its all unbroken now 2015-09-20 07:51:36 -07:00
Dan Ballard 0263f55073 blip 2015-09-18 08:48:38 -07:00
Dan Ballard 233b24d561 template tweek news; route handler: dont use session for page redirects, bad; further mock edit 2015-09-17 22:49:54 -07:00
Dan Ballard f496ca9f80 prep edit 2015-09-17 08:03:53 -07:00
Dan Ballard bc7fcdde54 gofmt, delete works 2015-09-13 14:57:22 -07:00
Dan Ballard 8f9969b4cc typos, gitignore for intelij 2015-09-05 10:49:29 -07:00
Dan Ballard f9ab27e32a mock out delete news 2015-09-03 07:16:16 -07:00
Dan Ballard fddf4b5045 make news populate id, add edit del links 2015-08-30 20:48:55 -07:00
Dan Ballard 470b011ded clean up news display 2015-08-30 20:23:35 -07:00
Dan Ballard a4abe1424a fix news page listing bugs 2015-08-27 08:01:37 -07:00
Dan Ballard 6438250ef7 Work on news list page
TODO:
  - fix category path printer (only prints last if there is a parent)
  - dates are all NOW
2015-08-23 11:04:14 -07:00
Dan Ballard 72a17784ff new date listed non nested news get 2015-08-17 07:16:54 -07:00
Dan Ballard 721b1a713a docs enhancment 2015-08-16 12:09:48 -07:00
Dan Ballard d860a5ba02 finish db fn, start template 2015-07-21 07:10:57 -07:00
Dan Ballard 2a5a2f451e stub loadPages 2015-07-15 22:50:52 -07:00
Dan Ballard 05fe8b575b prep work for news page 2015-07-14 08:10:22 -07:00
Dan Ballard ff1b804cd6 add comprehensive delete, fix bug in changeparent 2015-07-09 07:31:54 -07:00
Dan Ballard 542932a98b add delete handler and stub, also add session to framework handler 2015-07-08 21:44:55 -07:00
Dan Ballard 2fa54d6954 Add works 2015-07-08 20:30:47 -07:00
Dan Ballard 35406174a2 most of add 2015-07-07 22:49:11 -07:00
Dan Ballard a860c3ad70 stub handler for category add 2015-07-07 21:38:15 -07:00