32 Commits

Author SHA1 Message Date
Tyfon 8de0102b03 Implement limit and time parameters for /client/mail/dialog/view, aka pagination (#735)
Co-authored-by: Tyfon <29051038+tyfon7@users.noreply.github.com>
2026-01-28 09:47:45 +00:00
sp-tarkov-bot 250c2a5398 Format Style Fixes 2025-12-14 14:06:08 +00:00
Tyfon dae5da9399 Adjust when Dialogue.AttachmentsNew is changed 2025-10-24 15:48:00 -07:00
Chomp cda3511227 Streamlined logic check inside GetActiveChatBots 2025-10-10 17:53:08 +01:00
Chomp ef4c646ffd Fixed being unable to disable chatbots 2025-10-10 17:50:01 +01:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Chomp 8573e6ae02 Use string.empty and MongoId.Empty() where appropriate 2025-08-17 21:35:34 +01:00
Jesse 60958b3d24 Merge pull request #544 from sp-tarkov/remove-warnings
Remove unused dependencies and improve code quality
2025-08-12 19:26:05 +02:00
Chomp 131f2feeab Added nullguard to RemoveExpiredItemsFromMessage + chagned parameter to MongoId 2025-08-07 18:16:13 +01:00
Cj 529fe61f23 Controller house keeping (#532)
* Cleanup BotController.cs

* More controller cleanup

* More dialogue changes
2025-08-05 16:24:59 +01:00
Archangel c3b36f4c7d Handle invalid profiles on all IOnUpdate 2025-08-05 17:20:49 +02:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp f562c634a7 Converted lists to hashsets where appropriate
Removed unnecessary uses of  ToList()
string to mongoId conversions
2025-07-24 13:26:34 +01:00
Chomp 59d33d2621 Deconstructed dict KvP to improve readabiltiy + string to mongoId conversions 2025-07-20 11:57:15 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp 6f3ce60cec Simplified calls to .Remove() 2025-07-14 20:02:46 +01:00
Chomp 8474f40aa8 More MongoId changes + updated nullability of EOH objects 2025-07-07 12:31:13 +01:00
Cj 1de6a75cbf Update controllers sessionIds 2025-07-07 05:50:28 -04:00
Chomp 3d11031dc6 Converted sessionIds from strings to MongoId struct 2025-07-07 09:34:43 +01:00
Jesse b6692fead4 Chatbot async improvements (#446)
* Add better chatbot handling by making them asynchronous

Removes the need for having RunInTimespan as await Task.Delay now can handle this

* Remove now unused classes

* Handle commando's commands with ValueTask

* Set values as not nullable, client sends all of these
2025-07-04 18:04:37 +01:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
Chomp da5644cfa2 made properties readonly 2025-06-28 12:53:21 +01:00
Chomp d2267847a8 Deconstructed dictionaries to improve readability 2025-06-27 23:21:44 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp 609bad2431 Fixed selecting 'delete messages' on a dialog failing #378 2025-06-08 16:18:18 +01:00
CWX 360a59a585 only return dialogues that have messages, and on new dialogues, return empty object as does live 2025-06-01 23:43:50 +01:00
hulkhan22 aef3a4202f Fix presentation of messages with items (rewards & insurance returns) (#265) 2025-05-21 22:29:34 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
Chomp ba59afa354 Made GetActiveChatBots() public 2025-05-06 08:49:44 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 97c1c22315 split logic to make debugging easier 2025-04-20 13:28:12 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00