Repository navigation
Releases
Opsifier 0.24.0
Opsifier 0.24.0
Settings → Authentication lists where your account is signed in: browsers, command lines and phones, with when each was last used and from which address. Any other session can be signed out from there at once, its open connections with it: a lost laptop, say. The API has the same, GET /api/v1/me/sessions and DELETE /api/v1/me/sessions/{session}, for a person's session and never an API key.
The panel is ready for the Opsifier mobile app, which signs in the way opsifier login --web does: it asks with POST /api/v1/auth/cli/start and kind: mobile, you approve in a signed-in browser with your two-factor code or your password, and the page then sends you back to the app. The app's session lasts 30 days and starts them over as it is used, at most once a day; over plain HTTP, 12 hours hold. A client that holds its session as a token opens the WebSocket by naming it as the subprotocol opsifier-session.<token>, after opsifier.
Upgrading: nothing to do. The panel adds three columns to its sessions when it starts, and everyone stays signed in.
Opsifier 0.23.2
Opsifier 0.23.2
In 0.23.1, "Use a new key" sat next to the two-factor setup key and covered part of its copy button: a click on the right of the copy icon asked for a new key instead of copying. It now has a line of its own, under the key.
The sixth digit of a code sends it by itself. Pressing "Turn on" afterwards replaced the reason the code was refused, such as the phone's clock being off, with "Enter the 6-digit code." The reason now stays on screen.
Upgrading: nothing to do.
Opsifier 0.23.1
Opsifier 0.23.1
Setting up two-factor sign-in, someone whose phone showed the wrong time saw every code refused, with any authenticator app, from the QR code or from the key. A setup code that is wrong now but right on a clock up to 12 hours off is now refused with how far off that clock is: "Your phone's clock is about 1 h off, so its codes don't match. Set its date and time to automatic, then try again." That check only explains a refusal and never lets a code in; sign-in still allows half a minute either way. The setup's code field now also says that the code follows the phone's clock.
Each opening of the setup made a new key, so an entry added to the app at an earlier opening, under the same name, never worked. A setup under way now keeps its key for 15 minutes after its last opening. "Use a new key" starts over with another one, after your password again, for a key that someone else may have seen.
An error from the API may now carry params, values a client can put into its own wording of the error's code: two_factor_clock_off carries the offset as params.offset.
Upgrading: nothing to do.
Opsifier 0.23.0
Opsifier 0.23.0
On a server that is not in production, every site asks for the server's password, the sample app included. Opened from the panel, a site now lets you in without it: Open, a domain's link, an installed app's link and the sample app's Open go through the panel, which hands your browser a pass good once, for a minute, on that one site, and you land on the page you opened with the same cookie the password gives. Administrators get a pass for every site of the server, other accounts for the sites of the projects they can see; anyone else is asked for the password, as before. The pass travels in a form, never in an address, so neither the site's pages nor a history nor a log ever holds it. The links keep the site's own address, to read and to copy. To shut someone out of the sites at once, change the server's password under Settings, Purpose: every cookie changes with it.
A return address holding a tab or another control character is now refused: a browser drops those from an address, which could lead it to another site.
Upgrading: nothing to do. The routes of every protected site get their address for passes when the panel starts.
Opsifier 0.22.0
Opsifier 0.22.0
On a fresh panel, the Overview now opens on a Get started guide for administrators: where apps will answer, a sample app deployed in one click (IT Tools, followed until it runs at its own address), the ready-made apps, and your own. It stays while nothing but the sample is deployed, until you hide it, and the account menu brings it back.
Guided tours show the panel one part at a time: the screen dims except the element a stop is about, and a card says what it is, with Back, Next and Escape. The panel's tour offers itself once you have chosen what the server is for, a service's the first time one opens, and both stay in the account menu; the panel's is also in the command palette.
Generated names under sslip.io now work behind NAT. They were made from the IP the server sees, which on most cloud servers is a private one. When you create the first account from the server's public IP, that IP becomes the server's, and an administrator can set it by hand under Settings, General, in the Panel menu. Generated names follow it; your own domains don't. Refreshing the IP no longer replaces a public IP with a private one, an address nobody reaches a server on is refused, and an IPv6 address ending in :: now gives a valid name.
A page holding text meant for screen readers no longer stretches under the bars.
Upgrading: nothing to do. On a server behind NAT whose generated names use a private IP, set the public one under Settings, General, in the Panel menu: they move to it.
Opsifier 0.21.2
Opsifier 0.21.2
In the Studio, « Stop » stops the agent at once. It paused the conversation, which the agent server does only once the model's answer under way is in: with a slow model and its retries, the agent went on for up to half an hour after the click, and the button seemed to do nothing. The Studio now asks the agent server to interrupt the conversation, which cancels that answer at once and leaves the conversation paused, ready to go on with the next message. An agent server too old to interrupt a conversation still pauses it.
Upgrading: nothing to do.
Opsifier 0.21.1
Opsifier 0.21.1
In the Studio, when the model stops the agent, the conversation now says why in plain words. If the model took too long to answer, even after another try, which happens mostly once a conversation gets very long, or if the conversation grew longer than the model can read, the conversation explains it, reminds that the work already done stays in the project, and its last stop offers to open a new conversation, where the agent answers faster. The error itself stays one click away, and any other error shows as it came.
The Studio's documentation advises, for a model on your own server, a timeout of 900 seconds with one retry in the agent server's model settings, rather than its 300 seconds tried five times, which stops an agent at work on a long conversation after 27 minutes of waiting.
Upgrading: nothing to do.
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.
Opsifier 0.20.0
Opsifier 0.20.0
In the Studio, each answer of the agent that saved a version of the project shows it in a card under the answer: what changed, when, and which one is current. « Preview » shows an earlier version in the preview, for everyone who opens the project, with a note that says which one and who chose it, until someone goes back to the current one; meanwhile no message reaches the agent. « Restore » asks the agent to bring that version back as a new one, which it saves and pushes, so that the history keeps everything.
No change is ever lost: a version is shown only once the agent has answered and while nothing is left unsaved, what changes in the folder while one is shown is set aside in git's stash when going back, and a version that would write over files git does not keep, such as a site's .env, is not shown. The folder keeps the branch to come back to, and the panel follows what it shows.
GET .../studio/versions lists a project's last 50 versions and the one shown; POST .../studio/versions/{sha}/view and POST .../studio/versions/current show an earlier one and come back. While a version is shown, messages, conversations and attached files answer 409 studio_viewing_version.
Upgrading: the panel adds a column to its database as it starts. Nothing else to do.
Opsifier 0.19.0
Opsifier 0.19.0
In the Studio, a text of the preview can be changed where it shows. « Change a text of the page », beside « Point at an element », makes the page's texts editable: a click on a title, a paragraph or a button's label lets you write over it, Enter keeps the change and Escape takes it back. The page shows the new text at once, and each change joins the next message as a tag; the message asks the agent to change the text where it is written in the code, with the page, the element and its React components to find it, and nothing else.
Upgrading: nothing to do. Previews load the new inspector from the panel the next time a page opens.