Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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