forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchangelog
More file actions
5353 lines (3531 loc) · 200 KB
/
changelog
File metadata and controls
5353 lines (3531 loc) · 200 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
ietfdb (5.6.3) ietf; urgency=medium
This is a bugfix and cleanup release, without any major new features.
The most notable improvements are to the agenda scheduling code, where
a number of bothersome bugs has been slain, but there are also other
nice fixes:
* Merged in [8229] from rjsparks@nostrum.com, with minor tweaks:
From mcr@sandelman.ca:
Refactor to remove dajaxice.
Modified the URLs that address schedules:
- urls now always start with /agenda, removing the mix of /agenda and
/schedule prefixes
- urls to a given schedule include the schedule owner (by email
address)
Corrected issue that prevented deleting sessions.
Changed comment mechanism in timeslot_edit.js
Migration to change the email address for (System)
Fixes bug #1426
* Merged in [8211] from rjsparks@nostrum.com:
Provide a way to get back to the page the user logged out from. Fixes
ticket #1461.
* Merged in [8210] from rjsparks@nostrum.com:
Default the responsible AD for an initial charter or recharter document to
the responsible AD for the group. Fixes ticket #1451.
* Merged in [8209] from rjsparks@nostrum.com:
Fixed several places where files were not being closed.
* Merged in [8208] from rjsparks@nostrum.com:
Changed the code to use doc.href rather than manually constructing URLs in
several templates. Fixes ticket #1459.
* Merged in [8207] from rjsparks@nostrum.com:
Cleanup commit before changing working HREF contents.
* Merged in [8204] from rjsparks@nostrum.com:
Improves how many href urls are constructed. Updates ticket #1459.
* Merged in [8166] from rcross@amsl.com:
Added the 'proposed' WG state to WG role queries for Chair and Secretary
-- Henrik Levkowetz <henrik@levkowetz.com> 19 Sep 2014 12:28:28 -0700
ietfdb (5.6.2) ietf; urgency=medium
This release contains the datatracker bugfixes and enhancements from the
IETF-90 Code Sprint. Many thanks to everyone that contributed!
Contributions that continue to arrive during the week will be merged in
to a new release at the end of the week or the beginning of next week.
* Merged in [8155] from rcross@amsl.com:
Allow Team Chairs access to proceedings.
* Merged in [8154] from rcross@amsl.com:
Fixed a bug where ScheduledSession objects were still being created
without a related session.
* Merged in [8150] from rjsparks@nostrum.com:
Small cleanup refactor removing redundant configuration line in settings
for charter text URLs.
* Changed the length of the NameModel slug field from 8 to 32 characters.
Added a corresponding migration.
* Merged in [8146] from sunqi.csnet.thu@gmail.com:
Changed the ietfauth file to allow to change the replaces relationship
without setting the doc stream. Fixes ticket #1305.
* Merged in [8143] from tterriberry@mozilla.com:
Allow IRTF chair to adopt a draft into any RG. Fixes #1082.
* Merged in [8137] from rjsparks@nostrum.com:
First automated javascript test using PhantomJS and Selenium.
* Merged in personal/shane/v5.6.2-dev0@8144 from shane@time-travellers.org:
Added untrack to document and search pages. Fixes #1381.
* Merged in [8136] from denghui@chinamobile.com:
Added display of the relevant draft revision number for ballot comments.
Fixes issue #911.
* Permit really long sessions, and don't expire sessions on browser
close. On request from Pete Resnick.
* Merged in [8122] from gnocuil@gmail.com:
Force mailing to secretary when a charter state changed to internal or
external review. Fixes ticket #1444.
* Merged in [8121] from fanpeng@chinamobile.com:
Added a 'No Errata' indication for RFCs with no errata. Changed the link
to the draft text for expired drafts to use the archive at
www.ietf.org/archive/id/ instead of tools.ietf.org/id/. Fixes ticket #1112
and #1432.
* Added a meta tag to the base template, to specify a page character set.
* Merged in [8114] from gnocuil@gmail.com:
Changed the template to highlight groups from different areas instead of
the same area. Fixes ticket #1368.
* Merged in [8099] from rjsparks@nostrum.com:
Use the name field from the materials upload form. Fixes ticket #1445.
-- Henrik Levkowetz <henrik@levkowetz.com> 22 Jul 2014 14:21:25 -0700
ietfdb (5.6.1) ietf; urgency=medium
* Added an x_frame_options setting to permit datatracker pages to be
embedded in tools parges, for the tools tutorial.
* Merged in [8057] from olau@iola.dk:
Changed Document.get_absolute_url to handle case of non-meeting-based
group materials, fixes #1440
* Merged in [8045] from rcross@amsl.com:
Added code to grant IETF Trust Chair permissions for Announcement Tool.
* Merged in [8003],[8004] and [8005] from fanpeng@chinamobile.com:
Added email subscription and web-archive links to the datatracker wg
summary page. Fixes issue #958.
* Rewrote the draft-alias and group-alias generation scripts to generate
matching aliases and virtual files for postfix.
* Adjusted the permissions checking in has_role to accept bof chairs and
secretaries.
-- Henrik Levkowetz <henrik@levkowetz.com> 15 Jul 2014 02:01:14 -0700
ietfdb (5.6.0) ietf; urgency=medium
This release adds group page support also for non-WG/RG groups, extending
and generalising the work done recently to add RG pages. In particular,
this provides the Edu team with a place to upload and display educational
materials.
Changelog:
* Merged in branch/iola/team-support from olau@iola.dk. This generalises
and extends the group support for WGs and RGs so that also other groups,
such as for instance the Edu Team, can have pages.
* Miscellaneous other minor changes mostly related to merging, testing and admin.
-- Henrik Levkowetz <henrik@levkowetz.com> 02 Jul 2014 12:40:19 -0700
ietfdb (5.5.2) ietf; urgency=medium
This is a bugfix release which updates the database contents with bindings for
breaks and registration timeslots that make the agenda pages come out as
intended.
Changelog:
* Modified the code which adds non-session entries to a schedule so as to
bind a Session object also to Break and Registration timeslots, through the
Schedule/Timeslot/Session m2m table. This makes the agenda templates work
as expected. There's also a migration and a standalone script that fills
in this information for existing schedules.
* Tweaked the test-crawler to show the complete chain of referrers for a
failing URL.
* Don't show dash after timeslot names in the ietf agenda if there's no
associated location.
-- Henrik Levkowetz <henrik@levkowetz.com> 30 Jun 2014 10:21:41 -0700
ietfdb (5.5.1) ietf; urgency=medium
This is a routine bugfix release. Here is a list of the addressed issues:
* Merged in [7935] from liudapeng@chinamobile.com:
Added display of both WG conflict and person requirements to the
session request page. Fixes issue #1384.
* Merged in [7924] from rcross@amsl.com:
Now permitting IPR updates to not specify an IPR license selection.
* Merged in [7911] from rcross@amsl.com:
Fixed a problem which occurs when non-ascii names are used
in session request notification emails.
* Merged in [7910] from rjsparks@nostrum.com:
Now paying attention to group type in all the wginfo functions.
Fixes bug #1423.
* Merged in [7888] from rjsparks@nostrum.com:
Fixed a bug where links in personal document tracking list associated with
groups which are not WGs or RGs return 500, by only turning WG and RG
groups into links. Fixes bug #1421.
* Merged in [7865] from rjsparks@nostrum.com:
Addressed an issue with dragging and dropping unscheduled items back into
the unscheduled bin (primary fix provided by Matt Miller). Fixes bug #1386.
* Merged in [7843] from rcross@amsl.com:
Changed the default group type field on the groups search form, from WG to
unset.
* Changed the code to move drafts from the active draft repository to the
draft archive so that all associated files will be moved, not just those
with specifically listed extensions. This fixes the problem that .xml
files associated with submitted drafts were moved to the unknown_ids
subdirectory of the archive, instead of into the archive proper.
* Merged in [7879] and [7880] from olau@iola.dk to fix a couple of issues
with the 5.5.0 release.
* Fixed a bug in the mkrelease script, introduced by changing the naming
convention for development tags from X.Y.Z-dev to X.Y.Z-dev0 (etc.).
-- Henrik Levkowetz <henrik@levkowetz.com> 26 Jun 2014 13:12:50 -0700
ietfdb (5.5.0) ietf; urgency=medium
This is a feature release, which introduces pages and workflow support for
IRTF RGs, similar to what is available for IETF WGs. You'll find the rg pages
under /rg/, for instance https://datatracker.ietf.org/rg/cfrg . Having this
new baseline in place, I'm sure we'll get requests for refinements, but
this should be a reasonable first pass at providing this functionality.
-- Henrik Levkowetz <henrik@levkowetz.com> 09 Jun 2014 14:25:51 -0700
ietfdb (5.4.3) ietf; urgency=medium
* Merged in [7772] from rjsparks@nostrum.com:
Checks that an email address will survive encoding as part of
validating a liaison form. Fixes bug 1410.
* Merged in [7766] from rjsparks@nostrum.com:
Improves the robustness of the SMTP error handling utilities. Fixes bug
#1409.
* Tweaked mkrelease to add a new development tag matching each new
release tag, to make it easier to create personal development branches with
development settings.
* Merged [7748] from rjsparks@nostrum.com:
Adjust when publication request button appears for documents in
non-ietf streams. Fixes bug #1402.
* Merged [7740] from rjsparks@nostrum.com:
Fixed a crash when requesting sessions for groups that do not have
ADs. Applied to production as 2014-05-13-sreq-rg.patch .
* Merged [7735] from rjsparks@nostrum.com:
Fixed coloring rows: The js IETF object needs to exist for the
code to work. Fixes bug #1303.
* Merged [7734] from rcross@amsl.com:
Changes to support IAB group types, including requesting a session
and uploading materials.
* Merged in [7732] from rjsparks@nostrum.com:
Extended ScheduledSession objects were not initialized correctly, so
un-extending did not work. Fixes bug #1401.
* Added a file used by bin/mergeready to mark certain releases which has
earlier been marked as ready to merge with a 'hold' indication, instead.
* Replaced a symlink with the real file -- symlink committed by mistake.
* Added validation of successful draft title extraction on draft
submission upload, to avoid a later exception when trying to store draft
information for a draft with a null title.
* Merged in [7726] from rcross@amsl.com:
Fix secauth middleware to grant access to WG Secretary, RG Chair and
Area Director.
* Merged [7705] from rjsparks@nostrum.com:
Corrected Document vs DocHistory mismatch when working with
status-change documents. Corrected creation of BallotDocEvent
timestamps. Fixes bug #1396.
* Merged [7678] from rcross@amsl.com:
Show correct group type and ommit link to tools.ietf.org on BOF
proceedings.
* Merged [7677] from rjsparks@nostrum.com:
Protect against cases where add_state_change_event can return
None. Fixes bug # 1383.
* Fixed a typo (missing space) in a template. Fixes issue #1398.
* Added a utility command 'mergeready' which lists commits marked as
'Commit ready for merge' that have not yet been merged to trunk.
-- Henrik Levkowetz <henrik@levkowetz.com> 02 Jun 2014 15:10:37 -0700
ietfdb (5.4.2) ietf; urgency=medium
* Merged [7673] from rjsparks@nostrum.com:
Made several changes to better handle non-ascii UTF-8 in email messages.
- Used multipart mime when including the original message in an error
message to the secretariat. Modified the way IANA review email is parsed.
Added non-ascii UTF-8 tests to the IANA review email parser and to the
SMTP Exception handling code.
- Changed how edit_mtg() is called, in order to propagate kwargs as kwargs.
Removed repeated @check_permissions.
* Merged [7653] from rcross@amsl.com:
Fixed two issues with proceedings generation.
* Merged in [7644] from rjsparks@nostrum.com:
From rjsparks@nostrum.com:
- Fixed layout issue on schedule editing page in Chrome
- Fixed errant display of text in unscheduled group bar
on the schedule editing page
- Changed the instruction text on the special requests
field of the session request form
From rcross@amsl.com:
- Improved scheduling of non-session items
- Fixed issue with layout of the new notifications page
- Fixed crash on notifications page
-- Henrik Levkowetz <henrik@levkowetz.com> 01 May 2014 02:14:27 +0200
ietfdb (5.4.1) ietf; urgency=high
This is a minor bugfix release, to fix an issue with the mail handling
infrastructure where one bad email recipient address for a notification
message (about for instance a state change) could cause some actions related
to the state change to be skipped:
* Merged in [7635] from rjsparks@nostrum.com:
Replumbed how SMTP Exceptions are handled, which involved refactoring
several mail functions.
* Also fixed a bug in the agenda editing code caused by a change of an
attribute name in the python code but not doing the same change in
templates using the attribute.
* Changed the logic for what is the 'current' ietf meeting to disregard
whether there's an agenda for the meeting or not. This lets people see the
correct session request page for the current meeting. However, it also
makes the /meeting/agenda.html page fail because there's no schedule
associated with the meeting; so alternative pages saying 'No agenda
available' has been added, too.
* We're now showing the login link with a http:// scheme instead of
https:// when in debug mode, in order to be able to log in when using
'python manage.py runserver', which only supports http.
-- Henrik Levkowetz <henrik@levkowetz.com> 25 Apr 2014 17:11:32 +0200
ietfdb (5.4.0) ietf; urgency=medium
This is a feature release which brings in an updated version of the agenda
scheduling code. There are still known bugs and rough edges, but this
version has many bugfixes and cleaned up issues, and brings essential
imporvements to the agenda scheduling tool.
* Merged in [7561] from rjsparks@nostrum.com:
Updates and bugfixes to the agenda editing features
- Removes the pattern of using ScheduledSession m2m objects with one of
the relationships left as None
- Improves scheduled session state handling
- Simplifies sending email to scheduled session requestors
- Improved timeslot purpose and room editing
- Improved access controls to editing forms
- Better test coverage for the meeting views
- Improvements to the javascript driven by prototyping automated tests
- Better initialization of a new meeting
On the session request form:
- Allows specifiying room resources (projectors, meetecho)
- Allows specifying what people must be present
On the schedule editing page:
- correctly calculates conflict levels
- displays conflicts in and out of each session separately
- italicizes BoFs
- shows resource and people conflicts
Adds automated placement as a management command
-- Henrik Levkowetz <henrik@levkowetz.com> 22 Apr 2014 23:58:27 +0200
ietfdb (5.3.1) ietf; urgency=medium
This is a minor release, with a number of bug-fixes and a few enhancements.
Notable enhancements are the ability to set the document consens field back
to Unknown after it has been set to Yes or No, and an enhancement to the
test infrastructure that lets tests of email handling interact with a
real recipient SMTP server, instead of ending in a stub.
Details:
* Merged in [7591] from rjsparks@nostrum.com:
Added a real (if simple) SMTP server to the test framework and tests
handling of exceptions and rejected addresses. Fixes ticket #1314.
* Merged [7590] from rjsparks@nostrum.com:
Changed when the consensus field is displayed and who can edit it for IETF
stream documents. Fixes bug #1380.
* Merged [7589] from rjsparks@nostrum.com:
Functional changes allowing consensus to be set back to Unknown. Fixes
ticket #1150.
* Merged [7588] from rjsparks@nostrum.com:
Schema migration to allow consensus to be set back to unknown. Related to
ticket #1150.
* Merged in [7587] from rjsparks@nostrum.com:
Anyone with a role in a group could preapprove drafts. Changed that to
an explicit subset of roles. Fixes ticket 998.
* Merged in [7586] from rjsparks@nostrum.com:
Fixed calculation of needed ballots for status-change documents. Added
needed ballots tests for drafts and status-change docs. Fixes bug 1116.
* When we deployed the rewritten public datatracker, we went from django
auth to basic http auth. At that time we also changed the session timeout
time to 12 hours, from the default 2 weeks. I see no need to use a
non-default setting now that we're back to using django auth; changing the
session timeout time back to 2 weeks.
* Merged in [7519] from olau@iola.dk:
Removed uses of gzip middleware - the decorator thing breaks the ETags
for some reason, as noted in issue #518, and it seems consensus is that we
should do this in Apache instead for the whole site
* Merged [7421] from olau@iola.dk:
Fixed a crash bug in the redirection logic that occurs when someone posts
a draft without an access token from the email confirmation step
* Merged [7416] from olau@iola.dk:
Redo the quickfix to the "Send and Post" button bug (mentioned in issue
#1308) so that we still do the validation correctly, but just always show
the button (even if it's unusable)
-- Henrik Levkowetz <henrik@levkowetz.com> 16 Apr 2014 23:22:41 +0200
ietfdb (5.3.0) ietf; urgency=medium
This release changes user authentication for the datatracker from basic http
auth to Django's built-in authentication. This has the advantage of making it
possible to log out, and log in as a different user, which can be useful,
and it also changes the password hash storage for each user to a much stronger
hash scheme, upon his or her first successful login after the deployment.
The email-verification roundtrip which is required to create a new login, or
change the password of an existing login, is retained.
For the large majority of users, who either didn't have a password hash in
the database before the transition to the Python/Django based database
frontend on 16 July 2010, or had a password hash in the database, but have
updated their password after 3 July 2012, there should be no impact.
Password hashes have been imported as needed from the http auth password
hash file. The few who had a password hash in the system before 16 July
2010, and haven't updated their password since 3 July 2012 are encouraged to
set a new password using the password reset form at
https://datatracker.ietf.org/accounts/reset/ .
If there are issues which prevent a password reset, please email
henrik@tools.ietf.org for assistance.
-- Henrik Levkowetz <henrik@levkowetz.com> 12 Apr 2014 20:14:17 +0200
ietfdb (5.2.1) ietf; urgency=medium
This is a minor release, with some bugfixes and some enhancements. It also
contains some reworked secretariat code, which changes part of the authentication
handling in preparation for the next release (5.3.0), which will transition
the datatracker from using HTTP basic authentication, to Django's built-in
authentication scheme.
* Merged in [7568] from rcross@amsl.com:
Grant ISOC CEO access to announcement tool, change announcement tool from
option 'IAB Executive Director' to 'IAB Executive Administrative Manager'
* Merged in [7557] from rjsparks@nostrum.com:
Update reference relationships (asyncronously) for new rfcs found when
syncing with the rfc index. Fixes ticket #1347.
* Added some datatracker development notes from the testing extension
(pyflakes etc.) work
* Merged in [ 7454] and [7549] from rcross@amsl.com:
Changes to the secretariat code, to support Django authentication instead
of basic http auth, and fixes to the tests to work with the secauth
middleware changes.
* Pyflakes cleanup to be compliant with pyflakes 0.8.1, which seems to find
things 0.8.0 didn't find.
* Changed URLs with explicit scheme from http to https. Emails that are
sent out from the datatracker will now specify URLs with https:, rather
than http.
* Added a fix to exclude empty email addresses from the send list.
* The ietf/patches directory doesn't work out as intended, and causes
some confusion with the /a/www/ietf-datatracker/patches/ directory on the
production server.
* Backfilled the changelog file, back to 2.00
* Merged in [7153] from rjsparks@nostrum.com:
Fixed a typo in code that looks for the IRTF chair email address while
adding replaces relationships.
Made that code slightly more robust.
Fixes ticket #1253
-- Henrik Levkowetz <henrik@levkowetz.com> 06 Apr 2014 17:28:49 +0200
ietfdb (5.2.0) ietf; urgency=low
This is a code cleanup release. It adds a test and a managemement command
to run pyflakes (pyflakes is a bit like 'lint' for Python) over the
datatracker code, and provides cleaned-up code so that the new pyflakes test
is clean. The number of lines changed is large, but the changes to what the
code actually does is limited to fixing bugs discovered by pyflakes during
the cleanup. There were around 10 such cases.
Most of the changes are related to import statements, as the code otherwise
was pretty clean already. In almost all places, bulk imports using '*' has been
replaced by explicit imports, for these reasons:
* It makes it clear from where an imported name has come, so that a
human reader can look for an identifier in the import statements, and
see from where it comes, and where he should go to inspect the related
code.
* It makes it clear to the interpreter exactly which symbol is intended,
in cases where the same symbol is defined in multiple modules imported
using '*' import. This is not a common case, but it actually turned up
a couple of times during the cleanup. If the '*' imports in question
hadn't been turned into explicit imports, only the (somewhat arbitrary)
order of the import statements would have determine which instance of a
function or class would actually be visible to the following code. This
situation can make the code do something different from what was intended,
in a quite devious way.
* It avoids unintended import of generically named variables from other
modules. Altough having such variables as module globals is a bad
practice, it happens, and sometimes unintentionally importing them
through a '*' import will make it appear to the interpreter that a
statement intended to use an (by mistake undefined) identically named
local variable is in fact a valid statement which uses the imported
symbol instead. Without the '*' import, the situation would be
correctly flagged by the interpreter.
* Finally, importing all symbols explicitly makes it possible for pyflakes
to do a better job in identifying unused and undefined symbols -- in the
presence of '*' imports, this capability becomes much more limited.
Several cases of bad code (use of undefined variables) was discovered
during the cleanup only after the '*' imports were replaced by explicit
imports.
In many places, the import statements have been reordered to consistently
list the generic python library imports first, followed by django imports,
then local module imports (these typically live on the same level as ietf/
and django/), finally followed by datatracker-specific imports. Some people
find that this kind of consistency in importing, both in keeping a consistent
order, and in importing in a sequence from the more general down to the more
specific, aids in the readability of the code.
-- Henrik Levkowetz <henrik@levkowetz.com> 19 Mar 2014 21:41:16 +0100
ietfdb (5.1.1) ietf; urgency=medium
This is a minor bugfix release, in preparation for merging the pyflakes test
branch to trunk.
* Fixed the meeting materials page so as to avoid duplicate materials
sections for groups with multiple sessions.
* Merged [7456] from rjsparks@nostrum.com:
Patched meeting/ajax to close permissions vulnerability. Tweaked tests to
check the right functionality given the permissions policy currently in
trunk.
* Merged [7447] from rjsparks@nostrum.com:
Cache the dependency graph pdf for an hour.
* Merged [7445] from rjsparks@nostrum.com:
Adds dependency graphs for drafts belonging to a group. Removes links to
Bill's dependency tools. Fixes bug #536.
-- Henrik Levkowetz <henrik@levkowetz.com> 18 Mar 2014 22:49:58 +0100
ietfdb (5.1.0) ietf; urgency=high
This release contains the datatracker bugfixes and enhancements from the
IETF-89 Code Sprint. Many thanks to everyone that contributed! There are
still some contributions from the sprint in the pipeline; they will be included
in later releases.
* Merged in [7400] from rcross@amsl.com:
Fixed bugs with decorators.check_permissions() to allow upload to top
level groups, and fixed the plenary upload check.
* Merged in [7398] from rcross@amsl.com:
Added X-CSRFToken AJAX request header for certain /secr/ pages needing it.
* Merged in [7397] from rcross@amsl.com:
Fixed a bug where build_nonsession() not creating ScheduledSession
objects.
* Merged in [7383] from jmh@joelhalpern.com:
Changes counting logic in ballots to use actual number of ADs.
Causes ballot email to use utility to generate requirements text
Fixes ticket #924
* Merged in part of [7375] from jmh@joelhalpern.com:
Fixed missing mailto: addresses in the meeting requests page. Fixes issue
#1126.
* Merged in part of [7375] from jmh@joelhalpern.com:
Now sending draft update notices to IRSG for IRTF stream drafts. Fixes
issue #1227.
* Merged in [7396] and [7378] from rcross@amsl.com:
Simplified clean_up_draft_files(). Removed references to old draft-archive
subdirectories, and fixed for all RFC file types " Fixes ticket #1164
* Merged in [7386] from tterriberry@mozilla.com:
Describe needed positions in document ballot mail.
This uses doc.utils.needed_ballot_positions() to calculate what is needed.
Fixes #924.
* Merged in [7380] from bartosz.balazinski@interdigital.com:
Changed the URL for some acoount settings from /cookies to
/account/settings. Fixes ticket #806
* Merged in [7368] from rjsparks@nostrum.com:
Improves the detail in the messages sent when creating tickets about
failed sent email. Changes a locally defined exception name to look less
like one already defined in smtplib. This is related to ticket #1208.
* Merged in [7365] from rjsparks@nostrum.com:
Improve handling of status-change relation form submission when conditions
(such as not running javascript) lead to the POST missing required fields.
* Merged in [7371] from rjsparks@nostrum.com:
Migration to repair missing StateDocEvents from wg chairs using the
datatracker to request publication of ietf stream documents. Incremental
improvement to the request publication view to create those StateDocEvents
going forward. This is related to bug #1312
-- Henrik Levkowetz <henrik@levkowetz.com> 05 Mar 2014 18:20:31 +0100
ietfdb (5.0.2) ietf; urgency=medium
This is a minor bugfix release.
* Merged [7292] from rjsparks@nostrum.com:
Allow 1-3 digit RFCs in status change documents. Fixes bug #1321.
* Fixed a server failure for person alias creation during draft submissions.
* Fixed overflow error for meetings without timeslots, which gave server
errors for meeting/64/agenda.html.
* Additional tweaks to bin/mergedevbranch.
* Merged in [7204] from rjsparks@nostrum.com:
Adds the IAB-parented sessions to the set of things returned as
\'areas\'.
Fixes bug #1288
* Reapplied merge of [7209], which although listed in svn:mergeinfo on .
actually doesn't seem to have made it into the repository.
* Only show a link to the tools page for a group if the tools page is
likely to exist, i.e., the group is a WG and it is or has been active.
* Added a logging filter to filter out the 'Invalid HTTP_HOST' emails.
* Changed the SECRET_KEY setting to take account of the settings in
settings_local.
* Merged in [7138] from rjsparks@nostrum.com:
Reworked SMTP Exception handling, adding sending a ticket to the
secretariat when there are errors handing messages off for delivery.
Added SMTP exception handling to send-scheduled-mail.
This is related to ticket #1208
* Added a file to hold a list of changesets which are ready for merge, as
a manually maintained alternative to 'Ready for merge' annotations in
commit messages.
* Typo fixes.
* Set version info and settings back to development mode
-- Henrik Levkowetz <henrik@levkowetz.com> 25 Feb 2014 16:53:54 +0100
ietfdb (5.0.1) ietf; urgency=medium
This is a bugfix release which collects a series of fixes and usability
tweaks from the last months.
* Merged [7236] from rcross@amsl.com:
Fixed Liaison Add CSRF token error and missing Post and Send button.
Fixes ticket #1308.
* Added a way to control the output of the url and template coverage tests,
so they only will be run for verbosity greater than 1, which is controlled
by the --verbosity switch.
* Merged [7214] from rcross@amsl.com:
Changeed old references to pub.ietf.org, to datatracker.ietf.org/secr/.
* Merged [7213] from rcross@amsl.com:
Added a missing template for the secretariat apps: unauthorized.html.
* Merged [7209] from rcross@amsl.com:
Fixed a typo in secretariat drafts add().
* Fixed a probem with wrong URLs in atom feeds, caused by caching. Fixes
issue #1307.
* Added a blank line before new session group in the text agenda, for
readability.
* Added a secret key to settings.py for development use. NOT for
production use; that needs to go in settings_local.py
* Added a warning to the draft submission page about upcoming submission
cut-offs. Added a value in settings.py for the number of days before the
first cut-off to display the waring.
* Updated the caching settings to use memcached in production.
* Remove spurious 'yes' in meeting requests page.
* Merged [7215] from rjsparks@nostrum.com: Use idnits on www.ietf.org
Fixes ticket #1200
* Merged [7215] from rjsparks@nostrum.com:
Use idnits on www.ietf.org. Fixes ticket #1200
* Merged [7212] from rjsparks@nostrum.com:
Removed the "Reason for (re)chartering" line from the charter main
document page. Fixes bug #1294
* Merged [7210] from rjsparks@nostrum.com:
Allow the IRTF Chair and the ISE to request a conflict review directly
through the tracker. Notify the Secretariat when someone other than the
secretariat initiates a conflict review. Notify IANA when anyone
initiates a conflict review. Fixes tickets #1287 and #1289
* Merged [7204] from rjsparks@nostrum.com:
Adds the IAB-parented sessions to the set of things returned as "areas"
Fixes bug #1288
* Merged [7077] from rjsparks@nostrum.com:
Returns "there are no ballots to view yet" rather than 404ing when the
ballot link is followed for a document that exists. It is typical for
last call to be issued (which includes a link to the ballot page) well in
advance of creating any ballot for a document. Fixes bug 1233
* Merged [7076] from rjsparks@nostrum.com:
Sets the State(type=draft) to Replaced when a document is replaced using
views_draft.replaces. Sets the state back to Active or Expired when a
document is no longer replaced by another document. Adds tests for the
above functionality. Provides a patch to repair the state of documents
pointed to by RelatedDocument(relationship__slug='replaces') objects
created by views_draft.replaces before this fix. Fixes bug 1234
* Merged [6361] from rjsparks@nostrum.com:
Allow the secretariat and ads to change the title of a status change
document. Fixes bug 1141.
Applied changes to adapt the code from Django 1.2 to 1.6: Provide a
quoted string to {% url %} and use request.user.person instead of
request.user.get_profile().
* Fixed problem with nomcom RST templates not being rendered under Django
1.6.
* Merged [6359] from rjsparks@nostrum.com:
Send email to the secretariat when a status change document is put
directly into the last-call-requested state. Fixes bug 1139.
* Added stream change and state change emails in adopt_draft() --
otherwise we wouldn't have the state change emails assumed in the previous
commit. See issue #1246.
* Removed the extra (misleading) email about WG adoption which is sent
out in addition to the state change emails when a call for addoption (WG)
or adoption (RG) is done using the 'Adopt Draft in Group' form. The state
change messages should be sufficient, and are not misleading. Fixes issue
#1246 (and 1290).
* Handled the case in is_downref() where the src file doesn't have a
std_level or intended_std_level set.
* Modified ALLOWED_HOSTS to permit some (surprising) alternative
HTTP_HOST names. Are these a result of queries proxied through other
ietf.org domains? The numerical address is the mail server address. We
should find out why that appears, and see if it can be made to appear as
mail.ietf.org instead.
* Added Matt Larson to the release notification email address list.
-- Henrik Levkowetz <henrik@levkowetz.com> 16 Feb 2014 19:36:41 +0100
ietfdb (5.0.0) ietf; urgency=medium
With this release, a journey which started in 2008 with a *major* redesign
of the IETF database schema has reached its goal. We've now converted the
datatracker completely to the schema designed then, swapping out all the
models that were changed, converted the database, swapped out all the GUI
code that was built against the old models, and polished off a host of minor
issues arising from the conversion. All this while completing and
integrating 10 major functionality enhancement projects and releasing more
than 50 minor releases, with not a single day of downtime. A history of
release notes is available here: https://datatracker.ietf.org/release/
In addition to bringing in the last scheduled polish of the conversion,
this release also brings in an upgrade of the Django framework from version
1.2 to 1.6, which gives us a number of new tools and possibilities for
future work.
A particular mention goes to Ole Laursen <olau@iola.dk>, an outstanding
programmer at the small Danish firm IOLA, who has been doing a lot of the
heavy lifting in coding the shim-layer which made it possible to change the
database schema without a total re-write in the spring of 2012, followed by
the major code re-write which has taken place since then to get rid of all
the parts which were written to the old database schema.
Thanks also goes to all the IETF code sprint participants who have
contributed, and to Robert Sparks in particular who has contributed *a lot*
to make it all come together.
There are still some parts of the schema that need an overhaul, and plans
exist for addressing those, but overall we should be in good shape for the
near future, with some room to grow :-)
Detailed change information is available at:
- http://wiki.tools.ietf.org/tools/ietfdb/browser/trunk
- http://wiki.tools.ietf.org/tools/ietfdb/browser/branch/iola/djangoport
- http://wiki.tools.ietf.org/tools/ietfdb/browser/branch/iola/shimfree
-- Henrik Levkowetz <henrik@levkowetz.com> 30 Jan 2014 22:11:28 +0100
ietfdb (4.95) ietf; urgency=medium
This release upgrades Django from version 1.2 to version 1.6, including a
large number of refactorings and adjustments (about 140 individual changes)
to adapt to changes in both interfaces and the style of how things are done
between Django 1.2 and 1.6. The full list of changes is available here:
http://tools.ietf.org/tools/ietfdb/log/branch/iola/djangoport
-- Henrik Levkowetz <henrik@levkowetz.com> 13 Jan 2014 19:14:05 +0100
ietfdb (4.90) ietf; urgency=medium
This release removes almost all parts of the shim-layer code which was
used to provide a semblance of the old database schema to user-interface
code after we moved to a new database schema in the early part of 2012.
There should be no changes in basic functionality changes in this release,
even if there are many small optimisations and changes in code details
which come in as a result of the shim-layer removal.
-- Henrik Levkowetz <henrik@levkowetz.com> 20 Dec 2013 18:07:48 +0100
ietfdb (4.84) ietf; urgency=low
This is a minor bugfix release, in preparation for merging in the latest
shim-removal work.
* Merged [6859] from rcross@amsl.com:
Fixed calls to reverse() to match new url names since code merge
* Merged [6858] from rcross@amsl.com:
Use correct URL in new IPR notification email
* Merged [6857] from rjsparks@nostrum.com:
A script to run from cron to send daily messages to IETF Announce showing
the email header field change. his should be run from Jan 6 to Jan 20,
after which point we need to deploy analagous changes to the code that
constructs last call announcements. This is related to bug #811.
* Merged [6701] from rjsparks@nostrum.com:
Adds pages to show what a given document refers to and what refers to it.
Fixes bug #1194.
* Merged [6672] from rjsparks@nostrum.com:
Removed requirement to enter a phone number in various places on an IPR
disclosure entry form. Fixes bug #1176
* Fixed a typo. Fixes issue #1216.
-- Henrik Levkowetz <henrik@levkowetz.com> 16 Dec 2013 23:34:37 +0100
ietfdb (4.83) ietf; urgency=high
This release provides the code from the IETF-88 code sprint, and also
a number of fixes to things reported during the IETF.
The number of enhancements coming out of the sprint this time is impressive;
this may actually have been the most successful sprint till now.
Of particular note is the new ability for chairs and others who has the
permission to edit a document's state, to edit replaced-by information for
documents; and the introduction of information about which documents a given
document references, for all documents. Future enhancements will display
this information as diagrams and textually, and use it to re-introduce the
dependency diagrams originally provide by Bill Fenner in his stand-alone
dependency graph application.
From rcross@amsl.com:
* Changed draft replaces action: move document to archive directory
From tterriberry@mozilla.com:
* Allow wgchairs to edit document replacement relationships.
This actually allows anyone with can_edit_stream_info permission
to edit the list. This does draft name completion, but does not
currently filter those names for likely replacements. Styling is
also basically non-existent. Fixes #1002
* Added 'Track this document' link on drafts. Fixes #1085.
* Mark concluded BoFs as BoFs, not Concluded WGs. Fixes #1169.
From bartosz.balazinski@interdigital.com:
* Added the new version of the shepherd writeup as a comment when it's edited.
The new version works like this:
- Any shepherd writeups done before the document is submitted for
publication are not disclosed in the history.
- When the document is submitted for publication the available writeup (if
available) is added to history.
- Any further writeups after the document has been submitted for publication
are disclosed in the history.
From suresh.krishnan@ericsson.com:
* Refactored the mails sent when state is changed along with annotation tags.
Don't send emails for only comment changes, just add a history entry. For
state changes and annotation changes, only send one email, containing
information about both state changes and annotation tag changes.
Fixes issue #1127.
From jmh@joelhalpern.com:
* Included confirmation addresses in ID-Submission success notice.
Fixes issue #1097.
* Added document titles to status change request email. Fixes issue #1069.
* Added \'Last Call Issued:\' to front of last call atom feed entry subjects.
* Fixed conflict review text for irtf docs to reference RFC 5743.
* Added the last call expiration date to the document header, and remove
duplicate code for producing the iest state summary.
From markus.stenberg@iki.fi:
* Added .csv export from private community lists. Fixes #1074
* Took care of #841 by moving <span> correctly outside <a> altogether.
From adam@nostrum.com:
* Fixed #1153: Fixes IPR disclosures being counted multiple times and
counting of \'not yet approved\' IPR disclosures.
From rjsparks@nostrum.com:
Refined Bill Fenner's regex based search through documents for references.