Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 258 lines (187 sloc) 11.138 kB
7390642 Updated CHANGES
John MacFarlane authored
1 Version 0.6.3 released 27 Sep 2009
2
3 * Fixed MathML conversion so it doesn't happen when exporting to
4 non-HTML output formats.
5
6 * Fixed shadowing on page templates: previously page.st was always
7 taken from the defaults, even if a modified version existed
8 in templates/.
9
10 * Modified YUI CSS reset so that ordered list enumerators can be
11 styled properly.
12
13 * Modified showPage to work with both POST and GET requests.
14
637ed55 @jgm Version bump to 0.6.2.
authored
15 Version 0.6.2 released 25 Aug 2009
16
17 * Use "reference obfuscation" for emails, rather than javascript
18 obfuscation, which seems to interfere with preview. Resolves
19 Issue #59.
20
ecad711 @jgm Added release announcement, dated CHANGES.
authored
21 Version 0.6.1 released 25 Aug 2009
c735272 @jgm Provisional additions to CHANGES for next release.
authored
22
5c66e9e @jgm More updates to CHANGES.
authored
23 Instructions for upgrading from 0.5.3:
aaa33b3 @jgm Further updates to CHANGES.
authored
24
5c66e9e @jgm More updates to CHANGES.
authored
25 - If you were using a Haskell configuration file, you will
26 need to create a new configuration file. 'gitit --print-default-config'
27 will print a self-documenting default configuration file in the new
28 format, which you can modify.
4898b6d @jgm Updated description of caching changes in CHANGES.
authored
29
5c66e9e @jgm More updates to CHANGES.
authored
30 - If your wiki contains discuss pages of the form 'foo:discuss.page',
31 rename them to '@foo.page'.
32
33 - Delete template.html and the static directory so that these will
34 be replaced by the newest versions when you run gitit. If you have
35 customized these, you should back them up first, then merge your
36 changes into the new versions after they are created. (Note that
2f0a3a5 @jgm Updated CHANGES.
authored
37 template.html will be replaced by a templates/ directory.)
c735272 @jgm Provisional additions to CHANGES for next release.
authored
38
5c66e9e @jgm More updates to CHANGES.
authored
39 Summary of main changes:
aaa33b3 @jgm Further updates to CHANGES.
authored
40
c735272 @jgm Provisional additions to CHANGES for next release.
authored
41 * Added support for plugins -- dynamically loaded Haskell programs that
42 transform pages. See the haddock documentation for Gitit.Interface for
43 plugin documentation. The plugins directory contains several sample
44 plugins.
45
46 * Gitit's configuration file is now a text file with key-value pairs,
47 rather than a Haskell file. The default configuration file
48 (which can be printed using `gitit --print-default-config`
49 contains comments that document all of the options.
50
51 * Pages may now be written in (limited dialects of) LaTeX or HTML,
52 as well as markdown and reStructuredText. The default format
53 is determined by a configuration option, but can be overridden
54 on a per-page basis using metadata (see below). The default
55 Front Page and Help page are created in the default format specified
56 by the configuration file. In addition, syntax help is now displayed
57 to the left of the editing box when a page is being edited.
58
59 * Pages may be written in literate Haskell, using either bird
60 style with markdown or reStructuredText, or LaTeX style with
61 LaTeX. Literate Haskell can be made the default or specified on
62 a per-page basis.
63
64 * Gitit now exports a library, Network.Gitit, that makes it easy for
65 any happstack application to embed a gitit wiki.
66
aaa33b3 @jgm Further updates to CHANGES.
authored
67 * Added optional atom feeds, for whole site (at /_feed)
68 and for individual pages (at /_feed/path/to/page).
69 Feeds are cached with a configurable expiration time.
70
71 * Completely new caching system. Caching is turned off by default and
72 can be enabled by a configuration option. Complete pages are cached
73 on disk and expired when pages are revised through the web interface.
74 When pages are modified directly through a VCS, the cache must be
75 refreshed manually, either by pressing Ctrl-R while viewing a page,
76 or by sending an HTTP request to /_expire/path/to/page, or by using
77 the included program expireGititPath. The new system is much faster
78 than the old in-memory cache, because it avoids the considerable
79 overhead of filestore calls to get the current revision id.
80
81 * To make whole-page caching possible, the user login/out box has been
82 made into an ajax request to /_user. jQuery is now loaded on every
83 page.
84
2f0a3a5 @jgm Updated CHANGES.
authored
85 * Math is converted to MathML by default (using the texmath library),
86 and a javascript is linked in that renders it correctly in IE+mathplayer,
87 Firefox, and Opera. The 'math' configuration setting can alternatively
88 be set to 'jsMath' (to use jsMath javascript, which is more portable
89 but ugly and slower) or 'raw' (plain LaTeX code).
90
91 * Routing changes for better handling of web spiders. Instead of
92 "/foo?history" we now have "/_history/foo"; instead of "/foo?edit"
93 we haev "/_edit/foo"; etc. This makes it possible to exclude web
94 spiders from non-cached pages by excluding URLs that start with
95 '/_'. A default robots.txt file is now provided. Users need not
96 do anything special for this to be enabled.
97
d09422c @jgm Updated CHANGES.
authored
98 * The authentication system has been revised and made much more
99 flexible. In the configuration file, you can specify either
100 'form', 'http', or 'generic' as authentication-method. Form
101 authentication is the old form-based gitit authentication system. HTTP
102 authentication presupposes that the wiki pages are locked down under
103 HTTP authentication; the gitit user will be set to the username used
104 for HTTP authentication. Generic authentication takes the username
105 from the REMOTE_USER request header. When gitit is being used as a
106 library, one can specify a custom withUser filter (which determines
107 the logged in user and sets REMOTE_USER accordingly) and a custom
108 authHandler (including handlers for /_login, /_logout, and whatever
109 else is needed).
110
5c66e9e @jgm More updates to CHANGES.
authored
111 * Security fix: Gitit did not verify that a change password request
112 is genuine when it receives the final POST. It has been changed to
113 re-verify the reset code, otherwise an attacker could simply steal
114 anyone's account by spoofing a POST request. (Thanks to Robin Green.)
115
aaa33b3 @jgm Further updates to CHANGES.
authored
116 * template.html has now been replaced by a directory, templates/, with
117 separate templates for each component of a page.
118
119 * Added /_reloadTemplates action that recompiles the templates. (By
120 default the templates are compiled only on startup.)
121
c735272 @jgm Provisional additions to CHANGES for next release.
authored
122 * Gitit's form-based authentication now includes a "password reset"
123 email. Slightly modified from a patch from Henry Laxen.
124
125 * The naming scheme for discussion pages has changed: the discussion
126 page for foo is now @foo, not foo:discuss. Reason: Windows, and
127 thus darcs, does not like colons in filenames.
128
129 * Improved logging, with configurable verbosity.
130
131 * Major code reorganization and cleanup. Gitit has been moved under
132 the Network namespace. The old WebT handlers are replaced by new ones
133 in ServerPartT. 'handle' has been removed; instead, we use happstack's
134 routing combinators. Configuration and filestores are now passed
135 around in a reader monad, in WikiState. (This also allows different
136 wikis to have different configurations.) Most handlers have been
137 simplified so that they no longer require Page and Params arguments.
138 A new function, 'withInput', is used to avoid the need to pass Params
139 between handlers.
140
2f0a3a5 @jgm Updated CHANGES.
authored
141 * The static handler now "falls back" to the cabal data directory if the
142 requested file is not in "static" (or staticDir). So the user need
143 no longer have a copy of the standard gitit CSS, javascript, and
144 image files in "static" (unless these are to be overridden). This
145 should make updates easier. By default only 'custom.css' and
146 'logo.png' are put in the user's static directory.
147
148 * Similarly, the templates in "templates" "fall back" to defaults in
149 the cabal data directory. By default only 'footer.st' is put in
150 the user's static directory.
151
d09422c @jgm Updated CHANGES.
authored
152 * Gitit State now includes a renderPage function. This is more flexible
153 than storing a page template, since the user may want to use a custom
154 page rendering function, even one not based on string templates.
155
c735272 @jgm Provisional additions to CHANGES for next release.
authored
156 * Added Network.Gitit.ContentTransformer module (thanks to Anton van
157 Straaten). The ContentTransformer module replaces Gitit.Convert. It
158 defines a number of single-purpose combinators that can be combined to
159 yield various kinds of content conversions. These are used to define
160 showPage, preview, showHighlightedSource, and other handlers that used
161 to be defined in Gitit.hs.
162
aaa33b3 @jgm Further updates to CHANGES.
authored
163 * Verify in delete POST requests that filetodelete parameter matches
164 page.
165
166 * Fixed revert when called from diff pages. Revert now reverts to the
167 older of the two revisions being compared.
168
169 * Revamped auto-merging: user must now verify an edited page after
170 a merge, even if there were no conflicts.
171
172 * Fixed Content-Disposition header on export so that filenames have
173 proper extensions.
174
a18fa9a @jgm Updated CHANGES.
authored
175 * Updated for happstack-server-0.3.3. Since this version of happstack
176 supports UTF-8, gitit's old manual decoding and encoding were removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
177
aaa33b3 @jgm Further updates to CHANGES.
authored
178 * Use fileServeStrict instead of fileServe. Resolves Issue #57.
179
180 * 'limit' is no longer used in search. The way it worked before was
181 confusing, since it limited total matches (usually to just a few files)
182 rather than limiting the number of matches in each file.
183
2f0a3a5 @jgm Updated CHANGES.
authored
184 * rdgreen's cautious-file library is now used to write the gitit-users
185 file. This makes it less likely that the file will be corrupted on
186 a power outage or hardware failure.
187
c735272 @jgm Provisional additions to CHANGES for next release.
authored
188 * Redirects set properly after account creation. If users go from
189 the Login form to the Register form, they are no longer redirected
190 back to the Login form after creating an account.
191
192 * indexPage now uses filestore's new 'directory' function. It shows one
193 directory at a time. Subdirectories link to further index pages. This
194 improves on the old javascript folding interface, which did not preserve
195 state. (Thanks to Thomas Hartman for suggestions.)
196
197 * URLs of the form /a/b/ are now equivalent to /_index/a/b.
198
199 * Improvements and bug fixes to deleting. Deleting a non-page now works.
200 You get a nice informative message if you try to delete a nonexistent
201 page or file.
202
2f0a3a5 @jgm Updated CHANGES.
authored
203 * Page names containing "..", "?", or "*", and '_' at beginning are
204 disallowed. Page names may now contain periods.
4c073c6 @jgm Updated CHANGES.
authored
205
c735272 @jgm Provisional additions to CHANGES for next release.
authored
206 * The "Permanent link" link has been removed. It relied on the sha1
207 parameter always being set, but we've changed that for performance
208 reasons.
209
210 * Gitit can now be proxied to a subdirectory path. Thanks to Henry Laxen
211 for the idea and patches. See README for instructions.
212
213 * Performance improvements (mostly due to Gwern Branwen): Pages can be
214 compressed (configurable); unneeded filestore calls removed; cache-control:
215 max-age used.
216
217 * Moved sidebar to end of HTML to make things easier for screen readers.
218
d09422c @jgm Updated CHANGES.
authored
219 * Moved search box and go box to templates.
220
c735272 @jgm Provisional additions to CHANGES for next release.
authored
221 * Yahoo YUI CSS framework is now used for better consistency across browsers.
2f0a3a5 @jgm Updated CHANGES.
authored
222 CSS cleaned up. Icons for page types removed.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
223
224 * Fixed handling of 'forUser' parameter in 'recent activity'.
225
226 * Made default maxUploadSize 10 Mb.
227
d09422c @jgm Updated CHANGES.
authored
228 * Renamed AppState -> GititState.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
229
412b212 @jgm Version bump to 0.5.3.
authored
230 Version 0.5.3 released 1 Feb 2009
231
232 * Fixed bug which caused jsMath not to load.
233
3e86619 @jgm Version bump to 0.5.2.
authored
234 Version 0.5.2 released 1 Feb 2009
235
236 * Fixed cookie problem caused by empty value fields.
237
d6edecb @jgm Added CHANGES.
authored
238 Version 0.5.1 released 1 Feb 2009
239
240 * Major code reorganization, making gitit more modular.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
241
d6edecb @jgm Added CHANGES.
authored
242 * Gitit can now optionally be built using Happstack instead of HAppS
243 (just use -fhappstack when cabal installing).
c735272 @jgm Provisional additions to CHANGES for next release.
authored
244
d6edecb @jgm Added CHANGES.
authored
245 * Fixed bug with directories that had the same names as pages.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
246
d6edecb @jgm Added CHANGES.
authored
247 * Added code from HAppS-Extra to fix cookie parsing problems.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
248
d6edecb @jgm Added CHANGES.
authored
249 * New command-line options for --port, --debug.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
250
d6edecb @jgm Added CHANGES.
authored
251 * New debug feature prints the date, the raw request, and
252 the processed request data to standard output on each request.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
253
d6edecb @jgm Added CHANGES.
authored
254 * Files with ".page" extension can no longer be uploaded.
c735272 @jgm Provisional additions to CHANGES for next release.
authored
255
d6edecb @jgm Added CHANGES.
authored
256 * Apostrophes and quotation marks now allowed in page names.
257
Something went wrong with that request. Please try again.