~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to NEWS

Merge the "don't run template on HEAD requests" branch.

This should stop us from getting OOPS during HEAD requests from haproxy
(bug #701329). It also should mean that at least most HEAD requests stop
returning body content (bug #716201), and that we perform less total work
to return HEAD info (bug #716217).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
What's changed in loggerhead?
 
2
=============================
 
3
 
 
4
1.19 [???]
 
5
----------------
 
6
 
 
7
    - If we get a HEAD request, there is no reason to expand the template, we
 
8
      shouldn't be returning body content anyway.
 
9
      (John Arbash Meinel, #716201, #716217)
 
10
 
 
11
    - Merge the pqm changes back into trunk, after trunk was reverted to an old
 
12
      revision. (John Arbash Meinel, #716152)
 
13
 
 
14
 
 
15
1.18 [10Nov2010]
 
16
----------------
 
17
 
 
18
    - Syntax highlighting is no longer applied for files greater than 512K,
 
19
      reducing codebrowse.launchpad.net overloading.
 
20
      (Max Kanat-Alexander, #513044)
 
21
 
 
22
    - Documentation added in the docs directory. README simplified
 
23
      accordingly. (Tres Seaver).
 
24
 
 
25
    - Show svn/git/hg revision ids in loggerhead revision view.
 
26
      (Jelmer Vernooij)
 
27
 
 
28
    - Fix .bzr/smart access to branches in shared repos. (You also need
 
29
      a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
 
30
 
 
31
    - Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
 
32
 
 
33
    - Repository.get_revision_inventory() was removed in bzr 2.2; use
 
34
      Repository.get_inventory() instead. (Matt Nordhoff, #528194)
 
35
 
 
36
    - Ignore readonly+ prefix when checking if Loggerhead is serving a
 
37
      local location. (Reported by Tres Seaver.) (Matt Nordhoff)
 
38
 
 
39
    - Set Cache-Control and Expires headers on static pages.
 
40
      (John Arbash Meinel)
 
41
 
 
42
    - Generate relative links where possible (everywhere but HTTP
 
43
      redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
 
44
 
 
45
    - Fix bad redirect when visiting "/download" or "/download/".
 
46
      (Matt Nordhoff, #247992)
 
47
 
 
48
 
 
49
1.17 [20Aug2009]
 
50
----------------
 
51
 
 
52
    - Add bug links in revision informations (Alexandre Garnier, #314052)
 
53
 
 
54
    - Make sure that binary files aren't annotated. (Martin Albisetti,
 
55
      #258848)
 
56
 
 
57
    - Loggerhead now serves bzr branches over HTTP and exposes the URL
 
58
      to branch them. Addresses bug #240577. (Jonathan Lange)
 
59
 
 
60
    - Leading blank lines in commit messages no longer result in an
 
61
      empty summary. (Colin Watson)
 
62
 
 
63
    - Added optional syntax highlighting to annotate view using
 
64
      python-pygments.  Partially addresses bug #306631. (Peter Bui)
 
65
 
 
66
    - Convert newlines in commit messages to HTML line breaks for
 
67
      annotate and changelog views.  Addresses bug #273688. (Peter
 
68
      Bui)
 
69
 
 
70
    - serve-branches now errors if run behind a proxy without
 
71
      paste.deploy installed. (Michael Hudson)
 
72
 
 
73
    - Loggerhead should now handle file and directory names that need
 
74
      URL escaping without crashing.
 
75
 
 
76
    - The start-loggerhead script properly sets the wsgi.url_scheme
 
77
      from the server.webpath option. (neror, #260547)
 
78
 
 
79
    - The revision page defaults to unified style again, and can
 
80
      convert to a side-by-side view using JavaScript. (Michael Hudson)
 
81
 
 
82
    - Clean up and improve performance of the annotate view. (Michael
 
83
      Hudson)
 
84
 
 
85
    - Finish converting JavaScript from MooTools to YUI 3. (Michael
 
86
      Hudson)
 
87
 
 
88
    - Improve compatibility with IE 6. (Michael Hudson)
 
89
 
 
90
    - Leading blank lines in commit messages no longer result in an
 
91
      empty summary. (Colin Watson)
 
92
 
 
93
    - Clip long lines in side-by-side diff view. (Michael Hudson,
 
94
      #334837)
 
95
 
 
96
    - The user-confusing "next" and "previous" links now read "older"
 
97
      and "newer" respectively. (Michael Hudson, #297930)
 
98
 
 
99
    - The annotate view now contains line number anchors. (Michael
 
100
      Hudson)
 
101
 
 
102
    - Fix inventory pages using "//" in links. (Michael Hudson, #329668)
 
103
 
 
104
    - Fix problems viewing files and directories containing spaces and
 
105
      other funny characters. (Peter Bui)
 
106
 
 
107
    - Changelog messages are now displayed with newlines preserved.
 
108
      (Peter Bui, #273688)
 
109
 
 
110
    - Offer a link to see the full file diffs for a file path. (Michael
 
111
      Hudson, #333797)
 
112
 
 
113
    - Fix annotate error caused by Pygments stripping trailing
 
114
      whitespace. (Michael Hudson, #338762)
 
115
 
 
116
    - Loggerhead can be installed as a Bazaar plugin and run by
 
117
      'bzr serve --http'. (Martin Pool)
 
118
 
 
119
    - Load parts of the changelog and revision pages via XMLHttpRequest
 
120
      to improve performance. This adds a dependency on simplejson or
 
121
      json. Partially addresses bug #253950. (Michael Hudson)
 
122
 
 
123
    - Various improvements to the animation JavaScript. (Michael Hudson)
 
124
 
 
125
    - Fix HTML content of source files being displayed unescaped when
 
126
      Pygments was unavailable. (Michael Hudson, #344970)
 
127
 
 
128
    - Fix serve-branches's path argument. (Michael Hudson, #353230)
 
129
 
 
130
    - serve-branches now has an option, --use-cdn, to load YUI from
 
131
      Yahoo!'s CDN. (Matt Nordhoff)
 
132
 
 
133
    - Fix certain race conditions for loading bzr-search. (Robert
 
134
      Collins, #334250)
 
135
 
 
136
    - Fix errors when using serve-branches --log-folder or --user-dirs.
 
137
      (It was calling config.get_option() incorrectly.) (Matt Nordhoff,
 
138
      bug #361238)
 
139
 
 
140
    - Move some caching from RAM to the disk, and other caching and
 
141
      memory usage improvements. (Michael Hudson)
 
142
 
 
143
    - Add a --cache-dir option to serve-branches to choose where to
 
144
      place the SQL cache, and only create one temporary SQL dir per
 
145
      process. (Matt Nordhoff, #358322)
 
146
 
 
147
    - Replace homebrew memory profiling code with Dozer. (Paul Hummer)
 
148
 
 
149
    - Use the branch's public_branch as the default suggested URL to
 
150
      branch from (Matt Nordhoff, #369767)
 
151
 
 
152
    - Fix a file descriptor leak (Matt Nordhoff, #370845)
 
153
 
 
154
    - Use transport API internally, so it is possible to specify a remote
 
155
      URL to serve-branches. (Jelmer Vernooij, #371787)
 
156
 
 
157
    - Fix internal server errors when using start-loggerhead. (Matt
 
158
      Nordhoff, #375948)
 
159
 
 
160
    - Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
 
161
      Nordhoff, #376957)
 
162
 
 
163
    - Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
 
164
 
 
165
    - Added the option to hide branches by setting http_serve = False
 
166
      in locations.conf (Martin Albisetti)
 
167
 
 
168
    - Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
 
169
      #380026)
 
170
 
 
171
    - Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
 
172
 
 
173
    - Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
 
174
 
 
175
    - Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
 
176
 
 
177
    - Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
 
178
 
 
179
    - Support serving branches over HTTP using the smart server protocol.
 
180
      (Jelmer Vernooij, #306853)
 
181
 
 
182
    - Serving branch data was broken when --allow-writes was *not*
 
183
      passed. (Michael Hudson, #388730)
 
184
 
 
185
    - http_serve config values are interpreted more forgivingly.
 
186
      (Michael Hudson)
 
187
 
 
188
    - When specifying a remote url to serve-branches, do not share
 
189
      connections between threads. (Michael Hudson, #390972)
 
190
 
 
191
    - http_serve values from locations.conf are now applied to
 
192
      non-branch .bzr data (e.g shared repositories). (Michael Hudson)
 
193
 
 
194
    - tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
 
195
      Hudson, #246739)
 
196
 
 
197
    - Display Loggerhead's version number at the bottom of the page, and
 
198
      add a <meta> generator tag also including the version numbers of
 
199
      its dependencies. (Matt Nordhoff, #370155)
 
200
 
 
201
 
 
202
1.10 [22Dec2008]
 
203
----------------
 
204
 
 
205
    - Add startup deamon script for Linux (Marius Kruger)
 
206
 
 
207
    - Switch navigation from file_ids to paths. Fixes bugs #260363,
 
208
      #269365 and #128926. (Martin Albisetti)
 
209
 
 
210
    - Fix bug #258710 ("the /files page explodes in an empty branch").
 
211
      Also minor improvements to the /files and /changes pages.
 
212
      (Marius Kruger)
 
213
 
 
214
    - Added --port, --host and --prefix options to serve-branches
 
215
      script. (Martin Albisetti)
 
216
 
 
217
    - Fixed broken template for project browsing with start-loggerhead
 
218
      (Martin Albisetti)
 
219
 
 
220
    - Added --reload options to restart the application when a python
 
221
      file change. (Guillermo Gonzalez)
 
222
 
 
223
    - Added error handling middleware. (Guillermo Gonzalez)
 
224
 
 
225
    - Fix bug #243415 ("Tracebacks go to console but not log
 
226
      file"). Also minor improvements to logging in serve-branches and
 
227
      start-loggerhead. (Guillermo Gonzalez)
 
228
 
 
229
1.6 [15Aug2008]
 
230
----------------
 
231
 
 
232
    - Download a diffs between revisions. (Martin Albisetti)
 
233
 
 
234
    - Modified templates to make loggerhead's theme easier to
 
235
      change. (Paul Hummer)
 
236
 
 
237
    - Default sqlite interface is now sqlite3. (Robert Collins)
 
238
 
 
239
    - New ninja theme sponsored by Canonical (Martin Albisetti)
 
240
 
 
241
    - Added COPYING file and clarified copyright headers (John Arbash Meinel)
 
242
 
 
243
    - Remove the .py extension requiered by the Debian Policy.
 
244
      (Jelmer Vernooij)
 
245
 
 
246
    - New startup script serve-branches will serve Loggerhead without
 
247
      the need of configuration, and allow you to browse through directories
 
248
      and branches. (Michael Hudson)
 
249
 
 
250
    - Loggerhead is no longer a TurboGears application, but rather a
 
251
      WSGI application built using Paste (see http://wsgi.org/ and
 
252
      http://pythonpaste.org/ for more about WSGI and Paste).
 
253
 
 
254
    - URLs now use revision numbers instead of revision ids (Martin Albisetti)
 
255
 
 
256
    - The scripts no longer insist on Python 2.4 -- loggerhead works
 
257
      fine with 2.5.
 
258
 
 
259
    - Bazaar as of version 1.5 has improved in performance enough that
 
260
      the revision cache no longer gave any noticeable benefit, so it
 
261
      was removed (the files-changed cache is still useful).
 
262
 
 
263
    - The templates were rewritten in Zope's TAL markup, powered by
 
264
      the simpleTAL library -- improving both the performance and
 
265
      memory consumption of rendering by a factor of around 3 for
 
266
      large pages over the old Kid templates.
 
267
 
 
268
    - Loggerhead's poorly performing text index was disabled. bzr-search
 
269
      is now used if the plugin is installed and a text index is present
 
270
      on the branch being viewed. (Martin Albisetti, Robert Collins).
 
271
 
 
272
    - Loggerhead no longer depends on bzrlib functions deprecated in
 
273
      Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
 
274
 
 
275
    - The daemonization code was made more regular, fixing bugs
 
276
      #139161 ("Starting loggerhead process may not close its stdin
 
277
      and stdout properly") and #211526 ("Codebrowse log directory has
 
278
      unnecessarily permissive permissions")
 
279
 
 
280
    - Some confusion about what the 'file_id' query argument means was
 
281
      cleared up: filter_file_id now means "filter revisions to those
 
282
      that affect this file" in all views and file_id means "examine
 
283
      this file/directory" in the annotate and inventory views.
 
284
 
 
285
    - Dates are present more compactly.
 
286
 
 
287
    - The loggerhead.conf file can specify which network interface to
 
288
      bind to (Mattias Eriksson)
 
289
 
 
290
1.2.1  [06mar2008]
 
291
------------------
 
292
 
 
293
    - The changelog view was out of order when not using the revision
 
294
      cache.
 
295
 
 
296
1.2  [04mar2008]
 
297
 
 
298
    - Michael Hudson <michael.hudson@canonical.com> has mostly taken
 
299
      over the maintenance of loggerhead.
 
300
 
 
301
    - loggerhead now has a simple test suite -- use 'nosetests' in the
 
302
      loggerhead directory to run it.
 
303
 
 
304
    - The rendering performance of pages that display large amounts of
 
305
      text was improved by a factor of 4 or so.
 
306
 
 
307
    - loggerhead no longer caches the text of the diffs between
 
308
      revisions.  It rarely helped and wasted a lot of disk space.
 
309
 
 
310
    - The layout of most pages was made more "tight" to waste less
 
311
      screen real estate, and some other UI improvements (Kent
 
312
      Gibson).
 
313
 
 
314
    - Much dead code was removed.
 
315
 
 
316
    - Loggerhead now computes the files changed between revisions only
 
317
      when it needs to know this.  This is a fairly expensive
 
318
      operation in Bazaar, and doing it less massively improves
 
319
      performance and memory usage in some situations.
 
320
 
 
321
    - Loggerhead now takes a read lock on the branch being viewed for
 
322
      the duration of each request, which improves performance
 
323
      significantly.
 
324
 
 
325
    - Loggerhead no longer uses the corruption-prone Berkely DB-backed
 
326
      shelve module for its caches, and rather (ab)uses a sqlite
 
327
      database instead.
 
328
 
 
329
    - The creation of History objects is much faster for large
 
330
      branches (Aaron Bentley).
 
331
 
 
332
    - Allow the construction of URLs using revnos and file paths as
 
333
      well as revids and fileids (bug #98826):
 
334
 
 
335
      - For changes pages, append the newest revno to display to the
 
336
        URL, like http://.../changes/<revno>
 
337
 
 
338
      - For annotate pages, append the revno to display to the URL,
 
339
        followed by the path, like http://.../annotate/<revno>/<path>
 
340
 
 
341
      - For file listing and revision pages append the revno to
 
342
        display to the URL, like http://.../files/<revno>
 
343
 
 
344
      Loggerhead still generates URLs using revision and file ids for
 
345
      the moment.
 
346
 
 
347
    - Many bugs were fixed:
 
348
 
 
349
      - Loggerhead does not escape special characters when embedding a
 
350
        revision ID in a URL (bug #88286)
 
351
 
 
352
      - Improved robustness in the face of ghosts.
 
353
 
 
354
      - Don't crash on displaying a commit with an empty message (bug
 
355
        #86247)
 
356
 
 
357
      - codebrowse fails with infinite redirections (James Henstridge,
 
358
        bug #89854)
 
359
 
 
360
      - Loggerhead fails to browse revisions that change binary files
 
361
        (James Henstridge, bug #91686)
 
362
 
 
363
      - Loggerhead atom feeds expose internal hostname (James
 
364
        Henstridge, bug #93585)
 
365
 
 
366
      - loggerhead don't like page break character (0x0C) in text
 
367
        files (bug #113313)
 
368
 
 
369
      - codebrowse source listings don't contain line number anchors
 
370
        (bug #98826)
 
371
 
 
372
      - only serve up unescaped user content with "Content-Disposition:
 
373
        attachment"
 
374
 
 
375
      - viewing the file listing consumes a lot memory (bug #116869)
 
376
 
 
377
      - loggerhead can't handle empty branches (bug #119228)
 
378
 
 
379
      - upgrading the format of a branch behind loggerhead could make
 
380
        it fail for that branch (bug #118673)
 
381
 
 
382
      - Error parsing non-ascii content (bug #117799)
 
383
 
 
384
      - Loggerhead failed on whitespace-only commit messages.
 
385
 
 
386
      - Links to diffs from within a revision do not work (bug
 
387
        #119422)
 
388
 
 
389
      - UTF-8 patches served as ISO-8859-1, fixed by served bundles as
 
390
        application/octet-stream (bug #121336)
 
391
 
 
392
      - TurboGears was turning query arguments into unicode, and bzr
 
393
        stopped accepting unicode revids (bug #175228)
 
394
 
 
395
 
 
396
1.1.1  [24jan2007]
 
397
------------------
 
398
 
 
399
    - fix broken inventory page (oops!)
 
400
 
 
401
    - fix a few rendering problems with kid and safari
 
402
 
 
403
 
 
404
1.1  [20jan2007]
 
405
----------------
 
406
 
 
407
    - new feature to compare two revisions to each other
 
408
 
 
409
    - inserted text in diffs is now blue instead of green
 
410
 
 
411
    - fixed to start and stop as a daemon now (use "-f" to run in the
 
412
      foreground), and all config is in loggerhead.conf (no need to mess with
 
413
      dev.cfg)
 
414
 
 
415
    - renamed show/hide javascript buttons to expand/collapse, and made them
 
416
      much faster
 
417
 
 
418
    - added an atom-feed link to each branch on the browse page [elliot
 
419
      murphy]
 
420
 
 
421
    - auto-publish feature for multiple branches under a single folder (see
 
422
      loggerhead.conf.example)
 
423
 
 
424
    - added the ability to share cache files per-project instead of just
 
425
      per-branch
 
426
 
 
427
    - added side-by-side diff display for the revision page (which is the
 
428
      default), with a button to switch between side-by-side and unified diff
 
429
      format
 
430
 
 
431
    - made caching use file locking, and close cleanly on shutdown
 
432
 
 
433
    - miscellaneous speed and page-size improvements
 
434
 
 
435
 
 
436
1.0  [23dec2006]
 
437
----------------
 
438
 
 
439
    - initial release
 
440