Skip to content
Newer
Older
100644 244 lines (178 sloc) 10.5 KB
637ed55 @jgm Version bump to 0.6.2.
authored
1 Version 0.6.2 released 25 Aug 2009
2
3 * Use "reference obfuscation" for emails, rather than javascript
4 obfuscation, which seems to interfere with preview. Resolves
5 Issue #59.
6
ecad711 @jgm Added release announcement, dated CHANGES.
authored
7 Version 0.6.1 released 25 Aug 2009
c735272 @jgm Provisional additions to CHANGES for next release.
authored
8
5c66e9e @jgm More updates to CHANGES.
authored
9 Instructions for upgrading from 0.5.3:
aaa33b3 @jgm Further updates to CHANGES.
authored
10
5c66e9e @jgm More updates to CHANGES.
authored
11 - If you were using a Haskell configuration file, you will
12 need to create a new configuration file. 'gitit --print-default-config'
13 will print a self-documenting default configuration file in the new
14 format, which you can modify.
4898b6d @jgm Updated description of caching changes in CHANGES.
authored
15
5c66e9e @jgm More updates to CHANGES.
authored
16 - If your wiki contains discuss pages of the form 'foo:discuss.page',
17 rename them to '@foo.page'.
18
19 - Delete template.html and the static directory so that these will
20 be replaced by the newest versions when you run gitit. If you have
21 customized these, you should back them up first, then merge your
22 changes into the new versions after they are created. (Note that
2f0a3a5 @jgm Updated CHANGES.
authored
23 template.html will be replaced by a templates/ directory.)
c735272 @jgm Provisional additions to CHANGES for next release.
authored
24
5c66e9e @jgm More updates to CHANGES.
authored
25 Summary of main changes:
aaa33b3 @jgm Further updates to CHANGES.
authored
26
c735272 @jgm Provisional additions to CHANGES for next release.
authored
27 * Added support for plugins -- dynamically loaded Haskell programs that
28 transform pages. See the haddock documentation for Gitit.Interface for
29 plugin documentation. The plugins directory contains several sample
30 plugins.
31
32 * Gitit's configuration file is now a text file with key-value pairs,
33 rather than a Haskell file. The default configuration file
34 (which can be printed using `gitit --print-default-config`
35 contains comments that document all of the options.
36
37 * Pages may now be written in (limited dialects of) LaTeX or HTML,
38 as well as markdown and reStructuredText. The default format
39 is determined by a configuration option, but can be overridden
40 on a per-page basis using metadata (see below). The default
41 Front Page and Help page are created in the default format specified
42 by the configuration file. In addition, syntax help is now displayed
43 to the left of the editing box when a page is being edited.
44
45 * Pages may be written in literate Haskell, using either bird
46 style with markdown or reStructuredText, or LaTeX style with
47 LaTeX. Literate Haskell can be made the default or specified on
48 a per-page basis.
49
50 * Gitit now exports a library, Network.Gitit, that makes it easy for
51 any happstack application to embed a gitit wiki.
52
aaa33b3 @jgm Further updates to CHANGES.
authored
53 * Added optional atom feeds, for whole site (at /_feed)
54 and for individual pages (at /_feed/path/to/page).
55 Feeds are cached with a configurable expiration time.
56
57 * Completely new caching system. Caching is turned off by default and
58 can be enabled by a configuration option. Complete pages are cached
59 on disk and expired when pages are revised through the web interface.
60 When pages are modified directly through a VCS, the cache must be
61 refreshed manually, either by pressing Ctrl-R while viewing a page,
62 or by sending an HTTP request to /_expire/path/to/page, or by using
63 the included program expireGititPath. The new system is much faster
64 than the old in-memory cache, because it avoids the considerable
65 overhead of filestore calls to get the current revision id.
66
67 * To make whole-page caching possible, the user login/out box has been
68 made into an ajax request to /_user. jQuery is now loaded on every
69 page.
70
2f0a3a5 @jgm Updated CHANGES.
authored
71 * Math is converted to MathML by default (using the texmath library),
72 and a javascript is linked in that renders it correctly in IE+mathplayer,
73 Firefox, and Opera. The 'math' configuration setting can alternatively
74 be set to 'jsMath' (to use jsMath javascript, which is more portable
75 but ugly and slower) or 'raw' (plain LaTeX code).
76
77 * Routing changes for better handling of web spiders. Instead of
78 "/foo?history" we now have "/_history/foo"; instead of "/foo?edit"
79 we haev "/_edit/foo"; etc. This makes it possible to exclude web
80 spiders from non-cached pages by excluding URLs that start with
81 '/_'. A default robots.txt file is now provided. Users need not
82 do anything special for this to be enabled.
83
d09422c @jgm Updated CHANGES.
authored
84 * The authentication system has been revised and made much more
85 flexible. In the configuration file, you can specify either
86 'form', 'http', or 'generic' as authentication-method. Form
87 authentication is the old form-based gitit authentication system. HTTP
88 authentication presupposes that the wiki pages are locked down under
89 HTTP authentication; the gitit user will be set to the username used
90 for HTTP authentication. Generic authentication takes the username
91 from the REMOTE_USER request header. When gitit is being used as a
92 library, one can specify a custom withUser filter (which determines
93 the logged in user and sets REMOTE_USER accordingly) and a custom
94 authHandler (including handlers for /_login, /_logout, and whatever
95 else is needed).
96
5c66e9e @jgm More updates to CHANGES.
authored
97 * Security fix: Gitit did not verify that a change password request
98 is genuine when it receives the final POST. It has been changed to
99 re-verify the reset code, otherwise an attacker could simply steal
100 anyone's account by spoofing a POST request. (Thanks to Robin Green.)
101
aaa33b3 @jgm Further updates to CHANGES.
authored
102 * template.html has now been replaced by a directory, templates/, with
103 separate templates for each component of a page.
104
105 * Added /_reloadTemplates action that recompiles the templates. (By
106 default the templates are compiled only on startup.)
107
c735272 @jgm Provisional additions to CHANGES for next release.
authored
108 * Gitit's form-based authentication now includes a "password reset"
109 email. Slightly modified from a patch from Henry Laxen.
110
111 * The naming scheme for discussion pages has changed: the discussion
112 page for foo is now @foo, not foo:discuss. Reason: Windows, and
113 thus darcs, does not like colons in filenames.
114
115 * Improved logging, with configurable verbosity.
116
117 * Major code reorganization and cleanup. Gitit has been moved under
118 the Network namespace. The old WebT handlers are replaced by new ones
119 in ServerPartT. 'handle' has been removed; instead, we use happstack's
120 routing combinators. Configuration and filestores are now passed
121 around in a reader monad, in WikiState. (This also allows different
122 wikis to have different configurations.) Most handlers have been
123 simplified so that they no longer require Page and Params arguments.
124 A new function, 'withInput', is used to avoid the need to pass Params
125 between handlers.
126
2f0a3a5 @jgm Updated CHANGES.
authored
127 * The static handler now "falls back" to the cabal data directory if the
128 requested file is not in "static" (or staticDir). So the user need
129 no longer have a copy of the standard gitit CSS, javascript, and
130 image files in "static" (unless these are to be overridden). This
131 should make updates easier. By default only 'custom.css' and
132 'logo.png' are put in the user's static directory.
133
134 * Similarly, the templates in "templates" "fall back" to defaults in
135 the cabal data directory. By default only 'footer.st' is put in
136 the user's static directory.
137
d09422c @jgm Updated CHANGES.
authored
138 * Gitit State now includes a renderPage function. This is more flexible
139 than storing a page template, since the user may want to use a custom
140 page rendering function, even one not based on string templates.
141
c735272 @jgm Provisional additions to CHANGES for next release.
authored
142 * Added Network.Gitit.ContentTransformer module (thanks to Anton van
143 Straaten). The ContentTransformer module replaces Gitit.Convert. It
144 defines a number of single-purpose combinators that can be combined to
145 yield various kinds of content conversions. These are used to define
146 showPage, preview, showHighlightedSource, and other handlers that used
147 to be defined in Gitit.hs.
148
aaa33b3 @jgm Further updates to CHANGES.
authored
149 * Verify in delete POST requests that filetodelete parameter matches
150 page.
151
152 * Fixed revert when called from diff pages. Revert now reverts to the
153 older of the two revisions being compared.
154
155 * Revamped auto-merging: user must now verify an edited page after
156 a merge, even if there were no conflicts.
157
158 * Fixed Content-Disposition header on export so that filenames have
159 proper extensions.
160
a18fa9a @jgm Updated CHANGES.
authored
161 * Updated for happstack-server-0.3.3. Since this version of happstack
162 supports UTF-8, gitit's old manual decoding and encoding were removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
163
aaa33b3 @jgm Further updates to CHANGES.
authored
164 * Use fileServeStrict instead of fileServe. Resolves Issue #57.
165
166 * 'limit' is no longer used in search. The way it worked before was
167 confusing, since it limited total matches (usually to just a few files)
168 rather than limiting the number of matches in each file.
169
2f0a3a5 @jgm Updated CHANGES.
authored
170 * rdgreen's cautious-file library is now used to write the gitit-users
171 file. This makes it less likely that the file will be corrupted on
172 a power outage or hardware failure.
173
c735272 @jgm Provisional additions to CHANGES for next release.
authored
174 * Redirects set properly after account creation. If users go from
175 the Login form to the Register form, they are no longer redirected
176 back to the Login form after creating an account.
177
178 * indexPage now uses filestore's new 'directory' function. It shows one
179 directory at a time. Subdirectories link to further index pages. This
180 improves on the old javascript folding interface, which did not preserve
181 state. (Thanks to Thomas Hartman for suggestions.)
182
183 * URLs of the form /a/b/ are now equivalent to /_index/a/b.
184
185 * Improvements and bug fixes to deleting. Deleting a non-page now works.
186 You get a nice informative message if you try to delete a nonexistent
187 page or file.
188
2f0a3a5 @jgm Updated CHANGES.
authored
189 * Page names containing "..", "?", or "*", and '_' at beginning are
190 disallowed. Page names may now contain periods.
4c073c6 @jgm Updated CHANGES.
authored
191
c735272 @jgm Provisional additions to CHANGES for next release.
authored
192 * The "Permanent link" link has been removed. It relied on the sha1
193 parameter always being set, but we've changed that for performance
194 reasons.
195
196 * Gitit can now be proxied to a subdirectory path. Thanks to Henry Laxen
197 for the idea and patches. See README for instructions.
198
199 * Performance improvements (mostly due to Gwern Branwen): Pages can be
200 compressed (configurable); unneeded filestore calls removed; cache-control:
201 max-age used.
202
203 * Moved sidebar to end of HTML to make things easier for screen readers.
204
d09422c @jgm Updated CHANGES.
authored
205 * Moved search box and go box to templates.
206
c735272 @jgm Provisional additions to CHANGES for next release.
authored
207 * Yahoo YUI CSS framework is now used for better consistency across browsers.
2f0a3a5 @jgm Updated CHANGES.
authored
208 CSS cleaned up. Icons for page types removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
209
210 * Fixed handling of 'forUser' parameter in 'recent activity'.
211
212 * Made default maxUploadSize 10 Mb.
213
d09422c @jgm Updated CHANGES.
authored
214 * Renamed AppState -> GititState.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
215
412b212 @jgm Version bump to 0.5.3.
authored
216 Version 0.5.3 released 1 Feb 2009
217
218 * Fixed bug which caused jsMath not to load.
219
3e86619 @jgm Version bump to 0.5.2.
authored
220 Version 0.5.2 released 1 Feb 2009
221
222 * Fixed cookie problem caused by empty value fields.
223
d6edecb @jgm Added CHANGES.
authored
224 Version 0.5.1 released 1 Feb 2009
225
226 * Major code reorganization, making gitit more modular.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
227
d6edecb @jgm Added CHANGES.
authored
228 * Gitit can now optionally be built using Happstack instead of HAppS
229 (just use -fhappstack when cabal installing).
c735272 @jgm Provisional additions to CHANGES for next release.
authored
230
d6edecb @jgm Added CHANGES.
authored
231 * Fixed bug with directories that had the same names as pages.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
232
d6edecb @jgm Added CHANGES.
authored
233 * Added code from HAppS-Extra to fix cookie parsing problems.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
234
d6edecb @jgm Added CHANGES.
authored
235 * New command-line options for --port, --debug.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
236
d6edecb @jgm Added CHANGES.
authored
237 * New debug feature prints the date, the raw request, and
238 the processed request data to standard output on each request.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
239
d6edecb @jgm Added CHANGES.
authored
240 * Files with ".page" extension can no longer be uploaded.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
241
d6edecb @jgm Added CHANGES.
authored
242 * Apostrophes and quotation marks now allowed in page names.
243
Something went wrong with that request. Please try again.