Skip to content

HTTPS clone URL

Subversion checkout URL

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