Lars Eggert
3234f1a121
test: Validate HTML rendered during tests ( #3782 )
2022-04-07 13:30:38 -03:00
Lars Eggert
64d2ba2558
Run tidy as part of tests, and fix HTML issues it finds.
...
- Legacy-Id: 19904
2022-02-01 16:11:34 +00:00
Robert Sparks
d637a4bd83
Merged in [19254], [19256], [19258], [19259] from rjsparks@nostrum.com:\n Improvements to group-role authorization:\n Show groupman_authroles in the GroupFeatures admin list.\n Rename ietf.group.utils.can_manage_group_type to can_manage_all_groups_of_type to improve code readability where it is used.\n Changed the signature of can_manage_all_groups_of_type to only take a type_id. Removed the logic that tried to distinguish permissions for teams by parent - that should be modeled as separate type_ids instead.\n Changed implementation of can_manage_all_groups_of_type to use GroupFeatures.groupman_authroles.
...
- Legacy-Id: 19273
Note: SVN reference [19254] has been migrated to Git commit c01fea3920
Note: SVN reference [19256] has been migrated to Git commit 7ede0942d0
Note: SVN reference [19258] has been migrated to Git commit 359889c1f7
Note: SVN reference [19259] has been migrated to Git commit a29480703f
2021-08-04 20:49:28 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz
57938b039d
Converted many cases of plain-text 403 messages to use a properly styled page instead, with a login link when appropriate. Also changed some API endpoint 400 responses to a more correct 403.
...
- Legacy-Id: 18339
2020-08-06 10:59:52 +00:00
Robert Sparks
f7b1ce1fce
Remove abandoned charters from any future telechats. Fixes #3003 . Commit ready for merge.
...
- Legacy-Id: 18037
2020-06-22 21:22:54 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Robert Sparks
af0a9954fe
Update some uses of pos.ad in templates to pos.balloter. Fixes #2863 . Commit ready for merge.
...
- Legacy-Id: 17219
2020-01-10 19:04:42 +00:00
Henrik Levkowetz
6482254a03
Merged in ^/branch/akayla/irsg/6.113.1.dev0 from peter@akayla.com.
...
This provides support for IRSG ballots, similar to the IESG ballots support which has been in use for quite some time. The IRSG ballots differ from IESG ballots in a number of ways, described in detail in the RFP and SoW for this work and implemented here.
- Legacy-Id: 17164
2019-12-20 15:00:55 +00:00
Peter E. Yee
bb7e504d14
12/13 merged into 6.113.1.dev0 with migration ordering failure
...
- Legacy-Id: 17149
2019-12-13 19:53:45 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
8b52899459
Fixed some additional str/bytes issues.
...
- Legacy-Id: 16342
2019-06-30 20:56:56 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
a2cafded25
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
...
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz
97206c6eeb
Added user notification about ballots closed automatically when creating a new ballot.
...
- Legacy-Id: 14471
2017-12-29 15:24:37 +00:00
Henrik Levkowetz
4488fd82a4
Merged in [14467] from housley@vigilsec.com:
...
Close any previous ballots when a charter goes to Internal Review or Extrernal Review. Fixes #2421 .
- Legacy-Id: 14470
Note: SVN reference [14467] has been migrated to Git commit de6121c6c1
2017-12-29 13:40:10 +00:00
Russ Housley
de6121c6c1
Close any previous ballots when a charter goes to Internal Review or Extrernal Review. Fixes #2421 .
...
- Legacy-Id: 14467
2017-12-28 20:09:56 +00:00
Henrik Levkowetz
abb69338e2
Added a warning message for the user if ballot creation failed due to an already open ballot. This is a bad state, and should prevented by stricter checks before changing state, but is better than the current situation until we decide exactly which checks to implement.
...
- Legacy-Id: 14382
2017-11-30 16:10:38 +00:00
Alireza Mohammadi
d715d82c24
Better punctuation during state change by adding \" before and after old and new state. Fixes issue #1545 .
...
- Legacy-Id: 13913
2017-07-15 16:16:16 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
4daf66d11c
Added DocEvent rev= parameter througout the code.
...
- Legacy-Id: 12978
2017-03-06 15:08:21 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
27351c4349
Fixed url lookups for doc.views_doc.document_main() to only use dotted-path, and removed the doc_view explicit url name. Fixes a 500 error in /submit/status/NNNN/.
...
- Legacy-Id: 12897
2017-02-22 11:40:55 +00:00
Henrik Levkowetz
40e8380751
Merged django 1.9 work forward to copy of trunk @6.41.0
...
- Legacy-Id: 12756
2017-01-30 23:13:02 +00:00
Henrik Levkowetz
e2640f358b
Changed semantics for can_manage_group() to include chairs etc, and changed calls with the old semantics to use can_manage_group_type(). Rewrote can_manage_group() in terms of can_manage_group_type() and additional checks. Fixes issue #2155 .
...
- Legacy-Id: 12719
2017-01-23 22:54:36 +00:00
Henrik Levkowetz
6de7be6953
Specified strip=False for another bunch of CharField form fields with Textarea widgets.
...
- Legacy-Id: 12711
2017-01-23 17:38:56 +00:00
Robert Sparks
6091d3c6a3
Tweak the docevent description for the event noting that a chartering effort has been abandoned. Fixes #2099 . Commit ready for merge.
...
- Legacy-Id: 12606
2016-12-21 22:14:58 +00:00
Ole Laursen
74a02be9bf
Create new branch from trunk@r11921, and merge review-tracker-r11360 into it
...
- Legacy-Id: 11923
2016-09-06 10:17:12 +00:00
Henrik Levkowetz
7d0fd4cb29
Merged in [11859] from rjsparks@nostrum.com:
...
Put WG summary information on the rechartering page. Fixes #2000 .
- Legacy-Id: 11881
Note: SVN reference [11859] has been migrated to Git commit b6978debb6
2016-08-26 10:31:03 +00:00
Robert Sparks
b6978debb6
Put WG summary information on the rechartering page. Fixes #2000 . Commit ready for merge.
...
- Legacy-Id: 11859
2016-08-24 18:43:15 +00:00
Henrik Levkowetz
4b0a9360f0
Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
...
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Ole Laursen
b6e5aebcd4
Fix a slightly odd unnecessary form.save()
...
- Legacy-Id: 11337
2016-06-13 10:13:57 +00:00
Russ Housley
858530c214
Cleaned up the checking permission for a user to manage a group. Also, cleanly handle a set of group parent links did for a loop.
...
- Legacy-Id: 11082
2016-04-02 21:06:33 +00:00
Robert Sparks
b1f229cf9d
Create the approval ballot for charters when the charter enters external review (or iesg review if external review is skipped). Fixes #1792 . Commit ready for merge.
...
- Legacy-Id: 10803
2016-02-08 19:59:47 +00:00
Ole Laursen
86c3a430d1
Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
...
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Robert Sparks
f9e35662e5
Fix an initialization problem for the new work message for recharters. Commit ready for merge.
...
- Legacy-Id: 10218
2015-10-16 16:34:25 +00:00
Ole Laursen
43445307b1
Summary: Be more careful with generating announcements for charters so
...
they are not saved unless we're in a POST
- Legacy-Id: 10141
2015-10-07 10:42:31 +00:00
Ole Laursen
ec54a59cc6
Summary: Be more careful when generating writeups so that we wait with
...
saving newly generated writeups until we see a POST (problem found by
the test crawler)
- Legacy-Id: 10137
2015-10-06 16:20:12 +00:00
Ole Laursen
63d96e0354
Summary: Get rid of submit_initial_charter hack, only create a charter
...
when a first revision has actually been submitted.
- Legacy-Id: 10136
2015-10-06 15:14:31 +00:00
Ole Laursen
e1f0917659
Summary: Add new document saving API, Document.save_with_history(events).
...
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.
To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.
While revising the existing code to work with this API, a couple of
missing events was discovered:
- In draft expiry, a "Document has expired" event was only generated
in case an IESG process had started on the document - now it's
always generated, as the document changes its state in any case
- Synchronization updates like title and abstract amendmends from the
RFC Editor were silently (except for RFC publication) applied and
not accompanied by a descriptive event - they now are
- do_replace in the Secretariat tools now adds an event
- Proceedings post_process in the Secretariat tools now adds an event
- do_withdraw in the Secretariat tools now adds an event
A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
- Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Robert Sparks
e5306eda00
Instrumented issuing ballots. Simplified the ballot-issued email significantly. Deferred adding ballot_saved mail for the automatic yes positions.
...
- Legacy-Id: 10068
2015-08-28 17:33:49 +00:00
Robert Sparks
150106619b
Handle the new-work message
...
- Legacy-Id: 10066
2015-08-27 21:27:10 +00:00
Robert Sparks
12a03d299b
Automatically send the Internal Review message that the secretary currently has to send manually
...
- Legacy-Id: 10063
2015-08-26 21:31:11 +00:00
Robert Sparks
56ddf4ca2e
checkpoint. includes moderate change to how personnel changes are sent out
...
- Legacy-Id: 10020
2015-08-17 22:11:54 +00:00
Robert Sparks
f30f5c39f1
checkpoint
...
- Legacy-Id: 10017
2015-08-13 21:16:21 +00:00
Henrik Levkowetz
625347cd2f
Merged trunk@9354 to facelift copy
...
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz
2f54511763
Changed all explicitly set HttpResponse content_types to specify charset.
...
Django sets charset if you don't specify a content_type; if you specify
one you also must add a charset specification (if you want one).
Fixes issue #1647 .
- Legacy-Id: 9348
2015-03-26 21:35:21 +00:00