Commit graph

42 commits

Author SHA1 Message Date
Robin
ceb84dfbb7
adapt for podman (#3726) 2026-05-03 23:32:48 +02:00
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
fba4cb051c
Convert punishments to Notification system (#3660) 2025-06-07 11:48:08 -07:00
tadhgboyle
44d03ab7df
Misc refactors + fixes (#3673)
* Misc refactors

* wip

* fix members page not being able to have announcements
2025-06-04 21:32:17 -07:00
tadhgboyle
9e22e82fd1
Remove required env vars for CLI install (#3645) 2025-05-04 14:14:29 -07:00
tadhgboyle
696129142b
Tighten unused language terms checks (#3633)
* Tighten unused language terms checks

* replace with grep again

* remove

* simplify

* add time back

* remove

* add back user tag info
2025-05-02 12:14:14 -07:00
Robin
a17b6886b9
Update release script for php 8.2 (#3636)
Remove dependency on the external dev-oldphp image
2025-04-30 15:45:37 -07:00
tadhgboyle
85ac6db474
Convert Forum topic replies to Notification system (#3622) 2025-04-29 07:43:09 -07:00
tadhgboyle
b53f3f23ed
Convert Reports to Notification system (#3620)
* Convert reports to Notification system

* fix unused term check for LanguageKey class

* simplify language#get

* remove n+1

* fix for multiple

* fix email content

* add migration to insert missing rows

* needless exception

* needless

* lint
2025-04-27 13:15:52 -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
Robin Slot
c0d224ecff Add Serbian language 2024-09-17 11:24:56 +02:00
Robin
ba1cc4524a
Add Persian (Iran) langauge (#3519)
* Update language script for core languages move

* Add Persian language

* Add rtl = true
2024-06-23 14:31:33 +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
tadhgboyle
45cdcad40e
Move core language files into modules/Core (#3469) 2023-12-15 08:20:59 -08:00
Robin
9ef6dd04f2
Restore npm install call in release script (#3446) 2023-10-01 10:00:11 +01:00
Robin
d8bc9d252b
Rewrite release script to fix checksums in upgrade package (#3414) 2023-07-10 18:05:16 +02:00
Tadhg Boyle
b13c29e5e4
Reactions revamp & profile widgets (#3272)
* Initial work on reactions revamp and profile widgets

* Remove unneeded changes

* Remove unneeded change

* fix style

* Render emojis in reaction list StaffCP

* wip minecraft account profile widget, sticky widgets on profile page

* Add server name and IP to last seen

* remove

* rename to reaction score to match member list

* align reactions table contents center

* fix

* wip - nicer abstraction, widgets never query db, skin 3d viewer (undecided)

* wip - make reaction modals ajax, copy new reaction bar to profile posts

* wip reaction modals

* wip proper sorting

* wip modals

* wip get reaction submission working on profile wall posts

* add back helpful and creative default reactions

* reduce query amount on view topic

* remove debug statement

* wip

* wip

* simplify ProfileWidget pages

* Revert forum dropdown

* fix css syntax

* fix emoji title and alt being strange

* add back order input

* sort widgets by order in list

* fix settings link always showing

* phpdoc

* add widget name to exception

* insert default widget data if not found

* missing end if

* properly cache forum news per-group

* fix

* fix cache key, news permission check

* fix styling

* wip

* respect reaction ordering

* wip

* wip

* support custom reaction scores, update member list to properly calculate

* don't hardcode words

* wip

* allow multiple reactions

* redirect to post

* code style

* phpstan

* wip

* remove hardcoded terms + fix copy

* use npm for skinview3d

* create ReactionContext and refactor

* fix cache

* docblocks

* fix spelling

* pr amendments
2023-06-21 18:19:46 +01:00
Tadhg Boyle
01e2f1de31
Add PHP_SAPI checks on scripts (#3403) 2023-06-20 10:35:42 -07:00
Tadhg Boyle
d0fba0cbe9
Replace Util::getSetting/Util::setSetting usages (#3387) 2023-06-12 10:30:49 -06:00
Sam
20396e19ad
Support custom migration tables (#3380)
* 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
2023-06-10 17:38:20 +01:00
Robin
2640314eaa
Include .htaccess file in release zip (#3362) 2023-05-08 22:05:56 +02:00
Robin
13e1c254a9
Improve release script (#3325) 2023-04-22 19:00:36 +02:00
Robin
c2049036b7
Integrity checking system (#3159)
* Integrity checking system

* It's a json file so it should have a .json extension

* Handle missing checksums file

* Use autoload, remove polyfill

* Add docstrings, remove php7.4-incompatible type

* Use camelCase for method names

* Add missing variable name, mark void function as such

* phpstan ignore line

* More ignores

* Try to get around phpstan error

* Generate checksums and update lock file

* Remove -it again, I forgot it isn't available in CI

* Don't warn for missing files if ignored

* Ignore .git

---------

Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
2023-04-22 09:49:54 +01:00
Sam
148441d69b
Use utf8mb4_unicode_ci for DB class to match Phinx (#3317)
* Use utf8mb4_unicode_ci for DB class to match Phinx

* Add charset + collation to cli install
2023-04-22 09:36:26 +01:00
Tadhg Boyle
3966a8c343
Create HasWebhookParams interface (#3281)
Co-authored-by: Partydragen <admin@partydragen.com>
2023-04-10 13:34:29 -07:00
Tadhg Boyle
8d09a86cb8
Misc fixes + improvements (#3270) 2023-03-23 20:01:23 -07:00
Tadhg Boyle
9b0ce79250
Allow enabling/disabling modules during installer (#3273) 2023-03-07 13:14:19 -08:00
Tadhg Boyle
9cecbe2301
Create Members module with member list page (#3106) 2023-03-07 08:26:53 -08:00
Tadhg Boyle
a0e9ffb119
Add unused language term script to CI workflow (#3251) 2023-02-08 12:04:36 -08:00
Robin
a12af4193f
Use correct source directory (#3238) 2023-01-28 22:01:09 +01:00
Robin Slot
ef2ccadea2 Create upgrade zip before installing development dependencies 2023-01-28 11:12:45 +01:00
Tadhg Boyle
bfbc88c5e2
Fix register_method column not being filled when accounts are created (#3231) 2023-01-26 12:26:58 -08:00
Tadhg Boyle
66a95c4f77
Fix forum post seeder not filling some columns (#3206) 2023-01-20 13:54:25 -08:00
Tadhg Boyle
4cc529be04
Allow selecting timezone during install (#3199) 2023-01-20 08:30:34 -08:00
Robin
4383fe06c5
PHPDoc: Use debian image and speed up build (#3201) 2023-01-18 19:14:18 +01:00
Robin
f40d7d98d9
Fixed release zips including cache (#3205) 2023-01-18 19:13:29 +01:00
Robin
b051fb83eb
Allow running release script without TTY (#3200) 2023-01-18 19:05:30 +01:00
Robin
f93a7f8858
Create release script (#3191)
* Create release script

* Produce upgrade zip

* Remove temp directory afterwards
2023-01-18 11:09:34 +01:00
Robin
a9c75beb47
Add Finnish language (#3117) 2022-11-15 01:02:33 +01:00
Robin
fa5599f644
Fix ROOT_PATH #3122 (#3123) 2022-11-12 21:40:51 +01:00
Sam
6cd0a921eb
Add semantic config and change node_modules copy method (#3111)
* Add semantic config and change node_modules copy method
Closes #3110

* Fix tinymce
2022-10-31 23:43:14 +01:00