feat: major overhaul with new features, flags & system improvements#552
Open
LeSiiN wants to merge 84 commits into
Open
feat: major overhaul with new features, flags & system improvements#552LeSiiN wants to merge 84 commits into
LeSiiN wants to merge 84 commits into
Conversation
- Config.Weapons is new. ( Which Weapons should be allowed to be registered manually )
- Added fingerprint and dna fields to the Citizen interface - Both fields included in client-side filter and searchCitizens SQL query via JSON_EXTRACT from players.metadata - Extended SQL WHERE clause (8 params instead of 6), with explicit Lua loop mapping for fingerprint/DNA - Normalized vehicle plate search: whitespace stripped and uppercased on frontend and DB side (REPLACE/UPPER) - Split plateTerm and nameTerm in searchVehiclesForReport for correct case handling - Added minimum query length guard (< 2 chars) to vehicle search input
added "weapons_add" as a new permission
changed search function to allow spaces/big/small letters
added "weapons_add" into permissions
added fingerprint and dna into getCitizens callback
added 'weapons_add' as a new permission
added 'weapons_add' as a new permission and added new events
added 'weapons_add' as a new permission
added new permission, changed ownership history
…s (now in config) removed unwanted console.logs, changed notes and removed weaponOptions (now in config)
added `flags` JSON DEFAULT NULL,
changes to Weapons.svelte
added RegisterNUICallback
added ps-mdt:server:saveWeaponFlags
Added `SAVE_WEAPON_FLAGS` to `NUI_EVENTS.WEAPON`
changes from files to link, added hover for picture to make it bigger
changes stuff in cases.lua (sry)
added title and images to mdt_reports_evidence database ALTER TABLE mdt_reports_evidence ADD COLUMN title VARCHAR(255) NOT NULL DEFAULT '' AFTER reportid, ADD COLUMN images LONGTEXT NULL DEFAULT NULL AFTER stored;
added title and images to mdt_reports_evidence
added profile images as link not file and gallery, removed mugshot profile images as links not files gallery to add picture manually usage of mdt_citizen_gallery remove mugshot button ( broken rn )
added new callbacks
removed log entry for profile pic - fivemanage doesnt support links, only base64, so removed check for fivemanageupload
added title and images, fixed evidence in reports
added title and images, fixed evidence
added title and images, fixed evidence
added little icon in vehicles overview and added edit/zoom button
added this to UpdateVehicle:
if payload.image ~= nil then
updates[#updates + 1] = 'mdt_vehicle_image = ?'
values[#values + 1] = payload.image
end
changed picture to 108x108pxa and also added little icons per gun
added notes interactions
made sure add weapon works as intended
made sure add weapon works as intended
fixed ownership history
fixed ownership history
changed reports order to show newest at the top
fixed bodycam rotation and position
fixed bodycam rotation ,position and animation
Feat/mdt bodycam fix
fixed offset
added new svelte ( fixed evidence tab and case tab )
changed in evidence manager
fixed add fingerprint button
fixed fingerprint and cases/evidence tab
removed german prints
added custom placeholder when type changes
overhaul of vehicle tracking - server side
overhaul of vehicle tracking - client side
added heading into the map: - since we already push the data into svelte, we could use it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Major Update – MDT Improvements & New Features
This is a major update that includes a wide range of improvements, new features, and fixes across multiple MDT sections.
If u want to test this: https://github.com/LeSiiN/ps-mdt/tree/full-changes
Dont forget to BUILT it
🔫 Weapons Tab
🚗 Vehicles Tab
👤 Citizen Tab
📝 Reports Tab
🔫 Cases/Evidence Tab
📡 Surveillance
🧩 Database Changes (SQL Required)
Make sure to remove readme note when Merging this