Commit Graph

5848 Commits

Author SHA1 Message Date
50da1ee90a Fixed wrong implementation of Basic auth (#8779)
* Fixed wrong implementation of Basic auth

+ added min length for passwords

* Fixed basic auth being compressed

+ added function to get auth header from settings
2023-03-01 21:12:12 +02:00
15c1998379 Death symbols for Great Person actions 2023-03-01 21:00:13 +02:00
e1c5953389 Show death symbol next to actions that expend the unit 2023-03-01 20:55:02 +02:00
5e85c3ca72 "by consuming this unit" is better 2023-03-01 16:35:06 +02:00
ae501c3750 'create improvement' action, <consuming this unit> and <as an action> modifiers 2023-03-01 16:09:44 +02:00
66faeb0d15 Preparation for unit action modifiers 2023-03-01 15:26:54 +02:00
494fde53cf Cleaning: platform specifics and UncivGame (#8773)
* Cleanup: platform specifics + UncivGame

* Fix tests

* Fix requests not clearing

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-28 18:56:57 +02:00
c20c05a446 Resolved #8766 - gifting cities no longer causes crash 2023-02-27 17:07:11 +02:00
8f7fcb2e3e Fixed TurnChecker can not authenticate (#8770) 2023-02-27 16:51:27 +02:00
58b3d6eaac Fix random nations pool popup (#8769)
* Fix random nations pool dialog

* Rename randomNations for backwards compat with 4.5.0 or older
2023-02-27 16:51:04 +02:00
36ea383c2f Version rollout (#8764)
* Bump version and create initial changelog entry

* Update French.properties (#8761)

* Update Italian.properties (#8757)

* Added some bulgarian translations (#8756)

* Added some Bulgarian translations

* Removed unnecessary comments

When adding the translations, I forgot to remove some "# Requires translation!" comments

* Update Catalan.properties (#8754)

* Update Polish.properties (#8752)

* Update Polish.properties

* Update Polish.properties

* Update Brazilian_Portuguese.properties (#8750)

* Update Spanish.properties (#8749)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: vynaaa <101423783+vynaaa@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-27 11:24:31 +02:00
3d84297da1 Better control over debug messages (#8748)
* Better control over debug messages

* Better control over debug messages
2023-02-27 11:13:34 +02:00
44399e770c Added triggered uniques to grant specific tech / policy 2023-02-27 10:58:08 +02:00
bcfa2fcd27 Fix broken random nations pool (#8763) 2023-02-27 08:30:38 +02:00
8361d68452 Added 'upon ending turn in tile' unit trigger 2023-02-26 23:41:09 +02:00
ec1b2b5077 Fixed 'HiddenFromCivilopedia' targets 2023-02-26 23:26:48 +02:00
4ba822ca49 Resolved #8762 - Civilopedia does not crash when displaying techs on fresh start 2023-02-26 23:19:24 +02:00
e27de0eb96 Resolved #8759 - 'upon declaring friendship' triggers for both sides 2023-02-26 23:16:16 +02:00
88cd136dd5 Resolved #8758 - all unpillagable improvements are not destroyed by 'destroy improvements' unique 2023-02-26 23:04:55 +02:00
86a63ac578 'upon conquering' is a condition not a triggered unique 2023-02-26 22:33:00 +02:00
9988764d4d Added 'trigger upon losing over X HP in single attack' 2023-02-26 22:11:23 +02:00
faada0ac79 Added 'trigger upon promotion', 'trigger upon conquering city' unit trigger 2023-02-26 22:04:57 +02:00
67f4704ca2 Added unit trigger for 'upon defeat' 2023-02-26 21:57:52 +02:00
a47864ecac Special type for unit triggerables 2023-02-26 21:52:18 +02:00
8c9877365d unit triggers also activate civ triggers 2023-02-26 21:48:46 +02:00
090c421f9b Introduced "upon defeating [unitFilter] unit" trigger 2023-02-26 20:31:13 +02:00
7bfaeb274c City screen displays "free" tile yields undimmed (#8753) 2023-02-26 19:19:18 +02:00
cff8876ec8 4.5.0-patch3
Fixed 'unitsToRemove' error
2023-02-26 10:13:25 +02:00
8e17c9ed98 4.5.0-patch2
Lazy loading of system fonts so startup is fast
2023-02-26 09:33:02 +02:00
87403c9472 exploredTiles deprecation, step 1 - do not check exploredTiles when checking if a tile is explored (#8747)
exploredTiles continues to remain updated, to allow
2023-02-26 09:04:14 +02:00
9acc84ff8e Resolved #8739 - cannot 'undo' if you cannot change state 2023-02-25 22:23:23 +02:00
0144947bb7 4.5.0-patch1 2023-02-25 21:31:04 +02:00
ad9942c532 4.5.0 2023-02-25 21:03:52 +02:00
b6942abbd9 Version rollout (#8746)
* Bump version and create initial changelog entry

* Updated Brazilian_Portuguese.properties (#8745)

* Update French.properties (#8743)

* Update Catalan.properties (#8742)

* Update Italian.properties (#8740)

* Update Spanish.properties (#8735)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-25 20:54:41 +02:00
b3d8415f61 "must be on/next to" unique for buildings can accepts tile filter - #3242 2023-02-25 20:53:54 +02:00
e458b64339 Fix problems with dual save folder support (#8734) 2023-02-25 20:43:59 +02:00
a3f511efd2 Added password authentication as server feature (#8716)
* Added authenticate and setPassword

* Added AuthPopup

* Added auth endpoint to UncivServer

* Fixed merge confict

* Added close button to AuthPopup

+ Fixed crash if no server is available

* Added entries to template properties

* Fixed setting password does not work

if authentication is required

+ Added server check on game startup in case the server has changed its feature set

* Added support for different passwords

on different servers

+ Cleanup for MultiplayerTab

* Added current password as hint

+ removed character hiding in auth popup
+ added popup to indicate auth success on connection check
2023-02-25 20:42:36 +02:00
5d80f50d93 Show UnitTypes in Civilopedia (#8729)
* Show UnitTypes in Civilopedia

* Show UnitTypes in Civilopedia - polish
2023-02-25 20:40:59 +02:00
e69eb5b518 Map exploring disables undo button + ExploredRegion smallfixes (#8741) 2023-02-24 23:44:43 +01:00
04cc091d94 Added conditionals for religion state 2023-02-23 23:05:42 +02:00
1eba9bb4d9 Version rollout (#8732)
* Bump version and create initial changelog entry

* Update French.properties (#8726)

* Update Italian.properties (#8722)

* Updated Brazilian_Portuguese.properties (#8720)

* Updated Brazilian_Portuguese.properties

* Updated Brazilian_Portuguese.properties

* Update Spanish.properties (#8719)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-23 23:05:16 +02:00
09d3094bd8 if tileset or unitset in different in WorldMapHolder compared to GameSetting reload the game on resume (#8519) 2023-02-23 23:05:03 +02:00
713f116400 Limit camera movement within explored region (#8661)
* Load game resets scroll position

* Limit camera within explored region
2023-02-23 22:41:21 +02:00
5d07fd981b Allow filters in the ModOptions "ToRemove" lists (#8730)
* Allow "*" wildcard in the ModOptions "ToRemove" lists

* Allow filters in the ModOptions "ToRemove" lists
2023-02-23 22:40:47 +02:00
33ddb2dc3a Fix tech description items alignment 2023-02-23 14:55:46 +01:00
145811849c Play city-state music if available (#8727)
* City-states now play their music if it exists
More of a fix than anything - before this city state music would only play when declare war button is confirmed

* City-states now play their music if it exists
More of a fix than anything - before this city state music would only play when declare war button is confirmed
2023-02-23 09:31:23 +02:00
16ffae6e00 Fixed world wrap coordinates check (#8724)
* Fixed world wrap coordinates check (#8724)
2023-02-23 00:16:37 +01:00
5077477987 Attempt to fix JDK8 compatibility with TextureArraySpriteBatch 2023-02-23 00:03:05 +01:00
4e662a460b chore: code cleanup 2023-02-22 10:03:28 +02:00
06292bec64 Fix unique parameter type 2023-02-22 09:54:10 +02:00