Commit Graph

564 Commits

Author SHA1 Message Date
Dan Funk 3a76a077b5 Allow this app to function under /bpmn url.
Drop the login page all together, depend on the error interceptor to detect a logout, and redirect via shibboleth to the backend to get logged back in again.
2020-05-26 13:43:31 -04:00
Aaron Louie 650bb8f6f1 Removes DEPLOY_URL entirely. 2020-05-26 10:34:50 -04:00
Aaron Louie cd51cf3b5b Disables APP_BASE_HREF provider 2020-05-26 10:01:28 -04:00
Aaron Louie e70a8a30af Substitutes deploy url with separate environment variable 2020-05-26 09:33:49 -04:00
Aaron Louie 47ddd834c7 Starts nginx inside the bash script 2020-05-26 09:02:37 -04:00
Aaron Louie 7dec58f54c Forgot to re-comment bpmn 2020-05-26 08:31:08 -04:00
Aaron Louie 0728801a13 Reloads nginx after substituting environment variables 2020-05-26 08:28:42 -04:00
Dan Funk 9918c872e0 What happens if we reload, rather than start. perhaps settings will take effect.? 2020-05-26 02:55:51 -04:00
Dan Funk 9e1836d06b This one works locally. 2020-05-26 01:51:21 -04:00
Dan Funk d320bb927f Disable e2e and use alternate form of cmd. 2020-05-26 00:41:54 -04:00
Dan Funk 3aae8bed38 Disable e2e and use alternate form of cmd. 2020-05-26 00:40:22 -04:00
Dan Funk f9ce8076ed There are terrible complications to having an entry point and a cmd in a dockerfile. 2020-05-26 00:25:02 -04:00
Dan Funk 1f06f73a58 remove the quotes 2020-05-25 23:53:41 -04:00
Dan Funk f48b2f6d39 Readding e2e tests for bpmn. 2020-05-25 23:48:07 -04:00
Dan Funk ef2b53d54a Disabling e2e tests. 2020-05-25 23:45:34 -04:00
Dan Funk c039b10dfd Place files in /etc/nginx/html not /usr/share/nginx - and I just DONT KNOW WHY. 2020-05-25 23:28:50 -04:00
Dan Funk c325e45337 Place files in /etc/nginx/html not /usr/share/nginx - and I just DONT KNOW WHY. 2020-05-25 21:14:47 -04:00
Aaron Louie ec0d2c96bc Trying something different 2020-05-25 17:31:33 -04:00
Aaron Louie 98643ff09c Fixes login looping 2020-05-25 17:00:59 -04:00
Aaron Louie 57390c6d1e Fixes PB and LDAP urls 2020-05-25 16:01:47 -04:00
Aaron Louie 392315281e Adds CORS setting to backend and pb. 2020-05-25 15:26:46 -04:00
Aaron Louie fcfe012f6d Hacks 404 to force routing to index.html 2020-05-25 11:51:57 -04:00
Aaron Louie 051db5ab99 Fixes PB API url 2020-05-25 10:02:15 -04:00
Aaron Louie 2976a687c6 Actually adds trailing slash like it's supposed to. 2020-05-25 09:29:21 -04:00
Aaron Louie f88e074d6e Add root location 2020-05-25 08:39:50 -04:00
Aaron Louie 8d7673f7d4 On second thought, FLASK_APP is set by the containers in the docker_run.sh 2020-05-25 00:49:06 -04:00
Aaron Louie 6d511971cd Fixes pb FLASK_APP environment variable 2020-05-25 00:43:35 -04:00
Aaron Louie df6a7c352a Sets port and application root for flask apps 2020-05-24 20:59:12 -04:00
Aaron Louie 1b1100a01f Not sure if this does anything different, but whatever 2020-05-24 14:27:06 -04:00
Aaron Louie 51df2063c9 Ignore additional parameters 2020-05-24 13:49:49 -04:00
Aaron Louie 711e9f0e28 Duh. prod, not production 2020-05-24 11:42:43 -04:00
Aaron Louie 746cda4689 Finds and replaces base href template string with environment variable 2020-05-24 11:26:20 -04:00
Aaron Louie f206aae9ad Forgot to remove extra parameter 2020-05-24 00:06:04 -04:00
Aaron Louie d954f2620d Ugh. envsubst doesn't do exact string match. Throw in extra slash, then remove it afterward. UGH. 2020-05-23 23:55:43 -04:00
Aaron Louie 972be2e1e1 Defines root outside of location 2020-05-23 23:05:19 -04:00
Aaron Louie 40455fd3f2 Adds trailing slash to base href if needed. Adds root location to nginx conf 2020-05-23 22:54:10 -04:00
Aaron Louie a09dfc4e80 alias, not root. 2020-05-23 18:55:13 -04:00
Aaron Louie a79515caa6 Waits in case envsubst takes a second to finish 2020-05-23 15:46:06 -04:00
Aaron Louie 69aef3b08d Merge branch 'rrt/dev' into rrt/testing 2020-05-23 15:19:27 -04:00
Aaron Louie 42b1fcd02c Sets document root via environment variable 2020-05-23 15:07:55 -04:00
Aaron Louie abd01ba731 Merge branch 'dev' into rrt/dev 2020-05-23 14:59:57 -04:00
Aaron Louie 6ae42b761b Merge branch 'rrt/dev' into dev 2020-05-23 14:46:57 -04:00
Aaron Louie 0aab80522a Enables save button when decision table is altered 2020-05-23 14:46:32 -04:00
Aaron Louie 4a71a552d6 Uses error interceptor to handle redirecting to login 2020-05-23 13:37:17 -04:00
Aaron Louie 13b47ba894 Redirects to login on production if no user found. 2020-05-23 12:15:28 -04:00
Aaron Louie 198cfd90bb Passes path to index.html in as optional parameter to substitute-env-variables.sh 2020-05-23 11:50:31 -04:00
Aaron Louie 2f8bba4f37 Rewrite base href in index.html 2020-05-23 11:31:06 -04:00
Aaron Louie 4147515938 Don't try to back up index.html. Just reset the working directory 2020-05-22 23:57:50 -04:00
Aaron Louie d33373b13e Fixes environment variables, npm scripts, and a trailing slash 2020-05-22 23:43:32 -04:00
Aaron Louie 029e9d4cde Waits for pb to start before starting backend 2020-05-22 21:14:27 -04:00