Commit graph

644 commits

Author SHA1 Message Date
Ilya Prokopenko
f7b33af86a
Routes: /restore.pl is no more
Forgot I was supposed to delete this >.<
2022-01-06 13:49:55 +07:00
Maxim Leshchenko
b056ffab8b
Global: Do not load fartscroll if it is disabled in the config 2022-01-06 01:39:43 +02: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
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
Celestora
a115e15a5c Fix default values in some components 2022-01-02 20:52:53 +02:00
Maxim Leshchenko
9e01d0adba
Groups: Display list of group albums to administrators, even if it is empty
The same behavior has already been implemented with discussions. What for? Previously, to create a group album, it was necessary to manipulate the address. There was no other method. Now this empty list will serve as a button for administrators to create an album and show that such a possibility exists.
2022-01-02 17:49:11 +02:00
Maxim Leshchenko
413e2ac6f0
Photos: Fix creating and deleting albums in groups
Closes #171
2022-01-02 17:15:49 +02:00
Ilya Prokopenko
c10b8274a6
Search: No need to repeat query when changing tab 2022-01-02 17:54:48 +03:00
Maxim Leshchenko
cca9151661
Groups: Add ability to hide posts from the global feed 2022-01-02 01:45:00 +02:00
MaksimMohooks
222621ebaf Update Udm locales 2021-12-31 15:52:35 +03:00
Ilya Prokopenko
a1be5bb901
Auth: Show /restore only to unauthorized people 2021-12-31 11:35:05 +07:00
Ilya Prokopenko
8863ededf1
Removed unnecessary extensions from the routes
... almost. restore.pl was left temporarily (namely for two days) so that users could safely restore their passwords if they needed to.
2021-12-31 11:28:57 +07:00
Ilya Prokopenko
c2588d18dc
Admin: Added possibility to change page URL 2021-12-31 11:11:29 +07:00
Maxim Leshchenko
85ca646825
Messenger: Do not display the correspondent's login date if it was too long ago 2021-12-30 18:53:55 +02:00
Maxim Leshchenko
79e000d175
Users: Allow translation of user alerts
Also add an alert about scam to translations
2021-12-28 22:51:01 +02:00
Defenders08
61b36417a8
Multiple message improvements (#366)
* Сообщения

Сделал такой же цвет в списке у непрочитанного сообщения + убрал скругления ибо зачем они там вообще если нигде их нету лол)

* Сообщения

Исправил баг при котором в списке сообщений была горизонтальная прокрутка
2021-12-28 20:26:54 +02:00
veselcraft
d0a38c8df1
ActivityPub: Fix syntax error 2021-12-28 21:03:11 +03:00
veselcraft
ca3cc49d35
ActivityPub: Fix typo 2021-12-28 21:02:07 +03:00
veselcraft
2fa2a61057
ActivityPub: Add support for avatars, verify barges and statuses 2021-12-28 21:00:23 +03:00
veselcraft
57d4f9da2d
Users: getByShortURL improvements 2021-12-28 18:45:56 +03:00
veselcraft
7557d6779b
Fix syntax error
I think i should sleep... I skip even simple things like initialize the variable
2021-12-28 18:27:23 +03:00
veselcraft
6133c5a27c
Fix syntax error 2021-12-28 18:25:41 +03:00
veselcraft
8dcafff002
ActivityPub, Users: Add more functionality to getByShortUrl, add fetching by id[0-9] 2021-12-28 18:24:30 +03:00
veselcraft
6119b92dc2
ActivityPub: Fix birthday format 2021-12-28 17:56:09 +03:00
veselcraft
f862b54f43
ActivityPub: Whoops 2021-12-28 17:53:47 +03:00
veselcraft
d069aab0dd
ActivityPub: Fix PublicKey Output 2021-12-28 17:49:31 +03:00
veselcraft
0c2a5b5eb7
ActivityPub: Add a Public PEM key, little fixes to the JSON Encoder 2021-12-28 17:21:26 +03:00
veselcraft
d1528a6355
ActivityPub: I actually broke it, lol 2021-12-28 16:38:02 +03:00
veselcraft
44f981909a
ActivityPub: The other instances actually cannot find the profiles, so i fixed that 2021-12-28 14:19:49 +03:00
veselcraft
12fc156113
ActivityPub: Reply with a user info if the Access header is application/activity+json 2021-12-28 13:54:20 +03: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
Ilya Prokopenko
126abe3bbb
Update AboutPresenter.php
Accidentally blocked the entire wall, oops :D
2021-12-28 10:50:19 +07:00
Ilya Prokopenko
b32f366b01
robots.txt (#89)
Closes #89

I also added humans.txt just for fun
2021-12-27 19:35:14 +03:00
veselcraft
1ba2786f8b
Merge branch 'master' of github.com:openvk/openvk 2021-12-27 18:40:44 +03:00
veselcraft
1c3d5112ff
L10n: Add a nofollow relationship to the languages links 2021-12-27 18:40:36 +03:00
veselcraft
a0ccbc9af2
ActivityPub: Add a NodeInfo 2021-12-27 18:36:05 +03:00
veselcraft
0becdfdb28
ActivityPub: Very-very early implementation of ActivityPub protocol
Webfinger and host-meta works at least

Related to #61 issue
2021-12-27 16:02:28 +03:00
Maxim Leshchenko
68b822a808
Fixup "Groups: Display group anonymous avatar link as anonymous"
:3
2021-12-27 13:34:57 +02:00
Maxim Leshchenko
19796d5ca8
Groups: Display group anonymous avatar link as anonymous 2021-12-27 13:08:20 +02:00
Maxim Leshchenko
0b848e35ee
Auth: Do not require a surname upon registration 2021-12-27 00:11:35 +02:00
Maxim Leshchenko
83aec24393
Groups: Add a button to manage a group from the admin panel to the group page 2021-12-26 20:52:35 +02:00
Maxim Leshchenko
9d89a67a91
Support: Ability to respond with configurable quick replies to tickets 2021-12-26 19:18:36 +02:00
Maxim Leshchenko
33836d8a2e
Groups: Publish group avatars uploaded by hidden administrator as anonymous 2021-12-26 16:16:37 +02:00
Maxim Leshchenko
08c4d961f1
Users: Fix saving settings
:3
2021-12-26 16:06:57 +02:00
Maxim Leshchenko
91429437f8
Users: Make it easier to enter votes vouchers
Automatically switch fields and fill all fields on paste
2021-12-26 14:29:22 +02:00
Ilya Prokopenko
579b2fb0dd
Posts: Ability to hide Share and Like buttons
Moved from 8f8d7bb
2021-12-26 18:05:22 +07:00
Maxim Leshchenko
7b4d30328d
Users: Work fine with empty statuses 2021-12-26 00:02:07 +02:00
Maxim Leshchenko
c74847dd5f
Users: Disable status change button during status change 2021-12-25 22:46:40 +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
Maxim Leshchenko
a3167ab828
Fixup "Users: Do not reload page when changing status through a popup"
:3
2021-12-25 19:58:34 +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
veselcraft
efa89e075f
Global: Define standard unix time values
Thanks @vladislav805 for the idea!
2021-12-25 14:21:39 +03:00
veselcraft
5d47549442
Global: Add a CSS style for disabled and loading profile buttons
Groups: Add a loading animation
2021-12-25 14:17:11 +03:00
Maxim Leshchenko
a1691a1485
L10n: Fix work of JS tr function with numbered strings 2021-12-24 22:58:36 +02:00
Maxim Leshchenko
48bfd36807
Groups: Display current page in list of user groups 2021-12-24 22:17:05 +02: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
Defenders08
f35f32eb9c
Update style.css 2021-12-25 00:56:09 +07:00
Maxim Leshchenko
b9c9c45bbf
Wall: Fix "Reply" button in the feeds 2021-12-24 16:58:04 +02:00
Maxim Leshchenko
54963cfafc
Revert "L10n: Improve the work of exporting a language to JS with includes"
I got a little confused then, it turned out to be unnecessary
2021-12-23 13:19:54 +02:00
Maxim Leshchenko
869873d225
About: Some fixes
Translate the title and increase the size of the topic status column to fit the text there
2021-12-23 12:39:20 +02:00
Maxim Leshchenko
21b03d3e71
L10n: Improve code in JavaScript tr function 2021-12-22 19:09:05 +02:00
Maxim Leshchenko
3d44361a76
L10n: Improve the work of exporting a language to JS with includes 2021-12-22 18:21:38 +02:00
Maxim Leshchenko
6ebae054c6
L10n: Remove the ability to specify the fallback language and use includes instead 2021-12-22 18:21:27 +02:00
Maxim Leshchenko
70b4712c92
Gifts: Display information about an anonymous gift to the person who sent it 2021-12-22 17:53:45 +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
c8b44ce9a2
Notifications: Remove unnecessary links from the list 2021-12-22 16:51:13 +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
veselcraft
43bfd48fa9
Groups, Users: Fix right for Groups and Friends list 2021-12-22 16:42:02 +03:00
veselcraft
753a282b88
Groups: Delete the leftover lable Actions 2021-12-22 16:29:04 +03:00
veselcraft
0d255ec746
Merge branch 'master' of github.com:openvk/openvk 2021-12-22 16:27:05 +03:00
veselcraft
511afc464c
ListView: Add a actions block to the element of the list 2021-12-22 16:26:49 +03:00
Maxim Leshchenko
c75ce513a0
Gifts: Return the ability to send gifts to those who did not have them 2021-12-21 17:25:03 +02:00
veselcraft
8479ae5e70
Merge branch 'master' of github.com:openvk/openvk 2021-12-20 23:52:37 +03:00
veselcraft
05643e97cd
Photos: Album view redesign 2021-12-20 23:51:50 +03:00
Vladimir Barinov
4aad7cef42
Users: Fix incorrect rating achievements
Fixes #355
2021-12-20 09:38:09 -08:00
veselcraft
40b0603429
Gifts: Increase value of visible gifts on user's page from 3 to 4
Yep, this is a fixup of previous commit
2021-12-20 19:05:55 +03:00
veselcraft
3d75e9cd7e
Gifts: Move gifts to the left side on User's page
Fixes #175
2021-12-20 19:01:34 +03:00
veselcraft
a7944a1e08
User: Friends mini-list redesign
Also fixes #180
2021-12-20 18:02:49 +03:00
veselcraft
f902e95cfc
Wall: Fix big avatars on repost 2021-12-20 16:38:07 +03:00
Maxim Leshchenko
3b54c4b878
Users: Add ability to transfer votes to another user 2021-12-19 14:52:40 +02:00
Maxim Leshchenko
cb8c2f683b
Groups: Fix the display of groups for non-logged in users 2021-12-18 20:42:01 +02:00
Maxim Leshchenko
af3dc6608e
Translate comment reply button text 2021-12-18 17:08:33 +02:00
Maxim Leshchenko
8efe468e8f
Support: Again fix answers evaluating 2021-12-18 16:17:18 +02:00
Maxim Leshchenko
e4452aca7e
Fixup "Microblog: Fix reply button in inline comments below post"
All the same, I forgot to add these files to the commit :3
2021-12-17 21:35:41 +02:00
Maxim Leshchenko
497e55b1a7
Microblog: Fix reply button in inline comments below post 2021-12-17 21:30:39 +02:00
Dmitry
afa1d7e71c
Fix online in messages (#354) 2021-12-17 20:34:24 +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
4dcb62a1d3
Global: Move link to the donation page to left menu
Previously, the link to donate in the header when the Russian language was turned on took up too much space. Because of this, after adding a link to the invitation, the links in the header became too large and began to look not very nice. Also this link can now be easily disabled
2021-12-17 17:40:08 +02:00
Maxim Leshchenko
18cb0fe5b5
Global: Allow localization of custom links in the menu
To do this, add the "@" symbol to the beginning of the link name
2021-12-17 17:28:21 +02:00
Maxim Leshchenko
e65d6231a1
Groups: Fix posting comments on behalf of the group 2021-12-17 17:13:40 +02:00
Maxim Leshchenko
846510ef93
Fixup "Groups: Transfer community permissions to another user (#348)"
Didn't notice these problems during the code review :3
2021-12-16 21:23:28 +02:00
n1rwana
1d5a599734
Groups: Transfer community permissions to another user (#348)
Closes #302
2021-12-16 20:40:34 +02:00
Maxim Leshchenko
e00e3b9097
Support: Fix answers evaluating
Now it works
2021-12-16 20:25:42 +02:00
Maxim Leshchenko
26ddfada05
Discussions: Change text of count of messages in the topics 2021-12-16 19:51:04 +02:00
Maxim Leshchenko
c0acfd7f7f
Groups: Remove the ability for those who are not group administrators to publish posts, comments and topics on behalf of the group
Before this commit, this could be done by sending the corresponding parameter in the POST request (but the checkbox for this was not displayed by default)
2021-12-15 19:19:13 +02:00
veselcraft
e32aba2fd3
Photos: Fix unexisting permissions for clubs photo album 2021-12-15 20:18:43 +03:00
Maxim Leshchenko
cd91d4e310
Discussions: Some fixes 2021-12-15 19:00:26 +02:00
n1rwana
3ed37e34a4
The "invite" button has been added to the header (#347)
The "invite" button has been added to the header

(Issue #196 )
2021-12-15 21:25:07 +07:00
Maxim Leshchenko
c9091c3499
Discussions: Fix posting comments on behalf of the club 2021-12-15 12:18:20 +02:00
Maxim Leshchenko
5354d8edcc
Support: Fix an error when trying to view a ticket 2021-12-15 02:02:12 +02:00
Maxim Leshchenko
1356944109 Discussions: Display topic creation date 2021-12-15 01:47:05 +02:00
Maxim Leshchenko
c1707a5991
Groups: Fix discussions
Again. Pardon :3
2021-12-15 01:29:41 +02:00
Maxim Leshchenko
066ebc1c6f
Groups: Slightly improve the appearance of the list of topics on the group page 2021-12-15 01:20:53 +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
Maxim Leshchenko
db91af2a52
Search: Fix redesign
This commit makes the search workable, fixes the length of the search button, translates the placeholder and returns the number of results
2021-12-14 22:43:10 +02:00
veselcraft
6ef1e533da
Users: Birthday refactoring
Also fixes #118
2021-12-14 18:53:44 +03:00
veselcraft
4a7a37e200
Search: Full redesign
Co-authored-by: Defenders08 <60748247+Defenders08@users.noreply.github.com>
2021-12-14 16:36:02 +03:00
veselcraft
ef58c569e8
Messenger: Added a header to index page 2021-12-14 16:12:33 +03:00
veselcraft
c16262617d
Privacy: Fix a lot of issues with user's privacy
And fixes #36
2021-12-14 16:00:12 +03:00
veselcraft
7dc3e8965d
Wall: Ability to ping users by short adresses
Fixes #28
2021-12-14 15:28:35 +03:00
veselcraft
c0e0690872
Merge branch 'master' of github.com:openvk/openvk 2021-12-14 15:15:49 +03:00
veselcraft
fa32a92ab5
Styles: Fix nobold tag 2021-12-14 15:15:23 +03:00
Celestora
1ef8c4e248 Copy oxygen-icons statically
We don't use any icons which are not 16x16 or 64x64, so including a 368MB submodule is simply irrational, complicates installation and development process. Since the icons are already sugoi, it is also very unlikely that we will need to bump their version in the nearest frature. This being said, I'm removing this submodule and replacing it with actual files copied from repo.
2021-12-14 14:09:26 +02:00
Celestora
8c3507d464 Unlink oxygen-icons submodule 2021-12-14 13:59:02 +02: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
df0f9c7b65
Search: Use the instance name in the search header instead of the "OpenVK" hardcoded string 2021-12-13 22:33:44 +02:00
Maxim Leshchenko
5d8d5c2277
Search: Make the indents around the search box symmetrical 2021-12-13 22:32:19 +02:00
Maxim Leshchenko
c3332ab625
Fix indentation in UserPresenter 2021-12-13 19:19:53 +02:00
Maxim Leshchenko
fbfa15e4ed
Wall: Translate the line of the current attachment near textarea 2021-12-13 19:15:01 +02:00
Maxim Leshchenko
08f95b5417
Wall: Translate anonymous post checkbox 2021-12-13 18:39:46 +02:00
Maxim Leshchenko
c4303ad566
Wall: Translate the post attachment menu 2021-12-13 18:22:04 +02:00
Maxim Leshchenko
a31655cf2d
Users: Translate strings associated with a ban
Also fix the logout from the banned account
2021-12-13 16:37:43 +02:00
Maxim Leshchenko
3cf0c54deb
Wall: Fix deleting comments 2021-12-13 15:20:49 +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
Celestora
d8b37366cb Fix theme inclusion regression for themes that do not override templates 2021-12-12 16:08:38 +02:00
Celestora
e73857cdc3 Make "themePreview" work correctly with themes that override templates 2021-12-12 15:11:44 +02:00
Maxim Leshchenko
8b86fdecd3
Global: Add some spacing between comments and paginator 2021-12-12 14:15:50 +02:00
Maxim Leshchenko
f249437af2
L10n: Add the ability to specify a fallback locale for locales 2021-12-11 16:27:40 +02:00
Mikitko Wiśniewski
ea3c1a57a2
L10n: Add traditional russian (#336) 2021-12-11 14:11:17 +02:00
Maxim Leshchenko
910e604630
L10n: Translate errors in OpenVKPresenter 2021-12-10 19:21:25 +02:00
Maxim Leshchenko
6cc68b5480
Support: Translate operations result messages 2021-12-10 18:52:32 +02:00
Maxim Leshchenko
1b510ca6a3
Support: Make the code more similar to rest of code in the project 2021-12-10 18:36:50 +02:00
Maxim Leshchenko
2af7dcc4f4
Support: Fix deleting tickets 2021-12-10 17:17:01 +02:00
Maxim Leshchenko
763c0c91e2
Support: Check ticket for existence before showing 2021-12-10 15:53:39 +02:00
Maxim Leshchenko
28649d3c4d
L10n: Translate everything related to registration 2021-12-08 23:01:46 +02:00
Maxim Leshchenko
1888fb69a1
Users: Allow use of underscores in the Telegram account name 2021-12-08 22:19:16 +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
6904a86064
Microblog: Display the wall on which the post was posted if it is someone else's wall 2021-12-08 16:26:56 +02:00
Maxim Leshchenko
9785ae1c9b
Improve the last commit again :3 2021-12-07 20:50:14 +02:00
Maxim Leshchenko
9826296256
Improve and slightly fix the last commit 2021-12-07 20:11:51 +02:00
Maxim Leshchenko
3bbdb3c85b
Support: If the agent does not have a surname, do not display an extra dot 2021-12-07 20:05:04 +02:00
Maxim Leshchenko
7cbb3afcd7
Fixup "Support: Send new ticket notifications to Telegram"
Excuse me
2021-12-05 23:48:44 +02:00
Maxim Leshchenko
d7e3d2d77d
Support: Send new ticket notifications to Telegram 2021-12-05 23:30:57 +02:00
Maxim Leshchenko
cdc130ecc2
Fixup "Fixup "Support: Display the number of unanswered tickets in the left menu"
Sorry I wanted to sleep then
2021-12-05 13:54:39 +02:00