Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBPM-7798 After login, loading screen localized message is messed up (#366)

  1. … 4 more files in changeset.
Log throwable if it's not null (#349)

Due to the inverted condition, the throwable was actually ignored if it

wasn't null, which is the opposite of what was intended.

Provide a way to determine SessionExpired on disconnect (#351)

    • -0
    • +23
    ./client/api/SessionExpiredException.java
    • -0
    • +1
    ./server/servlet/AbstractErraiServlet.java
    • -61
    • +47
    ./client/api/builder/DefaultRemoteCallBuilder.java
    • -7
    • +5
    ./client/framework/AbstractRpcProxy.java
  1. … 1 more file in changeset.
ERRAI-1104: Ability to intercept any remote call from the ClientMessageBus

    • -0
    • +30
    ./client/api/messaging/MessageInterceptor.java
Reset the proxies rather than replace.

    • -7
    • +4
    ./server/service/ErraiServiceProxy.java
Update javadocs.

Improve the ErraiServiceSingleton proxy management & allow persistent initCallbacks.

Now when ErraiServiceImpl#stopService() is called the ErraiServiceSingleton will reset.

    • -9
    • +9
    ./server/service/ErraiServiceImpl.java
    • -5
    • +10
    ./server/service/ErraiServiceProxy.java
    • -43
    • +37
    ./server/service/MessageBusProxy.java
    • -1
    • +1
    ./server/servlet/ServletBootstrapUtil.java
  1. … 1 more file in changeset.
Account for no errorCallback correctly.

Fixed issues where DefaultErrorHandlers wouldn't be invoked in RpcProxy's.

Fix issues with servlet reloading tools (like spring-boot-devtools).

We need the service to reinitialize when the servlet refresh is invoked. Also the callbackList should be cleared perhaps this should be optional in the future.

    • -0
    • +4
    ./server/service/ErraiServiceProxy.java
Fix the condition and remove outer loop.

Fix issues where deferred messages error handling would be ignored.

1. Once we've sent all deferred messages with remote subscribers, iterate through remaining deferred messages.

2. For every remaining deferred message, check if it has any local subscribers. If so, remove it as well.

3. Whatever is left had no subscribers, local or remote, so throw an exception.

Expose the CSRF_TOKEN_ATTRIBUTE_NAME for custom server implementations.

Add errai.bus.web_socket_max_frame_size property to expand the default websocket frame size.

    • -0
    • +1
    ./server/service/ErraiConfigAttribs.java
ERRAI-979+: Handle content-types in filter with character encoding.

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

    • -12
    • +19
    ./client/api/builder/DefaultRemoteCallBuilder.java
  1. … 6 more files in changeset.
Make sure the bus content is valid before processing

    • -0
    • +35
    ./client/api/InvalidBusContentException.java
    • -1
    • +1
    ./server/servlet/AbstractErraiServlet.java
Rewrite ClusteringTests to reduce false negatives.

  1. … 4 more files in changeset.
Delete dead code

    • -31
    • +0
    ./client/api/BadlyFormedMessageException.java
    • -36
    • +0
    ./client/framework/MarshalledMessage.java
    • -21
    • +0
    ./client/protocols/MonitorCommands.java
    • -22
    • +0
    ./client/protocols/MonitorParts.java
    • -23
    • +0
    ./client/protocols/SerializationParts.java
    • -23
    • +0
    ./server/api/MessageInterceptor.java
  1. … 29 more files in changeset.
ERRAI-842: Conversational event support for RPCs

- Contains cleanup of existing conversational event logic

  1. … 14 more files in changeset.
New fix for distributed session use case (reverts change to QueueSession id).

Revert change to HttpSessionWrapper. Don't store SessionContainer in

session anymore. Keep map of SessionContainers instead.

    • -22
    • +20
    ./server/HttpSessionProvider.java
    • -0
    • +43
    ./server/SessionCleanupListener.java
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).

    • -0
    • +2
    ./server/service/ErraiConfigAttribs.java
    • -1
    • +2
    ./server/service/ErraiServiceImpl.java
    • -1
    • +17
    ./server/servlet/AbstractErraiServlet.java
    • -0
    • +79
    ./server/servlet/CSRFTokenCheck.java
    • -0
    • +104
    ./server/servlet/CSRFTokenFilter.java
    • -0
    • +51
    ./server/servlet/RequestSecurityCheck.java
    • -0
    • +9
    ./server/servlet/StandardAsyncServlet.java
  1. … 5 more files in changeset.
Fix ClusteringTests broken from prior commit (descriptrion below).

Messages sent with JGroups clustering do not require a MessageQueue

so we should not check for one when the routing flag FromPeer is set.

Fix queue session issues with distributed sessions.

The QueueSession id is now deterministically generated from

the remoteId (from the client bus) and parent id (from the HTTP session).

This means that two instances of QueueSession for the same client will equal,

preventing errors previously resulting from session passivation.

Force disconnect from server bus when message has no message queue.

ERRAI-986: Memory leak in ServerMessageBusImpl on remoteSubscriptions

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

    • -0
    • +44
    ./server/io/buffers/NoOpBufferFilter.java
  1. … 1 more file in changeset.
Improve size and generation time of RPC proxies

    • -1
    • +3
    ./client/api/builder/DefaultRemoteCallBuilder.java
ERRAI-981: Convert @UncaughtException to work with all uncaught exceptions (not just those in the client message bus)

    • -36
    • +0
    ./client/api/UncaughtException.java
  1. … 19 more files in changeset.