Skip to content

HTTPS clone URL

Subversion checkout URL

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