Commit graph

19110 commits

Author SHA1 Message Date
Vincent Ambo
36c4d7e84e * escaping comments 2012-03-14 00:38:58 +01:00
Vincent Ambo
e6746984f5 * changed comment structure to sort by UTCTime
* postEntry function done; adminHandler doesn't work?
2012-03-14 00:37:00 +01:00
Vincent Ambo
f6446aec72 * added flushSessions :: IO()
* updated TODO
2012-03-13 21:29:06 +01:00
Vincent Ambo
eaa9ed5b98 * removed dependency on Network.CGI
* Cabal & License file
2012-03-13 19:50:13 +01:00
Eelco Dolstra
bd50c01972 Ensure that Perl processes delete their entry in the temproots directory
By moving the destructor object to libstore.so, it's also run when
download-using-manifests and nix-prefetch-url exit.  This prevents
them from cluttering /nix/var/nix/temproots with stale files.
2012-03-13 17:07:49 +01:00
Vincent Ambo
4491a9087c * updated TODO 2012-03-13 06:40:00 +01:00
Vincent Ambo
2cb2900b07 * updated some stuff, work on sessions 2012-03-13 06:35:56 +01:00
Vincent Ambo
6092eb6f5e * blog is now running off acid-state (this thing is *fast*) 2012-03-13 05:31:13 +01:00
Eelco Dolstra
b461721f17 Fix tests 2012-03-12 21:41:45 +01:00
"Vincent Ambo ext:(%22)
1c4db3b576 acid-migrate:
* successful conversion and test
2012-03-12 15:12:39 +01:00
"Vincent Ambo ext:(%22)
93268c683c acid-migrate:
* successfully forced evaluation
2012-03-12 14:23:45 +01:00
"Vincent Ambo ext:(%22)
e6b91ce813 acid-migrate:
* show instance for EntryId
* Comment/Entry deriving Show
* trying to force explicit evaluation
2012-03-12 12:52:48 +01:00
Vincent Ambo
c6124d9aa7 * changes to migration script. As expected it doesn't work yet 2012-03-12 09:47:30 +01:00
Vincent Ambo
6d9144a7ee * added Acid-State conversion program (this is untested, but it compiles) 2012-03-12 04:32:15 +01:00
"Vincent Ambo ext:(%22)
4eacefe854 * broken version of Acid State stuff
* AccountState containing data of type Account
* hashString functions
2012-03-09 17:57:53 +01:00
"Vincent Ambo ext:(%22)
bbdfa3eae2 * initializing Acid sessions
* guardSession
2012-03-08 11:42:10 +01:00
"Vincent Ambo ext:(%22)
7b8f952413 * initial work on AcidState session storage (http://happstack.com/docs/crashcourse/AcidState.html) 2012-03-07 17:31:42 +01:00
"Vincent Ambo ext:(%22)
c880a6092c * login page 2012-03-07 14:51:45 +01:00
"Vincent Ambo ext:(%22)
b2bb90beff * comment adding fixed
* JSON Encoding is broken in the current Hackage version of CouchDB, thus it is necessary to build it manually and to apply this fix:
fafd63a436
2012-03-07 13:40:47 +01:00
"Vincent Ambo ext:(%22)
bc25b9d1e0 * one step closer to adding comments
* generic Doc update function
* redirect /<commentID> to appropriate full link
2012-03-07 12:59:44 +01:00
Vincent Ambo
cd3a5f2cb5 * links on right side 2012-03-06 23:34:04 +01:00
Vincent Ambo
6220988fc5 * guarding showLinks against negative numbers 2012-03-06 21:24:58 +01:00
Vincent Ambo
91d197945f * merged String -> Text changes
* comment field
2012-03-06 21:08:36 +01:00
Eelco Dolstra
005d1e4ccb Update bzip2 dependency 2012-03-06 20:03:20 +01:00
"Vincent Ambo ext:(%22)
8c90ebdb49 * TEXT EVERYWHERE, WHERE MY STRINGS AT? 2012-03-06 19:39:54 +01:00
"Vincent Ambo ext:(%22)
d4fa02deed * using Text from Data.Text (stict) instead of String for text in entries and comments 2012-03-06 17:28:30 +01:00
Vincent Ambo
0418692f07 * finished comment field 2012-03-06 00:50:53 +01:00
Eelco Dolstra
605b16cd7b Fix compilation on FreeBSD
http://hydra.nixos.org/build/2213576

Not sure why compilation doesn't fail on other platforms...
2012-03-05 22:04:40 +01:00
Eelco Dolstra
d645633643 nix-copy-closure: don't print copied path on stdout
We're already printing progress on stderr, so printing them on stdout
afterwards is kind of useless.
2012-03-05 20:52:24 +01:00
Eelco Dolstra
35355fc1fc Set the close-on-exec flag on file descriptors 2012-03-05 20:29:00 +01:00
Eelco Dolstra
7b22bec252 Don't leak a file descriptor in commonChildInit() 2012-03-05 20:28:09 +01:00
Eelco Dolstra
1d487dc6a6 nix-worker: put the pid of the caller in argv[1]
This is useful for debugging.
2012-03-05 19:19:29 +01:00
Eelco Dolstra
2b4964f319 Restore progress indication during nix-copy-closure 2012-03-05 18:13:44 +01:00
Eelco Dolstra
56042a120a build-remote.pl: don't wait forever for the upload lock
In the build hook, don't wait forever to get the upload lock.  This
ensures progress if another process gets stuck while holding the
upload lock.
2012-03-05 17:58:09 +01:00
Vincent Ambo
f113778e17 * began work on commentBox 2012-03-05 05:27:20 +01:00
Vincent Ambo
96093c9009 * Pagination (finally!)
* slight CSS change
2012-03-03 16:39:15 +01:00
Vincent Ambo
485e271475 * added TODO file 2012-03-03 04:05:19 +01:00
Vincent Ambo
7114876693 * limiting amount of queries with couchDB's limit parameter 2012-03-03 04:02:30 +01:00
Vincent Ambo
65a5443e2d * getMonthCount now takes a BlogLang, as is obviously required 2012-03-03 03:47:11 +01:00
Vincent Ambo
9e4b35613c * removed an unnecessary tempVar 2012-03-03 03:42:44 +01:00
Vincent Ambo
907eecf8c7 * getMonthCount function added 2012-03-03 03:35:20 +01:00
Vincent Ambo
da8833bf34 * changes D: 2012-03-02 09:12:09 +01:00
Vincent Ambo
fed422f872 *updated .hgignore for geany files 2012-03-01 18:10:34 +01:00
Eelco Dolstra
8afd28a922 Remove dependency on sqlite3_table_column_metadata
Not all SQLite builds have the function sqlite3_table_column_metadata.
We were only using it in a schema upgrade check for compatibility with
databases that were probably never seen in the wild.  So remove it.
2012-03-01 16:06:49 +01:00
Eelco Dolstra
1c94524458 Fix an uninitialised variable
The variable ‘useChroot’ was not initialised properly.  This caused
random failures if using the build hook.  Seen on Mac OS X 10.7 with Clang.
Thanks to KolibriFX for finding this :-)
2012-03-01 16:06:49 +01:00
"Vincent Ambo ext:(%22)
0f0d874aa7 * entries by month 2012-02-24 17:01:36 +01:00
"Vincent Ambo ext:(%22)
35a5557e17 * localization moved to Locales.hs 2012-02-24 16:06:33 +01:00
"Vincent Ambo ext:(%22)
a29a34d41f * I fixed the front page 2012-02-24 05:20:36 +01:00
"Vincent Ambo ext:(%22)
066762051a * rendering comments 2012-02-24 00:03:16 +01:00
"Vincent Ambo ext:(%22)
d04d693eb9 * comment parsing 2012-02-23 14:46:51 +01:00