Skip to content

HTTPS clone URL

Subversion checkout URL

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