Commit graph

335 commits

Author SHA1 Message Date
Ole Laursen 9a25b002f3 Add a couple of files missing from previous commit
- Legacy-Id: 8739
2014-12-12 18:00:28 +00:00
Ole Laursen 2e862b6cbd Summary: Remove some unused tokenfield CSS files
- Legacy-Id: 8737
2014-12-12 17:35:30 +00:00
Ole Laursen 74313edc67 Summary: Move datepicker CSS to lib/
- Legacy-Id: 8736
2014-12-12 17:33:57 +00:00
Ole Laursen b7f6be4603 Summary: Port reset charter milestones to Bootstrap
- Legacy-Id: 8731
2014-12-11 17:30:09 +00:00
Ole Laursen e4e4d4c8f8 Summary: Port group workflow customizations to Bootstrap
- Legacy-Id: 8730
2014-12-11 17:15:34 +00:00
Ole Laursen cebc979282 Summary: Resolve person/email/document multiselect issue by importing
select2 and switching the widgets over to using that. Port the
milestones editing page to Bootstrap.
 - Legacy-Id: 8713
2014-11-25 16:47:48 +00:00
Ole Laursen a227e47b2a Summary: Fix some missing semicolons and extraneous commas
- Legacy-Id: 8702
2014-11-21 11:41:54 +00:00
Ole Laursen 0f81e1c027 Merge in changes from Russ (/personal/housley/facelift-r8510) tweaking the development mode appearance, with some minor modifications
- Legacy-Id: 8695
2014-11-17 22:01:50 +00:00
Ole Laursen bcab1afd0c Merged in Bootstrap 3.3.1 update from Lars's facelift branch
- Legacy-Id: 8694
2014-11-17 21:44:04 +00:00
Lars Eggert da1afe78b0 Bootstrap 3.3.1
- Legacy-Id: 8652
2014-11-13 01:52:32 +00:00
Russ Housley fffdef11c7 Use traditional IETF logo. Make navbar red in development mode.
- Legacy-Id: 8607
2014-11-09 00:30:50 +00:00
Robert Sparks c436607039 merged forward. Adjusted new proceedings code to new models. Found bug in earlier work on proceedings code exposing places that tests are not covering.
- Legacy-Id: 8589
2014-11-05 21:19:09 +00:00
Ole Laursen 3b239fa0ff Add JS functionality to edit the relations of a status change document
- Legacy-Id: 8586
2014-11-05 11:31:33 +00:00
Lars Eggert 25c2765c07 Update bootstrap to 3.3.0. Also update FontAwesome and bootstrap-tokenfield.
- Legacy-Id: 8569
2014-11-03 15:02:47 +00:00
Ole Laursen 41cb195f52 Rebase /personal/lars/5.6.4-facelift/ on trunk
- Legacy-Id: 8520
2014-10-30 14:31:07 +00:00
Henrik Levkowetz 704589b4c7 Merged in branch/iola/people-cleanup @ [8471] from olau@iola.dk, which
enhances a number of pages in the datatracker where forms contain fields
  where a person should be chosen, such as for instance when choosing the
  shepherd of a document, so that they uniformly display choices which show
  both email address and name.

  Furthermore, changes have been made so as to make the email address
  uniformly act as reference to the person record.  

  Autocompletion is now consistently provided when looking for the email
  address or name of the person to choose.  

  This solves a number of issues where it has been difficult to choose the
  correct Person/Email combination, and where the correct email address to use
  for an association has been unavailable previously.
 - Legacy-Id: 8472
Note: SVN reference [8471] has been migrated to Git commit d62f2343e8
2014-10-25 21:05:50 +00:00
Henrik Levkowetz 6e38e974f5 Merged in [8237] from rcross@amsl.com:
Changes to support video content in proceedings ('recording' document type).
 - Legacy-Id: 8462
Note: SVN reference [8237] has been migrated to Git commit 96bccc7b17
2014-10-24 12:18:25 +00:00
Robert Sparks e889177a32 merged forward
- Legacy-Id: 8432
2014-10-16 15:07:33 +00:00
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00
Henrik Levkowetz e4d43d8e52 Merged in [8377] from rjsparks@nostrum.com:\n Removes a modify-while-iterating error, and removes a bug where two different bits of code thought they were responsible for deleting things from a global list. Fixes bug #1498.
- Legacy-Id: 8388
Note: SVN reference [8377] has been migrated to Git commit a12be8aeb5
2014-10-12 18:38:25 +00:00
Robert Sparks a12be8aeb5 Removes a modify-while-iterating error, and removes a bug where two different bits of code thought they were responsible for deleting things from a global list. Fixes bug #1498. Commit ready for merge.
- Legacy-Id: 8377
2014-10-06 21:40:54 +00:00
Henrik Levkowetz ec3e247732 Merged in [8262] and [8263] from rjsparks@nostrum.com:
Changes when returning_item is automatically set to match the
    current IESGs preferences.  Removes several chunks of dead code
    related to editing telechat dates.  Improves returning item tests.

    Refactored multiple edit_telechat functions into one function in
    doc_views.  Added a helper function for determining if ballots have
    changed to isolate the implementation.  Fixed the issue with
    update_agenda setting the returning item bit even when the user
    explicitly said not to.  Added prompting to encourage proper setting
    of the returning item bit to the edit_telechat view.

    Fixes #1209
 - Legacy-Id: 8369
Note: SVN reference [8262] has been migrated to Git commit 9d8d0d63e2338d6fa81a82c553b8c6a1c3a105c1

Note: SVN reference [8263] has been migrated to Git commit 35a7436b782fc45e224ac9ea29bfb535fd3ce959
2014-09-28 19:57:01 +00:00
Robert Sparks 67782ade34 merge forward complete
- Legacy-Id: 8354
2014-09-23 15:48:27 +00:00
Robert Sparks c3f460cbe9 Refactored history snippets for general use
Moved from VersionedMaterials to SessionPresentation for the through table name
Added the abstract and most recent presentation to the documents on the group materials page
Working snapshot before building historic edu-team documents
 - Legacy-Id: 8349
2014-09-19 21:33:30 +00:00
Henrik Levkowetz 8b8a282730 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
 - Legacy-Id: 8319
Note: SVN reference [8229] has been migrated to Git commit fc512680d8
2014-09-18 20:27:28 +00:00
Henrik Levkowetz f708266e50 Merged in [8211] from rjsparks@nostrum.com:\n Provide a way to get back to the page the user logged out from. Fixes ticket #1461.
- Legacy-Id: 8318
Note: SVN reference [8211] has been migrated to Git commit b86c0dcc6f8b507d42ad10c2d45aa13583b1fae8
2014-09-16 20:04:17 +00:00
Ole Laursen 065660b66f Replace the gigantic incumbent email drop-down in the NomCom tool with an
AutocompletedEmailField, also show the name of the incumbents and not
just their email addresses on the list page
 - Legacy-Id: 8281
2014-08-18 11:52:08 +00:00
Ole Laursen a1a13323d2 Use hint text instead of Django help text for providing the help for
EmailsField and clarify the text displayed when the input is invalid
so it's hopefully more clear what happens
 - Legacy-Id: 8272
2014-08-17 09:02:21 +00:00
Ole Laursen a3119fa6a8 Fix missing var statements in JS file
- Legacy-Id: 8267
2014-08-13 11:15:33 +00:00
Ole Laursen 8b63dd982f Add support for customizing max number of entries in EmailsField,
update to version 1.6 of jquery.tokeninput.js and fix problem with
reloading EmailsField pages by adding a data-pre attribute instead of
hacking the value attribute
 - Legacy-Id: 8264
2014-08-13 08:58:10 +00:00
Ryan Cross 96bccc7b17 changes to support video content in proceedings ('recording' document type). Commit ready for merge
- Legacy-Id: 8237
2014-08-04 17:17:52 +00:00
Robert Sparks fc512680d8 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

Commit ready to merge
 - Legacy-Id: 8229
2014-07-31 22:13:01 +00:00
Ryan Cross 61668dba80 changes to support input of session recordings
- Legacy-Id: 8216
2014-07-30 21:55:42 +00:00
Shane Kerr c8c3b04643 Javascript and image file for "untrack document" feature.
- Legacy-Id: 8131
2014-07-19 19:45:37 +00:00
Henrik Levkowetz 09f654b1f4 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.
- Legacy-Id: 8013
2014-07-02 19:30:07 +00:00
Robert Sparks 7b9e6b5609 Addresses issue with dragging and dropping unscheduled items back into the unscheduled bin (primary fix provided by Matt Miller). Fixes bug 1386. Commit ready for merge.
- Legacy-Id: 7865
2014-06-06 20:14:25 +00:00
Ole Laursen c94757405d Add a /doc/ page for materials (slides, agendas, minutes), link to that from the group materials page
- Legacy-Id: 7825
2014-06-02 12:18:42 +00:00
Ole Laursen f9407c57b8 It looks like Django 1.6 finally added a span around form field help texts so take advantage of that and apply our help text style to it
- Legacy-Id: 7775
2014-05-23 16:24:40 +00:00
Robert Sparks 6f202065e7 Fixed coloring rows: The js IETF object needs to exist for the code to work. Fixes bug #1303. Commit ready to merge.
- Legacy-Id: 7735
2014-05-12 21:45:55 +00:00
Robert Sparks f92221a746 Revert a debug setting that should not have made it into the last commit. Commit ready for merge.
- Legacy-Id: 7733
2014-05-12 19:40:01 +00:00
Robert Sparks 947f174e78 Extended ScheduledSession objects were not initialized correctly, so un-extending did not work. Fixes bug #1401. Commit ready for merge.
- Legacy-Id: 7732
2014-05-12 19:37:44 +00:00
Robert Sparks b8cfbf18e5 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
 - Legacy-Id: 7644
2014-04-25 14:44:40 +00:00
Robert Sparks 73b0831b57 Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
- Legacy-Id: 7635
2014-04-24 18:29:01 +00:00
Henrik Levkowetz bf1e44864d 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
 - Legacy-Id: 7628
Note: SVN reference [7561] has been migrated to Git commit 1221f79af9
2014-04-22 21:34:23 +00:00
Robert Sparks 1221f79af9 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

Commit ready for merge.
 - Legacy-Id: 7561
2014-04-01 22:17:18 +00:00
Ryan Cross 2ff7900326 fix various issues with recent changes
- Legacy-Id: 7559
2014-04-01 18:09:11 +00:00
Ryan Cross 0fafe56381 allow edit of timeslots, changes to scheduled notifications, support non-official schedules
- Legacy-Id: 7554
2014-03-28 23:16:41 +00:00
Robert Sparks 53feb01d67 Have group conflicts showing now - not sure find-free is working yet
- Legacy-Id: 7551
2014-03-27 19:47:31 +00:00
Robert Sparks e953538543 checkpoint before refactoring the conflict array
- Legacy-Id: 7548
2014-03-27 15:00:14 +00:00
Henrik Levkowetz 721b9a5cd7 Login/logout style tweaks.
- Legacy-Id: 7537
2014-03-23 19:18:02 +00:00
Henrik Levkowetz 475bcbbd30 Working django-auth login and logout views. Password import from htpasswd file still needed.
- Legacy-Id: 7536
2014-03-23 18:27:14 +00:00
Robert Sparks e5fa8339f7 missed commits at top level for the merge forward - catching up on the things that were not in ietf. Made one ietf/url tweak for static tests
- Legacy-Id: 7478
2014-03-15 20:20:13 +00:00
Henrik Levkowetz d499855aa4 Merged in [7398] from rcross@amsl.com:
add X-CSRFToken AJAX request header.
 - Legacy-Id: 7407
Note: SVN reference [7398] has been migrated to Git commit 79a77b4c568af19e1953a11bd8b0fe0a12035e6d
2014-03-04 21:29:16 +00:00
Robert Sparks 5cdfe6adbf reasonably complete merge, but some of the newer-style tests are failing because the js API changed
- Legacy-Id: 7188
2014-01-31 01:13:53 +00:00
Ole Laursen 1dd422e013 Remove the unused old versions of jQuery, some Secretariat pages are still on jquery-1.5.1 but they are using a separate copy and can be dealt with separately
- Legacy-Id: 7102
2014-01-10 15:01:38 +00:00
Ole Laursen 1f41a07499 Remove unused base.js, it contained search result list utilities that have been migrated to jQuery in doc-search.js
- Legacy-Id: 7101
2014-01-10 14:59:36 +00:00
Ole Laursen 8442eb37a2 Fix a bunch of missing semicolons and var declarations in community.js
- Legacy-Id: 7098
2014-01-10 14:15:15 +00:00
Ole Laursen ab382a726f While cleaning up the Javascript includes in the nomcom app, it turns
out nomcom.js is included in the wrong pages, and on the pages it is
actually useful in, it's obsolete, so delete it together with the
obsoleted AJAX view and the other JS left-over cruft in nomcom/, this
fixes an include 404 and removes the remaining dependency on
jquery-1.5.1 apart from the Secretariat tools
 - Legacy-Id: 7097
2014-01-10 14:06:36 +00:00
Ole Laursen f8b1568c87 Rewrite meeting PUTs to POSTs. For no apparent reason, parts of the
meeting AJAX code is using PUT instead of POST (even if it's not
PUT'ing in the literal sense but POST'ing). Theoretical discussions
aside, Django has poor support for PUTs turned POSTs so rewriting them
removes the need for a couple of hacks, and makes it easier to test.
 - Legacy-Id: 7067
2013-12-24 15:13:33 +00:00
Ole Laursen 66f3832f25 Fix syntax error in agenda JS
- Legacy-Id: 7019
2013-12-19 16:50:13 +00:00
Ole Laursen 41075bb3b5 Delete old Django 1.1 admin media from static/, instead import them with svn:external property (on static/) from ../django/contrib/admin/static/ - it would be a bit more obvious with a symlink, but that may cause trouble for people on Windows or if the webserver is set up to not allow symlinks
- Legacy-Id: 6974
2013-12-18 11:22:05 +00:00
Ole Laursen 4250a95556 Remove proxy layer from liaisons tool, do some minor cleanups of
duplicated code, make sure the custom form widgets escape their input.

There's still a bit of custom proxying going on in the IETFHM class
hierarchy.
 - Legacy-Id: 6794
2013-12-05 13:54:48 +00:00
Ole Laursen 97bf521ebb Fix some bugs in the liaisons Javascript, reformulate it slightly to
not create jQuery plugins
 - Legacy-Id: 6793
2013-12-05 12:59:25 +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 8020650566 Fix color of links in form errors
- Legacy-Id: 6700
2013-11-11 12:52:07 +00:00
Henrik Levkowetz 8e8cfc05db Changed things so the left-side navbar doesn't jump to full page width in the instant before the main content is loaded. NB: Cleanup action needed: replace all px dimensions with em, consistently.
- Legacy-Id: 6650
2013-11-04 20:46:15 +00:00
Ole Laursen d915a31833 Add some styling from previous adaptation of Secretariat telechat tool that were missing from the commit
- Legacy-Id: 6467
2013-10-18 16:42:30 +00:00
Henrik Levkowetz a7838d8765 Cleanup action: replaced screaming html id with non-screaming version;
replaced the noTable block construct with start/end table_content blocks
in order to not have to open and close tables in different blocks, and
not have empty tables lying about.
 - Legacy-Id: 6439
2013-10-13 21:09:32 +00:00
Ole Laursen 1975ff27d0 Port IESG discusses to new schema
- Legacy-Id: 6418
2013-10-11 13:03:40 +00:00
Ole Laursen d11f2331fe Remove invalid text-align: top from CSS
- Legacy-Id: 6417
2013-10-11 13:02:08 +00:00
Henrik Levkowetz a3c8adfdf6 Merged in the contents of commit [6337] from mcr@sandelman.ca, with some changes to take out dead code that inadvertently came back in.
- Legacy-Id: 6344
Note: SVN reference [6337] has been migrated to Git commit d0d1d949a9328da6c4e30d8f5e0d14ffb204e678
2013-10-02 21:53:28 +00:00
Henrik Levkowetz 08e90fd63f Enabling jquery again in template base.html. Moving library pack jquery-1.8.2 from /static/js/ to /static/js/lib/. Replacing jquery-1.5.1 with 1.8.2 in some places; the incompatibilities listed on the jquery pages seem to be small, and on a cursory inspection not present in the current usage.
- Legacy-Id: 6342
2013-10-02 15:44:50 +00:00
Henrik Levkowetz ae666688f7 Added missing TXT_icon
- Legacy-Id: 6323
2013-09-30 20:48:38 +00:00
Henrik Levkowetz 95f9436507 Undid gratuitous whitespace changes.
- Legacy-Id: 6287
2013-09-26 22:00:45 +00:00
Henrik Levkowetz ad7ba6e494 Undid gratuitous whitespace changes.
- Legacy-Id: 6286
2013-09-26 21:58:09 +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 0016c69b61 Added an index page for nomcoms, at /nomcom/, with links to nomcom pages and announcements, where they exist.
- Legacy-Id: 6245
2013-09-22 18:59:24 +00:00
Ole Laursen 2e29298d0c Move group charter actions from box and button next to header up to an
edit menu under the ordinary group menu
 - Legacy-Id: 6219
2013-09-20 14:09:30 +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
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
Henrik Levkowetz 78a0fd7759 Added a dev-specific robots.txt, which blocks all robots.
- Legacy-Id: 6164
2013-09-18 17:44:51 +00:00
Ryan Cross 097c920b33 Rename secretariat static files subdirectory. Branch ready for merge.
- Legacy-Id: 6149
2013-09-12 18:33:16 +00:00
Ole Laursen 3c8f5d3521 CSS styling for state help icon
- Legacy-Id: 6135
2013-09-10 16:16:11 +00:00
Henrik Levkowetz 5a06a9f17c Tweaked the nomcom private menus a bit.
- Legacy-Id: 6025
2013-08-09 18:19:00 +00:00
Henrik Levkowetz c345d2f9d6 Fixed the red-on-red error message style which came in with the nomcom code merge.
- Legacy-Id: 5993
2013-08-08 12:25:42 +00:00
Henrik Levkowetz 6baea429aa Merged in the nomcom app from ejimenez@yaco.es and esanchez@yaco.es, and accompanying dbtemplate app and the (standard) docutils module. Added some tweaks to get all tests to pass and migrations to run.
- Legacy-Id: 5948
2013-08-06 10:09:29 +00:00
Henrik Levkowetz 6794113320 Merged [5898] from adam@nostrum.com, with
additional tweaks from henrik: Added the capability to search for all kinds
 of documents in the main datatracker search page.  Fixes bug #838.
 - Legacy-Id: 5926
Note: SVN reference [5898] has been migrated to Git commit b14a8d0cee
2013-07-31 12:45:32 +00:00
Ryan Cross 744e302159 fix bug with upload form validation
- Legacy-Id: 5922
2013-07-30 14:57:37 +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
Henrik Levkowetz dfee10aa92 Restored the functionality of showing both AD and Shepherd for documents
shown for searches and document lists.
 - Legacy-Id: 5842
2013-07-18 15:42:30 +00:00
Henrik Levkowetz b31c781603 Reverted changes to document ballot colours -- the colours that came in with
the shimfree merge [5836] don't work as well for some kinds of
colour-blindness.
 - Legacy-Id: 5839
Note: SVN reference [5836] has been migrated to Git commit cbfe489ff5
2013-07-17 21:59:53 +00:00
Henrik Levkowetz cbfe489ff5 Merged in more shim-layer removals from olau@iola.dk
(-r5465:HEAD from branch/iola/shimfree).  Copying relevant
commit messages here:

 - Deleted dead code in many places.

 - Renamed id-something to draft-something, make the "is
   this eligible for expiration" logic clearer

 - Added a name for IPR search URL

 - Revamped the ballot popup view

 - URL reversed the IPR search link instead of hardcoding it

 - Cleaned up search views and remove dead code, port them to the new DB
   schema, hack related views in iesg/ and wginfo/ to use the new search
   interfaces, avoid camelCase in search GET parameters (with
   backwards-compat fallback), add some simple search unit tests, remove
   caching from views_search.py index pages as they're now pretty fast to
   generate, rewrite ballot popup JS, regularize some CSS classes to use
   hyphen-notation rather than camelCase, move some of the search
   templates to doc/.

   idrfc/ now mostly contains some wrapper code still in use by other
   subdirs, some ported code not yet moved, and dead code.

 - Fixed output bug in test crawler and print referrer upon errors so it's
   easier to figure out where a link came from

 - Added /doc/in-last-call/ to crawler, report original page as referrer in
   a redirect chain rather than intermediate URL

 - Ported idindex to new schema, speed them up, add tests, refactor index
   page in views_search to share code with the text index file, get rid
   of some special-case idindex filters from ietf_filters, move
   "/drafts/" redirects to a file in /doc/

 - Ported /idtracker/status/ and /idtracker/status/last-call/ overview of
   drafts in IESG process to new schema in /doc/iesg/ and
   /doc/iesg/last-call/

 - Added redirects for all of /idtracker/*, removed all view code and other
   dead code from idtracker/

 - Removed the idtracker sitemap indexing drafts - in its current form,
   it adds nothing of value to the HTML-based /doc/all/ view, and it's
   pretty slow

 - Ported idtracker feeds to new schema, move them to doc/, cleaned up
   idtracker/ - only templatetags/ietf_filters and proxy code is left
 - Legacy-Id: 5836
2013-07-17 20:52:39 +00:00
Henrik Levkowetz e678659b56 Merged in a lot of shim-layer removals from olau@iola.dk
(-r5194:5465 from branch/iola/shimfree).  Copying relevant
commit messages here:

  - Removed .related many to many relationship, it's not really useful
    since we always have to restrict on the relationship type anyway,
    instead add two helpers for doing the necessary queries (in both
    directions)

  - Added migration for transforming the .desc on the new_revision events
    into something more akin to what is actually shown in the history page

  - Added migration for blanking IESG notes that just consist of "RFC
    XXXX", these have been superfluous for some time

  - Grant stream chairs access to changing the stream on a draft

  - Hacked the format_history_text filter to be less weird, using the same
    formatting for snippets and full text, also link up legacy ballot set
    events

  - Moved the decoraters + utilities to new ietfauth/utils.py file

  - Added simple helper to Email to identify invalid email addresses (from
    legacy author entries)

  - Used new new_revision .desc format for when drafts are submitted

  - Improved the looks of the button class by adding extra contrast and a
    linear gradient. Currently the gradient is only visible in fairly
    recent browsers.

  - Rewrote draft and RFC tabs in terms of the new schema, porting
    write-up and history tabs as well

  - Fixed 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

  - Made the CSS-styled button feel a bit nicer to use by flattening the
    active state, also introduce some temporary styles until browsers
    catch up with the standard syntax

  - Added migrations for fixing 1) a dummy RFC entry, 2) three stand-alone
    RFCs that didn't get their doc.type set, 3) a big bunch of historic
    stand-alone RFCs that have doc.group=None - set these to the
    individual submission "none" group for the time being so the view code
    doesn't have to deal with a special case.

    In some cases this is wrong since there actually was a WG associated
    but unfortunately fixing them properly requires detective work
    (probably parsing the RFCs) and in at least some cases recreating
    historic WGs. In case someone ends up doing this, the documents to
    check can still be found with

    Document.objects.filter(name__startswith="rfc", group__type="individ")
    since there are almost no new RFCs that didn't went through the I-D
    process.

  - Merged the I-D and RFC views by showing I-D information on RFCs too.
    I-Ds that have been published as RFCs redirect to the RFC URL. Also
    support alias URLs so e.g. /doc/bcpXXXX redirects to /doc/rfcXXXX.

  - Fixed revision augmentation so events after RFC publication gets a "RFC"
    designation

  - Fixed a bug with tabs not using provided name but rather doc.name

  - Displaying draft-iesg state rather than doc.friendly_state as IESG state,
    also show a notice that the IESG state refers to post-RFC processing
    if it does, like the old separate RFC page did

  - Fixed the RFC number doc.note migration to catch combined "RFC XXX; BCP
    XXX" notes too, use the opportunity to remove inserted HTML tags from
    notes and rely on linebreaksbr filter instead (the other thing was a
    left-over from the Perl days), update the various uses of the note to
    reflect that

  - Refactored slightly to make views_doc.py independent of other idrfc code

  - Moveed idrfc/views_doc.py to doc/ with associated templates, replace the
    somewhat fragile simple URL tests for views_doc.py with ordinary unit
    tests. The new tests are still fairly basic but at least test more
    than the URL tests did.

  - Made 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

  - Now /doc/std1/ works, we can actually do a local link in
    urlize_ietf_docs rather than linking to the tools.ietf.org server

  - Fixed history text formatter: sanitize HTML before adding linebreaks and
    non-breaking spaces, this cuts the time to render a history page with
    long comments in half

  - Added a test crawler that walks through the crawlable part of the site,
    reporting errors and slow pages

  - Got rid of initial "No record" positions when showing old positions,
    it's just noise

  - Added a .select_related() to the document main tab to reduce the number
    of DB queries, unfortunately it seems it doesn't really help with
    Django 1.2.x due to a bug (Document inherits from DocumentInfo which
    makes things a bit more complicated)

  - Introduced a simple cache in doc.get_state so repeated reads don't
    cause a DB query

  - Cleaned up the search code in preparation for removal of the shim-layer;
    use a static button and don't send extraneous GET parameters

  - Removed dead code in several places
 - Legacy-Id: 5830
2013-07-15 20:55:24 +00:00
Henrik Levkowetz c696c0618d Removed duplicate '.errorlist' style.
- Legacy-Id: 5788
2013-06-11 10:46:47 +00:00
Emilio A. Sánchez López c12400641a Redesign the feedback pending template. See #975
- Legacy-Id: 5774
2013-06-05 06:32:17 +00:00
Henrik Levkowetz b7246168bf Fixed a problem with mismatched attribute names for ajax form field autocompletes. Closes issue #1049.
- Legacy-Id: 5771
2013-06-01 21:22:06 +00:00
Henrik Levkowetz bd0c07290a Merged in branch/iola/milestones, which provides datatracker support for management of WG milestones.
- Legacy-Id: 5739
2013-05-15 22:07:23 +00:00
Emilio A. Sánchez López ee1eec7de8 Refactored the feedback pending list. Now you can classify feedback as any type of feedback.
The feedback of a type that is not related to a nominee is classified inmediatly.
The feedback of a type that is related to a nominee must be completed with the nominee information.
Created a view to list feedback that is not related to nominees (e.g. offtopic)
Changed the command that retrieves feedback from email to add the subject inside the comment and to set the author using the from field of the email.
Fixes #1036. Fixes #1035
 - Legacy-Id: 5738
2013-05-15 16:33:01 +00:00