Commit graph

23 commits

Author SHA1 Message Date
Sam
a70bcc5e74 fix: double escape entities before passing into editor 2025-08-10 11:17:20 +01:00
Sam
7a1035d8e2
Release 2.2.2 (#3654)
* Fixed report event for report endpoint (#3648)

* Add group sync log to debug link (#3650)

* Fix being able to react to your own posts (#3653)

* Fix table html purification (#3657)

* Fix table html purification

* full width create topic page

* Hide profile if blocked, update mentions list, update messaging list (#3659)

* Hide profile if blocked, update mentions list, update messaging list

* lint

* Make sure error reporting is disabled by default (#3649)

* Make sure error reporting is disabled by default

* Fix styleci

* Update index.php

---------

Co-authored-by: partydragen <admin@partydragen.com>
Co-authored-by: Partydragen <adrian_kili@outlook.com>

* release: 2.2.2

---------

Co-authored-by: Partydragen <adrian_kili@outlook.com>
Co-authored-by: tadhgboyle <tadhgsmboyle@gmail.com>
Co-authored-by: Supercrafter100 <58982133+supercrafter100@users.noreply.github.com>
Co-authored-by: partydragen <admin@partydragen.com>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-05-21 19:46:01 +01: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
caa42a9753
Merge commit from fork
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-19 19:39:00 +00:00
Sam
e9f0523563
fix: unable to centre images via editor (#3560) 2024-12-01 18:38:31 +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
Robin
d6ac7ae87c
Don't decode before encoding for new installations (#3171)
* Don't decode before encoding for new installations

* Also disable codeTransform and decode hooks

* Remove encoded_content_compat setting

---------

Co-authored-by: samerton <samerton@users.noreply.github.com>
2023-04-14 22:56:53 +02:00
Robin
9de500467e Use strict equality for null checking 2022-07-03 20:56:15 +02:00
Robin
c890bd0a24 Null input to htmlspecialchars is deprecated
After the v2 release, we can make geClean() and getDecoded() not accept nullable inputs at all anymore. It will uncover a lot of bugs, so better to not do it just before pr13
2022-06-01 19:43:38 +02:00
Robin
96765fc555 variable name 2022-04-08 16:20:43 +02:00
Robin
9ef31b5c3f keep slashes when urlencoding custom page path #2671 2022-04-08 08:50:32 +02:00
Sam
9cc6563f32
Render post event (#2662)
* Add render post event

Includes colour coded and interactive user mentions, fixed html code blocks, pagination fixes

* Add default value to createTinyEditor content parameter

* Template cleanup

* Remove debug echo
2022-04-02 17:44:13 +01:00
Tadhg Boyle
0bdf0dcac3 Fix signature 2022-04-01 11:05:08 -07:00
Robin
3922fec24f Decode first for backwards compatibility with old encoded data 2022-04-01 20:02:13 +02:00
Tadhg Boyle
c1c4d89ab4 Fix Twemojis displaying slightly higher than text in some cases 2022-03-29 16:32:17 -07:00
Robin
720541d32f Decode before encoding
For backwards compatibility with current database contents that are html encoded. In the future, data will only be sanitized before being displayed, not when inserting into the db.
2022-03-26 20:57:42 +01:00
Robin
f542f65f79 Remove ampersand replace
Instead, solve the actual root cause of double encoding
2022-03-26 20:26:06 +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
e0133a5cd5 Get PHP-CS to pass! 2021-12-07 22:14:12 -08:00
Tadhg Boyle
dd9cb7ce4e
Use Composer for dependencies (#2517) 2021-12-05 08:17:24 -08:00
Tadhg
6e3fe3db8a misc code style fixes 2021-10-29 22:09:38 -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/Output.php (Browse further)