Commit graph

153 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 e78637b9fc Remove non-facelift static assets, and move the facelift assets one step up
- Legacy-Id: 8971
2015-02-04 17:03:43 +00:00
Ole Laursen 12faa4a2f8 Summary: Rewrite community tags to use the much simpler built-in tag parser
- Legacy-Id: 8968
2015-02-04 14:27:49 +00:00
Ole Laursen d0999c8b5e Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Henrik Levkowetz 25eb00c925 New django-1.7 initial migrations. Circular references exist, requiring explicit --fake migration for doc, dbtemplate and community apps.
- Legacy-Id: 8823
2014-12-22 17:07:38 +00:00
Henrik Levkowetz dd15785936 Removing south migrations as part of the django 1.7 changeover to builtin migrations.
- Legacy-Id: 8820
2014-12-22 16:44:35 +00:00
Henrik Levkowetz 770b36d575 Added generated (and sometimes manually tweaked) resources.py files.
- Legacy-Id: 8744
2014-12-14 20:33:25 +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
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
Ole Laursen f291a466d7 Change Document.shepherd to point to the email address rather than the
person, add migration to fix the existing shepherds, fix wording and
max entries on change shepherd page to be more self-explanatory
 - Legacy-Id: 8268
2014-08-13 11:40:01 +00:00
Shane Kerr 4d71417817 Untrack this document button added to draft document view.
- Legacy-Id: 8130
2014-07-19 19:44:30 +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 52936f21d1 Only turns WG and RG groups into links. Fixes bug #1421. Will apply to production as a patch. Commit ready for merge.
- Legacy-Id: 7888
2014-06-11 19:44:43 +00:00
Ole Laursen 0144ef366b Add description field on group, enable most group info page views to
work without a group type to pave the way for /group/<acronym>/ URLs,
make charter page more generic, enable it to handle descriptions and
walk over all personnel instead of picking out specific types
of roles, add a redirect view on /group/<acronym>/ to lead to either
documents/ or charter/, add simple group.features() class to be able
to condition on group features rather than specific group types,
adjust group pages menu accordingly
 - Legacy-Id: 7758
2014-05-20 10:19:26 +00:00
Ole Laursen ad357e0068 Parameterize the <wg> in /wg/<acronym> to allow for RGs, add simple /rg/ overview page based on similar /wg/ overview page, fix links and other WG/RG-specific details. All the basic pages under /rg/ now appear to be working for RGs. Edit pages and permissions are not adapted yet, though.
- Legacy-Id: 7535
2014-03-22 13:11:23 +00:00
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