ProposedDocumentData.java

Diff Revision Date Message Lines Author Branch
7884 15 Sep 09

merging 2.9 branch changes into the trunk

+5 -1 Rafal Krzewski trunk
7562 10 Aug 09

CYKLO-644: configuration option add_document_visual_editor added, when false (default) plain text -> html conversion routine is used (tag removal, newline to paragraph translation)

+24 -1 Rafal Krzewski trunk
7531 31 Jul 09

CYKLO-643: Save attachments descriptions changes action fixed.

+5 Łukasz Urbański trunk
7521 29 Jul 09

CYKLO-636: Include document tumbnail to document propose attachment file resources. Save and Update proposal action modified.

+6 -1 Łukasz Urbański trunk
7514 28 Jul 09

CYKLO-639: HTMLService.removeEmptyParas invocation added to isValid(HTMLService) (invoked from actions) and cleanupContent(HTMLService) (invoked from views)

+2 Rafal Krzewski trunk
7512 28 Jul 09

CYKLO-625: disabled HTML stripping and newline to paragraph translation for newly proposed documents (visual editor support)

+1 -13 Rafal Krzewski trunk
7510 28 Jul 09

CYKLO-620: setAttachments method in ProposedDocumentData class modified to set only FileResoureces. getAttachmentDescription method modified to prevent from indexOutOfRange exception.

+158 -118 Łukasz Urbański trunk
7506 24 Jul 09

CYKLO-630: fromNode method modified to set only FileResources to proposedDocumentData.attachments. SaveProposedChanges action at save attachments section changed.

+7 -8 Łukasz Urbański trunk
7482 19 Jul 09

CYKLO-613: an overhaul of text handling that will hopefully fix those problems for good. Basically, we HTML-entity encode the text on the way to the browser and the proposal XML document, we HTML-entity decode the text on the way from the browser and proposal document, and we strip HTML tags on the way from the browser and from general (administrator - edited) document. Content is treated differently: basically unchanged, except from toNode method used when submitting new documents.

+89 -97 Rafal Krzewski trunk
7481 19 Jul 09

CYKLO-613: refactoring HTML striping into separate methods

+16 -6 Rafal Krzewski trunk
7480 19 Jul 09

CYKLO-613: changed attachment id handing in fromParmeters method for consistency

+3 -3 Rafal Krzewski trunk
7479 19 Jul 09

CYKLO-613: introducing quot / unqot methods into fromParameters / toTemplatingContext

+62 -37 Rafal Krzewski trunk
7470 15 Jul 09

CYKLO-614: Save action method for ReviewProposedChanges modified to allow accept, reject and save option.

+119 Łukasz Urbański trunk
7462 14 Jul 09

CYKLO-611: make cleanupContent logic generally available as a static method

+10 -4 Rafal Krzewski trunk
7455 13 Jul 09

CYKLO-609: fold successive newlines into one

+1 -1 Rafal Krzewski trunk
7451 10 Jul 09

CYKLO-601: Field editorial note added to proposed document data component.

+19 -5 Łukasz Urbański trunk
7444 07 Jul 09

CYKLO-538: Attachment description added to attachment section on ReviewProposedChanges screen. Null reference attachments list bug fixed.

+5 Łukasz Urbański trunk
7440 03 Jul 09

CYKLO-538: prevent NPE when document contains no content

+4 Rafal Krzewski trunk
7431 02 Jul 09

CYKLO-595: clean up document content before passing on to the simplified editor. Don't frustrate the user with markup they are unable to edit.

+32 Rafal Krzewski trunk
7430 02 Jul 09

CYKLO-538: don't call enc() multiple times. This should prevent strange behaviour with &quot; and similar showing up in document attributes. This also prevents striping <p> tags generated for newline-terminated blocks of text on original proposed content.

+17 -16 Rafal Krzewski trunk
7423 01 Jul 09

CYKLO-593: store content attribute in proposa wrapped in CDATA node, it contains sanitized XHTML now.

+2 -1 Rafal Krzewski trunk
7420 01 Jul 09

CYKLO-593: added HTML validation and cleanup to PDD.isValid() method, adjusted API

+25 -2 Rafal Krzewski trunk
7417 01 Jul 09

CYKLO-593: removed unused parameter

+1 -2 Rafal Krzewski trunk
7409 01 Jul 09

CYKLO-570: track the location of the node where proposal of changes was submitted. this is needed to look up component configuration in the administrative screens

+33 -5 Rafal Krzewski trunk
7407 01 Jul 09

CYKLO-570: provide default value for attachmentDirId. It will not be used unless attachmentsEnabled == true

+1 -1 Rafal Krzewski trunk
7399 30 Jun 09

CYKLO-570: NPE protection

+4 Rafal Krzewski trunk
7391 29 Jun 09

CYKLO-570: backend for requesting document removal

+19 -6 Rafal Krzewski trunk
7388 29 Jun 09

CYKLO-570: expose attachments List for the benefit of review screen / action

+2 -2 Rafal Krzewski trunk
7387 29 Jun 09

CYKLO-538: Defined selectedCategories in fromProposal method.

+1 Łukasz Urbański trunk
7386 29 Jun 09

CYKLO-570: trivial bugfix

+1 -1 Rafal Krzewski trunk
7385 29 Jun 09

CYKLO-538: undoing some unwarranged formatting changes

-1 Rafal Krzewski trunk
7384 29 Jun 09

CYKLO-538: Add new section "documents proposed changes" on EditorialTasks screen. Getters added to class ProposedDocumentData. New ReviewProposedChanges screen added.

+86 Łukasz Urbański trunk
7365 26 Jun 09

CYKLO-570: don't attempt to handle attachments when disabled in component config (NPE protection)

+9 -6 Rafal Krzewski trunk
7358 25 Jun 09

CYKLO-570: really delete submitted but not yet published files

+2 -1 Rafal Krzewski trunk
7357 25 Jun 09

CYKLO-570: attachment releated tweaks

+6 -6 Rafal Krzewski trunk
7354 25 Jun 09

CYKLO-570: initialize attachment, attachmentDescription lists correctly

+2 Rafal Krzewski trunk
7353 25 Jun 09

CYKLO-570: fixed XPath expression for metadata retrieval

+10 -10 Rafal Krzewski trunk
7346 25 Jun 09

CYKLO-570: more attachment related refactorings

+39 -3 Rafal Krzewski trunk
7342 25 Jun 09

CYKLO-570: refactoring - more attachment related logic moved to ProposedDocumentData

+31 Rafal Krzewski trunk
7337 25 Jun 09

CYKLO-570: refactoring - moved file upload validation to ProposedDocumentData - will be shared with UpdateProposedContent action

+70 Rafal Krzewski trunk
7329 23 Jun 09

CYKLO-570: storage of proposed changes in proposedContent field as XML

+35 -4 Rafal Krzewski trunk
7327 22 Jun 09

CYKLO-570: retrieval proposed changes from XML stroed in proposedContent field

+82 -15 Rafal Krzewski trunk
7268 18 Jun 09

CYKLO-570: use explicit procedural approach to metadata building

+18 -26 Rafal Krzewski trunk
7171 25 May 09

CYKLO-570 handle attachments state variables correctly in fromParameters method

+11 -1 Rafal Krzewski trunk
7114 23 Mar 09

CYKLO-573: moved metadata specific methods to a separate utility class, cleaned up and documented API

+14 -11 Rafal Krzewski trunk
7108 23 Mar 09

CYKLO-573: Interface cleanup

+10 -10 Rafal Krzewski trunk
7076 19 Mar 09

CYKLO-573: refactoring pulling HTMLService interface down to ledge-components, in order to consolidate it with HTML handling code in ledge-forms

+3 -3 Rafal Krzewski trunk
7074 19 Mar 09

CYKLO-573: refactoring: use HTMLService

+13 -15 Rafal Krzewski trunk
7067 16 Mar 09

CYKLO-570: descriptions handling for new and existing attachments

+5 Rafal Krzewski trunk
7064 12 Mar 09

CYKLO-570: component configuration variables were placed in the data object. inheritCategories and calendarTree are not supposed to be user configurable, they removed from the form. part of attachment code were moved to the data object, more code that should be shared between add & edit use cases remains to be factored out from ProposeDocument action

+92 -37 Rafal Krzewski trunk
7054 12 Mar 09

CYKLO-570: added/improved logic for handling categories, related resources in ProposedDocumentData

+45 -8 Rafal Krzewski trunk
7052 11 Mar 09

CYKLO-570: added handling of some more fields in fromNode(..)

+5 -1 Rafal Krzewski trunk
7051 11 Mar 09

CYKLO-570: implemeted fromNode method and shuffled around meta processing

+83 -53 Rafal Krzewski trunk
7048 11 Mar 09

CYKLO-570: further refactoring - moved part of action logic into data object

+156 -93 Rafal Krzewski trunk
7046 10 Mar 09

CYKLO-570: refactoring - the extracted bits will be useful for impelementig document edit screen

+247 Rafal Krzewski trunk