Commit graph

12589 commits

Author SHA1 Message Date
Vincent Ambo
87924c405d version 3.1.1:
* added background texture for .middle
* removed accidental </br> which caused W3 validation to fail

New design is now complete.

--HG--
rename : res/ios-linen.jpg => res/hbg.jpg
2012-03-22 20:58:13 +01:00
Lluís Batlle i Rossell
85799bf89e Fixing the default of sync-before-registering
Setting 'false' as default, as suggested by Eelco.

I also added a comment about the setting in the code.
2012-03-22 20:05:54 +01:00
Lluís Batlle i Rossell
25de80e2b6 Adding a nix option to sync before registering a path, for non-ext*
filesystems.
2012-03-22 19:57:42 +01:00
Vincent Ambo
ac1a4ddcb0 * backup script 2012-03-22 14:46:35 +01:00
Vincent Ambo
c620521f47 * restored missing file 2012-03-22 14:43:59 +01:00
Vincent Ambo
6a8ffaf25a * cleaned up res/ folder
* serving static/ content from res/ with 20 years expiration date
* linen texture
2012-03-22 14:34:04 +01:00
Vincent Ambo
f6f066a93e * font-weight for .contacts 2012-03-20 20:16:27 +01:00
Eelco Dolstra
19d9762ad5 nix-store --clear-failed-paths: Clear derivation outputs
If the argument to ‘nix-store --clear-failed-paths’ is a derivation,
then clear the failed state of its outputs.
2012-03-20 18:23:26 +01:00
Vincent Ambo
ed05e92669 * gzip compression for dynamic files 2012-03-20 18:01:36 +01:00
Vincent Ambo
877a7f84b0 version 3.1:
* entirely new design (looks a lot better. Thanks to @not_eden and @agoptron for their advice)
* multi-author support (I won't use it yet)
* blogstyle.css serves as the "source" for blog.css
* displaying article eDate and author on entry page
2012-03-20 00:26:50 +01:00
Eelco Dolstra
cb79e91ec3 Fix the coverage build 2012-03-19 17:05:42 +01:00
Eelco Dolstra
457dd55962 Fix the Deb builds 2012-03-19 15:11:22 +01:00
Eelco Dolstra
4b83483142 Fix the RPM 2012-03-19 14:30:59 +01:00
Vincent Ambo
39a30af9c2 * Google analytics 2012-03-19 04:27:00 +01:00
Eelco Dolstra
7f38087f35 Add a command "nix-build --run-env" to reproduce the environment of a derivation
This command builds or fetches all dependencies of the given
derivation, then starts a shell with the environment variables from
the derivation.  This shell also sources $stdenv/setup to initialise
the environment further.

The current directory is not changed.  Thus this is a convenient way
to reproduce a build environment in an existing working tree.

Existing environment variables are left untouched (unless the
derivation overrides them).  As a special hack, the original value of
$PATH is appended to the $PATH produced by $stdenv/setup.

Example session:

$ nix-build --run-env '<nixpkgs>' -A xterm
(the dependencies of xterm are built/fetched...)
$ tar xf $src
$ ./configure
$ make
$ emacs
(... hack source ...)
$ make
$ ./xterm
2012-03-19 04:14:21 +01:00
Eelco Dolstra
ea402a255f Replace "make check" with "make installcheck"
Ensuring that the tests work from the build tree requires a growing
number of nasty hacks.  The tests also don't verify that the installed
Nix actually works.  Thus, the tests now require "make install" to
have been run.
2012-03-19 01:20:02 +01:00
Eelco Dolstra
4b23900ff1 Fix the optional dependency on OpenSSL
http://hydra.nixos.org/build/2306540
2012-03-19 01:06:13 +01:00
Vincent Ambo
a762db84ae * min-height for <body> 2012-03-19 00:08:27 +01:00
Eelco Dolstra
b006a31d52 Drop the externals directory
Nix now requires SQLite and bzip2 to be pre-installed.  SQLite is
detected using pkg-config.  We required DBD::SQLite anyway, so
depending on SQLite is not a big problem.

The --with-bzip2, --with-openssl and --with-sqlite flags are gone.
2012-03-18 23:54:57 +01:00
Vincent Ambo
da38878212 * correctly serving 404s with status code 404 :| 2012-03-18 23:49:50 +01:00
Vincent Ambo
515660fa7d * fixed 404 page 2012-03-18 23:47:13 +01:00
Vincent Ambo
b7e34eba74 * changed entryEscape 2012-03-18 23:23:02 +01:00
Eelco Dolstra
2e0322efd1 Clean up when building from a working tree 2012-03-18 22:10:59 +01:00
Vincent Ambo
b8a045d163 * proper comment escaping 2012-03-15 21:26:45 +01:00
Vincent Ambo
f591f6b4f7 * newlines in comments 2012-03-15 20:51:53 +01:00
Vincent Ambo
cc1bf63468 * port 80 2012-03-15 20:19:25 +01:00
Vincent Ambo
579c11cd2a * version 3.0
* fixed read-more links
2012-03-15 20:16:39 +01:00
Vincent Ambo
df9a17b695 * updating entries and entrylist
* entryEscape ("\n" -> "<br>")
2012-03-15 18:32:01 +01:00
Vincent Ambo
47e1be1f78 * fixed entry-adding
* temporarily removed adminHandler and merged it into tazBlog :: ServerPart Response
2012-03-14 01:36:57 +01:00
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