Skip to content
Newer
Older
100644 1045 lines (692 sloc) 36.4 KB
e7c1190 @jgm Bump version to 0.12.0.1, updated changelog.
authored
1 Version 0.12.0.1 released 24 Aug 2015
2
3 * Revert change of curly to straight quote for starting
4 User's Guide page (Wouter Oosterveld).
5 * stack.yaml: removed pandoc flag setting.
6
1b63a1d @jgm Updated CHANGES.
authored
7 Version 0.12 released 19 Aug 2015
8
9 * Export all modules.
10 * Make executable builds depend on the library in cabal file.
11 * Moved library files to src directory.
12 * Added stack.yaml.
13 * Updated README with stack install instructions.
14
cbc44c3 @jgm Updated CHANGES.
authored
15 Version 0.11.1.1 released 14 Aug 2015
16
17 * Fixed Network.Gitit.Initialize so it compiles with older pandoc (#506).
18 * Removed extra import of liftIO in Dot.hs plugin.
19
7a30b25 @jgm Updated CHANGES.
authored
20 Version 0.11.1 released 23 Jul 2015
21
22 * Allow `commonmark` as a page type.
23 * Handle CommonMark page type on initialization.
24
bef13f9 @jgm Updated CHANGES.
authored
25 Version 0.11 released 02 Jun 2015
26
27 * Allow page extensions to be configurable (not just `.page`)
28 (Caleb McDaniel).
29 - Added `page-extension` option in config file (Caleb McDaniel).
30 - Added new type for `defaultExtension`
31 - Changed `isPageFile` to get extension from config
32 - New function `isNotDiscussPageFile`
33 - `pathForPage` must be passed extension as String
34 - `isPageFile` now returns GititServerPart Bool instead of just Bool.
35 * Reverted some changes to Plugins that caused excessive memory use.
36 * Allow pandoc 1.15.
37 * Added missing `<br>` tag in form on registration page (Vaughn Iverson).
38 * Show page diffs in feed (Imuli).
39 * Display commit messages in feed entry titles (Imuli).
40 * Fix preview button for modern jQuery (Imuli).
41 * Feed titles reflect site and page names (Imuli).
42 * Present feed in canonical order (recent first, Imuli).
43 * https support for base-url config option (Imuli).
44
d7e63b4 @jgm Updated CHANGES.
authored
45 Version 0.10.7 released 02 Jun 2015
46
47 * Fixes to allow building with pandoc 1.14. `CommonMark` added
48 as a constructor of `PageType`. CommonMark can now be used as
49 a page format and is also available for page export.
50 * Plugins: added some recommended option flags.
51 * Allow `---` as well as `...` to end metadata (#493).
52 * README: changed dead links (Rick Hanson).
53
54 Version 0.10.6.3 released 08 May 2015
55
56 * README: use shortcut style markdown links.
57 * Fixed profiling options.
58 * Added .travis.yml.
59 * Allow both time >= 1.5.0.0 and time < 1.5.0.0 with old-locale
60 (Michal Antkiewicz)
61
1626ff5 @jgm Updated CHANGES.
authored
62 Version 0.10.6.2 released 02 April 2015
63
64 * Bumped upper version bounds.
65 * Fix typos in README.markdown (Igor Vuk).
66 * Update bug tracker link (Waldir Pimenta).
67
c553dd2 @jgm Update CHANGES.
authored
68 Version 0.10.6.1 released 28 October 2014
69
70 * Added Network.Gitit.Compat.Except to cabal module list.
71
3be3868 @jgm Updated CHANGES.
authored
72 Version 0.10.6 released 28 October 2014
73
74 * Escape HTML characters in user name when showing it on a web page.
75 This addresses a security flaw in previous versions, pointed out
76 by Davy Stoffel. A fake password reset email could be provided
77 to users, with the link:
78
79 http://gitit.net/_doResetPassword?reset_code=azeaze&username=
80 davy%3Cscript%3Ealert%281%29%3C/script%3E
81
82 If the person clicked the link, the unknown username would be
83 displayed (unescaped), and the javascript would run.
84 This fix addresses the flaw, not by preventing the funny user name,
85 but by ensuring that the HTML tags are escaped when the user name
86 is shown on the page.
87
88 * Network.Gitit.Initialize: Allow mediawiki for default pages.
89
90 * Enable readerParseRaw for all formats.
91 This will enable things like script and iframe tags to get
92 parsed from HTML sources, and unrecognized latex tags from LaTeX.
93
94 * Refined github login (Freiric Barral).
95
96 * Include jquery sources in sdist tarballs (Anthony Towns).
97
98 * Add support for `mediawiki` as a page format (Raymond Gauthier).
99
0ac43af @jgm Updated CHANGES.
authored
100 Version 0.10.5.1 released 21 September 2014
101
102 * Added markup help for org mode. Closes #449.
103
104 * Utils.parsePageType: Added case for "org".
105
106 * Allow newer versions of dependencies.
107
679d83e @jgm Version bump to 0.10.5, updated CHANGES.
authored
108 Version 0.10.5 released 23 August 2014
cfe1936 @jgm Updated CHANGES.
authored
109
679d83e @jgm Version bump to 0.10.5, updated CHANGES.
authored
110 * Added github login option (Freiric Barral).
cfe1936 @jgm Updated CHANGES.
authored
111
679d83e @jgm Version bump to 0.10.5, updated CHANGES.
authored
112 * Change default math display to mathjax.
cfe1936 @jgm Updated CHANGES.
authored
113
114 * Relaxed package bounds, fixed compiler warnings.
115 Added Network.Gitit.Compat.Except module for compatibility
116 with earlier and later mtl versions.
117
ff6cd2f @jgm Added network-uri flag.
authored
118 * Added network-uri flag to accommodate network-uri/network split.
119
679d83e @jgm Version bump to 0.10.5, updated CHANGES.
authored
120 * Fixed failure when loading the Subst plugin (Glenn Searby).
121
122 * Added Makefile, for use in installing on server.
123
124 * Include takeBaseName in System.FilePath import (Caleb McDaniel).
125
cfe1936 @jgm Updated CHANGES.
authored
126 * Update README.markdown on Apache installation (Peter Gallagher).
127
128 * Add full versions of minified JavaScript (#400) (Peter Gallagher).
129
130 * Enable highlighting of patterns that start or end with punctuation
131 (Caleb McDaniel).
132
133 * Moved oauth secret to separate config file (Freiric Barral).
134
135 * Corrected MathJax CDN URL (Maciek Makowski).
136
e8ee0bc @jgm Updated CHANGES.
authored
137 Version 0.10.4 released 30 Jun 2014
138
139 * Updated package bounds for happstack (#382), pandoc, blaze-html,
140 network.
141
142 * Display EPS as image, not code.
143
144 * Fixed recent activity page for binary files (Sergey Koposov).
145
146 * Use normal spaces instead of nbsp in activity page (Sergey Koposov).
147
148 * Display a delete link next to uploads in file list (rekado).
149
150 * Change _search to use HTTP GET, so searches can be linked
151 and refreshed (Joe Hillenbrand).
152
153 * Document mod_proxy_html setting in README. Added a mod_proxy_html
154 configuration directive to insert a DOCTYPE string (Johann Visagie).
155
156 * Added new template variables `isdiscusspage`, `isarticleUrl`,
157 `discussionUrl`. This makes it possible to treat discussion pages
158 specially in templates, and insert appropriate links (Shane O'Brien).
159
160 * Added template variables `articlename`, `discussionname`,
161 `isarticlepage` (Shane O'Brien).
162
163 * Added redirects (#233). You can now create a redirect page by adding
164 a `redirect` field to the metadata of a page (Shane O'Brien).
165
166 - When a user visits a redirect page, they are redirected to the
167 destination page.
168 - At the destination page, a message is displayed telling the user
169 that they have been redirected from the source page. A link is
170 provided back to the source page, with a parameter to disable the
171 redirect (so that it can be edited).
172 - Gitit will detects circular redirects and explain to the user
173 what is going on in such cases.
174
175 * Added "search for pages containing..." option to `createPage`.
176 Changed "page not found" page to give the option of searching for
177 the page name or creating a page with that name (Shane O'Brien).
178
179 * Set `pgTitle` in `showDiff` (Shane O'Brien).
180
181 * Made the default "since" for the activity page configurable
182 (Shane O'Brien).
183
184 * Only set the `tabs` template variable if there are tabs (Shane O'Brien).
185
186 * Removed access question from password reset form. It's only
187 needed for the register form (Shane O'Brien).
188
189 * Added `for` attribute to all labels on forms (Shane O'Brien).
190
191 * Updated `pageToString` to use new metadata format (Shane O'Brien).
192
193 * Handlers: Fixed duplicate function defn for `fileAnchor`.
194
195 * Added `Org` and `BocBook` to `PageType` (API change). Pages
196 may now be written in Ord mode or DocBook syntax.
197
198 * Allow multiple categories, separated by commas,
199 in a `_category` URL (Caleb McDaniel). The pages in all listed
200 categories will be returned.
201
202 * Added filter links for `_category` pages (Cabel McDaniel).
203
204 * Fixed image exports in Docx, RTF, slides, PDF (#399, #353).
205
206 * Restored inline syntax highlighting.
207
208 * Fixed highlighting in exports (#356).
209
210 * Added `ICML` and `beamer` as export formats (#391).
211
212 * Added github-style backgrounds to code blocks (Joe Hillenbrand).
213
214 * Lighter heading border (like wikimedia) (Joe Hillenbrand).
215
216 * Fixed links on activity page (Shane O'Brien).
217
218 * Added markup help for Textile, Org, DocBook (#434).
219
220 * Modified plugins/Subst.hs to work with latest pandoc (Tianyi Cui).
221
222 * Fixed wiki links when `base-url` is empty and `absolute-urls` yes
223 (Tianyi Cui).
224
225 * README: document that changes to templates require a restart (Raphael).
226
227
eda6e08 Bump version to 0.10.3.1, update CHANGES.
John MacFarlane authored
228 Version 0.10.3.1 released 19 Mar 2013
229
230 * Fixed filename encoding problem affecting caching,
231 for gitit compiled with GHC 7.4 or later.
232
233 * Fixed padding on some buttons (akerbos).
234
235 * Specify correct format in header for initial pages (benmachine).
236
34bbb04 Updated CHANGES.
John MacFarlane authored
237 Version 0.10.3 released 09 Mar 2013
238
239 * Allow latest versions of pandoc, blaze-html, HStringTemplate.
240
241 * Fixed duplicate ids in user box.
242
243 * Added `mathjax-script` option, specifies the mathjax script to
244 use. (Dmitry Gerasimov.)
245
246 * Set focus on editedText on page load. (Mathieu Larose.)
247
248 * Added `address` config option. (Matieu Larose.)
249
a831da8 Updated CHANGES.
John MacFarlane authored
250 Version 0.10.2 released 09 Feb 2013
251
252 * Updated to work with pandoc 1.10.
253
254 * Fixed path for MathMLInHTML.js script. Closes #345.
255 Thanks to tstgruby.
256
257 * Updated interwiki plugin (gwern).
258
259 * Made it possible to export pages with images stored in the
260 repository itself (as opposed to the static directory). Thanks
261 to Claudio Bley for the patch.
262
3154c30 Updated CHANGES.
John MacFarlane authored
263 Version 0.10.1.2 released 11 Jan 2013
264
265 * Fixed regression in option parsing. An earlier patch
266 caused the '-f' option not to work. Closes #336.
267
8bb87e3 @jgm Version bump to 0.10.1.1.
authored
268 Version 0.10.1.1 released 01 Jan 2013
269
270 * Allow compilation with directory < 1.2.
271
0544ee0 Updated CHANGES.
John MacFarlane authored
272 Version 0.10.1 released 31 Dec 2012
273
274 * Fixed duplicate dropExtension on categoryPage. (atsuo yamada)
275 This created problems with categories containing periods.
276
277 * Fixed duplicate unescaping of HTML entities. (atsuo yamada)
278
279 * Supply $revision$ at _diff if "Changes from beginning to..."
280 (atsuo yamada)
281
282 * MathJax rendering is now working in edit preview mode
283 (Dmitry Gerasimov).
284
285 * Upgrade directory package dependency to 1.2, and
286 fix compilation issue with GHC 7.6.1 (Bin Jin).
287
288 * Allow metadata keys to include digits, _, -. Closes #328.
289
290 * Don't read config for --help or --version (Ben Millwood).
291 Also involves a refactor of options into those that make the program
292 quit immediately, and those that just alter the configuration.
293
294 * Updated to use filestore 0.6 (new diff API).
295 Thanks to markwright for partial patch.
296
297 * Include format metadata in default installed pages.
298 This allows them to continue working when the user changes the
299 default page format. Closes #329.
300
301 * Added explicit path to Gitit User's Guide in default front page.
302
303 * Fix Gitit User's Guide link on front page.
304 Previously it was broken due to "smart punctuation."
305
306 * Fixed validation messages. Switched from using lookRead "messages"
307 to using looks "message" for messages. Closes #294.
308
309 Version 0.10.0.2 released 02 Nov 2012
fc1ef88 Updated CHANGES.
John MacFarlane authored
310
311 * Raised version bounds for dependencies.
312
313 * Updated post-update script to use new forms of git commands.
314 Closes #317.
315
316 * Fixed withTempDir so it returns to old directory.
317 Closes #303. This is a slightly different solution than the one
318 proposed by tstgruby, but it has the advantage that only withTempDir
319 itself needs to be changed.
320
321 * Added nginx example for proxy setup (README) (Andre Kelpe).
322
7c9332a Updated CHANGES.
John MacFarlane authored
323 Version 0.10.0.1 released 07 Jun 2012
324
325 * Fixed double-encoding bug for unicode page names
326 (Alexander Vershilov).
327
328 * Require happstack-server >= 7.
329
35cefc8 Updated CHANGES.
John MacFarlane authored
330 Version 0.10 released 30 May 2012
331
332 * Changed 'readFileUTF8' so it doesn't encode filename on ghc 7.4.
333
334 * Upgraded for compatibility with blaze-html 0.5. Closes #299.
335
336 * Improved categories. Files are now read strictly to avoid a 'too
337 many open files' error. 'Page' now exports 'readCategories' instead of
338 'extractCategories'.
339
340 * Require filestore 0.5. This brings in (a) correct handling
341 of unicode paths when compiled under GHC 7.4, and (b) a 'limit'
342 parameter for 'history'. The limit parameter is essential when
343 gitit is used with very large repositories; otherwise history
344 commands would have to parse the entire log. Handler functions
345 that use 'history' have been updated to use the optional
346 'limit' parameter.
347
348 * Atom feeds are now limited to 200 entries, to prevent server
349 overload.
350
351 * Indicate size of default logo picture in README. Closes #291.
352
353 * Added a README section on restricting access. Closes #292.
354
75f0338 Updated CHANGES; bumped version to 0.9.0.1.
John MacFarlane authored
355 Version 0.9.0.1 released 15 Feb 2012
356
357 * Fixed bug in fromEntities that caused text to be lost in the page
358 source after semicolons. Thanks to Perry Wagle for reporting the bug.
359
360 * Updated code to run on happstack 7.
361
362 * Removed dependency on happstack-util; depend on base64-bytestring
363 instead.
364
365 * Updated gitit.cabal to include footnotes.js (Ben Sinclair).
366
f3c0a6d Updated CHANGES.
John MacFarlane authored
367 Version 0.9 released 29 Feb 2012
368
369 * Gitit now uses the latest pandoc (1.9.x) and happstack-server (6.6.x),
370 and compiles on ghc 7.4.1.
371
372 * Added Docx, AsciiDoc, and DZSlides as export formats.
373
374 * HTML slide show exports are now "self-contained": they embed all
375 required js, css, and images, so they can be used offline.
376
377 * Allow spaces in usernames (Juraj Hercek).
378
379 * Improve PDF/RTF exports containing images in the wiki.
380 Wikidata paths are translated to absolute ones, so pandoc/pdflatex
381 can find them (Juraj Hercek).
382
383 * Protect against XSS in slide show exports. Previous versions
384 of gitit sanitized wikipages, but not HTML slide shows.
385
386 * Table of contents is now in a div with ID `TOC`, so it can
387 be styled.
388
389 * Removed letter and word spacing from print.css.
390
391 * Added s5 directory to static. This is needed by pandoc 1.9.
392
393 * Updated Interwiki plugin (gwern).
394
395 * Added `fromEntities` to `Types`, since `decodeCharacterReferences`
396 is no longer exported from Pandoc. Added dependency on tagsoup.
397
398 * Provided `FromReqURI` instance for `[String]`, since
399 this is not automatic with recent happstack.
400
1470309 Updated CHANGES.
John MacFarlane authored
401 Version 0.8.1 released 02 Sep 2011
402
403 * Support mathjax as a math option.
404 Added MathJax as MathMethod, and mathjax as an option in
405 the 'math' config field. Resolves GoogleCode 122.
406
407 * Added xss-sanitize configuaration option.
408 Setting it to 'no' turns off sanitization, enabling
409 file:// URLs and other things that get filtered out
410 by xss-sanitize.
411
412 * Listen interface explanation on help file could be more clear (#266)
413 (andyring)
414
415 * Add the new configuration option 'absolute-urls'.
416 When turned on, this makes wikilinks absolute w.r.t. the base-url.
417 By default, they are relative. So, for example, in a wiki served
418 at the path 'wiki', on a page Sub/Page, the wikilink '[Cactus]()'
419 will produce a link to '/wiki/Cactus' if absolute-urls is on,
420 and otherwise the relative link 'Cactus'. Patch due to lemmih.
421
422 * Change default listen address to 0.0.0.0.
423
424 * Serve svg file as image, not source code!
425
426 * Page history: use 'limit' instead of restricting to past year.
427 limit defaults to 100. If 100 are displayed, you'll get a
428 "Show more..." link that will increase the limit.
429 Also fixed bug that caused a 404 when no history was returned.
430
431 * Require pandoc >= 1.8.2.
432
433 * Allow build with happstack-server 6.2.
434
435 * Updated for use with xss-sanitize 0.3, which uses Text.
436 New dependency on text.
437
a043ad7 @jgm Bump version to 0.8.0.1; updated CHANGES.
authored
438 Version 0.8.0.1 released 07 Jun 2011
439
440 * Fixed file upload problem with recent versions of directory
441 package. (Thanks to Oliver Braun.)
442
443 * Relaxed some version upper bounds.
444
8d129e9 @jgm Updated CHANGES.
authored
445 Version 0.8 released 13 May 2011
446
447 * Uses happstack 6.
448
449 * Added textile and org export formats, textile page format.
450
451 * Added support for RPXNow authentication, based on a patch from
452 Pasqualino Titto Assini.
453
454 * Added `authentication-required` field in config.
455
456 * If set to 'modify', authentication is required to modify the wiki.
457 * If set to 'read', atuhentication is required to view the wiki.
458 * If set to 'none', authentication is never required, and pages can
459 be edited anonymously.
460
461 API changes:
462
463 * currentUser moved to Authentication module
464 * requireAuthentication added to Config
465 * Added AuthenticationLevel type
466 * requireUser renamed authenticate, parameter for AuthenticationLevel
467 added; requireUserThat renamed authenticateUserThat
468
469 * MathML and jsMath now work in the preview pane (Sean Seefried).
470
471 * Use footnotes.js for fancy footnote styling (gwern).
472
473 * Added a `--listen` parameter to specify the listen device
474 (Timo B. Hübel).
475
476 * Removed withInput.
477
478 * Replaced fileContents with filePath in Params.
479
480 * Fixed bug in uploadForm.js which caused a prefix to be added in the
481 default wikiname.
482
483
0d9f935 @jgm Updated CHANGES.
authored
484 Version 0.7.3.12 released 01 Feb 2011
485
486 * Use pandoc 1.8.
487
488 * New export formats: textile, org.
489
490 * New page form: textile.
491
c5e1856 @jgm Bump version to 0.7.3.11; updated CHANGES.
authored
492 Version 0.7.3.11 released 28 Jan 2011
493
494 * Allow time 1.2.
495
6d9bebb @jgm Updated CHANGES.
authored
496 Version 0.7.3.10 released 26 Jan 2011
497
498 * Updated for filestore-0.4.0.2. Gitit should now compile with ghc 7.
499 Note: It may be necessary to supply the --disable-library-for-ghci
500 flag to 'cabal install highlighting-kate'.
501
502 Version 0.7.3.9 released 25 Jan 2011
503
504 * Removed dependency on cautious-file.
505 It no longer seems to be actively maintained, and the current
506 configuration does not compile on windows.
507
508 * Removed dependency on datetime package.
509 It is no longer maintained.
510 Everything can be done just as well with the time package.
511
512 * Depend on filestore >= 0.4 (without datetime dependency).
513
514 * Bump version bounds on hslogger, network and HTTP.
515
516 * Support for GHC 7.0 in Plugins (thanks to Max Bollingbroke).
517
518 * Use xss-sanitize for sanitizing HTML.
519 Previously pandoc's sanitization was used, but this will be
520 removed in the next pandoc release. xss-sanitize is a more complete
521 solution, and also prevents people from messing up layout by inserting
522 unbalanced </div>.
523
524 * Updated Feed module to make it decouplable from gitit.
525
526 * jQuery.load wasn't working on Safari. Use jQuery.post instead.
527 Also, the convert function was not always in scope. (It is only in
528 scope when MathML is enabled?) We check if it is defined before
529 calling it. (Thanks to Sean Seefried.)
530
531 * Export Page module.
532
533 * Templates are in data directory
534
535 * Fixed bug in Subst plugin (Lars Petersen).
536 Subst plugin could not deal with non-existing pages, resulting
537 in an server error when trying to substitute with an absent file.
538 This patch now creates a link to the page in order to create it.
539
540 * Added alt attribute to logo.
541
7f2ea47 @jgm Bump version to 0.7.3.8, updated CHANGES.
authored
542 Version 0.7.3.8 released 24 July 2010
543
544 * Fixed MathML in Slidy and S5 exports.
545
546 * Use languagesByFilename instead of languagesByExtension in isSource.
547
ad97b51 @jgm Updated CHANGES.
authored
548 Version 0.7.3.7 released 24 July 2010
549
550 * Depend on pandoc >= 1.6, highlighting-kate >= 0.2.7.1
551
552 * Added epub and slidy export formats.
553
554 * Require happstack >= 0.5.
555
556 * Added google math option (uses google charts api).
557 Slightly modified from a patch by lpeterse.
558
559 * Made WebArchiver plugin more parallel (gwern).
560
561 * Fixed Dot plugin to work with GHC 6.12.
562 We were having string encoding issues reading the output
563 of dot with readProcess. Solution is to pass dot an output
564 filename so we don't have to read its output.
565
bded9f4 @jgm Updated CHANGES.
authored
566 Version 0.7.3.6 released 05 May 2010
567
568 * Fixed ODT/PDF export for files in subdirectories. Resolves Issue #81.
569
570 * Fix image URLs before calling the ODT or PDF processors
571
572 * Added plain text export format.
573
574 * Raised upper bound for datetime, parsec, and happstack dependencies.
575
576 * Fix wikilinks to they don't get a leading slash.
577 This reverts a bug introduced by 2128afb070b7, which added leading
578 slashes to wikilinks, breaking them for people using gitit as a
579 library on a path other than /.
580
bbe3352 @jgm Updated CHANGES, bumped version to 0.7.3.5.
authored
581 Version 0.7.3.5 released 21 Mar 2010
582
583 * Returned to using pandoc's MathML writer option.
584 This is fixed in pandoc 1.5.0.1. Depend on pandoc >= 1.5.0.1.
585
4dd9ed7 @jgm Version bump to 0.7.3.4. Updated CHANGES.
authored
586 Version 0.7.3.4 released 21 Mar 2010
587
588 * Use custom readFileUTF8 (exported in Network.Gitit.Util) instead of
589 broken System.IO.UTF8. This way we have a uniform solution for GHC
590 6.10 and 6.12, and don't have to use CPP tricks. This change fixes
591 categories on GHC 6.12. Resolves Issue #98.
592
19b5ed2 @jgm Version bump to 0.7.3.3.
authored
593 Version 0.7.3.3 released 21 Mar 2010
594
595 * Reverted to handling math in MathML mode in the old way, using
596 a transform, rather than relying on pandoc's MathML writer option.
597 The latter was causing amazing CPU and memory usage, for reasons
598 I don't yet understand. This should fix the problem for now.
599
600 * Fixed caching for unicode page names.
601
602 * Added max-page-size config option. Thanks to Jinjing Wang for the patch.
603
604 * Prevented _expire/ from failing if the page is not cached.
605
606 * Fixed URL encoding for pages. (Note: Don't use + for spaces;
607 that breaks the Ctrl-R cache expiration.)
608
609 Version 0.7.3.2 released 20 Mar 2010
55d28fc @jgm Updated CHANGES.
authored
610
22731ad @jgm Bump version to 0.7.3.2.
authored
611 * Fixed editing of pages when max-upload-size=0.
612 max-upload-size should not double as max-page-size.
613 Resolves Issue #96.
614
615 Version 0.7.3.1 released 20 Mar 2010
616
55d28fc @jgm Updated CHANGES.
authored
617 * Changed "In" to "in" in MathMLinJS.js link.
618
b6a03a1 @jgm Updated CHANGES.
authored
619 Version 0.7.3 released 20 Mar 2010
620
621 * Added PDF export option and pdf-export config field.
622 (Based on a patch by gwern.)
623
624 * Added markdown export.
2958d7a @jgm Restore use of pandoc's new mathml capabilities for MathML math method.
authored
625
626 * Use pandoc's new MathML math mode for more efficient
627 MathML.
628
b6a03a1 @jgm Updated CHANGES.
authored
629 * Improved multi-wiki example code in haddocks.
630
631 * Added session-timeout config setting.
632
633 * Config module: Added readSize (recognizing K,M,G suffix).
634 Previously readNumber always recognized K,M,G suffixes,
635 but these only make sense in some contexts (not e.g. for
636 times).
637
638 * Added Subst plugin (thanks to gwern).
639
640 * Added notes on PDF caching and idle.
641
642 * Fixed table of contents in wiki pages (resolving Issue #91).
643
644 * Added pandoc-user-data config option, allowing the user
645 to specify a directory with e.g. templates that override
646 the defaults used for exported pages.
2958d7a @jgm Restore use of pandoc's new mathml capabilities for MathML math method.
authored
647
b6a03a1 @jgm Updated CHANGES.
authored
648 * Fix filesToClean GHC panic when loading plugins on GHC HEAD
649
650 * Fixed problem with doubled // in updir links.
651 Resolves Issue #88.
652
653 * Updated interwiki plugin.
654
655 * Fixed caching for feeds. Thanks to brian.sniffen for pointing
656 out the need to normalize the time diff. Resolves Issue #87.
657
658 * Improved Feed module (gwern).
659
660 * Use line anchors from highlighting-source, so that you can link
661 directly to a particular line in a source file.
662
663 * Disable upload functionality if maxUploadSize is 0.
664
665 * Exported queryGititState, updateGititState, Network.Gitit.Layout.
666 Exported filledPageTemplate. (Thanks to tphyahoo.)
667 Split off and expose createDefaultPages.
668 Exposed compilePageTemplate.
669
670 * Use charset=utf-8 on output from Layout.
671
672 * Use isUnescapedInURI with escapeURIString rather than isAllowedInURI.
673 The latter does not escape % signs.
674
fe39a2a Updated changelog.
John MacFarlane authored
675 Version 0.7.2 released 02 Jan 2010
676
677 * Now compiles with GHC 6.12.
678
27d4422 Updated CHANGES.
John MacFarlane authored
679 Version 0.7.1 released 02 Jan 2010
680
681 * Updated exports to work with pandoc 1.4.
682
683 * Began updating to work with GHC 6.12. (Still untested; there may
684 be further issues involving filestore.)
685
88826ac @jgm Updated CHANGES.
authored
686 Version 0.7 released 20 Dec 2009
687
688 * Updated cabal file to allow happstack 0.4.
689
690 * Added support for the new mercurial filestore backend.
691 (Depending on filestore >= 0.3.4.)
692
693 * Depend on xml >= 1.3.5. This fixes a bug in the display of
694 mathml. Previously the self-closed tags in matrices with empty
695 cells confused browsers and caused them to construct the
696 DOM incorrectly. The problem is fixed by using xml's new
697 ppcElement function to render the MathML without self-closed tags.
698
699 * Depend on pandoc >= 1.3.
700
701 * Properly handle UTF-8 in config files.
702
703 * Moved option parsing code from Config module to main program.
704 The Config module now exports getConfigFromFile instead of
705 getConfigFromOpts. This should be more useful for those using gitit as
706 a library.
707
708 * Use wikiTitle config field in default HTML title.
709
710 * Improved search results:
711 + Highlight search terms in search results.
712 Partially resolves Issue #76.
713 + Made search results message uniform when no results.
714 + Search: don't match page name against empty patterns.
715 + Allow search matches on subdirectory part of page name.
716 + Search: catch error status from filestore search.
717 Filestore <= 0.3.3 does not properly handle the error status
718 returned by later versions of 'git grep' when no match is found.
719 The problem has been fixed in darcs filestore.
720
721 * CSS tweaks:
722 + Removed base-min.css, folded necessary styles into screen.css.
723 + Removed 'text-align: left' for th from CSS reset.
724
725 * Feed improvements:
726 + Modified feed handling so that feeds validate.
727 + Perform proper escaping in Feed.hs (thanks to gwern).
728 + Don't reveal author email in feeds.
729 + Sitewide feed is /_feed/ (with trailing slash).
730 + Add "http://" to base-url config option if needed.
731
732 * Use + for spaces in URLs linking to wiki pages and folders.
733
734 * Updated plugins:
735 + Updated Interwiki plugin (gwern).
736 + Modified WebArchiver plugin to make Alexa requests (gwern).
737
ddf46e8 @jgm Updated CHANGES.
authored
738 Version 0.6.6 released 06 Nov 2009
739
740 * Require filestore >= 0.3.3, which closes a security
741 vulnerability.
742
743 * Don't allow web file uploads to the static or templates directory,
744 even if these are subdirectories of the repository directory.
745 We don't want users uploading new CSS, javascript, or templates
746 that might break the site.
747
748 * Renamed gitit-dog.png -> logo.png in data/static/img.
749 This way the logo will show up even without a local img directory.
750 Thanks to Thomas Hartmann for the patch.
751
752 * Return 404 when page not found. Thanks to Richard Fergie.
753
754 * Improved layout of Export button.
755
756 * Added links for atom feeds to sitenav.st and pagetools.st, to
757 make the feeds more discoverable.
758
759 * Minor code safety improvements.
760
761 * Check for commit messages consisting of whitespace.
762 Commit messages consisting only of whitespace characters are
763 rejected by Git as empty. Gitit should behave similarly.
764
765 * Allow gitit to start up if custom template directory not found.
766 Thanks to Thomas Hartmann.
767
768 * Fixed incorrect usage of nullGroup (a debugging function). Thanks
769 to Thomas Hartmann.
770
fd976b9 Updated CHANGES.
John MacFarlane authored
771 Version 0.6.5 released 06 Oct 2009
772
773 * Added metadata to Page and Context, provided askMeta for plugins.
774 This patch gives plugins access to all of the key/value pairs
775 in the page metadata block. Thanks to Dan Cook.
776
777 * Added PigLatin plugin to demonstrate use of askMeta.
778
779 * Display informative message on authentication failure.
780
684db8f Updated CHANGES.
John MacFarlane authored
781 * Fixed library stanza in cabal file so plugins are properly enabled.
782
953996b Updated CHANGES
John MacFarlane authored
783 Version 0.6.4 released 28 Sep 2009
784
785 * Fixed preview javascript so that tex math works properly in
786 preview.
787
7390642 Updated CHANGES
John MacFarlane authored
788 Version 0.6.3 released 27 Sep 2009
789
790 * Fixed MathML conversion so it doesn't happen when exporting to
791 non-HTML output formats.
792
793 * Fixed shadowing on page templates: previously page.st was always
794 taken from the defaults, even if a modified version existed
795 in templates/.
796
797 * Modified YUI CSS reset so that ordered list enumerators can be
798 styled properly.
799
800 * Modified showPage to work with both POST and GET requests.
801
637ed55 @jgm Version bump to 0.6.2.
authored
802 Version 0.6.2 released 25 Aug 2009
803
804 * Use "reference obfuscation" for emails, rather than javascript
805 obfuscation, which seems to interfere with preview. Resolves
806 Issue #59.
807
ecad711 @jgm Added release announcement, dated CHANGES.
authored
808 Version 0.6.1 released 25 Aug 2009
c735272 @jgm Provisional additions to CHANGES for next release.
authored
809
5c66e9e @jgm More updates to CHANGES.
authored
810 Instructions for upgrading from 0.5.3:
aaa33b3 @jgm Further updates to CHANGES.
authored
811
5c66e9e @jgm More updates to CHANGES.
authored
812 - If you were using a Haskell configuration file, you will
813 need to create a new configuration file. 'gitit --print-default-config'
814 will print a self-documenting default configuration file in the new
815 format, which you can modify.
4898b6d @jgm Updated description of caching changes in CHANGES.
authored
816
5c66e9e @jgm More updates to CHANGES.
authored
817 - If your wiki contains discuss pages of the form 'foo:discuss.page',
818 rename them to '@foo.page'.
819
820 - Delete template.html and the static directory so that these will
821 be replaced by the newest versions when you run gitit. If you have
822 customized these, you should back them up first, then merge your
823 changes into the new versions after they are created. (Note that
2f0a3a5 @jgm Updated CHANGES.
authored
824 template.html will be replaced by a templates/ directory.)
c735272 @jgm Provisional additions to CHANGES for next release.
authored
825
5c66e9e @jgm More updates to CHANGES.
authored
826 Summary of main changes:
aaa33b3 @jgm Further updates to CHANGES.
authored
827
c735272 @jgm Provisional additions to CHANGES for next release.
authored
828 * Added support for plugins -- dynamically loaded Haskell programs that
829 transform pages. See the haddock documentation for Gitit.Interface for
830 plugin documentation. The plugins directory contains several sample
831 plugins.
832
833 * Gitit's configuration file is now a text file with key-value pairs,
834 rather than a Haskell file. The default configuration file
835 (which can be printed using `gitit --print-default-config`
836 contains comments that document all of the options.
837
838 * Pages may now be written in (limited dialects of) LaTeX or HTML,
839 as well as markdown and reStructuredText. The default format
840 is determined by a configuration option, but can be overridden
841 on a per-page basis using metadata (see below). The default
842 Front Page and Help page are created in the default format specified
843 by the configuration file. In addition, syntax help is now displayed
844 to the left of the editing box when a page is being edited.
845
846 * Pages may be written in literate Haskell, using either bird
847 style with markdown or reStructuredText, or LaTeX style with
848 LaTeX. Literate Haskell can be made the default or specified on
849 a per-page basis.
850
851 * Gitit now exports a library, Network.Gitit, that makes it easy for
852 any happstack application to embed a gitit wiki.
853
aaa33b3 @jgm Further updates to CHANGES.
authored
854 * Added optional atom feeds, for whole site (at /_feed)
855 and for individual pages (at /_feed/path/to/page).
856 Feeds are cached with a configurable expiration time.
857
858 * Completely new caching system. Caching is turned off by default and
859 can be enabled by a configuration option. Complete pages are cached
860 on disk and expired when pages are revised through the web interface.
861 When pages are modified directly through a VCS, the cache must be
862 refreshed manually, either by pressing Ctrl-R while viewing a page,
863 or by sending an HTTP request to /_expire/path/to/page, or by using
864 the included program expireGititPath. The new system is much faster
865 than the old in-memory cache, because it avoids the considerable
866 overhead of filestore calls to get the current revision id.
867
868 * To make whole-page caching possible, the user login/out box has been
869 made into an ajax request to /_user. jQuery is now loaded on every
870 page.
871
2f0a3a5 @jgm Updated CHANGES.
authored
872 * Math is converted to MathML by default (using the texmath library),
873 and a javascript is linked in that renders it correctly in IE+mathplayer,
874 Firefox, and Opera. The 'math' configuration setting can alternatively
875 be set to 'jsMath' (to use jsMath javascript, which is more portable
876 but ugly and slower) or 'raw' (plain LaTeX code).
877
878 * Routing changes for better handling of web spiders. Instead of
879 "/foo?history" we now have "/_history/foo"; instead of "/foo?edit"
880 we haev "/_edit/foo"; etc. This makes it possible to exclude web
881 spiders from non-cached pages by excluding URLs that start with
882 '/_'. A default robots.txt file is now provided. Users need not
883 do anything special for this to be enabled.
884
d09422c @jgm Updated CHANGES.
authored
885 * The authentication system has been revised and made much more
886 flexible. In the configuration file, you can specify either
887 'form', 'http', or 'generic' as authentication-method. Form
888 authentication is the old form-based gitit authentication system. HTTP
889 authentication presupposes that the wiki pages are locked down under
890 HTTP authentication; the gitit user will be set to the username used
891 for HTTP authentication. Generic authentication takes the username
892 from the REMOTE_USER request header. When gitit is being used as a
893 library, one can specify a custom withUser filter (which determines
894 the logged in user and sets REMOTE_USER accordingly) and a custom
895 authHandler (including handlers for /_login, /_logout, and whatever
896 else is needed).
897
5c66e9e @jgm More updates to CHANGES.
authored
898 * Security fix: Gitit did not verify that a change password request
899 is genuine when it receives the final POST. It has been changed to
900 re-verify the reset code, otherwise an attacker could simply steal
901 anyone's account by spoofing a POST request. (Thanks to Robin Green.)
902
aaa33b3 @jgm Further updates to CHANGES.
authored
903 * template.html has now been replaced by a directory, templates/, with
904 separate templates for each component of a page.
905
906 * Added /_reloadTemplates action that recompiles the templates. (By
907 default the templates are compiled only on startup.)
908
c735272 @jgm Provisional additions to CHANGES for next release.
authored
909 * Gitit's form-based authentication now includes a "password reset"
910 email. Slightly modified from a patch from Henry Laxen.
911
912 * The naming scheme for discussion pages has changed: the discussion
913 page for foo is now @foo, not foo:discuss. Reason: Windows, and
914 thus darcs, does not like colons in filenames.
915
916 * Improved logging, with configurable verbosity.
917
918 * Major code reorganization and cleanup. Gitit has been moved under
919 the Network namespace. The old WebT handlers are replaced by new ones
920 in ServerPartT. 'handle' has been removed; instead, we use happstack's
921 routing combinators. Configuration and filestores are now passed
922 around in a reader monad, in WikiState. (This also allows different
923 wikis to have different configurations.) Most handlers have been
924 simplified so that they no longer require Page and Params arguments.
925 A new function, 'withInput', is used to avoid the need to pass Params
926 between handlers.
927
2f0a3a5 @jgm Updated CHANGES.
authored
928 * The static handler now "falls back" to the cabal data directory if the
929 requested file is not in "static" (or staticDir). So the user need
930 no longer have a copy of the standard gitit CSS, javascript, and
931 image files in "static" (unless these are to be overridden). This
932 should make updates easier. By default only 'custom.css' and
933 'logo.png' are put in the user's static directory.
934
935 * Similarly, the templates in "templates" "fall back" to defaults in
936 the cabal data directory. By default only 'footer.st' is put in
937 the user's static directory.
938
d09422c @jgm Updated CHANGES.
authored
939 * Gitit State now includes a renderPage function. This is more flexible
940 than storing a page template, since the user may want to use a custom
941 page rendering function, even one not based on string templates.
942
c735272 @jgm Provisional additions to CHANGES for next release.
authored
943 * Added Network.Gitit.ContentTransformer module (thanks to Anton van
944 Straaten). The ContentTransformer module replaces Gitit.Convert. It
945 defines a number of single-purpose combinators that can be combined to
946 yield various kinds of content conversions. These are used to define
947 showPage, preview, showHighlightedSource, and other handlers that used
948 to be defined in Gitit.hs.
949
aaa33b3 @jgm Further updates to CHANGES.
authored
950 * Verify in delete POST requests that filetodelete parameter matches
951 page.
952
953 * Fixed revert when called from diff pages. Revert now reverts to the
954 older of the two revisions being compared.
955
956 * Revamped auto-merging: user must now verify an edited page after
957 a merge, even if there were no conflicts.
958
959 * Fixed Content-Disposition header on export so that filenames have
960 proper extensions.
961
a18fa9a @jgm Updated CHANGES.
authored
962 * Updated for happstack-server-0.3.3. Since this version of happstack
963 supports UTF-8, gitit's old manual decoding and encoding were removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
964
aaa33b3 @jgm Further updates to CHANGES.
authored
965 * Use fileServeStrict instead of fileServe. Resolves Issue #57.
966
967 * 'limit' is no longer used in search. The way it worked before was
968 confusing, since it limited total matches (usually to just a few files)
969 rather than limiting the number of matches in each file.
970
2f0a3a5 @jgm Updated CHANGES.
authored
971 * rdgreen's cautious-file library is now used to write the gitit-users
972 file. This makes it less likely that the file will be corrupted on
973 a power outage or hardware failure.
974
c735272 @jgm Provisional additions to CHANGES for next release.
authored
975 * Redirects set properly after account creation. If users go from
976 the Login form to the Register form, they are no longer redirected
977 back to the Login form after creating an account.
978
979 * indexPage now uses filestore's new 'directory' function. It shows one
980 directory at a time. Subdirectories link to further index pages. This
981 improves on the old javascript folding interface, which did not preserve
982 state. (Thanks to Thomas Hartman for suggestions.)
983
984 * URLs of the form /a/b/ are now equivalent to /_index/a/b.
985
986 * Improvements and bug fixes to deleting. Deleting a non-page now works.
987 You get a nice informative message if you try to delete a nonexistent
988 page or file.
989
2f0a3a5 @jgm Updated CHANGES.
authored
990 * Page names containing "..", "?", or "*", and '_' at beginning are
991 disallowed. Page names may now contain periods.
4c073c6 @jgm Updated CHANGES.
authored
992
c735272 @jgm Provisional additions to CHANGES for next release.
authored
993 * The "Permanent link" link has been removed. It relied on the sha1
994 parameter always being set, but we've changed that for performance
995 reasons.
996
997 * Gitit can now be proxied to a subdirectory path. Thanks to Henry Laxen
998 for the idea and patches. See README for instructions.
999
1000 * Performance improvements (mostly due to Gwern Branwen): Pages can be
1001 compressed (configurable); unneeded filestore calls removed; cache-control:
1002 max-age used.
1003
1004 * Moved sidebar to end of HTML to make things easier for screen readers.
1005
d09422c @jgm Updated CHANGES.
authored
1006 * Moved search box and go box to templates.
1007
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1008 * Yahoo YUI CSS framework is now used for better consistency across browsers.
2f0a3a5 @jgm Updated CHANGES.
authored
1009 CSS cleaned up. Icons for page types removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1010
1011 * Fixed handling of 'forUser' parameter in 'recent activity'.
1012
1013 * Made default maxUploadSize 10 Mb.
1014
d09422c @jgm Updated CHANGES.
authored
1015 * Renamed AppState -> GititState.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1016
412b212 @jgm Version bump to 0.5.3.
authored
1017 Version 0.5.3 released 1 Feb 2009
1018
1019 * Fixed bug which caused jsMath not to load.
1020
3e86619 @jgm Version bump to 0.5.2.
authored
1021 Version 0.5.2 released 1 Feb 2009
1022
1023 * Fixed cookie problem caused by empty value fields.
1024
d6edecb @jgm Added CHANGES.
authored
1025 Version 0.5.1 released 1 Feb 2009
1026
1027 * Major code reorganization, making gitit more modular.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1028
d6edecb @jgm Added CHANGES.
authored
1029 * Gitit can now optionally be built using Happstack instead of HAppS
1030 (just use -fhappstack when cabal installing).
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1031
d6edecb @jgm Added CHANGES.
authored
1032 * Fixed bug with directories that had the same names as pages.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1033
d6edecb @jgm Added CHANGES.
authored
1034 * Added code from HAppS-Extra to fix cookie parsing problems.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1035
d6edecb @jgm Added CHANGES.
authored
1036 * New command-line options for --port, --debug.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1037
d6edecb @jgm Added CHANGES.
authored
1038 * New debug feature prints the date, the raw request, and
1039 the processed request data to standard output on each request.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1040
d6edecb @jgm Added CHANGES.
authored
1041 * Files with ".page" extension can no longer be uploaded.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
1042
d6edecb @jgm Added CHANGES.
authored
1043 * Apostrophes and quotation marks now allowed in page names.
1044
Something went wrong with that request. Please try again.