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

    • -1
    • +4
    ./websockets/WebSocketServerHandler.java
  1. … 142 more files in changeset.
Add errai.bus.web_socket_max_frame_size property to expand the default websocket frame size.

    • -1
    • +4
    ./websockets/WebSocketServerHandler.java
  1. … 1 more file in changeset.
Delete dead code

  1. … 40 more files in changeset.
ERRAI-979: Provide functionality for CSRF protection

CSRF protection on message bus servlets is enabled by property.

Enabling the property creates a CSRF token on the first POST

request to the server bus.

The token can be written to an HTML page as a JavaScript variable

with a filter, or else the client can acquire it from a challenge

from the server (a 403 response containing the token as a header).

There is also a filter that protects REST endpoints using the same token.

When an Errai REST caller finds the token in a global JavaScript variable,

it will set this as a header for all REST requests.

Errai REST callers will also retry after a challenge from the server

(403 + token in header).

  1. … 18 more files in changeset.
ERRAI-947+: Fix more int overflow errors.

    • -0
    • +44
    ./buffers/NoOpBufferFilter.java
    • -27
    • +28
    ./buffers/TransmissionBuffer.java
  1. … 1 more file in changeset.
ERRAI-947: TransmissionBuffer write sequence (seq) becomes negative thus leading to AIOOBE all the time.

  1. … 2 more files in changeset.
Update GWT to 2.8.0-rc1 (lots of details below).

Most of the items below were fixes for tests (which

are now production compiled by default) and dependency

issues (since gwt-user/gwt-dev now bring in transitive

dependencies instead of bundling them in fat jars).

* Upgrade jetty to version in ip-bom

* Fix errai-bus test issues.

* Remove GuardedBy and Nonnull annotations from errai-bus.

* Fix javadoc bug in errai-bus.

* Fix test failures caused by GWT type oracle behaviour change.

(This commit causes the type oracle to hide non-abstract methods

in interfaces:

https://github.com/gwtproject/gwt/commit/75382f1202bf3eaa399d60ebdba42bd7522da3bb)

* Fix AbstractErraiTest so it is usable in errai-ioc-bus-support production compiled tests.

* Fix data-binding tests (have to manually invoke event listeners because dispatchEvent does not work).

* Fixes for errai-cdi-server tests (description below).

* Upgrade Jetty version

* Add -devMode gwt.arg

* Add missing inherited modules

(This was to try and get the tests to run in prod mode,

but there appears to be a compiler bug that prevents this

-- interned value is used before being referenced)

* Use errai.devel.nocache property in Errai GWT generators.

* Fix jaxrs-client bug with Date params.

* Fix errai-ui tests (notes below).

** Fix event dispatching issue (same problem as with data-binding tests).

** Fix NPE when an empty input element fires a change event while bound

to a primitive property in a model.

* Fix errai-navigation native anchor test (same problem as data-binding tests).

* Fix Errai Security tests.

* Fix errai-jpa-client tests.

* Fix gwt-dev version in demos.

* Manage gson version in errai-bom to version required by gwt-dev.

    • -5
    • +21
    ./websockets/WebSocketServerHandler.java
    • -6
    • +0
    ./websockets/WebSocketTokenManager.java
  1. … 99 more files in changeset.
Cleanup and fixes based on FindBugs analysis

    • -25
    • +33
    ./buffers/TransmissionBuffer.java
  1. … 33 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.
Migrate from commons-lang2 to commons-lang3

    • -1
    • +1
    ./websockets/ssl/SslHandlerFactory.java
  1. … 13 more files in changeset.
fix for Errai-751. An Nullpointer has occurred if the sideband was configured without SSL

    • -21
    • +18
    ./websockets/ssl/SslHandlerFactory.java
Refactoring for ERRAI-751

    • -13
    • +10
    ./websockets/WebSocketServer.java
    • -18
    • +8
    ./websockets/ssl/KeystoreFactory.java
    • -46
    • +24
    ./websockets/ssl/SslHandlerFactory.java
  1. … 3 more files in changeset.
    • -10
    • +21
    ./websockets/WebSocketServer.java
    • -0
    • +44
    ./websockets/ssl/KeystoreFactory.java
    • -0
    • +117
    ./websockets/ssl/SslHandlerFactory.java
  1. … 5 more files in changeset.
Fixed ERRAI-754: Broken pipe errors on WildFly 8

  1. … 5 more files in changeset.
Fixed ERRAI-754: Broken pipe errors on WildFly 8

  1. … 5 more files in changeset.
Fixed ERRAI-754: Broken pipe errors on WildFly 8

  1. … 5 more files in changeset.
No longer fail when a client requests too many web socket tokens

    • -9
    • +18
    ./websockets/WebSocketTokenManager.java
Cleaned up shutdown logic for web socket server

Netty/Websocket server working again

    • -2
    • +2
    ./websockets/WebSocketServerHandler.java
More fixes to netty sideband server

    • -8
    • +9
    ./websockets/WebSocketServerHandler.java
Fixes for websocket sideband server

    • -0
    • +2
    ./websockets/WebSocketServerHandler.java
Resolved ERRAI-527: No longer depend on Alpha's for WS

    • -27
    • +34
    ./websockets/WebSocketServer.java
    • -64
    • +64
    ./websockets/WebSocketServerHandler.java
    • -53
    • +0
    ./websockets/WebSocketServerPipelineFactory.java
  1. … 37 more files in changeset.
Unwrap InvocationTargetException for @Service/@Command methods.

    • -0
    • +30
    ./MethodBindingCallback.java
  1. … 6 more files in changeset.
Fixed RPC error reporting so it displays the additionalDetails sent from the server

This was a surprisingly deep-cutting change: RPC error handling used to go through 3

times as many callbacks as it does now (and it ended up displaying a useless client-

side stack trace in the error dialog)

I also eliminated the transportToBusCallback in favour of a new public sendLocal()

method that does what it says. Transports now deliver messages into the bus itself,

which simplifies all message deliveries--not just errors.

  1. … 11 more files in changeset.
Fixed bus implementation with @Command on private methods

Fixed @Service annotation on private methods in Bus implementation

Fixed ERRAI-545: Exceptions from invoking RPC endpoints are only logged with debug level now

  1. … 2 more files in changeset.
ERRAI-286 -- Added tests and fixed the feature (which was not fully functional).

The @Service feature implementation is scattered between errai-bus

(ServiceProcessor) and errai-weld-integration (CDIExtensionPoints).

Neither implementation worked fully and because of issues with having

automatic service discovery with errai-cdi on the classpath, it was not

feasible to use both implementations simultaneously.

Consequently, I have re-implemented the missing parts of the feature

(except @Service annotation for fields) within errai-bus.

    • -0
    • +55
    ./ServiceMethodCallback.java
  1. … 13 more files in changeset.