Compare commits

..

61 commits

Author SHA1 Message Date
mr❤️🤢
7a6da164a9
Merge b97783f144 into 4b7d2b9b17 2025-05-28 11:14:25 +00:00
mrilyew
b97783f144 fix(photos): don't check rights of deleted album 2025-05-28 14:13:16 +03:00
mrilyew
12926f317d fix: revert previous 2025-05-28 14:13:08 +03:00
mrilyew
bd98c3c6c1 fix: hide anon gift name 2025-05-28 14:12:56 +03:00
mrilyew
3fea659b98 feat: "sent" at gifts page 2025-05-28 14:12:40 +03:00
mrilyew
d5128ced48 feat: ajloader styles change 2025-05-28 14:12:32 +03:00
mrilyew
70db59b35c feat(topic create) delete deprec. js 2025-05-28 14:12:20 +03:00
mrilyew
a9fef861c4 feat(topic edit): label for checkboxes 2025-05-28 14:12:08 +03:00
mrilyew
e7ec66b702 fix: hide reply button at closed topic 2025-05-28 14:12:00 +03:00
mrilyew
e82cb5d6d7 fix: undefined fields 2025-05-28 14:11:50 +03:00
mrilyew
a16b1cdef6 feat(wall.delete): explain condition 2025-05-28 14:11:42 +03:00
mrilyew
7b055e863c feat: add focus on status edit 2025-05-28 14:11:29 +03:00
mrilyew
ed8c166d7d fix(albums): "you have" on same id 2025-05-28 14:11:21 +03:00
mrilyew
ce5a742c7d fix(albums): "my photos" on same id 2025-05-28 14:11:13 +03:00
mrilyew
7e0fba2779 fix(picker): albums select 2025-05-28 14:10:52 +03:00
mrilyew
e5db5fd8b0 fix: not add photo to album if wrong 2025-05-28 14:10:41 +03:00
mrilyew
b05d39e27a feat: provide id on upload context 2025-05-28 14:10:29 +03:00
mrilyew
a6820d3ae0 feat: playlist cover is unlisted 2025-05-28 14:10:20 +03:00
mrilyew
e1dc5c67d6 fix: theme id != "mobile_ovk" 2025-05-28 14:10:12 +03:00
mrilyew
6c5f60aebc fix: space between types 2025-05-28 14:10:06 +03:00
mrilyew
1f8303dd15 feat: showArticle() css changes 2025-05-28 14:09:58 +03:00
mrilyew
199844ae85 feat: warning on post delete button 2025-05-28 14:09:41 +03:00
mrilyew
6d9381e48c feat: tickets text length to 200 2025-05-28 14:09:28 +03:00
mrilyew
37b00e27d4 fix: audio playing on report page 2025-05-28 14:09:20 +03:00
mrilyew
88c1430c9a feat(comms): warning before deletion 2025-05-28 14:09:04 +03:00
mrilyew
e72e310f7f feat: video not unlisted af. editing 2025-05-28 14:08:56 +03:00
mrilyew
1943913713 feat: autostart gif 2025-05-28 14:08:49 +03:00
mrilyew
7792a11e3f fix: careless topic deletion 2025-05-28 14:08:41 +03:00
mrilyew
a84829b72d fix: wrong comments when editing 2025-05-28 14:08:33 +03:00
mrilyew
c07cac857a feat: make doc width 60% 2025-05-28 14:08:19 +03:00
mrilyew
07bde0e649 fix: router recursion 2025-05-28 14:07:53 +03:00
mrilyew
86f8b0f923 feat: add comments sort 2025-05-28 14:07:40 +03:00
mrilyew
8a82952f0d fix: infinty scroll for high screens 2025-05-28 14:07:32 +03:00
mrilyew
ff988cccaf fix: followers scroll 2025-05-28 14:07:21 +03:00
mrilyew
afafb90fbd fix: add warning at nospam 2025-05-28 14:07:12 +03:00
mrilyew
1fc37d5e91 feat: count of comments on microblog 2025-05-28 14:07:03 +03:00
mrilyew
ccb1448c15 fix: add margin at post page 2025-05-28 14:06:16 +03:00
mrilyew
57ef9430f8 feat: enlarge graffiti 2025-05-28 14:05:35 +03:00
mrilyew
13926e00b7 fix: source window paddings 2025-05-28 14:05:25 +03:00
mrilyew
c4129d2cdc fix: textarea paddings 2025-05-28 14:05:15 +03:00
mrilyew
5f3b594e84 fix: notes picker 2025-05-28 14:04:58 +03:00
mrilyew
2948ed91c9 fix: 500 on followers page 2025-05-28 14:04:50 +03:00
mrilyew
a210e3cf46 fix: ajax on tickets 2025-05-28 14:04:37 +03:00
mrilyew
fbf287bcad fix: blacklist paddings 2025-05-28 14:04:15 +03:00
mrilyew
0c8a441df9 fix(scroll): don't set hash 2025-05-28 14:03:55 +03:00
mrilyew
f8e19d69bc fix(api): simplification 2025-05-28 14:03:45 +03:00
mrilyew
0ffd195cfd feat: skip theme styles 2025-05-28 14:03:37 +03:00
mrilyew
7a91156916 fix: wrong i18n xhtml text 2025-05-28 14:03:27 +03:00
mrilyew
8afc7c8c5c fix: wide avatars at tips 2025-05-28 14:03:19 +03:00
mrilyew
a9d7ff808a fix: don't show age of dead 2025-05-28 14:03:10 +03:00
mrilyew
21930aecb2 fix: typo in privacy 2025-05-28 14:02:56 +03:00
mrilyew
6814979c9f feat: add link to audiostatus 2025-05-28 14:02:25 +03:00
mrilyew
02321989a6 feat: auto set "from group" 2025-05-28 14:02:09 +03:00
mrilyew
b9bf98ef0a fix(picker): invalid album 2025-05-28 14:01:20 +03:00
mrilyew
2440f2afd9 fix: move all apps to search 2025-05-28 14:00:11 +03:00
mrilyew
9c01cd00fc feat(docs): ux changes 2025-05-28 13:59:37 +03:00
mrilyew
039988c7fc fix(docs): set correct margins 2025-05-28 13:59:26 +03:00
mrilyew
c07ebc2f4d feat(tips): add delay 2025-05-28 13:58:28 +03:00
mrilyew
da86a91b76 feat(ajax): show loading cursor 2025-05-28 13:58:03 +03:00
mrilyew
7c4743633e feat(wall): remove hidePanel() 2025-05-28 13:56:48 +03:00
mrilyew
15b9000ee1 fix(video api): fix items bug 2025-05-28 13:55:36 +03:00
10 changed files with 21 additions and 18 deletions

View file

@ -37,7 +37,6 @@ final class Gifts extends VKAPIRequestHandler
foreach ($user_gifts as $gift) { foreach ($user_gifts as $gift) {
$gift_item[] = [ $gift_item[] = [
"id" => $i,
"from_id" => $gift->anon == true ? 0 : $gift->sender->getId(), "from_id" => $gift->anon == true ? 0 : $gift->sender->getId(),
"message" => $gift->caption == null ? "" : $gift->caption, "message" => $gift->caption == null ? "" : $gift->caption,
"date" => $gift->sent->timestamp(), "date" => $gift->sent->timestamp(),

View file

@ -106,7 +106,7 @@ final class Notes extends VKAPIRequestHandler
return 1; return 1;
} }
public function get(int $user_id, string $note_ids = "", int $offset = 0, int $count = 10) public function get(int $user_id, string $note_ids = "", int $offset = 0, int $count = 10, int $sort = 0)
{ {
$this->requireUser(); $this->requireUser();

View file

@ -336,7 +336,12 @@ class Photo extends Media
public function getAlbum(): ?Album public function getAlbum(): ?Album
{ {
return (new Albums())->getAlbumByPhotoId($this); $album = (new Albums())->getAlbumByPhotoId($this);
if (!$album || $album->isDeleted()) {
return null;
}
return $album;
} }
public function toVkApiStruct(bool $photo_sizes = true, bool $extended = false): object public function toVkApiStruct(bool $photo_sizes = true, bool $extended = false): object

View file

@ -34,6 +34,12 @@
</a> </a>
</td> </td>
</tr> </tr>
<tr>
<td><span class="nobold">{_sent}: </span></td>
<td>
{$x->sent}
</td>
</tr>
<tr n:if="!empty($x->caption)"> <tr n:if="!empty($x->caption)">
<td><span class="nobold">{_comment}: </span></td> <td><span class="nobold">{_comment}: </span></td>
<td>{$x->caption}</td> <td>{$x->caption}</td>

View file

@ -76,14 +76,4 @@
<input type="hidden" name="hash" value="{$csrfToken}" /> <input type="hidden" name="hash" value="{$csrfToken}" />
</form> </form>
<script>
$(document).ready(() => {
u("#post-buttons1 .postFileSel").on("change", function() {
handleUpload.bind(this, 1)();
});
setupWallPostInputHandlers(1);
});
</script>
{/block} {/block}

View file

@ -33,9 +33,9 @@
</td> </td>
<td> <td>
{if $topic->getClub()->canBeModifiedBy($thisUser)} {if $topic->getClub()->canBeModifiedBy($thisUser)}
<input type="checkbox" name="pin" n:attr="checked => $topic->isPinned()" /> {_pin_topic}<br /> <label><input type="checkbox" name="pin" n:attr="checked => $topic->isPinned()" /> {_pin_topic}</label><br />
{/if} {/if}
<input type="checkbox" name="close" n:attr="checked => $topic->isClosed()" /> {_close_topic} <label><input type="checkbox" name="close" n:attr="checked => $topic->isClosed()" /> {_close_topic}</label>
</td> </td>
</tr> </tr>
<tr> <tr>

View file

@ -24,7 +24,7 @@
{if sizeof($comments) > 0} {if sizeof($comments) > 0}
<div class='scroll_container'> <div class='scroll_container'>
<div class='scroll_node' n:foreach="$comments as $comment"> <div class='scroll_node' n:foreach="$comments as $comment">
{include "comment.xml", comment => $comment} {include "comment.xml", comment => $comment, no_reply_button => $readOnly}
</div> </div>
</div> </div>
<div style="margin-top: 11px;"> <div style="margin-top: 11px;">

View file

@ -3840,12 +3840,13 @@ hr {
display: none; display: none;
position: fixed; position: fixed;
top: -10%; top: -10%;
background: rgba(26, 26, 26, 0.9);; background: rgba(0, 0, 0, 0.8);
box-shadow: 0px 0px 2px 0px black;
padding-top: 12px; padding-top: 12px;
width: 91px; width: 91px;
height: 25px; height: 25px;
text-align: center; text-align: center;
border-radius: 1px; border-radius: 2px;
margin: auto; margin: auto;
left: 0; left: 0;
right: 0; right: 0;

View file

@ -1200,6 +1200,7 @@
"coins_other" = "$1 votes"; "coins_other" = "$1 votes";
"users_gifts" = "Gifts"; "users_gifts" = "Gifts";
"sent" = "Sent";
/* Apps */ /* Apps */
"app" = "Application"; "app" = "Application";

View file

@ -1142,6 +1142,7 @@
"coins_many" = "$1 голосов"; "coins_many" = "$1 голосов";
"coins_other" = "$1 голосов"; "coins_other" = "$1 голосов";
"users_gifts" = "Подарки"; "users_gifts" = "Подарки";
"sent" = "Отправлено";
/* Apps */ /* Apps */
"app" = "Приложение"; "app" = "Приложение";