Henrik Levkowetz
a4768bb514
Removed unused imports. Added some explicit orderings to avoid pagination issues.
...
- Legacy-Id: 14664
2018-02-21 23:54:31 +00:00
Henrik Levkowetz
06362ec046
Got rid of old migrations and created new initial migrations.
...
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz
5638cf3da3
Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
...
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Ryan Cross
6772afdd24
Update secretariat admin permissions. Change AnnouncementFrom.address to CharField because full emails, with real name, fail EmailField validation. Includes migration. Commit ready for merge.
...
- Legacy-Id: 14104
2017-09-06 22:42:15 +00:00
Henrik Levkowetz
4dad8cdf9a
Added a test to check for missing admin models, and added the admin models that were currently missing.
...
- Legacy-Id: 14021
2017-08-01 14:00:29 +00:00
Henrik Levkowetz
e54a24b931
Added a couple of missing migrations.
...
- Legacy-Id: 14010
2017-07-31 12:11:08 +00:00
Henrik Levkowetz
868427a645
Merged in [13996] from rcross@amsl.com:
...
Move Announcement app From addresses out of code and into database table. Fixes #1681 .
- Legacy-Id: 14006
Note: SVN reference [13996] has been migrated to Git commit d49787a0f6060e7db64f5a0e684bf1d980f85290
2017-07-29 18:12:45 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
fd9a0d12b5
Renamed a couple of migrations.
...
- Legacy-Id: 12973
2017-03-05 12:03:15 +00:00
Henrik Levkowetz
60ddd61727
Tweaked Message.msgid and added needed migrations for the field. The first migration creates the new column with NULL values for existing rows, the second adds creation of msgid values by default for new rows.
...
- Legacy-Id: 12961
2017-03-03 21:17:12 +00:00
Henrik Levkowetz
4159586994
Added a msgid field to the Message model.
...
- Legacy-Id: 12953
2017-03-03 15:41:19 +00:00
Henrik Levkowetz
988a2b808f
Added explicit charset setting and consistent encoding to several email paths through the datatracker. After introducing support for non-ascii names in email addresses, using role.formatted_email() to insert names into email content doesn't work any more, since uncode names will now be rfc2047-encoded in formatted_email(). Added another method role.name_and_email() for this case. Replaced another case of '%s <%s>' name-and-email formatting with formataddr(). Fixed some tests which did not send unicode email bodies to the email functions. Fixes issue #2017 .
...
- Legacy-Id: 12896
2017-02-21 19:17:10 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
7f772641d4
Change the cache key construction to deal with query arguments containing spaces. Fixes 500 errors which would otherwise occur.
...
- Legacy-Id: 12035
2016-09-25 13:53:22 +00:00
Henrik Levkowetz
d22979c93e
Added a missing migration.
...
- Legacy-Id: 11962
2016-09-10 20:02:56 +00:00
Henrik Levkowetz
7a8c067d83
Changed a state name, and renamed some view functions for easier code reading. Removed extra name= parameters from the submit/ urlpatterns.
...
- Legacy-Id: 11917
2016-09-01 09:14:34 +00:00
Mike Douglass
fa3a34389e
Merge forward to 6.31.1.dev0
...
- Legacy-Id: 11899
2016-08-31 03:00:10 +00:00
Henrik Levkowetz
289dd0c2a9
Minor tweaks.
...
- Legacy-Id: 11343
2016-06-13 14:03:19 +00:00
Henrik Levkowetz
987dabb200
Added an initial migration for messages.
...
- Legacy-Id: 11255
2016-05-30 21:54:41 +00:00
Henrik Levkowetz
6e6a8baa13
Fixed a typo.
...
- Legacy-Id: 10931
2016-03-15 23:15:44 +00:00
Henrik Levkowetz
adb8625635
Introduced caching for the api resources.
...
- Legacy-Id: 10929
2016-03-15 23:12:04 +00:00
Henrik Levkowetz
846a02c3f9
Fixed pyflakes complaints introduced with pyflakes 1.1.0
...
- Legacy-Id: 10896
2016-03-04 21:24:26 +00:00
Henrik Levkowetz
cf7d794b09
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
...
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Henrik Levkowetz
2fe8dcb4c2
Added a very simple html version of the json API, to make it easier to explore the api manually.
...
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz
5183042d58
Merged in branch/amsl/iprtool/5.7.4@8734 from rcross@amsl.com, providing new IPR models, refactored code, and improved list, search, and management interfaces.
...
- Legacy-Id: 8808
2014-12-21 19:26:33 +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
Henrik Levkowetz
8f224af90c
Made ietf/message pyflakes-clean.
...
- Legacy-Id: 7474
2014-03-15 19:02:23 +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
6d94351553
Add __unicode__ to SendQueue
...
- Legacy-Id: 6772
2013-11-28 18:12:45 +00:00
Ole Laursen
6c2b3be8d6
Fix admin for SendQueue so message is in raw_id_fields
...
- Legacy-Id: 6771
2013-11-28 18:08:30 +00:00
Ole Laursen
85d998a18a
Remove the old NomCom announcements sitemap, with the existing overview page it does not appear to be useful at all, remove remaining traces of the old announcements app
...
- Legacy-Id: 6770
2013-11-28 17:58:06 +00:00
Ole Laursen
d0f2859631
Move NomCom announcements view to nomcom/, move message view to
...
message/, add tests, add redirects, fix a couple of small bugs in the
announcements view
- Legacy-Id: 6769
2013-11-28 17:55:10 +00:00
Ole Laursen
78d9bfff24
Move send_scheduled_announcement functionality to messages/utils.py
...
- Legacy-Id: 6768
2013-11-28 13:05:51 +00:00
Ole Laursen
480cb04cd6
Save announcements generated by the system as Messages, adding an
...
extra relation to be able to associate a draft with the message
- Legacy-Id: 3917
2012-02-08 21:05:28 +00:00
Ole Laursen
da625e5db3
Order messages in reverse time in admin
...
- Legacy-Id: 3859
2012-01-25 15:16:28 +00:00
Ole Laursen
2df0811f3b
Actually add the message app
...
- Legacy-Id: 3857
2012-01-24 17:42:19 +00:00