Commit graph

895 commits

Author SHA1 Message Date
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
veselcraft
b731cb4c87
Merge branch 'master' of github.com:openvk/openvk 2022-05-31 17:40:04 +03:00
veselcraft
db3789bef8
Messages: Redesign, Date fix, Pagination
Search: Kind of fix by adding more shitcode xdddddd

Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>
2022-05-31 17:39:52 +03:00
Ilya Prokopenko
2dd37519e3
User: Always return the name with a capital letter 2022-05-31 14:20:02 +03:00
Celestora
0e398993b1 Add expiration date to "Do you consent to cookies?" cookie
Fixes #560
2022-05-30 11:25:50 +03:00
Celestora
1667713aa0 Transliterate names to latin for en.strings 2022-05-30 11:09:45 +03:00
Celestora
5d11cdbe46 Properly output marital status for female users 2022-05-30 10:46:27 +03:00
veselcraft
decd223221
Textarea: New attachment menu 2022-05-26 17:42:27 +03:00
veselcraft
39c85451fc
Notifications: Fix code style + little bit of performance 2022-05-26 15:26:38 +03:00
veselcraft
b3e597959c
Merge branch 'master' of github.com:openvk/openvk 2022-05-26 15:25:28 +03:00
veselcraft
5b2d18e96b
Notifications: Automatically redirect to archive tab if there is no new notifs (until if user will manually go to unread tab) 2022-05-26 15:25:16 +03:00
Maxim Leshchenko
203b16b87c
Users: Fix list of user groups a little bit 2022-05-23 20:24:32 +01:00
Maxim Leshchenko
ce6c576ffb
Wall: Fix avatars of post authors when a non-standard avatar style is used 2022-05-23 17:45:29 +01:00
Maxim Leshchenko
f0a51237de
Coin: Revert redundant indentation changes 2022-05-23 15:20:36 +01: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
veselcraft
10040332ed
Coin: Code cleanup 2022-05-23 16:13:02 +03:00
veselcraft
5f3f3299de
RSS: Add name of group/user 2022-05-23 16:09:44 +03:00
celestora
786fbecc87
Update notifications.js 2022-05-23 15:50:28 +03:00
veselcraft
fb6c9d3963
Coin: Clear up the code 2022-05-23 15:36:19 +03:00
veselcraft
fd9107749d
Merge from 'master' branch 2022-05-23 15:27:29 +03:00
Maxim Leshchenko
060100821d
Global: Add toggle home page between My Page and My Feed
The switch is in the interface settings. Closes #361
2022-05-23 09:18:06 +01:00
Maxim Leshchenko
0d86837699
Users: Translate some text in interface settings 2022-05-22 20:31:25 +01:00
Maxim Leshchenko
91d852e071
Support: Add ability to modify FAQ 2022-05-21 10:04:33 +01:00
Maxim Leshchenko
f8c0071227
Groups: Fix exception on groups with empty description 2022-05-20 17:23:10 +01:00
Maxim Leshchenko
0818e507a8
Support: Remove some commented code and make code a little more consistent with the code style 2022-05-20 15:16:39 +01:00
Maxim Leshchenko
12210d0fb0
Groups: Allow line breaks in descriptions
Closes #542
2022-05-20 13:45:14 +01:00
Ilya Prokopenko
3a2c781cb0
Global: Remove shortcut for Home
There's also a keyboard shortcut modification for Wall.
2022-05-11 15:48:22 +03:00
Ilya Prokopenko
830d5dce4d
Admin: Add the ability to change the user's email
Resolves #551
2022-05-11 15:22:17 +03:00
veselcraft
328207ff16
Merge branch 'master' of github.com:openvk/openvk 2022-05-09 16:01:48 +03:00
veselcraft
f481b27503
Global: Add Cookies notification
just for fun xd
2022-05-09 16:01:37 +03:00
veselcraft
160f2c9383
Global: Still canceling changes from past commits 2022-05-09 15:14:19 +03:00
veselcraft
7fc19ff5e7
Global: Cancel changed from past commits that was created by accident 2022-05-09 15:13:05 +03:00
Maxim Leshchenko
fe2010560a
Global: Make code more consistent with code style 2022-05-08 12:11:18 +02:00
Maxim Leshchenko
aef369ac58 Auth: Fix bug in user registration
Due to fact that the automatically generated setEmail method is replaced by the method for a complete change of email address, which runs the save method. Because of this, in case of an error, the user will still be created. This commit renames the method for completely changing email address to avoid replacing the automatically generated method.
2022-05-07 15:10:55 +02:00
veselcraft
04ab845382
Coin: Add dialog with QR-code and requisites + tweak config 2022-05-07 15:42:25 +03:00
veselcraft
13bc1b877d
Merge branch 'master' of https://github.com/openvk/openvk into ton-integration 2022-05-07 02:27:05 +03:00
Maxim Leshchenko
45fe270700
Users: Add ability to change email address in settings
Closes #63
2022-05-06 16:17:08 +02:00
veselcraft
730de65b80
Photos: (kinda) correctly display multiple pics in posts 2022-04-26 12:07:41 +03:00
veselcraft
40338a67fc
чет я серанул лол 2022-04-26 10:23:16 +03:00
veselcraft
9f699336f7
Merge branch 'master' into textarea-refactor 2022-04-26 10:16:24 +03:00
Celestora
622c9204b2 Use Photo::getVkApiSizes in wall.get
Now wall.get will reflect accurate information about image sizes and their dimensions.
2022-04-24 15:38:53 +03:00
Ilya Prokopenko
e6c14c2eeb
Admin: Localization & fixing tabs (#407) 2022-04-24 06:02:23 +00:00
Ilya Prokopenko
c1d7b49dda
Fewer PHP User Deprecated errors 2022-04-24 08:06:45 +03:00
Ilya Prokopenko
ac845cc4d1 Get rid of duplicate DOCTYPE html 2022-04-24 07:41:00 +03:00
Maxim Leshchenko
c88cfcf314
Global: Don't show votes-balance noticebox to people who don't have votes 2022-04-18 20:59:54 +02:00
Celestora
be6a6610b1 Make wall posts vidible to outside world 2022-04-18 21:04:20 +03:00
Celestora
ae3850b75e Add black bars to weird videos
Fixes #466
2022-04-18 20:40:32 +03:00
Celestora
3d24c1c881 Try to guess CDN the protocol if it is set to NULL in config 2022-04-18 19:42:05 +03:00
Celestora
2c10659003 Change hashtag format to include danbooru tags as a subset
Before: #kashim'a_(kantai_collection) -> #kashim'a_(kantai_collection) doesn't work
Now: #kashim'a_(kantai_collection) -> <a (...)>(...)</a> works
2022-04-18 19:36:44 +03:00
Celestora
377277f3d7 Allow mentioning people with funny names too
Fixes #494
2022-04-18 19:22:36 +03:00
Celestora
e66a96be6e Throw error if album name is too large
Fixes #534
2022-04-18 19:02:56 +03:00
Celestora
cacc223eb9 Add votes-balance noticebox to sidebar
Resolves #539
2022-04-18 18:54:50 +03:00
Ilya Prokopenko
f93445baa8
Global: Add route /dev 2022-04-18 10:03:44 +03:00
Ilya Prokopenko
d969e29621
About: Increase the top groups by 10 2022-04-18 13:54:56 +07: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
Ilya Prokopenko
d71613d47c
Global: Clean up the code [CSS] 2022-04-17 13:16:34 +03:00
Ilya Prokopenko
de1857388d
Global: New route for theme reset
Will be useful for themes such as "OpenVK Mobile".
2022-04-17 08:19:31 +03:00
Ilya Prokopenko
28c66af133
About: Increase block of top groups & add "Links"
Closes #510

Co-authored-by: Celestora <kitsuruko@gmail.com>
2022-04-14 18:36:38 +03:00
Maxim Leshchenko
99344c5497
Groups: Add admin-placeable alerts 2022-04-14 12:29:41 +02:00
Celestora
26cb287b67 Fix condition in Media::save which made videos stay in processing status for infinite amount of time 2022-04-12 22:12:15 +03:00
Celestora
fb141e259b Show stub if video is not processed 2022-04-12 22:01:12 +03:00
Celestora
f3f62a63ac Add User::getMorphedName 2022-04-12 20:10:35 +03: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
e161a25e0a
Don't show error 500 when accessing a blocked user 2022-04-10 13:19:54 +03:00
Celestora
9bc68b34ef Make BlobPresenter compatible with image minatures 2022-04-09 20:13:53 +03:00
Ilya Prokopenko
d16b5fdf33
Global: New notification sound
Related to #535
2022-04-09 17:04:25 +07:00
Ilya Prokopenko
3c4b3221e2
Global: Add keyboard shortcuts for some sections
This commit adds keyboard shortcuts for Home, Search, User Profile,
Wall, Notifications, and Admin Panel for (hopefully) quick navigation
through these sections.

Keep in mind that the hints to these sections (e.g. "[Alt+Shift+<KEY>]")
will only be relevant to modern browsers. Refer to this link:
https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey
2022-04-09 09:14:11 +03:00
Ilya Prokopenko
bcc22fa359
Global: Stylize #test-label [CSS]
Just to make that block a lil better.
2022-04-09 08:54:24 +03:00
7bf540295a
Auth: Remove autocompletion for TOTP input 2022-04-08 19:56:40 +03:00
Celestora
ccab9b39d5 Use minimized images in posts 2022-04-08 11:40:20 +03:00
Celestora
6c0d543d26 Add back ability to create albums in groups 2022-04-06 12:47:56 +03:00
Celestora
15385ad69d Add auto-resolution for weird directory files error in Photo 2022-04-05 22:36:46 +03:00
Celestora
599c378b6f Remove redundant getDimensions 2022-04-05 16:13:25 +03:00
Celestora
be83a72be2 Add build-images to openvkctl 2022-04-05 15:54:53 +03:00
Celestora
ed9dac2ac1 Use correct image sizes in various templates 2022-04-05 14:39:13 +03:00
Celestora
608c34815e Add photo miniatures creation logic to Photo::saveFile 2022-04-05 14:10:31 +03:00
Celestora
f707c72f07 Cache image resolution in database 2022-04-05 11:38:19 +03:00
celestora
0c2d3844bc
Fix padding bruh momento with notes 2022-04-04 20:13:24 +03:00
Celestora
8b3917e863 Add X-Accel-Expires for non-authorized users 2022-04-04 16:43:40 +03:00
celestora
3281cd0c1b Restrict search to authorized users and add ratelimit
Searching is heavy, additional measures to prevent abuse must be taken.
2022-04-04 15:15:52 +03:00
celestora
0cd75a5a3d
Add X-OpenVK-User-Validated header 2022-04-04 15:01:12 +03:00
Ilya Prokopenko
17a60f24e8
Global: Fix photo uploads
Resolves #524
2022-03-30 16:52:14 +03:00
Ilya Prokopenko
6c496ef0ed
Perfectly center the site footer
... at least for those with Tahoma font available.
2022-03-30 18:48:54 +07:00
Celestora
1a2a0805d4 Add photos.save, photos.saveWallPhoto, photos.saveOwnerPhoto, photos.getUploadServer
Didn't test, but shouldn't be really tough to fix afterwards if it'll break.
2022-03-29 20:43:34 +03:00
veselcraft
f7a2da2cbf
VKAPI: Add Likes.add, Likes.remove and Likes.isLiked methods 2022-03-29 14:04:11 +03:00
Celestora
91cf2dcbba Add matomo analytics too 2022-03-29 12:32:03 +03:00
Celestora
52026aca26 Add support for PIWIK Pro Analytics
Proprietary, but has a hosted clickhouse-based option and is focused on privacy.
2022-03-29 12:06:43 +03:00
Ilya Prokopenko
ccf96cb597
Photos: Show deletion notify instead of blank page 2022-03-27 17:09:24 +03:00
veselcraft
8caecbe362
VKAPI: Make ACTUALLY work 'count' arg in Friends methods 2022-03-27 16:43:20 +03:00
veselcraft
dae42b0179
Users: Add ability to search by shortcode 2022-03-27 16:18:51 +03:00
Maxim Leshchenko
c55bb779cc
Users: Hide button to increase rating if display of rating is disabled in settings
Closes #504
2022-03-27 12:12:14 +02:00
Maxim Leshchenko
f1d923f580
Support: Allow agents to prevent banned users from creating tickets 2022-03-27 11:58:29 +02:00
Ilya Prokopenko
6538f0ccd2
Users: Allow admins to easily unban users 2022-03-27 09:44:06 +03:00
Maxim Leshchenko
6588734caa
Support: Allow agents to prevent users from creating tickets 2022-03-26 22:06:07 +01:00
Celestora
6966cbb8c5 Check name validity before creating ChandlerUser
Fixes #498
2022-03-26 12:24:57 +02:00
veselcraft
e6759f089f
Albums: fix getAlbumByPhotoId performance issue 2022-03-25 16:36:38 +03:00
veselcraft
4bf6fce260
VKAPI: Fix 500 error if the post is published as anon 2022-03-25 14:44:10 +03:00
veselcraft
514b73d41e
Merge branch 'master' of github.com:openvk/openvk 2022-03-25 14:05:59 +03:00
veselcraft
1472801874
VKAPI: Add attachments support for Wall methods
TODO Refactor: Перенести вывод в отдельную функцию, чтоб не дублировать код
2022-03-25 14:05:44 +03: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
Ilya Prokopenko
b11c942c65
Global: Correct the components code
НЛО прилетело и опубликовало эту надпись здесь
2022-03-24 15:29:00 +03:00
Ilya Prokopenko
46db744caf
Notes: Add .underline for underlined text
Kinda resolves #499 but in a different way
2022-03-23 16:43:17 +03:00
celestora
e3312cb5f2
Replace invalid Start-Process command with SetPriority 2022-03-22 12:16:06 +02:00
Ilya Prokopenko
d619455e1f
Notes: Display new notes first
Resolves #500
2022-03-21 17:11:53 +03:00
Ilya Prokopenko
88cbde660b
Show only the custom instance name in the header
It was funny to see the text "OpenVK" floating on the blank space in
some of the screenshots of users. :^)
2022-03-21 16:00:01 +03:00