Commit graph

59 commits

Author SHA1 Message Date
Ilya Prokopenko
200414b67d
Use redirect() instead of header("Location: ...") 2022-08-09 12:52:36 +07: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
Ilya Prokopenko
74b3bf5e3f
Photos: Add changing of update date of album
Resolves #588
2022-07-29 16:41:43 +07: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
Vladimir Barinov
305bd7b02f
Merge pull request #550 from openvk/ton-integration
Интеграция TON
2022-06-02 13:19:29 +03:00
Maxim Leshchenko
203b16b87c
Users: Fix list of user groups a little bit 2022-05-23 20:24:32 +01: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
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
Maxim Leshchenko
45fe270700
Users: Add ability to change email address in settings
Closes #63
2022-05-06 16:17:08 +02: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
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