5539 Commits

Author SHA1 Message Date
UnknownShadow200
94fa6c3c2d Drop typecodes in .dat parser that haven't been observed in practice 2021-11-28 14:42:43 +11:00
UnknownShadow200
4efa528cc2 Fix session modified overflowing after 2 billion (Thanks rdebath, addresses #663) 2021-11-21 22:25:43 +11:00
UnknownShadow200
9f12f21b87 Remove obsolete devs.txt
If you are using years old versions of MCGalaxy at this point, I think you can accept an extra error message on startup.
Especially since accessing github doesn't work on Windows with old versions of MCGalaxy anyways since github switched to TLS 1.2 minimum
2021-11-19 08:36:16 +11:00
UnknownShadow200
c92a1f0a65 Make TLS 1.1/1.2 flags in HttpUtil public 2021-11-19 08:10:29 +11:00
UnknownShadow200
e51d1690fa Fix SECURE_WEBSOCKETS not compiling 2021-11-13 11:59:26 +11:00
UnknownShadow200
b2d35b06db GUI: WIP on custom update available dialog to address #662 2021-11-12 23:12:54 +11:00
UnknownShadow200
8afbd356d1 GUI: Make custom commands popup font consistent with rest 2021-11-12 20:11:21 +11:00
UnknownShadow200
ada34d4c32 GUI: Fix icon not showing in popup dialogs on Mono
This took a long time to figure out because
1) for testing purposes I set Icon before the window handle had been created
2) When the window handle was later created, mono would not actually apply the custom icon since the border style is FixedDialog (see CreateHandle in Form.cs)
3) I later set Icon again in multiple other places. However, this was essentially a noop because Mono checked if the new icon was the same as the same previously assigned icon and do nothing in that case.
However, the assumption in step 3) was incorrect because the previously assigned icon had not actually been applied to the window.
Unfortunately this meant the correct Icon never showed at all. So the correct solution to this is to only assign Icon once in the Load event of forms.

I spent way too much time on this
2021-11-11 22:31:59 +11:00
UnknownShadow200
8ee32ba780 Get rid of obsolete warning when compiling GUI, partially fix scale 1/2 not working 2021-11-10 20:37:14 +11:00
UnknownShadow200
dad908c68c GUI: Use FixedDialog instead for FixedToolWindow for improved appearance of popup dialogs, especially on Linux
Note that this means that popup dialogs now appear in taskbar on Linux, whereas they weren't before. However popup dialogs were already appearing before in taskbar on Windows, so at least the behaviour is consistent now
2021-11-10 18:51:55 +11:00
UnknownShadow200
1280f09f7a Also fix general logs calendar days being almost invisible in dark theme 2021-11-09 22:22:42 +11:00
UnknownShadow200
5b774651e3 GUI: Fix listboxes having almost invisible text color for unselected items on Gnome DE with dark theme (Thanks TehcJS, addresses #651)
Testcase: Ubuntu 20.04 with Adwaita-dark or Yaru-dark themes
2021-11-09 21:42:30 +11:00
UnknownShadow200
3642dc3665 Release 1.9.3.6 1.9.3.6 2021-11-07 12:14:04 +11:00
UnknownShadow200
90864a0c6b Split up Scripting.cs into Scripting.cs and ScriptingOperations.cs 2021-11-07 12:08:41 +11:00
UnknownShadow200
b5b8675dfb
Merge pull request #655 from SpiralP/add-cpe-plugin-message
Add new CPE type PluginMessage
2021-11-06 22:49:28 +11:00
SpiralP
842711021e wording 2021-11-06 02:01:09 -07:00
SpiralP
7660e189a8 rename to OnPluginMessageReceivedEvent, move to ServerEvents.cs 2021-11-06 01:59:54 -07:00
SpiralP
2e5d7bd3f2 remove version "2" 2021-11-06 01:24:39 -07:00
SpiralP
592da5c22c use PluginMessageDataLength instead of hardcode 64 2021-11-06 01:23:24 -07:00
SpiralP
f1cf534b6d add OnPlayerPluginMessageEvent, call it when receiving a CPE PluginMessage 2021-11-06 00:06:35 -07:00
SpiralP
62c7cf9951 add CpePluginMessage opcode, and PluginMessage helper 2021-11-05 23:34:55 -07:00
UnknownShadow200
e0529d2fc0 Allow disabling CPE extensions 2021-11-06 13:45:33 +11:00
UnknownShadow200
ce81eb6a58 Add short description for CPE extensions 2021-11-06 09:39:46 +11:00
UnknownShadow200
15dd012ecc Move CpeExtension to CpeExt and prepare for expansion of CpeExtension class 2021-11-05 12:33:25 +11:00
UnknownShadow200
c6ba19059e CPE: Retrieve list of extensions by calling CPEExtension.GetAllEnabled instead 2021-11-04 11:58:31 +11:00
UnknownShadow200
35878c8532 Add Formatter.ValidPlayerName method which takes into account the suffixes defined by the authentication services
Also fix in GUI the right click player in players table -> Kick showing 'kicked by console' twice in kick message
2021-11-03 21:39:22 +11:00
UnknownShadow200
d650dc11eb GUI: Fix right clicking a level in Levels table -> Actions -> Reload not working 2021-11-03 21:24:07 +11:00
UnknownShadow200
4e5a977cea Split up Player.CPE.cs into CPESupport.cs and Player.CPE.cs 2021-11-01 22:18:30 +11:00
UnknownShadow200
53549f2931 Museum: If the exact same museum is already loaded into memory because a player is on it, try to reuse the blocks/CustomBlocks array from that instance instead of loading a duplicate level into memory 2021-10-29 21:39:41 +11:00
UnknownShadow200
cc261aa91c uhhhhh whoops 2021-10-29 20:39:25 +11:00
UnknownShadow200
a3f5a41859 Make /import show better error messages when unsupported file, and simplify /import all to just directly import files instead of trying to change file extension 2021-10-29 20:38:39 +11:00
UnknownShadow200
f54eb7fd55 Tidy up IMapImporter somewhat 2021-10-29 20:18:06 +11:00
UnknownShadow200
6dcbbc3e7b Discord: Also handle IOException with up to 2 more retry and without logging errors 2021-10-29 18:31:28 +11:00
UnknownShadow200
572ae79126 Discord: Handle 500-504 errors with up 2 more retries and don't log to error logs 2021-10-29 18:19:05 +11:00
UnknownShadow200
9ebb2f0082 Discord: Allow disabling user mentions (and toggling role/everyone mentions) 2021-10-28 19:33:51 +11:00
UnknownShadow200
b7868c998f Move LoadMuseum into LevelActions and add some more comments 2021-10-27 20:17:52 +11:00
UnknownShadow200
abbfb2c01b Change backedup to ChangedSinceBackup and invert logic for simplicity 2021-10-26 22:23:00 +11:00
UnknownShadow200
80de760878 Add comments to IGame 2021-10-26 20:12:49 +11:00
UnknownShadow200
0e512e5941 Change /restore to also list backups when invalid backup number is passed (and /restoreselection) 2021-10-26 19:45:55 +11:00
UnknownShadow200
de6ce82d55 Fix museum not restricting perbuild to nobody and fix /place still being usable in museums 2021-10-26 17:34:25 +11:00
UnknownShadow200
3b83214ad9
Merge pull request #647 from UnknownShadow200/AuthServices2
Split up Heartbeat into Heartbeat and configurable AuthService
2021-10-23 12:09:00 +11:00
UnknownShadow200
411b6c38b6 Fixing 'Finding URL..' message being located a long way away from the first 'Server URL found' message 2021-10-22 20:13:43 +11:00
UnknownShadow200
dc92ff87b8 Add random comments and remove one unnecessary use of Formatter.ValidName 2021-10-22 12:03:04 +11:00
UnknownShadow200
bf9296cff3 Remove Player.ValidName as it will no longer be able to provide the same guarantees about usernames with pending authentication services changes 2021-10-21 21:45:58 +11:00
UnknownShadow200
4ecff0e0e5 Allow /copy save to use any filename, and improve Formatter.CheckFilenameOnly 2021-10-21 19:06:08 +11:00
UnknownShadow200
ae1b5d342b Tidyup authservices.properties help text 2021-10-21 18:27:11 +11:00
UnknownShadow200
48c2148c9c Allow configuring authentication services 2021-10-21 12:33:00 +11:00
UnknownShadow200
f6f1ac5fb3 Split up Heartbeat into AuthService and Heartbeat 2021-10-20 23:25:36 +11:00
UnknownShadow200
91ba52c872 Slightly better documentation in ranks.properties 2021-10-20 23:23:40 +11:00
UnknownShadow200
f8503f031e Add link to wiki in discordbot.properties 2021-10-20 23:05:56 +11:00