Commit graph

92 commits

Author SHA1 Message Date
w
1a1964f956 Add duel update functionality: implement card and stat selection for duels 2025-07-09 09:58:12 -03:00
w
c8bc16638e Fix card retrieval and enhance duel notifications: update SQL queries and include server IDs for players 2025-07-08 23:30:30 -03:00
w
4a0318ec10 Refactor duel creation: enhance start_duel function and add thread ID to duels table 2025-07-07 00:49:59 -03:00
w
59f88b8a4a Enhance duel creation and response handling: add duel notification and card check 2025-07-06 23:39:51 -03:00
w
b8bf9449ba Add duel request retrieval and acceptance functionality 2025-07-06 22:41:07 -03:00
w
9bcbfca5df Update insert_duel_request to return duel ID and modify duel_request response message 2025-07-06 16:46:17 -03:00
w
528e21db23 Refactor duel request handling and add accept duel functionality 2025-07-06 16:06:55 -03:00
w
ffa298631a Update duel request functionality and schema to include competitive flag and creation date 2025-07-06 15:18:48 -03:00
w
03f6f1b80c comment 2025-07-06 15:17:47 -03:00
w
fc335d4537 Add duel request functionality and update duel table schema 2025-07-04 00:24:34 -03:00
w
e5c7196fa9 Add duel request functionality and update duel table schema 2025-07-04 00:01:55 -03:00
w
91dfe77ffa Enhance add_card function to include power, charm, and wit parameters with validation checks 2025-06-26 00:37:47 -03:00
w
7c7d299fc4 Fix SQL table name in insert_card function and update argument validation for optional attributes 2025-06-25 01:11:37 -03:00
w
8c5c860ef6 get cards function 2025-06-25 00:21:37 -03:00
w
cce941471f Enhance insert_card function to support optional power, charm, and wit parameters 2025-06-22 01:42:08 -03:00
w
e1e6808b0a Merge branch 'dev' into stats_system 2025-06-22 00:53:09 -03:00
w
7f3e0e0f8b Update copyright notices to include all contributors in various files 2025-06-18 00:21:56 -03:00
w
42180f4139 Added copyright notice 2025-06-17 23:54:55 -03:00
Moon
c74fc17dfb Merge branch 'dev' into pleroma-support 2025-06-16 08:31:30 +09:00
w
5580e06028 Merge branch 'dev' into license_change 2025-06-15 16:46:03 -03:00
Moon
0039717a01 Merge branch 'dev' into pleroma-support 2025-06-14 07:31:02 +09:00
Moon
1a35750d0a restrict characters in KEMOVERSE_ENV 2025-06-14 05:51:49 +09:00
Moon
7fd4d5db25 indicate on startup if whitelisting is enabled. 2025-06-14 05:17:39 +09:00
Moon
f4f847e577 make sure UseWhitelist is a boolean, default to True 2025-06-14 05:14:40 +09:00
Moon
2ef70801c7 fix config module ref 2025-06-14 05:08:59 +09:00
Moon
fdf21b3f5f rm check for env dev or prod so any can be used 2025-06-14 04:43:43 +09:00
Moon
337a989671 rm vestigial trusted instances config. 2025-06-14 04:34:20 +09:00
Moon
fc45c688e8 Merge branch 'fix-missing-weight-column' into pleroma-support 2025-06-13 19:42:41 +09:00
Moon
77d4fa13bb rm validation of removed weight 2025-06-13 19:31:23 +09:00
Moon
bd287b096a rm reference to weight column. 2025-06-13 18:47:54 +09:00
Moon
40f018a83b make instantiation explicit so easier to test. 2025-06-13 13:53:41 +09:00
Moon
a516a9b55a minor change to make testing easier. 2025-06-13 13:36:38 +09:00
Moon
7161712f15 rm unused function that bypassed server abstraction 2025-06-13 13:26:01 +09:00
Moon
fadd4dfe27 Merge remote-tracking branch 'origin/dev' into pleroma-support 2025-06-13 13:05:51 +09:00
Moon
7b32ee7fcf had to change some things to get cursor for db working. 2025-06-13 11:23:34 +09:00
Moon
f70b2147cd Remove legacy files that bypass FediverseService abstraction
- Remove bot/client.py (replaced by fediverse factory)
- Remove bot/notification.py (replaced by bot_app.py)
- All functionality now properly uses FediverseService abstraction
2025-06-13 10:57:33 +09:00
Moon
8918b5205d named some damn properties wrong 2025-06-13 10:52:20 +09:00
Moon
67b4d949fd use a library for content type detection instead of handrolled 2025-06-13 10:50:24 +09:00
Moon
89ae8a7290 back to using mastodon.py 2025-06-13 10:50:24 +09:00
Moon
91376c0eba works now but may need to revert file upload change 2025-06-13 10:50:24 +09:00
Moon
dac05a3ed8 completely untested refactor. bug fixes to come later. 2025-06-13 10:48:35 +09:00
Moon
fe8e7d246f actually use the abstracted type not just the id 2025-06-13 10:37:27 +09:00
Moon
a47530180d first whack at file upload 2025-06-13 10:37:27 +09:00
Moon
e0cf42f8f6 baseline fedi abstraction stuff. 2025-06-13 10:37:24 +09:00
w
df76fb9131 adding license to main files 2025-06-11 22:29:06 -03:00
1368c907a2 Revert "Enable WAL for DB connections"
This reverts commit 59915be661.
2025-06-08 00:09:02 +01:00
59915be661 Enable WAL for DB connections 2025-06-07 23:59:07 +01:00
4b1b8a53c7 Fix nonstandard apostrophe 2025-06-07 23:25:48 +01:00
97b30c79f4 Add admin commands 2025-06-07 23:18:39 +01:00
8ae6e25b95 Add instance whitelist 2025-06-07 20:40:27 +01:00