haskellblog / src / Migrate.hs

Author Commit Message Labels Comments Date
Luke Plant avatarLuke Plant
Changed various instances of underscores to camelCase, so they can be used in templates
Luke Plant avatarLuke Plant
Various fixes to run on GHC 7.0 and much more recent versions of packages.
Luke Plant avatarLuke Plant
Make category post feed respect feed_post_page_size
Luke Plant avatarLuke Plant
Use ByteString in Category instead of String
Luke Plant avatarLuke Plant
Convert Post structure to use ByteString instead of String
Luke Plant avatarLuke Plant
Use ByteString in Comment instead of String
Luke Plant avatarLuke Plant
Added redirect file for feeds
Luke Plant avatarLuke Plant
Implemented admin page for editing/adding/deleting posts
Luke Plant avatarLuke Plant
Fixed migration script to actually delete the 'articles' category.
Luke Plant avatarLuke Plant
Misc fixes for migration
Luke Plant avatarLuke Plant
Fixed encoding issues with comments in migration script.
Luke Plant avatarLuke Plant
Added 'hidden' and 'response' fields to Comment schema
Luke Plant avatarLuke Plant
Set up default user in migrate script
Luke Plant avatarLuke Plant
Use 'B' and 'LB' for ByteString/Lazy ByteString
Luke Plant avatarLuke Plant
Implemented proper plain text formatting
Luke Plant avatarLuke Plant
Fixed some posts by removing them in migration script
Luke Plant avatarLuke Plant
Fixed migration script for the case of posts with empty body and a completed summary
Luke Plant avatarLuke Plant
reformmatting
Luke Plant avatarLuke Plant
Model definition and migration for comments table
Luke Plant avatarLuke Plant
Reorganised db -> haskell layer into Model.hs module
Luke Plant avatarLuke Plant
Replaced strict ByteStrings with lazy ByteStrings for consistency and simplicity
Luke Plant avatarLuke Plant
Added lists of categories and timestamp on individual post page
Luke Plant avatarLuke Plant
Fixed migration routine to decode UTF8 into strings
Luke Plant avatarLuke Plant
Made template use correct permalink functions
Luke Plant avatarLuke Plant
renamed permalink functions for consistency
Luke Plant avatarLuke Plant
Removed unused import
Luke Plant avatarLuke Plant
More code reorganising
Luke Plant avatarLuke Plant
Pulled functions out of Migrate.hs into Post.hs and Category.hs
Luke Plant avatarLuke Plant
Sorted import lines
Luke Plant avatarLuke Plant
Moved library code to 'Blog' subdir
  1. Prev
  2. 1
  3. 2
  4. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.