Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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