aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-03-11Fixed all remaining hasOwnProperty errorsJeff Heiges
2025-03-11hasOwnProperty error not fixed by scriptJeff Heiges
2025-03-11Fixed Octicon errorsJeff Heiges
2025-03-11Automated script replaced OBJECT.hasOwnProperty(PROPERTY) with ↵Jeff Heiges
Object.prototype.hasOwnProperty.call(OBJECT, PROPERTY)
2025-03-11Fix errors of the form Do not access Object.prototype method ↵Jeff Heiges
'hasOwnProperty' from target object no-prototype-builtins
2025-03-11Fixed errors of the form Do not access Object.prototype method ↵Jeff Heiges
'hasOwnProperty' from target object no-prototype-builtins
2025-03-11Resolve 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-11Update packages due to them being deprecated or vulnerable.Jeff Heiges
2025-03-11Resolve 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-06-01Updated links to documentation [Now at diplomacy.readthedocs.io]Philip Paquette
2020-04-13Bump version to v1.1.2Philip Paquette
2020-04-13Fixed #105 - set is not JSON serializablePhilip Paquette
2019-09-16[API] Catching ConnectionResetError, ConnectionRefusedError, OSErrorPhilip Paquette
2019-09-14Bump version to v1.1.1Philip Paquette
2019-09-14Implemented an internal convoy cache for common mapsPhilip Paquette
- Displaying a message when convoy cache is being generated for other maps
2019-09-14Added code of conductPhilip Paquette
2019-09-14Added method 'from_saved_game_format' and 'load_saved_games_from_disk'Philip Paquette
2019-09-14to_saved_game_format - Added 'output_path' and 'output_mode'Philip Paquette
- Game can now be saved (appended) to disk in one line
2019-09-14Added 'version.py' so sphinx and pip can get the version from the same placePhilip Paquette
2019-09-14Updated the missing fields in setup.pyPhilip Paquette
2019-09-14channel.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-14Renamed 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 diskPhilip Paquette
2019-09-14Added ReadtheDocs documentation for the public APIPhilip 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-10Added ability to specify a custom SVG path in the rendererPhilip Paquette
- This could be used for instance to change the colours on the map.
2019-09-10Added ability to load a custom map by specifying the path to a '.map' filePhilip Paquette
2019-09-06[API] Catching TypeError and ValueError on json.loadsPhilip Paquette
2019-09-03Migrated tests from Jenkins to TravisPhilip Paquette
2019-09-03MANIFEST - Modified path of README and added additional filesPhilip Paquette
2019-09-02Added setup.cfg and fixed classifiersPhilip Paquette
2019-09-01Added a thumbnail on the README, and modified the titlePhilip Paquette
2019-08-28Bump version to 1.1.0Philip Paquette
2019-08-28Fixed the 'Unknown request' race conditionPhilip Paquette
- This happened when a response was received before being marked as 'waiting_responses'
2019-08-28README - Added simple examples on how to run the codePhilip Paquette
2019-08-28Make sure to clear all orders before setting a new game state.notoraptor
2019-08-28Client sends a 'UnknownToken' request when it receives a notification for an ↵notoraptor
unknown token.
2019-08-28Use calls to Game parent methods in function to_saved_game_format().notoraptor
This will help using the function even with derived classes.
2019-08-28Set 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 returnedPhilip Paquette
2019-08-21[API] Converting '-' to 'R' during retreats phasePhilip Paquette
2019-08-21[API] Disband order during 'A' phase strips the coastPhilip Paquette
2019-08-14[Web] Integrated new maps on the web interfacenotoraptor
- 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-14Added svg for 'modern'Philip Paquette
2019-08-14Added 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 classPhilip Paquette
2019-08-09[API] Fixed issue when disbanding a fleet from a coastPhilip Paquette
2019-08-08DAIDE - Assign bot to a specific power if 'POW:' in NME requestPhilip Paquette
2019-08-06Fixed issue with 1v1 maps on Webdip API (map_name not set)Philip Paquette