Commit graph

19 commits

Author SHA1 Message Date
Partydragen
639d989854
Add ability to view users by group (#3484)
* Add ability to sort users by group, integration, active and banned

* Sanitise get params

* style: styleci fixes

---------

Co-authored-by: Sam <samerton@users.noreply.github.com>
2024-03-09 20:39:05 +00:00
Tadhg Boyle
650f2ef09d
Misc fixes (#3128) 2023-01-13 14:38:57 -08:00
Robin
36b83c3beb Merge branch 'v2' into db-update 2022-05-11 11:45:20 +02:00
Partydragen
b53790bb39 Fix users search 2022-05-05 18:32:29 +02:00
Tadhg Boyle
40ef677c25 Init 2022-05-01 23:16:22 -07:00
Partydragen
d2503a1ae0
User Integrations systems (#2606)
* Initial work for User Integrations systems

* Convert a few endpoints to new user integration system

* Finish minecraft part to new User Integration system

* Fixes verify banner issue https://github.com/NamelessMC/Nameless/issues/2052

Fixes https://github.com/NamelessMC/Nameless/issues/2052

* Convert discord to new user integrations system

* Update fields to show user integrations

* Add user integrations to StaffCP user page / move over

* Update UserInfo and Rename MinecraftVerify endpoint

* Rework user listing endpoint

* Password check never returns null

* Add support for offline mode uuid

* Fix documentation phpstan warnings

* else if

* remove die()

* Revamp registration page

* add integrations settings page

* Convert authme & fix phpstan issues

* refix settings page

* Load uuid when user is loaded

* Redirect user to complete required integrations

* Fix translation for user connections page

* Rework integrations registration in Register Endpoint

Completes https://github.com/NamelessMC/Nameless/issues/2516

* make getIntegration ignore case sensitive

* Update installer

* Update upgrader script to convert users

* Fix index for user integrations

* Remove uuid from user data

* Misc

* Remove one unused query

* Add event for integration linking, verify and unlink

* Finish user transformer, Finish user integrations

* Thx phpstan

* Fix phpdocs

* Fix user reports page

* Remove validation banner

* Change default field value

* resolve samerton feedback

* don't clean when inserting data

* don't clean event data

* remove more clean

* increase reset_code length from 60 to 64

* pr13 confirmed

* one more clean

* Remove API verification setting

* Register integrations edit permission

* Resolve a few requested changes

* Rework username and identifier validation

* Add button to sync user integration

* Fix Synchronisation text

* Fix is verified term

Co-authored-by: Robin <robinslot@hotmail.nl>
Co-authored-by: Robin <robin+git@rkslot.nl>
2022-04-16 17:42:24 +01:00
Tadhg Boyle
881cca2079 Fix misc avatar issues, add a fallback service
Closes #2401
2022-04-09 14:53:24 -07:00
Tadhg Boyle
76713ba081 Display avatar in admin user search table 2022-04-01 15:25:50 -07:00
Tadhg Boyle
ad17142a16
Misc cleanup (#2566) 2022-01-15 15:18:05 -08:00
Tadhg
a9c678e4d4 convert all array(...) syntax to [...] 2021-10-29 22:00:05 -07:00
Tadhg
bdf6af33ff use 7.4 null operator 2021-10-28 13:14:57 -07:00
Tadhg
b9b8b21309 rename DB::query() and DB_Custom::query() to selectQuery() [keeps + deprecates old query() method] 2021-10-25 15:42:39 -07:00
Tadhg
54e3e3ab31 fix #2263 2021-05-15 14:23:01 -07:00
Tadhg
50e1854d8c #2007 - search for users by email as well 2020-12-27 22:51:53 -08:00
samerton
37fab3a5ec Pre-8 fixes 2020-12-25 15:00:02 +00:00
Tadhg
5b5acecbcc style fixes 2020-12-14 20:40:55 -08:00
Partydragen
a421fe672f Update admin_users.php 2020-11-03 22:20:32 +01:00
samerton
51e05150a1 Remove todo 2020-10-18 15:11:12 +01:00
samerton
b246b508ae Add missing admin users query 2020-10-18 15:10:28 +01:00