This commit is contained in:
2020-08-10 22:01:40 +00:00
parent eb0db54cd1
commit 8b025b88e7

View File

@@ -3,38 +3,6 @@
PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route changes etc then back here in order lowest level first as affects the most stuff exponentially so best to do it early
=-=-=-=-
todo: Logo form
Decide upon reasonable maximum sizes for each
(check RI/WBI etc manual what do they take for limits?)
WBI: "It is recommended that your banner image be nor more than 300 pixels by 100 pixels"
RI: "1. Create a png format image file, with dimensions no wider than 300 pixels and no higher than 100 pixel. "
todo: AyaNova customer branding to login form / upload logos etc **UPDATED, SEE CASES, WILL IMPLEMENT MIGHT AS WELL DO IT NOW
- https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3592
- https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/1849
- possibly other cases, check and also check the spec docs and notes, I think I chose a location / method to upload these files already?
- Image needs to be shown pre-login, so needs a route that can serve it up without authentication
- Maybe this should all be it's own thing entirely?
- Though, attachments are already built in at this point...hmmm..
- Maybe a security hole for certain objects attachments?
- Don't like the idea of a seperate new file type to be added into the mix at this point
- Maybe a static file is still best option,
TODO: INvestigate a static file being served from the server
UseStaticFiles in startup, what folders can it serve from?
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-3.1
Can I add a folder?
Can I just add an unauthorized API route to serve only these image files just as attachments are served but with no auth and from only one source location?
From the database?
User should not have to manually copy files to use this feature, it should all be through the UI wherever it's stored or handled
Auth for update and unauthorized to read
Set file types preset, so one small logo, one large logo maybe and various report logos?
Fixed so that people don't upload the phone book and then just choose one to use and let the rest take up space
https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads?view=aspnetcore-3.1#upload-small-files-with-buffered-model-binding-to-a-database
todo: Document in user manual the Widget form as an example with instruction on how to use the various controls etc
- Can use widget for screenshots and examples of control types, but don't word with expectation it will remain because it won't