{"push_id":3056915498,"size":4,"distinct_size":4,"ref":"refs/heads/add-course-snapshots","head":"ce50aee353d3c8a19521c9ae463a8158d59c55a1","before":"e9b4cbf9808c4f131e7210fe3ab7e42e05729c96","commits":[{"sha":"936be3aab8dcde8e3733247d4b961492fa7998bd","author":{"name":"Samuel Paccoud - FUN MOOC","email":"c16aab9fe3288df0fb8fc1d24990a300b6b8f299@sampaccoud.com"},"message":"✨(courses) add admin method to create course snapshots\n\nThis method automatically makes a copy of the course with its extensions,\nand places it below the original course. It creates new title objects for\neach language and sets them to the current timestamp so that each snapshot\nhas a unique name.\n\nIt then moves all course runs of the course below its\nsnapshot so we keep track of the version in which the course was when these\ncourse runs were created. Finally, it makes sure to respect the publication\nstatus of the course in each language on the snapshot.\n\nA snapshot can only be triggerd by a user with update and add access rights\non the original course.","distinct":true,"url":"https://api.github.com/repos/openfun/richie/commits/936be3aab8dcde8e3733247d4b961492fa7998bd"},{"sha":"c55c58b1bcd84b9cfb6827e2d54054fec9d19d33","author":{"name":"Samuel Paccoud - FUN MOOC","email":"c16aab9fe3288df0fb8fc1d24990a300b6b8f299@sampaccoud.com"},"message":"✨(courses) add an item in the toolbar of a course page to snapshot it\n\nThis item is only visible if the user is allowed to snapshot the course.\nIt sends an Ajax request to call the snapshot admin method that we added\non the course in the previous commit.","distinct":true,"url":"https://api.github.com/repos/openfun/richie/commits/c55c58b1bcd84b9cfb6827e2d54054fec9d19d33"},{"sha":"0478417ffd784e60e8ff5b41e3d11bd8e3a3a4e1","author":{"name":"Samuel Paccoud - FUN MOOC","email":"c16aab9fe3288df0fb8fc1d24990a300b6b8f299@sampaccoud.com"},"message":"💄(courses) display course title on snapshots and course runs\n\nCourses might be main courses or snapshot. If they are snapshots, the\nmeaningful title to display is the title of the course (the title of\nthe snapshot is just a timestamp for admin) and it should be readonly.\n\nCourse runs may be below a course or below a snapshot. If they are\nbelow snapshots, the meaningful title to display is the title of the\ncourse and it should be readonly.","distinct":true,"url":"https://api.github.com/repos/openfun/richie/commits/0478417ffd784e60e8ff5b41e3d11bd8e3a3a4e1"},{"sha":"ce50aee353d3c8a19521c9ae463a8158d59c55a1","author":{"name":"Samuel Paccoud - FUN MOOC","email":"c16aab9fe3288df0fb8fc1d24990a300b6b8f299@sampaccoud.com"},"message":"🐛(organizations) fix random error in tests due to code value not unique\n\nThe value set for the organization code in its factory was not sure to\nbe unique. In some rare cases it happened to generate duplicates which\ncaused a test to fail. Add a sequence to the code to make sure it is\nunique.","distinct":true,"url":"https://api.github.com/repos/openfun/richie/commits/ce50aee353d3c8a19521c9ae463a8158d59c55a1"}]}
{"actor":{"display_login":"sampaccoud"}}