Skip to content
Newer
Older
100644 437 lines (305 sloc) 16.5 KB
55d28fc @jgm Updated CHANGES.
authored
1 Version 0.7.3.1 released 20 Mar 2010
2
22731ad @jgm Bump version to 0.7.3.2.
authored
3 * Fixed editing of pages when max-upload-size=0.
4 max-upload-size should not double as max-page-size.
5 Resolves Issue #96.
6
7 Version 0.7.3.1 released 20 Mar 2010
8
55d28fc @jgm Updated CHANGES.
authored
9 * Changed "In" to "in" in MathMLinJS.js link.
10
b6a03a1 @jgm Updated CHANGES.
authored
11 Version 0.7.3 released 20 Mar 2010
12
13 * Added PDF export option and pdf-export config field.
14 (Based on a patch by gwern.)
15
16 * Added markdown export.
c63fec0 @jgm Use pandoc's new mathml capabilities for MathML math method.
authored
17
18 * Use pandoc's new MathML math mode for more efficient
19 MathML.
20
b6a03a1 @jgm Updated CHANGES.
authored
21 * Improved multi-wiki example code in haddocks.
22
23 * Added session-timeout config setting.
24
25 * Config module: Added readSize (recognizing K,M,G suffix).
26 Previously readNumber always recognized K,M,G suffixes,
27 but these only make sense in some contexts (not e.g. for
28 times).
29
30 * Added Subst plugin (thanks to gwern).
31
32 * Added notes on PDF caching and idle.
33
34 * Fixed table of contents in wiki pages (resolving Issue #91).
35
36 * Added pandoc-user-data config option, allowing the user
37 to specify a directory with e.g. templates that override
38 the defaults used for exported pages.
c63fec0 @jgm Use pandoc's new mathml capabilities for MathML math method.
authored
39
b6a03a1 @jgm Updated CHANGES.
authored
40 * Fix filesToClean GHC panic when loading plugins on GHC HEAD
41
42 * Fixed problem with doubled // in updir links.
43 Resolves Issue #88.
44
45 * Updated interwiki plugin.
46
47 * Fixed caching for feeds. Thanks to brian.sniffen for pointing
48 out the need to normalize the time diff. Resolves Issue #87.
49
50 * Improved Feed module (gwern).
51
52 * Use line anchors from highlighting-source, so that you can link
53 directly to a particular line in a source file.
54
55 * Disable upload functionality if maxUploadSize is 0.
56
57 * Exported queryGititState, updateGititState, Network.Gitit.Layout.
58 Exported filledPageTemplate. (Thanks to tphyahoo.)
59 Split off and expose createDefaultPages.
60 Exposed compilePageTemplate.
61
62 * Use charset=utf-8 on output from Layout.
63
64 * Use isUnescapedInURI with escapeURIString rather than isAllowedInURI.
65 The latter does not escape % signs.
66
fe39a2a Updated changelog.
John MacFarlane authored
67 Version 0.7.2 released 02 Jan 2010
68
69 * Now compiles with GHC 6.12.
70
27d4422 Updated CHANGES.
John MacFarlane authored
71 Version 0.7.1 released 02 Jan 2010
72
73 * Updated exports to work with pandoc 1.4.
74
75 * Began updating to work with GHC 6.12. (Still untested; there may
76 be further issues involving filestore.)
77
88826ac @jgm Updated CHANGES.
authored
78 Version 0.7 released 20 Dec 2009
79
80 * Updated cabal file to allow happstack 0.4.
81
82 * Added support for the new mercurial filestore backend.
83 (Depending on filestore >= 0.3.4.)
84
85 * Depend on xml >= 1.3.5. This fixes a bug in the display of
86 mathml. Previously the self-closed tags in matrices with empty
87 cells confused browsers and caused them to construct the
88 DOM incorrectly. The problem is fixed by using xml's new
89 ppcElement function to render the MathML without self-closed tags.
90
91 * Depend on pandoc >= 1.3.
92
93 * Properly handle UTF-8 in config files.
94
95 * Moved option parsing code from Config module to main program.
96 The Config module now exports getConfigFromFile instead of
97 getConfigFromOpts. This should be more useful for those using gitit as
98 a library.
99
100 * Use wikiTitle config field in default HTML title.
101
102 * Improved search results:
103 + Highlight search terms in search results.
104 Partially resolves Issue #76.
105 + Made search results message uniform when no results.
106 + Search: don't match page name against empty patterns.
107 + Allow search matches on subdirectory part of page name.
108 + Search: catch error status from filestore search.
109 Filestore <= 0.3.3 does not properly handle the error status
110 returned by later versions of 'git grep' when no match is found.
111 The problem has been fixed in darcs filestore.
112
113 * CSS tweaks:
114 + Removed base-min.css, folded necessary styles into screen.css.
115 + Removed 'text-align: left' for th from CSS reset.
116
117 * Feed improvements:
118 + Modified feed handling so that feeds validate.
119 + Perform proper escaping in Feed.hs (thanks to gwern).
120 + Don't reveal author email in feeds.
121 + Sitewide feed is /_feed/ (with trailing slash).
122 + Add "http://" to base-url config option if needed.
123
124 * Use + for spaces in URLs linking to wiki pages and folders.
125
126 * Updated plugins:
127 + Updated Interwiki plugin (gwern).
128 + Modified WebArchiver plugin to make Alexa requests (gwern).
129
ddf46e8 @jgm Updated CHANGES.
authored
130 Version 0.6.6 released 06 Nov 2009
131
132 * Require filestore >= 0.3.3, which closes a security
133 vulnerability.
134
135 * Don't allow web file uploads to the static or templates directory,
136 even if these are subdirectories of the repository directory.
137 We don't want users uploading new CSS, javascript, or templates
138 that might break the site.
139
140 * Renamed gitit-dog.png -> logo.png in data/static/img.
141 This way the logo will show up even without a local img directory.
142 Thanks to Thomas Hartmann for the patch.
143
144 * Return 404 when page not found. Thanks to Richard Fergie.
145
146 * Improved layout of Export button.
147
148 * Added links for atom feeds to sitenav.st and pagetools.st, to
149 make the feeds more discoverable.
150
151 * Minor code safety improvements.
152
153 * Check for commit messages consisting of whitespace.
154 Commit messages consisting only of whitespace characters are
155 rejected by Git as empty. Gitit should behave similarly.
156
157 * Allow gitit to start up if custom template directory not found.
158 Thanks to Thomas Hartmann.
159
160 * Fixed incorrect usage of nullGroup (a debugging function). Thanks
161 to Thomas Hartmann.
162
fd976b9 Updated CHANGES.
John MacFarlane authored
163 Version 0.6.5 released 06 Oct 2009
164
165 * Added metadata to Page and Context, provided askMeta for plugins.
166 This patch gives plugins access to all of the key/value pairs
167 in the page metadata block. Thanks to Dan Cook.
168
169 * Added PigLatin plugin to demonstrate use of askMeta.
170
171 * Display informative message on authentication failure.
172
684db8f Updated CHANGES.
John MacFarlane authored
173 * Fixed library stanza in cabal file so plugins are properly enabled.
174
953996b Updated CHANGES
John MacFarlane authored
175 Version 0.6.4 released 28 Sep 2009
176
177 * Fixed preview javascript so that tex math works properly in
178 preview.
179
7390642 Updated CHANGES
John MacFarlane authored
180 Version 0.6.3 released 27 Sep 2009
181
182 * Fixed MathML conversion so it doesn't happen when exporting to
183 non-HTML output formats.
184
185 * Fixed shadowing on page templates: previously page.st was always
186 taken from the defaults, even if a modified version existed
187 in templates/.
188
189 * Modified YUI CSS reset so that ordered list enumerators can be
190 styled properly.
191
192 * Modified showPage to work with both POST and GET requests.
193
637ed55 @jgm Version bump to 0.6.2.
authored
194 Version 0.6.2 released 25 Aug 2009
195
196 * Use "reference obfuscation" for emails, rather than javascript
197 obfuscation, which seems to interfere with preview. Resolves
198 Issue #59.
199
ecad711 @jgm Added release announcement, dated CHANGES.
authored
200 Version 0.6.1 released 25 Aug 2009
c735272 @jgm Provisional additions to CHANGES for next release.
authored
201
5c66e9e @jgm More updates to CHANGES.
authored
202 Instructions for upgrading from 0.5.3:
aaa33b3 @jgm Further updates to CHANGES.
authored
203
5c66e9e @jgm More updates to CHANGES.
authored
204 - If you were using a Haskell configuration file, you will
205 need to create a new configuration file. 'gitit --print-default-config'
206 will print a self-documenting default configuration file in the new
207 format, which you can modify.
4898b6d @jgm Updated description of caching changes in CHANGES.
authored
208
5c66e9e @jgm More updates to CHANGES.
authored
209 - If your wiki contains discuss pages of the form 'foo:discuss.page',
210 rename them to '@foo.page'.
211
212 - Delete template.html and the static directory so that these will
213 be replaced by the newest versions when you run gitit. If you have
214 customized these, you should back them up first, then merge your
215 changes into the new versions after they are created. (Note that
2f0a3a5 @jgm Updated CHANGES.
authored
216 template.html will be replaced by a templates/ directory.)
c735272 @jgm Provisional additions to CHANGES for next release.
authored
217
5c66e9e @jgm More updates to CHANGES.
authored
218 Summary of main changes:
aaa33b3 @jgm Further updates to CHANGES.
authored
219
c735272 @jgm Provisional additions to CHANGES for next release.
authored
220 * Added support for plugins -- dynamically loaded Haskell programs that
221 transform pages. See the haddock documentation for Gitit.Interface for
222 plugin documentation. The plugins directory contains several sample
223 plugins.
224
225 * Gitit's configuration file is now a text file with key-value pairs,
226 rather than a Haskell file. The default configuration file
227 (which can be printed using `gitit --print-default-config`
228 contains comments that document all of the options.
229
230 * Pages may now be written in (limited dialects of) LaTeX or HTML,
231 as well as markdown and reStructuredText. The default format
232 is determined by a configuration option, but can be overridden
233 on a per-page basis using metadata (see below). The default
234 Front Page and Help page are created in the default format specified
235 by the configuration file. In addition, syntax help is now displayed
236 to the left of the editing box when a page is being edited.
237
238 * Pages may be written in literate Haskell, using either bird
239 style with markdown or reStructuredText, or LaTeX style with
240 LaTeX. Literate Haskell can be made the default or specified on
241 a per-page basis.
242
243 * Gitit now exports a library, Network.Gitit, that makes it easy for
244 any happstack application to embed a gitit wiki.
245
aaa33b3 @jgm Further updates to CHANGES.
authored
246 * Added optional atom feeds, for whole site (at /_feed)
247 and for individual pages (at /_feed/path/to/page).
248 Feeds are cached with a configurable expiration time.
249
250 * Completely new caching system. Caching is turned off by default and
251 can be enabled by a configuration option. Complete pages are cached
252 on disk and expired when pages are revised through the web interface.
253 When pages are modified directly through a VCS, the cache must be
254 refreshed manually, either by pressing Ctrl-R while viewing a page,
255 or by sending an HTTP request to /_expire/path/to/page, or by using
256 the included program expireGititPath. The new system is much faster
257 than the old in-memory cache, because it avoids the considerable
258 overhead of filestore calls to get the current revision id.
259
260 * To make whole-page caching possible, the user login/out box has been
261 made into an ajax request to /_user. jQuery is now loaded on every
262 page.
263
2f0a3a5 @jgm Updated CHANGES.
authored
264 * Math is converted to MathML by default (using the texmath library),
265 and a javascript is linked in that renders it correctly in IE+mathplayer,
266 Firefox, and Opera. The 'math' configuration setting can alternatively
267 be set to 'jsMath' (to use jsMath javascript, which is more portable
268 but ugly and slower) or 'raw' (plain LaTeX code).
269
270 * Routing changes for better handling of web spiders. Instead of
271 "/foo?history" we now have "/_history/foo"; instead of "/foo?edit"
272 we haev "/_edit/foo"; etc. This makes it possible to exclude web
273 spiders from non-cached pages by excluding URLs that start with
274 '/_'. A default robots.txt file is now provided. Users need not
275 do anything special for this to be enabled.
276
d09422c @jgm Updated CHANGES.
authored
277 * The authentication system has been revised and made much more
278 flexible. In the configuration file, you can specify either
279 'form', 'http', or 'generic' as authentication-method. Form
280 authentication is the old form-based gitit authentication system. HTTP
281 authentication presupposes that the wiki pages are locked down under
282 HTTP authentication; the gitit user will be set to the username used
283 for HTTP authentication. Generic authentication takes the username
284 from the REMOTE_USER request header. When gitit is being used as a
285 library, one can specify a custom withUser filter (which determines
286 the logged in user and sets REMOTE_USER accordingly) and a custom
287 authHandler (including handlers for /_login, /_logout, and whatever
288 else is needed).
289
5c66e9e @jgm More updates to CHANGES.
authored
290 * Security fix: Gitit did not verify that a change password request
291 is genuine when it receives the final POST. It has been changed to
292 re-verify the reset code, otherwise an attacker could simply steal
293 anyone's account by spoofing a POST request. (Thanks to Robin Green.)
294
aaa33b3 @jgm Further updates to CHANGES.
authored
295 * template.html has now been replaced by a directory, templates/, with
296 separate templates for each component of a page.
297
298 * Added /_reloadTemplates action that recompiles the templates. (By
299 default the templates are compiled only on startup.)
300
c735272 @jgm Provisional additions to CHANGES for next release.
authored
301 * Gitit's form-based authentication now includes a "password reset"
302 email. Slightly modified from a patch from Henry Laxen.
303
304 * The naming scheme for discussion pages has changed: the discussion
305 page for foo is now @foo, not foo:discuss. Reason: Windows, and
306 thus darcs, does not like colons in filenames.
307
308 * Improved logging, with configurable verbosity.
309
310 * Major code reorganization and cleanup. Gitit has been moved under
311 the Network namespace. The old WebT handlers are replaced by new ones
312 in ServerPartT. 'handle' has been removed; instead, we use happstack's
313 routing combinators. Configuration and filestores are now passed
314 around in a reader monad, in WikiState. (This also allows different
315 wikis to have different configurations.) Most handlers have been
316 simplified so that they no longer require Page and Params arguments.
317 A new function, 'withInput', is used to avoid the need to pass Params
318 between handlers.
319
2f0a3a5 @jgm Updated CHANGES.
authored
320 * The static handler now "falls back" to the cabal data directory if the
321 requested file is not in "static" (or staticDir). So the user need
322 no longer have a copy of the standard gitit CSS, javascript, and
323 image files in "static" (unless these are to be overridden). This
324 should make updates easier. By default only 'custom.css' and
325 'logo.png' are put in the user's static directory.
326
327 * Similarly, the templates in "templates" "fall back" to defaults in
328 the cabal data directory. By default only 'footer.st' is put in
329 the user's static directory.
330
d09422c @jgm Updated CHANGES.
authored
331 * Gitit State now includes a renderPage function. This is more flexible
332 than storing a page template, since the user may want to use a custom
333 page rendering function, even one not based on string templates.
334
c735272 @jgm Provisional additions to CHANGES for next release.
authored
335 * Added Network.Gitit.ContentTransformer module (thanks to Anton van
336 Straaten). The ContentTransformer module replaces Gitit.Convert. It
337 defines a number of single-purpose combinators that can be combined to
338 yield various kinds of content conversions. These are used to define
339 showPage, preview, showHighlightedSource, and other handlers that used
340 to be defined in Gitit.hs.
341
aaa33b3 @jgm Further updates to CHANGES.
authored
342 * Verify in delete POST requests that filetodelete parameter matches
343 page.
344
345 * Fixed revert when called from diff pages. Revert now reverts to the
346 older of the two revisions being compared.
347
348 * Revamped auto-merging: user must now verify an edited page after
349 a merge, even if there were no conflicts.
350
351 * Fixed Content-Disposition header on export so that filenames have
352 proper extensions.
353
a18fa9a @jgm Updated CHANGES.
authored
354 * Updated for happstack-server-0.3.3. Since this version of happstack
355 supports UTF-8, gitit's old manual decoding and encoding were removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
356
aaa33b3 @jgm Further updates to CHANGES.
authored
357 * Use fileServeStrict instead of fileServe. Resolves Issue #57.
358
359 * 'limit' is no longer used in search. The way it worked before was
360 confusing, since it limited total matches (usually to just a few files)
361 rather than limiting the number of matches in each file.
362
2f0a3a5 @jgm Updated CHANGES.
authored
363 * rdgreen's cautious-file library is now used to write the gitit-users
364 file. This makes it less likely that the file will be corrupted on
365 a power outage or hardware failure.
366
c735272 @jgm Provisional additions to CHANGES for next release.
authored
367 * Redirects set properly after account creation. If users go from
368 the Login form to the Register form, they are no longer redirected
369 back to the Login form after creating an account.
370
371 * indexPage now uses filestore's new 'directory' function. It shows one
372 directory at a time. Subdirectories link to further index pages. This
373 improves on the old javascript folding interface, which did not preserve
374 state. (Thanks to Thomas Hartman for suggestions.)
375
376 * URLs of the form /a/b/ are now equivalent to /_index/a/b.
377
378 * Improvements and bug fixes to deleting. Deleting a non-page now works.
379 You get a nice informative message if you try to delete a nonexistent
380 page or file.
381
2f0a3a5 @jgm Updated CHANGES.
authored
382 * Page names containing "..", "?", or "*", and '_' at beginning are
383 disallowed. Page names may now contain periods.
4c073c6 @jgm Updated CHANGES.
authored
384
c735272 @jgm Provisional additions to CHANGES for next release.
authored
385 * The "Permanent link" link has been removed. It relied on the sha1
386 parameter always being set, but we've changed that for performance
387 reasons.
388
389 * Gitit can now be proxied to a subdirectory path. Thanks to Henry Laxen
390 for the idea and patches. See README for instructions.
391
392 * Performance improvements (mostly due to Gwern Branwen): Pages can be
393 compressed (configurable); unneeded filestore calls removed; cache-control:
394 max-age used.
395
396 * Moved sidebar to end of HTML to make things easier for screen readers.
397
d09422c @jgm Updated CHANGES.
authored
398 * Moved search box and go box to templates.
399
c735272 @jgm Provisional additions to CHANGES for next release.
authored
400 * Yahoo YUI CSS framework is now used for better consistency across browsers.
2f0a3a5 @jgm Updated CHANGES.
authored
401 CSS cleaned up. Icons for page types removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
402
403 * Fixed handling of 'forUser' parameter in 'recent activity'.
404
405 * Made default maxUploadSize 10 Mb.
406
d09422c @jgm Updated CHANGES.
authored
407 * Renamed AppState -> GititState.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
408
412b212 @jgm Version bump to 0.5.3.
authored
409 Version 0.5.3 released 1 Feb 2009
410
411 * Fixed bug which caused jsMath not to load.
412
3e86619 @jgm Version bump to 0.5.2.
authored
413 Version 0.5.2 released 1 Feb 2009
414
415 * Fixed cookie problem caused by empty value fields.
416
d6edecb @jgm Added CHANGES.
authored
417 Version 0.5.1 released 1 Feb 2009
418
419 * Major code reorganization, making gitit more modular.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
420
d6edecb @jgm Added CHANGES.
authored
421 * Gitit can now optionally be built using Happstack instead of HAppS
422 (just use -fhappstack when cabal installing).
c735272 @jgm Provisional additions to CHANGES for next release.
authored
423
d6edecb @jgm Added CHANGES.
authored
424 * Fixed bug with directories that had the same names as pages.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
425
d6edecb @jgm Added CHANGES.
authored
426 * Added code from HAppS-Extra to fix cookie parsing problems.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
427
d6edecb @jgm Added CHANGES.
authored
428 * New command-line options for --port, --debug.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
429
d6edecb @jgm Added CHANGES.
authored
430 * New debug feature prints the date, the raw request, and
431 the processed request data to standard output on each request.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
432
d6edecb @jgm Added CHANGES.
authored
433 * Files with ".page" extension can no longer be uploaded.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
434
d6edecb @jgm Added CHANGES.
authored
435 * Apostrophes and quotation marks now allowed in page names.
436
Something went wrong with that request. Please try again.