~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to NEWS

[r=spiv] [!log] prevent turbogears/cherrypy from turning url query arguments into unicode strings.  fixes bug 175228 ("view revision = 500 Internal error").

Show diffs side-by-side

added added

removed removed

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