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
"Vincent Ambo ext:(%22)
a4119e1cfd
* displaying blog entries
...
* changed convertDB for BlogLang JSON representation
2012-02-23 13:20:29 +01:00
"Vincent Ambo ext:(%22)
47dbfe900e
* removing .DS_Store files
2012-02-23 03:32:40 +01:00
"Vincent Ambo ext:(%22)
2fa129e7e3
* blog footer, language handling, emptyTest
2012-02-23 03:30:14 +01:00
"Vincent Ambo ext:(%22)
47c8d9a96d
* .hgignore file
2012-02-22 22:07:28 +01:00
"Vincent Ambo ext:(%22)
fd9dc7e706
* removing binaries
2012-02-22 22:05:11 +01:00
"Vincent Ambo ext:(%22)
b951faa6b4
* initial checkin
2012-02-22 22:03:31 +01:00
Eelco Dolstra
6fe13e6aba
Fix chroots builds
...
Chroots are initialised by hard-linking inputs from the Nix store to
the chroot. This doesn't work if the input has its immutable bit set,
because it's forbidden to create hard links to immutable files. So
temporarily clear the immutable bit when creating and destroying the
chroot.
Note that making regular files in the Nix store immutable isn't very
reliable, since the bit can easily become cleared: for instance, if we
run the garbage collector after running ‘nix-store --optimise’. So
maybe we should only make directories immutable.
2012-02-18 01:23:52 +01:00
Eelco Dolstra
bd013b6f98
On Linux, make the Nix store really read-only by using the immutable bit
...
I was bitten one time too many by Python modifying the Nix store by
creating *.pyc files when run as root. On Linux, we can prevent this
by setting the immutable bit on files and directories (as in ‘chattr
+i’). This isn't supported by all filesystems, so it's not an error
if setting the bit fails. The immutable bit is cleared by the garbage
collector before deleting a path. The only tricky aspect is in
optimiseStore(), since it's forbidden to create hard links to an
immutable file. Thus optimiseStore() temporarily clears the immutable
bit before creating the link.
2012-02-15 01:31:56 +01:00
Eelco Dolstra
5e57047d87
Fix a broken guard around utime()
...
Because of an outdated check for a timestamp of 0, we were calling
utime() even when it wasn't necessary.
2012-02-15 01:00:30 +01:00
Eelco Dolstra
58ac7a17a4
Don't use deletePath() to delete a single file
2012-02-15 00:28:01 +01:00
Eelco Dolstra
e9fc91df45
Fix error message
...
This fixes the error message
error: file `' was not found in the Nix search path (add it using $NIX_PATH or -I)
2012-02-09 18:56:48 +01:00
Eelco Dolstra
d5a5a83ad4
Use data() instead of c_str() where appropriate
2012-02-09 18:27:45 +01:00