Felix Fontein
477e9fe824
Expired session: use 403 Forbidden instead of 410 Gone (#11859)
Use 403 Forbidden instead of 410 Gone when session expired. Also prevent caching in more cases.
4 år sedan
Ilia Motornyi
d543e47bec
Enable Maven plugin for Eclipse formatting (#10829)
6 år sedan
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 år sedan
Ahmed Ashour
fb6e81221b
Use lambda with Handlers (#10229)
Also improve naming by replacing one-letter variable names.
6 år sedan
Ahmed Ashour
763a5cbe8c
First sentence of javadoc should end with a period (#10114)
Also includes minor other javadoc and formatting fixes.
6 år sedan
Artur
04a20bf666
Support Vaadin custom protocols in Vaadin-Refresh redirects (#8597)
A login page you want to redirect to is typically in the webapp root,
which you can now refer to as "Vaadin-Refresh: context://login.html"
7 år sedan
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 år sedan
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 år sedan
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 år sedan
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
8 år sedan
Artur Signell
154396df74
Add body style name when reconnecting (#18838)
Change-Id: I7ff28587780fbd1c68b065b3edc670a879e8551e
8 år sedan
Mika Murtojarvi
82a0322347
Update @since tags for 7.6.
Change-Id: I69df09f371aae61f9e1ef741814f6e3016510fe2
8 år sedan
Artur Signell
c8f92cd539
Ensure dialog is not shown if reconnected during grace period (#11733)
Change-Id: Ic94ebc1a8758826ab515bfd883c02f4953836832
8 år sedan
Artur Signell
e603ea3cf9
Pass AtmosphereResponse to event handler to be able to report real error causes (#11733)
Change-Id: I1117872a4d4b5cbc9a533d0644a40f457be477ca
8 år sedan
Artur Signell
50c3190131
Preload reconnect dialog resources (#11733)
Change-Id: Id89e5ecdad64d6000c6d3d518411cc1553cc7dd1
8 år sedan
Artur Signell
24ac02a523
API refactor based on review (#11733)
ServerMessageHandler -> MessageHandler
ServerCommunicationHandler -> MessageSender
State -> ApplicationState
CommunicationProblemHandler -> ConnectionStateHandler
CommunicationProblemEvent -> XhrConnectionError
Change-Id: I2eccfea9cf6a275eba02ac605b6a172e496bd004
8 år sedan
Artur Signell
8b30dbf46f
Handle unparsable JSON as invalid content (#11733)
Change-Id: I67ed5e78b93ff0fe20d861105a0aa01ae6ccb2e6
8 år sedan
Artur Signell
f17408b5e0
Reset reconnect counter when connection is re-established (#11733)
Change-Id: Ifb9895ebdfb6c193ed26c529237423275f0ffd11
8 år sedan
Artur Signell
df3e10d969
Add modality configuration option for reconnect dialog (#11733)
Leave the request state as open until reconnect is done and the message has
been delivered. This avoids flushing the rpc queue during reconnect, which
would cause two concurrent requests.
Change-Id: I320ffccd49c26acd16bd70b34ba28b465d17842c
8 år sedan
Artur Signell
b38dc12c24
Refactor reconnect dialog (#11733,#17075)
* Add grace period for showing the reconnect dialog
* Try to reconnect once immediately
* Stop reconnecting when application is stopped
* Make it possible and easy to replace the reconnect dialog
Change-Id: I6695e7473859827db9dd64cbd373696aeb5d27a5
9 år sedan
Artur Signell
04100c62ac
Allow configuration of reconnect dialog parameters (#11733)
Change-Id: Ibf60ef8cdd21204e8ccfbb0a7d93cf88c4d8468a
9 år sedan
Artur Signell
d193814bb5
Merge communication problem handlers (#11733,#17075)
Change-Id: I91d3d73cb10c10a9306b67e6d99e4405f56bc275
9 år sedan
Artur Signell
3e6bb5541c
Use same reconnect logic for Push as for XHR (#17075)
* No longer queue message separately in PushConnection
* Use XHR for client to server communication when using long polling (or streaming)
* Websocket is used for communication in both directions
Note that using XHR for client to server responses at the same time
as a push connection is open means we must take into account on the
client side that we may receive message in the wrong order. This
will be addressed in the following change.
Change-Id: I97706db3481379593e71dc5bb552727a0486692b
9 år sedan
Artur Signell
33751bb59b
Initial version of the reconnect dialog and a problem handler which uses it (#11733)
Limitations
* Does not take Push into account
* Hard coded parameters
* Only theme for Valo
Change-Id: Iddb12d20391bcd30dc7289b7ea694ac3fbbd116d
9 år sedan