Commit graph

508 commits

Author SHA1 Message Date
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
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
Maxim Leshchenko
45fe270700
Users: Add ability to change email address in settings
Closes #63
2022-05-06 16:17:08 +02: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
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
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
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
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
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
ed9dac2ac1 Use correct image sizes in various templates 2022-04-05 14:39:13 +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
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
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
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
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
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
Ilya Prokopenko
a31e85f27f
Admin: Add "First known IP" field 2022-03-09 18:23:43 +03:00
Ilya Prokopenko
116a12a90a
DO NOT hide Reg. button when reg. is disabled 2022-03-09 14:06:43 +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
Ilya Prokopenko
08afedc26f
Notes: Fix-up preview image and some other fixes
... yeah.
2022-02-27 19:18:13 +03:00
veselcraft
21b16dd7a4
Videos: Redesign preview and list 2022-02-22 13:44:13 +03:00
Ilya Prokopenko
7b78becfbd
Global: Fix hiccups and localize some strings 2022-02-19 20:54:44 +03:00
Ilya Prokopenko
a1a18b7255
Groups: Fix the attachment to the left menu 2022-02-19 20:31:19 +03:00
kosfurler
6726771874 Groups: Fix info table disapperiance in group list 2022-02-19 16:07:15 +03:00
KosFurler
a9eb0ab31b
Merge branch 'master' into similartovk 2022-02-19 01:32:46 +03:00
kosfurler
91b4e03d7e Layout: Update friends, groups, videos and albums lists. And some style fixes. 2022-02-19 01:03:27 +03:00
f142020724
Locales: Fix "default" string and separate it
Whoops, "default" was also used in other places. Now I reverted it back
and added new "arbitrary_avatars"
2022-02-12 19:16:32 +03:00