Commit graph

66 commits

Author SHA1 Message Date
Syping
616ce0055b delete channel from settings when no target is left
- converted some pointers to references
- simplified some constructors
2024-03-07 23:30:33 +01:00
Syping
c8239e2517 CMake: fix zlibstatic on Linux issue 2024-03-06 16:42:53 +01:00
Syping
d0139afd26 CMake: fix MSYSTEM check CMake error 2024-03-06 16:30:27 +01:00
Syping
67b4b73400 CMake: fix CMAKE_SYSTEM_VERSION spelling and add CXX passthrough 2024-03-06 16:25:48 +01:00
Syping
6220277305 CMake: msys compatibility added/fixed 2024-03-06 16:20:47 +01:00
Syping
dd2de72f94 ArgumentPassthrough: avoid accidental Cross-Compiling + more fixes 2024-03-06 15:23:11 +01:00
Syping
024400be46 improved external project passthrough of variables 2024-03-05 21:02:05 +01:00
Syping
bb099d644a DPPAsExternalProject: call Perl directly for OpenSSL 2024-03-03 15:17:03 +01:00
Syping
c21ed31889 minor fixes for DPPAsExternalProject 2024-03-02 22:22:05 +01:00
Syping
820593ca2d DPPAsExternalProject: build should work now 2024-03-02 17:42:20 +01:00
Syping
4fe57d1a24 CMake: incomplete DPPAsExternalProject impl 2024-02-29 20:55:33 +01:00
Syping
716a03c43b systemd: change working directory to /var/lib/dtranslatebot 2024-02-27 10:02:32 +01:00
Syping
912ac1eced add systemd service file 2024-02-26 12:01:23 +01:00
Syping
87961fe611 improve code organisation, add .rc file 2024-02-26 11:33:39 +01:00
Syping
5191dcbefc add DTRANSLATEBOT_TOKEN env value, small fixes 2024-02-26 09:41:55 +01:00
Syping
531c24b050 slashcommands: add missing ephemeral flag 2024-02-24 09:15:32 +01:00
Syping
46b80f3bdf message_queue: combine if condition 2024-02-23 11:27:17 +01:00
Syping
ea2c6c460f add /list languages command, minor fixes 2024-02-23 07:14:08 +01:00
Syping
7dcb64f7cf 0.1 release 2024-02-20 07:18:04 +01:00
Syping
8cf9b6af94 improve configuration example 2024-02-20 01:53:15 +01:00
Syping
12e81ed24c simplify configuration and some code improvements 2024-02-20 01:35:33 +01:00
Syping
8884fd2876 fix if condition 2024-02-19 20:55:10 +01:00
Syping
d5c8574063 check user permissions and erase deleted webhooks 2024-02-19 20:52:02 +01:00
Syping
a6feb1273c add edit command 2024-02-18 22:26:02 +01:00
Syping
ed1b93037c open list command to everyone, but limit information 2024-02-18 20:34:01 +01:00
Syping
9f91c960b0 add list command 2024-02-17 22:12:03 +01:00
Syping
2347974beb take advantage of initializer lists 2024-02-17 20:45:25 +01:00
Syping
9202f7ce00 /translate supports multiple targets now 2024-02-15 05:25:46 +01:00
Syping
9f995a129c add Boost.Regex support 2024-02-13 01:47:09 +01:00
Syping
5b9c3ce38f remove unnecessary call 2024-02-13 00:13:07 +01:00
Syping
cfede2f3e1 add Windows storage directory locking 2024-02-12 19:15:32 +01:00
Syping
2ad1bc3aa5 MSVC fixes 2024-02-12 18:09:46 +01:00
Syping
2c4464c134 change slashcommand descriptions 2024-02-10 16:26:01 +01:00
Syping
f74e354901 comment unused code, dont overwrite source language 2024-02-10 13:12:50 +01:00
Syping
10135e6ec1 mostly database fixes 2024-02-08 11:53:09 +01:00
Syping
13474ebefb run sync in a thread 2024-02-08 09:26:25 +01:00
Syping
2cbb137c11 remove debug leftover 2024-02-07 19:34:01 +01:00
Syping
a26763df96 basic impl of database system 2024-02-07 19:30:46 +01:00
Syping
fb94e44c7d rename working directory to storage directory 2024-02-06 16:25:04 +01:00
Syping
bb10b8ad59 add database file and file locking 2024-02-06 16:19:08 +01:00
Syping
94251d7dde add database core 2024-02-05 16:36:51 +01:00
Syping
72ba15c798 clean up and refactor some code 2024-02-05 12:55:01 +01:00
Syping
e2f3739fa1 output refactor 2024-02-04 10:12:19 +01:00
Syping
7e3696ce90 more refactoring 2024-02-04 10:03:18 +01:00
Syping
b09da9cfce improve logging and some refactor 2024-02-04 09:24:32 +01:00
Syping
86351b9537 refactor settings json parser 2024-02-04 08:05:55 +01:00
Syping
b10593440d little refactoring 2024-02-04 07:10:02 +01:00
Syping
92b480c8eb add_target function for settings 2024-02-03 08:10:28 +01:00
Syping
25d83b243d make code more efficient and added storage setting 2024-02-03 07:16:12 +01:00
Syping
3800da9b00 use std::queue for queues 2024-01-30 04:22:48 +01:00