Source

haskellblog / src / Migrate.hs

Author Commit Message Labels Comments Date
Luke Plant
Various fixes to run on GHC 7.0 and much more recent versions of packages.
Luke Plant
Make category post feed respect feed_post_page_size
Luke Plant
Use ByteString in Category instead of String
Luke Plant
Convert Post structure to use ByteString instead of String
Luke Plant
Use ByteString in Comment instead of String This should have the effect of avoiding creation of Strings for talking to the DB, which is inefficient
Luke Plant
Added redirect file for feeds
Luke Plant
Implemented admin page for editing/adding/deleting posts
Luke Plant
Fixed migration script to actually delete the 'articles' category. Refactored to use existing functions from Model.hs
Luke Plant
Misc fixes for migration
Luke Plant
Fixed encoding issues with comments in migration script.
Luke Plant
Added 'hidden' and 'response' fields to Comment schema
Luke Plant
Set up default user in migrate script
Luke Plant
Use 'B' and 'LB' for ByteString/Lazy ByteString
Luke Plant
Implemented proper plain text formatting
Luke Plant
Fixed some posts by removing them in migration script
Luke Plant
Fixed migration script for the case of posts with empty body and a completed summary
Luke Plant
reformmatting
Luke Plant
Model definition and migration for comments table
Luke Plant
Reorganised db -> haskell layer into Model.hs module
Luke Plant
Replaced strict ByteStrings with lazy ByteStrings for consistency and simplicity
Luke Plant
Added lists of categories and timestamp on individual post page
Luke Plant
Fixed migration routine to decode UTF8 into strings
Luke Plant
Made template use correct permalink functions
Luke Plant
renamed permalink functions for consistency
Luke Plant
Removed unused import
Luke Plant
More code reorganising
Luke Plant
Pulled functions out of Migrate.hs into Post.hs and Category.hs
Luke Plant
Sorted import lines
Luke Plant
Moved library code to 'Blog' subdir
Luke Plant
Misc code reformatting and clean ups
  1. Prev
  2. 1
  3. 2
  4. Next