Clone Tools
  • last updated 18 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1397: rename ReturnDto to ValueWithTypeDto, use for new param of property modification also.

  1. … 3 more files in changeset.
ISIS-1397: factored out InteractionDtoServiceInternal (cf CommandDtoServiceInternal); move responsibility to hold the Dto into the applib Interaction object.

  1. … 15 more files in changeset.
ISIS-1397: bringing applib Interaction and MemberInteractionMementoDto closer into line; to whit...

- renamed mim.xsd to ixn.xsd

- renamed MemberInteractionMementoDto to just InteractionDto (cf applib's Interaction)

- renamed MemberInteractionDto to just InteractionExecutionDto (cf applib's Interaction.Execution)

- moved subExecutions to InteractionExecutionDto

    • -163
    • +165
    ./java/org/apache/isis/schema/utils/Roundtrip.java
  1. … 10 more files in changeset.
ISIS-1397: reworked mim.xsd as a replacement/generalization for aim.xsd. renamed some of the methods in applib's Interaction class, to make more consistent with MemberInteractionMementoDto.

    • -160
    • +167
    ./java/org/apache/isis/schema/utils/Roundtrip.java
  1. … 14 more files in changeset.
ISIS-1370: construct the aimDto before calling PublisherService. Also refactoring property setter facet and OneToOneAssociation to follow the same general structure as for action invocations, in particular for the set up of Command objects.

  1. … 19 more files in changeset.
ISIS-1291: extending common.xsd to support enums.

Also ensuring all the XSD files are consistent.

    • -0
    • +66
    ./java/org/apache/isis/schema/utils/CommonDtoUtilsTest.java
    • -0
    • +23
    ./java/org/apache/isis/schema/utils/Vertical.java
  1. … 9 more files in changeset.
ISIS-1291: memento xsd schemas + utils; new command memento DTO for Command#memento, updated background service, background execution; new PublisherService

specifically:

- deleted aim-1.0.xsd, added in aim-2.0.xsd, also cmd-1.0.xsd and updated common-1.0.xsd.

- Updated ActionMementoDtoUtils new CommandMementoDtoUtils and CommandDtoUtils

- moved CommandMementoService to internal SPI, added asCommandMemento, depends on ObjectAction (in order to handle mixin types) and also works on lists of objects (for bulk command/actions)

- ActionInvocationFacet populates the Command#setMemento using CommandMementoDto (legacy behaviour preserved)

  1. … 26 more files in changeset.
ISIS-1291: partially reverting the introduction of a SequenceName... no need after all to add to EventMetadata, because there is only one reason for subactions to occur. Also moved the SequenceName enum out from EventMetadata and into Command interface.

  1. … 4 more files in changeset.
ISIS-1291: introduce enum for sequenceName (for newEventMetadata); minor moving around of methods/extract methods refactoring of newEventMetadata within IsisTransaction.

  1. … 2 more files in changeset.
ISIS-1372: extending EventMetadata with a sequenceName, in preparation to CommandMementoService creating different sequences of events (published event, wrapped event, background commands).

Also updated javadoc for Command, and created a constant "(edit)" which is the value of Command#getTargetAction() for property edits.

  1. … 3 more files in changeset.
ISIS-1373: isis-core-applib now depends on isis-core-schema, rather than other way around. Moved JaxbServiceDefault to applib.

    • -0
    • +312
    ./java/org/apache/isis/schema/utils/Roundtrip.java
  1. … 9 more files in changeset.
ISIS-1369: adding in tests (taken from isis-module-security).

  1. … 4 more files in changeset.
ISIS-1287: fixing up license header files

  1. … 25 more files in changeset.
ISIS-993: extending grid structure to include offsets and allow multiple col-XX-nn to be defined per column.

Also tidied up the simpleapp:

- removed .layout.json for HomePageViewModel, replaced with a .layout.xml

- cleaned up SimpleObject (removing those test collections)

- removed SimpleObject#updateName action.

  1. … 13 more files in changeset.
ISIS-1158: adding i18n support to Specification interface.

also added some documentation for specification, in the ref guide.

    • -0
    • +92
    ./java/org/apache/isis/applib/spec/AbstractSpecification2Test.java
    • -0
    • +97
    ./java/org/apache/isis/applib/spec/AbstractSpecificationTest.java
  1. … 24 more files in changeset.
ISIS-1159: make ExceptionRecognizerCompositeForJdoObjectStore be automatically registered using @DomainService ...

... and provide a config property to disable if required.

Also: minor refactorings/improvements to ExceptionRecognizerComposite.

  1. … 5 more files in changeset.
ISIS-1108: TranslatableException; ExceptionRecognizerAbstract checks if exception implements TranslatableException; overloads of informUser etc for DomainObjectContainer

In addition:

- RecoverableException, NonRecoverableException, ApplicationException can specify TranslatableString message in constructor

- ExceptionRecognizerTranslate JUnit rule ensures that any thrown exceptions that implement TranslatableException are exercised (calls getTranslatedMessage() on them).

- ExceptionRecognizerComposite injected services into sub recognizers

- ditto DomainObjectContainerDefault

- IntegrationTestAbstract now specifies the ExceptionRecognizerTranslate rule by default.

- TranslatableString exposes its getPattern so that TranslatableExceptions have a meaningful getMessage() if only a TranslatableString message was provided.

  1. … 12 more files in changeset.
ISIS-928: adding missing license files (per RAT tool).

  1. … 56 more files in changeset.
ISIS-1043: get/set parameters on ExecutionContext

Factored out ExecutionParameters and a supporting ExecutionParametersService to make pluggable

  1. … 5 more files in changeset.
ISIS-903: can now write to .pot and read from .po file

  1. … 19 more files in changeset.
ISIS-903: refactoring TranslationService so can write out .pot file...

... with msgid_plural if required.

  1. … 8 more files in changeset.
ISIS-903: plural unit tests for PoReader now passing

  1. … 6 more files in changeset.
ISIS-903: fixing bug introduced on minor improvement to CssClassFa facet

  1. … 1 more file in changeset.
ISIS-903: refactoring in the direction of also reading .po files

  1. … 10 more files in changeset.
ISIS-903: TranslationService, LocaleProvider, TrString class,

also:

- deprecated a bunch of old *Event files in the applib, for wrapper factory only.

  1. … 38 more files in changeset.
ISIS-953: enhancements to FixtureScript.ExecutionContext

Also:

- refactoring the todoapp and simpleapp to use FixtureScripts, lookup(...), and using composite fixtures.

  1. … 53 more files in changeset.
ISIS-943: Make ObjectContracts more resilient

    • -0
    • +91
    ./java/org/apache/isis/applib/util/ObjectContractsTest_equals.java
  1. … 1 more file in changeset.
ISIS-872: update pom.xml ref latest Apache parent; missing license headers

  1. … 1 more file in changeset.
ISIS-921: disabling safe semantics checking, and converting Command2 to use a stack.

  1. … 7 more files in changeset.
ISIS-884: to avoid possibility of XSS attachs, removing use of setEscapeModelStrings(false) anywhere that the content is dynamic (error messages etc).

Also, for JGrowl based messages, also explicitly calling Wicket's Strings.escapeHtml (the same underlying method that the default escaping does).

  1. … 10 more files in changeset.