Commit graph

31 commits

Author SHA1 Message Date
tadhgboyle
86bdaad50d
Remove redundant try/catch blocks (#3647) 2025-05-10 17:43:44 -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
Sam
9b112c0bea
Merge commit from fork
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-29 10:49:25 +00:00
Supercrafter100
b6c1e6d6ec
Fix users being able to bypass email verification (#3569)
* Fix users being able to bypass email verification

* Remove comment

* Use single quotes
2024-12-21 16:25:45 +00:00
Partydragen
1aa8fa52a7
Add custom rule ability to validation (#3531)
* Add custom rule ability to validation

* StyleCI Fix
2024-10-17 23:32:01 -07:00
Partydragen
9a964cd1b9
Fix array for not start with validation (#3522) 2024-07-14 10:37:47 +01:00
Sam
34d17a0886
fix: trim forum banned terms to ensure cross system compatibility (#3491) 2024-03-09 20:40:49 +00: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
11ab0efe08
feat: ability to ban terms in forum content (#3488) 2024-03-07 17:17:34 +00:00
Sam
093d4b3e91
Small reactions fixes (#3411)
* Small reactions fixes

* Add close button to reactions modal and style updates

* Add scroll bar back to reaction menu
2023-08-02 20:00:53 +01:00
Sam
8423bc7117
Add ability to customise number of news items on front page (#3303) 2023-04-06 08:23:08 +02:00
Sam
1589b76c65
Queue system (#3274)
* Add new queue system

* Amend creation of task from new

* Fix unused terms

* Prevent task returning error from running infinitely

* Run tasks in transactions

* Update gitignore and package-lock

* Use PDO helpers for transaction

* WIP convert forum post task

* Trigger forum post conversion during upgrade

* Fix task scheduling and increase forum posts converted to 50

* Rename ONE_OF to IN
2023-03-30 18:42:40 +01:00
Tadhg Boyle
9cecbe2301
Create Members module with member list page (#3106) 2023-03-07 08:26:53 -08:00
Sam
048bbf815f
Remove binding column name (#3187) 2023-01-14 15:28:54 +01:00
Sam
98fe4b7fce
Add ability to rate limit via Validate class (#2998) 2022-08-07 13:32:07 -06:00
Robin
9de500467e Use strict equality for null checking 2022-07-03 20:56:15 +02:00
Tadhg Boyle
3df85ce05a Swap Config class to prefer paths seperated by . 2022-06-12 20:35:45 -06:00
Robin
14479dc1b2
Ensure people don't overwrite staffcp urls (#2674)
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
2022-05-25 23:55:17 -06: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
6b3970ed0b Add Validate::UNIQUE rule + implement 2022-04-18 16:32:09 -07:00
Tadhg Boyle
cc976760ce Profile field DTOs + cleanup 2022-04-18 10:33:26 -07:00
Tadhg Boyle
ece8a022c6 Add regex validation rule 2022-04-07 11:48:45 -07:00
Tadhg Boyle
3f7c5b8722 Update register & user settings to new Validator, add * support to Validator, fix misc registration custom field stuff 2022-03-25 21:23:19 -07:00
Tadhg Boyle
d088911ae3 MAke Validate::check method static
Removes need to initialize it and then preform validation
2022-03-23 18:23:02 -07:00
Tadhg Boyle
94e64c1207
Add PHPDocs to core classes for new class docs site (#2602) 2022-02-14 20:48:15 -08:00
Tadhg Boyle
ad17142a16
Misc cleanup (#2566) 2022-01-15 15:18:05 -08:00
Tadhg
e0133a5cd5 Get PHP-CS to pass! 2021-12-07 22:14:12 -08:00
Tadhg
6d1bb0ecbb Replace double quotes with single quotes where applicable 2021-10-30 16:25:44 -07:00
Tadhg
a9c678e4d4 convert all array(...) syntax to [...] 2021-10-29 22:00:05 -07:00
Tadhg
5efb0ac5e4 rename Support to Core as per discussion 2021-10-28 09:25:19 -07:00
Renamed from core/classes/Support/Validate.php (Browse further)