Commit Graph

18 Commits

Author SHA1 Message Date
Matheus Clemente
93d1587f61 Update for V12 (#22) 2024-07-07 20:56:41 +02:00
c75eef77b8 Remove deprecated data attributes 2022-09-30 21:29:39 +02:00
bfc7fb4955 Migrate to Foundryvtt v10 2022-09-16 22:33:54 +02:00
b3b8b138bf When a player disconnects, fail all unresolved requests that were sent to that player 2021-04-27 09:41:22 +02:00
fb3aeaf813 Fix a regression introduced in 1646bbbe that prevented remote errors to propagate to the calling client 2021-04-27 09:33:19 +02:00
5d9dd82a7d Create system field in constructor 2021-04-27 07:48:40 +02:00
6a70df04e7 Check earlier if current user is a gm 2021-04-27 00:22:36 +02:00
1646bbbe3b Don't send a package id for commands as it's not needed 2021-04-26 17:29:57 +02:00
971c92b21a Ignore responses from users that aren't recipients of the original request 2021-04-26 12:36:56 +02:00
6a5190b0a8 Expose the id of the user that sent a socket via the API 2021-04-26 11:27:21 +02:00
86b0162c9c Correctly reference SocketlibInvalidUserError 2021-04-20 12:21:17 +02:00
4852da9bd5 Catch all exceptions raised in commands that are invoked locally 2021-04-20 10:30:59 +02:00
5fa28a9364 Release v1.0.2 2021-04-16 15:47:25 +02:00
148f442857 Make executeForEveryone and executeForAllGMs execute locally as well. Add executeForOthers and executeForOtherGMs endpoints 2021-04-16 15:41:57 +02:00
326bc0e017 Execute functions locally if the current user is explicitly set as a recipient 2021-04-16 15:33:30 +02:00
de4a289395 Add game system support 2021-04-15 09:52:50 +02:00
20c5a59fe4 Javascript's < operator isn't locale aware on strings, so we can use that instead of our own custom implementation 2021-04-14 15:14:15 +02:00
376004c6c2 Initial commit 2021-04-14 13:07:05 +02:00