Commit graph

2646 commits

Author SHA1 Message Date
AlexCatze
9cc1810831
[FEATURE] Roles support for MySQL and PostgreSQL (#622)
* [FEATURE] Roles support for MySQL and PostgreSQL

Roles are stored in separate (name,uuid) table. Role can be given to user by adding "role.<name/guid>" permission to user. Permissions can be added to role by adding record with role`s uuid to permissions table.

* [REFACTOR] Refactor roles quering

Use 2 queries, first to query names of all user`s roles, second to recursively query all permissions. This also allows roles inheritance. All code from previous realisation, that is not used in this one, was commented, so if this realisation will be accepted, that code can be finaly removed.

* [REFACTOR] Removed commented code

* [REFACTOR] Remover useless catches
2022-11-19 18:01:32 +07:00
Gravita
841d01b417 [ANY] Use launcher-pack directory for modules 2022-11-18 16:10:28 +07:00
Gravita
a7d3cba949 [FEATURE] Directory launcher-pack 2022-11-18 16:06:42 +07:00
Gravita
b2d2059ebd [ANY] Update modules 2022-11-18 14:47:18 +07:00
Gravita
10888ed2e7 [ANY] Full IDEA reformat 2022-11-18 14:47:03 +07:00
Gravita
82accb211d [ANY] IDEA reformat 2022-11-18 14:39:35 +07:00
Gravita
10df931c2a [FIX] MySQL/PostgreSQL permissions 2022-11-18 14:38:39 +07:00
Gravit
1996525b65
Merge pull request #621 from AlexCatze/feature-sqlabstraction
[FEATURE] Move shared SQL code to abstract class
2022-11-15 13:13:57 +07:00
AlexCatze
40d4681bce [FEATURE] Move shared SQL code to abstract class
Also ports permissions support to MySQL, because it doen`t have PostgreSQL-specific code.
2022-11-14 21:14:53 +02:00
AlexCatze
d11c9e92a5
[FEATURE] Add permissions support to PostgreSQL
This commit adds permissions support to PostgreSQL auth method.
2022-11-13 19:52:20 +01:00
Gravita
60030bd769 [ANY] Update modules 2022-10-30 20:56:32 +07:00
Gravita
bfa9a9c187 [ANY] Update modules 2022-10-30 20:51:43 +07:00
Gravita
a560ab4812 Merge tag 'v5.3.1' into dev
5.3.1 stable
2022-10-23 17:06:00 +07:00
Gravita
a5b4282037 Merge branch 'release/5.3.1' 2022-10-23 17:05:52 +07:00
Gravita
420fd53553 [ANY] 5.3.1 stable 2022-10-23 17:05:38 +07:00
Gravita
1bb7e99e12 [FIX] Paper installAuthlib 2022-10-23 17:00:39 +07:00
Gravita
c74f430129 [FIX] Paper installAuthlib 2022-10-17 00:47:24 +07:00
Gravita
df04b459be [FEATURE] Public getDigest() 2022-10-15 15:21:42 +07:00
Andrew Molchanov
5a0ff3610b
[DOCS] Updating the code of conduct (#616) 2022-10-14 20:11:16 +07:00
Gravita
ca12e7cbd0 [ANY] Update modules 2022-10-07 18:56:09 +07:00
Gravita
6fb9174681 [FEATURE] AuthSupportRemoteClientAccess 2022-10-07 18:55:42 +07:00
Gravita
36d97e7f8b [FEATURE] Profiles refresh 2022-10-01 16:40:19 +07:00
Gravita
28a9b5efc4 [ANY] Update modules 2022-09-28 16:54:16 +07:00
Gravita
86f9f20b52 [FEATURE] BCryptPasswordVerifier 2022-09-28 16:53:56 +07:00
Gravita
8bec134611 Merge tag 'v5.3.0' into dev
5.3.0 stable
2022-09-08 14:09:59 +07:00
Gravita
07be86f695 Merge branch 'release/5.3.0' 2022-09-08 14:09:51 +07:00
Gravita
91f3773c54 [ANY] 5.3.0 stable 2022-09-08 13:45:46 +07:00
Gravita
b2486efb30 [ANY] Update modules 2022-09-08 13:44:11 +07:00
Gravita
970761374a [FEATURE] ArchTrigger 2022-09-04 16:18:33 +07:00
Gravita
b43ff9e7a6 [ANY] 5.3.0 beta 2022-09-04 14:48:00 +07:00
Gravita
c7058499b7 [FIX] EnFS Build 2022-09-04 14:40:13 +07:00
microwin7
6d5ae93889
[FIX] JRE Full Download URL Update (#607)
Which is based on OpenJFX and Minimal VM
2022-09-01 14:04:27 +07:00
Clercq
78e5c8866f
[FEATURE] Injecting certificates to default truststore (#609) 2022-09-01 14:03:40 +07:00
Gravita
692aa8d3cf [ANY] Update modules 2022-08-30 14:26:24 +07:00
Gravita
2324af1c46 [FIX] Bug fixes 2022-08-30 14:26:08 +07:00
Gravita
7414132bad [ANY] Update modules 2022-08-28 13:37:09 +07:00
Gravita
65ae13a042 [FEATURE] MirrorHelper module 2022-08-28 13:36:49 +07:00
Gravita
230194f2a0 [FEATURE] Update rework 2022-08-24 13:41:01 +07:00
Clercq
9bac9e3bef
[FIX] HttpAuthCoreProvider (#603) 2022-08-12 16:22:50 +07:00
Gravita
2d9037fedc [ANY] Support 1.19.2 2022-08-06 00:01:14 +07:00
Clercq
385f2d9ec5
Add to HttpAuthCoreProvider the AuthSupportHardware implementation (#601)
* initial

* test fixes

* review fixes

* review fixes

* test fixes

* review fixes

* review fixes
2022-08-01 15:54:07 +07:00
Gravita
81b80a7938 [FEATURE] Download assets from mojang 2022-07-30 16:15:35 +07:00
Gravita
bbb962c624 [ANY] Add client version 1.19.1 2022-07-28 21:50:55 +07:00
Gravita
eb5bbb9acf [FIX] Compile error 2022-07-26 17:24:14 +07:00
Gravita
3561522d14 [FIX] Remove updateFastCheck 2022-07-26 17:22:34 +07:00
Gravita
c8768326ea [FEATURE] 5.3.0 features 2022-07-24 16:27:24 +07:00
Gravit
dbdc1b4d6a
Merge pull request #600 from microwin7/patch-10
[FIX] Disable Html Escaping
2022-07-21 22:06:41 +07:00
microwin7
d46c380f45
[FIX] Disable Html Escaping 2022-07-21 11:35:13 +03:00
Gravita
6bed8b383d Merge tag 'v5.2.13' into dev
5.2.13 stable release
2022-07-12 15:48:34 +07:00
Gravita
b7a6cfda6d Merge branch 'release/5.2.13' 2022-07-12 15:48:22 +07:00