Commit graph

1015 commits

Author SHA1 Message Date
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
celestora
0da679fae6
Use simpler regex in TRichText::removeZalgo
lmao i forgor character class selectors are a thing
2023-02-17 14:53:45 +02:00
celestora
cee1b4c8c1
Fix another funny xss thing (not tested sinve since im bisexual 💀) 2023-02-10 08:50:21 +02:00
Vladimir Barinov
cf558d57c5
Fix funny xss thing (not tested sinve since im in hospital 💀) 2023-02-10 08:46:29 +02: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
veselcraft
c6c8e8e175
Global: add OpenVK Refresh info 2023-02-03 14:22:19 +03:00
celestora
beb8b4eaa6 Move photo page url resolution to model
мб пофиксит 842 янеипу
2023-01-29 19:14:29 +02:00
celestora
c6a77de234 Cleanup useless copies in processVideo.sh + completely change everything to mp4 2023-01-28 23:22:01 +02:00
celestora
4845f8f318 Fix Video::getThumbnailURL regex meow
Fixes #841
2023-01-28 23:09:05 +02:00
celestora
934bc9b25c Fix some more contextmenu prikoli in bsdnplayer 2023-01-28 23:05:49 +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
dependabot[bot]
5436656aed
Bump ua-parser-js from 0.7.28 to 0.7.33 in /Web/static/js (#838)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28 08:22:04 +00:00
celestora
63f302b2ab Use preg_match_all in Video::saveFile
На самом деле там должен был быть и так preg_match_all но видимо какао((
2023-01-28 00:27:16 +02:00
veselcraft
8dffa8a3f5
User: Add 'about' translated string 2023-01-18 22:08:18 +03:00
Vitaly Orekhov
37d720c906
General fixes to controls (#831)
* General fixes to controls

Purpose: make input controls consistent with default OpenVK color scheme (which is grayscale)

Additional fixes:
- checkboxes are 15x14, not 14x14.

* Change tints to more UX-friendly

- checkboxes and radio buttons are blue when checked
- enables hover-checked state use in atlas
2023-01-18 22:05:33 +03:00
Vitaly Orekhov
80f3a7810c
Improve default theme assets consistency (#830)
Loading animation should be gray instead of blue, to match with default OpenVK theme palette.
2023-01-14 21:21:21 +03:00
Evgeniy Khramov
4f3167195b
Fixed rounded avatars in .tippy-content (#826) 2023-01-09 10:50:47 +00: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
3edf0587a2
Site Tour: add demo pics (3)
Попросили
2023-01-08 12:14:46 +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
Mikita Wiśniewski
5293af6c7f
Quick-fix for 'Login failed' error box displaying wrongly (fixes #820) (#821)
This removes the negative margin-top for .knowledgeBaseArticle and adds a margin-top:0 property for h1 tag (which is used only once IIRC)
2023-01-07 23:04:11 +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
Daniel
90b2b0acac
Site Tour: JS 2023-01-07 19:24:35 +03:00
Daniel
5660a370a8
Site Tour: update CSS 2023-01-07 19:23:16 +03:00
Daniel
63f402d179
Site Tour: Add demo pics (2)
I forgot English WordArt version of "примеры тем" xddddd
2023-01-06 22:42:39 +03:00
Daniel
d6c8ba5319
Site Tour: Add demo pictures 2023-01-06 22:29:47 +03:00