Commit graph

744 commits

Author SHA1 Message Date
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
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
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
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
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
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
lalka2018
2e76ca16df
Wall: add notes attachments to posts (#907)
* Posts: add notes attachments
2023-07-05 14:54:58 +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
lalka2018
dd97ded326
Search: some fixes (#896) 2023-06-13 20:57:49 +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
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
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
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
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
Локоток
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
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
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
01bd8f938c Disallow API access to banned users
lmao??
2023-02-08 13:14:47 +02:00
celestora
cbec4b549f Minor improvements in video attachments 2023-02-07 22:45:30 +02:00
celestora
beb8b4eaa6 Move photo page url resolution to model
мб пофиксит 842 янеипу
2023-01-29 19:14:29 +02:00
celestora
344ba53acd
Смешной мясной плеер (#839)
* Add video title under post attachment box

* Add VK-styled player

* bideoplayer on video page now

sosiski

* Fix context menu display on Chrome

* Videos now use H.264 instead of Theora

hazbin hotel nude mo

а вообще тут мог бы быть AV1, но пидорасы из купертино фанаты libx264
2023-01-28 22:25:00 +02:00
veselcraft
8dffa8a3f5
User: Add 'about' translated string 2023-01-18 22:08:18 +03:00
celestora
ea3f869473
Remove hardcoded instance url from Tour.xml
капелька кетчуп
2023-01-08 15:15:16 +02:00
Daniel
d8a8da6c62
Site Tour: Update (2)
Попросили
2023-01-08 12:16:48 +03:00
Daniel
f229e11dea
Site Tour: Update 2023-01-08 11:18:09 +03:00
veselcraft
ed028d1a2e
funny hot🥵🔥🔥🔥🔥🔥fix 2023-01-08 01:01:48 +03:00
veselcraft
504ec0dd2d
Global: Add ~~euro~~tour to the website
Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>
2023-01-08 00:53:25 +03:00
ZAZiOs
c67607c3f9
Страница регистрации из 2007г (#788)
* Update @layout.xml

* Update @layout.xml

* Update Register.xml

* Update Login.xml

* Update style.css

* Update en.strings

* Update ru.strings

* Update ru_old.strings

* Update ru_sov.strings

* h2 -> .header2

* h2 + header2 styling

* Update Register.xml

* Update Register.xml

* Update Login.xml

* Welcome message addiction

* трахать

* +reg-welcome

* +reg-welcome

* +reg-welcome

* +reg-welcome (mixed up that with old rus one)

* +reg-welcome

* Adding UK localization

* Delete settings.json

* На всякий и тут обновлю на id в layout

Нужно для изменения иконок при создании тем.

* Update @layout.xml

* Minor changes

* minor changes

* Fixes requested by celestora

* пепяо с табами

* пепяо с табами
2023-01-07 22:52:50 +03:00
Ilya Prokopenko
9f6cec83a8
OpenVK Midnight: Make icons visible again 2022-12-18 13:03:00 +07:00
veselcraft
462d667e53
Global: Implement showing platform 2022-12-17 02:03:02 +03:00
celestora
65a232b6ef Experiment(Photo): add "quick" image saving method to increase teh upload speedz
если это сработает то я буду ржать :)
2022-12-14 22:15:29 +02:00
celestora
8caf57d7b0
Fix avatar link in notifs 2022-12-13 18:57:02 +02:00
celestora
f9083edfc4
Add l-lacker social-styled page backrops (#805)
чокопай
2022-12-12 01:23:42 +02:00
celestora
25be996256 Send less useless mention notifications
Users will now receive mention notifs only if they're mentioned outside of their content
2022-12-11 16:26:12 +02:00
celestora
8a893daec0 Add mention notifications
Draft implementation of mention notif
2022-12-10 21:33:13 +02:00
Daniel
a058605be8
Fixing action buttons under users avatar
Сделал все кнопки (которые находятся под аватаром пользователя) единой ширины.
Мои глаза просто устали видеть неравномерную ширину кнопок :c
2022-12-07 22:10:14 +03:00
ZAZiOs
a6ab5d38bb
Add margin to comment field for vids
Этот коммит добавляет небольшое расстояние между блоком с Комментариями и Информацией. Так смотрится в разы лучше!
2022-11-21 22:13:46 +02:00
celestora
b1534afd22
Replace old scary ternary operator with if/else
time to do the fani
2022-11-16 23:45:06 +02:00
veselcraft
d33a8f5c1d
Page Edit: Fix PHP 7.4 compatibility 2022-11-16 18:40:37 +03:00
Ilya Prokopenko
790fb20fd8
Admin: Rename duplicated string for voucher rating
xylitol
2022-11-08 21:51:23 +07:00
n1rwana
1eb74bbafd
Карточка Агента Поддержки (#717) 2022-11-07 23:36:07 +02:00
Ilya Prokopenko
fbb26ef256
Display the first three languages in the footer
I also changed the flag for English to Great Britain

Closes #769
2022-11-06 10:20:00 +07:00
n1rwana
e8c0fe8c05
Fixed table names in the Chandler editor (#772) 2022-11-02 15:48:35 +03:00
n1rwana
f5b1890645
Редактор Chandler (#721)
* Chandler Editor

* Features
2022-11-02 13:45:49 +03:00
celestora
6c29d40099
Fix nullpointerexception in user::renderView 2022-10-24 23:09:11 +03:00
veselcraft
dffa6d799e
Polls: Fix compatibility with old PHP 2022-10-12 01:01:25 +03:00
celestora
efbb6a74e7 Allow unregistered users to see ended poll results 2022-10-11 21:26:08 +03:00
celestora
6345a62744 Mark selected options in poll with bolder font 2022-10-11 21:20:36 +03:00
celestora
5b5f64997b Fix wall bugs spawned after recent change in chandler 2022-10-11 21:08:21 +03:00
celestora
499ab3f758 Fix 404 error when opening voters list with tabs 2022-10-11 20:32:56 +03:00
celestora
f2ca6be4d5
Add polls (#743) 2022-10-11 19:04:43 +03:00
veselcraft
d8a8dd920a
Global: add mobile theme support for dumbphones
By setting defaultFeaturePhoneTheme, you can enable very basic html theme for old phones, like Nokia 6680 or iPhone 3GS. I'm currently making this theme, but it would take a time to make it ofc
2022-10-11 13:42:48 +03:00
celestora
dfee425deb Add hovers for post signatures and wall ids
Resolves #739
2022-10-09 11:34:57 +03:00
celestora
c09694b568 Localize "posted in ..." messages
Also preliminary solved #739
2022-10-08 23:47:21 +03:00