Commit graph

1931 commits

Author SHA1 Message Date
Visman
8f8ed22a40 Up rev 2023-07-14 17:56:29 +07:00
Visman
1415bd73da fix 2023-07-14 17:44:27 +07:00
Visman
644edfceaa Update Uploads.php 2023-07-14 17:39:00 +07:00
Visman
67dd3da824 Add search cache lifetime setting to admin panel 2023-07-14 17:31:53 +07:00
Visman
ddbc87b031 There are no posts in the links to moved topics 2023-07-14 14:52:41 +07:00
Visman
da24c4751c Optimize search result fetching to display posts/topics 2023-07-13 23:28:51 +07:00
Visman
6cb89f39e8 Fix foreach() argument must be of type array|object, null given 2023-07-13 18:00:38 +07:00
Visman
8ee1da7acc Add view of uploaded files to admin panel 2023-07-13 16:40:33 +07:00
Visman
66ce617d35 Update form.forkbb.php 2023-07-13 16:38:10 +07:00
Visman
33707405b1 Update Result.php 2023-07-13 16:37:43 +07:00
Visman
bf5bcf58b7 Shorten naming units of information 2023-07-13 16:37:06 +07:00
Visman
2bc017bc6e Update ForkBB\size() function 2023-07-13 16:36:11 +07:00
Visman
f40f76f0c6 Fix for GD
1. Palette image not supported by webp
2. imageavif(): avif error - avif doesn't support palette images
2023-07-12 18:18:26 +07:00
Visman
9d0ec76e8b Add output image types for upload 2023-07-12 16:39:44 +07:00
Visman
e928df83da Convert file extension to lower case 2023-07-12 15:36:13 +07:00
Visman
62b335542e Take into account the limit for the volume of uploaded files 2023-07-11 23:57:06 +07:00
Visman
5be4d74045 Add additional extension filtering 2023-07-11 18:13:09 +07:00
Visman
94427053f1 Up rev 2023-07-10 23:35:03 +07:00
Visman
a24a3e1fdf Add a simple hashtag system to posts and searches 2023-07-10 23:34:53 +07:00
Visman
7b6eb88d8c Table ::search_cache needs cleaning 2023-07-10 20:17:56 +07:00
Visman
2c3cc72d9d Fix Models\Attachment 2023-07-10 00:20:33 +07:00
Visman
ca04b877f4 Prohibit SVG, at the moment is unsafe 2023-07-10 00:14:14 +07:00
Visman
fd625f45b5 Fix en\admin_groups.po 2023-07-10 00:08:31 +07:00
Visman
809a8cb29d Up rev 2023-07-09 17:48:47 +07:00
Visman
7917e7a3d1 Set png to max(?) compression always 2023-07-09 16:36:59 +07:00
Visman
2b7244ed5e Add file uploads 9/... 2023-07-09 15:07:58 +07:00
Visman
f454d3ad10 Add file uploads 8/... 2023-07-09 13:04:34 +07:00
Visman
4eee4e51fc Limit the number of files that can be uploaded at the same time 2023-07-08 23:05:36 +07:00
Visman
485954ee5e Add file uploads 7/... 2023-07-08 22:10:22 +07:00
Visman
49acb82f78 Add file uploads 6/... 2023-07-08 16:53:24 +07:00
Visman
dc7e1be75b Add file uploads 5/... 2023-07-08 00:21:08 +07:00
Visman
d15f66b849 Add multiple option for input 2023-07-07 19:52:09 +07:00
Visman
a57dd75625 Add rule for upload
Depends on permission to use links!
2023-07-07 19:50:48 +07:00
Visman
3aa0f27252 Add space symbol O_o 2023-07-07 19:49:40 +07:00
Visman
27f6709174 Move rules to UserRules from User model 2023-07-06 20:25:36 +07:00
Visman
299fad263c Add file uploads 4/... 2023-07-06 13:14:43 +07:00
Visman
b34ebfa909 Add file uploads 3/... 2023-07-06 12:38:13 +07:00
Visman
a7628f5c58 Update common.po 2023-07-06 11:47:21 +07:00
Visman
d7ac9c32c5 Add file uploads 2/... 2023-07-05 23:46:19 +07:00
Visman
02e8fc4021 Add file uploads 1/... 2023-07-05 23:14:53 +07:00
Visman
44d54e1fd6 Update post templates 2023-07-04 22:34:05 +07:00
Visman
c5c78e9098 Update topic templates and style 2023-07-04 22:00:23 +07:00
Visman
c809180c50 Update showUserInfo rule 2023-07-04 21:28:37 +07:00
Visman
fedc6be825 Add poster ip address display 2023-07-04 19:54:35 +07:00
Visman
9981a68a7e jpeg xl
ImageMagick has the ability to support the JPEG XL format.
2023-07-04 16:45:33 +07:00
Visman
76dbef67f2 Add image upload to SCEditor via imgbb.com
As an experiment on request https://forkbb.ru/topic/41/Image%20uploads
postimages.org did not use, they have created each script for a separate forum.
2023-07-03 21:08:10 +07:00
Visman
d5e3243b7b Update topic templates and style 2023-07-02 22:25:16 +07:00
Visman
a9ef39c152 Update for "Add a link to the breadcrumbs that retu..."
2c4a9e407f
2023-07-01 21:59:04 +07:00
Visman
2c4a9e407f Add a link to the breadcrumbs that returns the user to the list of topics to the topic they left 2023-07-01 14:54:42 +07:00
Visman
68d8e27396 Add Clear cache to Admin\Maintenance page 2023-06-30 18:05:00 +07:00
Visman
3546bc3eac typo fix 2023-06-29 16:43:20 +07:00
Visman
a96b9b3939 Update admin_maintenance.po langs 2023-06-29 16:33:32 +07:00
Visman
76baacb67a Fix for GD and animated WebP 2023-06-29 01:45:10 +07:00
Visman
a31002325a Update addUnsafeInline() method 2023-06-27 20:05:45 +07:00
Visman
6209d528ca If loaded CSEditor, then inline styles should be allowed 2023-06-27 19:33:43 +07:00
Visman
caf684e67a Add maxlength for textarea 2023-06-27 19:04:36 +07:00
Visman
fac8a5e9dc Add maxlength for textarea 2023-06-27 18:59:53 +07:00
Visman
9e07911d2c typo fix #18 2023-06-24 08:47:12 +07:00
Visman
ef98e06798 Update Install.php 2023-06-21 23:09:53 +07:00
Visman
77466f3444 Update Current.php 2023-06-20 23:31:11 +07:00
Visman
b9ac5230ad Update lang files 2023-06-20 18:13:39 +07:00
Visman
b75459aa8e Update lang files 2023-06-20 18:11:01 +07:00
Visman
6753fd0fca Add "?" to replace one character in user filter 2023-06-20 18:05:54 +07:00
Visman
2c3cb2fdc2 Up rev 2023-06-17 20:56:13 +07:00
Visman
afd35ffeb9 Inline tags can be nested in urls 2023-06-17 20:04:27 +07:00
Visman
9cf8967bb8 Increase parser and SCEditor synchronization + return inline style for color, background, font bbcodes 2023-06-17 16:21:07 +07:00
Visman
f85dd4743c If the bbcodes require inline styles, then add the style-src 'unsafe-inline' rule to the Content-Security-Policy header 2023-06-17 01:21:25 +07:00
Visman
66e360cf90 Update quote bbcode 2023-06-14 23:36:36 +07:00
Visman
fd5dda5aef Fix case insensitivity of method_exists() function
For BBCodeList\Structure
2023-06-14 23:31:42 +07:00
Visman
f579f91534 Add an option for setting the quality of uploaded avatars 2023-06-03 14:43:21 +07:00
Visman
6efd155597 Add heif/heic and fix ini_get() for size() method
ImageMagick supported heif/heic formats.
2023-06-03 12:08:12 +07:00
Visman
aee3d0b0a8 Change order of formats for avatar
For avif or other formats not listed.
2023-06-02 20:51:22 +07:00
Visman
3283856fdc Up rev 2023-06-02 11:11:26 +07:00
Visman
a949c5adcb Update welcome.tpl files 2023-06-01 23:04:25 +07:00
Visman
604e0d2a13 OAuth refactoring
The registration functionality has been moved from RegLog to the Register page.
Added a check for agreeing to the rules for the first login.
Added ability to edit name when registering via OAuth.
2023-06-01 23:00:59 +07:00
Visman
d50c4c81d9 Initialization is incorrect 2023-05-31 23:14:00 +07:00
Visman
d896ff2c08 Fix activate() in Register page 2023-05-31 19:33:09 +07:00
Visman
d564cc5de8 Move getAttrs() method 2023-05-31 18:24:49 +07:00
Visman
4b4d96a260 Fix previous commit 2023-05-31 16:07:38 +07:00
Visman
5ce8e20f9b Add FORK_JSON_ENCODE constant 2023-05-31 15:38:02 +07:00
Visman
61c613123a Update RegLog page 2023-05-30 23:01:28 +07:00
Visman
207ba891f5 hange the order of conditions 2023-05-30 23:00:17 +07:00
Visman
7a5c871a43 Update Driver.php 2023-05-29 23:39:09 +07:00
Visman
cdb41fa93c Added login via email/password 2023-05-29 21:05:45 +07:00
Visman
8e41ecb415 Update lang files 2023-05-29 19:30:34 +07:00
Visman
69fd7584d3 Delete mail templates 2023-05-29 19:28:15 +07:00
Visman
9c1d081f5a Change tooltip text depending on config setting 2023-05-29 16:29:13 +07:00
Visman
b7725afb23 OAuth: Diversify the description of actions 2023-05-28 21:17:27 +07:00
Visman
4d837f00c2 OAuth: Pass request type through provider
Needed to control the behavior of the authorization/registration algorithm without saving data to the session/cookies.
2023-05-28 19:50:38 +07:00
Visman
23afcdbb7b Update templates 2023-05-27 19:50:46 +07:00
Visman
c22108a3a2 Remove duplicate title elements
The template will add information from value.
2023-05-25 19:38:08 +07:00
Visman
6465970de1 Add an empty line 2023-05-25 18:59:59 +07:00
Visman
399ff77b32 Fix Admin\Bans page 2023-05-24 18:57:14 +07:00
Visman
af0b3141b2 Fix form.forkbb.php 2023-05-24 18:55:51 +07:00
Visman
b7a88db120 Update form.forkbb.php template 2023-05-24 18:11:13 +07:00
Visman
7f48a585c1 Fix Register page 2023-05-23 22:40:18 +07:00
Visman
fb87642b3e Add comment
If size exists, then it is a multiselect.
2023-05-21 21:38:46 +07:00
Visman
ecded3baed Fix Parser\BBCode page 2023-05-21 21:33:21 +07:00
Visman
f34fe01f07 Fix form.forkbb.php template 2023-05-21 21:32:49 +07:00
Visman
f0b7d0b6ee Update form.forkbb.php template 2023-05-21 21:03:05 +07:00
Visman
a3064a6921 Update form.forkbb.php 2023-05-21 13:56:38 +07:00
Visman
d4c426739d Update form.forkbb.php template 2023-05-20 21:03:35 +07:00
Visman
2caac06488 Update form.forkbb.php template 2023-05-20 19:21:59 +07:00
Visman
3142ba2c3a Update Register page for emails from OAuth 2023-05-19 20:58:24 +07:00
Visman
f0c1bd9d38 Update Validators\Email for emails from OAuth 2023-05-19 20:09:01 +07:00
Visman
934f7a1da0 Update findEmail() method for ProviderUser 2023-05-19 20:08:07 +07:00
Visman
4810de11d8 Add tail to password when registering via OAuth 2023-05-19 18:05:10 +07:00
Visman
1ae5c7a594 Remove invalid comment 2023-05-19 18:03:21 +07:00
Visman
5923684775 Use container->MAX_EMAIL_LENGTH 2023-05-19 18:02:44 +07:00
Visman
f61f1d246a Update login() method 2023-05-18 19:47:24 +07:00
Visman
06be297c6f OAuth (part 12 draft) Add Google
Not tested. Google banned the registration of new applications for my country.
2023-05-17 22:24:27 +07:00
Visman
3d362e622e Remove empty parameters from a request 2023-05-17 18:37:45 +07:00
Visman
64b2d8ecb8 Update validator.po 2023-05-17 11:13:28 +07:00
Visman
cf3087dd1c OAuth (part 11 draft) Add Yandex 2023-05-17 01:08:04 +07:00
Visman
93f09245e6 Fix Admin\Providers page 2023-05-17 00:36:44 +07:00
Visman
39dce53001 OAuth (part 10 draft)
If cURL is disabled, it will work through files/streams with allow_url_fopen=ON.
2023-05-16 21:36:24 +07:00
Visman
cf15f56635 Rename method 2023-05-16 21:29:21 +07:00
Visman
aee1a49a25 Fix call order of curl_close() and curl_error() 2023-05-16 17:34:28 +07:00
Visman
4f884d43e6 Add autocapitalize="off" for email fields 2023-05-15 19:13:35 +07:00
Visman
f997cb59a1 Update uploadFromLink() method for Files 2023-05-15 18:48:20 +07:00
Visman
4f27a39ace Add logging for avatar processing 2023-05-15 18:45:52 +07:00
Visman
19a7842b7a Repl FILTER_VALIDATE_BOOLEAN to FILTER_VALIDATE_BOOL 2023-05-15 17:12:31 +07:00
Visman
6f58d634a4 Up rev 2023-05-14 21:59:09 +07:00
Visman
cdbcfa8d09 Update curl_setopt() 2023-05-14 21:47:47 +07:00
Visman
947705cc3c Add avatar upload on registration via OAuth 2023-05-14 21:47:05 +07:00
Visman
8fa8d4d420 Temp files in cache 2023-05-14 21:44:55 +07:00
Visman
d22d5230cc Update gender to constants 2023-05-14 20:31:03 +07:00
Visman
60c66eac01 Remove password hash generation for OAuth
May be needed if a password is requested to confirm the action. In this case, you will need to confirm the action via OAuth.
2023-05-14 17:36:32 +07:00
Visman
9f2923adf8 Update gender to constants 2023-05-13 22:41:17 +07:00
Visman
68747c98a8 Add color differentiation for redirects
Кин-дза-дза! 😄
2023-05-13 15:14:11 +07:00
Visman
d271bec869 Update Redirect page 2023-05-13 14:32:58 +07:00
Visman
e82b04ba22 Update ISWEV to constants 2023-05-13 14:29:53 +07:00
Visman
ced54003f8 Update ISWEV to constants 2023-05-13 13:31:15 +07:00
Visman
410879c522 OAuth (part 9 draft) 2023-05-13 12:49:13 +07:00
Visman
29e11e915f OAuth (part 8 draft) 2023-05-12 22:49:41 +07:00
Visman
64393ef7e8 Update profile pages 2023-05-12 22:49:01 +07:00
Visman
684c356ce2 Update Routing.php
For profile.
2023-05-12 22:47:54 +07:00
Visman
f5e2d22aa0 Update Redirect page
You can set the display time (greater than 0 seconds!) along with the message text.
2023-05-12 20:28:04 +07:00
Visman
dd60644198 Update Profile pages
For H2 title.
2023-05-12 14:40:42 +07:00
Visman
266c00c210 OAuth (part 7 draft) 2023-05-12 14:08:53 +07:00
Visman
f5aa9c8d57 Update Driver.php 2023-05-11 19:44:05 +07:00
Visman
b87e678bf9 Temporary plug 2023-05-11 12:03:17 +07:00
Visman
5605b21bf0 Up rev 2023-05-11 10:05:14 +07:00
Visman
6eb177db2a OAuth (part 6 draft) 2023-05-11 09:45:19 +07:00
Visman
a05edb7975 fix namespace 2023-05-10 21:21:51 +07:00
Visman
9107637d4e OAuth (part 5 draft) 2023-05-10 21:21:33 +07:00
Visman
76350bc12e OAuth (part 4 draft) 2023-05-09 22:01:01 +07:00
Visman
32d9aed7c1 OAuth (part 3 draft) 2023-05-09 19:00:16 +07:00
Visman
73af8bd435 OAuth (part 2 draft) 2023-05-09 18:38:54 +07:00
Visman
8b72a4a859 OAuth (part 1 draft) 2023-05-07 23:45:05 +07:00
Visman
27cf2152c8 Typo fix 2023-05-06 21:40:06 +07:00
Visman
91a6fc10ad Update style for Pages\Admin\Forums and Pages\Admin\Categories 2023-05-06 18:38:55 +07:00
Visman
a9b4eddd5f Update Report\Save 2023-05-06 16:27:39 +07:00
Visman
05f207bdd9 Attempt to solve problem #15
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '...' for key '..._online_user_id_ident_idx'
2023-05-03 20:44:16 +07:00
Visman
4eb6f85055 Up rev 2023-05-02 18:07:46 +07:00
Visman
055673ad58 Update Update.php 2023-05-02 18:05:43 +07:00
Visman
783fb02a2f Update TimeZoneTrait for translate 2023-05-01 18:02:38 +07:00
Visman
9be842b012 Update profile_other.po 2023-05-01 18:01:55 +07:00
Visman
600ff5d9da Update User model 2023-04-30 13:28:58 +07:00
Visman
0dc8a80645 Extend debug mode
Messages with status 400+ can be logged.
2023-04-30 13:17:41 +07:00
Visman
d24556d803 Update Install.php 2023-04-29 18:37:54 +07:00
Visman
eddb710952 Fix Mail 2023-04-29 18:24:41 +07:00
Visman
c644fe5cf8 Fix Poll\Revision 2023-04-29 18:13:23 +07:00
Visman
8b1f40e34c Fix DB\AbstractStatement 2023-04-29 18:05:01 +07:00
Visman
53d913701e Fix install 2023-04-29 18:04:36 +07:00
Visman
61da5179f6 Fix style 2023-04-29 17:39:37 +07:00
Visman
0f61f3ec0d Code style and minor changes 2023-04-29 15:07:09 +07:00
Visman
14c3a5d0db Up min PHP version from 7.3 to 8.0 - 5 2023-04-28 19:34:31 +07:00
Visman
e2cf3896b6 Up min PHP version from 7.3 to 8.0 - 4 2023-04-28 13:34:43 +07:00
Visman
7c7e1a097f Up min PHP version from 7.3 to 8.0 - 3 2023-04-28 10:58:24 +07:00
Visman
a191fbf789 Up min PHP version from 7.3 to 8.0 - 2 2023-04-27 22:48:04 +07:00
Visman
5528d0480b Up min PHP version from 7.3 to 8.0 2023-04-27 19:36:15 +07:00
Visman
53daef4623 Update Install.php 2023-04-26 17:22:39 +07:00
Visman
ce008eeb5a Update Config.php 2023-04-26 16:58:16 +07:00
Visman
9211cb7481 Update Options.php 2023-04-26 16:58:14 +07:00
Visman
5af26f9c89 Update addRules() method in Validator
Now the rule can be specified as an array. Sometimes needed for 'in' and 'not_in'.
2023-04-26 16:58:09 +07:00
Visman
6443ebd72a Update profile_othe lang 2023-04-26 00:56:52 +07:00
Visman
da086bead6 Update maintenance.forkbb.php 2023-04-25 23:07:39 +07:00
Visman
f72f6af7c4 Fix typo 2023-04-25 22:55:48 +07:00
Visman
f1bc7954ef Migrate from timezone offsets to PHP timezone identifiers 2023-04-25 22:20:50 +07:00
Visman
a2dae4b867 Update Online.php
Separate flies from cutlets O_o
2023-04-24 20:28:52 +07:00
Visman
7fdf4bf32d Update UpdateLastVisit.php
Add check for new last visit date.
2023-04-24 20:27:21 +07:00
Visman
c6e6bbf4de Update for title attribute 2023-04-22 19:18:18 +07:00
Visman
be1f90abd2 Update form.forkbb.php 2023-04-22 17:43:46 +07:00
Visman
9aafe533f8 Change style and structure for <main> 2023-04-22 17:33:36 +07:00
Visman
7a3f22f0c3 Update publicLink() method for Page
Minified files are included automatically.
2023-04-20 20:18:08 +07:00
Visman
00dd2eea9c Fix PM menu 2023-04-19 14:42:20 +07:00
Visman
5d6d08e98a Make the <h1> heading dependent on the page content
Continuation
2023-04-19 12:50:14 +07:00
Visman
c1ccab16e6 Make the <h1> heading dependent on the page content
Start.
Live can be seen on the  https://forkbb.ru/
2023-04-18 23:08:15 +07:00
Visman
7f56820410 Fix img bbcode 2023-04-18 22:05:52 +07:00
Visman
0c020783d4 Fix double id 2023-04-18 21:33:32 +07:00
Visman
7699db8f5d Swap navigation and main content in html code 2023-04-18 13:49:57 +07:00
Visman
8a7abbcad5 Change the name of identifiers 2023-04-18 13:04:01 +07:00
Visman
0742e2b112 Making schema.org
Well, nothing is clear with this scheme :(
2023-04-17 23:51:30 +07:00
Visman
075a6d8a27 Add h3 in posts on new reply page 2023-04-16 23:47:52 +07:00
Visman
e6c658a23f Add aria-current="page"
I'm not sure if this is done correctly. If there are several pages in pagination?
2023-04-16 23:06:49 +07:00
Visman
aa9d137f99 Add schema.org/BreadcrumbList 2023-04-16 21:27:41 +07:00
Visman
ae143f12e0 Fix for pagespeed 2023-04-16 10:51:50 +07:00
Visman
318a1d2f69 Fix style
Now sandwich buttons are available from the keyboard. Opening-closing the menu by pressing the spacebar (at least on a computer O_o).
2023-04-15 21:57:19 +07:00
Visman
ead1441bf7 Rev 52
Update the structure of the online table.
2023-04-14 17:51:30 +07:00