Skip to content

Latest commit

 

History

History
311 lines (295 loc) · 12.6 KB

README.md

File metadata and controls

311 lines (295 loc) · 12.6 KB

Corpdesk is a platform for ERP applications.

node.js corpdesk-api

ToDo:
- cd_cache::start_session();
    - pass p_sid through header
    - pass token through header
    - initial session validation function
        - 1. if p_sid is set, and there is an existing session data with same sid, varify if session is valid
        - note that on initial load p_sid may not be set, so when p_sid is not set
    - on login, update token at gui
    - on login, update token at nodejs
    - on login, update session timeout at gui
    - on login, update session timeout at nodejs
    - on login, start_session(), get_sess_timeout()
    - save timeout time
- cd_cache::renew_session();
    - check if curr_time > timeout_time
- cd_cache::validate_session();
- cd_cache::get_user_by_token()
- update token
- sync cache
- test socketIO for client server communication including (live updating cache, chat)
- look for open source cache/db syncing

18th Nov 2018 - started work on updating token ToDo: - syncing cache 5th Nov 2018 //SECURITY UPGRADE: - SSL - set host: corpdesk.net - set PKI (public key infrastructure) - get and set cert - Apache: set virtual host (https://corpdesk.net) - php redirect to gui index - set nodejs for https - set cors - php bcrypt passwords for mysql storage - register - auth - set change password (back-end) - update php test files for ssl - update cd:helpers:http for ssl //TODO: - forgot password ///////////////////////////////////////// ISSUES: