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

Create Members module with member list page #3106

Merged
merged 44 commits into from
Mar 7, 2023
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
862a5db
initial work
tadhgboyle Sep 24, 2022
ae8b186
migration
tadhgboyle Sep 24, 2022
60827ad
Merge branch 'develop' into feat/member-list
tadhgboyle Jan 23, 2023
3322c9e
Merge branch 'develop' into feat/member-list
tadhgboyle Jan 28, 2023
c1829aa
wip
tadhgboyle Jan 28, 2023
c8b3acf
Prevent long usernames going to new line
tadhgboyle Feb 17, 2023
14df436
wip
tadhgboyle Feb 17, 2023
d327189
Merge branch 'develop' into feat/member-list
tadhgboyle Feb 17, 2023
1fd9a5e
wip
tadhgboyle Feb 17, 2023
00cda1d
wip
tadhgboyle Feb 17, 2023
f1e6817
add search and new members widget
tadhgboyle Feb 17, 2023
898b805
make sidebar a little wider
tadhgboyle Feb 17, 2023
82e3317
move to built in Members module
tadhgboyle Feb 18, 2023
7716221
wip
tadhgboyle Feb 18, 2023
3cee66b
wip - add "by group" widget
tadhgboyle Feb 18, 2023
63d4451
wip
tadhgboyle Feb 18, 2023
aeaa697
display group html on list-specific pages
tadhgboyle Feb 19, 2023
6e1e28c
PR amendments (use fetch, improve speed, translate) wip
tadhgboyle Feb 23, 2023
105594c
Change min username length to 2
tadhgboyle Feb 23, 2023
35b4c08
Rate limit search
tadhgboyle Feb 23, 2023
e0c219d
Cache `member_list` query
tadhgboyle Feb 23, 2023
20beeff
Allow selecting specific groups to view
tadhgboyle Feb 24, 2023
2446387
wip pagination
tadhgboyle Feb 24, 2023
f27d343
fix pagination, rename to MemberListManager
tadhgboyle Feb 25, 2023
2f5f0c0
improve search
tadhgboyle Feb 25, 2023
03f163d
add "registered members" list
tadhgboyle Feb 25, 2023
bcdc89f
wip (make seeder counts more customizable)
tadhgboyle Feb 27, 2023
05c8777
add check for no overview lists enabled and for disabled lists
tadhgboyle Feb 28, 2023
ee9337e
document code
tadhgboyle Feb 28, 2023
88ec28d
undo changes
tadhgboyle Feb 28, 2023
10c0f32
Merge branch 'develop' into feat/member-list
tadhgboyle Feb 28, 2023
9e4f302
add back paginator
tadhgboyle Feb 28, 2023
3fe3e2c
remove unused term + move back text
tadhgboyle Feb 28, 2023
f9c297e
undo changes to Text class
tadhgboyle Mar 2, 2023
36901c2
undo changes to custom css
tadhgboyle Mar 2, 2023
3d2cdda
undo changes to forum module
tadhgboyle Mar 2, 2023
fb3b670
Merge branch 'develop' into feat/member-list
tadhgboyle Mar 2, 2023
21b4106
add back forum module changes
tadhgboyle Mar 2, 2023
b203713
pr amendments
tadhgboyle Mar 2, 2023
903f2ac
Add limit 5 to users query, add rate limiting (60 rq/m)
tadhgboyle Mar 2, 2023
9344bee
PR amendments (+ update dicebear api url)
tadhgboyle Mar 3, 2023
af9cf38
Fix
tadhgboyle Mar 3, 2023
8f8b63c
Fix avatar svg -> png url
tadhgboyle Mar 3, 2023
00a3127
Merge branch 'develop' into feat/member-list
tadhgboyle Mar 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
undo changes to Text class
  • Loading branch information
tadhgboyle committed Mar 2, 2023
commit f9c297e7fd4094bb6c741454a0df700c4d47fdd9
5 changes: 3 additions & 2 deletions core/classes/Core/Text.php → core/classes/Misc/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Helps with common text related tasks.
*
* @package NamelessMC\Core
* @package NamelessMC\Misc
* @author Aberdeener
* @version 2.0.0
* @license MIT
Expand Down Expand Up @@ -138,7 +138,8 @@ public static function bold(string $text): string {
* @return string Text with emojis replaced with URLs to their Twemoji equivalent.
*/
public static function renderEmojis(string $text): string {
return Twemoji::text($text)->toHtml(null, [
// We can remove this ->base(...) call when https://github.com/Astrotomic/php-twemoji/pull/13 is merged
return Twemoji::text($text)->base('https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets')->toHtml(null, [
'width' => 20,
'height' => 20,
'style' => 'vertical-align: middle;'
Expand Down