Allow the use of a local .env file to store username/project ID for UI scripts.
[?]
Dec 10, 2017, 5:34 AM
E7GQXOIDEENBMGLE3ZMKIVB4RUWL5H7YTR4E4DTX6V7HAVCBBRYACDependencies
- [2]
JXG3FCXYUpgrade ps + halogen versions. - [3]
UOG5H2TWDefault work logging credit to logged-in user. - [4]
2G3GNDDUEvent logging is now functioning in postgres. - [5]
PBD7LZYQPostgres & auth are beginning to function. - [6]
XJ4EYMIHLet curl prompt for http password, rather than bash. - [7]
SPJCFHXWUpdate shell scripts to point to https://aftok.com and prompt for input. - [8]
PGZJ736CUpdate aftok.cfg.example and revise INSTALL instructions - [9]
CDHZL3RPAdd a couple of other CLI utilities for interacing with the service. - [10]
KEP5WUFJConvert project to stack-based build. - [11]
G4BS4NNDAdd simple shell script demonstrating how to invite a companion. - [12]
ZP62WC47Begin conversion to build with stack. - [13]
GKLIPHR5Fix error in parsing of event metadata - [*]
ADMKQQGCInitial empty Snap project. - [*]
LEINLS3XUpdate deployment documentation.
Change contents
- edit in .gitignore at line 6
.stack-work - edit in .gitignore at line 25[16.14]
.env - edit in scripts/create_project.sh at line 2
if [ -f ".env" ]; thensource .envfi - replacement in scripts/create_project.sh at line 7
read -p "Username: " USERif [ -z "${USER}" ]; thenread -p "Username: " USERechofiread -p "Project Name: " PROJECT - replacement in scripts/create_project.sh at line 14
read -p "Project Name: " PROJECTread -p "Undepreciated period (months): " UNDEPMONread -p "Depreciation duration (months): " DEPMONBODY=$(cat <<END_BODY{"projectName": "$PROJECT","depf": {"type": "LinearDepreciation","arguments": {"undep": $UNDEPMON,"dep": $DEPMON}}}END_BODY) - replacement in scripts/create_project.sh at line 33
--data "{\"projectName\":\"$PROJECT\"}" \--data "$BODY" \ - edit in scripts/invite.sh at line 2
if [ -f ".env" ]; thensource .envfiif [ -z "${USER}" ]; thenread -p "Username: " USERechofi - replacement in scripts/invite.sh at line 12
read -p "Username: " USERechoread -p "Project UUID: " PROJECTif [ -z "${PID}" ]; thenread -p "Project UUID: " PIDechofiread -p "Invite: " EMAIL - edit in scripts/invite.sh at line 19
read -p "Invite: " EMAIL - replacement in scripts/list_projects.sh at line 3
read -p "Username: " USERif [ -f ".env" ]; thensource .envfiif [ -z "${USER}" ]; thenread -p "Username: " USERechofi - replacement in scripts/log.sh at line 3
read -p "Username: " USERechoread -p "Project UUID: " PROJECTif [ -f ".env" ]; thensource .envfiif [ -z "${USER}" ]; thenread -p "Username: " USERechofiif [ -z "${PID}" ]; thenread -p "Project UUID: " PIDechofi - replacement in scripts/log_end.sh at line 3
read -p "Username: " USERechoread -p "Project UUID: " PROJECTif [ -f ".env" ]; thensource .envfiif [ -z "${USER}" ]; thenread -p "Username: " USERechofiif [ -z "${PID}" ]; thenread -p "Project UUID: " PIDechofi - replacement in scripts/log_start.sh at line 3
read -p "Username: " USERechoread -p "Project UUID: " PIDif [ -f ".env" ]; thensource .envfiif [ -z "${USER}" ]; thenread -p "Username: " USERechofiif [ -z "${PID}" ]; thenread -p "Project UUID: " PIDechofi