Plugin:ICQ/pl: Difference between revisions

From Miranda NG
Plugin:ICQ/pl
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>{{PluginCard}}
<languages/>{{PluginCard}}


Zapewnia obsługę protokołu ICQ (WIM) w Mirandzie NG.
<div class="mw-translate-fuzzy">
Zapewnia obsługę protokołu [https://icq.com ICQ-WIM] w Mirandzie NG.
</div>


== Znane problemy ==
== Znane problemy ==
* Until {{GithubIssue|2343}} is fixed, you will have to enter the SMS-code each time you connect to the network if your account does not have a permanent password.


* Residents of Ukraine may experience connection problems. Some IP-addresses belonging to Mail.ru are blocked in Ukraine. Use proxy or VPN.
* Residents of Ukraine may experience connection problems. Some IP-addresses belonging to Mail.ru are blocked in Ukraine. Use proxy or VPN.


== Difference between old and new protocols ==
== Difference between old and new protocols ==


{{TNT|Important| ICQ servers drop old OSCAR protocol support. We implemented support for a brand new WIM protocol, but it currently lacks some features.}}
{{TNT|Important| ICQ servers drop old OSCAR protocol support. We implemented support for a brand new WIM protocol, but it currently lacks some features.}}


OSCAR is the protocol that Mail.ru got when buying ICQ. This is what has been called "ICQ" for many years. It was implemented in all alternative clients.
[[wikipedia:en:OSCAR_protocol|OSCAR]] is the protocol that Mail.ru got when buying ICQ. This is what has been called "ICQ" for many years. It was implemented in all alternative clients.


WIM is a protocol that Mail.ru developed to replace OSCAR. It is simpler, more reliable and supports many of the things that OSCAR cannot. At the moment it is implemented in the ICQ 10 official client, Miranda NG, [https://code.highspec.ru/Mikanoshi/RnQ R&Q], and [https://play.google.com/store/apps/details?id=com.tomclaw.mandarin Mandarin IM]. OSCAR and WIM are fundamentally different in some aspects.
WIM is a protocol that Mail.ru developed to replace OSCAR. It is simpler, more reliable and supports many of the things that OSCAR cannot. At the moment it is implemented in the ICQ 10 official client, Miranda NG, [https://code.highspec.ru/Mikanoshi/RnQ R&Q], and [https://play.google.com/store/apps/details?id=com.tomclaw.mandarin Mandarin IM]. OSCAR and WIM are fundamentally different in some aspects.
Line 23: Line 22:
|-
|-
! || OSCAR !! WIM
! || OSCAR !! WIM
|-
|-
|Login
|UIN+password
|UIN+password, phone+SMS-code, e-mail+password
|-
|-
|Single messaging
|Single messaging
Line 31: Line 35:
|&minus;
|&minus;
|only the basic functions
|only the basic functions
|-
|Typing notifications
|✔
|✔
|-
|Login
|UIN+password
|UIN+password, phone+SMS-code, e-mail+password
|-
|-
|Contacts (roster) storage
|Contacts (roster) storage
Line 52: Line 48:
|✔
|✔
|-
|-
|Mark messages as read
|"Cloud" history (history loading from server)
|&minus;
|✔
|-
|File transfers
|✔
|✔ (peer-to-peer filetransfers are not supported by server)
|-
|Stickers
|&minus;
|✔ (receive as usual files)
|-
|Typing notifications
|✔
|✔
|-
|Groups management (delete, create, rename)
|✔
|✔
|✔
|✔
Line 58: Line 70:
|User details
|User details
|✔
|✔
|only some fields available in account settings at icq.com
|only some fields available in [https://icq.com/login account settings]
|-
|-
|Changing own detailes
|Changing own details
|✔
|✔
|only in account settings at icq.com
|only in account settings
|-
|-
|Statuses
|Statuses
|all statuses
|all statuses
|only "Online" and "Offline" are supported by server
|only "Online" and "Offline" are supported by server
|-
|Invisibility
|✔
|combined with ignore
|-
|-
|XStatuses
|XStatuses
|✔
|✔
|not supported by server
|not supported by server
|-
|"Cloud" history (history loading from server)
|&minus;
|✔
|-
|-
|Auth requests (other peoples can not add you without permission)
|Auth requests (other peoples can not add you without permission)
|✔
|✔
|not supported by server
|[https://agent.mail.ru MRA] only
|-
|-
|Groups management (delete, create, rename)
|Mark messages as read
|✔
|✔
|✔
|✔
|-
|File transfers
|✔
|✔ (peer-to-peer filetransfers are not supported by server)
|-
|-
|Getting information about when the contact read the message
|Getting information about when the contact read the message
Line 95: Line 103:
|✔
|✔
|only some third-party clients (using caps)
|only some third-party clients (using caps)
|-
|Stickers
|&minus;
|✔ (receive as usual files)
|-
|Invisibility
|✔
|combined with ignore
|}
|}


Line 110: Line 110:
=== You can not connect to ICQ ===
=== You can not connect to ICQ ===


If you are using a version earlier than [[Changelog/0.95.10.1|v0.95.10.1]], then upgrade to this version or newer. If you cannot connect even after the update, make [[network log]] with an unsuccessful connection attempt and post it to [https://github.com/miranda-ng/miranda-ng/issues/new/ our bugtracker].
If you are using a version earlier than [[Changelog/0.95.10.1|v0.95.10.1]], then upgrade to this version or newer.


=== Rejected password ===
=== Rejected password ===
Line 116: Line 116:
Po aktualizacji do [[Dziennik zmian/0.95.5|v0.95.5]] możesz nie być w stanie zalogować się do swojego konta. Pojawi się komunikat: "Połączenie nieudane. Twój numer ICQ lub hasło zostało odrzucone."
Po aktualizacji do [[Dziennik zmian/0.95.5|v0.95.5]] możesz nie być w stanie zalogować się do swojego konta. Pojawi się komunikat: "Połączenie nieudane. Twój numer ICQ lub hasło zostało odrzucone."


<div class="mw-translate-fuzzy">
Powód problemu może być następujący. Aż do wersji v0.95.4 Miranda nie wspierała hasła ICQ dłuższego jak 8 znaków. Jeżeli kiedykolwiek wprowadziłeś hasło dłuższe jak to, to Miranda przechowała całość w bazie danych, ale wysyłała do serwera tylko pierwsze 8 znaków. Serwery ICQ też nie wspierały więcej niż 8. Zwiększyli maksymalną ilość znaków do 16. Odpowiednie zmiany zostały poczynione i w Mirandzie.
Powód problemu może być następujący. Aż do wersji v0.95.4 Miranda nie wspierała hasła ICQ dłuższego jak 8 znaków. Jeżeli kiedykolwiek wprowadziłeś hasło dłuższe jak to, to Miranda przechowała całość w bazie danych, ale wysyłała do serwera tylko pierwsze 8 znaków. Serwery ICQ też nie wspierały więcej niż 8. Zwiększyli maksymalną ilość znaków do 16. Odpowiednie zmiany zostały poczynione i w Mirandzie.
</div>


[[Dziennik zmian/0.95.5|Miranda v0.95.5]] wysyła całe "więcej-niż-zapamiętane-w-serwisie-ośmioznakowe-hasło", które serwer rozpoznaje jako nieprawidłowe i odrzuca.
[[Dziennik zmian/0.95.5|Miranda v0.95.5]] wysyła całe "więcej-niż-zapamiętane-w-serwisie-ośmioznakowe-hasło", które serwer rozpoznaje jako nieprawidłowe i odrzuca.
Line 122: Line 124:
Rozwiązaniem jest przejść do {{Menu|Opcje|Sieci|<nazwa_konta>}} i ponownie wprowadzić swoje hasło ('''tylko jego pierwsze 8 znaków''').
Rozwiązaniem jest przejść do {{Menu|Opcje|Sieci|<nazwa_konta>}} i ponownie wprowadzić swoje hasło ('''tylko jego pierwsze 8 znaków''').


Aby używać dłuższego hasła, musisz ustawić nowe poprzez stronę https://icq.com.
Aby używać dłuższego hasła, musisz ustawić nowe poprzez stronę https://icq.com/change-password/.


=== '"statusText": "Invalid Request. statusDetailCode 1015", "statusDetailCode": 1015' error in the network log ===
=== '"statusText": "Invalid Request. statusDetailCode 1015", "statusDetailCode": 1015' error in the network log ===
Line 128: Line 130:
In most cases, the time is out of sync between your computer and the server. Check the accuracy of the system time. Synchronize the time in the operating system settings. Check the time zone, as well as the transition to winter time or summer time. Some users report that the problem was solved after changing the time zone to a similar one (for example, "UTC + 03 Moscow" → "UTC + 03 Minsk").
In most cases, the time is out of sync between your computer and the server. Check the accuracy of the system time. Synchronize the time in the operating system settings. Check the time zone, as well as the transition to winter time or summer time. Some users report that the problem was solved after changing the time zone to a similar one (for example, "UTC + 03 Moscow" → "UTC + 03 Minsk").


=== How to know your UIN ===
=== How to get a password for freshly registered account ===


* login to [https://icq.com ICQ website] with your phone number and SMS code (don't login to web-based ICQ client!)
For new users, there is only one way to enter into account — getting SMS with a one-time code. Use the "Sign in/sign up using phone" button in account settings.
* click on your logged user's nickname and see your UIN
* logout from ICQ website


=== Some contacts in the contact list become faint when you first log in with a new protocol ===
=== Some contacts in the contact list become faint when you first log in with a new protocol ===
Line 138: Line 138:
These contacts were stored locally in Miranda. For some reason, you never added them to the server contact list. Miranda marks such contacts as NotOnList and puts them to the bottom of the contact list. They will be erased after the restart, which may lead to the loss of history. You must immediately add them to the permanent list (item in the contact's context menu or open the conversation window and press the green "plus" button).
These contacts were stored locally in Miranda. For some reason, you never added them to the server contact list. Miranda marks such contacts as NotOnList and puts them to the bottom of the contact list. They will be erased after the restart, which may lead to the loss of history. You must immediately add them to the permanent list (item in the contact's context menu or open the conversation window and press the green "plus" button).


=== Some contacts changed their names to [deleted] ===
=== Some contacts changed their names to "[deleted]" ===


ICQ technical support response: ''This account has been removed for prolonged non-use. It can not be restored.''
ICQ technical support response: ''This account has been removed for prolonged non-use. It can not be restored.''
Line 161: Line 161:


This information also can be displayed at the {{Plugin|Tipper}} prompt. In the section {{Menu|Options|Customize|Tooltips|Content|Substitutions}} you need to create the following substitutions:
This information also can be displayed at the {{Plugin|Tipper}} prompt. In the section {{Menu|Options|Customize|Tooltips|Content|Substitutions}} you need to create the following substitutions:
<pre style="overflow:auto;">
<pre style="overflow:auto;">
Label: lastseen_ago
Label: lastseen_ago
Module: SeenModule
Module: SeenModule
Translation: <prefix>Day|Month|Year|Hours|Minutes|Seconds to the time difference
Translation: <prefix>Day|Month|Year|Hours|Minutes|Seconds to time difference
</pre>
</pre>



Revision as of 19:43, 19 September 2022

ICQ protocol
ICQ protocol
Nazwa pliku ICQ.dll
Autorzy George Hazan
Pobierz
Wersja stabilna: 32-bit, 64-bit
Wersja rozwojowa: 32-bit, 64-bit

Zapewnia obsługę protokołu ICQ-WIM w Mirandzie NG.

Znane problemy

  • Residents of Ukraine may experience connection problems. Some IP-addresses belonging to Mail.ru are blocked in Ukraine. Use proxy or VPN.

Difference between old and new protocols

Ważne
ICQ servers drop old OSCAR protocol support. We implemented support for a brand new WIM protocol, but it currently lacks some features.

OSCAR is the protocol that Mail.ru got when buying ICQ. This is what has been called "ICQ" for many years. It was implemented in all alternative clients.

WIM is a protocol that Mail.ru developed to replace OSCAR. It is simpler, more reliable and supports many of the things that OSCAR cannot. At the moment it is implemented in the ICQ 10 official client, Miranda NG, R&Q, and Mandarin IM. OSCAR and WIM are fundamentally different in some aspects.

Comparison of the capabilities of the old and the new protocol in Miranda NG

OSCAR WIM
Login UIN+password UIN+password, phone+SMS-code, e-mail+password
Single messaging
Group chats only the basic functions
Contacts (roster) storage server-side or locally sync with server at every login
Avatars 60x60 pixels big avatars
Send to offline
"Cloud" history (history loading from server)
File transfers ✔ (peer-to-peer filetransfers are not supported by server)
Stickers ✔ (receive as usual files)
Typing notifications
Groups management (delete, create, rename)
User details only some fields available in account settings
Changing own details only in account settings
Statuses all statuses only "Online" and "Offline" are supported by server
Invisibility combined with ignore
XStatuses not supported by server
Auth requests (other peoples can not add you without permission) MRA only
Mark messages as read
Getting information about when the contact read the message ✔ (with MessageState plugin)
Client detection only some third-party clients (using caps)


Rozwiązywanie problemów

You can not connect to ICQ

If you are using a version earlier than v0.95.10.1, then upgrade to this version or newer.

Rejected password

Po aktualizacji do v0.95.5 możesz nie być w stanie zalogować się do swojego konta. Pojawi się komunikat: "Połączenie nieudane. Twój numer ICQ lub hasło zostało odrzucone."

Powód problemu może być następujący. Aż do wersji v0.95.4 Miranda nie wspierała hasła ICQ dłuższego jak 8 znaków. Jeżeli kiedykolwiek wprowadziłeś hasło dłuższe jak to, to Miranda przechowała całość w bazie danych, ale wysyłała do serwera tylko pierwsze 8 znaków. Serwery ICQ też nie wspierały więcej niż 8. Zwiększyli maksymalną ilość znaków do 16. Odpowiednie zmiany zostały poczynione i w Mirandzie.

Miranda v0.95.5 wysyła całe "więcej-niż-zapamiętane-w-serwisie-ośmioznakowe-hasło", które serwer rozpoznaje jako nieprawidłowe i odrzuca.

Rozwiązaniem jest przejść do Opcje → Sieci → <nazwa_konta> i ponownie wprowadzić swoje hasło (tylko jego pierwsze 8 znaków).

Aby używać dłuższego hasła, musisz ustawić nowe poprzez stronę https://icq.com/change-password/.

'"statusText": "Invalid Request. statusDetailCode 1015", "statusDetailCode": 1015' error in the network log

In most cases, the time is out of sync between your computer and the server. Check the accuracy of the system time. Synchronize the time in the operating system settings. Check the time zone, as well as the transition to winter time or summer time. Some users report that the problem was solved after changing the time zone to a similar one (for example, "UTC + 03 Moscow" → "UTC + 03 Minsk").

How to get a password for freshly registered account

For new users, there is only one way to enter into account — getting SMS with a one-time code. Use the "Sign in/sign up using phone" button in account settings.

Some contacts in the contact list become faint when you first log in with a new protocol

These contacts were stored locally in Miranda. For some reason, you never added them to the server contact list. Miranda marks such contacts as NotOnList and puts them to the bottom of the contact list. They will be erased after the restart, which may lead to the loss of history. You must immediately add them to the permanent list (item in the contact's context menu or open the conversation window and press the green "plus" button).

Some contacts changed their names to "[deleted]"

ICQ technical support response: This account has been removed for prolonged non-use. It can not be restored.

Contacts that use an official client, constantly switching between online and offline

Official ICQ 10 client goes offline after 10-15 seconds of inactivity and returns online if the user interacts with the client. For example, Telegram client behaves similarly.

This behavior came to the desktop from mobile devices. The fact is that when you receive certain notifications that are displayed on the lock screen or in the blind, you need to understand that they do not come directly from the service or program you are using (for example, WhatsApp or VKontakte). Receipt and display of such messages are carried out by a separate service, which receives them through the servers of the OS manufacturers (Google, Apple, and Microsoft, respectively).

Here is how it works. Imagine that you are using Android and you have decided to call your friend in WhatsApp. He selects your contact in the list, clicks the call icon and then sees the animation of the connection. At this time, his application sends a call to the WhatsApp server. Which, after processing the call, it makes a request to the Google server. In this request, if we translate it into a language understandable to us, there will be something like "display on the device with an application ID having such and such notification of an incoming call from such a contact".

This is done in order to save the battery power of the mobile device. Agree that the "phone periodically connects to Google/Apple servers" scheme is much more energy-efficient than a schemе in which each messenger (and there are often several on the phone) would work continuously, maintaining a connection with its server.

The desktop client simply copies the behavior of the mobile client.

How to find out which contacts are really unavailable

If the contact stubbornly wishes to use the official client, you can use the Last seen plugin. The plugin receives the last activity time from the protocol (when a contact last interacted with its official client) and displays it in the context menu of the contact.

In addition, Modern contact list can take this information from Last seen and show it directly in the contact list. To do this, you need to turn on the Options → Contact list → Row items → Second line (or "Third line") → Status message.

This information also can be displayed at the Tipper prompt. In the section Options → Customize → Tooltips → Content → Substitutions you need to create the following substitutions:

Label: lastseen_ago
Module: SeenModule
Translation: <prefix>Day|Month|Year|Hours|Minutes|Seconds to time difference
Label: lastseen_date
Module: SeenModule
Translation: <prefix>Day|Month|Year to date
Label: lastseen_time
Module: SeenModule
Translation: <prefix>Hours|Minutes|Seconds to time

On the same tab, create the following "Element":

Label: Last seen:
Value: %lastseen_date% @ %lastseen_time% (%lastseen_ago% ago)
Show only for contacts

Finally, in the ICQ protocol settings, you can find two useful options that do not allow contacts to go Offline immediately.

How to import ICQ history from QIP

Use Import plugin.

You get old SecureIM keys from contact every time you connect to network

Send any message to the contact, from which you get these keys.