Commit graph

129 commits

Author SHA1 Message Date
Henrik Levkowetz ec684e1b4e Added a pylint rc-file, and fixed or silenced a number of issues found by pylint using the settings .pylintrc (which enable only error checking).
- Legacy-Id: 11941
2016-09-08 14:48:59 +00:00
Henrik Levkowetz e555fe9687 Merged in [11849] from rcross@amsl.com:
Fix bug with main secr/proceedings page and add test.
 - Legacy-Id: 11871
Note: SVN reference [11849] has been migrated to Git commit f5fab30d63
2016-08-25 11:23:47 +00:00
Ryan Cross f5fab30d63 Fix bug with main secr/proceedings page and add test. Commit ready for merge.
- Legacy-Id: 11849
2016-08-23 18:18:09 +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
Henrik Levkowetz 6f05b23837 Merged in [11778] from rjsparks@nostrum.com:
Enabled and refined document_main view for bluesheets.
Improved migration for 95 and 96 bluesheets, adding DocAlias and DocEvent creation.
Added bluesheet upload to the session details view.
Moved a function out of secr/proceedings/views into its own util.py file to allow reusing it in other modules without introducing circular imports.
 - Legacy-Id: 11811
Note: SVN reference [11778] has been migrated to Git commit 0611444b36bc071e8db068a093cc1ad93bb69659
2016-08-17 18:28:02 +00:00
Robert Sparks 44cd9e0920 Moved the materials start, cutoff, and revision dates into the Meeting object
- Legacy-Id: 11760
2016-08-05 20:44:05 +00:00
Ryan Cross 2e02011725 Changed check_audio_files() to only consider sessions on the official
schedule.  Fixes some 500 errors.  Commit ready to merge.
 - Legacy-Id: 11697
2016-07-17 14:24:01 +00:00
Henrik Levkowetz 61540ac4bb Carry patches to the production back to trunk.
- Legacy-Id: 11673
2016-07-16 13:33:16 +00:00
Henrik Levkowetz 8ca48aac42 Make group acronym regex patterns consistent.
There were multiple different regex patterns in different urlpattern
declarations, with some of them permitting characters which should not
occur in group acronym.  Changed them to consistently use [-a-z0-9]+ .
 - Legacy-Id: 11651
2016-07-13 19:19:15 +00:00
Henrik Levkowetz 37161bbde1 Merged in [11512] from rjsparks@nostrum.com:
Allow RG secretaries to manipulate meeting materials. Fixes #1836.
 - Legacy-Id: 11513
Note: SVN reference [11512] has been migrated to Git commit eb17c03d1d
2016-07-01 21:45:09 +00:00
Robert Sparks eb17c03d1d Allow RG secretaries to manipulate meeting materials. Fixes #1836. Commit ready for merge.
- Legacy-Id: 11512
2016-07-01 20:59:57 +00:00
Ryan Cross 19f9b11032 Remove old interim proceedings location reference. Commit ready for merge.
- Legacy-Id: 11504
2016-06-30 17:02:33 +00:00
Ryan Cross 882fe23828 Fix interim meeting get_proceedings_url() functions. Commit ready for merge.
- Legacy-Id: 11498
2016-06-29 18:53:53 +00:00
Henrik Levkowetz cc6096e190 Merged in [11435] from rcross@amsl.com:
Fix a few things with interim materials management.
 - Legacy-Id: 11438
Note: SVN reference [11435] has been migrated to Git commit f1bb818434c83b4180e9655d062825a5c0016ef8
2016-06-21 12:59:10 +00:00
Henrik Levkowetz 1e50d5dd44 Merged in [11434] from rcross@amsl.com:
Remove legacy secretariat code for adding interim meetings in favor of new ietf.meeting interim features.
 - Legacy-Id: 11437
Note: SVN reference [11434] has been migrated to Git commit 98afcae63a752129c63f0d2e1824bbbb26dbf71f
2016-06-21 12:23:58 +00:00
Henrik Levkowetz e6a005dba6 Added a score of setting save/restores to test setup/teardown actions.
- Legacy-Id: 11436
2016-06-21 07:51:02 +00:00
Henrik Levkowetz ef8da52f27 Refactored the code to not use two different functions to get_next_interim_numbers.
- Legacy-Id: 11425
2016-06-20 18:53:12 +00:00
Henrik Levkowetz d298785fda Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961, #1962 and #1964.
- Legacy-Id: 11402
2016-06-17 14:16:27 +00:00
Henrik Levkowetz c83dae57fb Added setting for MEDIA_ROOT, and changed the setting for MEDIA_URL; introduced a setting for the IETF main site URL, for use where MEDIA_URL had been used (incorrectly) earlier.
- Legacy-Id: 11263
2016-06-02 19:17:38 +00:00
Ryan Cross c8f3760dbe refactor code dealing with interim materials path
- Legacy-Id: 11229
2016-05-23 22:58:45 +00:00
Ryan Cross 8fef55dc31 add approval and cancel notifications
- Legacy-Id: 11196
2016-05-16 22:48:43 +00:00
Ryan Cross 523f0d87c4 Fix pyflakes error. Commit ready for merge.
- Legacy-Id: 11074
2016-04-02 19:12:43 +00:00
Ryan Cross 220e2587b8 Add ability to enter recording URLs for non working group sessions. Fixes #1885. Commit ready for merge.
- Legacy-Id: 11072
2016-04-02 18:50:20 +00:00
Robert Sparks ca6512e4fa Capture "Status update" summaries for groups that want to provide them. These updates show on the groups charter (or about) page, and in the group history. The most recent update provided before proceedings corrections closing date is included in the group's page in the meeting proceedings. This addresses the majority of #1773 (a ticket entered on behalf of the IESG). Commit ready for merge.
- Legacy-Id: 10969
2016-03-23 19:42:01 +00:00
Henrik Levkowetz 4cac784522 Renamed a bunch of identically named MainTestCase classes.
- Legacy-Id: 10913
2016-03-06 18:18:38 +00:00
Robert Sparks d17564d695 Preserve the assumptions in the secr/proceedings code by isolating it from drafts now appearing in sessionpresentations. Commit ready for merge.
- Legacy-Id: 10857
2016-02-24 22:18:38 +00:00
Henrik Levkowetz 31b5c1f535 Merged in [10731] from rjsparks@nostrum.com:
Addresses issues uncovered by the test-crawler. Adds missing DocAlias records for several document types. Creates DocAlias objects when createing Document objects for those document types. Identifies places in code to touch when we are ready to expose the bluesheets and recording document types at /doc/. (The data rows and the content store need work before doing so).
 - Legacy-Id: 10746
Note: SVN reference [10731] has been migrated to Git commit 757397330c
2016-01-26 22:15:45 +00:00
Henrik Levkowetz bc9a85a075 Merged [10721] and [10724] from rcross@amsl.com:
Removed Test watermark from interim meeting index background.  Rewrote merge-person-records utility script to handle all related objects in a generic manner, remove old User records and handle email primary attribute.  Fixes #1627.
 - Legacy-Id: 10740
Note: SVN reference [10721] has been migrated to Git commit e97cd64bbb

Note: SVN reference [10724] has been migrated to Git commit 8efb9229f6
2016-01-26 21:31:46 +00:00
Robert Sparks 757397330c Addresses issues uncovered by the test-crawler. Adds missing DocAlias records for several document types. Creates DocAlias objects when createing Document objects for those document types. Identifies places in code to touch when we are ready to expose the bluesheets and recording document types at /doc/. (The data rows and the content store need work before doing so).
- Legacy-Id: 10731
2016-01-25 19:40:35 +00:00
Ryan Cross 8efb9229f6 Remove Test watermark from interim meeting index background. Commit ready for merge
- Legacy-Id: 10724
2016-01-22 20:52:43 +00:00
Ryan Cross e97cd64bbb Rewrite merge-person-records utility script to handle all related objects in a generic manner, remove old User records and handle email primary attribute. Fixes #1627. Commit ready for merge
- Legacy-Id: 10721
2016-01-22 20:37:29 +00:00
Henrik Levkowetz db7aa73eb4 Merged in [10418] from henrik@levkowetz.com:
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
 - Legacy-Id: 10420
Note: SVN reference [10418] has been migrated to Git commit cf7d794b09
2015-11-04 08:46:35 +00:00
Henrik Levkowetz cf7d794b09 Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Henrik Levkowetz 8aafb65743 Merged in [10383] from rcross@amsl.com:
Update proceedings permissions.
 - Legacy-Id: 10410
Note: SVN reference [10383] has been migrated to Git commit 788748d7e7
2015-11-03 14:43:47 +00:00
Ryan Cross 8c82fef683 Add more information to Secretariat session recordings view. Commit ready for merge
- Legacy-Id: 10348
2015-10-31 09:00:15 +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
Henrik Levkowetz 71dec7a692 Moved forward to 6.7.2.dev0 the changes to rename class ScheduledSession to the more correct (but unfortunately also cumbersome) SchedTimeSessAssignment, and rename reverse relationships involving this class appropriately. Accompanying changes in javascript and templates. Migrations to match.
- Legacy-Id: 10297
2015-10-26 22:45:26 +00:00
Ryan Cross e2b8bad862 Adjust audio file glob pattern. Commit ready for merge
- Legacy-Id: 10156
2015-10-08 22:56:47 +00:00
Ole Laursen 6f044eea08 Summary: Move definition of document names and group acronyms to
settings.URL_REGEXPS, partly to cleanup the urls.py files, partly to
make sure that all URL patterns agree on what constitutes a name
 - Legacy-Id: 10114
2015-10-01 14:16:16 +00:00
Ole Laursen e91c97e7ff Summary: Save doc state in history in delete_material
- Legacy-Id: 10106
2015-09-29 12:55:54 +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
Henrik Levkowetz bef78193f5 Merged in [9901] from rcross@amsl.com:
Fix matching audio file names with rooms.
 - Legacy-Id: 9927
Note: SVN reference [9901] has been migrated to Git commit ce250e16e8
2015-07-31 19:41:43 +00:00
Ryan Cross ce250e16e8 Fix matching audio file names with rooms. Commit ready for merge.
- Legacy-Id: 9901
2015-07-27 18:57:38 +00:00
Henrik Levkowetz c1a9ec325f Merged in [9774] from lars@netapp.com:
More HTML fixes.
 - Legacy-Id: 9790
Note: SVN reference [9774] has been migrated to Git commit d9f291d7e75bb33260e986b6eddf7d15b28da305
2015-07-18 13:02:53 +00:00
Ryan Cross 9b5a69219e Remove unused javascript reference. Fixes #1752. Commit ready for merge.
- Legacy-Id: 9773
2015-07-18 10:02:12 +00:00
Henrik Levkowetz 494af99d9a Merged in [9701] from rcross@amsl.com:
Fix settings CORRECTION_DAYS variable name.
 - Legacy-Id: 9707
Note: SVN reference [9701] has been migrated to Git commit dade901827
2015-07-09 13:05:34 +00:00
Ryan Cross dade901827 Fix settings CORRECTION_DAYS variable name. Commit ready for merge.
- Legacy-Id: 9701
2015-07-08 16:03:07 +00:00
Henrik Levkowetz b44141a655 Merged in [9671] from rcross@amsl.com:
Fixes #1724.  Convert PPT materials to PDF.
 - Legacy-Id: 9682
Note: SVN reference [9671] has been migrated to Git commit 8bf84a7e0e
2015-06-23 19:02:57 +00:00
Henrik Levkowetz d0cdc45fe8 Merged in [9666] from rcross@amsl.com:
Fixes #1723.  Area names hardcoded in Proceedings app.
 - Legacy-Id: 9680
Note: SVN reference [9666] has been migrated to Git commit 7b34252d29
2015-06-23 18:40:39 +00:00
Ryan Cross 8bf84a7e0e Fixes #1724. Convert PPT materials to PDF. Commit ready for merge.
- Legacy-Id: 9671
2015-06-19 22:43:14 +00:00