Skip to content

Commit

Permalink
Overview refactor (pokepark#201)
Browse files Browse the repository at this point in the history
* Minor typo in FI translation

* Overview refactor
- Fixed the issue where overview message wouldn't update to "No active raids" if there were any active raids in db
- Fixed the issue at overview sharing where the share button was labeled "LAST_RUN"
- Fixed overview participant counts showing wrong count when multiple bosses are selected by user
  • Loading branch information
Ninjasoturi authored Dec 5, 2020
1 parent 7925426 commit 090f084
Show file tree
Hide file tree
Showing 10 changed files with 263 additions and 506 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.319.4
2.0.319.5
2 changes: 1 addition & 1 deletion commands/overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//debug_log($data);

// Check access.
bot_access_check($update, 'list');
bot_access_check($update, 'overview');

// Init empty keys array.
$keys = [];
Expand Down
4 changes: 2 additions & 2 deletions config/config.json.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION":"2.0.319.4",
"VERSION":"2.0.319.5",
"DB_HOST":"localhost",
"DB_NAME":"your_database_name",
"DB_USER":"your_database_user",
Expand All @@ -15,4 +15,4 @@
"LANGUAGE_PUBLIC":"EN",
"TIMEZONE":"Europe/Berlin",
"SHARE_CHATS":""
}
}
2 changes: 1 addition & 1 deletion lang/language.json
Original file line number Diff line number Diff line change
Expand Up @@ -2541,7 +2541,7 @@
"NO": "Sletting av raid oppsummeringen ble avbrutt!",
"FR": "La suppression de l'aperçu du raid a été annulée",
"PL": "Usuwanie podglądu anulowane!",
"FI": "Raidi yleisktsauksen poisto peruutettiin!"
"FI": "Raidi yleiskatsauksen poisto peruutettiin!"
},
"raid_overview_for_chat": {
"NL": "Raid overzicht voor",
Expand Down
1 change: 0 additions & 1 deletion logic.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
include('logic/cp_keys.php');
include('logic/curl_json_response.php');
include('logic/delete_gym.php');
include('logic/delete_overview.php');
include('logic/delete_raid.php');
include('logic/delete_trainerinfo.php');
include('logic/disable_raid_level.php');
Expand Down
23 changes: 0 additions & 23 deletions logic/delete_overview.php

This file was deleted.

Loading

0 comments on commit 090f084

Please sign in to comment.