Commit graph

621 commits

Author SHA1 Message Date
Visman
4cf5abdd77 rev.21 Add Core\Test 2020-10-14 14:06:06 +07:00
Visman
a6a6e6ec45 Limit the maximum file size to the constant \PHP_INT_MAX 2020-10-12 17:27:27 +07:00
Visman
b3df3fc916 Fix vulnerability of lack of token
Csrf\getError() returns null if there is no token field. As a result, the check is aborted without adding an error.
2020-10-12 17:13:02 +07:00
Visman
2df6800f6f Change Core\Csrf
Add getError() method.
Returns the error text for verify(): 'Expired token' or 'Bad token'.
2020-10-10 15:30:00 +07:00
Visman
74c5b7d7a5 Add strict mode for validation 2020-10-10 11:15:07 +07:00
Visman
90c7a18a2e Change the display of the last visit in the profile
A user with his profile sees his previous visit to the forum, and in someone else's profile - the current visit of the profile owner.
2020-10-08 19:58:54 +07:00
Visman
cf8c32da92 Change handling of some html forms 2020-10-08 19:41:45 +07:00
Visman
aa7b179e38 Add field rule setting via array 2020-10-07 20:56:27 +07:00
Visman
e8157cc802 Rename Core\Validators 2020-10-07 17:56:12 +07:00
Visman
b162126a22 Update Core\Validator
Partially changed the logic of rules processing.
2020-10-07 17:41:23 +07:00
Visman
fd75a85b0f Delete ProviderCacheInterface.php 2020-10-05 19:54:10 +07:00
Visman
ed26a085b6 rev.20 Delete Core\Cache
FileCache used without a wrapper
2020-10-05 19:53:38 +07:00
Visman
e9381eaccf Fix Core\Config
Fix for adding a formatted array to an existing element
2020-10-05 19:51:18 +07:00
Visman
6ee99cdb89 Change Cache for PSR-16 2020-10-05 18:13:20 +07:00
Visman
469436ad1b Add support .webp for avatar 2020-10-04 13:46:14 +07:00
Visman
29d9db3727 rev.19 Change for avatars
Add random names.
Save names to the database.
2020-10-03 23:29:17 +07:00
Visman
465f02b981 Add non-standard mime types 1
image/x-ms-bmp
2020-10-02 21:04:00 +07:00
Visman
3503041449 Change Core\Files
Change isImage() method (use mime_content_type()).
Add a check if the file extension matches its mime type.
2020-10-02 20:44:06 +07:00
Visman
d3e916d12d Update readme.md 2020-10-01 12:34:57 +07:00
Visman
0ea771e2ac Add bbcode management 3 2020-10-01 12:34:23 +07:00
Visman
8a445d6180 Add bbcode management 2 2020-09-30 22:21:44 +07:00
Visman
586e7c8197 Update Validator.php
Add the ability to escape the delimiter in the rule
2020-09-29 18:08:52 +07:00
Visman
559525fe7f Add bbcode management 1.5
:(
2020-09-27 21:55:31 +07:00
Visman
516534d1d1 Fix Update controller 2020-09-27 15:33:04 +07:00
Visman
542e47d932 Update Delete.php 2020-09-27 11:16:08 +07:00
Visman
537754f792 Add reset() method for smilies 2020-09-27 11:11:08 +07:00
Visman
c133c75212 Minor change style 2020-09-27 11:04:18 +07:00
Visman
a56a8337f1 Add delete for bbcode 2020-09-27 11:03:47 +07:00
Visman
923618846c Update Mail.php
Add support AUTH CRAM-MD5 and AUTH PLAIN for smtp
2020-09-24 23:10:01 +07:00
Visman
16906e67d4 Move fix 2020-09-23 22:25:44 +07:00
Visman
8acfe4b9e9 Fix rebuild search index 2020-09-23 21:17:00 +07:00
Visman
6656c082e0 Add auto calc token for Router\link() 2020-09-23 21:04:21 +07:00
Visman
c7259750f3 Fix Container\config() 2020-09-23 20:44:31 +07:00
Visman
8e215c96a7 Add bbcode management 1 2020-09-23 19:38:40 +07:00
Visman
45577959e6 Add BBCodeList\Load 2020-09-22 22:39:12 +07:00
Visman
c24d9673a8 Fix required at <select> elements 2020-09-22 22:37:56 +07:00
Visman
e08996cccd Update Generate.php 2020-09-21 22:04:07 +07:00
Visman
cbbe278413 Add BBCodeList model + generate() method 2020-09-21 21:59:14 +07:00
Visman
80224917ec Override bbcode settings 2020-09-21 11:31:55 +07:00
Visman
3c3d0850b9 Fix for an integer value equal to null 2020-09-21 10:46:27 +07:00
Visman
bf5e4df5b0 Update Config model
The first letter of the value from the conf_value field indicates the data type.
I -> integer, a -> array, other -> string.
2020-09-20 22:45:19 +07:00
Visman
921ede0968 Add bbcode table 2020-09-20 19:45:38 +07:00
Visman
657e061c4f Delete o_quote_depth from config 2020-09-20 13:18:31 +07:00
Visman
93b36e1ad6 Update defaultBBCode 2020-09-19 22:37:58 +07:00
Visman
b222bc76c6 Add title for delete btn 2020-09-17 21:00:57 +07:00
Visman
eaae04aed1 Add reset() method for Forum\Manager 2020-09-16 21:14:07 +07:00
Visman
ef1f64b1fb Update readme.md 2020-09-12 23:24:33 +07:00
Visman
8dc15138eb emove phpDocumentor syntax from comments 2020-09-12 23:22:32 +07:00
Visman
26a81bef62 Delete Fork\utc() function 2020-09-12 18:05:55 +07:00
Visman
72c250be11 rev.15 Add smilies management 2020-09-12 14:26:42 +07:00