[Extracted user and common stuff from Halbum and Blob. bjorn@bringert.net**20060525232745] [Added Makefile. bjorn@bringert.net**20060525233032] [Added module system. bjorn@bringert.net**20060526031439] [Use find in clean target. bjorn@bringert.net**20060526031554] [Added front page and htaccess. bjorn@bringert.net**20060526035423] [Moved navigations stuff to module level. Show navigation trees from all modules. bjorn@bringert.net**20060526042254] [Added basic stylesheet. bjorn@bringert.net**20060526043813] [Added INSTALL file. Moved CreateDB and Config to top-level dir. bjorn@bringert.net**20060526044952] [Finished initial version of Hope which works with halbum and blob. bjorn@bringert.net**20060526210126] [Added CSS for form fields. bjorn@bringert.net**20060526210730] [Display forms and widgets in navigation tree as inline elements. bjorn@bringert.net**20060526212058] [Simplified adding new modules. bjorn@bringert.net**20060526234912] [Moved user code back into main hope. bjorn@bringert.net**20060530033548] [Use MySQL in config. bjorn@bringert.net**20060530033622] [Better looking CSS. bjorn@bringert.net**20060530073726] [Added outputLocalFile. bjorn@bringert.net**20060530224411] [Added resURL. bjorn@bringert.net**20060530231542] [Added FastCGI version. bjorn@bringert.net**20060531003415] [Made hope.fcgi phony. bjorn@bringert.net**20060531003642] [front module now redirects to blob entries. bjorn@bringert.net**20060531004323] [Don't import Hawl.Data.Path in Hope.hs bjorn@bringert.net**20060531182117] [Renamed htaccess files so that make clean doesn't remove them. bjorn@bringert.net**20060531184947] [Compile with optimizations. bjorn@bringert.net**20060531185006] [Set RTS options from Makefile. Some Makefile improvements. bjorn@bringert.net**20060531190701] [Give main width auto. bjorn@bringert.net**20060531192701] [Compiled ghc_rts_opts.c separately. bjorn@bringert.net**20060602163201] [Added installball targets to makefile. Build static binaries. bjorn@bringert.net**20060602174645] [Added note about removing static linking flags on OS X. bjorn@bringert.net**20060604054114] [Added list of dependencies to INSTALL. bjorn@bringert.net**20060604213245] [Update Hawl homepage URL in INSTALL. bjorn@bringert.net**20060605010713] [Added RSS and favicon support. Don't use outputFile from NewCGI, since Safari chokes on the content-lnegth header for Halbum thumbnails. bjorn@bringert.net**20060605215217] [Documented HaXml dependency introduced by the RSS module. bjorn@bringert.net**20060605215713] [Added module check-out to INSTALL bjorn@bringert.net**20060605220642] [Use PATH_INFO instead of the cheezy _path query. bjorn@bringert.net**20060606000033] [Added installball instructions. bjorn@bringert.net**20060606002100] [Added TODO. bjorn@bringert.net**20060606005012] [More TODOs. bjorn@bringert.net**20060606010031] [Don't compile statically by default. bjorn@bringert.net**20060606182235] [Moved halbum2 into the Hope repo. bjorn@bringert.net**20060606183127] [Moved blob2 into the Hope repo. bjorn@bringert.net**20060606183255] [Added mkModules.hs bjorn@bringert.net**20060606183425] [No need for instructions on where to get modules anymore. bjorn@bringert.net**20060606183604] [Removed Read ImageInfo again. bjorn@bringert.net**20060606185621] [Added some instructions for hopeBase. bjorn@bringert.net**20060606190250] [Set GHC_RTS_OPTS to empty, to avoid crazy bugs like the one shapr found. bjorn@bringert.net**20060607002220] [Use the new error handling stuff in NewCGI. bjorn@bringert.net**20060607065932] [Removed IfModule mod_rewrite, to make failure more obvious. bjorn@bringert.net**20060607202920] [Allow changing the entry date on the entry edit page. bjorn@bringert.net**20060607203848] [Show time zone when adding and editing blob entries. bjorn@bringert.net**20060607211126] [Added some blob2 TODOs. bjorn@bringert.net**20060607211509] [Added some more TODOs. bjorn@bringert.net**20060608020037] [Moved Hawl into the Hope repo. bjorn@bringert.net**20060608043357] [Update Makefile and INSTALL for bundled Hawl. bjorn@bringert.net**20060608043447] [Removed stuff from Hawl that was never used. bjorn@bringert.net**20060608044629] [Added relink- targets. bjorn@bringert.net**20060608050250] [Updated countlines target. bjorn@bringert.net**20060608050427] [Moved all TODOs to hope/TODO. Added lots of stuf suggested by Shae. bjorn@bringert.net**20060608182129] [Added some more TODOs. bjorn@bringert.net**20060608195329] [Added a bunch of TODOs after talking to shapr. bjorn@bringert.net**20060608210123] [Use MonadDatabase for users and sessions stuff. bjorn@bringert.net**20060608211031] [Moved User and Session to Hope from Hawl. bjorn@bringert.net**20060608214525] [Compile with optimizations by default. bjorn@bringert.net**20060608214617] [Moved the last modules from Hawl to Hope. bjorn@bringert.net**20060608221631] [Added missing Hope.Session module. bjorn@bringert.net**20060608222211] [Moved Halbum and Blob modules into Hope name space. bjorn@bringert.net**20060609004058] [Moved user resource handlers to Module_user.hs bjorn@bringert.net**20060609010812] [Moved API part of session stuff to Hope.Session. bjorn@bringert.net**20060609012230] [Created Hope.User with user API stuff. bjorn@bringert.net**20060609015019] [Got rid of the last users of getDB. bjorn@bringert.net**20060609020710] [Moved more of the main logic to Hope.hs. bjorn@bringert.net**20060612194657] [Removed dead code from Hope.hs bjorn@bringert.net**20060612194825] [Added preview TODO. bjorn@bringert.net**20060612222445] [Removed some unused imports. bjorn@bringert.net**20060612222836] [Added BSD-style license. bjorn@bringert.net**20060612224107] [Added more TODOs. bjorn@bringert.net**20060612234937] [More TODOs. bjorn@bringert.net**20060613023622] [Added permissions system. Added user edit page. bjorn@bringert.net**20060613061350] [Added hopeModules to Config. Moved Hope.Page and Hope.Monad into Hope.Module and Hope.View. bjorn@bringert.net**20060613195155] [Put modules list in Config.hs. bjorn@bringert.net**20060613201506] [Added roles edit page. bjorn@bringert.net**20060613213413] [Implemented role permissions editing. bjorn@bringert.net**20060613221417] [Modules have TInfos instead of database creation functions. Added createTableSQL. bjorn@bringert.net**20060614072744] [Added -sql flag to createdb. Added ghci target to Makefile. bjorn@bringert.net**20060614073900] [Add semicolons after SQL statements from createdb. bjorn@bringert.net**20060614074048] [Moved Range and queryRange to Hope.Util.HaskellDB. bjorn@bringert.net**20060614212044] [Moved getRange to Hope.Module. bjorn@bringert.net**20060614213032] [Added HSQL check-out info to INSTALL. bjorn@bringert.net**20060614215407] [Added config example for FlatDB. bjorn@bringert.net**20060614222300] [Added range limiting to Blob. bjorn@bringert.net**20060614222313] [Added flatdb-create instructions to config. bjorn@bringert.net**20060614223727] [Fixed silly copy-and-paste bug which made the Add users link disappear. Thanks you xerox for reporting it. bjorn@bringert.net**20060615020421] [Implemented entry deletion. Moved some link and next page stuff from Halbum to Hope. bjorn@bringert.net**20060615023004] [Confirm entry deletion. bjorn@bringert.net**20060615023441] [Redirect to main blob page after deleting an entry to avoid redirecting to a now deleted entry. bjorn@bringert.net**20060615030713] [Fixed bug where hasPermission dig not pick up permissions for standard roles. bjorn@bringert.net**20060615032525] [Changed default Halbum order to storeasc to work around bug reported by shapr where images without an EXIF date don't show up on the index page. bjorn@bringert.net**20060615033223] [Removed a fixed TODO. bjorn@bringert.net**20060615033424] [Added role editing to user edit page. bjorn@bringert.net**20060615035945] [Fixed stupid loop bug in getUserRoles. bjorn@bringert.net**20060615040213] [Added add role and setting user roles. bjorn@bringert.net**20060615045956] [Removed some fixed TODOs. bjorn@bringert.net**20060615222524] [Added canRead permission to blob. Added permission names to all permissions. bjorn@bringert.net**20060615234918] [Fixed bug where the current users roles were show instead of the edited user's. bjorn@bringert.net**20060615235059] [Generalized tags table and added tags module. DB SCHEMA CHANGE: tags has a new column item_type. The value should be "image" for all old halbum image tags. bjorn@bringert.net**20060616022448] [Added entry tagging. bjorn@bringert.net**20060616225625] [Updated TODO with current tag stuff. bjorn@bringert.net**20060616225957] [Changed text on log out button to include user name. bjorn@bringert.net**20060616231952] [Moved outputFile to Hope.Util.CGI from NewCGI. Disabled content-length since this breaks something with request piplining. bjorn@bringert.net**20060617032646] [Added MonadDatabase versions of basic HaskellDB functions and use those everywhere. bjorn@bringert.net**20060617075637] [Some clean-up among the blob modules. bjorn@bringert.net**20060617081900] [Check permissions consistently. Added a general permission denied resource output. Added some missing permissions (view users, view images, etc.) bjorn@bringert.net**20060618072109] [Implement image import from a directory on the server. bjorn@bringert.net**20060618085006] [Moved import dir listing to the main Halbum module. bjorn@bringert.net**20060618202346] [Added some simple TODOs. bjorn@bringert.net**20060619033130] [Don't show tag list if it is empty. bjorn@bringert.net**20060619035420] [When permission denied and no users in db, suggest adding a user. bjorn@bringert.net**20060619040330] [Allow adding a tag to all images uploaded or imported in a batch. bjorn@bringert.net**20060619081726] [Made blob entries a bit wider, to fit 3 halbum thumbnails side-by-side. bjorn@bringert.net**20060619222850] [Note that createdb is not needed after creating the tables. Block access to createdb in htaccess. bjorn@bringert.net**20060619225134] [Moved halbum modules stuff to Module_halbum. bjorn@bringert.net**20060620004957] [Use hopeTitle in halbum2. bjorn@bringert.net**20060620005626] [Renamed Halbum.ImageInfo to Halbum.Types. bjorn@bringert.net**20060620011052] [Use timeNow in Halbum. bjorn@bringert.net**20060620011455] [Removed Log out button with username from TODO since it has been fixed. bjorn@bringert.net**20060620025341] [Do escaping in RSS before pretty-printing. bjorn@bringert.net**20060620200758] [Fixed stupid copy and paste bug that broke date ranges. bjorn@bringert.net**20060620220126] [unsafeUseAsCStringLen has moved to Data.ByteString.Base, update the import shae@ScannedInAvian.com**20060621152231] [Entry tagging TODO from shapr. bjorn@bringert.net**20060621180011] [DB SCHEMA CHANGE: back up your database, then run make migratedb; ./migratedb. This adds an Item type which is then used to implement halbum and blob. bjorn@bringert.net**20060621220011] [Added missing modules in Hope.Item. bjorn@bringert.net**20060621220417] [Added missing modules in Hope.Item.DB. bjorn@bringert.net**20060621220514] [Added missing Tag.DB modules bjorn@bringert.net**20060621220841] [Added missing migrate DB modules. bjorn@bringert.net**20060621220936] [Add 1 to next item IDs to get them right in migration. bjorn@bringert.net**20060621221940] [Default sort order should be descending, not ascending. bjorn@bringert.net**20060621224440] [Changed thin in CSS to 1px, since IE seems to think that thin is 2px. bjorn@bringert.net**20060622175029] [Added note to Text.RSS about XML escaping. bjorn@bringert.net**20060623052316] [Added microformats TODO bjorn@bringert.net**20060624052313] [Removed dead CSS. Use px for all padding and margins. bjorn@bringert.net**20060624052857] [Added HTML entities TODO. bjorn@bringert.net**20060624084143] [Added ITEM class. Added unfinished comment stuff. bjorn@bringert.net**20060624101248] [More work on comments. bjorn@bringert.net**20060626191756] [Finished comments, except threaded view. bjorn@bringert.net**20060626222612] [Implemented threaded comment view. bjorn@bringert.net**20060626234355] [Show comments when viewing a single entry. bjorn@bringert.net**20060627011205] [Suggest comment title when adding a comment. bjorn@bringert.net**20060627012617] [Added ITEM instance for Item. bjorn@bringert.net**20060627015429] [Changed comments link to point to blog entry. bjorn@bringert.net**20060627020353] [Use the same Config type everywhere, thus all modules use the Hope monad. Store config in database. bjorn@bringert.net**20060627081719] [Added settings editing stuff which doesn't work yet. bjorn@bringert.net**20060627220608] [Finished settings editing stuff. Added typed settings layer. bjorn@bringert.net**20060628005834] [Removed some fixed TODOs. bjorn@bringert.net**20060628011110] [Removed more fixed TODOs. bjorn@bringert.net**20060628011825] [Added basic themeing. Cleaned up some CSS and html ids. bjorn@bringert.net**20060628032621] [Removed unused blob stylesheet. bjorn@bringert.net**20060628033016] [Moved some halbum style stuff to the default theme. bjorn@bringert.net**20060628033311] [Use buttons for all entry action widgets. bjorn@bringert.net**20060628053555] [Fixed descriptions of entry and photo add tag permissions. bjorn@bringert.net**20060628053814] [Added subtitle setting. bjorn@bringert.net**20060628065325] [Added hope theme. bjorn@bringert.net**20060628070409] [Touch hope logo svg file. bjorn@bringert.net**20060628070609] [Include theme dir in installball. bjorn@bringert.net**20060628070713] [Update INSTALL. bjorn@bringert.net**20060628070850] [Don't quote generic font familty names. bjorn@bringert.net**20060628081135] [But h1 and h2 inside title divs. bjorn@bringert.net**20060628201341] [Added rounded top-left corners to item titles and navigation. bjorn@bringert.net**20060628202908] [Use h3 for comment titles. Remove tree list items in comments trees in all themes. bjorn@bringert.net**20060628204013] [Work around some IE style weirdness. bjorn@bringert.net**20060628221016] [New navigation style for the hope theme. bjorn@bringert.net**20060628222739] [Format pubDate in RSS according to RFC 2822. bjorn@bringert.net**20060628224401] [Move Text.RSS to top-level dir. Updated Text.RSS to RSS 2.0.1-rv-6. Don't pretty-print in Text.RSS, to avoid introducing spaces around entities. bjorn@bringert.net**20060629040001] [Fixed example code in Text.RSS to compile again. bjorn@bringert.net**20060629040236] [Moved Text.RSS to a separate package. bjorn@bringert.net**20060629042431] [Added footer TODO. bjorn@bringert.net**20060629045804] [Moved blob Data module to Hope. Include year-month entry tree in blob navigation tree. bjorn@bringert.net**20060629060654] [Removed duplicate entries from navigation tree. bjorn@bringert.net**20060629060916] [Towards type classes for generating RSS and HTML for items. bjorn@bringert.net**20060629070822] [Moved blob over to generic item formatting. bjorn@bringert.net**20060629081532] [Moved fmapMTree to Hope.Util.Tree. bjorn@bringert.net**20060629081710] [Fixed missing imports resulting from fmapMTree move. bjorn@bringert.net**20060629082144] [moduleNav is now maybe a tree, instead of a forest. bjorn@bringert.net**20060629085741] [Remove instance ITEM Item, since it was unused. bjorn@bringert.net**20060629092003] [Moved Hope.RSS to Hope.Item.RSS bjorn@bringert.net**20060629224716] [Theme can now set favicon. Trim space from tags and don't add empty tags. Always include stylesheets for all loaded modules. Nicer class names for item lists. Added infrastructure for showing items of different type on the same page. Changed tag page to use that. Use more standard item HTML for images. bjorn@bringert.net**20060630025451] [Added date module. Finished multi-type item lists and implemented for dates. Made ItemQuery monomorphic. bjorn@bringert.net**20060630111420] [Style tweaks. bjorn@bringert.net**20060630113048] [Remove unused imports. bjorn@bringert.net**20060630113833] [Strip markup and get first paragraph for RSS description. Put entried entry in XHTML in content:encoded. bjorn@bringert.net**20060701091151] [A bunch of RSS fixes. You need to get today's haskell-xhtml and haskell-rss to build. bjorn@bringert.net**20060701211946] [Added generator tag to RSS. Stop using content:encoded in RSS. bjorn@bringert.net**20060702002752] [Change class name of comments list to comment_list. bjorn@bringert.net**20060702003022] [Added classes to the roles edit page. Add some CSS for it. bjorn@bringert.net**20060702013055] [Cleaned up RSS TODOs. bjorn@bringert.net**20060702014618] [Use ItemQueries to simplify blob entry list generation. Added per-user pages and feeds for blog entries. bjorn@bringert.net**20060702014644] [Don't include generated code in make countlines. bjorn@bringert.net**20060702021005] [Simplified listing items of a given type for a date interval. Added date interval listing to halbum2. bjorn@bringert.net**20060702023745] [Added per-user lists to halbum2. bjorn@bringert.net**20060702025552] [Moved tags before dates in sidebar. bjorn@bringert.net**20060702025640] [Cleaned up sorting and range limiting TODOs. bjorn@bringert.net**20060702025941] [Moved theme stuff to a separate module. Added logo image to themable stuff. Changed id of #logo to #brand. CSS tweaks. bjorn@bringert.net**20060702032432] [Changed top-level layout to use floats instead of absolute positioning. Added info (footer) box. Give module based ids to navigation trees. bjorn@bringert.net**20060702083603] [Set webMaster tag in RSS feed from webmaster setting. bjorn@bringert.net**20060702084015] [Don't show user roles editing stuff on user edit page if the user does not have permission to edit roles. bjorn@bringert.net**20060702090213] [Put multi list of items on user pages. bjorn@bringert.net**20060702091620] [Use getMultiItems for tag and date item lists. bjorn@bringert.net**20060702091754] [Added google search module. bjorn@bringert.net**20060703184227] [Basic CSS for the Google search page. bjorn@bringert.net**20060703185358] [Rewrote markup parsing using parsec. Added customizable chunks and emphasis tags. bjorn@bringert.net**20060704021740] [Added headings to markup. bjorn@bringert.net**20060704024825] [Added ability for modules to add markup formats. Moved halbum format to the halbum module. bjorn@bringert.net**20060704064731] [Compile with -W. bjorn@bringert.net**20060704064850] [Added haskell markup mode. This introduced a dependency on my modified version of hscolour. bjorn@bringert.net**20060704073114] [Documented hscolour requirement. bjorn@bringert.net**20060704074316] [Use span, not div, for markup refs. bjorn@bringert.net**20060704075255] [Convert text in chunks to use Unix newlines. bjorn@bringert.net**20060704090658] [Added markup spacing TODO. bjorn@bringert.net**20060704092747] [Check if image exists before getting it in halbum markup module. Strip image: from URI in image refs. bjorn@bringert.net**20060704094257] [Updated hscolour requirement to point to Malcolm's version. bjorn@bringert.net**20060704211827] [ResourceHandler is now monadic, to allow checking the DB before deciding to handle a path. bjorn@bringert.net**20060705225125] [Added static page module. Navigation support for static pages still missing. bjorn@bringert.net**20060706013448] [Fixed some warnings. bjorn@bringert.net**20060706013859] [Added basic navigation for the static module. bjorn@bringert.net**20060706015514] [Added setting for front page path. bjorn@bringert.net**20060706020554] [Style tweaks for static pages. bjorn@bringert.net**20060706033007] [Added classes to date components. Styled date linkes. bjorn@bringert.net**20060706034127] [Added random photo page. bjorn@bringert.net**20060706041237] [Removed fixed TODOs. bjorn@bringert.net**20060706041455] [Started working on blocks and 404's for non-existing resources. bjorn@bringert.net**20060706045207] [Added a bit of a crazy hack to make the front module menu configurable. bjorn@bringert.net**20060706051300] [Use proper static page URLs in menu.n bjorn@bringert.net**20060706052653] [Added more classes to trees. Style date tree page. bjorn@bringert.net**20060706211323] [Added support for extra boxes. bjorn@bringert.net**20060707061845] [Use HaskellDB's new _in operator. bjorn@bringert.net**20060710010329] [Use Box instead of Page. This is intended to allow more flexible page building. bjorn@bringert.net**20060710022725] [Strip directory prefix from uploaded filename, since some browsers (IE) include the full path. bjorn@bringert.net**20060710071425] [Prefix body class with "page" to avoid collisions. bjorn@bringert.net**20060710071920] [Fixed some warning. bjorn@bringert.net**20060710075508] [Moved session timeout settings to Hope settings in Hope.User.Config. Session last use time is now updated properly. Changed addToCalendarTime to use the local timezone. bjorn@bringert.net**20060710084612] [Don't create "Pages" meny entry if it contains no subtrees. bjorn@bringert.net**20060710191105] [404s for non-existing blog entries and user entries lists. bjorn@bringert.net**20060710214509] [Use MD5 hashed passwords. bjorn@bringert.net**20060710220404] [NOTE: be sure that you are logged in before updating, and then set your passwords. Hope now uses MD5 passwords, and will not accept the old unencrypted passwords in the DB. or you can mess with the DB by hand. bjorn@bringert.net**20060710221029] [Fixed whitespace bug in markup. bjorn@bringert.net**20060710234520] [Use current haskelll-gd API. bjorn@bringert.net**20060711024315] [Added PNG image support. bjorn@bringert.net**20060711032648] [Don't enlarge images smaller than the desired size when creating thumbnails and view images. bjorn@bringert.net**20060711033505] [Added GIF support. bjorn@bringert.net**20060711034242] [Image: reference should not create links. bjorn@bringert.net**20060711051356] [Removed PNG, GIF support from TODO. bjorn@bringert.net**20060711052932] [Escape < etc. inside inline javascripts. bjorn@bringert.net**20060711183231] [Moved initialization script to a separate file, to avoid javascript escaping issues. bjorn@bringert.net**20060711202006] [Use current exif API. bjorn@bringert.net**20060711202051] [Return parse error as html instead of crashing on bad markup. bjorn@bringert.net**20060711213543] [Added exifDataBox. Updated to current EXIF API. bjorn@bringert.net**20060711224620] [Added EXIF rotation. Requires current exif and gd packages. bjorn@bringert.net**20060712235416] [Added alt texts to the logo, to inline images and to halbum images. bjorn@bringert.net**20060713001010] [Removed EXIF rotation from TODO. bjorn@bringert.net**20060713001203] [Added the beginnings of a Cabal-based build system. bjorn@bringert.net**20060713075536] [More permissions checking on restriced list view. Need to fix permissions system. bjorn@bringert.net**20060713080326] [Added page list navigation to blob and halbum. bjorn@bringert.net**20060713223257] [Added status module. bjorn@bringert.net**20060713234839] [Report CPU seconds in status. bjorn@bringert.net**20060714000847] [Added settings for number of thumbnails and entries per page. bjorn@bringert.net**20060714002212] [Allow a static page with empty path. Let static module handle front page if the front page path is empty. bjorn@bringert.net**20060714003114] [Don't allow adding multiple static pages with the same path. bjorn@bringert.net**20060714003526] [TODO tweaks. bjorn@bringert.net**20060714005328] [More TODO tweaks. bjorn@bringert.net**20060714005529] [Tweak TODO. bjorn@bringert.net**20060714005618] [Added min-height to status values to avoid collapsing. bjorn@bringert.net**20060714010950] [Hack to avoid collapsing status values. bjorn@bringert.net**20060714011436] [Moved CGI variable status stuff to a separate module. bjorn@bringert.net**20060714204206] [Show program modification time and extra GHC RTS flags in status. bjorn@bringert.net**20060714212022] [Added rusage module. bjorn@bringert.net**20060714220533] [Added rlimit module. Added more fields to the rusage module. bjorn@bringert.net**20060714223952] [Moved C code to cbits. Added ghc_rts_opts.h. bjorn@bringert.net**20060714230425] [Changed box representation. Added right side bar. bjorn@bringert.net**20060715012516] [Moved database connection to DBConnect.hs bjorn@bringert.net**20060715013335] [Use wrapBox and add right side bar in main template in Config.hs. bjorn@bringert.net**20060715013638] [Put Hope title in page titles. bjorn@bringert.net**20060715013723] [Added titleBox and added title to the latestEntriesBox. bjorn@bringert.net**20060715015434] [Fixed a bunch of compiler warnings. bjorn@bringert.net**20060715040347] [Don't import Network.NewCGI.Internals in Hope.Item.View, since the form encode stuff is exported by Network.newCGI too. bjorn@bringert.net**20060715044904] [Changed HSQL.MySQL conection parameters in example DBConnect.hs bjorn@bringert.net**20060715183231] [Added executable file size to status page. bjorn@bringert.net**20060715195022] [Catch DB connection errors in the FastCGI main, and output an error page, then rethrow. This makes it a lot easier to figure out why it's not working if the database connection fails. bjorn@bringert.net**20060715223554] [Set haskelldb dependency to 0.10 bjorn@bringert.net**20060720235237] [Updated to compile with current HaskellDB. bjorn@bringert.net**20060721002202] [Made migratedb compile again. bjorn@bringert.net**20060721003406] [Added boxIf. Only show latest entries box if the user has read permission. bjorn@bringert.net**20060728000240] [Added path predicates for use with boxIf. bjorn@bringert.net**20060728004758] [Allow recursive image directory import, using directory names as tags. bjorn@bringert.net**20060730002132] [Added blob no parse bug to TODO. bjorn@bringert.net**20060730033133] [Added defaultMarkupXHtmlPrefs to Hope.Markup.XHtml. bringert@cs.chalmers.se**20060803183712] [Duplicate image detection TODO. bjorn@bringert.net**20060730034520] [Added hope-markup.hs, a stand-alone program for rendering Hope markup as XHTML. bjorn@bringert.net**20060803184439] [Use current cgi and fastcgi modules. bjorn@bringert.net**20060805165332] [Export useChunkFormat, useRefFormat from Hope.Markup.XHtml. bjorn@bringert.net**20060805180236] [Added create and drop functions to DatabaseT. Don't import lazyQuery and strictQuery. bjorn@bringert.net**20060805235953] [Added TODO suggested by shapr: page which lists all comments. bjorn@bringert.net**20060815135027] [Added boxUnless. Changed config to not show right side bar on image pages. bjorn@bringert.net**20060815153104] [Add hax-boxname to page body, to allow CSS to depend on which boxes are present on the top level. bjorn@bringert.net**20060815154623] [Generalized has-boxname classes to all boxes. Use a top-level box around the page contents. bjorn@bringert.net**20060815160002] [Some color changes in the hope theme suggested by petekaz. bringert@cs.chalmers.se**20060829182524] [Moved markup modules to a separate package. This added a new dependency on the hmarkup package. bjorn@bringert.net**20060830220955] [Added urls module. bringert@cs.chalmers.se**20060906121743] [Updated cgi and fastcgi version requirements. bringert@cs.chalmers.se**20060906121804] [Removed the compile time configBaseURI. Use requestURI and some magic instead. bringert@cs.chalmers.se**20060906123609] [Replace all uses of NewCGi.getVar with the new specialized functions. bringert@cs.chalmers.se**20060906125013] [Change to use cgi-compat and Text.XHtml.Strict. bringert@cs.chalmers.se**20060912221228] [Updated to xhtml-2006.9.13, with changed type of ShowHtmlFragment. bjorn@bringert.net**20060913150934] [change max sessionid size to 2^31 to work around 64bit Jason Dagit **20061011213921] [Switched to a basic Setup.lhs. bjorn@bringert.net**20070206160355] [Use FlatDB by default. bjorn@bringert.net**20070206161202] [Allow building using the hope.cabal file. The install-ball package cannot be built with cabal yet. bjorn@bringert.net**20070206163916] [Update dependency versions. bjorn@bringert.net**20070409170740] [Changed INSTALL and hope.cabal to describe new easier installation of dependencies using cabal-install. bjorn@bringert.net**20070409172305] [Changed tip about HSQL CVS to darcs. bjorn@bringert.net**20070422160304] [Redirect to start page after login, instead of user page. bjorn@bringert.net**20070422161333] [Moved the blob2 module to Hope.Module.Blog in the main tree. bjorn@bringert.net**20070422164917] [Moved cgivars module to Hope.Module.CGIVars. bjorn@bringert.net**20070422165155] [Moved the comment module to Hope.Module.Comment bjorn@bringert.net**20070422165621] [Moved the date module to Hope.Module.Date. bjorn@bringert.net**20070422165740] [Moved front module to Hope.Module.Front. bjorn@bringert.net**20070422170133] [Moved google module to Hope.Module.Google. bjorn@bringert.net**20070422170331] [Module halbum2 module to Hope.Module.Pictures. bjorn@bringert.net**20070422180126] [Moved haskell module to Hope.Module.Haskell. bjorn@bringert.net**20070422180345] [Moved hope module to Hope.Module.Hope. bjorn@bringert.net**20070422180457] [Moved item module to Hope.Module.Item. bjorn@bringert.net**20070422180624] [Moved rlimit module to Hope.Module.RLimit. bjorn@bringert.net**20070422180749] [Moved rusage module to Hope.Modules.RUsage. bjorn@bringert.net**20070422181010] [Moved setting module to Hope.Module.Setting. bjorn@bringert.net**20070422181125] [Moved the static module to Hope.Module.Static. bjorn@bringert.net**20070422181524] [Moved status module to Hope.Module.Status. bjorn@bringert.net**20070422181627] [Moved tag module to Hope.Module.Tag. bjorn@bringert.net**20070422181725] [Moved the urls module to Hope.Module.URLs bjorn@bringert.net**20070422182051] [Moved the user module to Hope.Module.User bjorn@bringert.net**20070422182201] [Get rid of modules dir. bjorn@bringert.net**20070422182521] [Added some OPTIONS_GHC pragmas. bjorn@bringert.net**20070422202032] [Added more OPTIONS_GHC. bjorn@bringert.net**20070422202525] [Moved the GHC RTS options status to a separate module. bjorn@bringert.net**20070422202758] [Don't include GHCRTS module by default, since it crashes on OS X. bjorn@bringert.net**20070422203225] [Require gd >= 3000.0.1 since it fixes an issue with gd-extras.h when compiling with -O. bjorn@bringert.net**20070422210115] [When using FastCGI, exit cleanly after runFastCGI or dbConnect throws expcetions. This might fix the fcgx_putStr error. bjorn@bringert.net**20070510092342] [Removed reference to hopeBase from htacess files. bjorn@bringert.net**20070512093346] [Disable the date menu. It doesn't seem very useful. bjorn@bringert.net**20070512102023] [Hide image size in hope theme. bjorn@bringert.net**20070512122932] [Don't give duplicate IDs to the file upload element. bjorn@bringert.net**20070512123225] [Hide the Home menu if the front page is the default, and there are no items in the menu. bjorn@bringert.net**20070512125615] [Hope theme: item owner is black and only underlined on hover and active. bjorn@bringert.net**20070512130901] [Started working on adding a date navigation box to blog entry lists for date intervals.n bjorn@bringert.net**20070512143450] [Added next and prev interval links to the entry date nav box. bjorn@bringert.net**20070512213936] [Changed the main function exported by Hope to take the Config as an argument. bjorn@bringert.net**20070513130326] [Removed the old migratedb. bjorn@bringert.net**20070513133511] [Moved the bulk of CreateDB to Hope.CreateDB. bjorn@bringert.net**20070513134912] [Change hope.cabal to make Hope a library. bjorn@bringert.net**20070513135142] [Set version number to 2007.5.13. bjorn@bringert.net**20070513135243] [Changed version number to 0.2007.5.13, to allow future major.minor version numbers. bjorn@bringert.net**20070513142051] [Moved halbum2 to a separate package. bjorn@bringert.net**20070513144143] [Moved the haskell module to a separate package. bjorn@bringert.net**20070513144207] [Removed haskell module from hope.cabal bjorn@bringert.net**20070513145128] [Hide a bunch of internal modules. bjorn@bringert.net**20070513145951] [Added source file for the hope theme favicon. bjorn@bringert.net**20070513150743] [Move site-specific stuff, CSS etc to the site dir. bjorn@bringert.net**20070513152851] [Note that build system is in flux. bjorn@bringert.net**20070513153000] [Disable the halbum2 and haskell modules by default. bjorn@bringert.net**20070513200151] [Renamed Hope.Module.Picture* to Hope.Module.Halbum2*. bjorn@bringert.net**20070513201658] [Moved ghc_rts_opts to site/. bjorn@bringert.net**20070513213645] [Added comment and example to ghc_rts_opts.c bjorn@bringert.net**20070513214404] [Updated INSTALL. bjorn@bringert.net**20070513214556] [Use runghc Setup.lhs instead of cabal-setup in Makefile. bjorn@bringert.net**20070513214607] [Added Makefiles to the module-* dirs. bjorn@bringert.net**20070513220036] [Reverse order in all date trees. bjorn@bringert.net**20070513220749] [Remove unused dependency on parsec. bjorn@bringert.net**20070513222455] [Don't create sessions for anonymous users. This should greatly reduce the number of sessions created, which should improve performance. bjorn@bringert.net**20070513225352] [Use mapM_ in image import. This might fix the memory leak. bjorn@bringert.net**20070513230317] [Perform GC after each image import. bjorn@bringert.net**20070514090503] [Added setting for RSS URL. bjorn@bringert.net**20070515214059] [Allow relative paths in the RSS URL setting. bjorn@bringert.net**20070515222457] [Use primHtml in inlineJavascript. bjorn@bringert.net**20070517114829] [Use yield to help performGC. bjorn@bringert.net**20070519204536] [Use withImage to ensure timely freeing of GD buffers. bjorn@bringert.net**20070520210716] [Use strict ByteStrings in halbum2. bjorn@bringert.net**20070521225911] [Use withImage when resizing and rotating. bjorn@bringert.net**20070522115546] [Allow multiple space-separated tags in all image tagging fields. bjorn@bringert.net**20070522122844] [Allow multiple tags in blog entry tagging. bjorn@bringert.net**20070522123525] [Note that some make stuff should be done in site/. bjorn@bringert.net**20070523114233] [Removed some commented-out code. bjorn@bringert.net**20070523144610] [Hide some internal session modules. bjorn@bringert.net**20070523144839] [Simplified session handling. bjorn@bringert.net**20070523153312] [When a non-logged-in user creates a new user, log in as the new user. bjorn@bringert.net**20070523164942] [halbum mass edit control clean-up. bjorn@bringert.net**20070523170013] [Cleaned up arguments to addImage. Added importImage function. bjorn@bringert.net**20070523172300] [Pass the Authorization header in the HTTP_AUTHORIZATION variable. bjorn@bringert.net**20070524204514 This isn't used yet, but it would be useful to allow users to use HTTP authentication. ] [Only set HTTP_AUTHORIZATION if Authorization was present and non-empty. bjorn@bringert.net**20070524205244] [Added styleBase, scriptBase and themeBase to make it easier to move the static files. bjorn@bringert.net**20070524212757] [Rename style, scripts and theme to _style, _scripts and _theme, to make URL rewriting easier. bjorn@bringert.net**20070524213156] [Added baseDirURI (still unused). bjorn@bringert.net**20070524224006] [Rewrote htaccess file to take advantage of the new _ in static dir names. bjorn@bringert.net**20070524224131] [Include baseURI and baseDirURI in the status output of the urls module. bjorn@bringert.net**20070525110823] [Changed argument order for getInputWithDefault and readInputWithDefault to match Network.CGI.getVarWithDefault. bjorn@bringert.net**20070525111705] [Changed splitBy to include empty segments in the returned list. bjorn@bringert.net**20070525114104] [Fixed baseDirURI so that it actually works. bjorn@bringert.net**20070525114135] [Use baseDirRelURI to locate style sheets etc. This makes Hope work without mod_rewrite. bjorn@bringert.net**20070525122705] [Remove unused import. bjorn@bringert.net**20070525122814] [Use CSS @import to load hope.css into the theme style sheets, to allow themes to not use hope.css at all. bjorn@bringert.net**20070525130801] [Include next and prev links in blog date navigation. Use rel attribute for all list navigation links. bjorn@bringert.net**20070525132916] [Nicer list and date nav box formatting in the hope theme. bjorn@bringert.net**20070525134132] [Added entry/date/last/month. bjorn@bringert.net**20070525140022] [Added setting for blog front page. bjorn@bringert.net**20070525141000] [Only show Home if there are front links, or if the front page is a static page. bjorn@bringert.net**20070525141027] [entry/last/month now redirects to last month. bjorn@bringert.net**20070525143454] [image/random now redirects to a random image, to show the right URL for the image. bjorn@bringert.net**20070525144653] [Only include intervals with at least one item in dateNavBox. bjorn@bringert.net**20070525152823] [Fixed tag item count bug. bjorn@bringert.net**20070525154014] [Updated TODO. bjorn@bringert.net**20070525155156] [Don't use CSS @import, since that will load hope.css after the module style sheets. bjorn@bringert.net**20070525162311] [Only show image index editing widgets when the user has permissions to edit any of the images. bjorn@bringert.net**20070525164741] [Possibly fix tag count problem. bjorn@bringert.net**20070526103625] [Some TODOs. bjorn@bringert.net**20070527142031] [Moved around URI stuff in Hope.Module.n bjorn@bringert.net**20070527153731] [Added thisRelURI. bjorn@bringert.net**20070527153801] [Removed fixed TODO. bjorn@bringert.net**20070527153846] [Escape characters in resURI, to get valid URIs in all internal links. bjorn@bringert.net**20070527170856] [Moved Hope.Module.uri to Hope.Util.URI.parseURI'. bjorn@bringert.net**20070527172524] [Some URI stuff clean-up. This should allow non-unreserved characters in style sheet / script / theme paths. bjorn@bringert.net**20070527172603] [Percent-escape PATH_INFO before using it to build baseURI. Without, baseURI was broken when PATH_INFO contained non-ASCII characters. bjorn@bringert.net**20070527182645] [Started working on flash video plugin. bjorn@bringert.net**20070614231725] [A tiny bit more on the flash video plugin bjorn@bringert.net**20070614232124] [Added generic handleAddTag. bjorn@bringert.net**20070706235154] [Use handleAddTagPOST in halbum. bjorn@bringert.net**20070706235202] [Use generic handleAddTag in blog. bjorn@bringert.net**20070706235222] [More work on flash video module. bjorn@bringert.net**20070706235721] [Added generic handleInputFiles. bjorn@bringert.net**20070707093432] [Changed getInputTags to return Tags. Changed addTags to take two Tags. bjorn@bringert.net**20070707100217] [Added cleanFileName and withByteString TempFile to Hope.Util.File. bjorn@bringert.net**20070707103210] [flip ownsOrHasPermission bjorn@bringert.net**20070707132405] [Changed getItemByID implementation. bjorn@bringert.net**20070707140336] [Added commented-out use of the video module in site/Config.hs bjorn@bringert.net**20070707142553] [Moved video module to a separate package. Got video module to compile. bjorn@bringert.net**20070707142622] [Added flvplayer and swfobject bjorn@bringert.net**20070707150529] [Added swfobject and flvplayer licenses. bjorn@bringert.net**20070707150627] [Added video.css bjorn@bringert.net**20070707151235] [Bug fixes for video module. It works now! bjorn@bringert.net**20070707151248] [Show video info. bjorn@bringert.net**20070707151803] [Video thumb style. bjorn@bringert.net**20070707155019] [Nicer play icon. bjorn@bringert.net**20070707160447] [Renamed VideoStore to Encode. bjorn@bringert.net**20070708193127] [Moved most of the file import handling to Hope.Item.* bjorn@bringert.net**20070708201727] [Added video/import. bjorn@bringert.net**20070708204623] [Haddock wibble bjorn@bringert.net**20070708204647] [Fixed video CSS. bjorn@bringert.net**20070708210705] [Show login form on permission denied page. Redirect to requested URL when logging in from permission denied page. bjorn@bringert.net**20070708212432] [flvplayer: showdigits = total bjorn@bringert.net**20070708213948] [$(HOME) -> $HOME bjorn@bringert.net**20070708215523] [video perms should talk about videos, not images. bjorn@bringert.net**20070708221733] [Implement video/*/delete bjorn@bringert.net**20070708224048] [Explicit export list for Hope.Module.Video.Operations bjorn@bringert.net**20070708224106] [Added delete button to video view. bjorn@bringert.net**20070708225016] [Merged most of halbum / video css and moved to hope.css. bjorn@bringert.net**20070710192623] [Ignore doesNoteExist errors when removing video files. bjorn@bringert.net**20070710210524] [Ignore does not exist when removing image files. bjorn@bringert.net**20070710210737] [Added ffmpegPath setting to the video module. bjorn@bringert.net**20070710213934] [Explicit exports for Hope.Module.Video.Encode. bjorn@bringert.net**20070710214127] [Use runInteractiveProcess for ffmpeg, to capture output. bjorn@bringert.net**20070710214146] [Added support for the neolao flv player. Using it still requires a simple source code modification (mkFlashHtml = neoloadFlvPlayer). bjorn@bringert.net**20070710223514] [Use neolao flv player by default. Remove the JW flv player .swf. bjorn@bringert.net**20070710224517] [halbum2: use gd-3000.3.0, which exports load*ByteString functions. bjorn@bringert.net**20070713093020] [Renamed canAddImage and canDeleteImage to canAdd and canDelete. bjorn@bringert.net**20070713113619] [Added add tags to vidoe and image views, and delete to image views (video already had it). bjorn@bringert.net**20070713113751] [Added MonadError instances for Hope, SessionT and DatabaseT. bjorn@bringert.net**20070714175053] [Generalized the temp file functions to MonadError, MonadIO. bjorn@bringert.net**20070714175202] [Added getFileSize. bjorn@bringert.net**20070714175235] [Save uploaded images to temporary files before adding, and let GD always read from disk when adding/importing. Maybe this fixes the memory leak? bjorn@bringert.net**20070714175246] [Cleaned up redirection URI handling. This fixes the strange URL bug after addings tags / deleting images from the index page when there are URL parameters. bjorn@bringert.net**20070714181125] [Added some convenience install and install-dep targets to makefiles. bjorn@bringert.net**20070714183238] [Change blog, halbum and video to give ITEM, not ItemID to handler functions. Started working on editing in the video module. bjorn@bringert.net**20070714215409] [Update the static module to handle resources like the other modules. bjorn@bringert.net**20070714220427] [Update INSTALL. bjorn@bringert.net**20070714220557] [Added clean-subdirs target. bjorn@bringert.net**20070714223326] [Added getItemByKey' and getItemByID'. bjorn@bringert.net**20070714223513] [Added itemResources, to simplify resources for items. bjorn@bringert.net**20070714224442] [Fixe install-all to fail if one subdir fails. bjorn@bringert.net**20070714225526] [install-all should run install bjorn@bringert.net**20070714231231] [Remove unused does*Exist functions. Fixed some type errors in halbum bjorn@bringert.net**20070714231532] [Added edit page for videos. bjorn@bringert.net**20070714233347] [Hide description in thumbnails. bjorn@bringert.net**20070714233810] [Format markup in image and video descriptions. bjorn@bringert.net**20070714234302] [Added image edit page. bjorn@bringert.net**20070714235241] [Unified file importing and file adding, by having the general functions handle the temp file stuff. bjorn@bringert.net**20070716102452] [Added permName for halbumEdit. bjorn@bringert.net**20070716104131] [Left float image and video thumbs in entry descriptions. This requires an inelegant HR at the end of item descriptions. bjorn@bringert.net**20070716105028] [Fixed comment date order (it was reversed before). bjorn@bringert.net**20070716112659] [Added runHopeWithSettings. bjorn@bringert.net**20070826213737] [Export addImage from Hope.Module.Halbum2 bjorn@bringert.net**20070826213806] [Added untested halbum-import.hs bjorn@bringert.net**20070826214042] [make target for halbum-import bjorn@bringert.net**20070826214056] [Removed old flatdb-create reference. bjorn@bringert.net**20070828075810] [Added elastic theme by emmanuel.delaborde@citycampus.com bringert@cs.chalmers.se**20070904145636] [Remove psd file in elastic theme. bjorn@bringert.net**20070904215954] [Clear divs and headings of floats in the hope theme. bjorn@bringert.net**20070910203814] [Changed "add tags" in item view to a "set tags" functionality. Perhaps the AddTag permission needs to be reconsidered. bjorn@bringert.net**20070924194046] [Highlight selected image thumbnails. bjorn@bringert.net**20070926223258] [Upgrade fvl player to 1.3.1. bjorn@bringert.net**20070927213322] [Use Data.Traversable instead of Data.FunctorM. bjorn@bringert.net**20071206235430] [Cabal configurations for hope bjorn@bringert.net**20071206235958] [Use current bytestring API in halbum2 bjorn@bringert.net**20071207000013] [configurations for halbum2 bjorn@bringert.net**20071207000030] [Configurations in hope-video.cabal bjorn@bringert.net**20071218112816]