Commit graph

1741 commits

Author SHA1 Message Date
veselcraft
85cd1c7554
Coin: Clean up the code 2022-05-09 15:12:14 +03:00
Maxim Leshchenko
fe2010560a
Global: Make code more consistent with code style 2022-05-08 12:11:18 +02:00
veselcraft
13f0cc8a66
Coin: cleanup code 2022-05-07 18:49:14 +03: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
celestora
63d6de7eec
Add code of conduct
Not ConCov, but old Linux 4.x CoC.
2022-05-07 13:09:18 +03:00
celestora
74ff36a737
Add code style 2022-05-07 13:02:30 +03:00
cc6771ea70
Coin: add sql 'migration' file
Still, there is no separate table to check which migrations were applied
2022-05-07 11:55:38 +03:00
veselcraft
16bc311bbc
Coin: A very early implementation of Toncoin fetching
It actually works! But there is a several problems:
1. Notification displays 0 coins instead of real number. Maybe @celestora will fix it idk
2. There is no real configuration of server, currency (rn there is TONs per 1 coin), regex or precise (aka count cents)

There is a lot of work, like integrating interactive interface with TON address and QR code, etcetera...

And btw only CLI is available right now. openvkcli fetch-ton command should be putted into cron, just to regularly check for new transactions :D

Related to #474
2022-05-07 02:33:22 +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
celestora
bfa26c24d1
Prevent deleted attachments from showing in wall.get 2022-05-01 17:04:59 +03:00
Ilya Prokopenko
b985057b49
Merge pull request #545 from aupn/patch-1
Update am.strings
2022-04-28 15:17:57 +07:00
Ash
57d7bf339e
Update am.strings
исправлены допускы в 943, 944 строках
2022-04-28 08:38:33 +04:00
Ash
d872201b8e
Update am.strings
могут быть некоторые допуски, исправлю со временем
2022-04-26 18:40:20 +04: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
veselcraft
d836cd7d3d
VKAPI: Add size things to Users and Walls 2022-04-23 21:04:54 +03:00
Ilya Prokopenko
f3ddcc153b
README: New unofficial instance 2022-04-21 23:58:19 +07: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
dc34646981
README: New official mirror 2022-04-18 19:51:51 +07: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
4b0740316d I forgor to add sql file for video processing column 2022-04-12 22:19:52 +03: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
Celestora
a8815a2402 Update vagrantfile (i'm still not sure it works) 2022-04-10 18:15:19 +03:00
Celestora
595a7ba843 Fix typo in openvk.template.yml 2022-04-10 17:14:36 +03:00
Ilya Prokopenko
e161a25e0a
Don't show error 500 when accessing a blocked user 2022-04-10 13:19:54 +03:00
Celestora
ba6b8d0ed6 Add configs for install 2022-04-10 12:57:07 +03:00
Celestora
7011d3298b Fix collation in email verifications 2022-04-10 12:19:41 +03:00