Commit graph

241 commits

Author SHA1 Message Date
Maxim Leshchenko
78a8ee9a45
Groups: Allow coadmins to delete comments on posts
Closes #341
2021-12-12 21:47:39 +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
021971289d
Groups: Add the ability to write comments on behalf of the group 2021-12-04 21:46:26 +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
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
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
Ilya Prokopenko
a77c7dea54
Support: L10n support and rewriting responses 2021-11-28 16:44:22 +03:00
veselcraft
03dee6b1f0
Wall: Last comments on the post 2021-11-28 14:39:42 +03:00
veselcraft
fd2ef5fad5
User: Age refactoring
Лапский, это вообще пиздец какой-то. Проще не додумался сделать?
2021-11-27 21:02:37 +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
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
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
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
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
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
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
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
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
c0c35c3872 Fix #161: online status bug 2021-11-04 13:45:30 +02:00
Celestora
e5ea1cd351 Make kromer storage type "real" to allow buying cents/pennies 2021-11-03 19:19:15 +02:00
Celestora
9e86389b62 Add admin-placeable alerts 2021-11-02 23:07:26 +02:00
Celestora
0b7b67e2e7 Notifications: WIP: Add ajax notifications :D 2021-10-15 23:05:27 +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
Celestora
829b3d1fbc Photos: Increase possible wideness/tallness of image to k=7 2021-10-14 14:40:28 +03:00
Celestora
b47d0dcd48 Support: WIP: Add support agent name customization 2021-10-14 13:35:17 +03:00
Celestora
b39dd44143 Settings: Add configurable shortcode length constraint 2021-10-13 23:41:12 +03:00
Celestora
1c341874a0 Wall [Experimental]: Allow to embed videos in posts 2021-10-13 22:51:28 +03:00
Celestora
240ce51705 Media: Allow to change the default data deletion policy 2021-10-13 18:23:02 +03:00
Celestora
4ab9d67718 [WIP] Comments: Allow photo uploads in comments 2021-10-12 14:17:21 +03:00
Celestora
ec4757f356 Commerce: allow disabling commerce in configuration
Resolves #183
2021-10-12 12:20:08 +03:00
Vladimir Barinov
81e5f2ae2c
Profile: Refactor rating bar. Again.
@celestora is not going to follow my idea kek
2021-10-10 00:05:20 +03:00
Celestora
b25af9b14d Refactor function name 2021-10-09 22:44:48 +03:00
Celestora
5c9c09c7a9 Refactor rating bar 2021-10-09 22:42:20 +03:00
celestora
c17c3382a0
Fix incorrect slug generation for GiftCategory 2021-10-09 21:54:42 +03:00
veselcraft
0bf7c3debc Support: Fix for QnA's Ticket list 2021-10-09 13:55:25 +03:00
veselcraft
820c9c22fe Support: Links and New lines are present now (fixes #38) 2021-10-09 13:46:41 +03:00
Celestora
626b343baa Add service api handler for Wall.getPost 2021-10-07 12:29:38 +03:00
Celestora
9336a91623 Add gifts
Signed-off-by: Celestora <kitsuruko@gmail.com>
2021-10-07 11:48:55 +03:00
Celestora
255d70e974 Add vouchers
Signed-off-by: Celestora <kitsuruko@gmail.com>
2021-10-07 11:47:30 +03:00
Celestora
83b88dfee3 [SECURITY] Fix invalid access control check in WallPresenter::renderPin 2021-09-20 16:46:55 +03:00
Celestora
839594cd70 Add pinning feature 2021-09-20 15:21:33 +03:00
0x7d5
d996be443f User: one more fix with birthday 2021-09-14 12:12:41 +05:00
0x7d5
bda20336b8 User: Fixed crashwhen going to the page of a user who has no birthday 2021-09-13 23:35:10 +05:00
0x7d5
bbf113bfd5 Profile: Added birthday 2021-09-13 21:34:02 +05:00
Ilya Prokopenko
dd307f29c2
Invite: normal implementation
Co-authored-by: celestora <kitsuruko@gmail.com>
2021-09-13 10:22:05 +07:00
root
7f1a5f2354 User: Now the User's page can be marked as Deceased. And now the user can be Incognito (at least, admins)
To mark the page as Deceased, type  in  field in Database. To be Incognito, type  in  field.

Specially for deceased drbream
2021-09-11 01:33:45 +03:00
Celestina Rempai
574f4918e5 Fix avatar erros 2021-02-06 20:38:39 +00:00
Alma Armas
080e918f11 Unread messages stub 2021-01-27 17:59:11 +00:00
Alma Armas
1d46bbb6d6 Refactor albums 2021-01-27 17:41:21 +00:00
Alma Armas
16f1b22ecb Refactor albums 2021-01-27 17:39:15 +00:00
Alma Armas
49a9a9bdb1 Merge branch 'master' of https://github.com/openvk/openvk 2021-01-17 11:57:12 +00:00
Alma Armas
9fb59faba7 Add HTMLPurifier as a composer dependency
Co-authored-by: rem-pai <kitsuruko@gmail.com>
2021-01-17 11:55:43 +00:00
veselcraft
b494368585 Delete notes func 2021-01-16 18:19:54 -05:00
Alma Armas
fc9df5624b Add NSFW CW back
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:19:36 +00:00
Alma Armas
9132eb8d98 Get rid of music
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:17:19 +00:00
Alma Armas
5f8c4ed248 Merge branch 'master' of https://github.com/openvk/openvk 2021-01-04 17:38:35 +00:00
Alma Armas
8b1bc4b894 [FIX] HTTPS errors in Tracy 2021-01-04 17:38:17 +00:00
veselcraft
057e6c5c63 [NEW FEATURE] Microblog
Can be enabled in settings
2021-01-04 12:33:25 -05:00
Alma Armas
2f09e32b1e Add rate limiting feature
Co-authored-by: Rempai <kitsuruko@gmail.com>
2020-12-31 21:19:58 +00:00
Alma Armas
a608ebc1a7 Always return absolute URLs for avatars 2020-09-29 13:03:55 -07:00
Alma Armas
e50aa27eeb Fix hyperlinker 2020-08-24 11:37:47 +00:00
Alma Armas
fdb8b35609 Add post size limits 2020-08-20 12:58:40 +00:00
Alma Armas
e18a661507 [WIP] Add VK API compat layer 2020-08-12 11:39:06 +00:00
Alma Armas
82af3a27cc Begin refactoring Correspondence::getMessage to be compatible with VK API 2020-08-01 14:24:39 +00:00
Alma Armas
f235338d69 Add Postable::getLastComments 2020-08-01 14:23:08 +00:00
Alma Armas
98045ec121 Add club managers logic to Club model 2020-08-01 14:22:52 +00:00
Alma Armas
1cfb680a2c Modify Correspondence::sendMessage behaviour because current behaviour is useless and confusing 2020-07-18 07:47:42 +00:00
Alma Armas
af6eeb882c Add quickban button for admins 2020-07-17 16:26:59 +00:00
Alma Armas
9a99aeb3fc Make support agents identifiable 2020-07-16 20:09:48 +00:00
Alma Armas
606a61c7b3 Remove duplicate method call 2020-07-16 20:08:46 +00:00
Alma Armas
5b86b1fab7 Rate limit certain notifications
Likes and reposts will not emit notifications more than once per 2 minutes
2020-07-15 12:32:34 +00:00
Alma Armas
150f420038 Change messages style to more old
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-07-08 11:10:40 +00:00
Jill Stingray
7d4fa2886b Use twemoji 2020-06-26 09:30:15 +00:00
Jill Stingray
213c5410a2 Fix error, that mutilated post if it had multiple same emojis (OVK-113) 2020-06-26 08:36:56 +00:00
Jill Stingray
48a2040322 Fix fatal error when changing username
I forgot name of DatabaseConnection class xddd
2020-06-23 20:05:13 +00:00
Jill Stingray
1b3052869f Fix video uploads 2020-06-23 20:04:17 +00:00
fkwa
0f89de3011
Fix address collision 2020-06-20 10:57:21 +02:00
Jill Stingray
20ba764f22 Add post deletion
Co-authored-by: vovocka <22993408+veselcraft@users.noreply.github.com>
2020-06-18 14:22:32 +03:00
Jill Stingray
94cd52ccf5 Add video deletion
Co-authored-by: vovocka <22993408+veselcraft@users.noreply.github.com>
2020-06-17 22:04:08 +03:00
Jill Stingray
e02e95f648 Add aliases for default upload processing mode 2020-06-16 17:14:05 +03:00
Jill Stingray
d509096d46 Add themepack support 2020-06-11 23:21:49 +03:00
Jill Stingray
eba579046e Make messages capable of holding attachments 2020-06-11 12:55:43 +03:00
Jill Stingray
095b7960ca Fix short addr collision 2020-06-11 12:54:20 +03:00
Jill Stingray
db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00