Commit graph

109 commits

Author SHA1 Message Date
Syping
823a60d64d user_interface: add get_translator() and get_translator_name() functions
- CMakeLists.txt: upgrade cmake_policy to version 4.3
- README.md: add missing WITH_GUI flag and recommend DeepL
2026-04-20 15:11:48 +02:00
Syping
2d3f3cc365 user_interface: terminate bot asynchronously 2026-04-16 22:52:34 +02:00
Syping
12bcfe2f9b translator_dialog: replace port entry with spin button 2026-04-16 22:28:24 +02:00
Syping
e305cfaa9c gui: add application icon and desktop file 2026-04-14 16:17:04 +02:00
Syping
39435f1370 translator_dialog: hide api key 2026-04-12 16:58:23 +02:00
Syping
9971378f3c gui: add configuration system 2026-04-12 16:40:19 +02:00
Syping
84b01d9ae1 dtranslatebot: add GTK gui and port messages to log callback system 2026-04-10 01:34:39 +02:00
Syping
dfabab2315 {message,submit}_queue: call callback in add function 2026-04-07 22:08:06 +02:00
Syping
8acf512c65 {message,submit}_queue: add missing const in callback loop 2026-04-07 22:05:38 +02:00
Syping
2d96e35793 {message,submit}_queue: add size() function and callback 2026-04-07 22:02:44 +02:00
Syping
f25b1ac4db main: move to cli subfolder 2026-04-07 14:09:53 +02:00
Syping
dcf7da91ed http_request: support legacy libcurl version before 7.83.0 2026-04-05 22:54:41 +02:00
Syping
b27d55b4bf http_response: add content_type support 2026-04-05 19:58:27 +02:00
Syping
481a2a8357 curl_exception: add error() function and improve message handling 2026-04-05 09:25:43 +02:00
Syping
3bee78275b http_request: throw libcurl errors with curl_exception 2026-04-05 00:10:05 +02:00
Syping
8de0473669 curl_exception: implement exception class to throw libcurl errors 2026-04-05 00:09:18 +02:00
Syping
ce6b3785ac deepl: improve compatibility and language formatting 2026-03-29 11:40:13 +02:00
Syping
db8a915afd deepl: alias source and target for more compatibility 2026-03-29 10:11:01 +02:00
Syping
5e3808204e translator: reuse http_request instance 2026-03-29 10:09:31 +02:00
Syping
305cbc9437 http_request: prevent copies 2026-03-29 09:29:24 +02:00
Syping
b35070f788 http_headers: improve memory management 2026-03-29 09:29:09 +02:00
Syping
e98bd9de6c add http_header class and bot::http namespace 2026-03-29 07:32:37 +02:00
Syping
f12e13ed28 [skip ci] deepl: remove unused http_headers 2026-03-29 03:45:57 +02:00
Syping
ec1294a960 bump version to 0.3.2 and minor changes 2026-03-29 03:37:47 +02:00
Syping
58028b6e82 http_request: fix http headers not being applied 2026-03-29 03:34:18 +02:00
Syping
60c91d0e4f slashcommands: check my language command target language 2026-03-27 17:10:04 +01:00
Syping
24a6bdb0e2 slashcommands: improve my command descriptions 2026-03-27 00:43:31 +01:00
Syping
3f84c5ffd6 slashcommands: add my language command 2026-03-27 00:20:47 +01:00
Syping
0c61fc8d52 message_queue: simplify getting issuing user 2026-03-27 00:17:50 +01:00
Syping
ed96fd60e1 [skip ci] message_queue: use const for direct message user 2026-03-26 00:01:23 +01:00
Syping
a4db0c3137 [skip ci] message_queue: use const for direct message target string 2026-03-25 23:59:40 +01:00
Syping
6def63078c message_queue: get user target language in direct message translation 2026-03-25 23:57:54 +01:00
Syping
bb5adf587c add user support to database 2026-03-25 23:42:34 +01:00
Syping
3546eed2dd slashcommands: rename translate_pref, capitalize Translate Message 2026-03-24 00:05:59 +01:00
Syping
fc89c35b5f send translated direct messages ephemeral 2026-03-23 22:49:34 +01:00
Syping
79cb7c5722 add i_direct_messages intent 2026-03-23 02:40:20 +01:00
Syping
77621a8991 add direct message support 2026-03-23 02:18:37 +01:00
Syping
7588ca865b http_request: return const http_response in get post functions 2026-03-22 17:47:19 +01:00
Syping
ee245fbb79 http_request: improve memory safety 2026-03-22 17:44:23 +01:00
Syping
63399a010d ported translator to curl, removed EL7 + Windows support 2026-03-20 20:24:59 +01:00
Syping
b2da36e576 fix DPP 10.1.0 or newer build errors 2025-08-06 18:33:46 +02:00
Syping
d6d22d34a8 remove unnecessary else condition 2024-12-30 16:09:12 +01:00
Syping
24a7b3bc99 reduce duplicate code 2024-12-30 16:06:51 +01:00
Syping
1dc2b2dffa add mozhi support 2024-12-29 16:05:13 +01:00
Syping
691e46a507 add lingvatranslate support 2024-12-29 14:26:05 +01:00
Syping
a42932de12 add --wait-for-translator flag 2024-11-28 16:41:34 +01:00
Syping
420f536c9b make configuration more understandable 2024-03-25 11:15:08 +01:00
Syping
b1329aa961 cache available languages and make translator shared 2024-03-25 10:52:01 +01:00
Syping
0e369f5a1d add experimental deepl support 2024-03-23 16:57:54 +01:00
Syping
66a504ac55 systemd: escape working directory 2024-03-17 05:21:33 +01:00