Skip to content

HTTPS clone URL

Subversion checkout URL

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