Commit graph

65 commits

Author SHA1 Message Date
Roman Kelesidis
ce9c3d9b47
Generate jumpbox files only if enabled (#764) 2023-06-04 10:21:27 +07:00
Roman Kelesidis
c6b6a79da9
Replaced bb_realpath() with native (#740) 2023-05-29 23:32:29 +07:00
Roman Kelesidis
d2588855fa
Moved poll functions to Poll class (#739) 2023-05-29 22:57:10 +07:00
Roman Kelesidis
8f2150a986
Minor improvements (#735) 2023-05-29 16:23:28 +07:00
Roman Kelesidis
eb94659c61
Replaced bb_exit() with native (#731) 2023-05-29 12:13:20 +07:00
Roman Kelesidis
737b7b992b
Use define instead of tpl variable (#726)
* COOKIE_MARK

* Use U_INDEX

* Removed BB_ROOT

* ONLY_NEW_TOPICS, ONLY_NEW_POSTS
2023-05-28 15:21:17 +07:00
Roman Kelesidis
d9d38935b6
Simplified IPHelper (#712) 2023-05-23 22:23:00 +07:00
Roman Kelesidis
7d56395196
Refactored is_gold & gender_image functions (#698) 2023-05-20 23:57:18 +07:00
Roman Kelesidis
4ff334bb45
WIP: Cumulative update (#685)
* Use lang variables instead of strings

* [Cache/Datastore] Use switch constructions

* Removed old-style debug from SQL wrapper

* Removed useless functions

* Use bb_date instead of native function
2023-04-18 23:08:57 +07:00
Roman Kelesidis
d6b94ac91f
Fixed empty $auth_key after gen passkey (#670) 2023-04-02 15:18:05 +07:00
Roman Kelesidis
0fd4b733fc
Minor fixes (#667) 2023-03-30 01:05:50 +07:00
Roman Kelesidis
58cc723e4b
Refactored Sessions class (#656) 2023-03-27 10:06:50 +03:00
Roman Kelesidis
ef4e1aa18f
Added IPHelper implementation (#631) 2023-03-20 09:52:28 +03:00
Yury Pikhtarev
faf2306862
Switching to Symfony Mailer (#629)
* Switching to Symfony Mailer

Additionally, support for all versions of PHP below 7.4 has been withdrawn

* Language variable for reply to

* Update to PHP 7.4
2023-03-20 01:26:26 +07:00
Yury Pikhtarev
7019d31353
Miscellaneous static analysis improvements for php 7.1 (#620)
* Miscellaneous static analysis improvements for php 7.1

* Update changes.txt
2023-03-17 18:02:00 +03:00
Roman Kelesidis
4e8e181d8c
Added passkey check in get_bt_userdata (#621) 2023-03-17 21:50:29 +07:00
Yury Pikhtarev
e4b6a91909
New cron initialization and minor edits (#619)
* New cron initialization and minor edits

Updated the mechanism to check if cron needs to run and made minor improvements to the first run

* Adding a warning in the control panel
2023-03-17 15:26:07 +03:00
Roman Kelesidis
823b947ce6
Fixed issue with generate_user_info (#610) 2023-03-17 12:48:15 +07:00
Roman Kelesidis
1b2e40c512
Minor adjustments (#607)
* Minor adjustments

* Make generate_user_info globaly.
* Added NOSELECT if field is empty

* Applied some fixes

* Applied requested changes
2023-03-17 12:17:48 +07:00
Roman Kelesidis
adfb27ecdf Fixed get_avatar method 2023-03-09 22:49:28 +07:00
Roman Kelesidis
903a2ced32 Revert "Minor adjustments #572"
This reverts commit 90d1fc4236.
2023-03-08 11:46:03 +07:00
Roman Kelesidis
90d1fc4236 Minor adjustments #572
* Replaced bb_ltrim method with native
* Replaced bb_rtrim method with native
* Simplified make_rand_str method
2023-03-08 10:29:56 +07:00
Roman Kelesidis
1dc01fe0b2 Removed deprecated SQL_CACHE
https://dev.mysql.com/worklog/task/?id=10837
2023-02-28 14:37:15 +07:00
Roman Kelesidis
e4e337942d Added user birthday icon in profile
Добавляет иконку тортика в профиль.

До этого иконка выводилась только в viewtopic, теперь же она добавляется в viewprofile

Для универсальности написал отдельную функцию которая принимает в себя $user_birthday и $user_id.
2023-02-20 18:50:03 +07:00
Roman Kelesidis
dcb3b6f596 Revert "Misc code improvements"
This reverts commit b479068bf3.
2023-02-17 23:31:23 +07:00
Roman Kelesidis
261e8b6e27 Updated copyright year 2023-01-27 18:30:34 +07:00
Roman Kelesidis
b479068bf3 Misc code improvements 2023-01-23 20:18:04 +07:00
Yuriy Pikhtarev
a4845b4514
PHP 7+ deprecations of old cache systems
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-26 15:09:47 +03:00
Yuriy Pikhtarev
1cbc084f2e
Fix magnet link passkey creation for new users
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-24 18:08:20 +03:00
Yuriy Pikhtarev
78af495048
Unqualified function/constant reference and much more
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-24 16:46:50 +03:00
Yuriy Pikhtarev
742575bb56
Short list syntax can be used
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-24 15:21:55 +03:00
Yuriy Pikhtarev
f0d6d30def
Null coalescing operator can be used
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-24 15:18:35 +03:00
Yuriy Pikhtarev
83ca67fae6
Split functions to the composer autoloading
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-24 14:20:29 +03:00
Yuriy Pikhtarev
2f9cef0a39
Update copyright to the short syntax. 2018-06-23 21:50:13 +03:00
Yuriy Pikhtarev
b54c9d0c2e
Various bug fixes described on the forum. 2017-07-29 09:08:36 +03:00
Yuriy Pikhtarev
1575b6eae0
Release 2.2.0. 2017-06-12 21:18:41 +03:00
Yuriy Pikhtarev
06684aae4c
Fix avatars display bug. 2017-06-10 12:19:54 +03:00
Yuriy Pikhtarev
18aeb3e9d5
Cron subsystem rework. Environments. 2017-06-10 12:02:47 +03:00
Yuriy Pikhtarev
46127baf3f
Old ads module removal. 2017-05-27 13:12:07 +03:00
Yuriy Pikhtarev
80a035d191
PSR-4 compatible legacy code autoloading. 2017-05-23 23:18:23 +03:00
Yuriy Pikhtarev
3d817078a6
Deprecated each() function in php 7.2 2017-05-09 20:25:59 +03:00
Vasily Komrakov
56540c893a
Change for with count. 2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
1daec3c319
Short syntax for applied operation.
(cherry picked from commit a391e21)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
a1ca9a0466
Callable name case mismatched in a call.
(cherry picked from commit 43f3e91)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
335195365f
Class property initialization flaws.
(cherry picked from commit cf5285f)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
5d6039d1c5
Parameter could be declared as array.
(cherry picked from commit 07c6fd4)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
8e5338e5d3
'str(i)str(...)' could be replaced with 'str(i)pos(...)'.
(cherry picked from commit b4d079f)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
21c8e7d48a
Type casting can be used.
(cherry picked from commit b5065ae)
2017-05-07 21:05:18 +03:00
Yuriy Pikhtarev
64df3c5538
'null === ...' can be used.
(cherry picked from commit ec96f65)
2017-05-07 21:03:32 +03:00
Yuriy Pikhtarev
13e3cf6c0d
Elvis operator can be used.
(cherry picked from commit 6a3bf7c)
2017-05-07 21:03:32 +03:00