Commit graph

685 commits

Author SHA1 Message Date
Ole Laursen 56f36018a2 Fix bug in secr test
- Legacy-Id: 6843
2013-12-07 19:29:32 +00:00
Ole Laursen f935577f77 Remove some unused references to SimpleUrlTestCase
- Legacy-Id: 6838
2013-12-07 13:30:41 +00:00
Ole Laursen 77fc3ec134 Rewrite simple URL test in secr/sreq/tests.py to use fake data
- Legacy-Id: 6836
2013-12-07 13:10:36 +00:00
Ole Laursen 947c973724 Remove reference to redesign
- Legacy-Id: 6832
2013-12-07 12:30:58 +00:00
Ole Laursen da91b15e16 Remove some references to shim layer
- Legacy-Id: 6822
2013-12-06 18:08:37 +00:00
Ole Laursen ad9503f1ed Removing remaining traces of shim layer usage in meeting
- Legacy-Id: 6817
2013-12-06 16:10:10 +00:00
Ole Laursen e63ac36b8f Remove shim layer from ietfauth, delete some dead code and migrate
remaining importers of ietfauth.decorators to ietfauth.utils
 - Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Ole Laursen 28abe3dc0d Remove unused idtracker.models import
- Legacy-Id: 6780
2013-12-03 18:35:29 +00:00
Ole Laursen bb2d070679 Redo tests for IPR to cover all views, fix some bugs and add some
finishing touches
 - Legacy-Id: 6779
2013-12-03 18:33:07 +00:00
Ole Laursen e9638cb1c2 Port IPR module to new schema, remove some cruft
- Legacy-Id: 6774
2013-12-02 16:34:00 +00:00
Ole Laursen 78d9bfff24 Move send_scheduled_announcement functionality to messages/utils.py
- Legacy-Id: 6768
2013-11-28 13:05:51 +00:00
Ole Laursen 35939cc20c Remove references to old announcement models and remove the model definitions
- Legacy-Id: 6767
2013-11-27 16:45:05 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen ecf68dbb05 Revamp and clean up submit models:
- Rename IdSubmissionDetail to Submission
- Rename various submission fields to correspond to the conventions in
  the new schema
- Use a name model for the states instead of IdSubmissionStatus
- Drop the TempIdAuthor model which is based on splitting up author
  names
- Add a simple textual SubmissionEvent for tracking events in the
  lifetime of a submission
- Delete a bunch of obsolete fields
- Make sure all submission have an access key so we can depend on it
- Add state for when approval is needed from previous authors

A couple of migrations take care of transforming the
IdSubmissionDetail and moving data over/cleaning it up.

Also revamp the submit view code:

- Make form code do validation/cleaning only so there's a clear
  separation of concerns
- Reduce uses of inheritance that made the code hard to follow -
  forms now don't inherit from each other, views don't call each other
  but instead reuse common utilities, templates share CSS/utilities
  instead of relying on inheritance
- Move email rendering/sending to separate file
- Drop the in-grown terminology use (auto post vs. manual posts)
- Make the status page explain who is emailed for what purpose
- Add history table with recorded events
- Make the status page handle its post actions by itself instead of
  duplicating most of the setup logic in a number of simple views
- Fix a couple of minor bugs and handle some edge cases better
- Expand tests with a couple of more cases

Possibly the submit tool could still use more help text added to
explain the process, ideally what's explained in the tool instructions
page should be inlined or self-evident.
 - Legacy-Id: 6714
2013-11-15 13:30:32 +00:00
Ole Laursen e0be9bcb95 Remove unused and bitrotten get_authors_email
- Legacy-Id: 6711
2013-11-15 12:50:24 +00:00
Ole Laursen e6b0ef4323 Fix spelling error in validation
- Legacy-Id: 6709
2013-11-15 11:04:12 +00:00
Ryan Cross dbff28dbb2 change draft replace action: move document to archive directory
- Legacy-Id: 6643
2013-11-03 01:38:23 +00:00
Ole Laursen 9842eef405 For no good reason, agenda_data took request as first parameter, remove this as it makes testing harder
- Legacy-Id: 6487
2013-10-25 12:53:54 +00:00
Henrik Levkowetz edcc97aded Merged in branch/amsl/1.50@6388 from rcross@amsl.com, with secretariat tool
announcement fixes, permission fixes, and agenda database schema fixes.
 - Legacy-Id: 6473
2013-10-21 20:29:15 +00:00
Ole Laursen 10dceef26d Refactor IESG agenda pages, put the agenda structure in a helper function in agenda.py, build the agenda up around this structure, and reuse this everywhere instead of duplicating the structure in various templates and the JSON view - this also fixes a couple of minor bugs where the copy-pasted copies were not entirely in sync
- Legacy-Id: 6454
2013-10-16 13:07:09 +00:00
Ole Laursen de2ed527b4 Fix indentation problem with ballot writeup in Secretariat telechat tool and fix problem with unescaped << and >>
- Legacy-Id: 6453
2013-10-16 12:04:27 +00:00
Ole Laursen f6ff2a8082 Delete all old WGAction stuff, it's superceded by the WG charter
support, clean up iesg/models.py a bit
 - Legacy-Id: 6411
2013-10-10 16:12:34 +00:00
Ole Laursen 55c7c69679 Remove unused secr/ copy of agenda outline template (from iesg/)
- Legacy-Id: 6396
2013-10-09 12:41:59 +00:00
Ole Laursen bd34270cbc Port IESG agenda pages to new schema, add tests for them, move agenda
utilities to agenda.py, fix a couple of things, remove obsolete test
versions of agenda view, add support for viewing future IESG agendas
through /agenda/YYYY-MM-DD/* (useful when testing)
 - Legacy-Id: 6395
2013-10-09 12:40:42 +00:00
Ole Laursen 53ec62a5c9 Fix a bug in the Secretariat telechat menu, "232" -> "s232"
- Legacy-Id: 6394
2013-10-09 12:16:14 +00:00
Henrik Levkowetz e4f4467725 Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Ole Laursen c191a691e0 Remove "names" fixture from all tests, since it's now loaded once just
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
 - Legacy-Id: 6305
2013-09-29 17:35:59 +00:00
Henrik Levkowetz 7bb999e09e Undid gratuitous changes.
- Legacy-Id: 6284
2013-09-26 21:35:18 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Henrik Levkowetz 08ea8c1b30 Fixed a wrong secretariat template extension name.
- Legacy-Id: 6260
2013-09-24 17:51:50 +00:00
Ole Laursen 019ca2ae03 Merge changes from attic/shimfree into new branch to complete rebasing shimfree on trunk
- Legacy-Id: 6215
2013-09-20 09:48:58 +00:00
Ole Laursen 3562c5ef06 Rewrite slightly to avoid using wgchairs.accounts.get_person_for_user
- Legacy-Id: 6194
2013-09-19 11:02:24 +00:00
Henrik Levkowetz d8074d39d3 Merged the latest secretariat code from rcross@amsl.com, from branch/amsl/trunkmerge@6149.
- Legacy-Id: 6168
2013-09-18 19:33:36 +00:00
Ryan Cross 4f98ac157c Revert to pre-agenda tool db schema. Change sec static files subdirectory to 'secretariat'. Branch ready for merge.
- Legacy-Id: 6148
2013-09-12 16:58:44 +00:00
Ryan Cross 54ca99c1bf new version
- Legacy-Id: 6144
2013-09-11 22:08:12 +00:00
Ryan Cross ed745b457d fix bug where concluded BOFs showing in proceedings
- Legacy-Id: 6143
2013-09-11 17:35:10 +00:00
Ryan Cross 0d1c0b2db9 updates to announcements and groups view to match secretariat production branch
- Legacy-Id: 6140
2013-09-10 23:49:13 +00:00
Ryan Cross 62f83fc67d changes to support datatracker v4.71
- Legacy-Id: 6129
2013-09-09 22:26:14 +00:00
Ryan Cross 24ffdb2d34 changes to IPR notification email
- Legacy-Id: 6076
2013-08-22 21:35:01 +00:00
Ole Laursen 742dbace24 Move views and templatetags from idrfc/ to doc, the I-D specific views
go into views_draft.py and tests in tests_draft.py; what's left in
idrfc is wrapper code, templates and the ballot_icon templatetag
 - Legacy-Id: 6051
2013-08-14 10:32:25 +00:00
Ole Laursen a8fefd9454 Remove unused idrfc import from secr/telechat/views.py
- Legacy-Id: 6049
2013-08-13 16:28:21 +00:00
Ole Laursen ec2f0cabbf Delete dead code from idrfc, and delete some obsolete imports too
- Legacy-Id: 6001
2013-08-09 14:55:51 +00:00
Ryan Cross 22748ac289 add warning to group edit, use datatracker to manage groups
- Legacy-Id: 5960
2013-08-06 21:53:23 +00:00
Ryan Cross 1dd59020b8 remove additional info link from RG proceedings
- Legacy-Id: 5957
2013-08-06 17:41:35 +00:00
Ryan Cross 7d6d324c81 add new section to proceedings, 6
- Legacy-Id: 5924
2013-07-31 07:12:31 +00:00
Ryan Cross b14e3ddce9 add javascript form validation to materials upload form
- Legacy-Id: 5919
2013-07-30 13:01:38 +00:00
Ryan Cross 5855140136 changes to announcements: default reply_to=ietf@ietf.org, widen body field, add back button
- Legacy-Id: 5889
2013-07-27 10:16:23 +00:00
Ryan Cross 1c60bb6b00 add zip to valid slide extensions
- Legacy-Id: 5887
2013-07-27 08:41:54 +00:00
Henrik Levkowetz 96771f7340 Updated tests to not depend on the record ids of generated test data.
- Legacy-Id: 5821
2013-07-15 07:10:27 +00:00
Ryan Cross 3655dbb36e fixed 2 bugs where combined sessions aren't being handled properly in edit() and remove()
- Legacy-Id: 5807
2013-07-08 18:51:13 +00:00
Ryan Cross d19fe19ce0 add Standardization Level to drafts view/edit
- Legacy-Id: 5804
2013-06-24 23:30:30 +00:00
Ryan Cross 45ec7a97a1 TICKET:928 use correct role in session request notification email
- Legacy-Id: 5802
2013-06-24 22:52:13 +00:00
Ryan Cross 613746fceb changes, timeslot should always have scheduled session
- Legacy-Id: 5766
2013-05-30 20:11:47 +00:00
Ryan Cross a667b0b95f version update
- Legacy-Id: 5763
2013-05-28 17:56:28 +00:00
Ryan Cross c9e2955d75 modifications to support agenda tool db changes
- Legacy-Id: 5762
2013-05-28 17:48:07 +00:00
Ryan Cross adb9164653 add Status Changes to telechat agenda section 2
- Legacy-Id: 5706
2013-05-07 21:31:54 +00:00
Ryan Cross f8dbd6e055 changes to support new Status Changes section in IESG agenda
- Legacy-Id: 5675
2013-04-19 18:23:22 +00:00
Ryan Cross dd189eb5fe add missing import of IntegrityError
- Legacy-Id: 5605
2013-04-03 18:08:05 +00:00
Ryan Cross 17dbec6d0c add IAB executive director to announcement access list
- Legacy-Id: 5603
2013-03-29 15:45:08 +00:00
Ryan Cross f04d424e6a fix bug with draft edit if no substate set
- Legacy-Id: 5567
2013-03-13 20:23:29 +00:00
Ryan Cross e4cbf9a45d fix bug where DocEvent record created when editing draft data did not have a description
- Legacy-Id: 5539
2013-03-09 23:38:42 +00:00
Adam Roach ad23d56fb2 Adding links to request page
- Legacy-Id: 5527
2013-03-09 21:22:16 +00:00
Henrik Levkowetz 7e67b40a87 Merged in branch/amsl/trunkmerge@5449 from rcross@amsl.com, with some tweaks. This provides the secretariat apps.
- Legacy-Id: 5482
2013-03-05 22:43:31 +00:00
Ryan Cross 275f82d224 normalize secr settings variable names
- Legacy-Id: 5449
2013-02-21 23:30:22 +00:00
Ryan Cross b229612c0c move form_utils again
- Legacy-Id: 5447
2013-02-21 22:14:19 +00:00
Ryan Cross fb8bbc7099 move form_utils
- Legacy-Id: 5445
2013-02-21 22:11:51 +00:00
Ryan Cross a5a7ea17c8 support variable path for static files, SECR_STATIC_URL
- Legacy-Id: 5443
2013-02-21 21:43:37 +00:00
Ryan Cross 39f8e27e7f restore url prefix to secr
- Legacy-Id: 5442
2013-02-21 21:32:00 +00:00
Ryan Cross 2ba9736808 ipr app move fixes
- Legacy-Id: 5441
2013-02-21 19:35:33 +00:00
Ryan Cross 4ca091dba3 changing name of ipr app to ipradmin
- Legacy-Id: 5440
2013-02-21 19:03:04 +00:00
Ryan Cross 185ac9f547 move ipr templates dir to ipradmin
- Legacy-Id: 5439
2013-02-21 18:38:14 +00:00
Ryan Cross 8688eafa61 move ipr app dir to ipradmin
- Legacy-Id: 5438
2013-02-21 18:35:36 +00:00
Ryan Cross c32aee9874 add basic tests
- Legacy-Id: 5437
2013-02-21 00:41:04 +00:00
Ryan Cross a0f548ea6b fix issues with processing converted meeting materials
- Legacy-Id: 5436
2013-02-19 18:21:55 +00:00
Ryan Cross 9613471dff comment unused global variable causing problems with test suite.
- Legacy-Id: 5433
2013-02-15 22:28:20 +00:00
Ryan Cross a0fffcc776 more changes
- Legacy-Id: 5432
2013-02-15 19:02:07 +00:00
Ryan Cross 00dbf38cd9 add templates
- Legacy-Id: 5431
2013-02-15 18:48:30 +00:00
Ryan Cross 1f3ca71362 add apps
- Legacy-Id: 5430
2013-02-15 18:10:38 +00:00
Ryan Cross 5c5fc3f5d0 add ams_filters
- Legacy-Id: 5179
2013-01-09 00:49:49 +00:00
Ryan Cross f496498e12 fix base html refs, changes to tests.py
- Legacy-Id: 5178
2013-01-09 00:45:13 +00:00
Ryan Cross 37d99c44b1 changes to tests
- Legacy-Id: 5177
2013-01-08 21:21:02 +00:00
Ryan Cross 565f15bda6 move base.html
- Legacy-Id: 5176
2013-01-08 18:14:27 +00:00
Ryan Cross f5e0ee9990 add templates/includes
- Legacy-Id: 5175
2013-01-08 00:24:46 +00:00
Ryan Cross f6e05aff99 merge fixes
- Legacy-Id: 5174
2013-01-08 00:22:06 +00:00
Ryan Cross 818bffd0f7 first app for merge, sreq
- Legacy-Id: 5173
2013-01-07 22:27:14 +00:00