Henrik Levkowetz
41c1c1a5fe
Removing the extra (misleading) draft about WG adoption which is sent out in addition to the state change emails when a call for addoption (WG) or adoption (RG) is done using the 'Adopt Draft in Group' form. The state change messages should be sufficient, and are not misleading. Fixes issue #1246 (and 1290).
...
- Legacy-Id: 7206
2014-02-04 22:00:07 +00:00
Henrik Levkowetz
908aacceff
Handle the case in is_downref() where the src file doesn't have a std_level or intended_std_level set.
...
- Legacy-Id: 7198
2014-01-31 19:08:49 +00:00
Henrik Levkowetz
2d420fac34
Merged additional django-port and shim-removal tweaks from olau@iola.dk: branch/iola/djangoport@7167.
...
- Legacy-Id: 7168
2014-01-26 16:30:52 +00:00
Henrik Levkowetz
6e97c2c8da
Merged in the port from Django 1.2 to Django 1.6 from olau@iola.dk: branch/iola/djangoport@7121, and fixed some merge issues.
...
- Legacy-Id: 7152
2014-01-18 21:02:40 +00:00
Ole Laursen
1ab82bdbed
Replace the somewhat fragile query for specific state descriptions
...
with a query for the appropriate event types, this should work now
that new events set the correct type and old events have been migrated
- Legacy-Id: 7140
2014-01-15 23:32:17 +00:00
Ole Laursen
697f76bf84
Add migration to convert old state change events to StateDocEvents
...
with type changed_state from changed_document, this allows us to
easily query for them
- Legacy-Id: 7139
2014-01-15 23:30:12 +00:00
Ole Laursen
886b6df981
Add match for "IESG state changed"
...
- Legacy-Id: 7130
2014-01-15 18:19:02 +00:00
Ole Laursen
87ca10d122
Remove usage of log_state_changed (and duplicate in
...
doc/utils_charter.py) in favour of add_state_change_event which has
slightly better API but otherwise does basically the same except it
sets an event type we can later search for. Also expand tests slightly
to exercise three more templates.
- Legacy-Id: 7129
2014-01-15 17:52:00 +00:00
Ole Laursen
6b2d50db93
Implement missing charter tests as found by the coverage check
...
- Legacy-Id: 7127
2014-01-14 15:50:03 +00:00
Ole Laursen
7e00fa1424
Move the Secretariat group email utility to wginfo and the rest of the wgcharter stuff to doc/(views|urls|utils)_charter.py alongside the other document types
...
- Legacy-Id: 7121
2014-01-13 16:08:58 +00:00
Ole Laursen
b4dfae121b
Integrate old patch for warning on the request for publication page if
...
intended std level and consensus is not filled in for the draft before
sending it (as per discussion with Alice Russo) - the consensus check
is skipped for ISE drafts
- Legacy-Id: 7103
2014-01-10 17:16:12 +00:00
Ole Laursen
f591735b7d
Fix subtle search bug found by stream pages tests, the query was
...
checking a StreamName against the slug, which happened to work with
MySQL because the stream name is the same as the slug, just uppercase
- but MySQL is case insensitive
- Legacy-Id: 7091
2014-01-09 17:52:42 +00:00
Ole Laursen
84136cb5ae
Add missing doc page tests, found by the coverage check
...
- Legacy-Id: 7087
2014-01-09 17:03:59 +00:00
Ole Laursen
a5f5eb84d3
With the new test discovery mechanism in Django 1.6 (inherited from
...
unittest2 in Python 2.7), manually importing tests from files starting
with test* will run them twice, so don't do that
- Legacy-Id: 7030
2013-12-20 13:08:38 +00:00
Ole Laursen
defb116721
Use prefetch_related to reduce the number of queries on the search page and in idindex generation, adjust a couple of members on Document slightly to not filter on relations (filtering doesn't work with prefetch_related)
...
- Legacy-Id: 6992
2013-12-18 16:58:34 +00:00
Ole Laursen
cb4d5b7c2b
Simplify make_test_data a bit by using the create_person helper for the chair and WG delegate, regularize the naming of those
...
- Legacy-Id: 6990
2013-12-18 16:27:02 +00:00
Ole Laursen
8afd3fa5b7
Rewrite wg_menu tag to use simple_tag instead of a full template Node,
...
also fix a bug in the cache apparently not being filled in correctly
- Legacy-Id: 6971
2013-12-18 10:25:59 +00:00
Ole Laursen
e2e6c243a1
Remove the complicated tag processing from ballot_icon, instead just
...
decorate the function with @simple_tag(takes_context=True)
- Legacy-Id: 6970
2013-12-18 10:22:30 +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
ea24f5c3bd
Import slugify from django.utils.text (introduced in Django 1.5)
...
- Legacy-Id: 6967
2013-12-18 10:00:58 +00:00
Henrik Levkowetz
ecb5cd6526
Merged in branch/iola/shimfree@6856. This pretty much completes the shim removal. Next step is upgrading Django to 1.6, and then doing some final polishing.
...
- Legacy-Id: 6966
2013-12-17 21:29:05 +00:00
Ole Laursen
d1782297ab
assertEquals -> assertEqual in tests, the former is deprecated
...
- Legacy-Id: 6964
2013-12-17 12:52:24 +00:00
Ole Laursen
d66ac15fc2
Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
...
take advantage of the redirect shortcut (introduced in Django 1.1)
- Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Henrik Levkowetz
24fb84c7de
Merged [6701] from rjsparks@nostrum.com:
...
Adds pages to show what a given document refers to and what refers to it.
Fixes bug #1194
commit ready for merge
- Legacy-Id: 6951
Note: SVN reference [6701] has been migrated to Git commit d19967ac93
2013-12-16 22:15:52 +00:00
Ole Laursen
84a9f49053
mimetype -> content_type (mimetype is deprecated)
...
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen
5021ed5629
Port feed setup to new feed API where each feed is a class-based view
...
- Legacy-Id: 6939
2013-12-16 16:29:22 +00:00
Ole Laursen
8017c8eaf2
Fix a bunch of test errors, apparently the Textarea widget in Django
...
now outputs a newline in the beginning - this doesn't seem make a
difference for browsers, but it means testing with PyQuery needs to
strip the text to be able to check accurately
- Legacy-Id: 6931
2013-12-16 11:47:32 +00:00
Ole Laursen
0006b9ddcc
Make sure all model forms have a Meta.fields attribute
...
- Legacy-Id: 6927
2013-12-13 17:20:02 +00:00
Ole Laursen
a2c13b70d1
Make sure all BooleanFields have an explicit default value (with
...
Django < 1.6 it used to be False implicitly)
- Legacy-Id: 6908
2013-12-13 13:30:07 +00:00
Ole Laursen
9b8fe8bd50
Move is_safe to parameter on template filter
...
- Legacy-Id: 6902
2013-12-12 12:27:33 +00:00
Ole Laursen
d1e60e533c
Fix a couple of problems in previous URL conversion commit
...
- Legacy-Id: 6887
2013-12-11 17:13:49 +00:00
Ole Laursen
46247a2ba6
Port away from django.utils.truncate_(html_)words which is now gone, use the template filter versions instead
...
- Legacy-Id: 6885
2013-12-11 17:07:43 +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
c15063f3c2
Adjust the import path for feeds
...
- Legacy-Id: 6879
2013-12-11 16:40:49 +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
f5b2cfbc42
Make MEDIA_URL end in slash
...
- Legacy-Id: 6874
2013-12-11 15:29:38 +00:00
Ole Laursen
3e709e3f24
Remove proxies
...
- Legacy-Id: 6826
2013-12-07 12:01:57 +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
5f002cf0ac
Fix some test errors
...
- Legacy-Id: 6795
2013-12-05 15:30:17 +00:00
Ole Laursen
18743a3e96
mark_safe result from parse_email_list filter, fix an import bug
...
- Legacy-Id: 6792
2013-12-04 18:25:44 +00:00
Ole Laursen
bbcbfc3a05
Drop the obsolete backwards-compatible email.Utils import in
...
ietf_filters, add strip_email filter for getting rid of the email part
of a "name <email@example.com>" string, fix spelling mistake
- Legacy-Id: 6791
2013-12-04 17:59:25 +00:00
Ole Laursen
8a4990cb1e
Remove some redundant imports from doc/proxy.py
...
- Legacy-Id: 6783
2013-12-03 19:00:52 +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
cadedce023
Port cookies/ away from use of |equal filter, remove |equal filter
...
- Legacy-Id: 6776
2013-12-02 18:11:01 +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
9457669310
Merge in changes from the old shimfree branch
...
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen
66bff20847
Remove legacy ballot_json view which has not worked for a while
...
- Legacy-Id: 6720
2013-11-19 16:07:29 +00:00
Ole Laursen
3a483461a2
Add simple split filter, as the opposite of the built-in join filter
...
- Legacy-Id: 6710
2013-11-15 12:49:37 +00:00
Robert Sparks
d19967ac93
Adds pages to show what a given document refers to and what refers to it.
...
Fixes bug #1194
commit ready for merge
- Legacy-Id: 6701
2013-11-11 23:12:53 +00:00
Henrik Levkowetz
ba70c3067a
Merged [6696] from tterriberry@mozilla.com:
...
Improve e-mails from replaced-by updates.
Fix an incorrectly-expanded file tag in the subject.
Fixes #1178 .
Use a slightly more natural grammatical construct in the message body.
Fixes #1179 .
- Legacy-Id: 6699
Note: SVN reference [6696] has been migrated to Git commit 03896647cc
2013-11-08 18:56:24 +00:00