Commit graph

999 commits

Author SHA1 Message Date
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
Daniel
9f1aeb0db9
Site Tour: Add right sidebar icons 2023-01-06 16:08:20 +03:00
Daniel
3156ce2ecc
Site Tour: CSS 2023-01-06 14:31:39 +03:00
Ilya Prokopenko
7d6a52a7e0
Update messages.svg 2022-12-30 07:20:20 +00:00
celestora
e834fae0fe
Update Photo.php 2022-12-21 01:26:00 +02:00
celestora
3c4f41e58c
Return more absolute url in Photo::getSizes::type::url 2022-12-21 01:20:17 +02:00
Ilya Prokopenko
687f2937d2
Locales: learn_more 2022-12-18 13:25:52 +07: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
768f834ea1 Use hermite filter instead of point for image resize
Fixes terrific image distortion during downscaling
2022-12-14 23:10:15 +02: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
ea1c618489 Revert "Experiment(Photo): use imagick+cloning instead of gd2"
коммит говно мы его удаляем
2022-12-13 01:03:54 +02:00
celestora
918ff0e0f0 Experiment(Photo): use imagick+cloning instead of gd2
АААААААААААА
2022-12-13 00:47:25 +02:00
Daniel
c359a57059
Update style.css
Смешные ошибки стрелочек в блоках, выпуск №3
2022-12-12 11:06:46 +03:00
celestora
f9083edfc4
Add l-lacker social-styled page backrops (#805)
чокопай
2022-12-12 01:23:42 +02:00
Daniel
8700ad8179
Update style.css
Add ".navigation .link_soon" class
Понадобится в будущем ;)
2022-12-12 00:36:49 +03:00
celestora
d321b524fd Make comment notifications more informative
Quote length increased to 400 also tags are being stripped now
2022-12-11 16:27:46 +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
celestora
475f637413
uncockify youtube embed 2022-12-09 00:14:15 +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
celestora
bf1a443c99
Explicitly forbid posts made by clubs be a deactivation message 2022-11-16 23:39:48 +02:00
veselcraft
d33a8f5c1d
Page Edit: Fix PHP 7.4 compatibility 2022-11-16 18:40:37 +03:00
Ilya Prokopenko
f420d2381d
Locales: proper string names for appjs I think
gpg: signing failed: Timeout
gpg: [stdin]: clear-sign failed: Timeout
2022-11-16 22:27:11 +07:00
celestora
d09e647d1d
amogus fix
should work now with weblate xddd
2022-11-14 17:01:56 +02:00
celestora
55ec291650
Allow __transNames to be empty 2022-11-14 16:47:34 +02:00
celestora
3c632f3910
фикс дюпа алмазов в служебном апи) 2022-11-14 16:22:23 +02: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
Vitaly Orekhov
d2b2e41328
Shut up notification listener on false triggers (#760)
За-йо-бал трещать ложными уведомлениями. Использует подкостыль из (https://github.com/openvk/openvk/issues/694#issuecomment-1229165601)[комментария].
2022-10-27 12:44:46 +03:00
celestora
6c29d40099
Fix nullpointerexception in user::renderView 2022-10-24 23:09:11 +03:00
veselcraft
7c516a8089
Messages: @celestora had forgotten about existing of deleted messages for correspondencies sql file, so i fixed it in her place 2022-10-23 12:38:51 +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
0e22d1866f Fix certain poll functions
Polls can now be set to quiz mode correctly, weird characters in options no longer crash OpenVK
2022-10-11 20:24:34 +03:00
celestora
5203229e9e
Fix pelmeni moment 2022-10-11 19:34:28 +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
veselcraft
699df76619
VKAPI: Make offset actually work in groups.get method
Users: add count and offset (acting like switch for literal offset) param to getClubs
2022-10-11 03:46:49 +03:00
celestora
8c314adf6c Fix popup colors in signatures 2022-10-09 12:31:19 +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
Maxim Leshchenko
7d72cd182b
Users: Do not show the request tab in the list of other user's friends
Closes #605
2022-09-23 17:10:29 +02:00
Maxim Leshchenko
729784ecff
Groups: Display links not only for managed groups in My Groups
Closes #664
2022-09-23 16:32:17 +02:00
veselcraft
b38f4f2346
Longpoll: Add wait parameter as in original VK 2022-09-19 17:13:37 +03:00
veselcraft
697a365205
Longpool: Update format for use in modern clients 2022-09-19 16:56:04 +03:00
n1rwana
5b3a1f50e9
Shortcode aliases (#690)
* Shortcode aliases

* Fixes

* Newline

* Fixes + SQLs renamed

* Fixed clubs aliases
2022-09-17 00:21:29 +03:00
n1rwana
753be2aaff
Maintenance (#719) 2022-09-17 00:19:46 +03:00
n1rwana
2cdcb0dc4e
Ticket deletion fixed (#727)
* Ticket deletion fixed

* ?act=list
2022-09-14 13:27:48 +03:00
celestora
384c0da78b Revert Clubs::getPopularClubs change
This functionality is so unstable it causes majority of installations to fail miserably out of the box. The performance also is a major concern. Might re-add later. Sometime.

btw i amended
2022-09-12 20:51:41 +03:00
Артём
89db5e2192
The user must agree to the rules in order to register. (#716) 2022-09-08 00:02:11 +03:00
n1rwana
585616c88f
Fix of #667 (#714) 2022-09-05 23:02:43 +03:00
n1rwana
125c6b1b63
Ability to block URL (#693) 2022-09-05 18:57:41 +03:00
Ilya Prokopenko
8c8eef1329
Slight change in the team members (#711) 2022-09-05 13:28:55 +03:00
n1rwana
a935b2ca31
Заморозка страницы (#698)
* Заморозка страницы

* Bugfixes

* ok
2022-09-05 11:16:22 +03:00
n1rwana
324297db7e
2FA is moved to Security tab (#709)
* Update Settings.xml

* Смена пароля тоже
2022-09-04 22:14:38 +03:00
veselcraft
83be7eed10
Security: Add magic button name End all sessions
It's FUCKING USEFUL bc uknow ur pc or phone can be stolen

xd
2022-09-03 23:11:40 +03:00
n1rwana
9842327d3b
RSS: Get rid of 500 error
a.k.a. Update WallPresenter.php (#688)
2022-08-28 14:01:31 +03:00
veselcraft
2fa36e123d
Notification: Redesign it little bit
Also halffully closes #657
2022-08-27 01:33:10 +03:00
Diman
643208dff0
Add 405 errors for svcapi (#691) 2022-08-26 22:10:13 +03:00
Артём
33dbc984f2
Update robots.txt (#661) 2022-08-21 00:01:36 +03:00
celestora
b328254285 Use adler32 hash for app avatars (php74 compat) 2022-08-20 21:36:56 +03:00
celestora
59cb20628f Add apps to menu 2022-08-20 21:32:54 +03:00
celestora
d767d8e2eb
Приложения (#674) 2022-08-20 21:07:54 +03:00
celestora
d1b878a5a4 Fix type error in settings 2022-08-20 18:03:39 +03:00
celestora
6e17c446bf Add ability to preview notes without publishing
Resolves #604
2022-08-19 20:20:09 +03:00
celestora
1a4696da91 Don't update last visit date for deleted and banned users
Fixes #665
2022-08-19 17:04:24 +03:00
n1rwana
ecea2a6fa4
Галочки в поиске и списках групп и друзей (#659)
#619
2022-08-18 22:13:04 +03:00
celestora
d02cef93ee
Search hashtags via word index (#655) 2022-08-15 13:08:07 +07:00
veselcraft
02f1238fb9
Global: Add fast menu
Closes #557
2022-08-13 13:21:39 +03:00
Ilya Prokopenko
bbdfb04c01
{_"(.*)"} -> {_(.*)} 2022-08-09 13:42:22 +07:00
Ilya Prokopenko
f3521c8ba4
Combine classes from one category into single line
... kinda
2022-08-09 12:58:47 +07:00
Ilya Prokopenko
200414b67d
Use redirect() instead of header("Location: ...") 2022-08-09 12:52:36 +07:00
Maxim Leshchenko
aed1fdbd3f
Global: Make all actions in lists lowercase
Also fix display of actions in My Groups
Closes #590
2022-08-09 00:39:11 +01:00
Maxim Leshchenko
42bba82941
Correct the code style in the profile deactivation function 2022-08-05 21:29:31 +01:00
Ilya Prokopenko
b1ce106e4c
Profile deactivation function (#626) 2022-08-05 23:00:52 +03:00
celestora
74f5d0a705
Don't truncate group names
Now long group names are allowed (VK pre-2012 std)
2022-08-04 21:42:30 +03:00
celestora
cb902b7768
Throw error if user attempts to set incorrect s-code for club
Resolves #621
2022-08-03 21:01:36 +03:00
veselcraft
c1ac963ffe
Friends: fix 500 error if user is not authorized 2022-08-01 15:23:50 +03:00
veselcraft
22e4e76b9f
Friends: Add list with friends online 2022-07-31 14:33:23 +03:00
Ilya Prokopenko
74b3bf5e3f
Photos: Add changing of update date of album
Resolves #588
2022-07-29 16:41:43 +07:00
celestora
80e9ec4ba7
Hide actions in other user's friendslist 2022-07-29 10:58:22 +03:00
veselcraft
44241be808
VKAPI: Add new methods for Wall - getComments, getComment, createComment, deleteComment 2022-07-23 15:50:00 +03:00
Ilya Prokopenko
3775948df6
Show the number of likes, comments and shares even if the user was not logged in
i didn't know how to call a commit in short
2022-07-22 15:40:56 +07:00
Ilya Prokopenko
d1344d0cf8
User: Don't show "Send Gift" to unauthorized users
I also added a "title" attribute to the gifts themselves, so you can
understand the text that was sent via the gift without having to open
the list unnecessarily.
2022-07-22 15:38:32 +07:00
Ilya Prokopenko
33c639afa8
About: Revert some changes from Version.xml
wth is going on down there
2022-07-22 15:34:21 +07:00
veselcraft
658b60d5f0
VKAPI: Disable HTML output in prior to RAW output
RichText: Replace CR+LN with just LN because it causes graphical bugs in VK4ME
2022-07-21 09:40:42 +03:00
veselcraft
f5bec29bf6
VKAPI: Fix 2FA compatibility with alternative clients
VKAPI: Fix crash when trying to call Messages.getConversations method
2022-07-19 23:40:17 +03:00
dependabot[bot]
eb857d2e55
Bump jquery-ui from 1.13.0 to 1.13.2 in /Web/static/js (#618)
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.0 to 1.13.2.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.2)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 17:21:19 +00:00
Ilya Prokopenko
84635a22ba
Support: Add closing all tickets when banned
slowly getting back on "business"...
Resolves #584
2022-07-17 17:50:37 +03:00
Ilya Prokopenko
65de19def1
User, Group: Don't force a redirect to short URL
This behavior wasn't seen in VKontakte.
2022-07-11 19:07:49 +03:00
Maxim Leshchenko
5b5d095121
Users: Improve the birthday field
Now you can hide the year of birth. Also people who were born on January 1, 1970 can specify their date of birth
2022-07-09 15:33:55 +01:00
Ilya Prokopenko
b2d836f36d
Search, Friends: Use localized marital status
Resolves #458
2022-07-05 22:23:47 +07:00
Ilya Prokopenko
240cc73102
Apply rounding to avatars in My Notes
Resolves #573
2022-07-05 22:08:55 +07:00
Ilya Prokopenko
4147d0478a
Settings: Increase the text size of the coins
The changes are taken from the official instance.
2022-06-24 18:49:20 +03:00
Ilya Prokopenko
71a95a8121
Admin: Redirect to the Home instead of the panel 2022-06-24 18:47:06 +03:00
Ilya Prokopenko
520fe6f94c
Increase paginator space to 3 2022-06-20 15:33:39 +03:00
Mikita Wiśniewski
d483ca4a10
Fix layout up a bit (no social distance anymore) (#600) 2022-06-20 03:39:25 +00:00
Maxim Leshchenko
41dae9295f
Feed: Redesign news a little bit
The global news switch is now more prominent, as it has become a tab. Also, the switch for number of posts per page now looks nicer.
2022-06-20 00:27:42 +01:00
Ilya Prokopenko
73d0d9f927
SQL: Remove unnecessary comment 2022-06-14 06:09:39 +03:00
veselcraft
32e976a3b7
Coin: Remove unexpected characters 2022-06-02 13:37:16 +03:00
veselcraft
4736a03a1e
Coin: Delete unused translation 2022-06-02 13:34:49 +03:00
Vladimir Barinov
305bd7b02f
Merge pull request #550 from openvk/ton-integration
Интеграция TON
2022-06-02 13:19:29 +03:00
Ilya Prokopenko
2464d1343a
Messages: Localization 2022-06-01 18:08:27 +03:00
Ilya Prokopenko
cab9aa99d3
User: Use two translations of "was online" 2022-06-01 18:07:29 +03:00
Ilya Prokopenko
97444315e4
Messages: Output only the first user name 2022-06-01 18:05:57 +03:00
Ilya Prokopenko
b32ad042d7
Messages: Use local Knockout instead of their CDN 2022-06-01 17:18:29 +03:00
veselcraft
1a436a8575
Messages: Add loading animation white sending message 2022-06-01 16:31:04 +03:00