mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Minor improvements (#1516)
* Minor improvements * Update build_files_integrity.php * Update CHANGELOG.md * Updated
This commit is contained in:
parent
8e3d1b0479
commit
84f6c9f4a0
4 changed files with 8 additions and 8 deletions
|
@ -13,7 +13,7 @@
|
||||||
- Some security enhancements (Part 2) [\#1505](https://github.com/torrentpier/torrentpier/pull/1505) ([belomaxorka](https://github.com/belomaxorka))
|
- Some security enhancements (Part 2) [\#1505](https://github.com/torrentpier/torrentpier/pull/1505) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Some improvements for integrity checker [\#1501](https://github.com/torrentpier/torrentpier/pull/1501) ([belomaxorka](https://github.com/belomaxorka))
|
- Some improvements for integrity checker [\#1501](https://github.com/torrentpier/torrentpier/pull/1501) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Hide vote button in topic if guest [\#1507](https://github.com/torrentpier/torrentpier/pull/1507) ([belomaxorka](https://github.com/belomaxorka))
|
- Hide vote button in topic if guest [\#1507](https://github.com/torrentpier/torrentpier/pull/1507) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Minor improvements [\#1502](https://github.com/torrentpier/torrentpier/pull/1502), [\#1506](https://github.com/torrentpier/torrentpier/pull/1506), [\#1509](https://github.com/torrentpier/torrentpier/pull/1509), [\#1511](https://github.com/torrentpier/torrentpier/pull/1511), [\#1515](https://github.com/torrentpier/torrentpier/pull/1515) ([belomaxorka](https://github.com/belomaxorka))
|
- Minor improvements [\#1502](https://github.com/torrentpier/torrentpier/pull/1502), [\#1506](https://github.com/torrentpier/torrentpier/pull/1506), [\#1509](https://github.com/torrentpier/torrentpier/pull/1509), [\#1511](https://github.com/torrentpier/torrentpier/pull/1511), [\#1515](https://github.com/torrentpier/torrentpier/pull/1515), [\#1516](https://github.com/torrentpier/torrentpier/pull/1516) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- New Crowdin updates [\#1504](https://github.com/torrentpier/torrentpier/pull/1504), [\#1513](https://github.com/torrentpier/torrentpier/pull/1513) ([Exileum](https://github.com/Exileum))
|
- New Crowdin updates [\#1504](https://github.com/torrentpier/torrentpier/pull/1504), [\#1513](https://github.com/torrentpier/torrentpier/pull/1513) ([Exileum](https://github.com/Exileum))
|
||||||
|
|
||||||
## [v2.4.3](https://github.com/torrentpier/torrentpier/tree/v2.4.3) (2024-06-09)
|
## [v2.4.3](https://github.com/torrentpier/torrentpier/tree/v2.4.3) (2024-06-09)
|
||||||
|
|
|
@ -13,7 +13,7 @@ if (!defined('BB_ROOT')) {
|
||||||
|
|
||||||
global $bb_cfg;
|
global $bb_cfg;
|
||||||
|
|
||||||
if (!$bb_cfg['integrity_check']) {
|
if (!$bb_cfg['integrity_check'] || is_dir(BB_ROOT . '.git')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ foreach ($checksumFile as $line) {
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($filesList as $file) {
|
foreach ($filesList as $file) {
|
||||||
if (!file_exists(BB_ROOT . '/' . $file['path']) || (strtolower(md5_file(BB_ROOT . '/' . $file['path'])) !== strtolower($file['hash']))) {
|
if (!file_exists(BB_ROOT . $file['path']) || (strtolower(md5_file(BB_ROOT . $file['path'])) !== strtolower($file['hash']))) {
|
||||||
$wrongFilesList[] = $file['path'];
|
$wrongFilesList[] = $file['path'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,10 +123,10 @@ class BBCode
|
||||||
'[/i]' => '</span>',
|
'[/i]' => '</span>',
|
||||||
'[s]' => '<span class="post-s">',
|
'[s]' => '<span class="post-s">',
|
||||||
'[/s]' => '</span>',
|
'[/s]' => '</span>',
|
||||||
'[sup]' => '<sup>',
|
'[sup]' => '<sup><small>',
|
||||||
'[/sup]' => '</sup>',
|
'[/sup]' => '</small></sup>',
|
||||||
'[sub]' => '<sub>',
|
'[sub]' => '<sub><small>',
|
||||||
'[/sub]' => '</sub>',
|
'[/sub]' => '</small></sub>',
|
||||||
'[box]' => '<div class="post-box-default"><div class="post-box">',
|
'[box]' => '<div class="post-box-default"><div class="post-box">',
|
||||||
'[/box]' => '</div></div>',
|
'[/box]' => '</div></div>',
|
||||||
'[indent]' => '<div class="post-indent">',
|
'[indent]' => '<div class="post-indent">',
|
||||||
|
|
|
@ -206,7 +206,7 @@ function checkForm(form) {
|
||||||
bbcode.addTag("codeSpoiler", "spoiler", null, "", ctrl);
|
bbcode.addTag("codeSpoiler", "spoiler", null, "", ctrl);
|
||||||
bbcode.addTag("codeSup", "sup", null, "", ctrl);
|
bbcode.addTag("codeSup", "sup", null, "", ctrl);
|
||||||
bbcode.addTag("codeSub", "sub", null, "", ctrl);
|
bbcode.addTag("codeSub", "sub", null, "", ctrl);
|
||||||
bbcode.addTag("codeAcronym", "acronym", null, "", ctrl);
|
bbcode.addTag("codeAcronym", 'acronym="text"', "/acronym", "", ctrl);
|
||||||
bbcode.addTag("codeBox", "box", null, "", ctrl);
|
bbcode.addTag("codeBox", "box", null, "", ctrl);
|
||||||
bbcode.addTag("codeIndent", "indent", null, "", ctrl);
|
bbcode.addTag("codeIndent", "indent", null, "", ctrl);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue