Commit graph

136 commits

Author SHA1 Message Date
Ö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
celestora
ccb392b228 Make "copy video link to clipboard" button work 2023-05-28 20:20:28 +03:00
celestora
d365bb6b95 Hide small right/left block once they're scrolled out of view 2023-05-26 18:21:56 +03: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
veselcraft
185c007b50
BSDN: Tweak design 2023-02-24 21:06:34 +03: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
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
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
Daniel
90b2b0acac
Site Tour: JS 2023-01-07 19:24:35 +03:00
Ilya Prokopenko
687f2937d2
Locales: learn_more 2022-12-18 13:25:52 +07:00
veselcraft
462d667e53
Global: Implement showing platform 2022-12-17 02:03:02 +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
3c632f3910
фикс дюпа алмазов в служебном апи) 2022-11-14 16:22:23 +02: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
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
f2ca6be4d5
Add polls (#743) 2022-10-11 19:04:43 +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
d767d8e2eb
Приложения (#674) 2022-08-20 21:07:54 +03:00
veselcraft
02f1238fb9
Global: Add fast menu
Closes #557
2022-08-13 13:21:39 +03:00
Ilya Prokopenko
b1ce106e4c
Profile deactivation function (#626) 2022-08-05 23:00:52 +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
veselcraft
decd223221
Textarea: New attachment menu 2022-05-26 17:42:27 +03:00
Ilya Prokopenko
453ce0e7d6
Its possible to close "Failed to share post" popup
Resolves #436
i was bored
2022-05-23 16:52:39 +03:00
celestora
786fbecc87
Update notifications.js 2022-05-23 15:50:28 +03:00
Maxim Leshchenko
f80f8f09cc
Wall: Add ability to send posts and comments by Ctrl + Enter
Closes #67
2022-04-17 20:36:34 +02:00
veselcraft
2c6fa71e20
Global: Add count of notifs to document title
also there is a wip shit of promise (not actually) but i didn't finished it yet bc of lack of time so

related to #535
2022-04-11 23:10:50 +03:00
Ilya Prokopenko
d16b5fdf33
Global: New notification sound
Related to #535
2022-04-09 17:04:25 +07:00
Celestora
13dab88c9e Auto-resize coins count
Coins count will still break lines if the value can be fit in multiple lines (for accessibility), but it won't escape it's box and damage page design.
2022-03-24 17:03:43 +02:00
Maxim Leshchenko
13b614c377
Users: Add the ability to convert votes into a rating for yourself or other users
Closes #345
2022-02-07 23:33:49 +02:00
Maxim Leshchenko
d87277e7e7
Global: Fix up button
Due to the fact that "document.body.scrollTop" was removed from newer browsers, hovering over this button was not displayed. I replaced this with "window.scrollY" which works in newer browsers. I also localized the text on it.
2022-01-30 14:18:39 +02:00
celestora
4c841c96a6
Fix InputBox resize bug on newer browsers
Apparently I forgot to add "px" a few thousand years ago and now this behaviour is broken. Big sad.
2022-01-30 14:12:57 +02:00
veselcraft
f81444ee08
ok i actually broke it 2022-01-30 13:06:04 +03:00
veselcraft
72e0103021
Timezone: Fix funny case when page is always reloading in some places 2022-01-30 13:04:07 +03:00
veselcraft
7baa4cf20a
Global: Add a date adaptation to the user's timezone
Closes #170
2022-01-22 15:54:57 +03:00
celestora
b490208290
Fix typo in al_comments 2022-01-17 12:15:44 +02:00
celestora
89bcd89cb3
Improve "Reply..." button
Now it can be used after textarea initialization (fixes #391) and is capable of replacing pervious mention (if it is located at the start of le string, otherwise it prepends mention)
2022-01-16 13:50:52 +02:00
Maxim Leshchenko
8e94a0caf0
Walls: Close post attachment context menu after attachment 2022-01-09 23:02:19 +02:00
Ilya Prokopenko
8863ededf1
Removed unnecessary extensions from the routes
... almost. restore.pl was left temporarily (namely for two days) so that users could safely restore their passwords if they needed to.
2021-12-31 11:28:57 +07:00
Maxim Leshchenko
9d89a67a91
Support: Ability to respond with configurable quick replies to tickets 2021-12-26 19:18:36 +02:00
Maxim Leshchenko
91429437f8
Users: Make it easier to enter votes vouchers
Automatically switch fields and fill all fields on paste
2021-12-26 14:29:22 +02:00
Maxim Leshchenko
566759327e
AJAX: Add some code that can be reused to display AJAX request errors
Also use this to add groups to the left menu
2021-12-25 18:11:05 +02:00
veselcraft
5d47549442
Global: Add a CSS style for disabled and loading profile buttons
Groups: Add a loading animation
2021-12-25 14:17:11 +03:00
Maxim Leshchenko
a1691a1485
L10n: Fix work of JS tr function with numbered strings 2021-12-24 22:58:36 +02:00
Maxim Leshchenko
21b03d3e71
L10n: Improve code in JavaScript tr function 2021-12-22 19:09:05 +02:00
Maxim Leshchenko
3b54c4b878
Users: Add ability to transfer votes to another user 2021-12-19 14:52:40 +02:00
Maxim Leshchenko
497e55b1a7
Microblog: Fix reply button in inline comments below post 2021-12-17 21:30:39 +02:00
Maxim Leshchenko
c4303ad566
Wall: Translate the post attachment menu 2021-12-13 18:22:04 +02:00
veselcraft
735e75fa21
AJAX: Fix when group does not adding to left menu if the group itself have a custom url 2021-12-05 00:08:40 +03:00
veselcraft
534265bb3a
Merge branch 'master' of github.com:openvk/openvk 2021-12-04 23:59:35 +03:00
veselcraft
0890a3204a
AJAX: Adding group to the left menu does not require page reload 2021-12-04 23:59:21 +03:00
Maxim Leshchenko
4d471481b6
Remove extra parentheses from the last commit
Please excuse me, it happened by accident!!
2021-12-04 22:27:42 +02:00
Maxim Leshchenko
c52bc1010a
Fixup "Groups: Add the ability to write comments on behalf of the group"
Sorry, I just forgot to add this file to the commit :3
2021-12-04 22:23:57 +02:00
veselcraft
92146b8e47
L10n: Added a localization for dialogs 2021-12-04 16:30:18 +03:00
veselcraft
958846a86c
L10n: tr function for JS scripts 2021-12-04 16:06:28 +03:00
Maxim Leshchenko
34f4f8fc5d
Wall: Fix pasting attachments from the clipboard in the post creation form
Also fixup previous commit
2021-12-02 14:37:16 +02:00
Maxim Leshchenko
7f43458cda
Wall: Fix attachment of files in the comment popup 2021-12-02 14:01:48 +02:00
veselcraft
03dee6b1f0
Wall: Last comments on the post 2021-11-28 14:39:42 +03:00
veselcraft
f3791f6478
Wall: Redesign like and repost buttons 2021-11-27 16:31:00 +03:00
Maxim Leshchenko
989cd8952b Allow adding comments to group admins
This commit allows you to add a comment to group administrators, which will be displayed in the list of administrators
2021-11-06 13:06:57 +02:00
dependabot[bot]
03791f4366
Bump underscore from 1.10.2 to 1.13.1 in /Web/static/js (#258) 2021-10-30 14:16:19 +00:00
dependabot[bot]
2101f7e75c
Bump jquery-ui from 1.12.1 to 1.13.0 in /Web/static/js (#256)
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.12.1...1.13.0)

---
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>
2021-10-30 17:00:44 +03:00
Celestora
0b7b67e2e7 Notifications: WIP: Add ajax notifications :D 2021-10-15 23:05:27 +03:00
veselcraft
cb8038590c JS, Repost: Notification instead of dialog after reposting 2021-10-14 22:28:25 +03:00
veselcraft
ffb8c6d5df JS [WIP]: Added a notification popup 2021-10-14 22:21:10 +03:00
Celestora
1c341874a0 Wall [Experimental]: Allow to embed videos in posts 2021-10-13 22:51:28 +03:00
Celestora
a01bab1179 Wall: Fix clipboard pasting in textarea 2021-10-13 21:03:08 +03:00
Celestora
c3f44c58ad Wall: WIP: Add graffiti attachment (via Photos) 2021-10-13 20:50:16 +03:00
Celestora
129d415877 Comments: Add reply button
Resolves #148
2021-10-12 14:18:07 +03:00
veselcraft
d52125ac7e Wall: Reposting should work now on some instances 2021-10-08 21:12:39 +03:00
veselcraft
fd3ffcef08 Wall: Now you can comment when you're reposting (fixes #167) 2021-10-08 20:44:57 +03:00
veselcraft
b494368585 Delete notes func 2021-01-16 18:19:54 -05:00
veselcraft
4507c8cb33 fix hidePanel's count argument 2020-12-26 03:06:20 -05:00
veselcraft
c07576188d new wall's textarea 2020-12-25 17:57:44 -05:00
Alma Armas
fafc3b4fb9 Fix MessageBox bug which caused dialog to close on button press without invoking handler 2020-07-17 16:25:55 +00:00
Alma Armas
e3fdf75b26 Add smooth spoiler animations
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-29 20:03:18 +00:00
Alma Armas
1afac87ee9 Add jQuery2 as dependency 2020-06-29 20:00:48 +00:00
Jill Stingray
62f9467179 Make likes more VK-styled
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-25 12:09:15 +00:00
Jill Stingray
db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00