Commit graph

257 commits

Author SHA1 Message Date
n1rwana
5b3a1f50e9
Shortcode aliases (#690)
* Shortcode aliases

* Fixes

* Newline

* Fixes + SQLs renamed

* Fixed clubs aliases
2022-09-17 00:21:29 +03:00
celestora
384c0da78b Revert Clubs::getPopularClubs change
This functionality is so unstable it causes majority of installations to fail miserably out of the box. The performance also is a major concern. Might re-add later. Sometime.

btw i amended
2022-09-12 20:51:41 +03:00
n1rwana
125c6b1b63
Ability to block URL (#693) 2022-09-05 18:57:41 +03:00
n1rwana
a935b2ca31
Заморозка страницы (#698)
* Заморозка страницы

* Bugfixes

* ok
2022-09-05 11:16:22 +03:00
celestora
b328254285 Use adler32 hash for app avatars (php74 compat) 2022-08-20 21:36:56 +03:00
celestora
d767d8e2eb
Приложения (#674) 2022-08-20 21:07:54 +03:00
celestora
6e17c446bf Add ability to preview notes without publishing
Resolves #604
2022-08-19 20:20:09 +03:00
celestora
d02cef93ee
Search hashtags via word index (#655) 2022-08-15 13:08:07 +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
celestora
74f5d0a705
Don't truncate group names
Now long group names are allowed (VK pre-2012 std)
2022-08-04 21:42:30 +03:00
veselcraft
22e4e76b9f
Friends: Add list with friends online 2022-07-31 14:33:23 +03:00
Ilya Prokopenko
74b3bf5e3f
Photos: Add changing of update date of album
Resolves #588
2022-07-29 16:41:43 +07:00
veselcraft
44241be808
VKAPI: Add new methods for Wall - getComments, getComment, createComment, deleteComment 2022-07-23 15:50:00 +03:00
veselcraft
658b60d5f0
VKAPI: Disable HTML output in prior to RAW output
RichText: Replace CR+LN with just LN because it causes graphical bugs in VK4ME
2022-07-21 09:40:42 +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
veselcraft
b731cb4c87
Merge branch 'master' of github.com:openvk/openvk 2022-05-31 17:40:04 +03:00
veselcraft
db3789bef8
Messages: Redesign, Date fix, Pagination
Search: Kind of fix by adding more shitcode xdddddd

Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>
2022-05-31 17:39:52 +03:00
Ilya Prokopenko
2dd37519e3
User: Always return the name with a capital letter 2022-05-31 14:20:02 +03:00
Celestora
1667713aa0 Transliterate names to latin for en.strings 2022-05-30 11:09:45 +03:00
Celestora
5d11cdbe46 Properly output marital status for female users 2022-05-30 10:46:27 +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
f8c0071227
Groups: Fix exception on groups with empty description 2022-05-20 17:23:10 +01:00
Maxim Leshchenko
0818e507a8
Support: Remove some commented code and make code a little more consistent with the code style 2022-05-20 15:16:39 +01:00
Maxim Leshchenko
12210d0fb0
Groups: Allow line breaks in descriptions
Closes #542
2022-05-20 13:45:14 +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
Maxim Leshchenko
45fe270700
Users: Add ability to change email address in settings
Closes #63
2022-05-06 16:17:08 +02: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
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
Ilya Prokopenko
d969e29621
About: Increase the top groups by 10 2022-04-18 13:54:56 +07: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
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
Ilya Prokopenko
17a60f24e8
Global: Fix photo uploads
Resolves #524
2022-03-30 16:52:14 +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
veselcraft
f7a2da2cbf
VKAPI: Add Likes.add, Likes.remove and Likes.isLiked methods 2022-03-29 14:04:11 +03:00
veselcraft
8caecbe362
VKAPI: Make ACTUALLY work 'count' arg in Friends methods 2022-03-27 16:43:20 +03:00
veselcraft
dae42b0179
Users: Add ability to search by shortcode 2022-03-27 16:18:51 +03:00
Maxim Leshchenko
6588734caa
Support: Allow agents to prevent users from creating tickets 2022-03-26 22:06:07 +01:00
veselcraft
e6759f089f
Albums: fix getAlbumByPhotoId performance issue 2022-03-25 16:36:38 +03:00
veselcraft
4bf6fce260
VKAPI: Fix 500 error if the post is published as anon 2022-03-25 14:44:10 +03:00
veselcraft
514b73d41e
Merge branch 'master' of github.com:openvk/openvk 2022-03-25 14:05:59 +03:00
veselcraft
1472801874
VKAPI: Add attachments support for Wall methods
TODO Refactor: Перенести вывод в отдельную функцию, чтоб не дублировать код
2022-03-25 14:05:44 +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
celestora
e3312cb5f2
Replace invalid Start-Process command with SetPriority 2022-03-22 12:16:06 +02:00
Ilya Prokopenko
d619455e1f
Notes: Display new notes first
Resolves #500
2022-03-21 17:11:53 +03:00
Celestora
71c744c41f Add video uploading support for Windows
Untested, but should mark as resoved #506
2022-03-20 18:04:43 +02:00
Maxim Leshchenko
95de8e4514
Wall: Process hashtags only if it's not part of a word
Closes #449
2022-02-08 18:40:51 +02:00
Maxim Leshchenko
5f376b0517
Users: Consider nickname when searching for a user
Closes #465
2022-02-08 15:44:20 +02:00
celestora
881665831e
Allow non-cased letters in names 2022-02-08 12:15:29 +02: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
47093f40cc
Users: Bring back ability to NOT set the last names 2022-02-07 20:16:47 +03:00
veselcraft
8c44721a1e
Merge branch 'master' of github.com:openvk/openvk 2022-02-07 19:40:20 +03:00
veselcraft
a48d1cd8ce
Notification: Fix pagination (it didn't work)
Closes #460

vriska nu i vadristal ty tut v kode xddddd
2022-02-07 19:39:54 +03:00
Ilya Prokopenko
170343e989
Videos: Use an actual thumbnail for YT videos 2022-02-06 16:44:49 +03:00
Ilya Prokopenko
e5afb0fc88
Users, Groups: Fix URL avatar output
This commit fixes the avatar URL output for those who visit the website with a port (e.g. ovk.domain.tld:1337)
2022-02-06 16:10:35 +03:00
Celestora
51ace8d888 Enforce usage of non-empty, correct profile names.
Resolves #456
2022-02-05 20:09:37 +02:00
veselcraft
bd8e5318b6
Email: Rename Confirmations to Verifications, fix var names and codestyle 2022-01-31 15:35:35 +03:00
veselcraft
1df0545061
[WIP Maybe] Email: Add verification mechanism
This does work only if email is required by instance. If you're sysadmin, you can configure it in openvk.yml.
2022-01-31 14:45:53 +03:00
Maxim Leshchenko
67c61bf7a1
Support: Add ability to delete comments in a ticket
There used to be a button for this, but it didn't work. It works now
2022-01-28 15:34:13 +02:00
Ilya Prokopenko
3796135c2f
Search: Filter out deleted accounts 2022-01-27 14:46:28 +03:00
Ilya Prokopenko
870653ccb1
Notes: Add editing (#58)
Closes #58
2022-01-26 18:26:18 +03:00
celestora
cfb8b68fc0
Allow semicolons in links [wip?]
Resolves #359
2022-01-16 13:15:08 +02:00
Maxim Leshchenko
9feea4302a
Support: Some fixes
:3
2022-01-07 02:07:36 +02:00
Maxim Leshchenko
02e41e19b4
Support: Use pagination in the user's ticket list 2022-01-07 00:59:51 +02:00
Maxim Leshchenko
3edf34e0ea
Global: Add user option to hide ad poster 2022-01-03 21:13:53 +02:00
Maxim Leshchenko
1b1c88dd96
About: Add a page with information about an instance
Namely, brief statistics, a list of administrators (the administrator can be hidden from the list using a new right), a list of the 10 most popular groups and rules
2022-01-03 17:59:12 +02:00
Maxim Leshchenko
cca9151661
Groups: Add ability to hide posts from the global feed 2022-01-02 01:45:00 +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
0a6ce0ffc0
Users: Do not delete subscriptions when banned for flood requests
It wasn't cool
2021-12-25 22:32:15 +02:00
veselcraft
efa89e075f
Global: Define standard unix time values
Thanks @vladislav805 for the idea!
2021-12-25 14:21:39 +03:00
Maxim Leshchenko
948719ec3d
Groups: Do not show group pin button in group list when the group cannot be pinned 2021-12-24 22:08:03 +02:00
Maxim Leshchenko
c77fbebd22
Discussions: Add ability to turn on the display of a list of topics above the wall 2021-12-22 17:31:58 +02:00
Maxim Leshchenko
601d120771
Global: Don't highlight mentions if they are part of a word or link 2021-12-22 16:03:41 +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
Maxim Leshchenko
e00e3b9097
Support: Fix answers evaluating
Now it works
2021-12-16 20:25:42 +02:00
Maxim Leshchenko
cd91d4e310
Discussions: Some fixes 2021-12-15 19:00:26 +02:00
Maxim Leshchenko
c1707a5991
Groups: Fix discussions
Again. Pardon :3
2021-12-15 01:29:41 +02:00
n1rwana
a082d84d54
Support: Allow users to rate support answers (#342)
* New feature: users can rate support answers

Now users can rate support answers. They will see links "This is good answer" and "This is bad answer", like it was in original VK.
2021-12-15 00:56:23 +02:00
Maxim Leshchenko
e3a4c34574
Fixup "Groups: Discussions"
Just forgot to add these two files to the commit :3
2021-12-15 00:48:09 +02:00
Maxim Leshchenko
356c782f74
Groups: Discussions
This commit adds discussions (forums) to groups, similar to how it was implemented in the original VK
2021-12-15 00:27:17 +02:00
veselcraft
6ef1e533da
Users: Birthday refactoring
Also fixes #118
2021-12-14 18:53:44 +03:00
veselcraft
7dc3e8965d
Wall: Ability to ping users by short adresses
Fixes #28
2021-12-14 15:28:35 +03:00
Celestora
e6493d4f5c Fix logic error in антимат 2021-12-14 13:55:11 +02:00
Celestora
ae6ecbc67d Add christian mode (антимат) 2021-12-14 13:46:51 +02:00
Maxim Leshchenko
bb055f90aa
Fixup "Groups: Allow coadmins to delete comments on posts" 2021-12-13 00:43:20 +02:00
Maxim Leshchenko
78a8ee9a45
Groups: Allow coadmins to delete comments on posts
Closes #341
2021-12-12 21:47:39 +02:00