Commit graph

9 commits

Author SHA1 Message Date
Henrik Levkowetz 342b2d3cb5 Removed the unnecessary get_and_create() of community.model.DisplayConfiguration on community page GET.
- Legacy-Id: 9010
2015-02-06 11:27:50 +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
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 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
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 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 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 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