Commit graph

2027 commits

Author SHA1 Message Date
Visman
a828436496 Add editor_id_idx index for ::posts table 2023-08-11 22:39:27 +07:00
Visman
8b829e571a Add Open Graph 2023-08-11 18:49:54 +07:00
Visman
053bfe9b76 For og:image 2023-08-10 22:39:00 +07:00
Visman
046c1dbe92 Move the formation of canonical and robots to templates 2023-08-09 23:28:41 +07:00
Visman
e726eb1024 Update INSERT queries 2023-08-09 20:46:19 +07:00
Visman
ab43a46433 Fix Profile\View page 2023-08-09 18:06:14 +07:00
Visman
4a32811d33 Add an individual description for each profile 2023-08-09 17:54:17 +07:00
Visman
1057701d0c Add a description meta tag, while common to all pages 2023-08-08 23:08:04 +07:00
Visman
fcee58adea Set order in canonical addresses 2023-08-08 21:52:44 +07:00
Visman
a313b142be Remove H3 from the main page and forum pages
The search engines are behaving very strangely :(
2023-08-07 19:59:22 +07:00
Visman
2b7398ec30 Up rev 2023-08-06 20:50:36 +07:00
Visman
dcde27781d Add followed forums for "Latest active topics" and "Unanswered topics" 2023-08-06 20:49:53 +07:00
Visman
7313224e57 Remove unused 2023-08-06 14:34:24 +07:00
Visman
c58776b74c Typo fix 2023-08-06 14:26:59 +07:00
Visman
c258e63f36 Remove single quote character from forced disallowed in username 2023-08-05 22:17:00 +07:00
Visman
392c57f73f Up rev 2023-08-05 18:41:44 +07:00
Visman
f2c9679e30 Add config for module Test
Now in the configuration you can set external form referrers.
Use a translator to read the comments in the test.default.php file.
2023-08-05 18:40:47 +07:00
Visman
564f95ffd6 Give the user 20 minutes to silently edit their posted message 2023-08-03 19:56:16 +07:00
Visman
b64f9d17e3 Update Test.php 2023-08-02 20:59:00 +07:00
Visman
214bbbfaa0 Fix Undefined variable $user 2023-08-01 17:47:32 +07:00
Visman
30083d0c35 Add to previous commit $_SERVER['REMOTE_ADDR'] 2023-08-01 00:23:22 +07:00
Visman
8f2886d210 Added verification of a token generated outside the engine
https://forkbb.ru/post/211#p211
2023-07-31 23:54:16 +07:00
Visman
68abe1e665 Update Current.php 2023-07-31 18:16:59 +07:00
Visman
39309de302 Fix url() function 2023-07-31 17:44:25 +07:00
Visman
5a7ef2003e Up rev 2023-07-30 21:26:57 +07:00
Visman
769a9a69d7 Add MAX_SUBJ_LENGTH to container 2023-07-30 21:24:18 +07:00
Visman
22b1d25d1b Fix for admin note 2 2023-07-30 01:10:17 +07:00
Visman
a0b67dd229 Fix for admin note 2023-07-30 01:07:23 +07:00
Visman
a956829ae8 Change regex for website field 2023-07-30 00:54:43 +07:00
Visman
edfae72916 Change email display logic
Logic moved from rules to user model.
2023-07-29 21:04:08 +07:00
Visman
aeb1e97d09 Add media.js
My modification for fluxbb and punbb with some changes.
2023-07-28 21:55:09 +07:00
Visman
1bc7687789 Update defaultBBCode.php 2023-07-28 19:05:40 +07:00
Visman
45c890e063 Add audio/flac 2023-07-28 19:04:53 +07:00
Visman
a225cd5638 Fix Duplicate entry for markread 2023-07-28 09:37:10 +07:00
Visman
402629dfb4 Token lifetime for sending messages is set to 1 hour. 2023-07-27 14:22:46 +07:00
Visman
4c78b07a95 Change Csrf\verify() method + token rule in Validator to be able to set the token lifetime 2023-07-27 14:22:35 +07:00
Visman
0c89a2e5bc Change img bbcode 2023-07-26 19:30:39 +07:00
Visman
cfb943da1b Add vertical indents to bbcodes code, qote, img, table, list
In the admin panel in the management of bb codes, you need to make changes.
2023-07-26 18:15:25 +07:00
Visman
d8aa723425 Update Current.php 2023-07-25 21:23:49 +07:00
Visman
eb3c6256da Add REQUEST_METHOD to log 2023-07-25 17:26:20 +07:00
Visman
2e108b2edd The title Guest should be displayed before the title Banned 2023-07-24 21:23:10 +07:00
Visman
86ca176c0a Add a visual notification when a new private message arrives
Implemented by adding a class to div (id="fork") and animation.
2023-07-24 17:34:01 +07:00
Visman
59d1325ae5 Fix for guest post 2023-07-23 21:53:04 +07:00
Visman
af44c5d6d8 Update previous commit 2023-07-23 15:07:57 +07:00
Visman
482061f54d Add sending an email to reset the passphrase when trying to re-register 2023-07-23 10:22:33 +07:00
Visman
987b2b4e48 Fix nekot rules 2023-07-23 09:18:07 +07:00
Visman
61705d001d Fix Test modul 2023-07-22 23:24:49 +07:00
Visman
22ab66d61b Update bootstrap.php 2023-07-22 22:30:11 +07:00
Visman
77fa96cbc3 Fix OAuth account registration with banned email 2023-07-22 22:19:14 +07:00
Visman
717dbe456a Update lang files 2023-07-22 21:49:33 +07:00
Visman
63c5797d04 Update post form 2023-07-22 21:49:13 +07:00
Visman
ccaec8582b Update Register page 2023-07-22 21:48:49 +07:00
Visman
cc39442719 Update main.dist.php 2023-07-22 21:48:18 +07:00
Visman
e91a93e84a Update router 2023-07-22 21:48:02 +07:00
Visman
91b89aff1f Update admin page 2023-07-22 21:47:47 +07:00
Visman
00d8333b40 Add nekot rule 2023-07-22 21:47:29 +07:00
Visman
a3be7d79f8 Add Admin\Antispam page 2023-07-22 21:47:05 +07:00
Visman
3f39c62e61 Update update page 2023-07-22 21:46:39 +07:00
Visman
240310b85e Update install page 2023-07-22 21:46:19 +07:00
Visman
b2aac7c4a8 Update main.dist.php 2023-07-22 15:09:34 +07:00
Visman
da9843cf75 Fix install 2023-07-22 14:09:36 +07:00
Visman
bb0737e384 Change forms 2023-07-21 16:36:08 +07:00
Visman
7ef10e86d6 Log information from the Test module 2023-07-21 12:00:03 +07:00
Visman
b7cbc19151 Remove token from search forms in Search page 2023-07-20 20:16:00 +07:00
Visman
ea95760c46 Add OpenSearch 2023-07-20 17:57:41 +07:00
Visman
ed22304e4a The + symbol in the uri is a space, and %2B is + 2023-07-20 17:40:28 +07:00
Visman
b47de7042a Reduce ignore interval to 3 seconds 2023-07-20 12:59:43 +07:00
Visman
ad442c271a Typo fix 2023-07-20 12:49:46 +07:00
Visman
8d3fff3016 Up rev 2023-07-19 19:02:43 +07:00
Visman
688b7d580b Fix Profile\Pass page 2023-07-19 18:53:10 +07:00
Visman
f66c890db3 Add g_delete_profile to group properties, default = 0. Configured in the admin panel in groups.
Will not work until the update to revision 63 is completed.
2023-07-19 18:30:30 +07:00
Visman
c21fdc7423 Add "Delete Profile" to Profile\Edit page
Will not work until the update to revision 63 is completed.
2023-07-19 17:41:17 +07:00
Visman
cacaa46f0f Add deleteMyProfile for profile rules
Admins can't delete themselves O_o
2023-07-19 17:38:13 +07:00
Visman
212208c430 Fix Admin\Bans page 2023-07-19 17:36:19 +07:00
Visman
c77aae8af2 Change lang files 2023-07-19 17:35:23 +07:00
Visman
442a87ab74 Add for 3531a9251b 2023-07-19 14:34:15 +07:00
Visman
ca6f41f161 Update validator.po 2023-07-19 14:21:59 +07:00
Visman
17118da1a5 Update validator.po 2023-07-19 14:18:42 +07:00
Visman
3531a9251b Add a ban (username and email) for the user to be deleted
To prevent re-registration for deleted users.
2023-07-19 13:42:10 +07:00
Visman
8014634a25 Update PostFormTrait.php 2023-07-19 00:02:15 +07:00
Visman
5d25de1145 Similarly for user list and search 2023-07-18 19:31:02 +07:00
Visman
8e5ea25640 Remove username length limit in the admin panel for bans and searches 2023-07-18 18:11:18 +07:00
Visman
4a0a13f31a Fix for delete guest post 2023-07-18 18:07:37 +07:00
Visman
1000a97430 Add more html5 validation
https://caniuse.com/?search=user-invalid
https://caniuse.com/?search=minlength
2023-07-17 20:03:23 +07:00
Visman
deadb448d4 Update validator.po 2023-07-17 18:40:57 +07:00
Visman
de881e0011 Update bootstrap.php 2023-07-16 20:02:37 +07:00
Visman
5c5e5385f4 Allow admins to create/rename users with custom names
The maximum name length is 190 characters.
Characters with codes from 0 to 31 and @, ', ", \, /, <, > are prohibited.
2023-07-16 20:00:38 +07:00
Visman
e7676f6cfd Add more settings for username to engine config 2023-07-16 19:35:01 +07:00
Visman
4a4056281f Reduce memory consumption when searching if the result is displayed as a list of topics
For the moment when there is no valid cache.
2023-07-16 12:14:22 +07:00
Visman
ddc3cafbd6 Change index in ::search_matches table
Before /* Затронуто строк: 0  Найденные строки: 700 996  Предупреждения: 0  Длительность  1 запрос: 0,063 sec. (+ 44,990 sec. network) */
After  /* Затронуто строк: 0  Найденные строки: 700 996  Предупреждения: 0  Длительность  1 запрос: 0,000 sec. (+ 1,154 sec. network) */
2023-07-16 11:36:50 +07:00
Visman
abf9625e47 Fix return from topic to topic list by anchor
Refresh cache.
2023-07-15 21:43:37 +07:00
Visman
cfc3ae81ca Change multi_idx index in ::posts table
Before /* Затронуто строк: 0  Найденные строки: 701 075  Предупреждения: 0  Длительность  1 запрос: 4,790 sec. (+ 0,312 sec. network) */
After  /* Затронуто строк: 0  Найденные строки: 701 075  Предупреждения: 0  Длительность  1 запрос: 0,827 sec. (+ 0,280 sec. network) */
2023-07-15 21:20:26 +07:00
Visman
8df01cbac7 Add a little more optimization
Consider the topic author and the author of the last post in the topic so as not to send a database query.
2023-07-15 16:27:36 +07:00
Visman
d8bb95fcff Optimize search page "Topics with your posts" for "User has posted earlier" == YES 2023-07-15 15:54:54 +07:00
Visman
6e0923ac44 Update topic/topic_in_search templates 2023-07-15 12:41:48 +07:00
Visman
ebef5d5dad Add some order 2023-07-14 20:45:32 +07:00
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