Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pot files #5

Open
wants to merge 49 commits into
base: svgfix2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
98a0cd6
Update CEF from 97.1.1+g50067f2+chromium-97.0.4692.71 to 97.1.2+gb821…
Dutchman101 Jan 12, 2022
8088801
Fix settings gui crash
botder Jan 13, 2022
a69f694
Fix re-enabling a game control
botder Jan 15, 2022
5c4d1f4
Update rebuild-pots.yaml
patrikjuvonen Jan 15, 2022
29dfe4b
Remove debug assert in CFileLoaderSA that causes crashes without vali…
Pieter-Dewachter Jan 18, 2022
9c571d6
Visual Studio Update
MTABot Jan 19, 2022
df4d35d
Fix healthbar blinking faster on high fps (#2487)
Merlin Jan 19, 2022
1fac287
Add new world special property (vehicle sun glare effect) (#2495)
gta191977649 Jan 22, 2022
e1d0993
Update CEF from 97.1.2+gb821dc3+chromium-97.0.4692.71 to 97.1.6+g8961…
Dutchman101 Jan 22, 2022
c372dc3
Get rid of std::function in AsyncTaskSched (#2522)
Pirulax Jan 22, 2022
3068896
Fix vehicle sun glare is still enabled after reconnect (#2527)
gta191977649 Jan 24, 2022
da49960
Do misc refactor of PR #2526 (#2530)
gta191977649 Jan 29, 2022
64b55bb
Fix removal of key binds crashing the client
botder Feb 5, 2022
f01fe5d
Update Turkish translations to fix a crash
patrikjuvonen Feb 11, 2022
a0559c4
Fix #2542: Add note about account requirement
patrikjuvonen Feb 15, 2022
3872649
Update CEF from 97.1.6+g8961cdb+chromium-97.0.4692.99 to 98.1.21+g978…
patrikjuvonen Feb 17, 2022
61ec1db
Visual Studio Update
Dutchman101 Feb 18, 2022
671a5f8
Update launchers
Dutchman101 Feb 18, 2022
abd5612
update BASS libaries
Dutchman101 Feb 18, 2022
7ead65d
Skip check for disabled HUD (#2460)
Merlin Feb 25, 2022
4d6f0ca
Visual Studio Update
MTABot Mar 9, 2022
4a08d63
Update CEF to 99.2.12+g2977b3a+chromium-99.0.4844.74
Dutchman101 Mar 18, 2022
be94535
Visual Studio Update
MTABot Mar 23, 2022
b26cb9f
Update CEF to 99.2.13+gd9af866+chromium-99.0.4844.83
Dutchman101 Mar 26, 2022
4e70aaf
Update CEF from 99.2.13+gd9af866+chromium-99.0.4844.83 to 99.2.14+g3f…
patrikjuvonen Mar 31, 2022
1134f28
Addendum to 4e70aaf: Convert hash to lowercase
patrikjuvonen Mar 31, 2022
30c68a8
Update zlib from 1.2.11 to 1.2.12
patrikjuvonen Mar 31, 2022
c6aafc6
Update jpeg from 9d to 9e
patrikjuvonen Mar 31, 2022
e467585
Define "HAVE_UNISTD_H" in zlib on Mac systems (#2585) (#2587)
Lpsd Apr 2, 2022
b2647ec
Update pot files (#2508)
github-actions[bot] Apr 2, 2022
3635e33
Update lunasvg from 2.2.0 to 2.3.1 (#2584)
patrikjuvonen Apr 2, 2022
9b2dbbb
Convert bug report issue template to the new beta form template
patrikjuvonen Apr 3, 2022
70e59bb
Convert feature request issue template to the new beta form template
patrikjuvonen Apr 3, 2022
07204d2
Tweak bug report issue template
patrikjuvonen Apr 3, 2022
41c99ae
Visual Studio Update
MTABot Apr 6, 2022
9708440
Remove leftover Discord implementation (#2499)
Lpsd Apr 7, 2022
8754bbb
Update CEF to 100.0.14+g4e5ba66+chromium-100.0.4896.75
Dutchman101 Apr 8, 2022
acdb3cb
Remove CefBrowserSettings.plugins definition (#2593) to fix CEF update
Lpsd Apr 8, 2022
3157905
Remove async tasks in SVG and update callback usage (PR #2589)
Lpsd Apr 8, 2022
92cdb3a
Update curl from 7.81.0 to 7.82.0 (#2581)
patrikjuvonen Apr 8, 2022
29f3038
Fix (#2558)
matheustkn Apr 8, 2022
5cc419c
Add missing chat_text_outline CVAR to getChatboxLayout function (#2506)
Pieter-Dewachter Apr 8, 2022
a89d975
Add missing getType method for camera element (#2368)
TheNormalnij Apr 9, 2022
9b022b6
GUI functions: variable set relative to false when it has invisible s…
myusernamewo Apr 9, 2022
796c3a1
Update sqlite from 3.37.2 to 3.38.2 (#2582)
patrikjuvonen Apr 9, 2022
66a16ff
Update unrar from 6.02 to 6.11 (#2583)
patrikjuvonen Apr 9, 2022
66017cd
Fix build failing since 66a16ff (unrar update) (PR #2594)
Lpsd Apr 9, 2022
65a2f67
Update client en_US pot
Apr 9, 2022
73563ed
Update installer en_US pot
Apr 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 0 additions & 57 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Bug report
description: Create a report to help us improve
labels: bug
body:
- type: markdown
attributes:
value: |
# Stop right now if you're reporting a cheat or security vulnerability!

**Please read our [Security Policy](https://github.com/multitheftauto/mtasa-blue/security/policy) to learn where to responsibly report security issues. Thank you.**

This template is only for reporting bugs. If you have a feature request, please use the [feature request template](https://github.com/multitheftauto/mtasa-blue/issues/new?assignees=&labels=enhancement&template=feature_request.yml).
- type: textarea
id: what-happened
attributes:
label: Describe the bug
description: Please provide a clear and concise description of what the bug is.
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: to-reproduce
attributes:
label: Steps to reproduce
description: Please provide clear steps to reproduce the behaviour.
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: true
- type: textarea
id: version
attributes:
label: Version
description: |
Please provide the version of the MTA client and/or server you are running.

Client: You can open the client console using the `F8` key on your keyboard and using the `ver` command to get the version.
Server: You can use the `ver` command in the server console to get the version.

If you are running Wine, please say so, and say if you're using Linux or MacOS.

Which operating system the server is running on, if relevant.
placeholder: |
Client: v1.5.9-release-21140 (Windows 10, 64-bit)
Server: v1.5.9-release-21140 (Debian 10, 64-bit)
- type: textarea
id: additional-context
attributes:
label: Additional context
description: |
If available, please provide any other additional context, such as screenshots or videos, or links to other relevant issues, pull requests or documents that can help others troubleshoot your issue more accurately and efficiently.
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.

**Warning!** Do not post any personal information or sensitive logs here. You are responsible for redacting any personal information from the logs. If you need to post sensitive logs, you can use our [private log uploader](https://upload.mtasa.com/) which will only allow MTA staff to access the file, just paste the link to it here.
render: shell
- type: checkboxes
id: terms
attributes:
label: Security Policy
description: By submitting this issue, you express that you have read and understood our [Security Policy](https://github.com/multitheftauto/mtasa-blue/security/policy) and that this issue is not security related.
options:
- label: I have read and understood the Security Policy and this issue is not security related.
required: true
18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Feature request
description: Suggest an idea for this project
labels: enhancement
body:
- type: markdown
attributes:
value: |
# Stop right now if you're reporting a cheat or security vulnerability!

**Please read our [Security Policy](https://github.com/multitheftauto/mtasa-blue/security/policy) to learn where to responsibly report security issues. Thank you.**

This template is only for suggesting features. If you have a bug report, please use the [bug report template](https://github.com/multitheftauto/mtasa-blue/issues/new?assignees=&labels=bug&template=bug_report.yml).
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe.
description: |
Please provide a clear and concise description of what the problem is. For example: I'm always frustrated when [...]
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: Please provide a clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: Please provide a clear and concise description of any alternative solutions or features you've considered.
- type: textarea
id: additional-context
attributes:
label: Additional context
description: |
If available, please provide any other additional context, such as screenshots or videos, or links to other relevant issues, pull requests or documents that can help others better understand your request.
- type: checkboxes
id: terms
attributes:
label: Security Policy
description: By submitting this issue, you express that you have read and understood our [Security Policy](https://github.com/multitheftauto/mtasa-blue/security/policy) and that this issue is not about a cheat or security vulnerability.
options:
- label: I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
required: true
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Before disclosing a cheat or security vulnerability, please do not try and check that they work
as they could either result in you getting globally banned or infected by a virus.

Please submit your security vulnerabilities and cheats to our [private bugtracker].
Please submit your security vulnerabilities and cheats to our [private bugtracker]. Our private bugtracker requires a forum account.

Please do not submit vulnerabilities and cheats publicly, on GitHub or anywhere else.

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/rebuild-pots.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: 'Rebuild en_US pot files'
on:
push:
branch: master
branches:
- master
workflow_dispatch:

jobs:
Expand Down
1 change: 0 additions & 1 deletion Client/cefweb/CWebView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void CWebView::Initialise()
browserSettings.javascript_dom_paste = cef_state_t::STATE_DISABLED;
browserSettings.webgl = cef_state_t::STATE_ENABLED;

browserSettings.plugins = cef_state_t::STATE_DISABLED;
if (!m_bIsLocal)
{
bool bEnabledJavascript = g_pCore->GetWebCore()->GetRemoteJavascriptEnabled();
Expand Down
1 change: 0 additions & 1 deletion Client/core/CClientVariables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ void CClientVariables::LoadDefaults()
DEFAULT("browser_remote_websites", true); // Load remote websites?
DEFAULT("browser_remote_javascript", true); // Execute javascript on remote websites?
DEFAULT("filter_duplicate_log_lines", true); // Filter duplicate log lines for debug view and clientscript.log
DEFAULT("discord_rich_presence", true); // Enable Discord Game SDK
DEFAULT("always_show_transferbox", false); // Should the transfer box always be visible for downloads? (and ignore scripted control)
DEFAULT("_beta_qc_rightclick_command", _S("reconnect")); // Command to run when right clicking quick connect (beta - can be removed at any time)

Expand Down
15 changes: 1 addition & 14 deletions Client/core/CConnectManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ CConnectManager::~CConnectManager()
g_pConnectManager = NULL;
}

bool CConnectManager::Connect(const char* szHost, unsigned short usPort, const char* szNick, const char* szPassword, bool bNotifyServerBrowser,
const char* szSecret)
bool CConnectManager::Connect(const char* szHost, unsigned short usPort, const char* szNick, const char* szPassword, bool bNotifyServerBrowser)
{
assert(szHost);
assert(szNick);
Expand Down Expand Up @@ -101,11 +100,6 @@ bool CConnectManager::Connect(const char* szHost, unsigned short usPort, const c
m_usPort = usPort;
m_bSave = true;

if (szSecret)
m_strDiscordSecretJoin = szSecret;
else
m_strDiscordSecretJoin.clear();

m_strLastHost = m_strHost;
m_usLastPort = m_usPort;
m_strLastPassword = m_strPassword;
Expand Down Expand Up @@ -495,10 +489,3 @@ void CConnectManager::OpenServerFirewall(in_addr Address, ushort usHttpPort, boo
g_pCore->GetNetwork()->GetHTTPDownloadManager(EDownloadMode::CONNECT_TCP_SEND)->QueueFile(strDummyUrl, NULL, NULL, NULL, options);
}
}

SString CConnectManager::GetJoinSecret()
{
SString dummy = m_strDiscordSecretJoin;
m_strDiscordSecretJoin.clear();
return dummy;
}
6 changes: 1 addition & 5 deletions Client/core/CConnectManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ class CConnectManager
CConnectManager();
~CConnectManager();

bool Connect(const char* szHost, unsigned short usPort, const char* szNick, const char* szPassword, bool bNotifyServerBrowser = false,
const char* szSecret = nullptr);
bool Connect(const char* szHost, unsigned short usPort, const char* szNick, const char* szPassword, bool bNotifyServerBrowser = false);
bool Reconnect(const char* szHost, unsigned short usPort, const char* szPassword, bool bSave = true);

bool Abort();
Expand All @@ -35,8 +34,6 @@ class CConnectManager

static bool StaticProcessPacket(unsigned char ucPacketID, class NetBitStreamInterface& bitStream);

SString GetJoinSecret();

std::string m_strLastHost;
unsigned short m_usLastPort;
std::string m_strLastPassword;
Expand All @@ -55,7 +52,6 @@ class CConnectManager
bool m_bSave;
time_t m_tConnectStarted;
bool m_bHasTriedSecondConnect;
SString m_strDiscordSecretJoin;

GUI_CALLBACK* m_pOnCancelClick;

Expand Down
34 changes: 1 addition & 33 deletions Client/core/CCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "CModelCacheManager.h"
#include <SharedUtil.Detours.h>
#include <ServerBrowser/CServerCache.h>
#include "CDiscordManager.h"

using SharedUtil::CalcMTASAPath;
using namespace std;
Expand All @@ -46,7 +45,7 @@ static HMODULE WINAPI SkipDirectPlay_LoadLibraryA(LPCSTR fileName)
return Win32LoadLibraryA("d3d8.dll");
}

CCore::CCore() : m_DiscordManager(new CDiscordManager())
CCore::CCore()
{
// Initialize the global pointer
g_pCore = this;
Expand All @@ -68,9 +67,6 @@ CCore::CCore() : m_DiscordManager(new CDiscordManager())
ApplyCoreInitSettings();
g_pLocalization = new CLocalization;

// Initialize discord manager
m_DiscordManager->Initialize();

// Create a logger instance.
m_pConsoleLogger = new CConsoleLogger();

Expand Down Expand Up @@ -589,11 +585,6 @@ void CCore::SetConnected(bool bConnected)
{
m_pLocalGUI->GetMainMenu()->SetIsIngame(bConnected);
UpdateIsWindowMinimized(); // Force update of stuff

if (bConnected)
m_DiscordManager->RegisterPlay(true);
else
ResetDiscordRichPresence();
}

bool CCore::IsConnected()
Expand Down Expand Up @@ -790,7 +781,6 @@ void CCore::ApplyHooks2()
CCore::GetSingleton().CreateMultiplayer();
CCore::GetSingleton().CreateXML();
CCore::GetSingleton().CreateGUI();
CCore::GetSingleton().ResetDiscordRichPresence();
}
}
}
Expand Down Expand Up @@ -1995,28 +1985,6 @@ uint CCore::GetMaxStreamingMemory()
return m_fMaxStreamingMemory;
}

//
// ResetDiscordRichPresence
//
void CCore::ResetDiscordRichPresence()
{
time_t currentTime;
time(&currentTime);

// Set default parameters
SDiscordActivity activity;
activity.m_details = "In Main Menu";
activity.m_startTimestamp = currentTime;

m_DiscordManager->UpdateActivity(activity, [](EDiscordRes res) {
if (res == DiscordRes_Ok)
WriteDebugEvent("[DISCORD]: Rich presence default parameters reset.");
else
WriteErrorEvent("[DISCORD]: Unable to reset rich presence default parameters.");
});
m_DiscordManager->RegisterPlay(false);
}

//
// OnCrashAverted
//
Expand Down
5 changes: 0 additions & 5 deletions Client/core/CCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ class CCore : public CCoreInterface, public CSingleton<CCore>
CLocalizationInterface* GetLocalization() { return g_pLocalization; };
CWebCoreInterface* GetWebCore();
CTrayIconInterface* GetTrayIcon() { return m_pTrayIcon; };
CDiscordManagerInterface* GetDiscordManager() { return reinterpret_cast<CDiscordManagerInterface*>(m_DiscordManager.get()); }

void SaveConfig(bool bWaitUntilFinished = false);

Expand Down Expand Up @@ -227,8 +226,6 @@ class CCore : public CCoreInterface, public CSingleton<CCore>
uint GetMinStreamingMemory();
uint GetMaxStreamingMemory();

void ResetDiscordRichPresence();

SString GetConnectCommandFromURI(const char* szURI);
void GetConnectParametersFromURI(const char* szURI, std::string& strHost, unsigned short& usPort, std::string& strNick, std::string& strPassword);
bool bScreenShot;
Expand Down Expand Up @@ -298,8 +295,6 @@ class CCore : public CCoreInterface, public CSingleton<CCore>
CWebCoreInterface* m_pWebCore = nullptr;
CTrayIcon* m_pTrayIcon;

std::unique_ptr<class CDiscordManager> m_DiscordManager;

// Hook interfaces.
CMessageLoopHook* m_pMessageLoopHook;
CDirectInputHookManager* m_pDirectInputHookManager;
Expand Down
Loading