Commit graph

188 commits

Author SHA1 Message Date
Henrik Levkowetz c19268f6a1 A second pass of pyflakes cleanup, removing additional bulk imports, fixing a bug in get_initial_notify(), and removing some dead (and buggy) code.
- Legacy-Id: 7509
2014-03-16 22:15:46 +00:00
Henrik Levkowetz 5bef5d11ae Made doc/ pyflakes-clean.
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Ole Laursen 2922495e65 Fix bug in community list, the show_field templatetag is now getting
the fields already instantiated while the tag was expecting to
instantiate them
 - Legacy-Id: 7099
2014-01-10 14:50:17 +00:00
Ole Laursen 7f277a8fbb Replace user.get_profile() with user.person, the profile stuff is deprecated since Django 1.5
- Legacy-Id: 6968
2013-12-18 10:13:40 +00:00
Ole Laursen 84a9f49053 mimetype -> content_type (mimetype is deprecated)
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen 2c510adca9 Fix problem with missing label= in community form field declation
- Legacy-Id: 6900
2013-12-12 12:17:26 +00:00
Ole Laursen 6a98fec2c3 Use built-in json module in Python instead of simplejson bundled with Django
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen cfa0d47ca0 Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen fb55fc4c4b Replace reference to redesign.doc.models, replace redundant filter on
both type=draft and state=rfc in community script
 - Legacy-Id: 6830
2013-12-07 12:28:47 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Markus Stenberg 0d5a505697 Addressed #1074 - approved by mr. Kivinen.
- Legacy-Id: 6627
2013-11-02 22:13:43 +00:00
Ole Laursen 210a90e0b4 Remove unused ietfworkflows import
- Legacy-Id: 6253
2013-09-24 16:53:23 +00:00
Henrik Levkowetz 8d80e3b392 Merged [5509] from ietf@augustcellars.com:
Add new rules to the atom tracker for picking up documents in specific states
Add new rules to the atom tracker for picking up RFCs
Change the header fields on the RFC table so that they reflect RFC descriptions rather than I-D descriptions.
 - Legacy-Id: 5561
Note: SVN reference [5509] has been migrated to Git commit 7ef255b0b1
2013-03-13 15:31:36 +00:00
Henrik Levkowetz 907d7b9636 Changed the community tool email notification code to not try to send to nobody, and to use individual To: addressing rather bulk Bcc: addressing.
- Legacy-Id: 5536
2013-03-09 23:04:51 +00:00
Henrik Levkowetz 5f51f20409 Added a migration for the new unique_together constraint of [5460].
- Legacy-Id: 5462
Note: SVN reference [5460] has been migrated to Git commit f7d979c83e
2013-02-24 21:22:08 +00:00
Henrik Levkowetz 64c4199877 Unwrap some fairly plain model fields. No code change, just textual.
- Legacy-Id: 5461
2013-02-24 21:20:50 +00:00
Jim Schaad a18bebe7bd Make sure that the same rule cannot be entered twice in a community list.
As part of this fix, you need to do the following:
1.  Eliminate duplicates currently in the data base.  This statement can be used to identify them.

SELECT e1.id id1, e2.id id2, e1.community_list_id, e1.rule_type, e1.value FROM ietf_utf8.community_rule e1 JOIN ietf_utf8.community_rule e2 ON (e1.id != e2.id AND e1.community_list_id=e2.community_list_id AND e1.rule_type=e2.rule_type AND e1.value=e2.value);

2.  Delete any current duplicate lines in the text.  This uses the following commands as of the check-in

DELETE FROM TABLE ietf_utf8.community_rule WHERE id=19 OR id=91 OR id=177

3.  Add a constraint to the table so that it will enforce the rule itself

ALTER TABLE ietf_utf8.community_rule ADD CONSTRAINT pc_CommunityRule UNIQUE (community_list_id, rule_type, value)
 - Legacy-Id: 5426
2013-02-09 18:09:33 +00:00
Jim Schaad cb1593d6a2 Modify atom change feed so that
1.  It returns the last 14 days of changes rather than the last 20
2.  Change the atom template so that it has correct time offsets rather than saying that PST and UTC are the same
3.  Change the atom template so that it uses content rather than summary and return HTML content with line breaks as needed.
 - Legacy-Id: 5425
2013-02-04 17:45:03 +00:00
Henrik Levkowetz c0cda6db56 Fixed problem with displaying ISE stream documents.
- Legacy-Id: 4747
2012-08-02 20:38:43 +00:00
Henrik Levkowetz 554d3a9d28 Added an extra guard against trying to call .is_authenticated on a string.
- Legacy-Id: 4624
2012-07-20 11:35:05 +00:00
Henrik Levkowetz 207f90b58f Change personal tracking rule update frequency to run every hour.
- Legacy-Id: 4623
2012-07-20 11:34:23 +00:00
Henrik Levkowetz 93e38ee7de Introduce a line break to clean up the state display for tracked drafts a bit.
- Legacy-Id: 4609
2012-07-10 09:03:44 +00:00
Henrik Levkowetz 3ade3e443f Sort WGs in the community rules drop-down list by acronym rather than WG name.
- Legacy-Id: 4586
2012-07-04 14:10:55 +00:00
Henrik Levkowetz e61e4f0893 Provided a more comprehensive document state indication. May need further refinement.
- Legacy-Id: 4585
2012-07-04 13:31:04 +00:00
Henrik Levkowetz 4cb0643c9e Tweaked the community tracker links in the lefthand menubar to avoid line breaking for the WG documents link visible to WG chairs.
- Legacy-Id: 4584
2012-07-04 12:14:37 +00:00
Henrik Levkowetz c8af089ab1 Fix a bug which made the community tracking code crash when search results would show an old RFC without an associated draft.
- Legacy-Id: 4569
2012-07-03 13:46:23 +00:00
Henrik Levkowetz 71894599bf Tweak the menubar listing of community tracking to show when login is needed, some other text tweaks, and fitting the I-D tracking links under Drafts and RFCs where they seem to belong.
- Legacy-Id: 4568
2012-07-03 13:44:52 +00:00
Henrik Levkowetz 007bf1959c Disable the reference-to/referenced-by rules; they will only produce hits after we populate the document relationship table with reference information.
- Legacy-Id: 4540
2012-06-27 20:24:22 +00:00
Henrik Levkowetz 02e161e496 Simplify document by WG display name code.
- Legacy-Id: 4539
2012-06-27 20:23:06 +00:00
Henrik Levkowetz 612ea9fd09 Use the raw parameter to get_values to make the wg link not appear in the cvs export.
- Legacy-Id: 4532
2012-06-27 12:55:00 +00:00
Henrik Levkowetz adeafe8df2 Changed the group link on the personal doc list page to use the group acronym instead of whole name, and made the acronym a link to the wg documents page.
- Legacy-Id: 4531
2012-06-27 10:46:36 +00:00
Henrik Levkowetz e3a2b6113f When adding a rule for I-Ds, only apply the selection to active I-Ds, not those which are expired or published.
- Legacy-Id: 4528
2012-06-27 10:08:05 +00:00
Henrik Levkowetz 956b3d39df Changes to the rule specifications for document tracking lists: Simplify the filter rules, show acronym in wg and area selection lists, list only ADs of active areas.
- Legacy-Id: 4527
2012-06-27 09:48:04 +00:00
Henrik Levkowetz c55a25461b New schema models have moved from redesign/ to ietf/; fix community sources accordingly.
- Legacy-Id: 4526
2012-06-27 08:46:04 +00:00
Henrik Levkowetz fdff56bd21 New schema models have moved from redesign/ to ietf/; fix community sources accordingly.
- Legacy-Id: 4525
2012-06-27 08:44:36 +00:00
Henrik Levkowetz 822f9cff3f Remove the grep based searches in utils.py; they are too costly. If tracing lists based on word search is needed, another implementation must be found.
- Legacy-Id: 4524
2012-06-27 08:42:34 +00:00
Henrik Levkowetz 36387810a7 New schema models have moved from redesign/ to ietf/; fix community sources accordingly.
- Legacy-Id: 4522
2012-06-27 08:38:55 +00:00
Henrik Levkowetz 89ac692442 Added in the community app, which wasn't included properly in the previous commit.
- Legacy-Id: 4519
2012-06-27 08:26:18 +00:00