Commit Graph

293 Commits

Author SHA1 Message Date
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 42b1fcd02c Sets document root via environment variable 2020-05-23 15:07:55 -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
Aaron Louie 82bf880ec8 Upgrades DBs before running e2e tests 2020-05-22 20:52:03 -04:00
Aaron Louie ae8fab3f87 Adds env variables parameter 2020-05-22 20:32:08 -04:00
Aaron Louie deee76a954 Injects environment variables via npm script 2020-05-22 17:03:19 -04:00
Aaron Louie d7ee651518 Makes env variables more readable 2020-05-22 15:50:36 -04:00
Aaron Louie a82a4ac5ae 1 build, not 3, silly 2020-05-22 15:46:22 -04:00
Aaron Louie 611e0dd6a1 Sets bpmn environment variables 2020-05-22 15:42:42 -04:00
Aaron Louie 2c96537554 Removes getting the window location pathname, because it screws up the session redirect 2020-05-22 15:28:15 -04:00
Aaron Louie 0433e5f069 Sets environment variables 2020-05-22 15:12:59 -04:00
Aaron Louie 2cde2364d7 Sets base href 2020-05-22 14:58:16 -04:00
Aaron Louie bb2238f259 Updates e2e docker setup. Removes unnecessary flask and db config files. 2020-05-22 10:15:15 -04:00
Aaron Louie bc9c234903 Signs in with redirect to login and fixes failing tests 2020-05-22 08:15:25 -04:00
Aaron Louie a7a9983a4e Trying nginx alpine again 2020-05-20 14:19:33 -04:00
Aaron Louie c901577eea Merge branch 'rrt/dev' into dev 2020-05-20 12:07:49 -04:00
Aaron Louie 91132ff792 Merge branch 'rrt/testing' into rrt/dev 2020-05-20 12:07:06 -04:00
Aaron Louie 78f86206ed Updates sartography-workflow-lib 2020-05-20 12:06:36 -04:00
Aaron Louie 083d697339
Merge branch 'testing' into dev 2020-05-20 08:50:39 -04:00
Aaron Louie 7469e0bcf4 Merge branch 'rrt/dev' into dev 2020-05-20 08:49:57 -04:00
Aaron Louie 637418e840 Refactors environment variable substitution script 2020-05-19 22:20:03 -04:00
Aaron Louie 273f8c67e0 Going back to non-alpine nginx 2020-05-18 23:00:35 -04:00
Aaron Louie f6fac1d0fa Trying nginx:alpine 2020-05-18 22:36:13 -04:00