|neil 8097745f01||3 weeks ago|
|migrations||3 weeks ago|
|src||3 weeks ago|
|templates||3 weeks ago|
|.gitignore||3 weeks ago|
|Cargo.toml||3 weeks ago|
|LICENSE||3 months ago|
|README.md||3 weeks ago|
|adj-list.txt||3 months ago|
|config.toml.sample||3 weeks ago|
|lang.json||3 weeks ago|
|name-list.txt||3 months ago|
|rustfmt.toml||3 weeks ago|
Simple Nextcloud Forms (sncf) is a lightweight proxy written in Rust with the Actix framework.
It is meant to make form creation easier, through the use of the Nextcloud Forms application, by generating administration links for forms: users do not need to log in or register, they just need to keep a link (in the form of
https://your-instance.com/admin/<45-byte base64 key>) to log them in and give them access to their forms.
I really used black voodoo magic on this one.
This software acts as a proxy between the client and the Nextcloud instance. Here are some of its features :
Set-Cookieheaders to the client (to log the user in), then redirects it to the Forms app.
Those tweaks are completed by server-side CSS edits (using an application) to hide unwanted fields.
See the dedicated wiki page.
Note: There is currently no script to make the installation easier (see #12).
Compatibility with sncf has been tested for the following Nextcloud and Nextcloud Forms versions.
|1.0.0||19.0.1, 19.0.2||2.0.2, 2.0.3|
|1.0.1, 1.0.2, 1.1.0, 1.2.0||19.0.1, 19.0.2, 20.0.0*, 20.0.1||2.0.4|
* Breaking changes, please check the wiki if you need to upgrade from a previous version.
If your NC or NC Forms version isn't in this list, sncf may or may not work. We do not ensure backwards compatibility with older versions.
Avoid upgrading software without checking its compatibility with sncf.
If you upgrade anyway and notice a breaking change, please file an issue.
Currently, this software is translated in French and English.
Feel free to take a look at the lang.json file and send a pull request.
Check the opened issues. Feel free to take a look at the code (it's really small). There's yet a lot of place for improvement. If you need info, you can create an issue with the
question tag on it.
The "setup" we're talking about is the main instance's, forms.42l.fr.
That sounds appropriate, but I don't feel like writing PHP and I don't know Nextcloud internals. Feel free to write it, though.
Yeah, well, you're probably right. A Nextcloud app would be more suitable, I guess. But anyway, feel free to use something else if this is too much tweaking for you. But I'd prefer some pull requests to help me keep this software up-to-date with Nextcloud and Nextcloud Forms updates.