Commit Graph

574 Commits

Author SHA1 Message Date
Andy Janata ed08e37197
Merge pull request #247 from devgianlu/min-default-max-config
[Minor fix] Moved min/default/max to configuration file
2020-05-26 19:50:51 -07:00
Gianlu 7021691298 Fix JS error because of prefix 2020-05-26 14:21:32 +02:00
Andy Janata 15757a6256
Merge pull request #246 from Stary2001/master
update postgresql JDBC driver to latest version
2020-05-24 10:03:07 -07:00
Ezekiel Bethel f863c139f9 update postgresql JDBC driver to latest version 2020-05-24 04:33:51 +01:00
Andy Janata 4379c14f6d
Merge pull request #219 from devgianlu/min-default-max-config
Moved min/default/max to configuration file
2020-05-23 18:21:22 -07:00
Andy Janata 47cff643a9
Merge pull request #228 from Tysseract/master
changed geoip version to 2.8.1 because build dependencies were failing
2020-05-23 17:58:42 -07:00
Andy Janata 296a692db9 big link to server list page 2020-04-04 09:57:04 -07:00
Tys vanZeyl 99f9c46d26 changed geoip version to 2.8.1 to make build work 2020-03-29 16:09:27 -07:00
devgianlu 21949bc35d Added min/default/max values to js config 2019-09-29 14:57:45 +02:00
devgianlu 631fe14d12 Moved min/default/max player limit, spectator limit, score limit and blank card limit to pyx.properties 2019-09-29 14:51:46 +02:00
Andy Janata 8e1c5e805b
Disable inactive card sets by default.
Not sure why this was enabled by default. Kind-of fixes #192.
2018-10-23 19:47:41 -07:00
Andy Janata 8f82a0162d update changelog and privacy text 2018-09-03 17:18:55 -07:00
Andy Janata a384a027cd
Merge pull request #187 from emcniece/docker
Adding Docker docs to README
2018-08-30 13:28:51 -07:00
Andy Janata 5215d8c303
Merge pull request #188 from Rubueno/master
Allow admins to spectate any password protected game
2018-08-30 13:25:50 -07:00
Ruben f1639dccc5 Allow admins to spectate any password protected game 2018-08-30 12:32:40 +02:00
Eric McNiece ec62772637 Adding Docker docs to README 2018-08-26 14:09:13 -07:00
Andy Janata c27fcc818f
Merge pull request #185 from tyzoid/master
Add more info to stats.jsp
2018-08-06 22:25:17 -07:00
Tyler Dence 54b30874c0
Add more info to stats.jsp to allow server lists to disambiguate features 2018-08-06 00:30:37 -04:00
Andy Janata 4cd2af9b23
Merge pull request #182 from tyzoid/master
Allow admins to join passworded games
2018-08-02 08:46:45 -07:00
Tyler Dence 332da9b77e
Allow admins to join any game 2018-07-31 22:27:24 -04:00
Andy Janata 57597669fe Add option to disable game chat. 2018-07-28 10:08:16 -07:00
Andy Janata c40c2d194b Add option to disable fill-in-the-blank cards entirely. 2018-07-28 09:50:31 -07:00
Gianlu 5d05f2e85b Fix for #174 (#176)
* Fix for #174 (https://github.com/ajanata/PretendYoureXyzzy/issues/174)

* Avoid NPE

* Sorted AZ
2018-07-01 18:24:49 -05:00
Andy Janata 9e8aa1eb7b Check user address against X-Forwarded-For 2018-06-13 11:46:59 -07:00
Andy Janata d8740258d7 Bugfixes and nick filter.
Add a configurable nickname ban filter, similar to the chat filter except this is defined in the properties file since it doesn't need unicode. Any user that attempts to use a nick that contains anything on this list will be denied.
Fix a bug with /kick and /ban that caused it to only work against users with entirely lower-case nicknames.
Add a check that the user's IP address hasn't changed. This probably isn't as needed now that /kick actually works against everybody.
2018-06-13 11:36:28 -07:00
Andy Janata 67c0e0e954 changelog updates 2018-06-01 09:46:09 -07:00
Andy Janata 1e3351a23b Show more permalinks to users.
When users connect (or reload the page), show a permalink to that session's games as well as a permalink to their entire play history, if they haven't opted out of that tracking. When a game starts, or a player/specator joins a game in progress, show a permalink to that game's rounds.

The "when a game starts" bit required removing the tracking of the 'dealing' state, as there was no other easy way to determine that a game was starting. Nothing actually used that dealing state, so it was harmless to remove. Now, a transition from lobby to playing can be detected as a game start, as opposed to a transition from round over to playing.
2018-05-30 12:22:57 -07:00
Andy Janata 2906ffaa33
Merge pull request #169 from devgianlu/master
Send global chat enabled with FirstLoad
2018-05-18 18:46:22 -05:00
Gianlu c71e01b573 Send global chat enabled with FirstLoad 2018-05-13 18:14:46 +02:00
Andy Janata f88ed593c2 Update changelog 2018-04-05 08:59:50 -07:00
Andy Janata 99958c0dcf Display round permalinks after the round is over, if enabled.
This takes advantage of the metrics logging, the metrics processor, and the metrics viewer to provide a permalink to a particular round, instead of requiring players to take a screenshot of the round. This will not be enabled immediately as the viewer is not quite ready for deployment, but this is all that needs done on the game server to support this, so it can just be dynamically enabled when it's ready.
2018-04-04 16:09:17 -07:00
Andy Janata 88ab1ac640 Merge branch 'master' of github.com:ajanata/PretendYoureXyzzy 2018-04-01 19:46:45 -07:00
Andy Janata 1c07624a5c Add repeated words filtering to chat filter. 2018-04-01 19:46:26 -07:00
Andy Janata 9bbdd38f36
Create LICENSE 2018-03-31 13:04:46 -07:00
Andy Janata 43f9b70d54 Fix Go data type for WHITE_CARDS and WINNING_CARD cuz I just guessed when I made them in the first place. 2018-03-30 16:28:01 -07:00
Andy Janata 6d289ef925 Fix a typo in a variable name 2018-03-30 16:27:29 -07:00
Andy Janata 21e8f7a571 AjaxResponse PLAYER_INFO is also an array, oops. 2018-03-29 18:54:37 -07:00
Andy Janata 3cb0e554fb GameId needs to be an *int in AjaxResponse for Go, just like LongPollResponse. 2018-03-29 14:44:50 -07:00
Andy Janata dcb9553837 Fix /whois not showing spectators as spectating 2018-03-29 14:44:27 -07:00
Andy Janata a505598c0d Tell admins about filtered chat content.
Including chat in games that the admin isn't in.
2018-03-27 17:59:31 -07:00
Andy Janata 612bd09978 Always send admins connect and quit events 2018-03-27 17:58:55 -07:00
Andy Janata 4afab98c76 Include ? as a basic character, and count spaces as them too. 2018-03-27 11:14:16 -07:00
Andy Janata 8211726118 Refer to verification code in the ui for the mangled version 2018-03-27 11:13:51 -07:00
Andy Janata 28e040aaec Send sigil/id code/persistent id when reconnecting.
First load handler needs to send those things so the client actually has it. Doesn't really need the persistent id there, but it definitely needs the sigil to avoid undefined errors.
2018-03-27 11:05:01 -07:00
Andy Janata 988f63887b Include some creation times in responses.
Server startup time is included in first load response, and game creation time is included in game info. IRC bridge uses these, and perhaps a way to see them in the web client will be added too.
2018-03-26 16:57:40 -07:00
Andy Janata 0678272f29 Fix IPv6 loopback address for admin, and comment. 2018-03-26 13:59:04 -07:00
Andy Janata fa996ab1c8 Update change log. 2018-03-26 12:00:27 -07:00
Andy Janata ace019d7d9 Clarify that shadowbanned strings should be provided in lower-case.
And also make that check essentially be case-insentive as well as case-sensitive (check them both).
2018-03-26 09:58:00 -07:00
Andy Janata 6e6bf612dc Add logging to (FirstLoad|Register)Handler.
Trying to figure out why some people can still get in while banned. I cannot reproduce this, and it does not make sense that it is possible as the admin page lists their current IP address in the ban list... and those are all trimmed, so it can't be spaces. Weird.
2018-03-26 09:56:58 -07:00
Andy Janata 783b223d19 Updates for shadowban.
Unicode characters weren't getting loaded correctly for some reason, either literally or via escape sequences. Change to specifying a class name which has a compile-coded list of shadowbanned strings. This prevents changing on the fly, but at least it works for now until a proper database can be implemented.
Update the privacy policy about chat logging due to shadowbans.
2018-03-23 23:18:21 -07:00