Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'master' into errai-codegen-apt

  1. … 136 more files in changeset.
Support custom security exception handling (#311)

Move security redirection logic to security handler that can be replaced via IOC alternatives.

  1. … 14 more files in changeset.
ERRAI-1075: Create APT generator for errai-marshalling (#296)

* Create APT generator for NavigationGraphGenerator

* Start to move errai-marshalling configuration out of EnvUtil clas

* Fixed exposed and nonExposed portable types

* Inline methods and add comment

* Fix NullPointerException

* Move Marshalling configuration out of EnvUtil

* Create MarshallersAptGenerator (not working)

* Prepare MarshallersGenerator to run in APT environment too

* Make errai-marshalling use completely interchangeable ErraiConfiguration implementations

* Fix ClassScanner parameters to use reflections while searching @Portable types

* Make MetaClassFinder available for DefinitionsFactoryImpl

* Add @MappingAlias annotation to ErraiConfiguration

* Make MarshallerAptGenerator work, but with errors

* Scan @ServerMarshallers with MetaClassFinder

* Fix tests and improve GWT environment MetaClassFinder

* Improve MarshallerAptGenerator. References not yet resolved in MarshallerFactoryImpl

* Make ErraiMarshalling.gwt.xml use APT generators and skip creation of abstract classes in generated marshallers

* MarshallerAptGenerator working with both GWT and APT generators

* MarshallerAptGenerator working and generating every Marshaller

* Fix logging in errai-demos

* Fix X marshaller not found (generics)

* Little refactors

* Remove static initialization of ErraiAppPropertiesConfiguration in MarshallingConfiguration

* Remove QualifyingMetaDataFactory property

* Remove unsafe call from errai-ioc decorators logic

* Add PageRequest in ErraiMarshallingModule's configuration

* Rollback parameter type to erased

* Revert "Remove unsafe call from errai-ioc decorators logic"

This reverts commit b496229be2f7ecaa50e9ea4c5951035772d10487.

* Fix issue with generic field/parameters. Add time logs to files generation in APT environment.

* Remove @Portable annotation added by mistake

* Remove unsafeIsAnnotationPresent from HasAnnotations

* Remove unsafe methods from HasAnnotations

* Remove AbstractHasAnnotations class

* Refactor configuration files

* Add tests to new properties in @ErraiApp

* Update comments

* PR final pass

* Remove even more unsafe calls from HasAnnotations implementation

* Removed annotation caches and unnecessary methods from subclasses of HasAnnotations

  1. … 158 more files in changeset.
Create APT generators for errai-ioc module

  1. … 256 more files in changeset.
Remove random string from ExportFile names

    • -0
    • +26
    ./jboss/errai/security/ErraiSecurityClientModule.java
  1. … 26 more files in changeset.
Add Errai APT Generators mechanism

  1. … 271 more files in changeset.
Fix userCache proxy & avoid adding interfaces/abstracts as serializable types. (#274)

* Fix an issue with userCache proxy & avoid adding interfaces/abstracts as a serializable type.

This catch is for wildcard serialization definitions (*).

* Mark BasicUserCacheImpl as @Singleton & log wildcard filters.

* Changes as per requested.

  1. … 2 more files in changeset.
Fix userCache proxy & avoid adding interfaces/abstracts as serializable types. (#274)

* Fix an issue with userCache proxy & avoid adding interfaces/abstracts as a serializable type.

This catch is for wildcard serialization definitions (*).

* Mark BasicUserCacheImpl as @Singleton & log wildcard filters.

* Changes as per requested.

  1. … 2 more files in changeset.
AF-546: Reduce startup time of AppFormer apps and workbenches

This commit:

* Adds logging to audit startup to entrypoints, RPCs, bean manager

* Load RPC proxies before the bus initializes so that startup RPC calls

can be queued up and sent in a single payload

* Don't wait for bus to initialize to send CDI client assoicate message

(allows this to also be sent with initial bus payload)

* Don't delay InitVotes in SecurityContextImpl if a user has been injected

onto the host page

  1. … 8 more files in changeset.
Remove deprecated user cookie + fix todo list demo.

    • -4
    • +0
    ./jboss/errai/security/Security.gwt.xml
  1. … 10 more files in changeset.
ERRAI-1000: Update client-side storage handler

  1. … 1 more file in changeset.
ERRAI-1000: User is displayed as ANONYMOUS if his/her role name contains apostrophe

Back-port of ERRAI-1000

  1. … 4 more files in changeset.
ERRAI-982: navigateBackOrToPage should keep page state

  1. … 4 more files in changeset.
ERRAI-981: Convert @UncaughtException to work with all uncaught exceptions (not just those in the client message bus)

  1. … 20 more files in changeset.
Don't extend SimplePanel for SecurityRolesConstraintPage, avoiding user issues when injecting SimplePanel.

Support non-composite templated beans as pages in errai-navigation.

  1. … 23 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  1. … 3042 more files in changeset.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3150 more files in changeset.
Merge fixes from branch 'master' into 4.0

Fixes for ERRAI-880, ERRAI-881, ERRAI-882, ERRAI-872, and ERRAI-876.

  1. … 4 more files in changeset.
Fix for ERRAI-876.

Fire LoggedOutEvent when the user is set to User.ANONYMOUS

  1. … 3 more files in changeset.
ERRAI-590, ERRAI-850, ERRAI-851: Implement new IOC container (more description below).

The new container uses code genererated in multiple files instead

of a single monolithic file. At compile time an implementation of

org.jboss.errai.ioc.client.container.Factory is generated for each bean.

The factory is responsible for requesting dependencies from other

factories to wire the bean, running code generated by decorators,

and cleaning up when the bean is destroyed.

The GWT.create calls for the factories are generated in the

BootstrapperImpl. The BootstrapperImpl now only registers

factories with their respective contexts.

This container has the following differences from behaviour

in the 3.x version of errai-ioc:

* Normal scoped beans must be proxiable.

* The @New qualifier is not supported.

* Normal scoped beans (except @Entrypoint or with @Startup) are lazily instatiated.

* @Alternative beans must be explicitly enabled (even if no other beans match).

* Resolution of types behaves like CDI. Some cases that worked in 3.x may now be ambiguous.

** Injecting a common supertype of multiple concrete classes is ambiguous.

* Different API for programmtically adding beans to bean manager.

  1. … 376 more files in changeset.
Backport of BZ-1222570: User content exceeds cookie size limit

  1. … 7 more files in changeset.
Added filter to write authenticated user to js var on host page

  1. … 4 more files in changeset.
Added filter to write authenticated user to js var on host page

Conflicts:

errai-security/errai-security-server/src/main/java/org/jboss/errai/security/Properties.java

  1. … 4 more files in changeset.
Initialize marshalling for all storage handlers

Initialize marshalling for all storage handlers

Added a mechanism to read the authenticated user from the host page

If the GWT app's host page is behind a login page, the server

can set the currently authenticated user by providing the

errai_security_context variable as part of the host page. This way

the Errai app can bootstrap and the already authenticated user

instance is immediately injectable (without contacting the server

first.)

Added a mechanism to read the authenticated user from the host page

If the GWT app's host page is behind a login page, the server

can set the currently authenticated user by providing the

errai_security_context variable as part of the host page. This way

the Errai app can bootstrap and the already authenticated user

instance is immediately injectable (without contacting the server

first.)

Initializing marshalling from UserCookieStorageHandler now

This should help apps that @Inject User into singletons and application-scoped beans.

  1. … 2 more files in changeset.