Fix: Removing notifycompat & notifyevents (#8258)

This commit is contained in:
Shivam Singhal 2018-05-16 23:31:26 +05:30 коммит произвёл Andrew Williamson
Родитель 344a58a381
Коммит a1db1e4871
32 изменённых файлов: 15 добавлений и 102 удалений

Просмотреть файл

@ -7,8 +7,6 @@
"email": "scott@bakula.com",
"display_collections": 1,
"display_collections_fav": 1,
"notifycompat": 1,
"notifyevents": 1,
"created": "2010-09-08 07:06:05",
"modified": "2010-09-08 07:06:05"
}
@ -21,8 +19,6 @@
"email": "milos@dinic.com",
"display_collections": 1,
"display_collections_fav": 1,
"notifycompat": 1,
"notifyevents": 1,
"created": "2010-09-08 07:06:05",
"modified": "2010-09-08 07:06:05"
}

Просмотреть файл

@ -134,7 +134,6 @@
"averagerating": null,
"homepage": "",
"email": "the-author@nowehere.com",
"notifycompat": false,
"username": "theauthor",
"biography": "Bio: This is line one.\n\nThis is line two",
"failed_login_attempts": 0,
@ -145,7 +144,6 @@
"notes": "",
"modified": "2010-09-12 07:34:47",
"last_login_ip": "",
"notifyevents": false,
"last_login": "2010-09-12 07:34:47"
}
},

Просмотреть файл

@ -146,7 +146,6 @@
"averagerating": null,
"homepage": "",
"email": "the-author1@nowehere.com",
"notifycompat": false,
"username": "theauthor1",
"biography": "Bio1: This is line one.\n\nThis is line two",
"failed_login_attempts": 0,
@ -157,7 +156,6 @@
"notes": "",
"modified": "2010-09-12 07:34:47",
"last_login_ip": "",
"notifyevents": false,
"last_login": "2010-09-12 07:34:47"
}
},
@ -174,7 +172,6 @@
"averagerating": null,
"homepage": "",
"email": "the-author2@nowehere.com",
"notifycompat": false,
"username": "theauthor2",
"biography": "Bio2: This is line one.\n\nThis is line two",
"failed_login_attempts": 0,
@ -185,7 +182,6 @@
"notes": "",
"modified": "2010-09-12 07:34:47",
"last_login_ip": "",
"notifyevents": false,
"last_login": "2010-09-12 07:34:47"
}
},

Просмотреть файл

@ -146,7 +146,6 @@
"display_collections": false,
"averagerating": 4.84,
"display_name": "ditman",
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.ditman.net",
@ -162,7 +161,6 @@
"notes": null,
"modified": "2009-01-19 15:19:53",
"last_login_ip": "",
"notifyevents": true,
"last_login": "2009-01-19 15:19:53"
}
},

Просмотреть файл

@ -100,7 +100,6 @@
"display_collections": false,
"averagerating": 4.24,
"display_name": null,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.yoono.com/",
@ -116,7 +115,6 @@
"notes": null,
"modified": "2010-05-12 16:10:49",
"last_login_ip": "",
"notifyevents": true,
"last_login": "2010-05-12 16:10:49"
}
},

Просмотреть файл

@ -222,7 +222,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 3.11,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.yahoo.com/",
@ -236,7 +235,6 @@
"created": "2007-03-05 13:09:56",
"notes": null,
"modified": "2010-05-19 16:41:22",
"notifyevents": true,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2010-05-20 13:00:37"
}

Просмотреть файл

@ -66,7 +66,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 4.75,
"notifycompat": false,
"picture_type": "",
"occupation": "",
"homepage": "",
@ -79,8 +78,7 @@
"created": "2007-03-05 13:09:37",
"notes": null,
"modified": "2010-05-11 00:11:05",
"last_login": "2010-05-11 00:11:05",
"notifyevents": false
"last_login": "2010-05-11 00:11:05"
}
},
{

Просмотреть файл

@ -83,7 +83,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 4.00,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "",
@ -95,8 +94,7 @@
"display_name": "41 \u0627\u0644\u062a\u0637\u0628",
"created": "2007-03-05 13:09:33",
"notes": null,
"modified": "2007-03-05 13:09:33",
"notifyevents": true
"modified": "2007-03-05 13:09:33"
}
},
{

Просмотреть файл

@ -102,7 +102,6 @@
"display_collections_fav": true,
"display_collections": true,
"averagerating": 3.38,
"notifycompat": true,
"picture_type": "image/jpeg",
"occupation": "Internets",
"homepage": "http://micropipes.com/blog/",
@ -114,8 +113,7 @@
"created": "2007-03-05 13:09:38",
"notes": null,
"modified": "2010-05-20 14:54:52",
"last_login": "2010-05-20 14:54:52",
"notifyevents": true
"last_login": "2010-05-20 14:54:52"
}
},
{

Просмотреть файл

@ -164,7 +164,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 4.09,
"notifycompat": true,
"picture_type": "image/png",
"occupation": "Software Developer",
"homepage": "http://www.chrisfinke.com/",
@ -177,7 +176,6 @@
"notes": null,
"modified": "2010-05-07 15:22:13",
"created": "2007-03-05 13:09:34",
"notifyevents": true,
"last_login": "2010-05-07 15:22:13"
}
},

Просмотреть файл

@ -122,7 +122,6 @@
"display_collections_fav": true,
"display_collections": true,
"averagerating": 3.86,
"notifycompat": true,
"picture_type": "image/jpeg",
"occupation": "",
"homepage": "http://ginatrapani.org",
@ -134,7 +133,6 @@
"notes": null,
"created": "2007-03-05 13:09:58",
"modified": "2010-05-17 13:53:12",
"notifyevents": true,
"last_login": "2010-05-21 10:36:25"
}
},

Просмотреть файл

@ -86,7 +86,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 3.11,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.yahoo.com/",
@ -99,8 +98,7 @@
"created": "2007-03-05 13:09:56",
"notes": null,
"modified": "2010-05-19 16:41:22",
"last_login": "2010-05-19 16:41:22",
"notifyevents": true
"last_login": "2010-05-19 16:41:22"
}
},
{

Просмотреть файл

@ -126,7 +126,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 4.01,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.cooliris.com",
@ -139,7 +138,6 @@
"created": "2007-03-05 13:09:37",
"notes": null,
"modified": "2010-05-07 14:42:58",
"notifyevents": true,
"last_login": "2010-05-07 14:42:58"
}
}

Просмотреть файл

@ -97,7 +97,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 3.83,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://richard.jones.name",
@ -109,8 +108,7 @@
"display_name": "802 \u0627\u0644\u062a\u0637\u0628",
"created": "2007-03-05 13:09:33",
"notes": null,
"modified": "2007-11-15 02:59:19",
"notifyevents": true
"modified": "2007-11-15 02:59:19"
}
},
{

Просмотреть файл

@ -81,7 +81,6 @@
"display_collections_fav": false,
"display_collections": true,
"averagerating": 4.33,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "",
@ -93,8 +92,7 @@
"display_name": "softcup \u0627\u0644\u062a\u0637\u0628",
"created": "2007-03-05 13:09:37",
"notes": null,
"modified": "2009-07-16 07:35:59",
"notifyevents": true
"modified": "2009-07-16 07:35:59"
}
},
{

Просмотреть файл

@ -91,7 +91,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 4.88,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.takebacktheweb.org",
@ -103,8 +102,7 @@
"display_name": "Aronnax",
"created": "2007-03-05 13:09:33",
"notes": null,
"modified": "2009-08-19 07:35:43",
"notifyevents": true
"modified": "2009-08-19 07:35:43"
}
},
{

Просмотреть файл

@ -35,14 +35,12 @@
"averagerating": 4.93,
"homepage": "http://www.podvalchik.ru",
"email": "4043307@yermom.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "Wink-RU",
"display_name": "Wink-RU \u0627\u0644\u062a\u0637\u0628",
"created": "2008-08-29 06:53:46",
"modified": "2009-09-26 21:25:10",
"notifyevents": 1
"modified": "2009-09-26 21:25:10"
}
},
{

Просмотреть файл

@ -11,15 +11,13 @@
"averagerating": null,
"homepage": "http://jeffbalogh.org",
"email": "jbalogh@mozilla.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "jbalogh",
"created": "2009-02-02 11:50:31",
"notes": "",
"modified": "2010-01-12 17:01:41",
"last_login": "2010-01-12 17:01:41",
"notifyevents": 1
"last_login": "2010-01-12 17:01:41"
}
},
{

Просмотреть файл

@ -11,14 +11,12 @@
"averagerating": null,
"homepage": "",
"email": "dd+fe1175df5@davedash.com",
"notifycompat": true,
"biography": null,
"deleted": false,
"username": "dsmailin",
"created": "2010-02-19 00:52:22",
"notes": null,
"modified": "2010-02-19 06:32:19",
"notifyevents": true
"modified": "2010-02-19 06:32:19"
}
},
{

Просмотреть файл

@ -11,7 +11,6 @@
"averagerating": 4.09,
"homepage": "http://www.chrisfinke.com/",
"email": "dd+357b3dde1@davedash.com",
"notifycompat": true,
"biography": null,
"deleted": false,
"username": "cfinke",
@ -19,7 +18,6 @@
"created": "2007-03-05 13:09:34",
"notes": null,
"modified": "2010-05-07 15:22:13",
"notifyevents": true,
"last_login": "2007-03-05 13:09:34"
}
}

Просмотреть файл

@ -11,7 +11,6 @@
"averagerating": null,
"homepage": "http://jeffbalogh.org",
"email": "dd+605fa45e4@davedash.com",
"notifycompat": true,
"biography": null,
"deleted": false,
"username": "jbalogh",
@ -19,7 +18,6 @@
"created": "2009-02-02 11:50:31",
"notes": null,
"modified": "2010-02-02 22:33:40",
"notifyevents": true,
"last_login": "2010-02-02 22:33:40"
}
}

Просмотреть файл

@ -9,7 +9,6 @@
"averagerating": null,
"homepage": "",
"email": "regular@mozilla.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "regularuser",
@ -17,7 +16,6 @@
"created": "2009-02-02 11:50:31",
"notes": "",
"modified": "2010-01-12 17:01:41",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00"
},
"model": "users.userprofile",

Просмотреть файл

@ -9,7 +9,6 @@
"averagerating": null,
"homepage": "",
"email": "regular@mozilla.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "regularuser",
@ -17,7 +16,6 @@
"created": "2009-02-02 11:50:31",
"notes": "",
"modified": "2010-01-12 17:01:41",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2012-05-22 14:59:28"
},
@ -31,7 +29,6 @@
"display_collections_fav": 1,
"display_collections": 1,
"averagerating": 3.39,
"notifycompat": 1,
"picture_type": "image/jpeg",
"occupation": "Internets",
"homepage": "http://micropipes.com/blog/",
@ -44,7 +41,6 @@
"created": "2007-03-05 13:09:38",
"notes": "",
"modified": "2010-03-19 13:50:38",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2012-05-22 14:59:28"
}
@ -59,7 +55,6 @@
"averagerating": null,
"homepage": "http://jeffbalogh.org",
"email": "admin@mozilla.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "admin",
@ -67,7 +62,6 @@
"created": "2009-02-02 11:50:31",
"notes": "",
"modified": "2010-01-12 17:01:41",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2012-05-22 14:59:28"
},
@ -84,7 +78,6 @@
"averagerating": null,
"homepage": "http://mozilla.org",
"email": "taskuser@mozilla.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "mozilla",
@ -92,7 +85,6 @@
"created": "2009-02-02 11:50:31",
"notes": "",
"modified": "2010-01-12 17:01:41",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2012-05-22 14:59:28"
},
@ -105,7 +97,6 @@
"display_collections_fav": false,
"display_collections": false,
"email": "reviewer@mozilla.com",
"notifycompat": false,
"username": "reviewer",
"failed_login_attempts": 0,
"deleted": false,
@ -114,7 +105,6 @@
"created": "2010-10-19 13:02:25",
"modified": "2010-11-16 10:51:34",
"last_login_ip": "127.0.0.1",
"notifyevents": false,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2012-05-22 14:59:28"
}
@ -126,7 +116,6 @@
"display_collections_fav": false,
"display_collections": false,
"email": "persona_reviewer@mozilla.com",
"notifycompat": false,
"username": "Persona Reviewer",
"failed_login_attempts": 0,
"deleted": false,
@ -135,7 +124,6 @@
"created": "2010-10-19 13:02:25",
"modified": "2010-11-16 10:51:34",
"last_login_ip": "127.0.0.1",
"notifyevents": false,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2012-05-22 14:59:28"
}
@ -153,7 +141,6 @@
"averagerating": null,
"homepage": "",
"email": "partner@mozilla.com",
"notifycompat": true,
"username": "partner",
"biography": null,
"failed_login_attempts": 0,
@ -164,7 +151,6 @@
"notes": null,
"modified": "2011-12-01 16:20:56",
"last_login_ip": "",
"notifyevents": true,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2012-05-22 14:59:28"
}

Просмотреть файл

@ -108,7 +108,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 3.11,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.yahoo.com/",
@ -120,8 +119,7 @@
"display_name": "55021 \u0627\u0644\u062a\u0637\u0628",
"created": "2007-03-05 13:09:56",
"notes": null,
"modified": "2010-05-19 16:41:22",
"notifyevents": true
"modified": "2010-05-19 16:41:22"
}
},
{

Просмотреть файл

@ -108,7 +108,6 @@
"display_collections_fav": false,
"display_collections": false,
"averagerating": 3.11,
"notifycompat": true,
"picture_type": "",
"occupation": "",
"homepage": "http://www.yahoo.com/",
@ -121,8 +120,7 @@
"created": "2007-03-05 13:09:56",
"notes": null,
"modified": "2010-05-19 16:41:22",
"last_login": "2010-05-19 16:41:22",
"notifyevents": true
"last_login": "2010-05-19 16:41:22"
}
},
{

Просмотреть файл

@ -35,14 +35,12 @@
"averagerating": null,
"homepage": "http://povierennyy.hmarka.net/",
"email": "root_x@ukr.net",
"notifycompat": true,
"biography": null,
"deleted": false,
"username": "root_x",
"created": "2010-04-21 12:29:12",
"notes": null,
"modified": "2010-05-12 17:48:13",
"notifyevents": true,
"last_login": "2010-05-12 17:53:01"
}
},
@ -90,14 +88,12 @@
"averagerating": 4.70,
"homepage": "http://adblockplus.org/",
"email": "trev@adblockplus.org",
"notifycompat": true,
"biography": null,
"deleted": false,
"username": "Wladimir Palant",
"created": "2007-03-05 13:09:33",
"notes": null,
"modified": "2010-05-14 09:30:04",
"notifyevents": true,
"last_login": "2010-05-14 09:30:04"
}
},

Просмотреть файл

@ -91,15 +91,13 @@
"averagerating": null,
"homepage": "",
"email": "happyreader@gmx.net",
"notifycompat": 1,
"deleted": 0,
"user": null,
"biography": null,
"username": "Join2",
"created": "2009-05-16 05:29:58",
"notes": "",
"modified": "2009-07-07 01:13:54",
"notifyevents": 1
"modified": "2009-07-07 01:13:54"
}
},
{

Просмотреть файл

@ -12,7 +12,6 @@
"averagerating": null,
"homepage": "",
"email": "persona_reviewer@mozilla.com",
"notifycompat": true,
"username": "persona_reviewer",
"biography": null,
"failed_login_attempts": 0,
@ -24,7 +23,6 @@
"notes": null,
"modified": "2012-05-22 14:59:28",
"last_login_ip": "127.0.0.1",
"notifyevents": true,
"last_login": "2012-05-22 14:59:28"
}
},

Просмотреть файл

@ -23,8 +23,7 @@ class UserAdmin(admin.ModelAdmin):
}),
('Flags', {
'fields': ('deleted', 'display_collections',
'display_collections_fav', 'is_public',
'notifycompat', 'notifyevents'),
'display_collections_fav', 'is_public'),
}),
('Admin', {
'fields': ('notes', 'picture_type'),

Просмотреть файл

@ -12,7 +12,6 @@
"homepage": "http://jeffbalogh.org",
"email": "jbalogh@mozilla.com",
"fxa_id": "0824087ad88043e2a52bd41f51bbbe79",
"notifycompat": 1,
"biography": null,
"deleted": false,
"username": "jbalogh",
@ -20,7 +19,6 @@
"created": "2009-02-02 11:50:31",
"notes": "",
"modified": "2010-01-12 15:28:07",
"notifyevents": 1,
"last_login_attempt": "2010-01-12 15:28:07",
"last_login_attempt_ip": "192.168.1.100",
"last_login_ip": "192.168.1.101",
@ -39,7 +37,6 @@
"averagerating": 3.73,
"homepage": "http://www.fligtar.com",
"email": "fligtar@gmail.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "fligtar",
@ -47,7 +44,6 @@
"created": "2007-03-05 13:09:37",
"notes": "",
"modified": "2009-09-24 20:11:30",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00"
}
},
@ -63,15 +59,13 @@
"averagerating": null,
"homepage": "",
"email": "testo@example.com",
"notifycompat": true,
"biography": null,
"deleted": false,
"username": "barry",
"display_name": "barry \u0627\u0644\u062a\u0637\u0628",
"created": "2010-07-03 23:03:11",
"notes": "",
"modified": "2010-07-23 00:37:10",
"notifyevents": true
"modified": "2010-07-23 00:37:10"
}
},
{
@ -113,7 +107,6 @@
"averagerating": 3.73,
"homepage": "http://example.com",
"email": "alice@example.com",
"notifycompat": 1,
"biography": null,
"deleted": 0,
"username": "alice",
@ -121,7 +114,6 @@
"created": "2007-03-05 13:09:37",
"notes": "",
"modified": "2009-09-24 20:11:30",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00"
}
}

Просмотреть файл

@ -130,8 +130,6 @@ class UserProfile(OnChangeMixin, ModelBase, AbstractBaseUser):
homepage = models.URLField(max_length=255, blank=True, default='')
location = models.CharField(max_length=255, blank=True, default='')
notes = models.TextField(blank=True, null=True)
notifycompat = models.BooleanField(default=True)
notifyevents = models.BooleanField(default=True)
occupation = models.CharField(max_length=255, default='', blank=True)
# This is essentially a "has_picture" flag right now
picture_type = models.CharField(max_length=75, default=None, null=True,

Просмотреть файл

@ -6,7 +6,6 @@
"display_collections_fav": 1,
"display_collections": 1,
"averagerating": 3.39,
"notifycompat": 1,
"picture_type": "image/jpeg",
"occupation": "Unemployed",
"homepage": "https://www.mozilla.org/",
@ -19,7 +18,6 @@
"created": "2007-03-05 13:09:38",
"notes": "",
"modified": "2010-03-19 13:50:38",
"notifyevents": 1,
"read_dev_agreement": "2017-09-23 00:00:00",
"last_login": "2010-03-19 13:50:38"
}