{"push_id":2753376296,"size":3,"distinct_size":3,"ref":"refs/heads/enrollment-honor","head":"7cd265eede78f5c9a50086776aca2eee593e28bc","before":"25b4824f74ee535bcb8d5cf2468b12859379a9b4","commits":[{"sha":"9632bc7237dd5df2a0f38bcd07211c3f64c60471","author":{"name":"Giulio Gratta","email":"87125e57ec717171aa6bc5c2c46bc56c6b657670@stanford.edu"},"message":"Add 3d Viewer xBlock","distinct":true,"url":"https://api.github.com/repos/stvstnfrd/edx-platform/commits/9632bc7237dd5df2a0f38bcd07211c3f64c60471"},{"sha":"ca298dd1b3e1841e708c8afd4808d85894e2314b","author":{"name":"Giulio Gratta","email":"ff41cd9f195497607b4147b4b07f597c09e5dfcc@gmail.com"},"message":"Merge pull request #813 from caesar2164/add-3d-viewer-xblock\n\nAdd 3d Viewer xBlock","distinct":true,"url":"https://api.github.com/repos/stvstnfrd/edx-platform/commits/ca298dd1b3e1841e708c8afd4808d85894e2314b"},{"sha":"7cd265eede78f5c9a50086776aca2eee593e28bc","author":{"name":"stv","email":"126062d1c332f2108dd1b42ddcbef6760295a47c@stanford.edu"},"message":"Add missing migration, student course enrollment\n\nThis was fixed by running `makemigrations`, which we presumably should\nhave done when we made the original change [1].\nThis has probably been broken all this time, potentially as far back as\nDecember 2016.\n\nDespite earlier suspicion, it's no longer clear that this will fix the\nissue we've seen w/ mis-enrollments.\nI had originally thought:\n\n> While the software default course mode was correctly set to `honor`,\n> the database default was still incorrectly set to `audit`.  This meant\n> that while most enrollments were registered successfully, any that\n> followed a code path that neglected to pass in a value for course mode\n> would instead rely on the database's default, which is incorrect for\n> our cases.\n\nRegardless, we'll need to correct any erroneous entries with the following SQL:\n\n```sql\nUPDATE\n    student_courseenrollment\nSET\n    mode = 'honor'\nWHERE\n    mode = 'audit'\n;\n```\n\n- [1] d00bb9792086602470f1a8833013df3cf433a546","distinct":true,"url":"https://api.github.com/repos/stvstnfrd/edx-platform/commits/7cd265eede78f5c9a50086776aca2eee593e28bc"}]}
{"actor":{"display_login":"stvstnfrd"}}