Commit graph

718 commits

Author SHA1 Message Date
veselcraft
160f2c9383
Global: Still canceling changes from past commits 2022-05-09 15:14:19 +03:00
veselcraft
7fc19ff5e7
Global: Cancel changed from past commits that was created by accident 2022-05-09 15:13:05 +03:00
veselcraft
04ab845382
Coin: Add dialog with QR-code and requisites + tweak config 2022-05-07 15:42:25 +03:00
veselcraft
13bc1b877d
Merge branch 'master' of https://github.com/openvk/openvk into ton-integration 2022-05-07 02:27:05 +03:00
Maxim Leshchenko
45fe270700
Users: Add ability to change email address in settings
Closes #63
2022-05-06 16:17:08 +02:00
veselcraft
730de65b80
Photos: (kinda) correctly display multiple pics in posts 2022-04-26 12:07:41 +03:00
veselcraft
40338a67fc
чет я серанул лол 2022-04-26 10:23:16 +03:00
veselcraft
9f699336f7
Merge branch 'master' into textarea-refactor 2022-04-26 10:16:24 +03:00
Celestora
622c9204b2 Use Photo::getVkApiSizes in wall.get
Now wall.get will reflect accurate information about image sizes and their dimensions.
2022-04-24 15:38:53 +03: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
ae3850b75e Add black bars to weird videos
Fixes #466
2022-04-18 20:40:32 +03:00
Celestora
3d24c1c881 Try to guess CDN the protocol if it is set to NULL in config 2022-04-18 19:42:05 +03:00
Celestora
2c10659003 Change hashtag format to include danbooru tags as a subset
Before: #kashim'a_(kantai_collection) -> #kashim'a_(kantai_collection) doesn't work
Now: #kashim'a_(kantai_collection) -> <a (...)>(...)</a> works
2022-04-18 19:36:44 +03:00
Celestora
377277f3d7 Allow mentioning people with funny names too
Fixes #494
2022-04-18 19:22:36 +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
d969e29621
About: Increase the top groups by 10 2022-04-18 13:54:56 +07:00
Maxim Leshchenko
f80f8f09cc
Wall: Add ability to send posts and comments by Ctrl + Enter
Closes #67
2022-04-17 20:36:34 +02:00
Ilya Prokopenko
d71613d47c
Global: Clean up the code [CSS] 2022-04-17 13:16:34 +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
Celestora
26cb287b67 Fix condition in Media::save which made videos stay in processing status for infinite amount of time 2022-04-12 22:12:15 +03:00
Celestora
fb141e259b Show stub if video is not processed 2022-04-12 22:01:12 +03:00
Celestora
f3f62a63ac Add User::getMorphedName 2022-04-12 20:10:35 +03:00
veselcraft
2c6fa71e20
Global: Add count of notifs to document title
also there is a wip shit of promise (not actually) but i didn't finished it yet bc of lack of time so

related to #535
2022-04-11 23:10:50 +03: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
d16b5fdf33
Global: New notification sound
Related to #535
2022-04-09 17:04:25 +07: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
Ilya Prokopenko
bcc22fa359
Global: Stylize #test-label [CSS]
Just to make that block a lil better.
2022-04-09 08:54:24 +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
15385ad69d Add auto-resolution for weird directory files error in Photo 2022-04-05 22:36:46 +03:00
Celestora
599c378b6f Remove redundant getDimensions 2022-04-05 16:13:25 +03:00
Celestora
be83a72be2 Add build-images to openvkctl 2022-04-05 15:54:53 +03:00
Celestora
ed9dac2ac1 Use correct image sizes in various templates 2022-04-05 14:39:13 +03:00
Celestora
608c34815e Add photo miniatures creation logic to Photo::saveFile 2022-04-05 14:10:31 +03:00
Celestora
f707c72f07 Cache image resolution in database 2022-04-05 11:38:19 +03:00
celestora
0c2d3844bc
Fix padding bruh momento with notes 2022-04-04 20:13:24 +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
Ilya Prokopenko
17a60f24e8
Global: Fix photo uploads
Resolves #524
2022-03-30 16:52:14 +03:00