Partydragen
370430256f
Remove deprecated event system ( #3631 )
...
* Remove old event system & Convert renderPost event
* Remove old event system
* Misc
* Convert Custom Pages to use new event system
* Change RenderPost to RenderContent
* Convert profile posts and messaging
* All events converted
* Fixes
* Fixes
* Add tag support in Profile Posts & Messaging
* Execute rendercreate for profile post reply
* Update webhooks
* Remove return function
* Remove array response
* Remove more array response
* Remove fallback webhooks
* Test phpstan
* Fix phpdoc
* Remove name() & description()
2025-05-02 10:19: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
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
samerton
d1c793f87c
Fix DataCollector not found error
2023-04-30 22:05:56 +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
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
Tadhg Boyle
b8dc0c7213
Remove "advanced" event listeners, not used + messy
2022-07-10 22:34:28 -06:00
Tadhg Boyle
a06120f730
Register webhooks in core/init.php file & add topic reply available hooks
...
Previously, topic reply hook would get executed even if it was not added to a specific forum
2022-05-22 18:05:29 -06:00
samerton
1f6d373fc8
Amend pull request comments
2022-03-31 20:06:25 +01:00
samerton
caf14010ad
Add pre-create/edit post/topic event
2022-03-31 19:47:08 +01: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
a214e02c03
swap order of event/listener register methods
2021-12-22 00:27:05 -08:00
Tadhg
e0133a5cd5
Get PHP-CS to pass!
2021-12-07 22:14:12 -08:00
Tadhg Boyle
eb75afd696
Add github action for PHPStan analysis ( #2519 )
2021-12-05 08:18:19 -08:00
Tadhg Boyle
dc1c26636b
Dynamic event listener methods ( #2508 )
2021-11-27 15:11:04 -08:00
Tadhg
eb13cd2d5c
Remove usages of old "version" row in nl2_settings, replace with "nameless_version"
2021-11-20 16:56:34 -08:00
Tadhg
d776de53e0
(Actually) Fix EventHandler when events/listeners are registered out of order
2021-11-16 08:26:51 -08:00
Tadhg
c8b7af6dbf
Show event name in thrown exception
2021-11-14 19:09:59 -08:00
Tadhg
2ee505d183
Misc code style fixes + registerEvent bug fix
2021-11-14 18:06:54 -08:00
Robin
b614f1734c
More specific exception
2021-11-14 19:20:21 +01:00
Supercrafter100
1d31f2c918
Add ability to get event data ( #2489 )
...
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
2021-11-14 10:09:08 -08:00
Tadhg
a9c678e4d4
convert all array(...) syntax to [...]
2021-10-29 22:00:05 -07:00
Tadhg
805e1e9e27
organize classes into folders + implement new autoloader
2021-10-27 22:26:24 -07:00