Commit graph

523 commits

Author SHA1 Message Date
Maxim Leshchenko
5d8d5c2277
Search: Make the indents around the search box symmetrical 2021-12-13 22:32:19 +02:00
Maxim Leshchenko
c3332ab625
Fix indentation in UserPresenter 2021-12-13 19:19:53 +02:00
Maxim Leshchenko
fbfa15e4ed
Wall: Translate the line of the current attachment near textarea 2021-12-13 19:15:01 +02:00
Maxim Leshchenko
08f95b5417
Wall: Translate anonymous post checkbox 2021-12-13 18:39:46 +02:00
Maxim Leshchenko
c4303ad566
Wall: Translate the post attachment menu 2021-12-13 18:22:04 +02:00
Maxim Leshchenko
a31655cf2d
Users: Translate strings associated with a ban
Also fix the logout from the banned account
2021-12-13 16:37:43 +02:00
Maxim Leshchenko
3cf0c54deb
Wall: Fix deleting comments 2021-12-13 15:20:49 +02:00
Maxim Leshchenko
bb055f90aa
Fixup "Groups: Allow coadmins to delete comments on posts" 2021-12-13 00:43:20 +02:00
Maxim Leshchenko
78a8ee9a45
Groups: Allow coadmins to delete comments on posts
Closes #341
2021-12-12 21:47:39 +02:00
Celestora
d8b37366cb Fix theme inclusion regression for themes that do not override templates 2021-12-12 16:08:38 +02:00
Celestora
e73857cdc3 Make "themePreview" work correctly with themes that override templates 2021-12-12 15:11:44 +02:00
Maxim Leshchenko
8b86fdecd3
Global: Add some spacing between comments and paginator 2021-12-12 14:15:50 +02:00
Maxim Leshchenko
f249437af2
L10n: Add the ability to specify a fallback locale for locales 2021-12-11 16:27:40 +02:00
Mikitko Wiśniewski
ea3c1a57a2
L10n: Add traditional russian (#336) 2021-12-11 14:11:17 +02:00
Maxim Leshchenko
910e604630
L10n: Translate errors in OpenVKPresenter 2021-12-10 19:21:25 +02:00
Maxim Leshchenko
6cc68b5480
Support: Translate operations result messages 2021-12-10 18:52:32 +02:00
Maxim Leshchenko
1b510ca6a3
Support: Make the code more similar to rest of code in the project 2021-12-10 18:36:50 +02:00
Maxim Leshchenko
2af7dcc4f4
Support: Fix deleting tickets 2021-12-10 17:17:01 +02:00
Maxim Leshchenko
763c0c91e2
Support: Check ticket for existence before showing 2021-12-10 15:53:39 +02:00
Maxim Leshchenko
28649d3c4d
L10n: Translate everything related to registration 2021-12-08 23:01:46 +02:00
Maxim Leshchenko
1888fb69a1
Users: Allow use of underscores in the Telegram account name 2021-12-08 22:19:16 +02:00
Maxim Leshchenko
9a48870eac
Users: Validate email and Telegram account name when changing page contacts 2021-12-08 20:06:05 +02:00
Maxim Leshchenko
6904a86064
Microblog: Display the wall on which the post was posted if it is someone else's wall 2021-12-08 16:26:56 +02:00
Maxim Leshchenko
9785ae1c9b
Improve the last commit again :3 2021-12-07 20:50:14 +02:00
Maxim Leshchenko
9826296256
Improve and slightly fix the last commit 2021-12-07 20:11:51 +02:00
Maxim Leshchenko
3bbdb3c85b
Support: If the agent does not have a surname, do not display an extra dot 2021-12-07 20:05:04 +02:00
Maxim Leshchenko
7cbb3afcd7
Fixup "Support: Send new ticket notifications to Telegram"
Excuse me
2021-12-05 23:48:44 +02:00
Maxim Leshchenko
d7e3d2d77d
Support: Send new ticket notifications to Telegram 2021-12-05 23:30:57 +02:00
Maxim Leshchenko
cdc130ecc2
Fixup "Fixup "Support: Display the number of unanswered tickets in the left menu"
Sorry I wanted to sleep then
2021-12-05 13:54:39 +02:00
Ilya Prokopenko
2b1a147e9f
L10n: Corrections and added missing lines from RU 2021-12-05 12:32:52 +07:00
Maxim Leshchenko
6f26a870fd
Users: Fix saving of libertarianism in political views
Closes #101
2021-12-05 01:16:12 +02:00
Maxim Leshchenko
8fd09a7846
Fixup "Support: Display the number of unanswered tickets in the left menu"
Excuse me :3
2021-12-05 00:56:42 +02:00
Maxim Leshchenko
98f8819c17
Global: Fix CSRF vulnerabilities in /logout and language change
Closes #281
2021-12-05 00:48:25 +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
f4baf46a72
@layout.xml: one more hotfix :DDDD 2021-12-05 00:04:33 +03:00
veselcraft
aa60b64638
@layout.xml: hotfix :DDDD 2021-12-05 00:03:30 +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
Maxim Leshchenko
7f4dabef4b
Support: Display the number of unanswered tickets in the left menu 2021-12-04 22:15:13 +02:00
Maxim Leshchenko
d9c04d1428
Wall: Handle exception when posting a long comment 2021-12-04 21:59:47 +02:00
Maxim Leshchenko
021971289d
Groups: Add the ability to write comments on behalf of the group 2021-12-04 21:46:26 +02:00
Maxim Leshchenko
7591c1082b
Gifts: Remove the previous fix from the gift selection page
He was not needed :3
2021-12-04 15:47:42 +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
4048f21f59
Global: Fix paginator display in lists
It's probably a crutch, but oh well. Just continued an existing crutch
2021-12-04 13:25:57 +02:00
Maxim Leshchenko
0cca615d2a
Support: DESC sorting instead of ASC 2021-12-04 12:52:44 +02:00
Maxim Leshchenko
5918a9c34c
Global: Do not show the separator in the left menu if there are no links below it 2021-12-03 20:45:59 +02:00
Maxim Leshchenko
24624bb147
Users: Show all groups in the list of managed groups 2021-12-03 20:08:50 +02:00
Maxim Leshchenko
b4c6061a9a
Fixup "Users: Add two-factor authentication"
Make the background of the QR code white, correct the text of the enable message and remove audios from the left menu
2021-12-02 18:12:45 +02:00
Maxim Leshchenko
e433e83c5d
Users: Add two-factor authentication (#321)
This commit adds full TOTP 2FA. And even backup codes modeled on the original VK
2021-12-02 17:31:32 +02: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
5f9b36de5f
Themepacks: Adapt the layout to support xmas.css stylesheet
and added some info about why the theme was been skipped
2021-12-02 15:00:15 +03:00
veselcraft
1735d1401f
Xmas: updated css 2021-12-01 23:13:16 +03:00
veselcraft
c6ab5b0ac5
Xmas: Custom header and xmas is activated after 1 december 2021-12-01 23:12:05 +03:00
veselcraft
a36fe7b0e8
Global: Instance name in header bar 2021-12-01 16:19:37 +03:00
veselcraft
e9635be5a8
Comments: Fix layout and likes count 2021-11-30 18:34:07 +03:00
Maxim Leshchenko
5beff8897c
Wall: Remove sending a notification when a comment is like that breaks the list of notifications
To fix broken notification lists for everyone, run this SQL query in the database with notifications: DELETE FROM `notifications` WHERE `originModelType` = 6;
2021-11-29 13:23:17 +02:00
veselcraft
706f972e88
Wall: Fix performance issue 2021-11-28 17:28:17 +03:00
Ilya Prokopenko
a77c7dea54
Support: L10n support and rewriting responses 2021-11-28 16:44:22 +03:00
veselcraft
e7c3d46e83
L10n: New string "View other comments" 2021-11-28 14:56:39 +03:00
veselcraft
14b3e13d95
Wall: Compact avatars are now works with non-default settings; Comments in the feed 2021-11-28 14:53:33 +03:00
veselcraft
03dee6b1f0
Wall: Last comments on the post 2021-11-28 14:39:42 +03:00
veselcraft
7778dd7d38
Wall: Added a Pinned string to Post (microblog style) 2021-11-28 03:22:59 +03:00
veselcraft
dd94cde0dc
Feed: Little bit of posting field redesign 2021-11-28 02:47:00 +03:00
veselcraft
5ff3d95b2d Merge branch 'master' of github.com:openvk/openvk into master 2021-11-27 21:07:42 +03:00
veselcraft
d650a3cd21
Notifications: Shring the radius of the corners
Co-authored-by: Defenders08 <60748247+Defenders08@users.noreply.github.com>
2021-11-27 21:07:34 +03:00
veselcraft
fd2ef5fad5
User: Age refactoring
Лапский, это вообще пиздец какой-то. Проще не додумался сделать?
2021-11-27 21:02:37 +03:00
Maxim Leshchenko
d7b3ccb3ad
Users: Correctly align the status change popup relative to the status itself 2021-11-27 19:32:21 +02:00
veselcraft
f3791f6478
Wall: Redesign like and repost buttons 2021-11-27 16:31:00 +03:00
veselcraft
7d94282ad4
Pagination: Make it a LOT better
thx grinotion for the idea xddddd
2021-11-27 15:19:17 +03:00
veselcraft
478f8f9368
Support: Indicator for answered tickets for user
Fixes #187
2021-11-27 12:24:34 +03:00
Ilya Prokopenko
25d0fde3c3
Global: Deleted bg.gif and hat.gif
They were NEVER used. No, seriously.
2021-11-26 20:27:45 +07:00
Ilya Prokopenko
c327054393
Global: Updated Xmas header
I should've done this when updating the main header but nvm
2021-11-26 20:09:46 +07:00
Maxim Leshchenko
73b8ac3f4a
Fixup "Users: Add a popup to change the status"
Sorry :3
2021-11-25 22:21:38 +02:00
Maxim Leshchenko
76605b9eed
Users: Add a popup to change the status
Now, when you click on the status, a popup window opens in which you can do this (just like in the original VK and OpenVK Classic). So far, changing the status requires a page reload. Closes #227
2021-11-25 22:10:53 +02:00
Celestora
60653cdf59 Fix typo in AnswerTicket.xml 2021-11-25 21:23:08 +02:00
Celestora
131988ddf3 Rewrite unholy and annoying support greetings 2021-11-25 21:20:52 +02:00
Maxim Leshchenko
d1f0dea73a
Groups: Remove useless return in GroupPresenter (sorry) 2021-11-24 22:53:32 +02:00
Maxim Leshchenko
787587015d Groups: Fix calculation of length of admin comment 2021-11-24 22:48:27 +02:00
veselcraft
1eb5939378 Merge branch 'master' of github.com:openvk/openvk into master 2021-11-24 22:29:52 +03:00
veselcraft
a3d65a402e
VKAPI: Wall.get impovements
Added a "extended" value, added a "offset" to the Repositories/Posts->getPostsFromUsersWall function and little bit of refactoring
2021-11-24 22:24:44 +03:00
Maxim Leshchenko
4dcc5981f1
Fix indentation in User/View.xml 2021-11-24 18:14:13 +02:00
Maxim Leshchenko
ab231aa55f
Users: Remove @ from the beginning of the Telegram account name when saving it 2021-11-23 01:31:27 +02:00
Maxim Leshchenko
d782dd055a
Add a separate style to radio buttons so they don't look like checkboxes 2021-11-23 00:38:32 +02:00
veselcraft
6a139442c8
Users: Fix #289 2021-11-20 14:30:18 +03:00
veselcraft
b2a993d649
Groups: Hotfix for "Managers" tab 2021-11-20 13:53:54 +03:00
veselcraft
e5238ecc41
User: Added a tab in "My Groups" page for usual and managed groups 2021-11-20 13:47:59 +03:00
Ilya Prokopenko
d58d0b5a38
Added another version of the logo for README only 2021-11-20 17:21:35 +07:00
veselcraft
b1a4a4a895
Videos: DESC sorting instead of ASC 2021-11-20 12:56:59 +03:00
Maxim Leshchenko
6562884af2
Wall: Handle exception when posting a long post 2021-11-20 00:46:51 +02:00
Celestora
b5d1384d08 Fix oxygen-icons submodulojn 2021-11-18 15:58:43 +02:00
Ilya Prokopenko
a6b738ffd2
Global: Changed logo in the header
... as well as changed the width value for .home_button
2021-11-18 20:48:25 +07:00
Celestora
1c34e51750 Fix indentation in TRichText 2021-11-17 21:41:44 +02:00
Celestora
373513cabc WIP: Fix XSS vulnerability in support tickets 2021-11-17 21:39:22 +02:00
Celestora
b1fbb7560c Fix weird reference to "owner" column in Post::getOwnerPost 2021-11-17 18:27:11 +02:00
Maxim Leshchenko
c83947ab09
Groups: If the administrator is hidden, create his posts anonymously 2021-11-17 09:43:55 +02:00
Maxim Leshchenko
2ee7a141c5 User: Correctly display the number of videos and notes on the user's page when their list is collapsed 2021-11-16 14:31:15 +02:00
Maxim Leshchenko
4daa1afea4
Groups: Show number of administrators when their list is collapsed 2021-11-16 13:01:33 +02:00
Maxim Leshchenko
c383a3cdc9 Groups: Fix the very inclusion of the display of the creator, when changing the name, when all administrators are hidden 2021-11-16 12:45:34 +02:00
Celestora
674e613e30 Fix routing bug in absolute photo URLs 2021-11-16 11:56:27 +02:00
Celestora
0a7bc786b5 Add option to post anonymously 2021-11-15 21:45:48 +02:00
Ilya Prokopenko
3e0447c3f0
Notes: Undoing changes to Entities/Note 2021-11-15 14:11:51 +03:00
Ilya Prokopenko
98fd851729
Notes: Actual use of virtual ID 2021-11-15 14:00:49 +03:00
Maxim Leshchenko
3d07339431
Groups: Fix error when changing website 2021-11-13 23:43:51 +02:00
Maxim Leshchenko
2c31900d97
Groups: Return pagination to subscribers list 2021-11-13 23:39:00 +02:00
Maxim Leshchenko
7c81378b6c
About: Add myself :3 2021-11-13 22:57:18 +02:00
Maxim Leshchenko
5c9d3c085e
When you like a repost, put likes on the entire hierarchy of repost posts recursively (#287) 2021-11-13 22:28:17 +02:00
Ilya Prokopenko
33f027b84b
Clubs: Added a getWebsite function 2021-11-13 19:21:46 +07:00
veselcraft
9cef1f630f
Users: Added a getWebsite function just to fix unworking state xddd 2021-11-13 15:13:44 +03:00
Maxim Leshchenko
1c650d595c
Add the ability to specify the website of users and groups (#279) 2021-11-12 18:56:41 +02:00
Maxim Leshchenko
818d7cbc02
Fix crutch to correctly display the name of the group creator with Russian symbols 2021-11-12 18:18:48 +02:00
Maxim Leshchenko
5556c88e44
Improvements related to group admins (#278)
Changes:
1. Add the ability to display only administrators on the page with a list of subscribers
2. Add the ability to hide the fact that the subscriber is an administrator
3. Fix display of large text in the block with the list of administrators
4. Fix display of the number of administrators
2021-11-12 15:31:23 +02:00
Maxim Leshchenko
3f74e426be
Pinning groups to the left menu: Correct name of the strings 2021-11-12 11:32:22 +02:00
Maxim Leshchenko
e3358fcfa5 Pinning groups to the left menu
This commit allows you to pin groups to the left menu (max 10 groups, only those in which you are the administrator) from the My Groups page. Fixes #186
2021-11-10 11:18:25 +02:00
celestora
610b2bda6d
Resolve #275 by reducing line-height to 1.3x 2021-11-07 12:40:26 +02:00
veselcraft
44893ff40f
Themes: Hot fix for unauthorized users 2021-11-07 00:30:35 +03:00
veselcraft
1dff89972e
Themes: Now you should not reload page twice after changeing theme
Also added a setTempTheme global presenter function
2021-11-06 23:43:48 +03:00
veselcraft
f555c781bf
Group: Refactoring for admins (also fixes #252) 2021-11-06 22:25:11 +03:00
Maxim Leshchenko
a19671eff8 Fix conflicts 2021-11-06 16:57:07 +02:00
Maxim Leshchenko
bcdf4c6524 Redesign of the list of administrators 2021-11-06 16:47:53 +02:00
veselcraft
c8eb6c3f3f About: Added a knowledge base feature to the main page 2021-11-06 15:02:12 +03:00
veselcraft
2b6f4a9896 Wall: Added more readability (fix #268) 2021-11-06 14:40:44 +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
celestora
dc10276621
Style radio buttons 2021-11-05 13:24:55 +02:00
Maxim Leshchenko
d05c181e63 Code improvements 2021-11-05 12:32:55 +02:00
Maxim Leshchenko
b15b9643a0 Add group creator display options
This commit allows you to display the list of administrators instead of the group author (maximum 7 administrators, the rest will be hidden) and hide the group author
2021-11-05 11:44:50 +02:00
celestora
c306899ead
Fix syntax errors in WallPresenter 2021-11-04 19:01:09 +02:00
veselcraft
c049d5c0f3 Merge branch 'master' of github.com:openvk/openvk 2021-11-04 00:23:42 +03:00
Ilya Prokopenko
96ee98ae28
Now you can't access the wall of a banned user
Fixes #264
2021-11-04 16:15:58 +03:00
celestora
4ea2a52f17
Update style.css 2021-11-04 14:25:02 +02:00
Celestora
c0c35c3872 Fix #161: online status bug 2021-11-04 13:45:30 +02:00
veselcraft
d9f4894e7b Global: Fix #267 2021-11-04 00:23:29 +03:00
Celestora
e5ea1cd351 Make kromer storage type "real" to allow buying cents/pennies 2021-11-03 19:19:15 +02:00
Ilya Prokopenko
fd09cc61f8
User: Manage user (for admins) (#263)
Closes #263
2021-11-03 19:02:59 +07:00
Celestora
9e86389b62 Add admin-placeable alerts 2021-11-02 23:07:26 +02:00
Ilya Prokopenko
dbca5e4f34
About: #ovkLogo - width -> height 2021-11-01 21:10:31 +07:00
Ilya Prokopenko
8e95a53e04
Global: New version of the full logo 2021-10-31 20:55:55 +07:00
Ilya Prokopenko
ecc1fba94d
Global: Get rid of OpenVK 2 branding (#105)
Closes #105
2021-10-31 18:29:52 +07: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
veselcraft
734a86b799 VKAPI: Added Audio method (early implementation 🧌) 2021-10-23 00:00:25 +03:00
celestora
7e4896a0d3
Videos: Fix pagination in videos 2021-10-17 12:03:31 +03:00
Ilya Prokopenko
ddce88ba7f
About: Lapskiy was removed from the dev force
... at his own request.
2021-10-17 15:57:35 +07:00
Celestora
0b7b67e2e7 Notifications: WIP: Add ajax notifications :D 2021-10-15 23:05:27 +03:00
Ilya Prokopenko
931f2a1149
Posts: Online status hotfix 2021-10-15 18:36:21 +03:00
Ilya Prokopenko
2feaee4be4
Posts: Added online status under the avatar
Closes #237
2021-10-15 18:17:34 +03:00
Celestora
ad878474ce Videos: Implement checks to prevent uploads of non-video files or mediacontainers without vstreams
Resolves #234
Sorry, Beatrice
2021-10-15 12:34:59 +03:00