Commit Graph

44 Commits

Author SHA1 Message Date
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
Ilya Prokopenko dee3942aef
Users: Replace Error 404 for deleted profiles
This commit replaces the 404 error with a new template for
deleted/non-existent users.
(this commit was backported from profile-removal)
2022-03-04 15:00:43 +03: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
veselcraft 33df6ef170
Profiles: Add ability to set Hometown
Closes #461
2022-02-07 20:07:03 +03:00
Celestora 51ace8d888 Enforce usage of non-empty, correct profile names.
Resolves #456
2022-02-05 20:09:37 +02:00
veselcraft bf81402174
Themes: Apply themes only for one device
Closes #424
2022-01-17 19:01:30 +03:00
veselcraft 8e07a59172
Themes: Autodetect Mobile and Desktop platforms
Check out openvk-example.yml to set up default mobile theme (if u have one)

I also changed the function's name and added a 'once' boolean arg which means the theme will be set for only one page

Also closes #402 and #403
2022-01-16 23:15:33 +03:00
Maxim Leshchenko efcaa874fb
Users: Fix 2FA QR code generation when new version of chillerlan/php-qrcode is installed
Compatibility with the old version is also preserved
2022-01-06 00:31:21 +02:00
Maxim Leshchenko 3edf34e0ea
Global: Add user option to hide ad poster 2022-01-03 21:13:53 +02:00
Maxim Leshchenko e5c650e351
Messenger: Allow sending messages not only to friends and add a privacy setting to customize this
Closes #91
2021-12-28 11:40:14 +02:00
Maxim Leshchenko 08c4d961f1
Users: Fix saving settings
:3
2021-12-26 16:06:57 +02:00
Maxim Leshchenko 19a2325a25
Users: Do not reload page when changing status through a popup 2021-12-25 19:47:18 +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
Maxim Leshchenko 48bfd36807
Groups: Display current page in list of user groups 2021-12-24 22:17: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 8edebcb0d5
Users: Add ability to hide custom links by users through settings 2021-12-17 18:58:31 +02:00
veselcraft c16262617d
Privacy: Fix a lot of issues with user's privacy
And fixes #36
2021-12-14 16:00:12 +03:00
Maxim Leshchenko c3332ab625
Fix indentation in UserPresenter 2021-12-13 19:19:53 +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 6f26a870fd
Users: Fix saving of libertarianism in political views
Closes #101
2021-12-05 01:16:12 +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 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
Maxim Leshchenko ab231aa55f
Users: Remove @ from the beginning of the Telegram account name when saving it 2021-11-23 01:31:27 +02:00
veselcraft e5238ecc41
User: Added a tab in "My Groups" page for usual and managed groups 2021-11-20 13:47:59 +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 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
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
Celestora c0c35c3872 Fix #161: online status bug 2021-11-04 13:45:30 +02:00
Celestora ec4757f356 Commerce: allow disabling commerce in configuration
Resolves #183
2021-10-12 12:20:08 +03:00
Celestora 255d70e974 Add vouchers
Signed-off-by: Celestora <kitsuruko@gmail.com>
2021-10-07 11:47:30 +03:00
veselcraft dddeeb9d72 User: Fix Interests section 2021-09-17 16:11:26 +03:00
0x7d5 312d2e5381 video, profile: hotfix 2021-09-15 02:07:22 +05:00
0x7d5 c91004e2ae Ok, i'm retard. 2021-09-15 02:01:38 +05:00
0x7d5 8958fa5821 profile, video: count symbols limitation. 2021-09-15 01:54:50 +05:00
0x7d5 78fbb1d00e User: fixed a bug that allowed the date of birth to be set later than the present 2021-09-13 23:54:35 +05:00
0x7d5 bbf113bfd5 Profile: Added birthday 2021-09-13 21:34:02 +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
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
veselcraft fdc58c4185 Localization Supplement 2020-08-20 17:05:00 +03:00
Jill Stingray d509096d46 Add themepack support 2020-06-11 23:21:49 +03:00
Jill Stingray fe13bbfdb8 Add microtransactions 2020-06-11 12:53:01 +03:00
Jill Stingray db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00