Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #176

Merged
merged 24 commits into from
Aug 23, 2023
Merged

Develop #176

merged 24 commits into from
Aug 23, 2023

Conversation

jamesfwood
Copy link
Collaborator

No description provided.

wcgunter and others added 24 commits June 13, 2023 12:22
* Added cookies for drop down persistance on deployments page.

* Update comments, remove excessive cookie calls

* Move cookie functions to cws.js

* Persist state for hide susp. process checkbox

* Add variable to control cookie expiry dates

* Update workers page with checkbox state

* replace cookies with local storage

* Added persistant state for search filters in proc

* Add persistant states to log page

* Merge from develop

* Move local storage names to vars for future

* Updated local storage var names, changed defaults

* Fix issue with subprocess window being overridden
* Replace buttons with <a>, allow open in new tab

* filter -> open in new tab support

* add right click support for filter on logs page

* Update test to search for anchor tag, not button

* Update tests again to search for <a>, not button

* revert test changes - will investigate further

* Update path of history button in tests

* Missed a history tag

* Update xpath for history button
* Add download as JSON, working on CSV

* Implement CSV, fix JSON exports

* Update GUI - radio button to select file type

* Update button, fix "Show All" for long stdouts

* Add DataTables js utility & use on history page

* update DT, refine history page, finish deployments

* Update css for datatables

* remove unnecessary info below table

* add DataTable to processes table

* update history to fix loading issue

* Fix sorting on history page

* Fix history not displaying all log rows

* Removing paging for test suite support

* Update processes page to fix select feature

* Fixed double sorting icon

* Add moment.js and DataTables integration -  filter

* Update where table is drawn to speed up page load

* Update REST to return all processes

* Defer renderings

* Update processes page to only load 5000 at first

* Increase search delay to increase performance

* Attempt at fixing snippets test

* Update xpath for new filter button

* Update sleep timer

* Update sleep, change from id to xpath

* Update to "waitForElementXPath"

* Copy from Selenium IDE, add sleep

* wait even longer

* Wait for process page to load

* Revert, increase waiting

* Change how we wait for add button

* Update xpath for elements

* Add wait for ajax spinner to dissappear

* Fix duration

* Need to wait even longer

* Try using search bar instead of builder

* Try to get console output

* Fix qstring missing ?

* Update to get # of procs loaded

* reduce sleep, fix merge error

* FINALLY fixed test errors - updating rest of them

* Missed process page loading indirectly

* Update completed element ID path

* Update css selector

* add screenshots for debugging

* Remove reference to "complete" button
* Add download as JSON, working on CSV

* Implement CSV, fix JSON exports

* Update GUI - radio button to select file type

* Update button, fix "Show All" for long stdouts

* Add DataTables js utility & use on history page

* update DT, refine history page, finish deployments

* Update css for datatables

* remove unnecessary info below table

* add DataTable to processes table

* update history to fix loading issue

* Fix sorting on history page

* Fix history not displaying all log rows

* Removing paging for test suite support

* Update processes page to fix select feature

* Fixed double sorting icon

* Add moment.js and DataTables integration -  filter

* Update where table is drawn to speed up page load

* Update REST to return all processes

* Defer renderings

* Update processes page to only load 5000 at first

* Increase search delay to increase performance

* Attempt at fixing snippets test

* Update xpath for new filter button

* Update sleep timer

* Update sleep, change from id to xpath

* Update to "waitForElementXPath"

* Copy from Selenium IDE, add sleep

* wait even longer

* Wait for process page to load

* Revert, increase waiting

* Change how we wait for add button

* Update xpath for elements

* Add wait for ajax spinner to dissappear

* Fix duration

* Need to wait even longer

* Try using search bar instead of builder

* Try to get console output

* Fix qstring missing ?

* Update to get # of procs loaded

* reduce sleep, fix merge error

* FINALLY fixed test errors - updating rest of them

* Missed where process page is loaded indirectly

* Add open selected in new tab, copy selected URL

* Add process duration to end time field

* Fix "hide subproc button" never showing subproc

* Add ability to download selected rows' logs (JSON)

* FIx deployments state

* Update message about loading more rows

* Remove unused CSV code

* Add worker IP to processes table

* Added download as CSV

* Get logs from failed test

* Remove extra logging, fix worker ip field

* Add ability to download list view of proc page
* Add input table, copy feature

* Update history json download to include input vars

* Show input variables on processes page

* Update test to account for column changes

* Update processestest to use datatables search

* Add summary to input vars (ala history)

* Add missing close carot on history page

* Add copy button to input var column (processes pg)

* update what is displayed before/after details tag

* Update display on processes page, export fix

* Move input vars table to below history table
* Display more detail on status on history page

* Add "mark as resolved" button to history page

* Update processes test

* Remove unnecessary API call
* ldap attributes in .properties

* add LDAP user info validation step

* steps to verify ldap user and validate user info

* updated interactive mode for LDAP prompts

* add warning message for ldap failure

* modify error message

* ldap attribute sentence - mail

* ldap prompt - update warning message

* output for specific attribute missing

* return specific missing LDAP attributes in error message

* modify fix options
* Remove downdown for download (button only now)

* Move Processes page list export under Actions bttn

* Fix copy history links / open all in new tabs

* Add ability to hide/show columns

* Update width of input variables

* Fix width issue

* Remove workerID input var from proc list

* Fix infinite refresh if page not visited before

* Update process parsing methods to speedup loading

* Get state search from URL

* Auto-filter based on URL request

* Move log download functions to common js

* Update number of processes returned per api call

* Update tooltip, remove unnecessary css

* Sort history so earliest is first

* Move input vars into existing table

* Fix arrow issue & reconsile with history page

* Show "None" if no input vars are set

* Get console logs (error)

* Add sleep

* Restore server-side filtering, fix tooltip url
* - Added sql table
- Added Insert/Update REST API for worker tags

* Added line feed
* Initial attempt (copy doesn't work)

* Update output var column css

* Update filteirng

* Update filter for output variables

* Adjust thumbnail css

* Add ability to copy images, move func. to cws.js

* Make images grow when hovered over

* Add support for hyperlink strings

* Update img detection to support all image types

* Update history page to use new custom input fetch

* Initial output table on history page

* Update link recognition to include AWS S3 URIs

* Fix JSON creation for new input/output var methods

* UI update, fix "show entries" overlap

* Fix issue where table was not responsive

* Update responsiveness, scaling on page size change

* Fix bug with download list (json)

* Add icons to processes table btns, rm. var type

* Update name of adv. filter btn

* Move info & pagination into div, position correct

* Add comments, move css to file, fix csv export

* Update deployments page to use new above/below div

* Add icon to download btn

* Remove variable type on history page

* Make images smaller, update hover behavior

* Remove size limit on history page
* added override from 200 to 301 http return code

* fixed tests

* fixed tests

* fixed tests

* moved override to base class

* passed local tests

* updated unit test back after fix

* experiment

* run_test "cws-ui/configuration" 200

* 200

---------

Co-authored-by: Brent J Knickerbocker <[email protected]>
* Initial version

* Add copy button & move formatting to css file
* Initial restructuring (non-functional)

* DataTable initializes

* Progress on reformat 1

* Data is displaying (search broken, resizing)

* Hide columns, DT options, scroll ID life longer

* Update CSS

* Add new api call with no scroll (fix ES error)

* Fixed DT search box

* Re-enable ajax spinner, update filters css

* Update filters & refresh button css

* Fix refresh logs

* Add filtering w/ worker ids

* Fix header not aligning with table body

* Log browser output for log page test

* More debugging

* Debug2

* Update test logic so if it works its successful

* Update to console.error

* Update test logic

* Update logging & more debug

* update debug

* Update css, remove searchbuilder

* Return data is not being set... why?

* Error is invalid json

* give more details

* Update camunda.yml

* Fix filters button

* Update camunda.yml

* Maybe this

* Update camunda.yml

* Lets see if this works

* Avoid having no conditions to match

* Fix jumping when loading new data

* Update name & ES path

* Appears to be an encoding issue

* Update rest to use potential fix

* Fix incorrect URL

* Make datatable stateful

* Ahhh

* Try using post

* Works locally!

* Recognize +

* Reverse

* Attempt 2

* Attempt 3

* Revert test

* Fix refresh logic

* Fix CWS Host

* Remove debug comments, update test

* Remove debug additions

* Update xpaths

* Expand menu

* Update xpath

* Adjust CWS Host column

* click

* xpath madness

* Add autocomplete for proc inst id & worker id

* Add filter button, fix autocomplete

* Fix hide filter

* Increase timeout

* Add warning message about 10,000 lines

* Move details from bottom to top of table
* Move css to separate file, implement hide LINE:

* Add statefulness for filters

* Start adding copy buttons

* Handle hide log lines toggle

* Add rest of copy buttons

* Fix js thinking strs were images

* Add delay to click

* Move status filtering to datatables, add css file

* Update how data is loaded (use dt.rows.add())

* Add ability to suspend/resume proc defs

* Fix infinite rapid update on deployments page

* Fix null in procInstId & proc start columns

* Add ability to cancel running process

* Fix logs erroring

* Fix error w/ output vars on process page, inits

* Update proc page to display type except for str

* Sped-up initiators enable-all

* Enable all reflect status of all initiators

* Fix interaction w/ procdef-level stats

* Add param to detect if we can used cached qstr

* Add delay to open all in new tab

* Remove autocomplete for process instances (slow)
* init

* add ldap server checker

* add warnings to ldap checker

* remove line
* changes to add redirect header; not yet tested

* has header change. but port is not dynamic. hard codded

* grabs ports from filter config. updates filter config during installation program

* now will fully install the config setting into the filter

---------

Co-authored-by: Brent J Knickerbocker <[email protected]>
* Add error handling if mimetype is not set.

* Add column for "edit" and "delete" buttons

* Change "Delete" to "Stop Running"

* Update Output Table. Move to top table.

* Add warning for output vars, move style into css

* Implement output_display_order support

* Don't display output_display_order

* Update processes page to consider order output var

* Add test model

* Update logs css

* Add model

* Update test

* Move model to correct folder
* Fix deployments download

* Add "none" to process table if no in/out vars

* Fix state for "Show stats for last ..."

* Fix null exception for input variables

* Fix error where worker status was opposite

* Update default order on proc page

* Update model to include more examples of imgs

* Fix deleting process resulting in ajax error

* When model is suspended, grey out line

* Process details table now changes size

* Adjust sizing

* Add message re: popup permission for open all

* Moved output var to local filter

* Make default for logs page to be "ERROR"

* Search on enter key press

* Add support for image urls, other file support

* Update to add support for other files, image urls

* Only show input vars (not vars during proc run)

* Update nested table on logs - make same font size

* Make hide all suspended processes check stateful

* Make warning hidden by default

* Add 3-way toggle: show all, log lines only, no log

* Update input var detection

* Add copy button to long stderr/stdout

* Searchbuilder is now encoded in url

* Update history test to be compat. with new btns

* Update caching behavior

* Update test model with relative paths
* Fix deployments download

* Add "none" to process table if no in/out vars

* Fix state for "Show stats for last ..."

* Fix null exception for input variables

* Fix error where worker status was opposite

* Update default order on proc page

* Update model to include more examples of imgs

* Fix deleting process resulting in ajax error

* When model is suspended, grey out line

* Process details table now changes size

* Adjust sizing

* Add message re: popup permission for open all

* Moved output var to local filter

* Make default for logs page to be "ERROR"

* Search on enter key press

* Add support for image urls, other file support

* Update to add support for other files, image urls

* Only show input vars (not vars during proc run)

* Update nested table on logs - make same font size

* Make hide all suspended processes check stateful

* Make warning hidden by default

* Add 3-way toggle: show all, log lines only, no log

* Update input var detection

* Add copy button to long stderr/stdout

* Searchbuilder is now encoded in url

* Update history test to be compat. with new btns

* Update caching behavior

* Update test model with relative paths

* Create cookie w/ username for stateful local vars

* Add tooltips to suspend/resume, edit, delete btns

* Fix timestamp, edit formatting of vars

* Support files that have mime type but not image

* Show var types on history page

* Update wording of log line filtering on history pg

* Edit var styling

* Fix formatting
* Revert duration

* Update minimum width for process details table

* Fix output variable not formatting correctly

* Fix resolving bug
@jamesfwood jamesfwood marked this pull request as ready for review August 23, 2023 17:30
@jamesfwood jamesfwood merged commit fbb0113 into main Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants