Commit graph

1044 commits

Author SHA1 Message Date
lalka2018
e2dee72c69 Fix notes list 2023-10-28 14:28:19 +03:00
lalka2018
390b4f6c24 Fix followers list in group 2023-10-28 14:25:54 +03:00
veselcraft
1f8f5cf6fa
Search: Fix PHP 8.2 compatibility (resolves #1000) 2023-10-28 13:29:19 +03:00
veselcraft
cd7b51fcf6
PHP 8.2 compatibility fix 2023-10-28 13:25:22 +03:00
Vladimir Barinov
ff976d022d
small fix for styles 2023-10-27 00:09:33 +03:00
Dmitry Tretyakov
6d1587471c Update WallPresenter.php 2023-10-25 18:23:34 +07:00
Dmitry Tretyakov
5e3b06a05b Update WallPresenter.php 2023-10-25 17:19:49 +07:00
Dmitry Tretyakov
672a8400c3 Update WallPresenter.php 2023-10-25 17:18:30 +07:00
Dmitry Tretyakov
2922204b48 Update Logs.xml 2023-10-25 17:11:04 +07:00
Dmitry Tretyakov
1320410f17 getRowCount() отменяется 2023-10-25 17:04:37 +07:00
Dmitry Tretyakov
aba5a1b49a Update WallPresenter.php 2023-10-25 16:50:26 +07:00
Dmitry Tretyakov
b70c6c96bb Update WallPresenter.php 2023-10-25 16:47:40 +07:00
Dmitry Tretyakov
158f1938bb Update WallPresenter.php 2023-10-25 16:45:21 +07:00
Dmitry Tretyakov
49a7047773
Patch array objects for PHP 8.1 (#999)
* Patch array objects for PHP 8

* Reswitch getting counts

* Update WallPresenter.php

* Update WallPresenter.php

* Fix
2023-10-25 16:42:26 +07:00
IsamiRi
e3b9fb9f41
Fix for #995 (#996) 2023-10-23 22:28:41 +03:00
Dmitry Tretyakov
1c3d4d8429 Revert "UPD code"
This reverts commit fef0203aa4.
2023-10-19 12:18:59 +07:00
Dmitry Tretyakov
fef0203aa4 UPD code 2023-10-19 12:02:39 +07:00
lalka2018
ab1c6dc843 Fix for deleting photos that don't have albums 2023-10-11 18:21:30 +03:00
Vladimir Barinov
a859fa13a5
[WIP] Textarea: Upload multiple pictures (#800)
* VKAPI: Fix bug when DELETED user appear if there is no user_ids

* Textarea: Make multiple attachments

* постмодернистское искусство

* Use only attachPic for grabbing pic attachments

TODO throw flashFail on bruh moment with pic attachments

* draft masonry picture layout in posts xddd

где мои опиаты???

* fix funny typos in computeMasonryLayout

* Fix video bruh moment in textarea

* Posts: add multiple kakahi for microblog

* Photo: Add minimal implementation of миниатюра открывашка

Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>

* Photo: Add ability to slide trough photos in one post

This also gives ability to easily implement comments and actions

* Photo: The Fxck Is This implementation of comments under photo in viewer

* FloatingPhotoViewer: Better CSS

- Fix that details background issue
- Make slide buttons slightly shorter by height

* FloatingPhotoViewer: Refactor, and make it better

- Now you can actually check the comments under EVERY photo
- Fix for textarea. Now you can publish comments

* Fix funny typos xddd

* Kinda fix poll display in non-microblog posts

* Posts: Fix poll display in microblog posts

* Add photos picker (#986)

* early implementation of photos pickir

Добавлен пикер фоточек и быстрая загрузка фото. Так же пофикшен просмотрщик фото в группах. Но, правда, я сломал копипейст, но это ладн.

* Fiks fotos viver four coments.

* Add picking photos from clubs albums

Копипейст и граффити так и не пофикшены

* Fix graffiti and copypaste

Какого-то хуя копипаста у постов срабатывает два раза.

* some fixesx

* dragon drop

* Fix PHP 8 compatibility

* 5 (#988)

---------

Co-authored-by: celestora <kitsuruko@gmail.com>
Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>
Co-authored-by: lalka2016 <99399973+lalka2016@users.noreply.github.com>
Co-authored-by: Alexander Minkin <weryskok@gmail.com>
2023-10-03 19:40:13 +03:00
lalka2016
db8e9d183f Fix typos in NoSpam 2023-10-02 17:24:01 +03:00
Vladimir Barinov
569a8e8bee
repositories/logs does not exist 2023-09-29 18:47:53 +03:00
lalka2018
cc5a56917b
fix gifts pagination (#984) 2023-09-18 18:09:25 +03:00
lalka2018
43de40a0dc
Add Video Picker (#981) 2023-09-17 19:19:25 +03:00
lalka2018
468eba80bd
Locales: Make more strings translatable (#961) 2023-09-17 16:22:59 +03:00
n1rwana
0ef413a5b9
Ability to hide "My applications" from the menu (#937) 2023-09-17 00:56:36 +03:00
lalka2018
2939936534
Update Post.php (#983) 2023-09-16 19:51:36 +03:00
lalka2018
06f324f98c
Фиксы для #980 и #979 (#982)
* Что я должен здесь сказать?

* playerock

* Copypaste
2023-09-16 19:14:23 +03:00
lalka2018
97a176c261
Редактирование постов только покруче (#979)
* Add editing posts

* Add checkboxes

* Add ctrl+enter + fix empty posts

* Fix funny bug
2023-09-14 20:54:22 +03:00
lalka2018
14d5caaf9f
Photos: AJAX support (#980)
* aj

* Drag'n'drop

* add good view
2023-09-14 20:36:29 +03:00
n1rwana
245f8690c6
[noSpam] Параметры блокировки (#960)
* Параметры блокировки

* Защита от SQLi и доработка поиска

* Фикс блокировки, если дата разблокировки не указана
2023-08-26 13:14:25 +03:00
n1rwana
e433e46b36
Исправлен редирект после удаления аватарки сообщества (#967) 2023-08-21 12:47:51 +03:00
n1rwana
0d66c8e9d6
Исправлено отображение блока с информацией о деактивации (#966) 2023-08-21 12:47:25 +03:00
lalka2018
4c0deec5af
r (#971) 2023-08-21 12:45:27 +03:00
lalka2018
69d0739ef1
dghnryjtyj (#972) 2023-08-20 17:55:41 +07:00
veselcraft
c2b6db1b8a
Global: Add underline while cursor hovering to the clickable counters in the left menu 2023-08-15 02:40:42 +03:00
n1rwana
1174ddfa4f
[Reports] Возможность перейти к посту из комментария (#965)
ПОРНО
2023-08-15 02:12:48 +03:00
veselcraft
a2c5896fa1
Reports: Fix 500 error while trying to delete group's publication 2023-08-15 01:10:49 +03:00
veselcraft
bddfbdc368
Reports: Fix 500 error while trying to delete any non-text publication 2023-08-15 00:59:57 +03:00
ee2e5e8d1c
Fix microblog comments and left menu links 2 (#956)
* Фикс комментариев в микроблоге

* Update @layout.xml

* Update @layout.xml

* Update comment.xml

---------

Co-authored-by: n1rwana <me@n1rwana.xyz>
2023-08-11 17:17:56 +03:00
n1rwana
6e7f8833fe
Fix microblog comments and left menu links (#955)
* Фикс комментариев в микроблоге

* Update @layout.xml
2023-08-11 17:10:18 +03:00
Jill
6159262026
Add reports (#634)
* Reports: [INDEV] Undone implementation of reports

* Reports: Backend is done

* Reports: Still makin it...

* Reports: Added report window

* Reports: Corrected the content type

* Reports: Make it work

* Reports: Minor fixes and localization

* Reports: Ability to hide Share and Like buttons

Also renamed the .sql file

* Revent some changes from 8f8d7bb

I will move them to the master branch

* Reports: Only for those who can access Helpdesk

* Reports: Modified the route

* Reports: Change the routes

* Reports: Show reports count

* Report: Fix URL

* Обновление репортов (#715)

* Репорты живы

* 2

* Better reports

* Логи

* Update DBEntity.updated.php

* noSpam

* Сбор IP и UserAgent + фикс логирования в IPs

* Новые поля для поиска etc.

* Fixes

* Fixes and enhancements

* Поиск по нескольким разделам

* Reports enhancements

* Совместимость с новыми логами

* Совместимость с новыми логами

* Update Logs.xml

* Update Logs.xml

* Logs i18n

* Update Logs.xml

* Update AdminPresenter.php

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
Co-authored-by: Ilya Prokopenko <55238545+Xenforce@users.noreply.github.com>
Co-authored-by: n1rwana <aydashkin@vk.com>
2023-08-11 16:50:19 +03:00
n1rwana
8265dc0fc6
Add logging system (#940)
* Логи

* Update DBEntity.updated.php

* Сбор IP и UserAgent + фикс логирования в IPs

* Fixes

* Совместимость с новыми логами

* Update Logs.xml

* Logs i18n

* Update Logs.xml

* Update AdminPresenter.php
2023-08-11 16:43:39 +03:00
n1rwana
7f46d683c3
Support: Give users the ability to close tickets themselves (#925)
* User can close ticket (#879)

* Localization

* Update SupportPresenter.php

* Update View.xml
2023-08-11 02:11:40 +03:00
n1rwana
8ca3de8afa
Clubs: Group bans fixed (#946) 2023-08-09 16:05:01 +03:00
n1rwana
4a65096e64
Clubs&Albums: Fix of empty names of albums and clubs (#936) 2023-08-09 15:50:04 +03:00
n1rwana
5c76b56da4
Исправление дублирования подписчиков/лайков/друзей (#941) 2023-08-04 15:10:23 +03:00
celestora
7b92ed58e7
Fix bug in photo vk api structure
I forgor that `pid` refers to virtual, not absolute, id
2023-07-13 14:27:07 +03:00
celestora
3db545f91a Fix bugs in photos.getUploadServer and photos.save 2023-07-12 20:49:55 +03:00
veselcraft
2018131934
Admin: Add password changer for user and password generator
localization coming soon (i hope @lumaeris will do this 4 me)
2023-07-12 02:35:45 +03:00
celestora
ef7b4b6c3e Fix firefox data uri popup cocksex in notes/create 2023-07-07 15:03:38 +03:00
celestora
a4454ab7a0 Re: Fix navigation to "[object Object]" after closing note 2023-07-07 14:52:10 +03:00
celestora
c53dce2bea Fix navigation to "[object Object]" after closing note 2023-07-07 14:45:50 +03:00
celestora
49e449e478 Notes: add new note viewing UI for wall 2023-07-06 13:20:49 +03:00
celestora
070ea16536 Fix permissions reporting (can_create_topic, can_post) for clubs in vk api 2023-07-06 11:44:46 +03:00
lalka2018
2e76ca16df
Wall: add notes attachments to posts (#907)
* Posts: add notes attachments
2023-07-05 14:54:58 +03:00
celestora
3d90eb89ec
Make messenger box larger
Addresses #906
2023-06-22 15:56:53 +03:00
lalka2018
59554172d6
Поддержка видео с YouTube в API и фикс board.php (#905) 2023-06-22 14:22:07 +03:00
lalka2018
2fed1d9fef
Подсказки в поиске (#901) 2023-06-22 12:39:25 +03:00
celestora
53fa14d89e
Use UA description instead of "api" in default API platform
OpenVK will try to guess OS and name of library which was used to make token generation request to more accurately represent.. stuff.
2023-06-17 14:25:21 +03:00
Dmitry Tretyakov
851c4e29f7
Lazyfixdown: Increase margin between right of sidebar and left of content 2023-06-14 15:29:58 +07:00
lalka2018
3e69d06474
VKAPI: методы для подарков, заметок, статусов, обсуждений и немного для фоток и групп (#876)
* API methods for gifts, notes, statuses

* Some fixes

Строки локализации у gifts.send теперь не костыльные и можно прикрепить до 10 аттачей к посту

* Small imp

Пофиксил пагинацию у заметков и подарок
Перенёс структуру заметок
Добавил аттачи к комментариям
Добавил проверку на удалённость аттача
Ну и пофиксил сортировку заметок

* VKAPI: Some methods for topics and photos

Добавлены методы для обсуждений (addTopic, closeTopic(), createComment(), deleteComment(), deleteTopic(), editTopic(), fixTopic(), getComments(), getTopics(), openTopic(), unfixTopic())
и для фотографий (createAlbum(), editAlbum(), getAlbums(), getAlbumsCount(), getById(), get(), deleteAlbum(), edit(), delete(), deleteComment(), createComment(), getAll(), getComments())

* fixsex
2023-06-13 21:03:43 +03:00
lalka2018
dd97ded326
Search: some fixes (#896) 2023-06-13 20:57:49 +03:00
celestora
05bac50057
Fix adapative resizing on club pages 2023-06-11 14:48:59 +03:00
Österreich Luminota
1423006bf1
Global: Change docs URL 2023-06-11 15:33:15 +07:00
Österreich Luminota
a5c1db0106
Admin: Add dark more toggle
yay dark mode

The switch can be turned off after a page reload even if the dark theme
is enabled. But hey, at least it works!

After updating the code, go to the "Web/static/js" folder and run the
`yarn install` command.
2023-06-11 14:02:59 +07:00
Österreich Luminota
1da9ff312c
JS: Bump jQuery ver to 3.0.0
Hopefully resolves GHSA-gxr4-xjj5-5px2 and GHSA-rmxg-73gg-4p98

After updating the code, PLEASE go to the "Web/static/js" folder and run
the `yarn install` command.
2023-06-11 13:59:34 +07:00
lalka2018
f9f6270da0
Search: Add search with parameters (#880)
* Search with parameters

* Small improvements

* Small improvements no.2

Поиск теперь нормально выглядит на других темах
При поиске по группам отображается количество участников там
Костыль с пропуском постов возвращён но немного изменён
Добавлен костыль к комментариям чтобы не показывались комменты с удалённых постов и не было бага как в вепуровке
Добавлены ключи в советском и имперском языке для моих прошлых пуллов (ну и этого конечно)

* Fix debilny oshibky

Убрал лишние ключи локализации, исправил панель поеска и исправил hometown

* fiksy bagiv

* ok

* ok 2

* ok

* rrrrrrrrrrrrrrrr

Добавил параметры в vkapi users.search(), пофиксил проверку коммерции, сузил параметры ещё больше и добавил анимацию выдвижения поиска чтобы красиво было
2023-06-10 18:54:02 +03:00
Österreich Luminota
7962a4efd7
Videos: Remove unnecessary attribute in the video tag 2023-06-06 11:40:21 +00:00
Österreich Luminota
8d67aaba8a
Auth: Autofocus 2FA key input field 2023-05-30 12:16:23 +07:00
celestora
ccb392b228 Make "copy video link to clipboard" button work 2023-05-28 20:20:28 +03:00
Ilya Prokopenko
c803a6ff62
Videos: Add upload disabling 2023-05-27 13:31:20 +07:00
celestora
d365bb6b95 Hide small right/left block once they're scrolled out of view 2023-05-26 18:21:56 +03:00
celestora
43541b9136 Make comment box sticky 2023-05-26 18:13:47 +03:00
Ilya Prokopenko
95a62f56e0
Auth: Add disabling the password reset page 2023-05-26 16:27:40 +07:00
Ilya Prokopenko
8f23720c1f
Auth: Hide captcha when commitcaptcha is disabled 2023-05-26 16:26:19 +07:00
Ilya Prokopenko
4d996fddac
reason -> disablingReason and some fixes 2023-05-23 20:31:32 +07:00
Ilya Prokopenko
4bfdeddd22
Video: Fast addition of a video with its file name
For example, how would you know there were spoilers for Steins;Gate if
the video was titled "Unnamed Video.ogv"?
2023-05-23 19:28:21 +07:00
Ilya Prokopenko
9eeb710e47
BSDN: Some fixes 2023-05-22 21:37:37 +07:00
lalka2018
8ccb98473f
Репост в группу (#873) 2023-05-21 18:38:39 +03:00
lalka2018
cb6578228e
Нормальная смена аватарок как в старом вк (#874)
* Fast avatar changing

* Fixed changing avatar from settings

* fixed otstup
2023-05-14 23:49:33 +03:00
Ilya Prokopenko
5ec34267cc
Rename style.css to main.css
That's more accurate.
2023-05-08 09:09:00 +07:00
Ilya Prokopenko
dfc4f932cb
Add z-index to .cookies-popup 2023-05-08 09:06:18 +07:00
Dmitry Tretyakov
3f5849c2a9 focus-pocus formatinus еще раз 2023-05-01 17:54:25 +07:00
Dmitry Tretyakov
6fc61717bb Removing instance rules to /terms, leaving a link to them 2023-05-01 17:12:55 +07:00
Dmitry Tretyakov
06c384205d Add "Rules" link in page footer 2023-05-01 16:51:10 +07:00
Mikita Wiśniewski
1b6e45f969
Groups: move Statistics from Edit tab to its' own profile link (#844)
* Groups: move Statistics from Edit tab to its' own profile link

after all, it doesn't have anything to do with changing the groups' admins, removing followers and changing name/description

* Update EditBackdrop.xml

oops
2023-04-30 17:40:06 +03:00
Dmitry Tretyakov
62b93a3cf2
File picker buttons redesign (#870)
* Refactoring login and register button in sidebar

For Firefox 10.0 and other old 2000s browsers compatibillity

* CSS friends grid workaround for 2000s browsers

* CSS friends grid full fix

* Revert "CSS friends grid full fix"

This reverts commit 9d64cd2d2b.

* restyling file pickers button

* redefined some strings

* да блин

* Translating "Browse" string

* locale syntax and logic fixes

* Update uk.strings

* Added redesign in Photo section

* Structuring commits and adding redisgn in Video section
2023-04-24 22:50:26 +07:00
Dmitry Tretyakov
0ceac912ef
(Полу)фикс отображения краткого списка друзей по сетке для Firefox 10.0 и Opera 8.53 (#865)
* Refactoring login and register button in sidebar

For Firefox 10.0 and other old 2000s browsers compatibillity

* CSS friends grid workaround for 2000s browsers
2023-04-19 19:47:05 +03:00
Локоток
2f8612bb24
Проверка на надежный пароль (#862)
* Проверка на надежный пароль

* fixed typos in locales/ru.strings

Co-authored-by: Alexander Minkin <weryskok@gmail.com>

* подправил локаль

---------

Co-authored-by: Alexander Minkin <weryskok@gmail.com>
2023-04-19 14:02:33 +03:00
Dmitry Tretyakov
34b585747f
Refactoring login and register button in sidebar (#864)
For Firefox 10.0 and other old 2000s browsers compatibillity
2023-04-19 11:12:05 +03:00
Ilya Prokopenko
1a56b09430
Change notify sound metadata and reduce its size 2023-04-11 15:43:30 +07:00
veselcraft
940da6eb99
Global: Fix annoying Tracy errors and php notices 2023-03-29 01:08:01 +03:00
ayato
7cf4082691
Grammary Grammar Thingies Fix (Now INSIDE OpenVK (wow)) (#857)
ProTip! Great commit summaries contain fewer than 50 characters. Place extra information in the extended description.
2023-03-28 01:21:26 +03:00
veselcraft
eb439b278c
ёбаный в рот а файл забыл добавить 2023-03-13 17:46:54 +03:00
veselcraft
a3db17fc36
whoops, i forgor to add localized string 2023-03-03 21:32:56 +03:00
veselcraft
866d6a8c45
Messenger: Add a warning about privacy settings if user to whom he sends a message cannot reply (it annoys me a lot) 2023-03-03 21:30:36 +03:00
celestora
6abdb0d593
Further improvements to TRichText
Fix link parsing + remove zalgo completely
2023-02-25 18:08:17 +02:00
celestora
56fe715bce
Fix ';' error in posts 2023-02-25 18:07:29 +02:00
veselcraft
185c007b50
BSDN: Tweak design 2023-02-24 21:06:34 +03:00
veselcraft
54092eb6c0
Video: Add section for full url to video, also little refactor and fix compatibility for VK4ME 2023-02-21 00:35:10 +03:00