Commit Graph
100 Commits
Author SHA1 Message Date
Rich 8e09b4b064 Westinghouse PROMS CPS integration - error handler when waiting to process a pipe message. 2016-04-22 18:42:59 +00:00
Rich 09331fa227 Delete Empty CPS Annotation 2016-04-21 20:21:18 +00:00
Rich a3addf0647 2016-04-05 16:10:18 +00:00
Rich 9a9da3fc1d 2016-04-05 16:07:52 +00:00
Rich e83a173039 Code to generate Procedure text for CPS Export 2016-04-05 16:05:58 +00:00
Rich b695681aba code to support CPS Editor 2016-04-05 16:05:19 +00:00
Rich 9931c454f3 Added config support for AnnotationType 2016-04-05 16:04:21 +00:00
Rich d635be8452 Corrected code so that the annotation panel expands and collapses properly 2016-04-05 16:01:59 +00:00
Rich c100349dcb 2016-03-04 16:45:54 +00:00
Rich 4936c0410b Fixed Indent Logic 2016-03-04 16:14:12 +00:00
Rich 78d9affc00 Check to see that the value is not null 2016-03-04 02:01:38 +00:00
Rich 526214e0b5 Don't Change Selection if the mouse is down.
Don't hide the grid tools for RO Tables
Disable individual methods for RO Tables on the Grid Tool Ribbon and Context Menu (Copy, Paste, Insert, Remove)
Don;t allow edit mode if IsRoTable.
2016-03-02 21:03:08 +00:00
Rich a1deb2a0ff Don't set the grid into adjust size for RO Tables 2016-03-02 21:01:39 +00:00
Rich b5d87ce503 Corrected typo (runing vs running)
Shift-Ctrl-Note Insert Note displays an empty context menu if the Insert Note is disabled in the Ribbon
2016-03-01 18:52:25 +00:00
Rich 74f2b180eb B2016-055 - Answering No to a dialog when doing a paste replace of a procedure was causing the code to crash.
B2016-048 - Editing an existing transition was causing the code to crash.
2016-03-01 13:38:08 +00:00
Rich 967e856f0c B2015-230 - Remove System Option to open Enhanced Documents in a separate window. This temporarily fixes issues where opening enhanced Doucuments in a separate window was causing the code to crash 2016-03-01 13:37:06 +00:00
Rich 841f8fff63 When the Dock property was set to fill, the save and cancel buttons were hidden
Removed the message box from the search save button which was incorreclt stateing that the output was saved to the clipboard.
2016-02-26 20:50:31 +00:00
Rich 2c498554ee Adjust the height of the Annotation Text window to scroll when moved past the bottom line. 2016-02-26 20:49:26 +00:00
Rich cc108f3c85 Don't use the EditItem for paste if it's parent is not expanded. This keeps the pasted step from being pasted in the wrong place.
Display the SQL Code Revision in the email that sends the Error Log
2016-02-26 16:10:47 +00:00
Rich c2649727e1 Added Class to support Purge of Disconnected Data
Allow Display of the SQL Code Revision
2016-02-26 16:09:50 +00:00
Rich e0c4f8b1f4 Display the SQL Code Revision in the Error Log 2016-02-26 16:08:47 +00:00
Rich a83ac512bd Display the SQL Code Revision in the About form
Added Code to Purge Disconnected Data to the Admin Tool
2016-02-26 16:08:16 +00:00
Rich 4909cf689f Add code to specify the SQL Code Revision 2016-02-26 16:07:05 +00:00
Rich f1f71e06bf If the current section is a foldout, then make the Link a remote link since the rest of the procedure is not part of the foldout page.
Import Links from the Foldout PDF.
2016-02-25 19:46:34 +00:00
Rich c7c8d7f4ec Set the Annotation Scrollbar on and fit the annotation window to the space available. 2016-02-25 19:44:07 +00:00
Rich 900ab24184 Fixed logic to turn Change Manager on when procedure is replaced as part of import. 2016-02-25 19:43:26 +00:00
Rich 6ae1fcda1a Allow delete of grid/content when deleted rousages and transitions exist. This was causing the code to crash. 2016-02-17 19:14:11 +00:00
Rich 697fbf98f8 Show the amount of time it takes to complete a search
Remove Debug Messages
Eliminate crash due to SQL connections
The location for search result was changed from bullets to meaningful values.
2016-02-12 20:00:10 +00:00
Rich 3dde544f71 Use a simpler method to hide the psuedo caret 2016-02-03 17:15:06 +00:00
Rich 0eeac0cb7f Allow the userr to speciffy if they want annotations to be listed for non-annotation searches 2016-02-03 15:14:08 +00:00
Rich ab76c69199 Corrected checkout logic for non-Enhanced Document procedures 2016-02-02 13:21:25 +00:00
Rich f02cce2ced Change RTF token \line to \pard\line so that text displays properly.
Pause timer to refresh the treeview while items are being added.
2016-02-01 21:30:07 +00:00
Rich c159a9889f Pause timer to refresh the treeview while items are being added.
Sometimes the Multiple Cursors are diplayed.  One is a proper cursor that moves with the right and left arrow keys.  The other one can appear anywhere in the text or even bettwen text windows and does not move with the arrow keys.  This has been fixed.
2016-02-01 21:29:03 +00:00
Rich b087ce9996 Fixed code so that Right-Click is accounted for before going to an enhanced document 2016-01-28 16:18:13 +00:00
Rich 3d38002678 Removed unused Debug output 2016-01-28 16:17:28 +00:00
Rich 0bcbbd9235 Improved Checkout performance
B2016-012 Bug Fixed.  Not sure how, but the issue is no longer seen.
2016-01-28 16:16:55 +00:00
Rich 15d8380fe6 vesp_GetDisconnectedItemsCount - Fixed to account for Deleted Items
vesp_PurgeDisconnectedData- Stored procedure to remove disconnected data
Fixed the window header to show the SQl Server name and the Database name
2016-01-22 21:25:29 +00:00
Rich 497b614111 Added \line RTF token to the possible whitespace characters 2016-01-22 15:22:30 +00:00
Rich 4d8cddff8b Allows the list to be sorted by ascending order or descending order 2016-01-22 14:43:26 +00:00
Rich e449ad5cde Error in logic 2016-01-20 20:50:22 +00:00
Rich 28d54bed73 Not Sure 2016-01-20 20:29:44 +00:00
Rich 5a478dff75 Caption Serverand Database Name 2016-01-20 20:29:09 +00:00
Rich ad1980e434 Added option to Remove Trailing Hard Returns and Manual Page Breaks 2016-01-20 20:19:53 +00:00
Rich 1cd18c985d Updated Library 2016-01-20 20:19:07 +00:00
Rich f51753ea4b Added support to limit folder range.
Added option (false) to Remove Trailing Hard Returns and Manual Page Breaks
2016-01-20 20:18:11 +00:00
Rich 9e170362cc Added option to Remove Trailing Hard Returns and Manual Page Breaks
Added Server and Database to Window Caption (Title)
2016-01-20 20:17:16 +00:00
Rich 116e10218d Added Ability to Sort Results by SourceSafe date or Development Date 2016-01-20 20:14:22 +00:00
Rich 25dc39cd75 Added logic to keep code from crashing when adding a non-step related transition.
Added a menu item to create an Import file from an approved procedure.
Converted PDF RO References to Uppercase so that the PDF Links to the complete RO Report would work.
Eliminated Unit ROs from ROCompleteReport references in the PDF Links
Convert RO Links to Uppercase to be consistent.
2016-01-14 22:43:26 +00:00
Rich 5ae3a93bea If you try to import a procedure into an empty PROMS folder, the code was deleting the File System Folder including the import file. This happened during D.C. Cook training (12/3/2015).
B2015-138 When Importing a procedure that has a customer RODB location, and the RODB locations in the Database have been updated to local locations, the user is given the choice of RODBs.  If the user answere OK the RO Database is set for the procedure set (Working Draft).  If the user presses the Cancel button, the import is canceled.
B2015-195 When trying to set an RO Path for a procedure set, the OK button was not being enabled.  This has been fixed.
B2015-196 If you change an RO Path to match an existing path you will be giving a message saying that this cannot be done.
During D.C. Cook training I noticed that there are two items in the tool bar that should only be available in DEBUG mode.  These are LastChange and StepRTF which are used for debugging Multiuser.  They have been changed to not be visible for production mode.
Remove locked or unlocked from toolbar.  It was not connected to anything.
Allow the existing (Customer) FSTs to be used without a local copy of the RO database.
B2015-166 Summary of Changes - Remove duplicate records for new steps.
2015-12-04 17:14:59 +00:00
Rich 8e13fc7179 Fixed logic that allows the user to select an existing RO database. If the user presses Cancel, the code would crash. The code was changed to cancel the Import. Fixes B2015-216 2015-11-30 22:36:18 +00:00
Rich 5cc71b9e10 Change button Caption from Okay or Ok to OK 2015-11-30 15:48:49 +00:00
Rich 1cb12b6fdc Changed caption to "<User Name> (<First Name> <Last Name>) Information"
Changed caption to "Manage User"
2015-11-25 15:27:48 +00:00
Rich 8c76185c13 Search was throwing an error if the user pressed the search button, when the the Step Type Radio button was pressed when no procedures were selected.
B2015-171 Fixed the Library Document Report.
2015-10-29 15:25:12 +00:00
Rich 265cf53f89 Logic to limit when the OK button is enabled. Don't enable the OK button unless the RO Path has changed.
Verify that the RO Path is not previously used (for a different RO Database)  This will resolve an issue that we were seeing where AEP was changing the RO Path from ROAOP to ROEOP and the result was that the association was changed.  The code will now check that this will not be able to happen.
Fixed Bug B2015-171 - when the Library Documents Report located Disconnected Data records.  Previously, the code would crash.
2015-10-29 15:24:20 +00:00
Rich 9b54691fee Remove options to save and restore with Audit History 2015-10-27 16:17:17 +00:00
Rich a593257faa Command Line DB was causing some problems if it was not used. 2015-10-27 14:42:57 +00:00
Rich 58e58083c2 New Enhanced Document Properties
Fixed Find and Replace logic to keep it from getting into an infinite loop
Used new CSLA code to hanndle deletion of procedures with external transitions
New Enhanced Document properties
2015-10-27 13:34:33 +00:00
Rich e22458bd1a Added File extension parameter to Make Document
Support for DocX and correction of Import Word Doc file
Change button from Print to Report
Support opening a Library Document that does not have any usages.
2015-10-27 13:32:33 +00:00
Rich d452b2f5b3 DB Command Line Parameter now supports server name and ItemIDs. 2015-10-27 13:31:17 +00:00
Rich 03303d785c New Enhanced Document Properties
DB Command Line Parameter now supports server name and ItemIDs.
Added File extension parameter to Make Document
2015-10-27 13:30:46 +00:00
Rich 98afa51783 Added File extension parameter to Make Document
Handle Error Handling for External Transitions
Insert Enhanced Document Step
2015-10-27 13:29:40 +00:00
Rich a87c8facdb New Enhanced Document Properties 2015-10-27 13:28:47 +00:00
Rich d720159113 Added Separate Window Preference
Added error handling for External Transitions to deleted Procedure.
Added File extension parameter to Make Document
DB Command Line Parameter now supports server name and ItemIDs.
Added Separate Window Preference
Added capability to Update Format and then close.  Command Line Parameter /P= with no IDs shutsdown immediately.
Changed code so that the Anotation panels stay expanded.
Added Console Writeline output when Formats are updated.
Attached Console Output to Parent.  This allows the Console output to be output to a command window when a Batch FIle is used to Update Formats.
2015-10-27 13:28:06 +00:00
Rich af339e0717 Added File extension parameter to Make Document 2015-10-27 13:25:11 +00:00
Rich e668a71b43 Changed the code that was presenting a message that the step had been deleted when the step had not been deleted.
Allow a transition to be modified.  The current code does not allow an existing transition to be modified unless you change the Step Number of the destintation.
Add a hardspace bewteen multiple returns.  This assures that blank lines will be printed.
2015-10-20 21:12:33 +00:00
Rich abe3e723ea Added error handling code so that procedurre set could be imported. 2015-10-20 20:54:19 +00:00
Rich 406ec0f036 Added Format Flag to account for Sub-sections levels in the Sequential Numbering
B2015-162 Bug was able to be fixed with data.  Attachment 7 and 8 in Shared AOP 79 were incorrectly set to print Number and Title.
2015-10-13 13:56:32 +00:00
Rich fc05c5feec Fixed so that it will compile 2015-10-09 19:24:52 +00:00
Rich 4109bb7bfe This is a limitation of the Microsoft RichTextBox. I discovered that the character \u1? appeared to function as a hardspace. This is only used when the text is displayed and not when it is edited, so, you need to move off the window to see the effect. 2015-10-09 18:43:14 +00:00
Rich 3519bec6aa Fixed logic to setup the transition panel
Fixed the code to open enhanced document windows so that they are not always on top.
If a transition to a procedure is created, or exists, it cannot be edited.  John Zimmerman of Ginna reported this. The transition can be selected and deleted if the transition panel has not been opened.  If the transition panel has been opened, then the code will crash as soon as the transition is selected.  Thhis change fixes the code so that it will not crash.
2015-10-08 21:03:14 +00:00
Rich 8567b1e7bf Bug B2015-126 Fixed
When Referenced Objects are updated, the RO values embedded in Step Text is updated.  Word sections are "flagged" (the temporary PDF records are deleted) which will cause the ROs to be "refreshed" when the procedure is printed.  Unfortunately, the process did not account for changes to RoImage content, with no change to the embedded "value."  PROMs has been changed to identify the Referenced Objects (ROIDs) which have been impacted by changes to the ROImages.
ROFSTs can be updated in one of two ways.  When an RO.FST is created in the ROEditor, this is a "new" RO.FST which can be used to create a unique ROFST record in the PROMS database.  When this happens, any "new" figures are also added to the PROMS database.  So, the first time this RO.FST is associated with PROMS database all of the figures are also created.  If you then associate the this RO.FST PROMS record with other procedure sets, the only change is the addition of an association record.
The important thing to remember is that the temporary PDF files used to improve performance with MS Word sections, have to be deleted when changes are made to the information used to describe the section, which can include RO Values and the RO Image Files.  This change automates the process of refreshing the temporary PDF
2015-09-15 21:41:17 +00:00
Rich 1d360b719e The Ro Editor uses a semaphore File (ROEditor.OWN) to control or limit the number of people that can edit the RO database. Only one person can edit at a time. When the editor is opened, the code checks to see if the Semaphore flag exists. If it does, the code exits immediately. If it didn't exist, it was created. When the editor was exited properly, the file was closed and deleted.
Unfortunately, if the editor crashed, the file would be left and nobody could open the RO Editor.  To this point, this would have to be fixedd manually.  With this change, the code deletes the file rather than checking for its existance.  If the deletion fails (which indicates that the editor is in use) a MessageBox will be displayed and identify who has the RO Editor.
2015-09-15 21:40:15 +00:00
Rich b9d01b6976 Added to PageList Tokens
{PDFDate} Currrent Date MM/dd/yyyy
{PDFTime} Currrent Time HH:mm:ss
2015-09-14 20:48:03 +00:00
Rich b39fc7a048 Open a MessageBox and provide a message if a connection fails. This handles incorrected values for the server name, the database name, or anything else (including security) which would cause a connection to fail. 2015-09-14 13:30:01 +00:00
Rich 4540344b0b Added logic to remove Session records associated with previously closed processes. 2015-09-14 13:29:19 +00:00
Rich 4c0fed9dce Added Enhanced Document Menus
SetAdministrator Support for Import and Export Procedure Sets, Import Procedure, Export Procedure
Added ROID PDF Destinations to Complete RO Report so that PDF Links can go to a specific Refenced Object in the Complete RO Report PDF.
Add PDF Links for Enhanced Documents and Complete RO Report
2015-09-12 15:49:37 +00:00
Rich a87decdbe3 Open Enhanced Document from Procedure or Procedure from Enhanced Document
Added new feature to keep Background Document and Deviation Documents in Sync as the user moves through the procedure.
Support ReadOnly steps for Enhanced Documents linked steps.
2015-09-12 15:47:44 +00:00
Rich 551b71e525 Save Enhanced Document Properties
Support new Properties Step_SourceToBackground, Step_BackgroundToSource, Step_SourceToDeviation, Step_DeviationToSource
2015-09-12 15:45:06 +00:00
Rich 694c887710 Support multiple edit Windows
Support Sync of Enhanced Documents
2015-09-12 15:43:55 +00:00
Rich 8280b4976f Added new feature to keep Background Document and Deviation Documents in Sync as the user moves through the procedure.
Added manual ping on btnStepRTF.  This is for testing Ping logic when running in debug (visual Studio)
Changed security to allow SetAdministrator to perform some Admin functions.
Support multiple windows by VersionID.
2015-09-12 15:43:07 +00:00
Rich ba94c537cc Added new feature to keep Background Document and Deviation Documents in Sync as the user moves through the procedure.
Added the ability for the Set Admin to use Admin Tools
2015-09-12 15:42:05 +00:00
Rich 14e0d8c756 Added ROID PDF Destinations to Complete RO Report so that PDF Links can go to a specific Refenced Object in the Complete RO Report PDF. 2015-09-12 15:41:08 +00:00
Rich f71a0a2431 Setup DisplaySearch context menu after /DB parameter is processed. 2015-09-01 13:12:24 +00:00
Rich e46075e675 Don't setup context menu in the initialization code. 2015-09-01 13:11:39 +00:00
Rich efe327a28f Reduced debug output for external transtion issues.
Added processing status output for Deletes
2015-08-12 22:15:45 +00:00
Rich 312b0e4e2d Improved performance of the SQL Stored procedures related to DeleteItemAndChildren.
Added output so that status can be seen as a procedure is deleted.
2015-08-12 22:14:44 +00:00
Rich 94a1c4289b Verify that the current node is within range before looking at the value 2015-08-05 12:38:40 +00:00
Rich 9854bc7690 Consistent wording to refer to Working Drafts (Doc Versions) 2015-08-04 13:00:57 +00:00
Rich a9745c111a Added code to fix Bug B2015-095 2015-08-04 01:19:51 +00:00
Rich 59fbfdc082 Addjusting the settings for the expander so that they are easier to see. 2015-08-03 19:25:39 +00:00
Rich a083da2cd2 Added code to differentiate between add and edit modes 2015-07-27 22:17:41 +00:00
Rich 2aa0057fa1 Changed the Multi-user refresh so that the selected node is not changed between the adding and the finalizing of the section addition.
Use the selected node prior to setting the section properties so that the node is added at the correct location.
2015-07-27 21:18:02 +00:00
Rich 03d5bb04f8 Fixed logic to add ROImages so that adding a duplicate record will not cause the code to crash.
Fixed the layout of the Tag Panel so that the Step Type can be changed,
2015-07-23 16:25:26 +00:00
Rich 4f4513ffe5 Added CenterToStepThenPage format flag which smothly transitions the left margin of a table as the table width increases from the high-level step width to the page width. 2015-07-13 15:49:08 +00:00
Rich 8546a09674 Added PDF SaveLink parameter to methods
Added PDF SaveLink Logic
2015-06-17 11:32:13 +00:00
Rich ee198b5275 Added PDF SaveLink checkbox and methods
Added PDF SaveLink parameter to methods
Added internal tool to select existing user.
2015-06-17 11:30:22 +00:00
Rich 9bc892a040 AddedPDF SaveLink parameter to methods 2015-06-17 11:28:53 +00:00
Rich 0f347f27cc Support 1000-9999 sibling records. The limit had been 999. Westinghouse Alrams exceded this limit 2015-06-16 19:52:30 +00:00
Rich 8a8818f1fb Added Error Handling for VETreeNode so that a disconnected TreeNode will not cause the code to crash. 2015-06-10 13:27:34 +00:00
Rich cf585b9ea9 Adding a new Folder was timing-out during a SQL Stored Procedure.
The logic was changed to more quickly determine if the folder could be checked-out.
2015-06-10 13:26:53 +00:00