-
Notifications
You must be signed in to change notification settings - Fork 140
file uploads #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi ! SQLPage is completely agnostic to your database or folder structure so far, and I'd like it to stay this way. You can use sqlpage with a read-only database, you can use it with a database on which you don't have the permission to create new tables, you can use it on a read-only filesystem, and that's something I'd like to keep. The way I was thinking about this feature was adding sqlpage pseudo-functions :
|
Why not use sqlpage/sqlpage.json to allow certain parameters, such as the upload folder, to be modified? It's true that these reflections are very touchy, because the basic idea of simplicity is excellent, and every addition shouldn't call it into question with the risk of creating a bag of knots. |
Here is what I think needs to be done:
Let me know what you think. If you are interested in implementing it yourself, let me know and I'll guide you through the code and review your pr. If you need that done by me, contact me on [contact at ophir dot dev] and we'll agree on a small dev contract. |
Hey ! It took a long time, but I just merged the big files update. It will be in the next version unless someone finds a big issue with it before the release. The easiest way to test it for now is by using the I think the final result is both easy enough to use and flexible. Have look at the release notes ! |
Excellent news, great work!
I see that there's also a function for reading files (those that are
uploaded). I'll take the time to test uploading and displaying geojson
files.
It's not easy for me to participate in the project. The implementation
is simple, that's the goal and it's successful, but the project itself
remains a black box for me.
Congratulations again!
|
If you want to contribute to the project, but don't know rust, a useful thing to do would be contributing to the examples and to the official site. Both get a continuous flow of visits, and I think there is still a lot of room for improvement to make them clearer and more pedagogical. A lot of formulations still use technical jargon without defining it. |
Hello,
Is it possible to integrate a "files" or "uploads" component that would make it possible to upload a file via the form?
Each file could be stored in a "uploads" folder (by default) and metadata in a table named "uploads" (by default) with the following fields (e.g.) : id, uuid-name, date-created.
The text was updated successfully, but these errors were encountered: