Commit graph

92 commits

Author SHA1 Message Date
Roman Kelesidis
119cf935a2
Minor improvements (#903) 2023-09-17 16:17:10 +07:00
Roman Kelesidis
c654a9ae36
Tracker announce & scrape improvements 🥳 (#901)
* Tracker announce & scrape improvements

* Fixed null variables

Co-Authored-By: Constantine Kovalensky <45331093+kovalensky@users.noreply.github.com>

* Hybrid topics handling in announcer

* Updated

* Use correct data types

* Revert "Use correct data types"

This reverts commit bc9f0e4d6f.

* Update announce.php

* Showing downloaded times in stats

* Updated

* Updated

* Debugging variables

* Update scrape.php

* Updated

* Update announce.php

* Update announce.php

* Code re-formatting

* Code re-formatting

* Updated

* Update config.php

* Update tr_make_snapshot.php

* Update tr_complete_count.php

* Stopped event should be handled before cache check

* Include torrent download name in magnet link

* Magnet name re-formatting

* Smart cache management

---------

Co-authored-by: Constantine Kovalensky <45331093+kovalensky@users.noreply.github.com>
2023-09-14 08:38:07 +07:00
Roman Kelesidis
209b8cd638
Minor improvements (#884)
* Minor improvements

* Update displaying_torrent.php

* Updated

* Updated

* Updated

* Update terms.php
2023-09-04 16:42:15 +07:00
Roman Kelesidis
4b453de64a
Minor improvements (#882)
* Minor improvements

* Updated

* Updated

* Updated

* Update privmsg.php

* Updated

* Update admin_attach_cp.php
2023-09-04 01:01:01 +07:00
Constantine Kovalensky
50926639cf
BitTorrent v2 support enhancements 🥳 (#876)
* BitTorrent v2 support enchancements

* Added torrent name sanitizing

* Using faster language construct instead of function call for name sanitizing

* Minor improvements

- Fixed deformed avatars => get_avatar() function
- Removed outdated dc links support

* Code comments

* Changed function name

* Added table generation function with file list

For search engines to index

* Used humn_size function for size formatting in table generation

* Fixed typo

* Removed useless language variables

* Fixed code formatting

* Fixed broken displaying magnet link

* Torrent fields sanitization in table

* Fixed info hash issue

* Support for v2 only torrents

* Code re-formatting

* Typo

* Update Torrent.php

* Update functions.php

* Updated

* Updated

* Update Torrent.php

* Update TorrentFileList.php

* Update Torrent.php

* Update Torrent.php

* Update Torrent.php

* Update Torrent.php

* Error msg

* Update Torrent.php

* Update Torrent.php

* Updated

* Update Torrent.php

* Update Torrent.php

* Update config.php

* Update mysql.sql

* Update mysql.sql

* Update mysql.sql

* Update mysql.sql

* Update mysql.sql

* String fixes

* Update TorrentFileList.php

---------

Co-authored-by: Roman Kelesidis <roman25052006.kelesh@gmail.com>
2023-09-03 00:55:21 +07:00
Roman Kelesidis
7281480b0f
Created function get_banned_users() (#878) 2023-09-02 10:28:31 +07:00
Roman Kelesidis
072b5a074f
WIP: Added search by info_hash v2 🐯 (#869)
* Added search by info_hash v2

* Update functions.php

* Update functions.php
2023-08-27 21:13:36 +07:00
Roman Kelesidis
9b43d144a4
Minor improvements (#868)
* Minor improvements

* Update viewforum.php

* Updated
2023-08-27 20:05:27 +07:00
Constantine Kovalensky
fadce7a297
BitTorrent v2 support 🐸 (#866)
* BitTorrent v2 support

* Update TorrentFileList.php

* BitTorrent v2 support

Added support for BitTorrent v2 file hash displaying, magnet links

* Updated

* Updated

* Update changes.txt

* Update Torrent.php

* Update Torrent.php

* Updated

* Added support in announcer

* Update announce.php

* Update scrape.php

* Update scrape.php

* Update scrape.php

* Changed the condition for single files

* Update scrape.php

* Update displaying_torrent.php

* Update displaying_torrent.php

* Update displaying_torrent.php

---------

Co-authored-by: Roman Kelesidis <roman25052006.kelesh@gmail.com>
2023-08-27 18:33:38 +07:00
Roman Kelesidis
a2e8817b5f
Minor improvements (#863)
* Minor improvements

* Update posting.tpl

* Update posting.tpl

* Updated

* Update globals.css
2023-08-24 14:34:28 +07:00
Roman Kelesidis
7f499cf853
Minor improvements (#844) 2023-07-24 13:06:14 +07:00
Roman Kelesidis
ab0d2133d4
Minor improvements (#843) 2023-07-24 12:55:46 +07:00
Roman Kelesidis
9ba9ca2b61
Passkey rework 🔫 (#839)
* WIP: Passkey rework 🔫

* Update tracker.php

* Update Torrent.php

* Update Torrent.php

* Update displaying_torrent.php

* Update viewforum.php

* Update Torrent.php

* Update functions.php

* Update functions.php

* Updated

* Update config.php

* Update functions.php

* Update usercp_viewprofile.tpl

* Update usercp_viewprofile.tpl

* Updated

* Updated

* Update usercp_viewprofile.tpl

* Update usercp_viewprofile.tpl

* Update displaying_torrent.php
2023-07-23 23:55:57 +07:00
Roman Kelesidis
a73ea633e4
Refactored get_userdata() function (#836) 2023-07-23 01:17:23 +07:00
Roman Kelesidis
084d567543
Minor improvements (#816) 2023-06-23 23:49:07 +07:00
Roman Kelesidis
41664685ba
Minor improvements (#812)
* Minor improvements

* fix

* fix

* Update viewtopic_attach.tpl

* Revert "Maked max post length configurable (#793)"

This reverts commit fd42eae329.

* Update config.php

* fix
2023-06-21 14:03:19 +07:00
Roman Kelesidis
79b2677809
Minor improvements (#809)
* Minor improvements

* Fix

* Fix

* Update functions.php
2023-06-13 13:26:56 +07:00
Roman Kelesidis
23544f4acf
Fixed pagination (#800) 2023-06-10 13:30:54 +07:00
Roman Kelesidis
99602ec255
Minor improvements (#798) 2023-06-10 11:14:26 +07:00
Roman Kelesidis
0bc3903c9d Revert "Generate jumpbox files only if enabled (#764)"
This reverts commit ce9c3d9b47.
2023-06-08 00:03:12 +07:00
Roman Kelesidis
4c725f6246 Revert "Minor improvements (#766)"
This reverts commit 75c0920dce.
2023-06-08 00:03:01 +07:00
Roman Kelesidis
c3e1e7283b Revert "[ACP] Added showing user device type in online info (#772)"
This reverts commit a8eec778df.
2023-06-07 14:14:08 +07:00
Roman Kelesidis
f4de0d17cc
Fixed null $u_data if user not found (#783) 2023-06-06 15:54:32 +07:00
Roman Kelesidis
9202ecbc91 Revert "Fixed null $u_data if user not found (#781)"
This reverts commit 1d1f9fa4aa.
2023-06-06 14:46:54 +07:00
Roman Kelesidis
1d1f9fa4aa
Fixed null $u_data if user not found (#781) 2023-06-06 14:37:24 +07:00
Roman Kelesidis
a8eec778df
[ACP] Added showing user device type in online info (#772) 2023-06-05 15:28:59 +07:00
Roman Kelesidis
75c0920dce
Minor improvements (#766) 2023-06-04 13:26:20 +07:00
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