-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
15 lines (13 loc) · 1.2 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- TODO: Port to FastCGI https://fastcgi-archives.github.io/?#apilib
- TODO: Enable support for multiple applications in a single site. this can be achieved by creating a site.ini file that configure the endpoints and merging all endpoints in a single library.
- TODO: add CSRF protection - https://owasp.org/www-community/attacks/csrf - https://codefellows.github.io/sea-python-401d4/lectures/pyramid_day6_csrf.html
- TODO: add a sql function with prepared statements. https://stackoverflow.com/questions/9804371/syntax-and-sample-usage-of-generic-in-c11 and https://www.tutorialspoint.com/cprogramming/c_variable_arguments.htm
- TODO: test internationalization features - https://kirste.userpage.fu-berlin.de/chemnet/use/info/libc/libc_19.html - Maybe use gettext - https://man7.org/linux/man-pages/man3/gettext.3.html
- TODO: make a [dev_server] session on the site.ini to configure the dev server. Set root, http, https keys, etc...
- Add a varlist in the cwf_vars and maybe add the post and get to it
- Improve password hashing features: https://monocypher.org/manual/argon2i
- use this to format time
const char *time_details = "16:35:12";
struct tm tm;
strptime(time_details, "%H:%M:%S", &tm);
time_t t = mktime(&tm);