ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
176 stars 7 forks source link

## Private checklist for PR #39 #51

Closed ThomasTJdev closed 5 years ago

ThomasTJdev commented 5 years ago

General

Other

Future

_Originally posted by @ThomasTJdev in https://github.com/ThomasTJdev/nim_websitecreator/pull/39#issuecomment-462368761_

juancarlospaco commented 5 years ago

Unsplash: Works by a Timer, 1 per hour minimum, 1 per 42 days maximum, of continuous running, it needs the config added on the CFG file, like the rest of the config it needs to be valid obviously, you run it and after 1 hour it will change the Background automatically, like many apps to change background on desktop, you can also use a Fixed image too, the CFG on the template has the new configs, the example default values are valid and work. If the folder to save the images to does not exist, it will save it on working directory named as current date and time iso format, so if this happens to you, its that some folder is missing on the efs folder tree.

"WITHOUT OIDS" is removed.

History Table Purpose: https://github.com/ThomasTJdev/nim_websitecreator/blob/master/nimwcpkg/resources/administration/createdb.nim#L78-L85 ? I dunno, you tell me, it was there previously :slightly_smiling_face:

nimwc2fa.nim is deleted.

Your Nim latest devel Error seems like a Plugin bug.

TOS the problem is that TOS is oriented towards the content of the web you are creating, not all TOS are the same, theres no universal TOS, web for baby toys should have different TOS than web for adult content as example, thats why is almost empty, TOS rarely changes to make it editable online, is up to the user IMHO.

Bumped to Version 5.

I think the walk on the files folder worth it, because Plugins might want to put files there, to be downloaded, and to show up on that list. walk should add files to the table if needed, but remove the walk adds no value but might limit plugins on the future, we need a proc to Sync walk and table.

2FA and Password must be asked to the user every time it need to put the password to Login, thats the point of the 2FA because it expires every 30 seconds, leaving a potential attacker less than 30 seconds to brute-force the password making it almost impossible. I want to give a good feeling on security, not like Wordpress that is known as being kinda insecure, and many people avoid using it for that. 32 CPU PC and 8 Core Raspberry Pi makes forcing Ascii passwords relatively easy. :cat:

ThomasTJdev commented 5 years ago

TOS the problem is that TOS is oriented towards the content of the web you are creating, not all TOS are the same, theres no universal TOS, web for baby toys should have different TOS than web for adult content as example, thats why is almost empty, TOS rarely changes to make it editable online, is up to the user IMHO.

But right now the user can't edit the TOS without editing the file and recompiling?

juancarlospaco commented 5 years ago

You are right, maybe it should be a staticRead of a simple HTML file, like change it from *.tmpl to *.html.

ThomasTJdev commented 5 years ago

You are right, maybe it should be a staticRead of a simple HTML file, like change it from *.tmpl to *.html.

Or we could create a table for it?

juancarlospaco commented 5 years ago

I dont think it worth it hitting the database for that, it rarely changes, just a string, compile-time or runtime string, but a simple string should do.

Unless you consider it must be a table for some reason that I ignore. :slightly_smiling_face:

ThomasTJdev commented 5 years ago

No, forget the table. I'll go with your suggestion.

ThomasTJdev commented 5 years ago

Fixed in #39