Commit graph

1876 commits

Author SHA1 Message Date
xRy0
c38c12ffd1
Merge branch 'FeedIgnore' of https://github.com/xRy0/openvk into FeedIgnore 2025-05-20 22:26:21 +03:00
xRy0
f3f06ec090
feat(FeedIgnore): added uk strings 2025-05-20 22:25:30 +03:00
Ry0
3151fa7bdf
Merge branch 'master' into FeedIgnore 2025-05-20 21:50:33 +03:00
xRy0
37a9c2fb56
feat(FeedIgnore): added strings 2025-05-20 21:48:39 +03:00
xRy0
cb015a5710
feat(FeedIgnore): added js listner 2025-05-20 21:48:10 +03:00
xRy0
67d8f4e351
feat(FeedIgnore): design rework 2025-05-20 21:47:52 +03:00
xRy0
a2af0f849f
feat(FeedIgnore): check is global feed 2025-05-20 21:47:22 +03:00
xRy0
47b14a4190
feat(FeedIgnore): icon now have sense 2025-05-20 19:42:15 +03:00
xRy0
90a3352c99
feat(FeedIgnore): remove garbage logic 2025-05-20 19:35:03 +03:00
xRy0
ddefa14881
style: fix hover 2025-05-20 13:34:51 +03:00
xRy0
033a04eec0
style: created css class for button 2025-05-20 13:26:27 +03:00
xRy0
276474641b
fix(FeedIgnore): Linter is crazy xd 2025-05-20 12:54:44 +03:00
xRy0
c26e6420b4
feat(FeedIgnore): added draft of ignore feature to the feed posts 2025-05-20 12:33:26 +03:00
celestora
4b7d2b9b17
feat: database upgrade command (#1236) 2025-05-19 23:38:47 +03:00
55e0aa6a39
Revert "fix(thumbnails): use hash instead of real id (#1234)" (#1296)
This reverts commit a5d80b8f9b.
2025-05-18 15:02:26 +00:00
mrilyew
a5d80b8f9b
fix(thumbnails): use hash instead of real id (#1234)
Заменяется реальный id в ссылке превью на хэш, чтобы нельзя было делать
перебор или просмотр рандомных картинок. В данный момент не особо
критично (потому что можно перебирать посты), но при появлении вложений
в диалогах будет

Co-authored-by: Alexander Minkin <weryskok@gmail.com>
2025-05-18 17:53:39 +03:00
mrilyew
5e7ac304a5
fix(support): fix 500 on agent card edit (#1290)
Исправление карточки агента (смена первичного ключа с agent на id).

Для применения нужно очистить chandler/tmp/cache/database
2025-05-13 16:50:31 +00:00
Jillian Österreich
c25fd84c11
feat(support): add more telegram posts (#1282)
Для упрощения слежки над тикетами были добавлены дополнительные посты
при добавлении комментария и изменении статуса тикета, в случае если
существует отдельный чат под это в Телеграме.

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-05-10 16:55:54 +03:00
malushik
0a73a40f5f
update(locale-uk): up-to-time localisation (#1281) 2025-05-10 16:15:27 +03:00
mrilyew
1d06a41b39
fix: resolve issues related to API listens field, anonymous notifications, and UX bugs (#1279)
- Исправлено #1278 по идее
- Добавил поле listens в апи (показывается только для своих треков)
- Исправлен старинный баг, связанный с анонимкой (в уведомлении виден
реальный автор)
- Было неправильно добавлять ссылку на "избранное" в навигационное меню,
поэтому она перенесена в настройки на довольно логичное место
- Удалены некоторые импульсивности в коде и некоторые баги ux

---------

Co-authored-by: Alexander Minkin <weryskok@gmail.com>
2025-05-03 16:53:14 +03:00
c54ccf6e28
fix(actions): update Ubuntu (#1280)
20.04 is no longer supported by GitHub so using ubuntu-latest instead
2025-05-03 16:37:43 +03:00
Vladimir Barinov
b7fc23bb52
fix(pda), chore(locale): adapt for pda (#1276) 2025-04-19 17:37:59 +03:00
mrilyew
3e0c508ca1
fix(music, user, club): several patches (#1267)
- Исправлено 500 в плейлистах
- Заметил, что вместо причины бана отображается "подозрительная
активность", вернул показ оригинала сообщения

![1](https://github.com/user-attachments/assets/9a804076-8baf-4ab6-9294-82771480bcc0)
- Порядок подписчиков в группе идёт теперь от первых подписавшихся (об
этом вроде #1260)
- Удалены лишние методы deleteComment, поскольку есть
wall.deleteComment, временно~ урезано поле "attachments" в некоторых
методах. У фото теперь есть orig_photo
- Исправлена меняющаяся на один пиксель кнопка "воспроизвести" в плеере
в chrome и #1256,
2025-04-04 17:48:25 +03:00
mrilyew
be65f81a4a
fix(audio, favorites): big patch #1259
# Аудио
- Добавлена вкладка в аудио "загруженное" которую я забыл добавить в
октябре 2023. Она показывает загруженные аудио в порядке возрастания.
Есть так же идеи для вкладок "недавно прослушанное" и "ваши друзья
слушают" (последняя добавит иммерсивности, или как это называется,
персональности на сайт, хотя по факту она просто соберёт id всех друзей
и выдаст их недавние добавления в коллекцию), но тогда будет
нагромождение вкладок и придётся какое то сворачивание добавлять.
- Если аудио больше 10 и ты на странице аудио, то показывается мелкая
кнопка в правом нижнем углу которая развернёт счётчик и пагинатор.
- Если аудио обрабатывается (processed как я назвал в css) то появится
кнопка "всё равно хочу воспроизвести".
- При переключении трека меняется заголовок вкладки
- Если ты вызвал контекстное меню но оно ушло за экран, то оно будет
повыше.

# Уязвимости
- Убрана уязвимость в audio api что можно было посмотреть айди владельца
удалённого аудио. В целом непонятно использование id в тексте ошибки,
поскольку он не должен изменятся и быть обобщённым, по типу access to
audio denied. Но да ладно, коду три года всё таки.
- Удалённый контент заменяется "[deleted]" в /fave. Я бы на самом деле
не добавлял это, но меня испугал последний абзац fixed #1258 поэтому
добавил.
2025-03-28 17:04:13 +03:00
Vladimir Barinov
a12c77083b
fix(links, away) (fixes #1253) 2025-03-16 17:57:21 +03:00
Vladimir Barinov
4815186b79
chore(statistics): change behavior of active users count (#1254) 2025-03-16 17:53:58 +03:00
Vladimir Barinov
9ef7d2d7c4
fix(age): calculation (fixes #1252) 2025-03-16 16:51:05 +03:00
mrilyew
b92bf7f41a
feat(fave) (#1240)
* add liked content

* fix order

* linter

* linter errors fix

* задушнил

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-03-09 16:42:19 +03:00
def76226b7
feat(core): add phpstan for static analysis (#1223)
* feat: add phpstan for static analysis

* ci(actions): add phpstan action

* ci(actions): do analysing inside docker container

* fix(FetchToncoinTransactions): add var declaration

* fix(ServiceAPI/Wall): add var declaration

* fix(bootstrap): remove case-insensitive false vars

* fix(VKAPI/Handlers/Board): change parameters order

* fix(VKAPIRequestHandler): set fail's return type as never

* fix(VKAPI/Handlers/Groups): add array declaration

* fix(VKAPI/Handlers/Newsfeed): add return_banned declaration

* fix(VKAPI/Handlers/Notes): move $nodez declaration up

* fix(phpstan): most of the things and stupid lines of code

* fix(lint)

* fix(phpstan): less errors

* fix(lint): again. cuz i forgot about it

* fix(stan): all errors are gone now =3

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-03-09 16:03:33 +03:00
ayato
77c8e1245c
fix(locales/kk.strings): fix oopsie in Kazakh locale (#1246) 2025-03-06 15:52:47 +03:00
malushik
a88e929717
update(locale-uk): up-to-time localization (#1232)
* Update uk.strings

* Update uk.strings

* Update uk.strings
2025-02-28 18:15:51 +03:00
cb14085cd4
style: fixes (#1237) 2025-02-22 23:46:02 +03:00
n1rwana
ee0dd8c749
fix(away.php): fix link checking (#949)
* Фикс проверки заблокированных ссылок

* fix(away.php): syntax

---------

Co-authored-by: mrilyew <99399973+mrilyew@users.noreply.github.com>
Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-02-16 16:47:48 +03:00
ayato
6d721eb8b9
fix(messagebox): make dialogue content scrollable and remove height from dialogue header and action boxes (#1230)
Sometimes dialogue boxes get too long and end up going off the screen, making the content impossible to see. This change fixes that by allowing the dialogue content to scroll. It also removes some height restrictions from the header and action sections since they didn’t seem to serve a clear purpose (to me) and might have been causing layout issues.
2025-02-16 16:21:46 +03:00
ayato
00b408c299
fix(locale-en): change the phrasing for undoing a friend request (#1228)
"friends_leave_in_flw" is used to reject someone's request. This string is used to cancel an outgoing request.
2025-02-04 18:48:57 +03:00
mrilyew
7d0dbb26ed fix(editing): use post instead of get
fixes #1224
2025-02-03 17:26:16 +03:00
1317059bab
style: add linting for openvkctl script (#1222) 2025-01-31 19:17:59 +03:00
8a979fad9d
ci(actions): restrict 'pull_request' runs to outer PRs (#1221)
'push' runs will run anyway on commits inside of repository
2025-01-31 19:03:28 +03:00
6ec54a379d
feat: add linting of code (#1220)
* feat(lint): add php-cs-fixer for linting

Removing previous CODE_STYLE as it was not enforced anyway and using PER-CS 2.0.

This is not the reformatting commit.

* style: format code according to PER-CS 2.0 with php-cs-fixer

* ci(actions): add lint action

Resolves #1132.
2025-01-31 18:20:13 +03:00
koke228666
228f14e384
feat(documents): add download icon for documents (#1216) 2025-01-31 00:39:58 +02:00
celestora
4166481a75
fix(im): escape html in sent messages too (#1218)
fixes #1215
2025-01-30 00:13:20 +03:00
7fe0c6a122
ci(actions): unparallel builds (#1217)
this should fix linux/amd64 showing up as unknown/unknown on ghcr
2025-01-28 20:41:26 +03:00
mrilyew
b713c964a3 feat(docs): add unavailable book preview (bc pos-
-sible xss). uncomment if sure
2025-01-27 21:12:09 +03:00
mrilyew
0fb18e34f5 feat(docs): corct aud/img preview, hide report btn
when doc is yours.
2025-01-27 14:57:25 +03:00
ayato
9ea67ac8aa
feat(audio edit): make lyrics textarea resizeable (#1212)
* Update al_music.js: make the lyrics textarea resizable

* Update al_music.js: change max height of lyrics textarea
2025-01-24 18:55:39 +03:00
Jillian Österreich
4c050b2ad1
fix(midnight): incorrect color choice for picker 2025-01-23 14:13:28 +07:00
Jillian Österreich
2d462a6c34
fix(js): update package-lock.json
In order for the Docker build to be successful
2025-01-23 13:25:34 +07:00
Jillian Österreich
8f17c95bce
fix: remove check that caused layout to move away 2025-01-23 13:23:58 +07:00
mrilyew
67653c7a52 fix(docs): fix doc editing xss 2025-01-22 20:11:09 +03:00
mrilyew
9177075380 fix(docs): fix adding private document 2025-01-22 18:14:41 +03:00