1
1
What's changed in loggerhead?
2
2
=============================
7
- Add ``bzr load-test-loggerhead`` as a way to make sure loggerhead can
8
handle concurrent requests, etc. Scripts can be written that spawn
9
multiple threads, and issue concurrent requests.
12
- HEAD requests should not return body content. This is done by adding
13
another wsgi middleware that strips the body when the REQUEST_METHOD is
14
HEAD. Note that you have to add the middleware into your pipeline, and
15
it does not decrease the actual work done.
16
(John Arbash Meinel, #716201)
18
- If we get a HEAD request, there is no reason to expand the template, we
19
shouldn't be returning body content anyway.
20
(John Arbash Meinel, #716201, #716217)
22
- Merge the pqm changes back into trunk, after trunk was reverted to an old
23
revision. (John Arbash Meinel, #716152)
25
- Redirect ``/files/file.txt`` to ``/view/file.txt`` and ``/view/dir`` to
26
``/files/dir``. (Jasper St. Pierre, #569358)
28
- Remove ``start-loggerhead`` and ``stop-loggerhead`` which were already
29
deprecated. (John Arbash Meinel)
31
- Show "Author(s)" as separate from "Committer". And label them
32
correctly. (John Arbash Meinel, #733015)
34
- The json module is no longer claimed to be supported as alternative for
35
simplejson. (Jelmer Vernooij, #586611)
37
- Viewing the ``/changes`` page only iterates enough of the history to show
38
the actual revisions displayed, rather than walking the whole mainline.
39
Improves performance on projects with long histories like emacs.
42
- Fix support for displaying foreign revision ids.
43
(Jelmer Vernooij, #736026)
45
- Add hook 'controller' to BranchWSGIApp, allowing other bzr plugins
46
to provide custom branch-specific controllers. (Jelmer Vernooij, #585822)
48
- Add privacy notification code to loggerhead, allowing branches to be
49
marked as private and a notification ribbon to be displayed via
50
javascript on the view pages. (JC Sackett, #823471)
52
- Add a script and documentation for running under mod_wsgi.
53
(Stuart Colville, Toshio Kuratomi)
55
- Make tz calculations consistent and use UTC in the UI everywhere we show
56
a precise timestamp. (Robert Collins, #594591)
62
- Fix escaping of filenames in revision views.
63
(William Grant, #740142)
65
- Add missing import to loggerhead.trace, allowing start-loggerhead
66
to run when a log.roll config option is set.
67
(Max Kanat-Alexander, #673999)
73
- Syntax highlighting is no longer applied for files greater than 512K,
74
reducing codebrowse.launchpad.net overloading.
75
(Max Kanat-Alexander, #513044)
77
- Documentation added in the docs directory. README simplified
78
accordingly. (Tres Seaver).
80
- Show svn/git/hg revision ids in loggerhead revision view.
83
- Fix .bzr/smart access to branches in shared repos. (You also need
84
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
86
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
88
- Repository.get_revision_inventory() was removed in bzr 2.2; use
89
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
91
- Ignore readonly+ prefix when checking if Loggerhead is serving a
92
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
94
- Set Cache-Control and Expires headers on static pages.
97
- Generate relative links where possible (everywhere but HTTP
98
redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
100
- Fix bad redirect when visiting "/download" or "/download/".
101
(Matt Nordhoff, #247992)
106
- Add bug links in revision informations (Alexandre Garnier, #314052)
108
- Make sure that binary files aren't annotated. (Martin Albisetti,
111
- Loggerhead now serves bzr branches over HTTP and exposes the URL
112
to branch them. Addresses bug #240577. (Jonathan Lange)
114
- Leading blank lines in commit messages no longer result in an
115
empty summary. (Colin Watson)
117
- Added optional syntax highlighting to annotate view using
118
python-pygments. Partially addresses bug #306631. (Peter Bui)
120
- Convert newlines in commit messages to HTML line breaks for
121
annotate and changelog views. Addresses bug #273688. (Peter
124
- serve-branches now errors if run behind a proxy without
125
paste.deploy installed. (Michael Hudson)
127
- Loggerhead should now handle file and directory names that need
128
URL escaping without crashing.
130
- The start-loggerhead script properly sets the wsgi.url_scheme
131
from the server.webpath option. (neror, #260547)
133
- The revision page defaults to unified style again, and can
134
convert to a side-by-side view using JavaScript. (Michael Hudson)
136
- Clean up and improve performance of the annotate view. (Michael
139
- Finish converting JavaScript from MooTools to YUI 3. (Michael
142
- Improve compatibility with IE 6. (Michael Hudson)
144
- Leading blank lines in commit messages no longer result in an
145
empty summary. (Colin Watson)
147
- Clip long lines in side-by-side diff view. (Michael Hudson,
150
- The user-confusing "next" and "previous" links now read "older"
151
and "newer" respectively. (Michael Hudson, #297930)
153
- The annotate view now contains line number anchors. (Michael
156
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
158
- Fix problems viewing files and directories containing spaces and
159
other funny characters. (Peter Bui)
161
- Changelog messages are now displayed with newlines preserved.
164
- Offer a link to see the full file diffs for a file path. (Michael
167
- Fix annotate error caused by Pygments stripping trailing
168
whitespace. (Michael Hudson, #338762)
170
- Loggerhead can be installed as a Bazaar plugin and run by
171
'bzr serve --http'. (Martin Pool)
173
- Load parts of the changelog and revision pages via XMLHttpRequest
174
to improve performance. This adds a dependency on simplejson or
175
json. Partially addresses bug #253950. (Michael Hudson)
177
- Various improvements to the animation JavaScript. (Michael Hudson)
179
- Fix HTML content of source files being displayed unescaped when
180
Pygments was unavailable. (Michael Hudson, #344970)
182
- Fix serve-branches's path argument. (Michael Hudson, #353230)
184
- serve-branches now has an option, --use-cdn, to load YUI from
185
Yahoo!'s CDN. (Matt Nordhoff)
187
- Fix certain race conditions for loading bzr-search. (Robert
190
- Fix errors when using serve-branches --log-folder or --user-dirs.
191
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
194
- Move some caching from RAM to the disk, and other caching and
195
memory usage improvements. (Michael Hudson)
197
- Add a --cache-dir option to serve-branches to choose where to
198
place the SQL cache, and only create one temporary SQL dir per
199
process. (Matt Nordhoff, #358322)
201
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
203
- Use the branch's public_branch as the default suggested URL to
204
branch from (Matt Nordhoff, #369767)
206
- Fix a file descriptor leak (Matt Nordhoff, #370845)
208
- Use transport API internally, so it is possible to specify a remote
209
URL to serve-branches. (Jelmer Vernooij, #371787)
211
- Fix internal server errors when using start-loggerhead. (Matt
214
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
217
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
219
- Added the option to hide branches by setting http_serve = False
220
in locations.conf (Martin Albisetti)
222
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
225
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
227
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
229
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
231
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
233
- Support serving branches over HTTP using the smart server protocol.
234
(Jelmer Vernooij, #306853)
236
- Serving branch data was broken when --allow-writes was *not*
237
passed. (Michael Hudson, #388730)
239
- http_serve config values are interpreted more forgivingly.
242
- When specifying a remote url to serve-branches, do not share
243
connections between threads. (Michael Hudson, #390972)
245
- http_serve values from locations.conf are now applied to
246
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
248
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
251
- Display Loggerhead's version number at the bottom of the page, and
252
add a <meta> generator tag also including the version numbers of
253
its dependencies. (Matt Nordhoff, #370155)
259
- Add startup deamon script for Linux (Marius Kruger)
261
- Switch navigation from file_ids to paths. Fixes bugs #260363,
262
#269365 and #128926. (Martin Albisetti)
264
- Fix bug #258710 ("the /files page explodes in an empty branch").
265
Also minor improvements to the /files and /changes pages.
268
- Added --port, --host and --prefix options to serve-branches
269
script. (Martin Albisetti)
271
- Fixed broken template for project browsing with start-loggerhead
274
- Added --reload options to restart the application when a python
275
file change. (Guillermo Gonzalez)
277
- Added error handling middleware. (Guillermo Gonzalez)
279
- Fix bug #243415 ("Tracebacks go to console but not log
280
file"). Also minor improvements to logging in serve-branches and
281
start-loggerhead. (Guillermo Gonzalez)
286
- Download a diffs between revisions. (Martin Albisetti)
288
- Modified templates to make loggerhead's theme easier to
289
change. (Paul Hummer)
291
- Default sqlite interface is now sqlite3. (Robert Collins)
293
- New ninja theme sponsored by Canonical (Martin Albisetti)
295
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
297
- Remove the .py extension requiered by the Debian Policy.
300
- New startup script serve-branches will serve Loggerhead without
301
the need of configuration, and allow you to browse through directories
302
and branches. (Michael Hudson)
304
- Loggerhead is no longer a TurboGears application, but rather a
305
WSGI application built using Paste (see http://wsgi.org/ and
306
http://pythonpaste.org/ for more about WSGI and Paste).
308
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
310
- The scripts no longer insist on Python 2.4 -- loggerhead works
313
- Bazaar as of version 1.5 has improved in performance enough that
314
the revision cache no longer gave any noticeable benefit, so it
315
was removed (the files-changed cache is still useful).
317
- The templates were rewritten in Zope's TAL markup, powered by
318
the simpleTAL library -- improving both the performance and
319
memory consumption of rendering by a factor of around 3 for
320
large pages over the old Kid templates.
322
- Loggerhead's poorly performing text index was disabled. bzr-search
323
is now used if the plugin is installed and a text index is present
324
on the branch being viewed. (Martin Albisetti, Robert Collins).
326
- Loggerhead no longer depends on bzrlib functions deprecated in
327
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
329
- The daemonization code was made more regular, fixing bugs
330
#139161 ("Starting loggerhead process may not close its stdin
331
and stdout properly") and #211526 ("Codebrowse log directory has
332
unnecessarily permissive permissions")
334
- Some confusion about what the 'file_id' query argument means was
335
cleared up: filter_file_id now means "filter revisions to those
336
that affect this file" in all views and file_id means "examine
337
this file/directory" in the annotate and inventory views.
339
- Dates are present more compactly.
341
- The loggerhead.conf file can specify which network interface to
342
bind to (Mattias Eriksson)