Commit graph

2012 commits

Author SHA1 Message Date
Visman
4bb906c300 Minor edits 2023-09-19 20:54:25 +07:00
Visman
9f46e4e302 Add sorting for UPDATE queries 2023-09-19 20:53:58 +07:00
Visman
e18280fbb0 Add sorting for delete in Search\Index 2023-09-19 20:36:33 +07:00
Visman
a2410a371a Simplify Search\Delete 2023-09-19 20:35:16 +07:00
Visman
8ade529ff8 Add spaceship 2023-09-19 18:54:28 +07:00
Visman
e45170cd0e Add sorting for multi-line DELETE queries 2023-09-19 18:38:45 +07:00
Visman
bc4fec2e34 Add another message for the administrator if MAINTENANCE_OFF = true #21 2023-09-18 18:24:14 +07:00
Visman
16f22acf61 Fix Deadlock 2
Set the same order for deleted records from the ::online table.
https://forkbb.ru/topic/81/SQLSTATE%5B40001%5D%3A%20Serialization%20failure%3A%201213%20Deadlock%20found%20when%20tryin
2023-09-17 16:29:20 +07:00
Visman
62e39a8cf5 Update Log 2023-09-16 19:11:47 +07:00
Visman
128692b4c7 Update Simple Cache 2023-09-16 18:51:06 +07:00
Visman
9b1008e22b copyright 2023-09-16 18:00:58 +07:00
Visman
a0521b376c Move Dirk to the core of the engine
To further expand the functionality of the template engine.
2023-09-16 18:00:45 +07:00
Visman
70620c155f Add more database information for MySQL 2023-09-10 22:52:26 +07:00
Visman
257658ca5f Remove the time limit for recalculating the number of messages and topics 2023-09-10 11:18:29 +07:00
Visman
48bcd118ad Fix transaction abort in Search\truncateIndex() 2023-09-08 20:48:16 +07:00
Visman
faab11a2fb Rebuilding the search index is available only in maintenance mode 2023-09-08 20:07:15 +07:00
Visman
6f97f2c78d Recalculation of the number of user messages/topics (in the admin panel - in users) is available only in maintenance mode 2023-09-08 19:48:15 +07:00
Visman
9ccee7c135 Typo fix 2023-09-07 15:54:18 +07:00
Visman
62bf8a0779 Fix Deadlock
https://forkbb.ru/topic/81/SQLSTATE%5B40001%5D%3A%20Serialization%20failure%3A%201213%20Deadlock%20found%20when%20tryin
2023-09-01 18:01:50 +07:00
Visman
3229cd44f5 Update install 2023-08-23 17:45:47 +07:00
Visman
3710ac1dc4 Fix translate 2023-08-22 23:11:07 +07:00
Visman
1f34e1eefc Optimize (attempt to) recalculate user posts 2023-08-22 23:00:47 +07:00
Visman
8b13230ef4 Update bootstrap.php 2023-08-22 18:18:23 +07:00
Visman
81031a50f0 Up rev 2023-08-17 17:55:14 +07:00
Visman
1e29f0a0ba For previous commit 2023-08-16 16:22:40 +07:00
Visman
dacb8a3191 Add topics to recalculate posts 2023-08-16 16:19:07 +07:00
Visman
4eb77bbc1f Replace index (with composite) 2023-08-13 22:20:17 +07:00
Visman
62fd33bec2 Simplified query "Topics with your posts", part of the logic moved to php, for large forums 2023-08-13 21:41:00 +07:00
Visman
cc8231c09a Simplify query 2023-08-13 20:07:52 +07:00
Visman
8d70b9cae2 Simplify the "User Topics" query 2023-08-13 19:03:32 +07:00
Visman
6e89a3023e Update index 2023-08-13 18:29:35 +07:00
Visman
d18ec05c37 Replace index (with composite) 2023-08-13 18:08:03 +07:00
Visman
5be5ce1271 Optimize Forum\CalcStat 2023-08-13 18:05:53 +07:00
Visman
268ca03d2a Delete extra GROUP BY 2023-08-12 22:18:38 +07:00
Visman
40f9b55dfc Fix DELETE queries for MariaDB and MySQL(?)
MariaDB refuses to use index in queries like DELETE FROM WHERE IN (SELECT ...).
2023-08-12 21:36:08 +07:00
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