Commit Graph

318 Commits

Author SHA1 Message Date
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 2c96537554 Removes getting the window location pathname, because it screws up the session redirect 2020-05-22 15:28:15 -04:00
Aaron Louie 2cde2364d7 Sets base href 2020-05-22 14:58:16 -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 96903b5fcd Adds unit tests 2020-05-18 20:59:38 -04:00
Aaron Louie d5cfbf238d Updates sartography-workflow-lib. Adds reference file editing screen. Fixes BPMN file update mechanism. 2020-05-18 19:56:21 -04:00
Aaron Louie e3214aa5dd Properly sets defaults for environment variables 2020-05-18 19:55:45 -04:00
Aaron Louie 6156a99f67 Allow upload of .doc, .xls, & .xlsx 2020-05-18 13:42:02 -04:00
Aaron Louie c5678e6a12 Removes unnecessary OnInit 2020-05-14 10:37:35 -04:00
Aaron Louie 537dc4aae2 Updates sartography-workflow-lib 2020-05-13 22:56:56 -04:00
Aaron Louie 04be04fbe4 Generates SVG on save. Doesn't save it anywhere yet, though. 2020-05-12 22:19:35 -04:00
Aaron Louie 8dbcacfb4a Adds environment variable that determines which route is used as "home" 2020-05-12 22:19:13 -04:00
Aaron Louie 927356da9d Gets signed-in state from API 2020-05-11 16:22:16 -04:00
Aaron Louie 2b9e99a3db Checks whether user is logged in 2020-05-11 12:06:30 -04:00
Aaron Louie ded3c899e5 Removes GA key 2020-04-15 10:14:10 -04:00
Aaron Louie 0b7851bc0b Removes curly braces from envsubst template strings 2020-04-15 09:47:33 -04:00
Aaron Louie 00ad016535 Adds ENV 2020-04-14 16:57:56 -04:00
Aaron Louie 41b399e8a3 Replaces environment files with a single runtime environment file that pulls in environment variables. 2020-04-14 15:42:07 -04:00
Aaron Louie 4dfcd0b010 Removes unnecessary semicolon 2020-04-13 13:14:08 -04:00
Aaron Louie e0e3cba538 Refactors, fixes bugs, and adds tests for changing spec and category display orders 2020-04-13 12:13:44 -04:00
Aaron Louie f9b0e42115 Adds buttons to change display_order of workflow specs and categories 2020-04-10 10:07:39 -04:00
Aaron Louie 42c268bcc2 Updates sartography-workflow-lib. Fixes all kinds of test failures resulting from change in file data API method. 2020-04-08 17:15:08 -04:00
Aaron Louie fff410fe13 Displays all error text 2020-04-07 16:02:35 -04:00
Aaron Louie e1240912bc Displays master status spec separately from other specs. 2020-04-01 09:53:22 -04:00
Aaron Louie 336c5d4656 Sorts workflow spec categories in display order. Updates is_status to is_master_spec 2020-03-30 15:03:55 -04:00
Aaron Louie 30b10f252a Tidying up 2020-03-30 13:38:27 -04:00
Aaron Louie ace852b732 Adds button to validate workflow spec. Displays validation errors in a bottom sheet. 2020-03-30 12:20:56 -04:00
Aaron Louie a3c9b83dc6 Adds category display order 2020-03-30 08:47:16 -04:00
Aaron Louie 616d2ad0d8 Enables file uploading. Refactors file dialog. 2020-03-25 23:31:11 -04:00
Aaron Louie 260d5af43d Updates sartography-workflow-lib. Updates file data and loads new file meta. Fixes broken tests. 2020-03-24 22:32:03 -04:00
Aaron Louie 4deb25eef7 Adds file field 2020-03-24 14:33:45 -04:00
Aaron Louie 19931973f0 Enables save button when DMN is modified. 2020-03-24 14:33:30 -04:00
Aaron Louie 1b8bc199b8 Sets one workflow spec as master status spec. 2020-03-23 14:08:13 -04:00
Aaron Louie 00f3bba65d Adds new file. Updates existing file 2020-03-23 13:02:03 -04:00
Aaron Louie 87dd8f7dc3 Prevents canvas bug. 2020-03-23 13:01:31 -04:00
Aaron Louie 3886c37c72 Fixes stupid bug 2020-03-20 17:45:15 -04:00
Aaron Louie c0fa0c7eea Fixes failing tests 2020-03-20 17:22:23 -04:00
Aaron Louie 0915c9021d Removes file upload from dialog for now. 2020-03-20 17:08:49 -04:00
Aaron Louie afca7cece8 WIP: Moves util methods to sartography-workflow-lib. Attempts to get file dialog working. 2020-03-20 16:49:17 -04:00
Aaron Louie ced9a852e8 Uses sartography forms library 2020-03-19 16:01:57 -04:00
Aaron Louie 05cf7ad0db Updates sartography-workflow-lib. 2020-03-19 15:51:43 -04:00
Aaron Louie 9544b7e730 Checks if id is defined before updating. 2020-03-19 10:37:47 -04:00
Aaron Louie 8d98b78eb7 Edits app title 2020-03-19 10:29:01 -04:00
Aaron Louie 3f23d972b6 Adds tests for workflow spec categories 2020-03-19 10:28:51 -04:00
Aaron Louie d4ef749b1c Fixes failing tests 2020-03-18 13:33:00 -04:00
Aaron Louie d4d43537d6 Edits existing non-BPMN workflow spec file details 2020-03-18 13:11:44 -04:00
Aaron Louie d0f4916667 Adds delete workflow spec category dialog. Shows edit/delete buttons on hover.. 2020-03-18 11:33:12 -04:00
Aaron Louie 84eb6075d4 Adds workflow spec category dialog. 2020-03-16 16:36:51 -04:00
Aaron Louie 7c1dd01a4d Adds workflow spec category dialog 2020-03-16 16:10:34 -04:00
Aaron Louie 95fbced144 Changes fields back to outline style 2020-02-28 11:16:53 -05:00
Aaron Louie 2ec2ebbb49 Puts display name in h1 tag 2020-02-25 16:42:36 -05:00
Aaron Louie 9f8cce615d Adds a semicolon 2020-02-25 16:38:59 -05:00
Aaron Louie 4e256ad17c Fixes sporadically-failing unit tests (I hope) 2020-02-25 16:34:55 -05:00
Aaron Louie e7e568bc8a Fixes sometimes-broken unit tests 2020-02-25 15:33:25 -05:00
Aaron Louie cc4fe0df86 Fixes broken tests, build warnings, and deprecated TestBed.get errors 2020-02-25 15:03:22 -05:00
Aaron Louie a3b3a69096 Updates to Angular 9 2020-02-25 13:56:05 -05:00
Aaron Louie 73b591e898 Imports SartographyWorkflowLibModule, rather than SessionRedirect component. Changes staging production flag to false (for now). 2020-02-25 09:48:45 -05:00
Aaron Louie fbbe830218 Adds some meaningful e2e tests. 2020-02-24 17:15:25 -05:00
Aaron Louie d39e414962 Fixes broken unit tests. Updates sartography-workflow-lib. 2020-02-24 16:43:03 -05:00
Aaron Louie fe1a481f43 Adds navbar, footer, and Material theme 2020-02-24 15:20:18 -05:00
Aaron Louie f9a47e36f7 Adds fake sign-in and sign-out components 2020-02-24 14:19:20 -05:00
Aaron Louie 760f2a1710 Spies on formatDate so test can just return a known string 2020-02-11 22:34:53 -05:00
Aaron Louie 55b0e5b79a Resets the date. 2020-02-11 13:22:01 -05:00
Aaron Louie 60d96d5dac Sets filename of downloaded XML file 2020-02-11 13:12:18 -05:00
Aaron Louie 760d52a559 Adds test for sorting file names 2020-02-11 11:06:58 -05:00
Aaron Louie 3c4ac7f4d8 Sorts files by name 2020-02-11 11:00:31 -05:00
Aaron Louie 165a6f06e6 Resolves CSS font bug identified by sonar cloud 2020-02-08 11:40:34 -05:00
Aaron Louie 86b357df6f Updates sartography-workflow-lib. 2020-02-04 21:48:26 -05:00
Aaron Louie c1a0f2f79e Updates API calls to match new endpoint params structure 2020-02-03 22:21:59 -05:00
Aaron Louie e20041a29f Uses rfdc for cloning objects 2020-02-03 16:17:50 -05:00
Aaron Louie b21b55c79f Saves file data along with file metadata 2020-01-31 15:50:20 -05:00
Aaron Louie 4e5d6cc1c6 Saves file data along with file metadata 2020-01-31 15:45:40 -05:00
Aaron Louie a7868cf0eb Updates API calls 2020-01-31 11:39:46 -05:00
Aaron Louie c73d11b801 Renames variables for clarity 2020-01-31 11:36:14 -05:00
Aaron Louie 297b198f1a Enables user to mark a file as primary 2020-01-31 09:41:37 -05:00
Aaron Louie 30a91b58af Adds remaining unit tests 2020-01-30 21:21:20 -05:00
Aaron Louie fd42a55654 Adds some unit tests 2020-01-30 15:34:11 -05:00
Aaron Louie e22b4ec266 Edits title 2020-01-29 15:57:12 -05:00
Aaron Louie 19014dfc81 Fixes failing unit tests 2020-01-29 15:53:36 -05:00
Aaron Louie 1ad1c4e3cc Consolidates dialogs into a single directory. Displays confirmation dialog before deleting a file. 2020-01-29 11:15:58 -05:00
Aaron Louie 6d3ffe8f35 Makes environments consistent with cr-connect-frontend angular app 2020-01-29 10:13:19 -05:00
Aaron Louie 599ff28f8e Fixes some unit tests 2020-01-28 16:59:39 -05:00
Aaron Louie 5d53350adc Refactors dialogs 2020-01-28 16:43:51 -05:00
Aaron Louie 9f05cbf2bc Uses staging build settings and exprts ThisEnvironment 2020-01-28 11:24:03 -05:00
Aaron Louie a01a6594a2 Fixes various bugs with opening and saving files. Saves files to the selected workflow spec. Displays selected workflow spec in toolbar. 2020-01-28 11:00:25 -05:00
Aaron Louie 094fa31fcf Imports formly. Adds workflow spec dialog. Links buttons to modeler screen. Creates new DMN diagram. 2020-01-27 17:32:05 -05:00
Aaron Louie 7d2616dc6a Fixes and adds unit tests 2020-01-27 11:41:19 -05:00
Aaron Louie 46f1d3b095 Horrible hacks and workarounds to get the DMN Modeler to render properly 2020-01-24 16:27:59 -05:00
Aaron Louie 3c121a7602 Refactors BPMN and DMN modeler configuration into separate files 2020-01-24 14:55:55 -05:00
Aaron Louie b00486251a Re-initializes the modeler when a new file is selected 2020-01-24 12:31:21 -05:00
Aaron Louie a59d5120a1 Work in progress: Adds DMN modeler 2020-01-23 17:18:46 -05:00
Aaron Louie 3cbc3620b1 Work in progress: Adds router, workflow list component, and components to hold modeler and file list. 2020-01-23 12:19:43 -05:00
Aaron Louie e93051941d Adds workflow spec name 2020-01-21 15:59:32 -05:00
Aaron Louie bab38a0ea8 Makes the linter happy. 2020-01-17 16:17:03 -05:00
Aaron Louie cf0464d50e Adds remaining unit tests. 2020-01-17 16:02:28 -05:00
Aaron Louie 218a340b96 Adds a bunch of unit tests 2020-01-16 16:55:33 -05:00
Aaron Louie d381328472 Trying to fix modifying workflow_spec_id issues 2020-01-15 17:10:58 -05:00
Aaron Louie e74e1c309a Moves API methods to reusable library. 2020-01-15 12:16:57 -05:00
Aaron Louie 6e4f4ccce8 Makes button look more clickable 2020-01-14 16:53:28 -05:00
Aaron Louie b42a5750c0 Fixes failing tests 2020-01-14 16:29:47 -05:00
Aaron Louie 91f5a3782a Enables uploading of XML files with different (or no) file type 2020-01-14 16:29:34 -05:00
Aaron Louie 60841c85b6 Displays tooltip with file and workflow spec metadata 2020-01-14 14:13:43 -05:00
Aaron Louie 9adb103f18 Breaks out add new vs modifying existing workflow spec. 2020-01-14 14:13:22 -05:00
Aaron Louie 8e8e141f50 Edits existing file and workflow spec metadata 2020-01-14 09:28:17 -05:00
Aaron Louie 6377f50ce5 Enables save button when user changes diagram. Saves changes to server. 2020-01-13 22:20:02 -05:00
Aaron Louie 393351574d Adds MatDialogModule 2020-01-13 22:19:25 -05:00
Aaron Louie 68226ee0a8 Adds endpoints for adding/updating workflow spec and file. 2020-01-13 22:19:04 -05:00
Aaron Louie 915a5a45e7 Adds utility to convert string to snake case 2020-01-13 22:18:31 -05:00
Aaron Louie 04f44155ab Adds dialog to capture workflow spec metadata and filename 2020-01-13 22:17:57 -05:00
Aaron Louie e1b7109601 Adds menu item to get stored BPMN files from the database 2020-01-11 10:40:06 -05:00
Aaron Louie 8e35d34864 Adds methods to get workflow specs and files 2020-01-11 10:39:49 -05:00
Aaron Louie 806272d7a8 Adds environment files 2020-01-11 10:39:06 -05:00
Aaron Louie 169f7bb291 Adds example code from bpmn-js-example-angular-properties-panel 2020-01-10 14:15:33 -05:00
Aaron Louie 94dcd9788e Adds example code from bpmn-js-example-angular 2020-01-07 09:48:27 -05:00
Aaron Louie d3401d8d9d Stubs out Diagram component. 2020-01-07 09:28:36 -05:00
Aaron Louie 6fc6fcebba On second thought, let's not add yet another framework. Sticking with Angular. 2020-01-07 09:27:10 -05:00
Aaron Louie 8dd81719b1 Adds Vue JS boilerplate 2020-01-06 16:50:34 -05:00