Repository navigation
Opsifier 0.21.0
Opsifier 0.21.0
In the Studio, a project nobody works on for a while can be put on pause, to free what it takes of the server. An administrator clicks the pause button next to it in the Studio's list and confirms: its preview stops, and so does its own agent server; on the shared agent server, only its preview stops. It is refused while its agent is at work, and its conversations are copied first, so that they stay readable.
Nothing starts it again until someone resumes it: opening the project no longer starts its preview, and messages, attached files, updates from GitHub and versions wait. Its links for clients show the page of a site switched off. The list shows « On pause », with who and when, and whoever the project is shared with resumes it from the list or from the project: its preview starts again from what is on GitHub, with its agent server. The Activity records both.
POST .../studio/pause, for an administrator, and POST .../studio/resume, for the accounts the project is shared with too. A Studio project has paused (at, by); while it is set, starting its preview, updating it, messages, attached files and versions answer 409 studio_project_paused.
Upgrading: the panel adds a column to its database as it starts. Nothing else to do.