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

fix(server/player): add license fallback #169

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

Fiordas
Copy link
Contributor

@Fiordas Fiordas commented Sep 20, 2024

Fixes an issue where new user is created every time player without license2 connects.

@thelindat thelindat merged commit b60301f into overextended:main Sep 30, 2024
Kmack710 added a commit to KickRP/ox_core that referenced this pull request Oct 23, 2024
commit 89c24b9
Author: Linden <[email protected]>
Date:   Sun Oct 20 15:35:42 2024 +1100

    Update README.md

commit 5685dce
Author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Oct 19 02:21:35 2024 +0000

    v1.0.1

commit c059c7a
Author: ESK0 <[email protected]>
Date:   Sat Oct 19 04:20:43 2024 +0200

    chore(locales): cs translation (overextended#179)

commit c3c55f2
Author: Linden <[email protected]>
Date:   Sat Oct 19 13:17:59 2024 +1100

    fix(server/groups): use conn.update when creating dynamic group

commit 5917889
Author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Oct 18 07:47:38 2024 +0000

    v1.0.0

commit c0dd3a4
Author: Linden <[email protected]>
Date:   Fri Oct 18 10:35:30 2024 +1100

    ci(release): disable prerelease tag

commit f1e9cbf
Author: Linden <[email protected]>
Date:   Thu Oct 17 20:21:57 2024 +1100

    fix(lib/server): removed exports

commit 7453522
Author: Linden <[email protected]>
Date:   Thu Oct 17 20:21:30 2024 +1100

    fix(server/accounts): missing export for DeleteAccountInvoice

commit d013827
Author: Linden <[email protected]>
Date:   Thu Oct 17 13:39:50 2024 +1100

    feat(server/groups): dynamic group creation and deletion

commit 1059c72
Author: Linden <[email protected]>
Date:   Thu Oct 17 09:01:17 2024 +1100

    fix(server/player): don't increment activeCount if group is undefined

    zzz

commit 4768e8c
Author: Linden <[email protected]>
Date:   Thu Oct 17 08:34:32 2024 +1100

    fix(server/player): update activeCount state when setting active group

    zzz

commit bb61fa2
Author: Linden <[email protected]>
Date:   Wed Oct 16 11:10:48 2024 +1100

    feat(server): export GetGroupsByType

    Resolves overextended#171, with type fix.

commit 1d8110a
Author: Linden <[email protected]>
Date:   Wed Oct 16 11:06:41 2024 +1100

    feat(groups): add activeCount state for players with activeGroup

commit 02bae17
Author: Linden <[email protected]>
Date:   Wed Oct 16 10:27:28 2024 +1100

    refactor(db/pool): use connection info for version checking

commit d95f531
Author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Oct 9 00:34:33 2024 +0000

    v0.32.0

commit d8f89a0
Author: Linden <[email protected]>
Date:   Wed Oct 9 11:33:18 2024 +1100

    refactor(server/accounts): comments

commit 53dc748
Author: Sam Shanks <[email protected]>
Date:   Wed Oct 9 01:32:39 2024 +0100

    fix(server/accounts): transaction new balance (overextended#178)

commit 1b00e93
Author: Linden <[email protected]>
Date:   Tue Oct 8 12:51:22 2024 +1100

    feat(server/vehicle): add setProperties method

commit a551419
Author: Linden <[email protected]>
Date:   Tue Oct 8 12:51:02 2024 +1100

    refactor(server/vehicle): remove properties from metadata

commit ef26be5
Author: Linden <[email protected]>
Date:   Tue Oct 8 12:40:15 2024 +1100

    refactor(server/player)!: remove scope events and methods

    These events unfortunately scale extremely poorly, making
    them hard to justify keeping. We can look at alternatives in
    the future.

commit 688406c
Author: Linden <[email protected]>
Date:   Mon Oct 7 14:17:43 2024 +1100

    refactor(server): enable autoJsonMap

    Since a minimum version of MariaDB is enforced, this feature
    should work properly.

commit 89dd3e6
Author: Linden <[email protected]>
Date:   Mon Oct 7 14:07:43 2024 +1100

    feat(db/pool): add mariadb version validation

    Older versions may not support certain features, and may
    cause unexpected issues to occur.

commit 1ee4540
Author: Linden <[email protected]>
Date:   Mon Oct 7 13:38:55 2024 +1100

    fix(db/pool): set pool after confirming a connection

commit a7aae87
Author: Linden <[email protected]>
Date:   Fri Oct 4 00:05:51 2024 +1000

    feat(server/vehicle): use SetEntityOrphanMode when spawning vehicles

commit 0bd4d6c
Author: Linden <[email protected]>
Date:   Fri Oct 4 00:05:00 2024 +1000

    chore: update package dependencies

commit 10e2c81
Author: Linden <[email protected]>
Date:   Tue Oct 1 07:10:56 2024 +1000

    fix(lib): missing GetVehicleNetworkType type

commit dee73f6
Author: Justus Braun <[email protected]>
Date:   Thu Oct 3 14:54:08 2024 +0200

    feat(server/vehicle): add getStored method (overextended#172)

commit 0f003df
Author: citRa <[email protected]>
Date:   Thu Oct 3 09:52:44 2024 -0300

    fix(sql): missing comma in ox_groups table creation (overextended#174)

commit b286bd8
Author: Simonas Juska <[email protected]>
Date:   Thu Oct 3 14:52:28 2024 +0200

    fix(server/vehicle): add undefined plate check (overextended#175)

commit 5c56d1e
Author: Linden <[email protected]>
Date:   Tue Oct 1 05:11:45 2024 +1000

    fix(server/player): load license module

commit 1c805c2
Author: Linden <[email protected]>
Date:   Tue Oct 1 05:05:23 2024 +1000

    chore: run prettier

commit b60301f
Author: Simonas Juska <[email protected]>
Date:   Mon Sep 30 16:57:34 2024 +0200

    fix(server/player): add license fallback (overextended#169)

commit cbf8e70
Author: Luke <[email protected]>
Date:   Mon Sep 30 11:55:01 2024 +0200

    refactor(accounts/db)!: consistently return success and message object

commit d97d3fb
Author: Luke <[email protected]>
Date:   Fri Sep 27 16:32:08 2024 +0200

    refactor(server/accounts): return object with error message on action

commit b8c125a
Author: Linden <[email protected]>
Date:   Mon Sep 23 10:21:12 2024 +1000

    refactor(server/vehicle): create interface for CreateVehicleData

commit d2b6b24
Author: Linden <[email protected]>
Date:   Mon Sep 23 10:05:30 2024 +1000

    fix(server/build): assert plate as non-null

    Resolves overextended#170

commit 518b467
Author: Linden <[email protected]>
Date:   Sat Sep 21 14:58:25 2024 +1000

    fix(server/vehicle): do not regenerate plates for existing vehicles

commit 3f3d7b0
Author: Linden <[email protected]>
Date:   Sat Sep 21 14:37:29 2024 +1000

    feat(server/groups): auto-create group accounts

commit 2bca065
Author: Linden <[email protected]>
Date:   Sat Sep 21 14:31:28 2024 +1000

    refactor(sql): add hasAccount column to groups

commit 45185e8
Author: Skryptific <[email protected]>
Date:   Thu Sep 19 12:48:21 2024 +0200

    fix(server/accounts): add balance to fromAccount (overextended#168)

commit a30eddc
Author: Linden <[email protected]>
Date:   Tue Sep 10 19:43:52 2024 +1000

    refactor(build): change entrypoints and run tsc before building

commit dcda5c7
Author: Linden <[email protected]>
Date:   Tue Sep 10 16:50:14 2024 +1000

    chore: update fx-utils package path

commit 20dc721
Author: Linden <[email protected]>
Date:   Tue Sep 10 15:50:23 2024 +1000

    chore: update package dependencies

commit 091d895
Author: Linden <[email protected]>
Date:   Fri Sep 6 21:41:16 2024 +1000

    refactor(build): use fx-utils

commit 29afaf4
Author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Sep 6 05:32:16 2024 +0000

    v0.31.2

commit 265e62b
Author: Linden <[email protected]>
Date:   Fri Sep 6 15:31:34 2024 +1000

    fix(build): don't exit process until files are written

commit 4def402
Author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Sep 6 05:24:12 2024 +0000

    v0.31.1

commit 12cce1a
Author: Linden <[email protected]>
Date:   Fri Sep 6 15:23:24 2024 +1000

    refactor(build): run tsc before building

commit 088707e
Author: Linden <[email protected]>
Date:   Fri Sep 6 15:21:56 2024 +1000

    fix(lib/server): load accounts Lua module

commit eae6a6a
Author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Sep 5 10:12:21 2024 +0000

    v0.31.0

commit 95693fb
Author: Linden <[email protected]>
Date:   Thu Sep 5 20:08:21 2024 +1000

    fix(server/player): type correction

commit 9cedac4
Author: Linden <[email protected]>
Date:   Wed Sep 4 13:35:57 2024 +1000

    chore: improve types

commit cbc1315
Author: Linden <[email protected]>
Date:   Wed Sep 4 13:23:23 2024 +1000

    feat: implement OxAccount class

commit 037a66a
Author: Luke <[email protected]>
Date:   Mon Sep 2 17:06:40 2024 +0200

    fix(db/invoices): use UpdateBalance db function to pay invoice

    resolves an issue where the name for the invoice transaction would not show

commit 794cd8e
Author: Luke <[email protected]>
Date:   Mon Sep 2 16:34:56 2024 +0200

    feat: invoice paid event

commit 44161ac
Author: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sun Sep 1 14:34:23 2024 +0000

    v0.30.0

commit e5d6459
Author: Luke <[email protected]>
Date:   Sun Sep 1 16:33:02 2024 +0200

    fix(ci): remove unused imports dir

commit 93ad879
Author: Luke <[email protected]>
Date:   Sun Sep 1 16:28:16 2024 +0200

    chore: update pnpm lock file

commit 678ee75
Author: Luke <[email protected]>
Date:   Sun Sep 1 16:28:03 2024 +0200

    fix: remove unused imports

commit da5e787
Author: Luke <[email protected]>
Date:   Fri Aug 30 17:44:08 2024 +0200

    fix(server): interface typo

commit 03e0714
Author: Luke <[email protected]>
Date:   Fri Aug 30 16:00:24 2024 +0200

    fix(server/invoice): actually remove balance when paying an invoice

commit ff40c02
Author: Luke <[email protected]>
Date:   Fri Aug 30 15:59:26 2024 +0200

    fix(server/player): add char id key member instance on join

commit 8755553
Author: Luke <[email protected]>
Date:   Thu Aug 29 15:23:05 2024 +0200

    feat(sql): fulltext index on transaction messages

commit 2ceac18
Author: Luke <[email protected]>
Date:   Thu Aug 29 15:22:40 2024 +0200

    feat(sql): full name column

commit 4b3524f
Author: Luke <[email protected]>
Date:   Thu Aug 29 14:38:04 2024 +0200

    refactor(sql)!: add fulltext indexes for name and accounts

commit 02a6cf5
Author: Luke <[email protected]>
Date:   Wed Aug 28 13:43:59 2024 +0200

    refactor(server/invoices): use charId instead of player Id

commit 8011460
Author: Luke <[email protected]>
Date:   Wed Aug 28 13:39:45 2024 +0200

    feat(server/player): getFromCharId static method

commit 2deb06d
Author: Luke <[email protected]>
Date:   Wed Aug 28 13:33:47 2024 +0200

    refactor(invoices): rename columns and properties for consistency

commit 1a9bfd4
Author: Luke <[email protected]>
Date:   Tue Aug 27 17:56:30 2024 +0200

    fix(server): use playerid for paying invoices

commit 18c8e05
Author: Luke <[email protected]>
Date:   Tue Aug 27 17:33:08 2024 +0200

    fix(server): send playerId to create invoice instead of charId

commit 679a699
Author: Luke <[email protected]>
Date:   Sun Aug 25 12:40:36 2024 +0200

    fix(sql): add new invoice permissions to account roles insert

commit b3e40ff
Author: Luke <[email protected]>
Date:   Sat Aug 24 14:48:36 2024 +0200

    refactor(invoices): improve create invoice typing

commit 8bdb21d
Author: Luke <[email protected]>
Date:   Sat Aug 24 14:16:50 2024 +0200

    feat(invoices): add due date

commit d32324c
Author: Luke <[email protected]>
Date:   Tue Aug 20 17:05:49 2024 +0200

    feat(server/invoices): delete invoice export

commit 80e789a
Author: Luke <[email protected]>
Date:   Tue Aug 20 16:56:05 2024 +0200

    feat: creating and paying invoices

commit 29191ca
Author: Luke <[email protected]>
Date:   Tue Aug 20 12:44:36 2024 +0200

    feat(server/invoices): initial db stucture
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.

2 participants