ENH - update SMS branch from dev

This commit is contained in:
Eichenholz
2026-08-06 19:42:54 +02:00
219 changed files with 29676 additions and 1309 deletions
+67 -9
View File
@@ -1,6 +1,6 @@
Config.Bridge = {
Framework = "auto", -- auto, esx, qbox, qb
Inventory = "auto", -- auto, ox, qb, lj, qs, codem, core, mf
Inventory = "auto", -- auto, ox, qb, lj, qs, codem, core, mf, smx
Locale = "en",
CallbackTimeout = 15000,
Debug = false,
@@ -47,14 +47,6 @@ Config.Messages = {
DeleteBatchSize = 20,
}
Config.Media = {
GiphyApiKey = "",
GifPageSize = 24,
GifRating = "pg-13",
UrlMaxLength = 2048,
AllowedGifHosts = { "giphy.com" },
}
Config.Mail = {
Domain = "ifruit.com",
LocalPartMinLength = 3,
@@ -67,3 +59,69 @@ Config.Mail = {
PageSize = 50,
AuthAttemptsPerMinute = 5,
}
Config.Marketplace = {
PageSize = 20,
MessagePageSize = 50,
OfferHistorySize = 50,
MaxActiveListings = 15,
MaxImages = 6,
TitleMinLength = 5,
TitleMaxLength = 70,
DescriptionMinLength = 20,
DescriptionMaxLength = 2000,
MessageMaxLength = 1000,
MaximumPrice = 100000000,
ListingLifetimeDays = 7,
Categories = {
"vehicles",
"property",
"electronics",
"clothing",
"tools",
"leisure",
"services",
"jobs",
"wanted",
"other",
},
Districts = {
"los_santos",
"vinewood",
"vespucci",
"south_los_santos",
"sandy_shores",
"paleto_bay",
"blaine_county",
},
PhotoGradients = {
"linear-gradient(145deg, #ff9a62, #5f2c82 58%, #141e30)",
"linear-gradient(160deg, #67d5b5, #26648e 55%, #0b132b)",
"linear-gradient(135deg, #fbc2eb, #a6c1ee 48%, #302b63)",
"linear-gradient(150deg, #f6d365, #fda085 45%, #512b58)",
"linear-gradient(145deg, #ff6b6b, #845ec2 52%, #0f2027)",
"linear-gradient(150deg, #00c9a7, #4d8076 46%, #1f3a5f)",
"linear-gradient(135deg, #ffc75f, #f96d80 48%, #4b4453)",
},
}
Config.LocalPages = {
PageSize = 20,
MaxImages = 6,
TitleMinLength = 5,
TitleMaxLength = 80,
BodyMinLength = 10,
BodyMaxLength = 1500,
Categories = { "recommendation", "wanted", "service", "event", "place", "community" },
CityMarktSharesPerDay = 1,
}
Config.Calendar = {
TitleMaxLength = 120,
NoteMaxLength = 2000,
MaximumDurationSeconds = 7 * 24 * 60 * 60,
MaximumQuerySeconds = 370 * 24 * 60 * 60,
PastEditSeconds = 365 * 24 * 60 * 60,
FutureSeconds = 5 * 365 * 24 * 60 * 60,
ReminderPollSeconds = 15,
}