sakai
sakai copied to clipboard
SAK-33963 Site Info Add automatic and scheduled publish options
This adds two new options to Manage Access for publishing and unpublishing sites. Specifically, sites can now be set to Auto, Scheduled, or Manual for publishing and unpublishing. Auto is available for course sites and will use the term dates along with the existing sakai properties and jobs associated with publishing and unpublishing sites. Scheduled will allow the site maintainer to pick a date and time for the site to be published and unpublished. If set to manual the site will stay in whichever state until the site maintainer updates it.
@jkozar2 do you want to fix the imports and implement the usertimeservice change? Let me know if you'd like me to make any of these changes.
I need to get an environment ready to work on 23 before I can make these changes. I'll be happy to implement them all, but it will be a while before I can get to it. Thanks for the review!
I pushed a commit with some code cleanup that switched things over to UserTimeService. I haven't done extensive testing after these changes yet, but hopefully is what you're looking for.
Awesome!
I'm happy to start testing locally if looks good to others!
Dave are you okay with removing the use of jQuery in favor of native javascript (es6)?
I see you use a mix, it would be nice to eliminate jQuery usage.
I've removed the init and destroy methods as well as the use of jquery.