Commit Graph

32 Commits

Author SHA1 Message Date
iopietro 996f011666 Fixed some report bugs
+Added the report type 23, which indicates a defence during festive days
+Festive reports in the alliance no longer duplicates
+Festive reports in the village view no longer duplicates
+Fixed a bug that didn't permit to read an allied report

General:
-Removed the possibility to view an inexistent village
+Some minor improovements
2018-04-21 17:28:20 +02:00
Pietro 65f7ad1721 Delete attack-defender.tpl
Not used anymore
2018-04-21 13:32:14 +02:00
iopietro f7f164ea2b General fixes
+Fixed some errors in Automation.php
+Some clean up in the alliance templates directory
2018-04-21 13:30:18 +02:00
iopietro 2d573a915c Fixed a bug in the alliance
+Usernames and alliances of attacked players are now shown in the
"attacker" and "defender" filter while peace is active
+Some clean-up
2018-04-16 00:02:13 +02:00
iopietro 8dd8fc2364 Fixed a bug in the alliance
+Username are now shown correctly on attack topics while peace is active
2018-04-15 23:34:45 +02:00
Pietro Fallanca 274d89bfa1 Fixed a lot of bugs/security issues in the alliance
+You can no longer kick people of other alliances
+You can no longer change the forum link with no permissions
+You can no longer make more than 3 total confederation and 3 total NAP
+You can no longer send a diplomacy pact to an alliance with already one
pact or one pending pact
+You can no longer handle diplomacy without permissions
+Fixed security bugs related to invites (sending, deleting etc.)
+You can no longer access to any alliance submenus without permissions
(kick menu, diplomacy menu, etc.)
+Errors are now shown correctly and better handling of them
+New forum link and alliance description are shown correctly after
editing them
+You can no longer access to other alliances informations without being
in it (attack reports, news, etc)
+Corrected some alliance news
+Added some language constants to en.php
+Fixed and changed some database.php functions alliance related
2018-04-15 16:11:43 +02:00
iopietro 9e44c1cd6d Some replacements
+Replaced all $GLOBALS['link'] with $database->dblink
-Removed Templates/links.tpl from build.php (it's already in
Templates/menu.tpl)
2018-04-08 19:55:28 +02:00
Pietro 23a6957a7f Fixed a little error
Generated when "fid2" was empty.
2018-04-01 18:11:02 +02:00
Martin Ambrus 1f1b876651 fix: any alliance owner can edit any alliance forum data
#410
2017-12-26 17:01:21 +01:00
Martin Ambrus ce6f4ed3a9 fix: all players can see forum edit links
#410
2017-12-04 20:53:03 +01:00
Martin Ambrus 8d8c96014b refactor: multiple calls to getVSumField() replaced by a single one
#313
2017-11-25 20:29:12 +01:00
Martin Ambrus ec8752ac27 fix: fid2 missing from URL after forum post edited
Closes #355
2017-11-22 12:46:46 +01:00
Martin Ambrus 24789507a7 refactor: getProfileVillages() takes multiple IDs
#313
2017-11-19 15:57:52 +01:00
Martin Ambrus d17d1f9b32 refactor: last round of database values caching
#313
2017-11-17 19:40:34 +01:00
Martin Ambrus 06161dd5f9 fix: undefined variables 2017-11-15 15:39:15 +01:00
Martin Ambrus 86c9a161d3 fix: hide alliance forum link when defaulting to 0
Relates to #249
Comment URL:
https://github.com/Shadowss/TravianZ/issues/249#issuecomment-341975998
2017-11-05 15:21:45 +01:00
Martin Ambrus a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus c9038e20b8 refactor: alliance and Embassy mechanics refactoring, stage 2 of 3
Everything is now prepared for the last stage, where the code to handle
Embassy destruction during a battle will be added and tested :)

A few Embassy-demolition-related issues have been ironed-out in this
commit as well.
2017-11-01 00:16:52 +01:00
Martin Ambrus 5d91de0e14 feat: new Embassy logic for demolitions and alliance quitting 2017-10-29 23:06:25 +01:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +02:00
Martin Ambrus a163206782 feat: forum post notifications into mailbox 2017-10-22 19:16:43 +02:00
Martin Ambrus 7270a69a63 fix: all location headers need to have exit after them! 2017-10-22 13:00:54 +02:00
Martin Ambrus 40eacecea6 fix: self-kicking from alliance disallowed 2017-10-22 00:31:25 +02:00
Martin Ambrus 6f3973748c fix: more manual typecastings 2017-10-18 00:59:49 +02:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
Shadowss a371c60661 forum update 2013-12-21 10:28:59 +02:00
KFCSpike fac62d802c Fix some typos 2013-12-02 21:37:01 +00:00
KFCSpike d7c08a42bc Remove the trailing full stop after the alliance rank in alliance overview screen 2013-12-02 13:45:49 +00:00
yi12345 1cec3c9e4c update 2013-09-17 23:50:01 +03:00
yi12345 37f382ccc3 fix forum surveys 2013-09-17 23:16:13 +03:00
yi12345 2e7993ec93 update 2013-07-19 02:31:19 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00