Commit Graph

1244 Commits

Author SHA1 Message Date
c8ee118f00 Replaced GLib allocation helpers in history management with standard free/strdup to reduce unnecessary GLib coupling.
Updated the network helper API to use uint32_t and standard allocation/duplication routines, dropping the GLib include from the implementation and adding <stdint.h> to the header.
2026-01-25 23:37:09 -07:00
d4134c94b3 Swapped glib integer types in the sysinfo interface for standard stdint types to remove glib coupling in the header.
Replaced glib string/util usage in the win32 sysinfo backend with local helpers, a small string builder, and Windows UTF-8 conversion, removing the glib dependency there.
2026-01-25 23:32:33 -07:00
6c85c796d3 Merge branch 'master' of https://github.com/ZoiteChat/zoitechat
sync with master
2026-01-25 19:09:54 -07:00
992215ee91 Fix invalid call to g_io_channel_set_buffered 2026-01-25 19:09:17 -07:00
bc1d2e5f7a Updated STS upgrade handling to fall back to the current connection port when servers omit a port in the STS capability, enabling TLS upgrades for non-TLS connections in that case. 2026-01-25 18:26:20 -07:00
a0f0c48bc5 Added STS profile persistence and policy parsing/enforcement (including load/save, upgrades, and expiry rescheduling) to the STS module.
Integrated STS capability handling and connection lifecycle hooks (ignore CAP DEL, trigger upgrades, reschedule on disconnect, new server fields).
Initialized and cleaned up STS state during startup/shutdown to persist policies across sessions.
2026-01-25 17:20:53 -07:00
4d6c77704c Added STS profile data structures plus serialize/deserialize helpers for storing profile state in a compact string form.
Registered the new STS source file in the Meson and Visual Studio build definitions.
2026-01-25 16:51:43 -07:00
2b98ebc544 HEXCHAT -> ZOITECHAT 2026-01-25 16:13:47 -07:00
deepend-tildeclub
a40f53a1f3 Add 'standard-replies' to inbound.c
Add support for the standard-replies capability.
2026-01-25 11:09:31 -07:00
8d275ddb31 - Added dark mode mode constants, config storage as an integer, and a helper to resolve Auto/Dark/Light using system preferences where available.
- Replaced the dark mode checkbox with an Auto/Dark/Light color mode selector and ensured palette edits use the resolved mode.
- Applied the resolved color mode consistently across palette saving and GTK styling in the user list and channel tree/theme application paths.
2026-01-17 22:52:32 -07:00
deepend-tildeclub
4c13b96bd9 Merge pull request #26 from ZoiteChat/win-emoji-fix
fix windows color emojis
2026-01-16 23:40:43 -07:00
e985506737 fix windows color emojis 2026-01-16 23:18:12 -07:00
f473f3d4b9 fixes for importing themes. 2026-01-16 22:42:18 -07:00
2c349deee2 theme import fixes. 2026-01-16 22:07:01 -07:00
85d0edbbed stop application from treating the theme files as server urls. 2026-01-16 20:02:37 -07:00
deepend-tildeclub
93cd47de5c Merge pull request #15 from ZoiteChat/Fix-channel-config-line-endings
Refactor newline handling in servlist.c
2026-01-16 15:59:55 -07:00
deepend-tildeclub
7df9b08313 Refactor newline handling in servlist.c
Remove redundant newline character handling in fgets buffer.
2026-01-15 11:12:56 -07:00
af12c6557a Fix SNI extension handling 2026-01-15 09:15:38 -07:00
deepend-tildeclub
2d8a61b704 Change default network from 'Libera.Chat' to 'Zoite' 2026-01-12 22:26:27 -07:00
c1cbe14871 dark mode 2026-01-11 12:02:58 -07:00
deepend-tildeclub
bf9dcfe0fe Update IRC server address for Newnet 2026-01-06 18:56:48 -07:00
deepend-tildeclub
6b41e843fc Update documentation URL in outbound.c 2026-01-06 01:24:39 -07:00
deepend-tildeclub
bd501b3c93 Update issue link in text.c comments 2026-01-06 01:23:57 -07:00
4683ef705b new name after fork 2026-01-05 23:12:38 -07:00
deepend-tildeclub
ca43595430 Rename HexChat to ZoiteChat in dbus-client.h 2026-01-05 18:04:34 -07:00
deepend-tildeclub
975f4c8d66 Rename HexChat to ZoiteChat in dbus-client.c 2026-01-05 18:03:58 -07:00
deepend-tildeclub
29cda2e626 Add new networks and remove TechNet from servlist 2026-01-05 17:59:07 -07:00
Collin Funk
180ce9f4fd Change various types to the correct signedness to avoid warnings.
Also cast the check of "inet_addr" to guint32. The POSIX declaration
of this function returns in_addr_t which is the same as uint32_t.
Windows does not define this type and instead uses unsigned long.
2024-01-29 09:06:29 -06:00
Patrick Okraku
0c48785543 SASL SCRAM: create_nonce: changed data type 2024-01-04 16:17:14 -06:00
Patrick Okraku
00b297524d SASL SCRAM: create_nonce: changed data type 2024-01-04 16:17:14 -06:00
Patrick Okraku
681a88d6df SASL SCRAM: renamed scram_free_session to scram_session_free 2024-01-04 16:17:14 -06:00
Patrick Okraku
c82ad32171 SASL SCRAM: Apply changes from code review 2024-01-04 16:17:14 -06:00
Patrick Okraku
9b76b557ec Added support for SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA-512 2023-11-05 07:12:01 -06:00
Patrick Okraku
6420fd6117 SSL compile fix 2023-11-05 07:11:23 -06:00
Patrick Okraku
50ca0d5b09 Moved SASL PLAIN authentication to own function 2023-11-05 07:11:23 -06:00
Patrick Griffis
a1f154cd5e win32: Remove Python 2 support 2023-11-03 14:23:55 -05:00
Patrick
6155c18315 servlist: Update UnderNet hostname
Closes #2786
2023-06-21 19:05:08 -05:00
Colby
7b093eea91 Add TechNet to servlist 2023-01-30 09:29:49 -06:00
konsolebox
67b25fddf1 Add option to exclude nickname in window title (#2759) 2023-01-24 17:03:53 -06:00
Sadie Powell
bb7a03e9f6 Fix updating the topic (user@host) of dialogs on CHGHOST.
This is updated when a user receives a new message but would have
not been updated when a user sent a CHGHOST.
2022-11-05 12:42:51 -05:00
Sadie Powell
9d175cc459 Also request the extended-monitor capability.
This allows getting hostname/awaymsg/etc updates for monitored clients
which will update the internal cache for that data.
2022-11-05 12:42:51 -05:00
Sadie Powell
8cf2aa5586 Make it more clear that /SERVER and /SERVCHAN use SSL by default. 2022-10-16 15:35:43 -05:00
Sadie Powell
8fb0d2311f Default /SERVER and friends to use SSL when built with OpenSSL.
Since commit 747a52aae8 users have to
opt-out of using SSL when creating a new server. This commit makes
it so /SERVER also uses SSL by default.

In order to connect insecurely users must now use one of these
methods:

    /SERVER -insecure irc.example.com
    /SERVER irc.example.com -6667

The `-ssl` flag and the `+port` syntax have been retained for compat
reasons.
2022-10-16 15:35:43 -05:00
Sadie Powell
2dbc6adbc2 Fix PROTOCTL NAMESX and only send when not using multi-prefix.
This capability is the equivalent of the old protoctl token.
2022-09-22 12:07:07 -05:00
Sadie Powell
46c9df1863 Fix various compiler warnings.
fish.c: -Wincompatible-pointer-types
fkeys.c: -Wmisleading-indentation
proto-irc.c: -Wincompatible-pointer-types
util.c: -Wdeprecated-declarations
xtext.c: -Wmaybe-uninitialized
2022-08-29 13:50:03 -05:00
Patrick
d7c6c424e8 servlist: Remove ACN
They are no longer supporting TLS and let their cert expire.

Non-TLS networks do not belong in our default list.

Closes #2722
2022-08-01 14:07:31 -05:00
Patrick Griffis
ec9653e754 servlist: Remove IRCHighWay
They have self-signed certs which doesn't belong in our default list.
2022-07-15 13:17:25 -05:00
DjLegolas
dfda8f2eee fix sysinfo print of cpu name
the cpu name might have tailing spaces in Windows, which weren't remove before printing.
2022-05-14 12:42:46 -05:00
Artem Zhurikhin
b8645bfbf2 Split long SASL auth strings into 400-byte chunks (#2709)
Fixes #2705
2022-05-13 15:56:26 -05:00
Ashpool
778047bc65 raise the max length of a server password to 1024
- alleviate #1296
2022-05-10 12:31:12 -05:00