Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-03-11 | Fixed errors of the form Do not access Object.prototype method ↵ | Jeff Heiges | |
'hasOwnProperty' from target object no-prototype-builtins | |||
2025-03-11 | Resolve Line 86:28: Do not access Object.prototype method 'hasOwnProperty' ↵ | Jeff Heiges | |
from target object no-prototype-builtins Line 88:28: Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins Line 90:28: Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins Line 92:26: Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins Line 94:26: Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins Line 96:26: Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins | |||
2025-03-11 | Update packages due to them being deprecated or vulnerable. | Jeff Heiges | |
2025-03-11 | Resolve ReactDOM.render is deprecated since React 18.0.0, use createRoot ↵ | Jeff Heiges | |
instead, see https://reactjs.org/link/switch-to-createroot react/no-deprecated | |||
2020-04-13 | Bump version to v1.1.2 | Philip Paquette | |
2020-04-13 | Fixed #105 - set is not JSON serializable | Philip Paquette | |
2019-09-16 | [API] Catching ConnectionResetError, ConnectionRefusedError, OSError | Philip Paquette | |
2019-09-14 | Bump version to v1.1.1 | Philip Paquette | |
2019-09-14 | Implemented an internal convoy cache for common maps | Philip Paquette | |
- Displaying a message when convoy cache is being generated for other maps | |||
2019-09-14 | Added method 'from_saved_game_format' and 'load_saved_games_from_disk' | Philip Paquette | |
2019-09-14 | to_saved_game_format - Added 'output_path' and 'output_mode' | Philip Paquette | |
- Game can now be saved (appended) to disk in one line | |||
2019-09-14 | Added 'version.py' so sphinx and pip can get the version from the same place | Philip Paquette | |
2019-09-14 | channel.authenticate() - Deprecated argument 'create_user' | Philip Paquette | |
- User is now created by default if it doesn't exist on the server - Unless the server prevents new registrations | |||
2019-09-14 | Renamed argument in channel methods from 'game_object' to 'game' | Philip Paquette | |
2019-09-14 | .render() method - Added arg 'output_path' to be able to save img on disk | Philip Paquette | |
2019-09-14 | Added ReadtheDocs documentation for the public API | Philip Paquette | |
- Reformatted the docstring to be compatible - Added tests to make sure the documentation compiles properly - Added sphinx as a pip requirement Co-authored-by: Philip Paquette <pcpaquette@gmail.com> Co-authored-by: notoraptor <stevenbocco@gmail.com> | |||
2019-09-10 | Added ability to specify a custom SVG path in the renderer | Philip Paquette | |
- This could be used for instance to change the colours on the map. | |||
2019-09-10 | Added ability to load a custom map by specifying the path to a '.map' file | Philip Paquette | |
2019-09-06 | [API] Catching TypeError and ValueError on json.loads | Philip Paquette | |
2019-08-28 | Fixed the 'Unknown request' race condition | Philip Paquette | |
- This happened when a response was received before being marked as 'waiting_responses' | |||
2019-08-28 | Make sure to clear all orders before setting a new game state. | notoraptor | |
2019-08-28 | Client sends a 'UnknownToken' request when it receives a notification for an ↵ | notoraptor | |
unknown token. | |||
2019-08-28 | Use calls to Game parent methods in function to_saved_game_format(). | notoraptor | |
This will help using the function even with derived classes. | |||
2019-08-28 | Set default server game rules without rule SOLITAIRE. | notoraptor | |
2019-08-26 | [API] Catching basic HTTP errors (i.e. unable to connect) | Philip Paquette | |
2019-08-23 | [API] Logging error if no response.body is returned | Philip Paquette | |
2019-08-21 | [API] Converting '-' to 'R' during retreats phase | Philip Paquette | |
2019-08-21 | [API] Disband order during 'A' phase strips the coast | Philip Paquette | |
2019-08-14 | [Web] Integrated new maps on the web interface | notoraptor | |
- Fixed bug with incorrect dislodged unit on pure map - [python] Make sure dummy powers are registered only for standard maps. - Hardcoded supply centers into SVG files. - Removed supply centers CSS classes. - Update positions for units and dislodged units on all maps. - Converted SVGs to React. - Removed "sym" classes and hardcode related styles into symbol definitions. - Reordered map list (standard at top, then other ones in alphabetical order) - Displayed + button for all maps and disable it for maps without variants. - Minified generated code when converting SVG files to React. - [web] Added ability to hide/display map abbreviations. | |||
2019-08-14 | Added svg for 'modern' | Philip Paquette | |
2019-08-14 | Added svg for 'ancmed' | Philip Paquette | |
2019-08-10 | [API] Fixed issue with multiple convoy orders and support of unit moving via ↵ | Philip Paquette | |
convoy - The "convoyPath" for 'Move via' is simply a plausible path for start to dest - For a support move of a convoyed unit, the path must not include the unit issuing the support - For a convoy order, the path must include the unit issuing the convoy order | |||
2019-08-09 | [API] Implemented an abstract BaseAPI class | Philip Paquette | |
2019-08-09 | [API] Fixed issue when disbanding a fleet from a coast | Philip Paquette | |
2019-08-08 | DAIDE - Assign bot to a specific power if 'POW:' in NME request | Philip Paquette | |
2019-08-06 | Fixed issue with 1v1 maps on Webdip API (map_name not set) | Philip Paquette | |
2019-08-05 | {web] Just reload interface when notification "power orders flag" is received. | notoraptor | |
This should prevent warnings "unknown power XXX" and then fix #57 . | |||
2019-08-01 | Refactored SVG map into a React component | notoraptor | |
- Create link to diplomacy map folder into web/src/diplomacy/maps - Remove old web/src/gui/map folder. - [web] Handle click only on current map. - [web/game] Remove useless `wait` state. - Remove unused nodejs modules. - [web] Use queue to handle game notifications in sequential order. - Make all calls to setState() asynchronous in Page and ContentGame components. - Make sure notifications are handled in the order in which they come. | |||
2019-08-01 | Removed sending powers controlled notifications before processing phase | notoraptor | |
2019-08-01 | ChoosePower - Powers are sorted by alphabetical order | notoraptor | |
2019-08-01 | Renamed CSS class 'invisible' to 'invisibleContent' to avoid name collision ↵ | notoraptor | |
with bootstrap | |||
2019-08-01 | Added overflow-y: scroll to CSS to prevent vertical scroll bar from appearing | notoraptor | |
2019-07-25 | Add select via shortcut (#61) | notoraptor | |
- [web][select via dialog] Add shortcuts M and V. - [web][select via dialog] Asynchronously handle "select via" method, so that shortcut callback can continue to run (and then set its state) without waiting for callback return. This should help to prevent React from updating an unmounted shortcut component. | |||
2019-07-25 | [Web] Added game creation interface | notoraptor | |
- Replaced fancybox with react-confirm-alert + dialog box - Removed unused code - Default map can be selected with 1-click - Added ability to select map variants | |||
2019-07-23 | [Web] - Set withOrders to 'N/A' when the power has no orderable locs | notoraptor | |
Should fix #58 . | |||
2019-07-21 | Fixed game advances even if no orders are received for dummies | Philip Paquette | |
2019-07-21 | Fixed synchronization issues | notoraptor | |
- Added __enter__, __exit__, and .current_state() to game object - set_orders throws an exception is the server phase is not the same as the client phase - Returning only waiting dummy powers to bot | |||
2019-07-21 | Logging DiplomacyException for _on_socket_message with additional details | Philip Paquette | |
2019-07-19 | [python] Add a new method to retrieve powers available for bots. | notoraptor | |
2019-07-19 | [web] Update state correctly when a power is kicked. (#54) | notoraptor | |