Henrik Levkowetz
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
63f0896644
Changed tobinary file mode for pdf file. Fixed a str/num comparison.
...
- Legacy-Id: 16417
2019-07-07 12:59:26 +00:00
Henrik Levkowetz
f8d4c3c9a6
More assertContains() and BytesIO() related changes.
...
- Legacy-Id: 16411
2019-07-07 12:45:57 +00:00
Henrik Levkowetz
40fb7b3588
Added a missing import.
...
- Legacy-Id: 16407
2019-07-06 19:22:37 +00:00
Henrik Levkowetz
40ab3c949f
Added missing code to skip coverage measurement for skippable tests.
...
- Legacy-Id: 16406
2019-07-06 17:27:49 +00:00
Henrik Levkowetz
77e055264e
Fixed an incorrect test that compared the meeting number string with an integer.
...
- Legacy-Id: 16395
2019-07-04 20:56:35 +00:00
Henrik Levkowetz
f33ecaa1a4
Fixed a test that compared an int with a meeting number string. Changed meeting test data to use meeting number 72 instead of 42, because proceedings code gives 404 for meetings before 65. Changed a number of StringIO() to BytesIO().
...
- Legacy-Id: 16378
2019-07-04 16:01:32 +00:00
Henrik Levkowetz
97a555936d
Changed a large number of test assertions to use assertContains() and removed separate, now unnecessary,status_code checks. Also changed many assertTrue(... in ...) to use assertIn().
...
- Legacy-Id: 16346
2019-06-30 21:03:34 +00:00
Henrik Levkowetz
36cac48063
Fixed a bunch of str/bytes issues.
...
- Legacy-Id: 16341
2019-06-30 20:54:09 +00:00
Henrik Levkowetz
05f275a3af
Changed instances of json.loads(r.content) to r.json(). Changed some instances of assert* to assertContains.
...
- Legacy-Id: 16338
2019-06-30 20:44:45 +00:00
Henrik Levkowetz
15e74e89cb
Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
...
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz
484dcece5f
Changed all model __unicode__() methods to __str__()
...
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz
318bd0d5ea
Changed regex strings to r strings.
...
- Legacy-Id: 16320
2019-06-28 13:32:50 +00:00
Henrik Levkowetz
2fdaa7f9c4
Changed sort() argument to use key=
...
- Legacy-Id: 16314
2019-06-27 18:10:13 +00:00
Henrik Levkowetz
06daf6ac65
Changed regex strings to raw strings.
...
- Legacy-Id: 16312
2019-06-27 18:08:02 +00:00
Henrik Levkowetz
3ec7e864be
Converted leading tabs to spaces in ietf/**/*.py
...
- Legacy-Id: 16310
2019-06-27 14:51:02 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
db12f2b948
Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729 .
...
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Henrik Levkowetz
7270d5f67a
Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
...
- Legacy-Id: 16284
2019-06-18 12:40:19 +00:00
Henrik Levkowetz
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
a2cafded25
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
...
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz
815602351f
This is a series of 50 migrations that changes the Document and DocAlias
...
primary keys from character strings to integers, and makes corresponding code
changes.
This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.
Changing the primary keys to integers should also improve efficiency.
Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time. The total set of migrations are expected to have
a runtime on the order of 2 hours.
- Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Henrik Levkowetz
3502a49cab
Fixed a problem in 3 views that were accessible through URLs without meeting numbers (e.g., .../meeting/proceedings/overview/) but gave 500 errors when accessed.
...
- Legacy-Id: 16185
2019-05-02 20:00:07 +00:00
Henrik Levkowetz
beb631c8d6
New country info from updated pytz timezone library
...
- Legacy-Id: 16166
2019-04-26 10:06:48 +00:00
Henrik Levkowetz
8b44e43168
Added a missing test directory cleanup action.
...
- Legacy-Id: 16157
2019-04-25 13:13:03 +00:00
Henrik Levkowetz
6892a55db0
Fixed a migrations conflict
...
- Legacy-Id: 16128
2019-04-03 10:28:49 +00:00
Henrik Levkowetz
c52bec1ea7
Merged in [16103] from rjsparks@nostrum.com:
...
Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets.
- Legacy-Id: 16119
Note: SVN reference [16103] has been migrated to Git commit 0b3cf0a1af
2019-03-28 13:03:30 +00:00
Henrik Levkowetz
d565375028
Merged in [16102] from rjsparks@nostrum.com:
...
Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403 .
- Legacy-Id: 16118
Note: SVN reference [16102] has been migrated to Git commit becad91b0b
2019-03-28 13:02:29 +00:00
Robert Sparks
0b3cf0a1af
Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets. Commit ready for merge.
...
- Legacy-Id: 16103
2019-03-26 09:34:17 +00:00
Robert Sparks
becad91b0b
Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403 . Commit ready for merge.
...
- Legacy-Id: 16102
2019-03-25 16:10:00 +00:00
Henrik Levkowetz
f635b2f973
Merged in [16085] from rcross@amsl.com:
...
Fix issue where cancelling one break session causes other breaks to get cancelled. Fixes #2699 .
- Legacy-Id: 16090
Note: SVN reference [16085] has been migrated to Git commit 2842ad12bb
2019-03-23 16:31:17 +00:00
Henrik Levkowetz
bde205b4ab
Added filtering by meeting for the UrlResource admin.
...
- Legacy-Id: 16086
2019-03-23 15:05:05 +00:00
Ryan Cross
2842ad12bb
Fix issue where cancelling one break session causes other breaks to get cancelled. Fixes #2699 . Commit ready for merge.
...
- Legacy-Id: 16085
2019-03-23 14:49:33 +00:00
Henrik Levkowetz
b610f0b099
Added a skipIf() decorator for a test which should not be run unless the ghostscript binary is available in the test environment.
...
- Legacy-Id: 16076
2019-03-23 08:38:22 +00:00
Henrik Levkowetz
682ddee8e4
Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
...
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz
435a0da12d
Added on_behalf_of() calls for from addresses needing it throughout the code.
...
- Legacy-Id: 15992
2019-03-04 20:14:19 +00:00
Henrik Levkowetz
bbb873c9d4
Merged in [15982] from rjsparks@nostrum.com:
...
Add session.short to the output from meeting/agenda.json when it is available.
- Legacy-Id: 15983
Note: SVN reference [15982] has been migrated to Git commit ca8c3031ea
2019-02-26 21:07:12 +00:00
Robert Sparks
ca8c3031ea
Add session.short to the output from meeting/agenda.json when it is available. Commit ready for merge.
...
- Legacy-Id: 15982
2019-02-26 19:04:55 +00:00
Henrik Levkowetz
57a4c9f41f
Added 9 new group features, and changed list-like char fields to json fields, to get better support for using the values as lists. Modified code to use the group features instead of explicit lists of group types in many places in the code.
...
- Legacy-Id: 15908
2019-01-22 18:11:46 +00:00
Henrik Levkowetz
c4707119f4
Updated the timezone information to match the latest timezone database release (2018i)
...
- Legacy-Id: 15878
2019-01-14 13:54:28 +00:00
Robert Sparks
25cc00f925
Refactored DocumentInfo to address overloading the external_url field with strings that are not URLs. Commit ready for merge.
...
- Legacy-Id: 15864
2019-01-02 22:55:00 +00:00
Robert Sparks
590e20c00f
Provide a correct link to jabber logs for plenaries in past agendas. Fixes #2641 . Commit ready for merge.
...
- Legacy-Id: 15816
2018-12-13 19:51:18 +00:00
Henrik Levkowetz
8180716efa
Added a couple of assertion to help understand test coverage percentage variations
...
- Legacy-Id: 15751
2018-11-11 12:19:29 +00:00
Henrik Levkowetz
ddf3385f11
Merged in [15694] from rjsparks@nostrum.com:
...
Clearly label cancelled sessions on the week-view on the agenda page. Fixes #2619 .
- Legacy-Id: 15726
Note: SVN reference [15694] has been migrated to Git commit 5db8831b81
2018-11-06 04:52:46 +00:00
Henrik Levkowetz
07dd66e2e6
Added a guard against getting the attribute of None in api_set_session_video_url(). Fixes a server 500 for some hackathon sessions.
...
- Legacy-Id: 15716
2018-11-05 04:33:25 +00:00
Robert Sparks
5db8831b81
Clearly label cancelled sessions on the week-view on the agenda page. Fixes #2619 . Commit ready for merge.
...
- Legacy-Id: 15694
2018-11-03 06:57:59 +00:00
Henrik Levkowetz
6befbfd149
Merged in [15648] from rjsparks@nostrum.com:
...
Use only ietf meetings for testing editing timeslots.
- Legacy-Id: 15649
Note: SVN reference [15648] has been migrated to Git commit e981e8c7b8f0bf80c9c536c4c7288e38d0b48f95
2018-11-02 02:02:26 +00:00