Commit graph

133 commits

Author SHA1 Message Date
Henrik Levkowetz 88e1d725c5 Moved settings for RFC-Editor sync to settings.py.
- Legacy-Id: 5775
2013-06-09 17:50:19 +00:00
Henrik Levkowetz 8eec9ccb15 Don't actually do a post to the rfc-editor's state sync interface for a publication request when not in production mode.
- Legacy-Id: 5773
2013-06-03 20:49:40 +00:00
Henrik Levkowetz c72ab5daa3 Added alternative names for 2 iana states which seems to have changed name since the code was originally deployed. Also added a guard against sending state change emails when the iana state hasn't actually changed.
- Legacy-Id: 5718
2013-05-09 20:07:40 +00:00
Henrik Levkowetz f2c4ed9f24 Changed additional places to use IANA sync settings from settings.py
- Legacy-Id: 5681
2013-04-21 15:57:56 +00:00
Henrik Levkowetz 53b1719860 Merged [5645],[5646] and [5647] from olau@iola.dk:
Added support for notifying the RFC Editor upon draft approval

Added action to post to RFC Editor on non-IESG publication requests too

Fixed a bug that the CC on the announcement copy sent to IANA wasn't
cleared causing people on the CC to get duplicate emails
 - Legacy-Id: 5680
2013-04-21 15:53:16 +00:00
Henrik Levkowetz e4fd951f2c Use IANA URL settings from settings.py in some more places.
- Legacy-Id: 5676
2013-04-21 14:38:20 +00:00
Henrik Levkowetz 2f3476690f In order that document states (which may be used by old documents) should not need to be removed when state machines change and states go out of use, all document states have a 'used' field. The code which accesses the state fields have not been requiring that used=True for the states returned, which is an error. Fixed this by adding 'used=True' to all State.objects.get() and State.objects.filter() call where it's relevant.
- Legacy-Id: 5486
2013-03-05 23:24:41 +00:00
Henrik Levkowetz 5f32828caa With RFC6410, there are only two RFC maturity levels, 'Proposed Standard' and 'Internet Standard'. Added a mapping between 'Internet Standard' and slug 'std', to be able to process newer RFC info from the RFC Editor.
- Legacy-Id: 5477
2013-03-02 17:03:15 +00:00
Henrik Levkowetz 5345b17eab Added a missing import.
- Legacy-Id: 5455
2013-02-24 20:15:20 +00:00
Ole Laursen 4b312de464 Introduce a simple cache in doc.get_state so repeated reads don't
cause a DB query
 - Legacy-Id: 5314
2013-01-21 14:01:33 +00:00
Henrik Levkowetz 37955bf2a6 Added an INSTALL file which holds a record of general and version-specific actions needed to install.
- Legacy-Id: 5304
2013-01-20 15:19:31 +00:00
Ole Laursen 0dc47254a0 ## Lines starting with '## ' will be removed from the log message.
## File(s) to commit recursively:
## ietf/sync/tests.py
Fix another test bug, bcp0001 has become bcp1
 - Legacy-Id: 5301
2013-01-18 16:09:24 +00:00
Ole Laursen f607fb7880 Fix test bug
- Legacy-Id: 5300
2013-01-18 15:25:57 +00:00
Ole Laursen 7998371ace Make sure RFC's (and BCP/STD/FYI) are stored as RFC123 instead of
RFC0123 in the alias table with a new migration and a change to the
RFC Editor sync, this in turn makes /doc/std1/ do the right thing
 - Legacy-Id: 5296
2013-01-18 13:47:31 +00:00
Ole Laursen 9ca9eb350d Fix two bugs in RFC Editor syncing: make sure documents we don't know
beforehand get a "draft" type and make sure individually submitted
drafts get the type="individ" group instead of NULL
 - Legacy-Id: 5282
2013-01-17 11:19:53 +00:00
Ole Laursen 3dccf596b2 Fix ordering bug in test code that shows up in MySQL but not in SQLite
- Legacy-Id: 5151
2012-12-21 12:44:55 +00:00
Ole Laursen f22b14a8a4 Fix really weird encoding issue with Python 2.6
- Legacy-Id: 5150
2012-12-21 11:46:42 +00:00
Henrik Levkowetz 1fbcd783f3 Merged branch/iola/statesync up to @5118 to trunk.
- Legacy-Id: 5147
2012-12-20 20:32:03 +00:00
Ole Laursen 819e80f033 Fix quoting bug in AUTH48 links
- Legacy-Id: 5118
2012-12-11 15:16:31 +00:00
Ole Laursen 9c571e65ef Undo actual state when doing an RFC Editor undo, this is only relevant
if the removed entry is the latest entry
 - Legacy-Id: 5116
2012-12-11 15:10:51 +00:00
Ole Laursen e29bd99283 Add test of RFC Editor redaction feature
- Legacy-Id: 5027
2012-11-07 15:19:45 +00:00
Ole Laursen 45cf853524 Dump redacted events in DeletedEvent table
- Legacy-Id: 5025
2012-11-07 14:59:17 +00:00
Ole Laursen 793856c217 Add RFC Editor undo page, missing test and dump model
- Legacy-Id: 5013
2012-11-06 17:06:10 +00:00
Ole Laursen 49eb500692 Only set published state for relevant state type
- Legacy-Id: 4908
2012-10-10 10:15:31 +00:00
Ole Laursen 9c6fd95eab Add date option to RFC Editor index mirroring script so one can
control what the publication cut off date is, also fix crash problem
with some old RFCs not having a page count
 - Legacy-Id: 4907
2012-10-10 09:22:26 +00:00
Ole Laursen d47878656f Fix a bug in the IANA changes logging, fix spelling mistake, remove
debug print
 - Legacy-Id: 4882
2012-09-24 11:53:30 +00:00
Ole Laursen 2ab4161daf Return 500 on sync notify errors
- Legacy-Id: 4877
2012-09-21 13:22:04 +00:00
Ole Laursen 915908c203 Add HTTP auth to IANA sync, password is supposed to be saved in settings_local.py
- Legacy-Id: 4875
2012-09-21 09:15:35 +00:00
Ole Laursen 2415ae8687 Support blank password in sync notify view (for testing)
- Legacy-Id: 4874
2012-09-21 09:01:00 +00:00
Ole Laursen ff077f4b1f Rename /sync/iana|rfceditor/update/ to /sync/iana|rfceditor/notify/,
and put the thing to notify in the URL, like
/sync/iana/notify/changes/, instead of using POST parameters; refactor
the two sync views to use the same for IANA and RFC Editor; require
Secretariat or IANA/RFC Editor roles for triggering the updates and
support passing username and password for auth to make it easier in
the other end once we move away from HTTP Auth
 - Legacy-Id: 4868
2012-09-20 11:53:56 +00:00
Ole Laursen 85d2cdddc2 Add POST interface for IANA/RFC Editor for triggering updates, add
discrepancies report for seeing differences between the
Datatracker/RFC Editor/IANA, add tests of IANA/RFC Editor integration,
add script for weekly discrepancies emails
 - Legacy-Id: 4851
2012-09-17 15:57:48 +00:00
Ole Laursen 5282bd1d07 Add sync scripts for reading from IANA changes API, reading from the
protocols page (to see when references to newly published RFCs have
been updated) and parsing IANA review emails to be included as
comments
 - Legacy-Id: 4850
2012-09-17 15:54:22 +00:00
Ole Laursen 09e6203f18 Revamp sync from RFC Editor to include more info, fix a couple of bugs
and email the Secretariet when a draft sent to the RFC Editor ends up
in the queue, split it up so it's easier to test; also moved the
location of the binaries to bin/
 - Legacy-Id: 4848
2012-09-17 15:45:27 +00:00