sakai icon indicating copy to clipboard operation
sakai copied to clipboard

SAK-33963 Site Info Add automatic and scheduled publish options

Open davidpbauer opened this issue 3 years ago • 6 comments

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.

davidpbauer avatar Feb 04 '22 20:02 davidpbauer

@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.

davidpbauer avatar Feb 07 '22 18:02 davidpbauer

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!

jkozar2 avatar Feb 08 '22 15:02 jkozar2

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.

davidpbauer avatar Feb 10 '22 19:02 davidpbauer

Awesome!

I'm happy to start testing locally if looks good to others!

ottenhoff avatar Feb 10 '22 19:02 ottenhoff

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.

ern avatar Feb 14 '22 15:02 ern

I've removed the init and destroy methods as well as the use of jquery.

davidpbauer avatar Feb 25 '22 18:02 davidpbauer