Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 716 lines (482 sloc) 26.087 kb
35cefc8 @jgm Updated CHANGES.
authored
1 Version 0.10 released 30 May 2012
2
3 * Changed 'readFileUTF8' so it doesn't encode filename on ghc 7.4.
4
5 * Upgraded for compatibility with blaze-html 0.5. Closes #299.
6
7 * Improved categories. Files are now read strictly to avoid a 'too
8 many open files' error. 'Page' now exports 'readCategories' instead of
9 'extractCategories'.
10
11 * Require filestore 0.5. This brings in (a) correct handling
12 of unicode paths when compiled under GHC 7.4, and (b) a 'limit'
13 parameter for 'history'. The limit parameter is essential when
14 gitit is used with very large repositories; otherwise history
15 commands would have to parse the entire log. Handler functions
16 that use 'history' have been updated to use the optional
17 'limit' parameter.
18
19 * Atom feeds are now limited to 200 entries, to prevent server
20 overload.
21
22 * Indicate size of default logo picture in README. Closes #291.
23
24 * Added a README section on restricting access. Closes #292.
25
75f0338 @jgm Updated CHANGES; bumped version to 0.9.0.1.
authored
26 Version 0.9.0.1 released 15 Feb 2012
27
28 * Fixed bug in fromEntities that caused text to be lost in the page
29 source after semicolons. Thanks to Perry Wagle for reporting the bug.
30
31 * Updated code to run on happstack 7.
32
33 * Removed dependency on happstack-util; depend on base64-bytestring
34 instead.
35
36 * Updated gitit.cabal to include footnotes.js (Ben Sinclair).
37
f3c0a6d @jgm Updated CHANGES.
authored
38 Version 0.9 released 29 Feb 2012
39
40 * Gitit now uses the latest pandoc (1.9.x) and happstack-server (6.6.x),
41 and compiles on ghc 7.4.1.
42
43 * Added Docx, AsciiDoc, and DZSlides as export formats.
44
45 * HTML slide show exports are now "self-contained": they embed all
46 required js, css, and images, so they can be used offline.
47
48 * Allow spaces in usernames (Juraj Hercek).
49
50 * Improve PDF/RTF exports containing images in the wiki.
51 Wikidata paths are translated to absolute ones, so pandoc/pdflatex
52 can find them (Juraj Hercek).
53
54 * Protect against XSS in slide show exports. Previous versions
55 of gitit sanitized wikipages, but not HTML slide shows.
56
57 * Table of contents is now in a div with ID `TOC`, so it can
58 be styled.
59
60 * Removed letter and word spacing from print.css.
61
62 * Added s5 directory to static. This is needed by pandoc 1.9.
63
64 * Updated Interwiki plugin (gwern).
65
66 * Added `fromEntities` to `Types`, since `decodeCharacterReferences`
67 is no longer exported from Pandoc. Added dependency on tagsoup.
68
69 * Provided `FromReqURI` instance for `[String]`, since
70 this is not automatic with recent happstack.
71
1470309 @jgm Updated CHANGES.
authored
72 Version 0.8.1 released 02 Sep 2011
73
74 * Support mathjax as a math option.
75 Added MathJax as MathMethod, and mathjax as an option in
76 the 'math' config field. Resolves GoogleCode 122.
77
78 * Added xss-sanitize configuaration option.
79 Setting it to 'no' turns off sanitization, enabling
80 file:// URLs and other things that get filtered out
81 by xss-sanitize.
82
83 * Listen interface explanation on help file could be more clear (#266)
84 (andyring)
85
86 * Add the new configuration option 'absolute-urls'.
87 When turned on, this makes wikilinks absolute w.r.t. the base-url.
88 By default, they are relative. So, for example, in a wiki served
89 at the path 'wiki', on a page Sub/Page, the wikilink '[Cactus]()'
90 will produce a link to '/wiki/Cactus' if absolute-urls is on,
91 and otherwise the relative link 'Cactus'. Patch due to lemmih.
92
93 * Change default listen address to 0.0.0.0.
94
95 * Serve svg file as image, not source code!
96
97 * Page history: use 'limit' instead of restricting to past year.
98 limit defaults to 100. If 100 are displayed, you'll get a
99 "Show more..." link that will increase the limit.
100 Also fixed bug that caused a 404 when no history was returned.
101
102 * Require pandoc >= 1.8.2.
103
104 * Allow build with happstack-server 6.2.
105
106 * Updated for use with xss-sanitize 0.3, which uses Text.
107 New dependency on text.
108
a043ad7 @jgm Bump version to 0.8.0.1; updated CHANGES.
authored
109 Version 0.8.0.1 released 07 Jun 2011
110
111 * Fixed file upload problem with recent versions of directory
112 package. (Thanks to Oliver Braun.)
113
114 * Relaxed some version upper bounds.
115
8d129e9 @jgm Updated CHANGES.
authored
116 Version 0.8 released 13 May 2011
117
118 * Uses happstack 6.
119
120 * Added textile and org export formats, textile page format.
121
122 * Added support for RPXNow authentication, based on a patch from
123 Pasqualino Titto Assini.
124
125 * Added `authentication-required` field in config.
126
127 * If set to 'modify', authentication is required to modify the wiki.
128 * If set to 'read', atuhentication is required to view the wiki.
129 * If set to 'none', authentication is never required, and pages can
130 be edited anonymously.
131
132 API changes:
133
134 * currentUser moved to Authentication module
135 * requireAuthentication added to Config
136 * Added AuthenticationLevel type
137 * requireUser renamed authenticate, parameter for AuthenticationLevel
138 added; requireUserThat renamed authenticateUserThat
139
140 * MathML and jsMath now work in the preview pane (Sean Seefried).
141
142 * Use footnotes.js for fancy footnote styling (gwern).
143
144 * Added a `--listen` parameter to specify the listen device
145 (Timo B. Hübel).
146
147 * Removed withInput.
148
149 * Replaced fileContents with filePath in Params.
150
151 * Fixed bug in uploadForm.js which caused a prefix to be added in the
152 default wikiname.
153
154
0d9f935 @jgm Updated CHANGES.
authored
155 Version 0.7.3.12 released 01 Feb 2011
156
157 * Use pandoc 1.8.
158
159 * New export formats: textile, org.
160
161 * New page form: textile.
162
c5e1856 @jgm Bump version to 0.7.3.11; updated CHANGES.
authored
163 Version 0.7.3.11 released 28 Jan 2011
164
165 * Allow time 1.2.
166
6d9bebb @jgm Updated CHANGES.
authored
167 Version 0.7.3.10 released 26 Jan 2011
168
169 * Updated for filestore-0.4.0.2. Gitit should now compile with ghc 7.
170 Note: It may be necessary to supply the --disable-library-for-ghci
171 flag to 'cabal install highlighting-kate'.
172
173 Version 0.7.3.9 released 25 Jan 2011
174
175 * Removed dependency on cautious-file.
176 It no longer seems to be actively maintained, and the current
177 configuration does not compile on windows.
178
179 * Removed dependency on datetime package.
180 It is no longer maintained.
181 Everything can be done just as well with the time package.
182
183 * Depend on filestore >= 0.4 (without datetime dependency).
184
185 * Bump version bounds on hslogger, network and HTTP.
186
187 * Support for GHC 7.0 in Plugins (thanks to Max Bollingbroke).
188
189 * Use xss-sanitize for sanitizing HTML.
190 Previously pandoc's sanitization was used, but this will be
191 removed in the next pandoc release. xss-sanitize is a more complete
192 solution, and also prevents people from messing up layout by inserting
193 unbalanced </div>.
194
195 * Updated Feed module to make it decouplable from gitit.
196
197 * jQuery.load wasn't working on Safari. Use jQuery.post instead.
198 Also, the convert function was not always in scope. (It is only in
199 scope when MathML is enabled?) We check if it is defined before
200 calling it. (Thanks to Sean Seefried.)
201
202 * Export Page module.
203
204 * Templates are in data directory
205
206 * Fixed bug in Subst plugin (Lars Petersen).
207 Subst plugin could not deal with non-existing pages, resulting
208 in an server error when trying to substitute with an absent file.
209 This patch now creates a link to the page in order to create it.
210
211 * Added alt attribute to logo.
212
7f2ea47 @jgm Bump version to 0.7.3.8, updated CHANGES.
authored
213 Version 0.7.3.8 released 24 July 2010
214
215 * Fixed MathML in Slidy and S5 exports.
216
217 * Use languagesByFilename instead of languagesByExtension in isSource.
218
ad97b51 @jgm Updated CHANGES.
authored
219 Version 0.7.3.7 released 24 July 2010
220
221 * Depend on pandoc >= 1.6, highlighting-kate >= 0.2.7.1
222
223 * Added epub and slidy export formats.
224
225 * Require happstack >= 0.5.
226
227 * Added google math option (uses google charts api).
228 Slightly modified from a patch by lpeterse.
229
230 * Made WebArchiver plugin more parallel (gwern).
231
232 * Fixed Dot plugin to work with GHC 6.12.
233 We were having string encoding issues reading the output
234 of dot with readProcess. Solution is to pass dot an output
235 filename so we don't have to read its output.
236
bded9f4 @jgm Updated CHANGES.
authored
237 Version 0.7.3.6 released 05 May 2010
238
239 * Fixed ODT/PDF export for files in subdirectories. Resolves Issue #81.
240
241 * Fix image URLs before calling the ODT or PDF processors
242
243 * Added plain text export format.
244
245 * Raised upper bound for datetime, parsec, and happstack dependencies.
246
247 * Fix wikilinks to they don't get a leading slash.
248 This reverts a bug introduced by 2128afb070b7, which added leading
249 slashes to wikilinks, breaking them for people using gitit as a
250 library on a path other than /.
251
bbe3352 @jgm Updated CHANGES, bumped version to 0.7.3.5.
authored
252 Version 0.7.3.5 released 21 Mar 2010
253
254 * Returned to using pandoc's MathML writer option.
255 This is fixed in pandoc 1.5.0.1. Depend on pandoc >= 1.5.0.1.
256
4dd9ed7 @jgm Version bump to 0.7.3.4. Updated CHANGES.
authored
257 Version 0.7.3.4 released 21 Mar 2010
258
259 * Use custom readFileUTF8 (exported in Network.Gitit.Util) instead of
260 broken System.IO.UTF8. This way we have a uniform solution for GHC
261 6.10 and 6.12, and don't have to use CPP tricks. This change fixes
262 categories on GHC 6.12. Resolves Issue #98.
263
19b5ed2 @jgm Version bump to 0.7.3.3.
authored
264 Version 0.7.3.3 released 21 Mar 2010
265
266 * Reverted to handling math in MathML mode in the old way, using
267 a transform, rather than relying on pandoc's MathML writer option.
268 The latter was causing amazing CPU and memory usage, for reasons
269 I don't yet understand. This should fix the problem for now.
270
271 * Fixed caching for unicode page names.
272
273 * Added max-page-size config option. Thanks to Jinjing Wang for the patch.
274
275 * Prevented _expire/ from failing if the page is not cached.
276
277 * Fixed URL encoding for pages. (Note: Don't use + for spaces;
278 that breaks the Ctrl-R cache expiration.)
279
280 Version 0.7.3.2 released 20 Mar 2010
55d28fc @jgm Updated CHANGES.
authored
281
22731ad @jgm Bump version to 0.7.3.2.
authored
282 * Fixed editing of pages when max-upload-size=0.
283 max-upload-size should not double as max-page-size.
284 Resolves Issue #96.
285
286 Version 0.7.3.1 released 20 Mar 2010
287
55d28fc @jgm Updated CHANGES.
authored
288 * Changed "In" to "in" in MathMLinJS.js link.
289
b6a03a1 @jgm Updated CHANGES.
authored
290 Version 0.7.3 released 20 Mar 2010
291
292 * Added PDF export option and pdf-export config field.
293 (Based on a patch by gwern.)
294
295 * Added markdown export.
2958d7a @jgm Restore use of pandoc's new mathml capabilities for MathML math method.
authored
296
297 * Use pandoc's new MathML math mode for more efficient
298 MathML.
299
b6a03a1 @jgm Updated CHANGES.
authored
300 * Improved multi-wiki example code in haddocks.
301
302 * Added session-timeout config setting.
303
304 * Config module: Added readSize (recognizing K,M,G suffix).
305 Previously readNumber always recognized K,M,G suffixes,
306 but these only make sense in some contexts (not e.g. for
307 times).
308
309 * Added Subst plugin (thanks to gwern).
310
311 * Added notes on PDF caching and idle.
312
313 * Fixed table of contents in wiki pages (resolving Issue #91).
314
315 * Added pandoc-user-data config option, allowing the user
316 to specify a directory with e.g. templates that override
317 the defaults used for exported pages.
2958d7a @jgm Restore use of pandoc's new mathml capabilities for MathML math method.
authored
318
b6a03a1 @jgm Updated CHANGES.
authored
319 * Fix filesToClean GHC panic when loading plugins on GHC HEAD
320
321 * Fixed problem with doubled // in updir links.
322 Resolves Issue #88.
323
324 * Updated interwiki plugin.
325
326 * Fixed caching for feeds. Thanks to brian.sniffen for pointing
327 out the need to normalize the time diff. Resolves Issue #87.
328
329 * Improved Feed module (gwern).
330
331 * Use line anchors from highlighting-source, so that you can link
332 directly to a particular line in a source file.
333
334 * Disable upload functionality if maxUploadSize is 0.
335
336 * Exported queryGititState, updateGititState, Network.Gitit.Layout.
337 Exported filledPageTemplate. (Thanks to tphyahoo.)
338 Split off and expose createDefaultPages.
339 Exposed compilePageTemplate.
340
341 * Use charset=utf-8 on output from Layout.
342
343 * Use isUnescapedInURI with escapeURIString rather than isAllowedInURI.
344 The latter does not escape % signs.
345
fe39a2a Updated changelog.
John MacFarlane authored
346 Version 0.7.2 released 02 Jan 2010
347
348 * Now compiles with GHC 6.12.
349
27d4422 Updated CHANGES.
John MacFarlane authored
350 Version 0.7.1 released 02 Jan 2010
351
352 * Updated exports to work with pandoc 1.4.
353
354 * Began updating to work with GHC 6.12. (Still untested; there may
355 be further issues involving filestore.)
356
88826ac @jgm Updated CHANGES.
authored
357 Version 0.7 released 20 Dec 2009
358
359 * Updated cabal file to allow happstack 0.4.
360
361 * Added support for the new mercurial filestore backend.
362 (Depending on filestore >= 0.3.4.)
363
364 * Depend on xml >= 1.3.5. This fixes a bug in the display of
365 mathml. Previously the self-closed tags in matrices with empty
366 cells confused browsers and caused them to construct the
367 DOM incorrectly. The problem is fixed by using xml's new
368 ppcElement function to render the MathML without self-closed tags.
369
370 * Depend on pandoc >= 1.3.
371
372 * Properly handle UTF-8 in config files.
373
374 * Moved option parsing code from Config module to main program.
375 The Config module now exports getConfigFromFile instead of
376 getConfigFromOpts. This should be more useful for those using gitit as
377 a library.
378
379 * Use wikiTitle config field in default HTML title.
380
381 * Improved search results:
382 + Highlight search terms in search results.
383 Partially resolves Issue #76.
384 + Made search results message uniform when no results.
385 + Search: don't match page name against empty patterns.
386 + Allow search matches on subdirectory part of page name.
387 + Search: catch error status from filestore search.
388 Filestore <= 0.3.3 does not properly handle the error status
389 returned by later versions of 'git grep' when no match is found.
390 The problem has been fixed in darcs filestore.
391
392 * CSS tweaks:
393 + Removed base-min.css, folded necessary styles into screen.css.
394 + Removed 'text-align: left' for th from CSS reset.
395
396 * Feed improvements:
397 + Modified feed handling so that feeds validate.
398 + Perform proper escaping in Feed.hs (thanks to gwern).
399 + Don't reveal author email in feeds.
400 + Sitewide feed is /_feed/ (with trailing slash).
401 + Add "http://" to base-url config option if needed.
402
403 * Use + for spaces in URLs linking to wiki pages and folders.
404
405 * Updated plugins:
406 + Updated Interwiki plugin (gwern).
407 + Modified WebArchiver plugin to make Alexa requests (gwern).
408
ddf46e8 @jgm Updated CHANGES.
authored
409 Version 0.6.6 released 06 Nov 2009
410
411 * Require filestore >= 0.3.3, which closes a security
412 vulnerability.
413
414 * Don't allow web file uploads to the static or templates directory,
415 even if these are subdirectories of the repository directory.
416 We don't want users uploading new CSS, javascript, or templates
417 that might break the site.
418
419 * Renamed gitit-dog.png -> logo.png in data/static/img.
420 This way the logo will show up even without a local img directory.
421 Thanks to Thomas Hartmann for the patch.
422
423 * Return 404 when page not found. Thanks to Richard Fergie.
424
425 * Improved layout of Export button.
426
427 * Added links for atom feeds to sitenav.st and pagetools.st, to
428 make the feeds more discoverable.
429
430 * Minor code safety improvements.
431
432 * Check for commit messages consisting of whitespace.
433 Commit messages consisting only of whitespace characters are
434 rejected by Git as empty. Gitit should behave similarly.
435
436 * Allow gitit to start up if custom template directory not found.
437 Thanks to Thomas Hartmann.
438
439 * Fixed incorrect usage of nullGroup (a debugging function). Thanks
440 to Thomas Hartmann.
441
fd976b9 Updated CHANGES.
John MacFarlane authored
442 Version 0.6.5 released 06 Oct 2009
443
444 * Added metadata to Page and Context, provided askMeta for plugins.
445 This patch gives plugins access to all of the key/value pairs
446 in the page metadata block. Thanks to Dan Cook.
447
448 * Added PigLatin plugin to demonstrate use of askMeta.
449
450 * Display informative message on authentication failure.
451
684db8f Updated CHANGES.
John MacFarlane authored
452 * Fixed library stanza in cabal file so plugins are properly enabled.
453
953996b Updated CHANGES
John MacFarlane authored
454 Version 0.6.4 released 28 Sep 2009
455
456 * Fixed preview javascript so that tex math works properly in
457 preview.
458
7390642 Updated CHANGES
John MacFarlane authored
459 Version 0.6.3 released 27 Sep 2009
460
461 * Fixed MathML conversion so it doesn't happen when exporting to
462 non-HTML output formats.
463
464 * Fixed shadowing on page templates: previously page.st was always
465 taken from the defaults, even if a modified version existed
466 in templates/.
467
468 * Modified YUI CSS reset so that ordered list enumerators can be
469 styled properly.
470
471 * Modified showPage to work with both POST and GET requests.
472
637ed55 @jgm Version bump to 0.6.2.
authored
473 Version 0.6.2 released 25 Aug 2009
474
475 * Use "reference obfuscation" for emails, rather than javascript
476 obfuscation, which seems to interfere with preview. Resolves
477 Issue #59.
478
ecad711 @jgm Added release announcement, dated CHANGES.
authored
479 Version 0.6.1 released 25 Aug 2009
c735272 @jgm Provisional additions to CHANGES for next release.
authored
480
5c66e9e @jgm More updates to CHANGES.
authored
481 Instructions for upgrading from 0.5.3:
aaa33b3 @jgm Further updates to CHANGES.
authored
482
5c66e9e @jgm More updates to CHANGES.
authored
483 - If you were using a Haskell configuration file, you will
484 need to create a new configuration file. 'gitit --print-default-config'
485 will print a self-documenting default configuration file in the new
486 format, which you can modify.
4898b6d @jgm Updated description of caching changes in CHANGES.
authored
487
5c66e9e @jgm More updates to CHANGES.
authored
488 - If your wiki contains discuss pages of the form 'foo:discuss.page',
489 rename them to '@foo.page'.
490
491 - Delete template.html and the static directory so that these will
492 be replaced by the newest versions when you run gitit. If you have
493 customized these, you should back them up first, then merge your
494 changes into the new versions after they are created. (Note that
2f0a3a5 @jgm Updated CHANGES.
authored
495 template.html will be replaced by a templates/ directory.)
c735272 @jgm Provisional additions to CHANGES for next release.
authored
496
5c66e9e @jgm More updates to CHANGES.
authored
497 Summary of main changes:
aaa33b3 @jgm Further updates to CHANGES.
authored
498
c735272 @jgm Provisional additions to CHANGES for next release.
authored
499 * Added support for plugins -- dynamically loaded Haskell programs that
500 transform pages. See the haddock documentation for Gitit.Interface for
501 plugin documentation. The plugins directory contains several sample
502 plugins.
503
504 * Gitit's configuration file is now a text file with key-value pairs,
505 rather than a Haskell file. The default configuration file
506 (which can be printed using `gitit --print-default-config`
507 contains comments that document all of the options.
508
509 * Pages may now be written in (limited dialects of) LaTeX or HTML,
510 as well as markdown and reStructuredText. The default format
511 is determined by a configuration option, but can be overridden
512 on a per-page basis using metadata (see below). The default
513 Front Page and Help page are created in the default format specified
514 by the configuration file. In addition, syntax help is now displayed
515 to the left of the editing box when a page is being edited.
516
517 * Pages may be written in literate Haskell, using either bird
518 style with markdown or reStructuredText, or LaTeX style with
519 LaTeX. Literate Haskell can be made the default or specified on
520 a per-page basis.
521
522 * Gitit now exports a library, Network.Gitit, that makes it easy for
523 any happstack application to embed a gitit wiki.
524
aaa33b3 @jgm Further updates to CHANGES.
authored
525 * Added optional atom feeds, for whole site (at /_feed)
526 and for individual pages (at /_feed/path/to/page).
527 Feeds are cached with a configurable expiration time.
528
529 * Completely new caching system. Caching is turned off by default and
530 can be enabled by a configuration option. Complete pages are cached
531 on disk and expired when pages are revised through the web interface.
532 When pages are modified directly through a VCS, the cache must be
533 refreshed manually, either by pressing Ctrl-R while viewing a page,
534 or by sending an HTTP request to /_expire/path/to/page, or by using
535 the included program expireGititPath. The new system is much faster
536 than the old in-memory cache, because it avoids the considerable
537 overhead of filestore calls to get the current revision id.
538
539 * To make whole-page caching possible, the user login/out box has been
540 made into an ajax request to /_user. jQuery is now loaded on every
541 page.
542
2f0a3a5 @jgm Updated CHANGES.
authored
543 * Math is converted to MathML by default (using the texmath library),
544 and a javascript is linked in that renders it correctly in IE+mathplayer,
545 Firefox, and Opera. The 'math' configuration setting can alternatively
546 be set to 'jsMath' (to use jsMath javascript, which is more portable
547 but ugly and slower) or 'raw' (plain LaTeX code).
548
549 * Routing changes for better handling of web spiders. Instead of
550 "/foo?history" we now have "/_history/foo"; instead of "/foo?edit"
551 we haev "/_edit/foo"; etc. This makes it possible to exclude web
552 spiders from non-cached pages by excluding URLs that start with
553 '/_'. A default robots.txt file is now provided. Users need not
554 do anything special for this to be enabled.
555
d09422c @jgm Updated CHANGES.
authored
556 * The authentication system has been revised and made much more
557 flexible. In the configuration file, you can specify either
558 'form', 'http', or 'generic' as authentication-method. Form
559 authentication is the old form-based gitit authentication system. HTTP
560 authentication presupposes that the wiki pages are locked down under
561 HTTP authentication; the gitit user will be set to the username used
562 for HTTP authentication. Generic authentication takes the username
563 from the REMOTE_USER request header. When gitit is being used as a
564 library, one can specify a custom withUser filter (which determines
565 the logged in user and sets REMOTE_USER accordingly) and a custom
566 authHandler (including handlers for /_login, /_logout, and whatever
567 else is needed).
568
5c66e9e @jgm More updates to CHANGES.
authored
569 * Security fix: Gitit did not verify that a change password request
570 is genuine when it receives the final POST. It has been changed to
571 re-verify the reset code, otherwise an attacker could simply steal
572 anyone's account by spoofing a POST request. (Thanks to Robin Green.)
573
aaa33b3 @jgm Further updates to CHANGES.
authored
574 * template.html has now been replaced by a directory, templates/, with
575 separate templates for each component of a page.
576
577 * Added /_reloadTemplates action that recompiles the templates. (By
578 default the templates are compiled only on startup.)
579
c735272 @jgm Provisional additions to CHANGES for next release.
authored
580 * Gitit's form-based authentication now includes a "password reset"
581 email. Slightly modified from a patch from Henry Laxen.
582
583 * The naming scheme for discussion pages has changed: the discussion
584 page for foo is now @foo, not foo:discuss. Reason: Windows, and
585 thus darcs, does not like colons in filenames.
586
587 * Improved logging, with configurable verbosity.
588
589 * Major code reorganization and cleanup. Gitit has been moved under
590 the Network namespace. The old WebT handlers are replaced by new ones
591 in ServerPartT. 'handle' has been removed; instead, we use happstack's
592 routing combinators. Configuration and filestores are now passed
593 around in a reader monad, in WikiState. (This also allows different
594 wikis to have different configurations.) Most handlers have been
595 simplified so that they no longer require Page and Params arguments.
596 A new function, 'withInput', is used to avoid the need to pass Params
597 between handlers.
598
2f0a3a5 @jgm Updated CHANGES.
authored
599 * The static handler now "falls back" to the cabal data directory if the
600 requested file is not in "static" (or staticDir). So the user need
601 no longer have a copy of the standard gitit CSS, javascript, and
602 image files in "static" (unless these are to be overridden). This
603 should make updates easier. By default only 'custom.css' and
604 'logo.png' are put in the user's static directory.
605
606 * Similarly, the templates in "templates" "fall back" to defaults in
607 the cabal data directory. By default only 'footer.st' is put in
608 the user's static directory.
609
d09422c @jgm Updated CHANGES.
authored
610 * Gitit State now includes a renderPage function. This is more flexible
611 than storing a page template, since the user may want to use a custom
612 page rendering function, even one not based on string templates.
613
c735272 @jgm Provisional additions to CHANGES for next release.
authored
614 * Added Network.Gitit.ContentTransformer module (thanks to Anton van
615 Straaten). The ContentTransformer module replaces Gitit.Convert. It
616 defines a number of single-purpose combinators that can be combined to
617 yield various kinds of content conversions. These are used to define
618 showPage, preview, showHighlightedSource, and other handlers that used
619 to be defined in Gitit.hs.
620
aaa33b3 @jgm Further updates to CHANGES.
authored
621 * Verify in delete POST requests that filetodelete parameter matches
622 page.
623
624 * Fixed revert when called from diff pages. Revert now reverts to the
625 older of the two revisions being compared.
626
627 * Revamped auto-merging: user must now verify an edited page after
628 a merge, even if there were no conflicts.
629
630 * Fixed Content-Disposition header on export so that filenames have
631 proper extensions.
632
a18fa9a @jgm Updated CHANGES.
authored
633 * Updated for happstack-server-0.3.3. Since this version of happstack
634 supports UTF-8, gitit's old manual decoding and encoding were removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
635
aaa33b3 @jgm Further updates to CHANGES.
authored
636 * Use fileServeStrict instead of fileServe. Resolves Issue #57.
637
638 * 'limit' is no longer used in search. The way it worked before was
639 confusing, since it limited total matches (usually to just a few files)
640 rather than limiting the number of matches in each file.
641
2f0a3a5 @jgm Updated CHANGES.
authored
642 * rdgreen's cautious-file library is now used to write the gitit-users
643 file. This makes it less likely that the file will be corrupted on
644 a power outage or hardware failure.
645
c735272 @jgm Provisional additions to CHANGES for next release.
authored
646 * Redirects set properly after account creation. If users go from
647 the Login form to the Register form, they are no longer redirected
648 back to the Login form after creating an account.
649
650 * indexPage now uses filestore's new 'directory' function. It shows one
651 directory at a time. Subdirectories link to further index pages. This
652 improves on the old javascript folding interface, which did not preserve
653 state. (Thanks to Thomas Hartman for suggestions.)
654
655 * URLs of the form /a/b/ are now equivalent to /_index/a/b.
656
657 * Improvements and bug fixes to deleting. Deleting a non-page now works.
658 You get a nice informative message if you try to delete a nonexistent
659 page or file.
660
2f0a3a5 @jgm Updated CHANGES.
authored
661 * Page names containing "..", "?", or "*", and '_' at beginning are
662 disallowed. Page names may now contain periods.
4c073c6 @jgm Updated CHANGES.
authored
663
c735272 @jgm Provisional additions to CHANGES for next release.
authored
664 * The "Permanent link" link has been removed. It relied on the sha1
665 parameter always being set, but we've changed that for performance
666 reasons.
667
668 * Gitit can now be proxied to a subdirectory path. Thanks to Henry Laxen
669 for the idea and patches. See README for instructions.
670
671 * Performance improvements (mostly due to Gwern Branwen): Pages can be
672 compressed (configurable); unneeded filestore calls removed; cache-control:
673 max-age used.
674
675 * Moved sidebar to end of HTML to make things easier for screen readers.
676
d09422c @jgm Updated CHANGES.
authored
677 * Moved search box and go box to templates.
678
c735272 @jgm Provisional additions to CHANGES for next release.
authored
679 * Yahoo YUI CSS framework is now used for better consistency across browsers.
2f0a3a5 @jgm Updated CHANGES.
authored
680 CSS cleaned up. Icons for page types removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
681
682 * Fixed handling of 'forUser' parameter in 'recent activity'.
683
684 * Made default maxUploadSize 10 Mb.
685
d09422c @jgm Updated CHANGES.
authored
686 * Renamed AppState -> GititState.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
687
412b212 @jgm Version bump to 0.5.3.
authored
688 Version 0.5.3 released 1 Feb 2009
689
690 * Fixed bug which caused jsMath not to load.
691
3e86619 @jgm Version bump to 0.5.2.
authored
692 Version 0.5.2 released 1 Feb 2009
693
694 * Fixed cookie problem caused by empty value fields.
695
d6edecb @jgm Added CHANGES.
authored
696 Version 0.5.1 released 1 Feb 2009
697
698 * Major code reorganization, making gitit more modular.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
699
d6edecb @jgm Added CHANGES.
authored
700 * Gitit can now optionally be built using Happstack instead of HAppS
701 (just use -fhappstack when cabal installing).
c735272 @jgm Provisional additions to CHANGES for next release.
authored
702
d6edecb @jgm Added CHANGES.
authored
703 * Fixed bug with directories that had the same names as pages.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
704
d6edecb @jgm Added CHANGES.
authored
705 * Added code from HAppS-Extra to fix cookie parsing problems.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
706
d6edecb @jgm Added CHANGES.
authored
707 * New command-line options for --port, --debug.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
708
d6edecb @jgm Added CHANGES.
authored
709 * New debug feature prints the date, the raw request, and
710 the processed request data to standard output on each request.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
711
d6edecb @jgm Added CHANGES.
authored
712 * Files with ".page" extension can no longer be uploaded.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
713
d6edecb @jgm Added CHANGES.
authored
714 * Apostrophes and quotation marks now allowed in page names.
715
Something went wrong with that request. Please try again.