tadhgboyle
ab2fed32a1
Improve online staff/users widget caching ( #3691 )
...
* Improve online staff/users widget caching
* lint
* format sql, order by group id
* same for staff widget
2025-07-05 15:36:58 -07:00
tadhgboyle
07d1e05229
Create and implement Cache#fetch ( #3662 )
...
* Create and implement `Cache#fetch`
* convert more
* fix
* wip
* wip
* Apply fixes from StyleCI (#3663 )
Co-authored-by: StyleCI Bot <bot@styleci.io>
* wip, more conversions
* clear widget cache on setting update
* fix
* convert
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
2025-05-20 18:37:24 -07:00
tadhgboyle
578c5f3575
Hide profile if blocked, update mentions list, update messaging list ( #3659 )
...
* Hide profile if blocked, update mentions list, update messaging list
* lint
2025-05-15 19:24:55 +01:00
tadhgboyle
d983be65ec
Convert Mentions to Notification system ( #3628 )
...
* Convert reports to Notification system
* fix unused term check for LanguageKey class
* simplify language#get
* remove n+1
* fix for multiple
* Convert Forum topic replies with Notifications
* review amendments
* fixes
* Apply fixes from StyleCI (#3627 )
Co-authored-by: StyleCI Bot <bot@styleci.io>
* add back existing_alerts
* remove unneeded exception
* add migrations
* fix
* lint
* Convert Mentions to Notification system
* fixes
* wip
* wip - code comments + fix mention parsing for custom page editing
* rename variable
* cleanup MentionsHook
* cleanup
* remove unused term
* Apply fixes from StyleCI (#3634 )
Co-authored-by: StyleCI Bot <bot@styleci.io>
* don't notify blocked users, but still tag them
* undo changes to DB class
* trailing comma
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
2025-04-29 12:51:01 -07:00
Sam
6f15e14392
chore: fix styleci ( #3588 )
...
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-29 10:50:03 +00:00
tadhgboyle
ab6a0331cb
Add user sessions page ( #3278 )
...
* Save device information on login
* Users sessions page
* PR comments & device detection improvements
* Fix code-style
* Store IP in session & display on the user sessions page
* Don't show session hash, add last seen
* Fix last seen translation, ...
* Unnecesary Output::getClean() - Partydragen
* Apparently I did use admin/sessions language term
* Show location of ip
* Update custom/panel_templates/Default/core/users_sessions.tpl
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
* Update custom/languages/en_UK.json
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
* Update modules/Core/pages/panel/users_sessions.php
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
* Update modules/Core/pages/panel/users_sessions.php
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
* use country the second time
* wip
* wip usercp sessions view
* wip
* wip - show ip to user
* wip
* wip
* chore: fix build issues
* feat: add token expiry to sessions table and increase default expiry to 1 month
* feat: prevent access to geoip database
* feat: correct migrations for user sessions columns
* feat: add missing localisation terms to sessions page
* chore: purify agent info
---------
Co-authored-by: Supercrafter100 <58982133+supercrafter100@users.noreply.github.com>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2024-10-17 23:21:27 -07:00
Sam
9ce7b650df
Mass message rework ( #3494 )
...
* wip: mass messaging rework
* WIP notifications
* feat: mass messaging
* chore: tidy force migration
* chore: remove dev template
* style: styleci fixes
* fix: mass message bypass notification settings + mass message bypass purification
* fix: typo in alerts page
2024-03-31 20:19:43 +01:00
tadhgboyle
0c80570609
Enable StyleCI ( #3475 )
...
* Create StyleCI config file
* Disable `phpdoc_separation`
* Apply fixes from StyleCI (#3476 )
Co-authored-by: StyleCI Bot <bot@styleci.io>
* style: styleci fixes
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2024-03-09 11:19:55 +00:00
Sam
e050f3e3c9
Prepare 2.1.2 release ( #3441 )
...
* Fix AuthMe enabled value (#3349 )
* Add all missing languages to the Members module (#3350 )
* Translated using translate.namelessmc.com
Co-authored-by: Knapp Bálint <favorit5503@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/hu/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/hu/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum
* Translated using translate.namelessmc.com
Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/sk/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Wgis <bywgis@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/ru/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-discord-integration/ru/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/ru/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Discord Integration
Translation: NamelessMC/Website - Forum
* Make sure Minecraft Integration is enabled (#3356 )
* Add Russian translation (#3352 )
Contributed by @Wgis in a github comment: https://github.com/NamelessMC/Nameless/pull/3350#issuecomment-1532655703
Co-authored-by: Ilya Finogenov <20740613+wgis@users.noreply.github.com>
* Translated using translate.namelessmc.com
Co-authored-by: NamelessMC Translations <robin+weblate@rkslot.nl>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/nl/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/nl/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Members module
* Translated using translate.namelessmc.com
Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/sk/
Translation: NamelessMC/Website - Members module
* Translated using translate.namelessmc.com
Co-authored-by: enno123 <admin@enno123.de>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/de/
Translation: NamelessMC/Website - Members module
* Translated using translate.namelessmc.com
Co-authored-by: Marcos <marckos03br@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/es/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/es/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Members module
* Translated using translate.namelessmc.com
Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/cs/
Translation: NamelessMC/Website - Members module
* Include .htaccess file in release zip (#3362 )
* Fix missing cache settings (#3361 )
* Fix user group isssue (#3365 )
Closes https://github.com/NamelessMC/Nameless/issues/3363
* Fix forum title/description encoding on edit (#3359 )
* Remove unable to update groups catch (#3360 )
* Translated using translate.namelessmc.com
Co-authored-by: David Morales <davidmolv16@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/es_419/
Translation: NamelessMC/Website - Members module
* Remove placeholder from singular message (#3369 )
* Fix not being able to see Members page in Navigation settings (#3372 )
* Translated using translate.namelessmc.com
Co-authored-by: enno123 <admin@enno123.de>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/cs/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Edouard DUCHESNES <edouard@duchesnes.fr>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/fr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-discord-integration/fr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/fr/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Discord Integration
Translation: NamelessMC/Website - Members module
* Translated using translate.namelessmc.com
Co-authored-by: Marcos <marckos03br@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/es/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Mesutcan Yavuz <mesutcan.yavuz@hotmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/cookie-consent/tr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/tr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-discord-integration/tr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/tr/
Translation: NamelessMC/Website - Cookie Consent
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Discord Integration
Translation: NamelessMC/Website - Forum
* Translated using translate.namelessmc.com
Co-authored-by: Mesutcan Yavuz <mesutcan.yavuz@hotmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/tr/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Maiu <maiuxd77@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/nb_NO/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/sk/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: andreas phillip søndergaard andersen <andreas.andersen1410@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/da/
Translation: NamelessMC/Website - Forum
* Fix multi query (#3383 )
* Add id to default server
* Fix multiquery
* Fix icon not being properly shown (#3377 )
* Fix ghost player on status page (#3351 )
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
* Translated using translate.namelessmc.com
Co-authored-by: andreas phillip søndergaard andersen <andreas.andersen1410@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/da/
Translation: NamelessMC/Website - Forum
* Translated using translate.namelessmc.com
Co-authored-by: NamelessMC Translations <robin+weblate@rkslot.nl>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/nl/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Petr Kubinec <petrkubinec9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/en_US/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/en_US/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/en_US/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum
Translation: NamelessMC/Website - Members module
* Translated using translate.namelessmc.com
Co-authored-by: untuned <untuned@teamhydra.dev>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/en_US/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/en_US/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Members module
* Translated using translate.namelessmc.com
Co-authored-by: Mert <mert2018cinar@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/tr/
Translation: NamelessMC/Website - Core
* Translated using translate.namelessmc.com
Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core
* Call `compileQueries` only when needed (#3386 )
* Translated using translate.namelessmc.com
Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core
* Remove Discord discriminator requirement (#3374 )
* Fix outdated event
* Fix oauth linking for forced integrations (#3395 )
* Require module autoload file before module init (#3397 )
* Require module autoload file before module init
* Change module loading to require once
* Prepare 1.1.1 release (#3399 )
* Small misc improvements (#3389 )
* Support custom migration tables
* Allow specifying custom migrations directory
* PHP 7.4 fix
* Consistent parameters and add rollback function
* Update Phinx and fix migrations
* Tidy strtolower
* Phinx feature flags
* Make makeWhere function in DB class public
* Add new buildAssetPath function to URL class
---------
Co-authored-by: Robin Slot <robin+github@rkslot.nl>
* Translated using translate.namelessmc.com
Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core
* Rework user group cache issue (#3398 )
* Add `PHP_SAPI` checks on scripts (#3403 )
* Readd deleted term + fix discord oauth link success message (#3406 )
* Revert deleted language term
Removed in a0e9ffb119
@tadhgboyle
* Add success message for linking discord
* Translated using translate.namelessmc.com
Co-authored-by: enno123 <admin@enno123.de>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/de/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum
* Fix typo in en_US.json (#3412 )
* Fix auto verify oauth email (#3413 )
* Translated using translate.namelessmc.com
Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/cs/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/cs/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum
* Translated using translate.namelessmc.com
Co-authored-by: Andiv <div2005.kk@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/ru/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/uk/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/ru/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum
* Rewrite release script to fix checksums in upgrade package (#3414 )
* Fix forum index showing topics without view other topics permission
* Ignore group sync request instead of returning error (#3433 )
* Ignore group sync request instead of returning error
* Fix condition
* Remove return
* Limit logs & Support group sync from modules (#3426 )
* Limit logs
* Support group sync from modules
* Ignore adding group if its invalid (#3436 )
* Ignore adding group if its invalid (#3436 )
* Fix phpdoc build, pin version (#3438 )
* Fix single/double quote not working within member list username CSS (#3427 )
* Prepare 2.1.2 release
---------
Co-authored-by: DominikSLK <74055080+DominikSLK@users.noreply.github.com>
Co-authored-by: PadowYT2 <me@padow.ru>
Co-authored-by: Knapp Bálint <favorit5503@gmail.com>
Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Co-authored-by: Wgis <bywgis@gmail.com>
Co-authored-by: Partydragen <adrian_kili@outlook.com>
Co-authored-by: Robin <robin+git@rkslot.nl>
Co-authored-by: Ilya Finogenov <20740613+wgis@users.noreply.github.com>
Co-authored-by: NamelessMC Translations <robin+weblate@rkslot.nl>
Co-authored-by: enno123 <admin@enno123.de>
Co-authored-by: Marcos <marckos03br@gmail.com>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: David Morales <davidmolv16@gmail.com>
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
Co-authored-by: Edouard DUCHESNES <edouard@duchesnes.fr>
Co-authored-by: Mesutcan Yavuz <mesutcan.yavuz@hotmail.com>
Co-authored-by: Maiu <maiuxd77@gmail.com>
Co-authored-by: andreas phillip søndergaard andersen <andreas.andersen1410@gmail.com>
Co-authored-by: Supercrafter100 <58982133+supercrafter100@users.noreply.github.com>
Co-authored-by: Petr Kubinec <petrkubinec9@gmail.com>
Co-authored-by: untuned <untuned@teamhydra.dev>
Co-authored-by: Mert <mert2018cinar@gmail.com>
Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Co-authored-by: Robin Slot <robin+github@rkslot.nl>
Co-authored-by: Andiv <div2005.kk@gmail.com>
2023-09-28 16:49:56 +01:00
Partydragen
1a24865fdb
Ignore adding group if its invalid ( #3436 )
2023-09-08 16:41:31 +01:00
Partydragen
3b90156b8a
Rework user group cache issue ( #3398 )
2023-06-19 19:47:40 +02:00
Tadhg Boyle
d0fba0cbe9
Replace Util::getSetting/Util::setSetting usages ( #3387 )
2023-06-12 10:30:49 -06:00
Partydragen
8582e6def5
Fix user group isssue ( #3365 )
...
Closes https://github.com/NamelessMC/Nameless/issues/3363
2023-05-10 11:00:07 +00:00
Supercrafter100
c50e1c3654
Fix recursive group add ( #3288 )
2023-03-28 12:37:44 -07:00
Tadhg Boyle
8d09a86cb8
Misc fixes + improvements ( #3270 )
2023-03-23 20:01:23 -07:00
Tadhg Boyle
e2130be87a
Event system DX improvements ( #3226 )
...
Co-authored-by: Partydragen <admin@partydragen.com>
Co-authored-by: Robin Slot <robin+github@rkslot.nl>
2023-03-01 11:35:10 -08:00
Robin
382c2e33d2
Remove code scheduled for removal in 2.1.0 ( #3165 )
...
* Remove code scheduled for removal in 2.1.0
* bring back the party function
* Use urlencode
* Remove `Queries.php` from backtrace check
---------
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
2023-02-21 15:43:09 +01:00
Tadhg Boyle
e6bd11565a
AuthMe improvements and fixes ( #3198 )
2023-01-22 11:43:01 -08:00
Sam
f15cff69ec
Fix private profiles ( #3020 )
2022-08-13 16:34:11 -06:00
Partydragen
469bebc178
Rework user sessions system ( #3000 )
...
Co-authored-by: samerton <samerton@users.noreply.github.com>
2022-08-12 22:29:09 -06:00
DominikSLK
8d6bc071df
Add userGroupAdded and userGroupRemoved to discord webhook formatter ( #2958 )
...
* Add userGroupAdded and userGroupRemoved to discord webhook formatter
* Fix hardcoded New Announcement
* use $this->getAvatar(128, true), instead of AvatarSource::getAvatarFromUserData($this->data()),
2022-08-05 20:09:10 +01:00
Robin
9de500467e
Use strict equality for null checking
2022-07-03 20:56:15 +02:00
Tadhg Boyle
307096fb54
Create and utilize HttpUtils class
2022-06-13 22:24:43 -06:00
Tadhg Boyle
e1255e07a6
Add deprecation notices for 2.1.0
2022-06-13 22:03:05 -06:00
Tadhg Boyle
3df85ce05a
Swap Config class to prefer paths seperated by .
2022-06-12 20:35:45 -06:00
Robin
c0ee610ddb
Merge branch 'v2' into merge-after-pr13
2022-06-04 01:29:10 +02:00
samerton
f00052ac17
Display names should be cleaned before returning
2022-06-03 11:49:11 +01:00
Robin
218825dca6
Remove manual setting queries
2022-06-02 20:45:06 +02:00
samerton
c3955192d0
User data can be null
...
Fixes installation issue
2022-06-02 16:38:23 +01:00
Robin
42cf62c7b4
Replace Hash class usage
2022-06-01 22:08:15 +02:00
Tadhg Boyle
0ace37d0e9
DB migration system ( #2770 )
2022-05-31 11:29:47 -06:00
Tadhg Boyle
1b765a9861
Remove stray unneeded backticks in db queries
2022-05-29 15:15:13 -06:00
Robin
61a147f2c6
Use proxy headers, properly, securely ( #2688 )
...
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
2022-05-26 22:40:11 -06:00
Tadhg Boyle
96866c7d0a
Fix messaging user list
2022-05-21 15:59:20 -06:00
Tadhg Boyle
3fc68e85c9
Fix messaging user list
2022-05-21 15:51:15 -06:00
Supercrafter100
1a22c7a353
Event additions ( #2756 )
2022-05-19 09:13:09 -06:00
Robin
36b83c3beb
Merge branch 'v2' into db-update
2022-05-11 11:45:20 +02:00
Tadhg Boyle
65b28c0f7d
Revert 76c9522443
2022-05-09 22:39:08 -06:00
Tadhg Boyle
3c18f50512
Add profile field list on user page in StaffCP
2022-05-09 21:43:59 -06:00
Tadhg Boyle
76c9522443
Remove unneeded isLoggedIn checks for getAllGroupIds method
2022-05-08 22:48:44 -06:00
Partydragen
d63e518c16
Fix last panel page in sub directory
2022-05-05 21:54:06 +02:00
Tadhg Boyle
ed09054dda
Convert some to new update where syntax
2022-05-01 23:43:52 -07:00
Tadhg Boyle
eb8841149d
Remove unneeded = in where clauses
2022-05-01 23:22:19 -07:00
Tadhg Boyle
40ef677c25
Init
2022-05-01 23:16:22 -07:00
Tadhg Boyle
d3ce574a85
Remove a lot of queries (StaffCP < 20, Frontend 10-15 less) ( #2684 )
...
Co-authored-by: samerton <samerton@users.noreply.github.com>
2022-04-23 20:02:00 +01:00
Partydragen
429052e799
Make user session load strict to null
2022-04-22 20:48:50 +02:00
Sam
3dbf51c2ae
Add missing $
2022-04-22 15:21:10 +01:00
Robin
6936126fc1
Rename getGroupClass to getGroupStyle
...
without breaking backwards compatibility
2022-04-21 22:35:56 +02:00
Robin
4ee043879e
Don't clean here, it is already cleaned before display
2022-04-21 22:25:06 +02:00
Tadhg Boyle
f9051bc5a1
Normalize getDisplayname function
2022-04-21 08:13:58 -07:00