Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch from utils to lib #318

Merged
merged 29 commits into from
Jan 22, 2024
Merged

feat: switch from utils to lib #318

merged 29 commits into from
Jan 22, 2024

Conversation

mafewtm
Copy link
Member

@mafewtm mafewtm commented Jan 15, 2024

Description

Switch from the deprecated utils module to the new lib module

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

@mafewtm mafewtm marked this pull request as draft January 15, 2024 23:19
@mafewtm mafewtm marked this pull request as ready for review January 16, 2024 02:41
config/server.lua Outdated Show resolved Hide resolved
config/server.lua Outdated Show resolved Hide resolved
Copy link
Member

@D4isDAVID D4isDAVID left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some comments here about cases that QBCore handles but we don't. I'm not exactly strict about this, but I believe it would be nice to handle those cases ourselves too to improve compatibility.

There are also some ped-related functions that support an ignoreList in QBCore but not in lib anymore, it's possible to copy some stuff from the utils module to do that.

server/commands.lua Outdated Show resolved Hide resolved
fxmanifest.lua Outdated Show resolved Hide resolved
bridge/qb/client/functions.lua Outdated Show resolved Hide resolved
bridge/qb/client/functions.lua Outdated Show resolved Hide resolved
bridge/qb/client/functions.lua Outdated Show resolved Hide resolved
bridge/qb/shared/main.lua Outdated Show resolved Hide resolved
bridge/qb/shared/main.lua Outdated Show resolved Hide resolved
bridge/qb/shared/main.lua Outdated Show resolved Hide resolved
config/server.lua Outdated Show resolved Hide resolved
config/server.lua Outdated Show resolved Hide resolved
mafewtm and others added 8 commits January 17, 2024 16:41
Co-authored-by: David Malchin <malchin459@gmail.com>
Co-authored-by: David Malchin <malchin459@gmail.com>
Co-authored-by: David Malchin <malchin459@gmail.com>
Co-authored-by: David Malchin <malchin459@gmail.com>
Co-authored-by: David Malchin <malchin459@gmail.com>
Co-authored-by: David Malchin <malchin459@gmail.com>
bridge/qb/client/functions.lua Outdated Show resolved Hide resolved
bridge/qb/client/functions.lua Outdated Show resolved Hide resolved
@BerkieBb
Copy link
Contributor

All comments resolved now

modules/lib.lua Outdated Show resolved Hide resolved
bridge/qb/client/functions.lua Outdated Show resolved Hide resolved
bridge/qb/client/functions.lua Outdated Show resolved Hide resolved
Copy link
Member

@D4isDAVID D4isDAVID left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I guess the only thing left is some manual testing.

@BerkieBb BerkieBb merged commit c5d6575 into Qbox-project:main Jan 22, 2024
2 checks passed
@Manason Manason mentioned this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants