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

Merge with dongliu master #331

Open
wants to merge 54 commits into
base: master
Choose a base branch
from

Conversation

iTerminate
Copy link

No description provided.

dongliu and others added 30 commits September 12, 2021 12:27
* node 14, remove ssl key and cert

* newer docker compose standard, default http

* default http

* http start

* docker url and moer details

* more docker instruction
* latest expressjs version

* nvm

* add helmet

* install from package first, update nodemon

* add body size config

* default 1mb, no csp in helmet

* copy lock
* Resolve undefined exception for loading form details. Closes #303

* Prepare release 1.5.1

Co-authored-by: Dariusz <[email protected]>
* add feature flag

* clean comment

* start model readme doc

* repurpose form status

* update state transition

* js format not used any more

* add spaces back

* use airbnb base, update eslint

* newer eslint

* review model

* relax define and use

* update lint-staged to stop commit when eslint errors

* add forms under reviews table to user form view

* update draft and submitted form json

* add submitted form tab and table

* prettier in lint staged

* add review column

* monitor jade change

* add review route and view

* add review get route

* reviewer request typeahead and table

* reviwer added

* more info on review page, transform review result

* reviewer sees the review action

* group buttons

* allow reviewer to access, eslint fix

* form is editable while under review

* map sAMAccountName

* eslint and logger

* add review request in model

* update view

* add review request

* add request by and on columns

* start remove

* remove fixed

* eslint and logger

* update is reviewer

* admin only

* add review nav, route and view

* inject user id

* review route and ui review list

* request on

* add review accordion

* review result add and display

* default out

* review result to string

* all approve method

* release when all approved, keep submitted request

* debug to dev dep, add color

* force color

* debug back to dep, audit fix

* fix and check __review

* add version in review result

* release forms in a page

* link to released forms page

* remove releaesd form tabs, add closed forms

* form status

* closed form route

* close request after release, close fix, show reviews in closed form

* find released from the form and form direct parent

* allow released by user to archive a released form

* fix route

* more info when update status, no redirect, archive forms

* rework in view

* close review requests on the first rework

* rework set the doc to draft with review results
* update only when draft

* status 0 edit, 0.5 review not editable

* disable release after click

* show buttons for draft status, archive any status, no obsolete

* count review results for current version and reviewers

* fix all review
* no ssl now

* update version

* fix view side nav, release name, pdf in place

* add button to view and pdf

* add missing js

* avoid all break

* adjust page layout

* add dedicated print view

* recover view

* switch view

* use html2pdf 0.9.3

* fix select in two tables

* fix load discrpancy

* fix print load discrepancy, print from the window

* fix data-livestamp

* use abs date

* shorter date with time zone

* fix time, update print css

* include help in validation msg

* add help block in print view

* default with help, checkbox with rightside label

* all labels and help block before the value
* no ssl now

* update version

* fix view side nav, release name, pdf in place

* add button to view and pdf

* add missing js

* avoid all break

* adjust page layout

* add dedicated print view

* recover view

* switch view

* use html2pdf 0.9.3

* fix select in two tables

* fix load discrpancy

* fix print load discrepancy, print from the window

* fix data-livestamp

* use abs date

* shorter date with time zone

* fix time, update print css

* include help in validation msg

* add help block in print view

* default with help, checkbox with rightside label

* select all previous released rows by default

* all labels and help block before the value
* try rewrite

* missing /

Co-authored-by: Dong Liu <[email protected]>
* clean

* remove dup

* add form import button

* use data src to avoid 404

* form explorer, and support routes
* edit the text

* display html in form title and desc

* display html in traveler title

* name in title
* edit the text

* display html in form title and desc

* display html in traveler title

* name in title

* do not set min/max if not previously set

* new lib, patch style, replace api
* eslint fix

* eslint fix

* roles and permissions

* use reviewer role

* use old syntax

* use reviewer role

* use reviewer role for review
* display status 4

* status include
* display status 4

* status include

* editable module

* use module

* html if error

* use module in binder config

* allow html in binder view
* display status 4

* status include

* editable module

* use module

* html if error

* use module in binder config

* allow html in binder view

* table in container

* lint js lib

* lint fix

* binder module

* add binder module
* update and clean

* add individual released form

* add input type map

* api to update traveler status

* add traveler data api endpoint, refac

* Resolve undefined exception for loading form details. Closes #303

* Prepare release 1.5.1

* Get rid of forever and use pm2 as the new daemon manager for traveler/mongo-express. Closes #305

* Prepare release 1.5.2

* Update LICENSE.md

* Add toggleable hide of eTraveler navigation legend. Closes #307

* Prepare release 1.5.3

* Clarify the archive option during form release.

* Resolve command syntax issue.

* Prepare release 1.5.4

* Resolve issue where file name is lost after download. Closes #312

* Allow editing of file type when building a form allowing a specific format for file uploads. Closes #311

* Update file type validation to support the new custom file type. Closes #311

* Do not sanitize the filetype from the html code since its needed for custom upload types. Closes #311

* Prepare release 1.5.5

* Extend mqtt to support automation based on UDK

* Add functionality for api key and api key expiration and the ability for user to generate/revoke/copy key. Closes #316

* Allow admin to assign the API role to users. Closes #316

* Authenticate user using the API key or system account. Closes #316

* Allow checking of user role for permission checking for web session and api key auth. Closes #317

* Support permission check for web session and API. Resolve the non-checked form / traveler specific permission. Closes #317

* Add support for allowing data entry intraveler by user via API key. See issue #317 for more details. Closes #317.

* Add additional validation when saving traveler input. Closes #317

* Add new dependency for api-key generator. Closes #317

* Update the open api file to support the new functionality. Closes #317

* Resolve issue with missing parameter to mqtt

* Allow configuration of public travelers button. Closes #318

* Add wipHTML for autosaved html of a worked on form. Closes #320

* Render wipHtml when avaiable. Provide button to switch to saved version of the form. Closes #320

* Open login page on session loss in a new tab to not lose the local changes. Closes #320

* Add functionality to autosave when making various changes. Add toggle for showing saved form and unsaved form. Closes #320

* Standardize multer config for API and APP. Closes #326

* Add functionality for uploading data to traveler via API. enforce type, standardize functionality to filling out other inputs and uploads, clean uploaded data on fail. Closes #326

* Add client API for file upload. Closes #326

* Publish to mqtt upon file upload. Closes #325

* Prepare release APS-1.6.0

* Resolve date validation that end in 0. Closes #327

* Prepare patch release for APS-1.6.1.

* Resolve issue with not being able to upload multiple files on discrepancy logs. Closes #330

* Prepare release for APS-1.6.2

* relative path from config dir

* dummy config to allow loading

* post to add data

* revert form style and wip

* use newer syntax

* no service and fix object chaining

* typeahead only if showCCDB

---------

Co-authored-by: Dariusz <[email protected]>
* display status 4

* status include

* editable module

* use module

* html if error

* use module in binder config

* add is manager

* use lib

* allow manager and comment

* clean up
* update and clean

* add individual released form

* add input type map

* api to update traveler status

* add traveler data api endpoint, refac

* Resolve undefined exception for loading form details. Closes #303

* Prepare release 1.5.1

* Get rid of forever and use pm2 as the new daemon manager for traveler/mongo-express. Closes #305

* Prepare release 1.5.2

* Update LICENSE.md

* Add toggleable hide of eTraveler navigation legend. Closes #307

* Prepare release 1.5.3

* Clarify the archive option during form release.

* Resolve command syntax issue.

* Prepare release 1.5.4

* Resolve issue where file name is lost after download. Closes #312

* Allow editing of file type when building a form allowing a specific format for file uploads. Closes #311

* Update file type validation to support the new custom file type. Closes #311

* Do not sanitize the filetype from the html code since its needed for custom upload types. Closes #311

* Prepare release 1.5.5

* Extend mqtt to support automation based on UDK

* reset nav style

---------

Co-authored-by: Dariusz <[email protected]>
* display status 4

* status include

* editable module

* use module

* html if error

* use module in binder config

* add is manager

* use lib

* allow manager and comment

* clean up
* add button

* add version data route, format

* add version mgmt view, and view controller

* better conversion, correct the link

* disable button if current version, add new version

* record _v 0 in history

* clone with history

* exclude version key, fix version check

* update version list

* update comments

* eslint

* create new form with promise

* use async

* keep history for new released form

* restore unneeded file
* remove old link

* wrap

* update how to par

* update basics

* update home page and doc basics

* update form and traveler basics

* update binder details

* update login page

* ignore vscode

* update ownership

* update tab

* update color

* restructur and start template

* restructure traveler

* restructure api

* rename to templates

* template header

* add normal template

* add discrepancy template

* fix typo

* add template life cycle

* new template

* deprecated feature

* how to save when sessen expired

* basic inputs

* finish basics

* docker form mgmt

* update status text and not archive approved form

* update msg

* more about table tools

* template up to date

* close edit spec when it is open

* allow special char and remove unused variable

* allow archive approved form and fix bug

* correct tab name

* remove unused var, allow &

* finish template

* add print doc

* fix typo

* rephrase overview

* allow ui term in layout

* add update date

* add roles in title

* more for template

* add button

* add version data route, format

* add version mgmt view, and view controller

* better conversion, correct the link

* disable button if current version, add new version

* record _v 0 in history

* clone with history

* exclude version key, fix version check

* update version list

* update comments

* eslint

* create new form with promise

* use async

* keep history for new released form

* restore unneeded file

* add md prettier config

* test md prettier

* editorconfig not working

* wording

* rename from reserved, and update

* fix spell and grammer

* use term config

* discrepency not loaded

* populate discrpency record

* fix and format

* proof template doc

* proof traveler doc

* clean faq

* update release for 3.2.0

* touch release version

* update doc date

* Revert "remove unused var, allow &"

This reverts commit 0f54bea.

* Revert "allow special char and remove unused variable"

This reverts commit 7fb6f4e.
* add button

* generic msg

* add binder list and status to modal, add type to endpoint payload

* use type

* more check for add binder, 400 if not added

* fix typo

* add binder logic

* use binder model to update work progress

* update wording to work and inputs

* async in binder

* update parent progress when binder save with progress changes

* use work counts

* work link
* new lib modal

* use status for archive

* status for archive

* update route for archive

* archive in ui
* new lib modal

* use status for archive

* status for archive

* update route for archive

* archive in ui

* move to modal lib

* use writable binder list
* add filetype spec

* add filetype spec

* ignore template

* add help block for radio group
* remove p and v

* remove work alias

* fetch work title and display

* short main page
* enable local group

* clean

* clean group view

* better layout

* comment

* eslint

* query shared
* add script installation readme

* add installation instr

* add user doc
* use mht

* back to html

* add page link

* clean
* clean doc and update link

* mouse and button

* display new lines

* note model and route

* note update and delete, clean livespan

* include id in new notes

* correct url
* update docker to node 20 and doc

* add checkbox set to list of input

* move templatizer to dev and update version

* add checkbox set jade view and js

* add and update input and spec for checkbox set

* add new works

* edit checkbox set

* issue found

* new div and logic for checkbox set

* comment

* keep the existing checkbox in .checkbox-set-controls

* remove margin after checkbox in set

* update checkbox button

* edit and remove inside the set

* save button to controls, history to each checkbox

* skip notes for checkbox set

* fix and refactor print

* fix and refactor traveler view

* refactor traveler.js
* button to dearchive

* fix typo

* Revert "button to dearchive"

This reverts commit f3218e7.

* enable binder dearchive
* convert case before find

* use id in reviewer table
* remove user link by name, add id link

* link to use details

* remove modify roles from admin users list

* remove user roles when adding

* eslint fix

* upgrade eslint

* eslint fix

* clean

* eslint all js

* eslint fix

* clean user page

* clean profile

* simple

* clean unused permission

* add ownership column

* add ownership column and view

* add ownership view

* eslint fix

* user traveler list

* clean

* allow admin to update ownership

* add binder table
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.

2 participants