Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2033: Major: MetaModel refactoring

removing instances of 'ServicesInjector' being passed around in

constructors

removing 'ServicesInjectorAware' interface

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

    • -11
    • +1
    ./forsession/DisableForSessionFacetAbstract.java
    • -4
    • +2
    ./forsession/DisableForSessionFacetNone.java
    • -4
    • +2
    ./forsession/DisableForSessionFacetViaMethod.java
    • -2
    • +1
    ./forsession/DisableForSessionFacetViaMethodFactory.java
    • -1
    • +1
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 464 more files in changeset.
ISIS-2040: module 'security': rename and align packages

Task-Url: https://issues.apache.org/jira/browse/ISIS-2040

    • -1
    • +1
    ./forsession/DisableForSessionFacet.java
    • -2
    • +2
    ./forsession/DisableForSessionFacetAbstract.java
    • -2
    • +2
    ./forsession/DisableForSessionFacetNone.java
    • -2
    • +2
    ./forsession/DisableForSessionFacetViaMethod.java
    • -1
    • +1
    ./forsession/DisableForSessionFacetViaMethodFactory.java
  1. … 212 more files in changeset.
Merge remote-tracking branch 'origin/master' into v2

    • -0
    • +6
    ./method/DisableForContextFacetViaMethod.java
  1. … 141 more files in changeset.
adds FacetWithAttributes interface

makes existing facets implement

    • -0
    • +6
    ./forsession/DisableForSessionFacetViaMethod.java
    • -0
    • +6
    ./method/DisableForContextFacetViaMethod.java
  1. … 158 more files in changeset.
ISIS-1976: fixing tests that that fail on mockup service lookup now being Optionals

Task-Url: https://issues.apache.org/jira/browse/ISIS-1976

    • -1
    • +1
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 35 more files in changeset.
ISIS-1976: polishing ServiceInjector and ServiceRegistry API

let ServiceInjector implement ServiceRegistry

service lookup result is now an Optional instead of a nullable Object

Task-Url: https://issues.apache.org/jira/browse/ISIS-1976

    • -1
    • +1
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 87 more files in changeset.
ISIS-1976: introduces ManagedObject to replace OA within most of metamodel

Task-Url: https://issues.apache.org/jira/browse/ISIS-1976

    • -2
    • +2
    ./DisabledFacetAbstractAlwaysEverywhere.java
    • -1
    • +2
    ./method/DisableForContextFacetViaMethod.java
  1. … 137 more files in changeset.
  1. … 315 more files in changeset.
ISIS-1976: removes OA map, stream for metamodel, excising guava

Key achievements:

Metamodel: almost all guava Function and Predicate idioms removed

Metamodel: slight API improvements, such that some of the internal meta-data that is kept in Java

Collections is no longer copied into immutable lists for any calling client, instead Java Streams are returned (which treat the underlying collections un-modifiable by design)

the ObjectAdapter per-session map/cache is history

the legacy modules have been removed, for convenince and ease of migration the legacy/transition-1-2- module remains and shall provide legacy glue code

shiro was moved to plugins, and its artifact renamed, to be inline with the other plugins

    • -0
    • +1
    ./forsession/DisableForSessionFacetViaMethodFactory.java
    • -2
    • +4
    ./method/DisableForContextFacetViaMethod.java
  1. … 557 more files in changeset.
ISIS-1841 automated source cleanup

Add missing '@Override' annotations

Remove trailing white spaces on all lines

Correct indentation

    • -1
    • +1
    ./forsession/DisableForSessionFacet.java
    • -1
    • +1
    ./method/DisableForContextFacetNone.java
    • -2
    • +2
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 1406 more files in changeset.
ISIS-1742: removes "notInServiceMenu" prefix, "name" prefix, "plural" prefix, "description", "optional", "alwaysHide", "protect" prefixes.

    • -36
    • +0
    ./staticmethod/DisabledFacetForStaticMethod.java
    • -120
    • +0
    ./staticmethod/DisabledFacetStaticMethodFacetFactory.java
  1. … 22 more files in changeset.
ISIS-1742: moves applib.events to applib.services.wrapper.events

    • -1
    • +1
    ./forsession/DisableForSessionFacetAbstract.java
    • -1
    • +1
    ./method/DisableForContextFacetNone.java
    • -1
    • +1
    ./method/DisableForContextFacetViaMethod.java
  1. … 122 more files in changeset.
ISIS-1742: deletes When enum from @Hidden, @Disabled, @Immutable

    • -2
    • +1
    ./DisabledFacetAbstractAlwaysEverywhere.java
    • -26
    • +21
    ./DisabledFacetAbstractImpl.java
  1. … 70 more files in changeset.
ISIS-1742: removes support for .layout.json files

    • -56
    • +0
    ./layout/DisabledFacetFromProperties.java
    • -56
    • +0
    ./layout/DisabledFacetOnMemberFromPropertiesFactory.java
  1. … 149 more files in changeset.
ISIS-1650: the disabledfacet for JAXB (recreatable objects) no longer clobbers any existing disabled facet.

  1. … 2 more files in changeset.
ISIS-1578: changes the existing {Hide/Disable}ForContextFacetViaMethodFactory to (optionally, but by default) no longer search for supporting methods that have anything other than no-args.

Can be disabled using configuration parameter.

    • -6
    • +16
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 9 more files in changeset.
ISIS-1478: now honours @Property(editing=ENABLED), takes precedence over isis.properties config file (if configured as isis.objects.editing=false)

Also, refactored simpleapp so that the majority of isis.properties and persistor_datanucleus.properties are read in programmatically by the app manifest.

  1. … 16 more files in changeset.
ISIS-1429: removing AuthenticationSessionUtils, moving responsibility directly onto AuthenticationSession. Also removing unused utility classes (Base64Serializer, HexUtils).

    • -2
    • +1
    ./forsession/DisableForSessionFacetViaMethod.java
  1. … 7 more files in changeset.
ISIS-1422: refactoring (no functional change) - completely eliminated ValueSemanticsProviderContext, just use ServicesInjector throughout, and don't pass IsisConfiguration to VSP either, since derivable from ServicesInjector.

Also:

- made ConfigurationServiceInternal extend from IsisConfiguration (IsisConfigurationDefault is the only impl anyway)

- removed unnecessary casts to IsisConfiguration

- removed components passed into AutoCompleteFacetAbstract, since all derivable from ServicesInjector.

    • -1
    • +1
    ./staticmethod/DisabledFacetStaticMethodFacetFactory.java
  1. … 185 more files in changeset.
ISIS-1408: removing RuntimeContext, ObjectSpecificationDependencies, ObjectMemberDependencies (WIP)

Also adding some micro-caching/helper methods in ServicesInjector (not sure if significant).

WIP - runs up ok, but unit tests failing.

    • -3
    • +1
    ./staticmethod/DisabledFacetStaticMethodFacetFactory.java
  1. … 106 more files in changeset.
ISIS-1407: removed SpecificationLoaderAware.

Also:

- minor extension to ServiceRegistry2

- collapsed ServicesInjector, ServicesInjectorSpi and ServicesInjectorDefault to just ServicesInjector.

    • -1
    • +1
    ./staticmethod/DisabledFacetStaticMethodFacetFactory.java
  1. … 271 more files in changeset.
ISIS-1405: removing IsisConfigurationAware.

    • -3
    • +8
    ./staticmethod/DisabledFacetStaticMethodFacetFactory.java
  1. … 90 more files in changeset.
ISIS-1404: AuthenticationSessionProvider is now a domain service; removed the AuthenticationSessionProviderAbstract and Aware interfaces.

In addition, FacetFactoryAbstract now implements ServiceInjectorAware, none of the subclass FacetFactorys do. The intention here is that we can just let FacetFactory reach into ServicesInjector to pull out the domain services, such as AuthenticationSessionProvider impl'n.

    • -9
    • +2
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 72 more files in changeset.
ISIS-1213: hide, disable, choices, default and validity supporting methods now working for mixin actions and for associations

    • -0
    • +9
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 5 more files in changeset.
ISIS-1044: remove DeploymentCategory, AuthenticationSession from the InteractionContext class hierarchy.

...refactoring any remaining usages of these fields to instead be injected via constructor:

- DisableForSessionFacetAbstract

- HideForSessionFacetAbstract

- ExplorationFacetAbstract

- PrototypeFacetAbstract

Also:

- reorder the remaining parameters in the constructors of InteractionContext and its subclasses.

    • -3
    • +12
    ./forsession/DisableForSessionFacetAbstract.java
    • -2
    • +5
    ./forsession/DisableForSessionFacetNone.java
    • -2
    • +6
    ./forsession/DisableForSessionFacetViaMethod.java
    • -3
    • +7
    ./forsession/DisableForSessionFacetViaMethodFactory.java
  1. … 62 more files in changeset.
ISIS-1194: removing ImperativeFacet#impliesObjectChanged and #impliesResolve

    • -10
    • +0
    ./forsession/DisableForSessionFacetViaMethod.java
    • -10
    • +0
    ./method/DisableForContextFacetViaMethod.java
  1. … 50 more files in changeset.
ISIS-1106: Provide translations for titles of services and also enum constants

In addition:

- pdated translations for simpleapp

- minor fix to DisabledFacetAbstract that was preventing wrapper factory from invoking the action that contributes as a contributed properties/collections

    • -2
    • +1
    ./layout/DisabledFacetFromProperties.java
  1. … 5 more files in changeset.
ISIS-903: updating ImperativeFacets for validation/disabling and also the title method so that they can return TranslatableString as well as regular String.

Also:

- added new SimpleObject#updateName action with validation and a default; added SimpleObject#title()

- reworked the simpleapp's integ tests into "Dublin" style, added new integ tests to check that the translation.pot file is correctly written to with these.

    • -2
    • +19
    ./method/DisableForContextFacetViaMethod.java
    • -6
    • +23
    ./method/DisableForContextFacetViaMethodFactory.java
  1. … 45 more files in changeset.
ISIS-1027: improving validation messages

- show if the method is inherited or not

- reformat messages to put the violation class/method first

- order the messages alphabetically

Also:

- changed Optionality enum in applib, from TRUE|FALSE to OPTIONAL|MANDATORY.

- updates to the DomainChangeJdoAbstract

    • -1
    • +1
    ./staticmethod/DisabledFacetStaticMethodFacetFactory.java
  1. … 89 more files in changeset.
ISIS-1027: allow @Property and @Collection to be specified for actions to that the corresponding facets are copied over when contributed as contributed property or contributed collection.

    • -40
    • +0
    ./annotprop/DisabledFacetAnnotation.java
    • -57
    • +0
    ./annotprop/DisabledFacetFromProperties.java
    • -56
    • +0
    ./annotprop/DisabledFacetOnMemberFromPropertiesFactory.java
    • -0
    • +57
    ./layout/DisabledFacetFromProperties.java
    • -0
    • +56
    ./layout/DisabledFacetOnMemberFromPropertiesFactory.java
  1. … 32 more files in changeset.