Commit graph

73 commits

Author SHA1 Message Date
Jill
6159262026
Add reports (#634)
* Reports: [INDEV] Undone implementation of reports

* Reports: Backend is done

* Reports: Still makin it...

* Reports: Added report window

* Reports: Corrected the content type

* Reports: Make it work

* Reports: Minor fixes and localization

* Reports: Ability to hide Share and Like buttons

Also renamed the .sql file

* Revent some changes from 8f8d7bb

I will move them to the master branch

* Reports: Only for those who can access Helpdesk

* Reports: Modified the route

* Reports: Change the routes

* Reports: Show reports count

* Report: Fix URL

* Обновление репортов (#715)

* Репорты живы

* 2

* Better reports

* Логи

* Update DBEntity.updated.php

* noSpam

* Сбор IP и UserAgent + фикс логирования в IPs

* Новые поля для поиска etc.

* Fixes

* Fixes and enhancements

* Поиск по нескольким разделам

* Reports enhancements

* Совместимость с новыми логами

* Совместимость с новыми логами

* Update Logs.xml

* Update Logs.xml

* Logs i18n

* Update Logs.xml

* Update AdminPresenter.php

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
Co-authored-by: Ilya Prokopenko <55238545+Xenforce@users.noreply.github.com>
Co-authored-by: n1rwana <aydashkin@vk.com>
2023-08-11 16:50:19 +03:00
n1rwana
8265dc0fc6
Add logging system (#940)
* Логи

* Update DBEntity.updated.php

* Сбор IP и UserAgent + фикс логирования в IPs

* Fixes

* Совместимость с новыми логами

* Update Logs.xml

* Logs i18n

* Update Logs.xml

* Update AdminPresenter.php
2023-08-11 16:43:39 +03:00
n1rwana
5c76b56da4
Исправление дублирования подписчиков/лайков/друзей (#941) 2023-08-04 15:10:23 +03:00
lalka2018
3e69d06474
VKAPI: методы для подарков, заметок, статусов, обсуждений и немного для фоток и групп (#876)
* API methods for gifts, notes, statuses

* Some fixes

Строки локализации у gifts.send теперь не костыльные и можно прикрепить до 10 аттачей к посту

* Small imp

Пофиксил пагинацию у заметков и подарок
Перенёс структуру заметок
Добавил аттачи к комментариям
Добавил проверку на удалённость аттача
Ну и пофиксил сортировку заметок

* VKAPI: Some methods for topics and photos

Добавлены методы для обсуждений (addTopic, closeTopic(), createComment(), deleteComment(), deleteTopic(), editTopic(), fixTopic(), getComments(), getTopics(), openTopic(), unfixTopic())
и для фотографий (createAlbum(), editAlbum(), getAlbums(), getAlbumsCount(), getById(), get(), deleteAlbum(), edit(), delete(), deleteComment(), createComment(), getAll(), getComments())

* fixsex
2023-06-13 21:03:43 +03:00
veselcraft
eb439b278c
ёбаный в рот а файл забыл добавить 2023-03-13 17:46:54 +03:00
veselcraft
c6c8e8e175
Global: add OpenVK Refresh info 2023-02-03 14:22:19 +03:00
veselcraft
462d667e53
Global: Implement showing platform 2022-12-17 02:03:02 +03:00
celestora
f9083edfc4
Add l-lacker social-styled page backrops (#805)
чокопай
2022-12-12 01:23:42 +02:00
celestora
d09e647d1d
amogus fix
should work now with weblate xddd
2022-11-14 17:01:56 +02:00
celestora
55ec291650
Allow __transNames to be empty 2022-11-14 16:47:34 +02:00
veselcraft
699df76619
VKAPI: Make offset actually work in groups.get method
Users: add count and offset (acting like switch for literal offset) param to getClubs
2022-10-11 03:46:49 +03:00
n1rwana
5b3a1f50e9
Shortcode aliases (#690)
* Shortcode aliases

* Fixes

* Newline

* Fixes + SQLs renamed

* Fixed clubs aliases
2022-09-17 00:21:29 +03:00
n1rwana
a935b2ca31
Заморозка страницы (#698)
* Заморозка страницы

* Bugfixes

* ok
2022-09-05 11:16:22 +03: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
veselcraft
22e4e76b9f
Friends: Add list with friends online 2022-07-31 14:33:23 +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
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
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
f3f62a63ac Add User::getMorphedName 2022-04-12 20:10:35 +03:00
Celestora
ed9dac2ac1 Use correct image sizes in various templates 2022-04-05 14:39:13 +03:00
veselcraft
8caecbe362
VKAPI: Make ACTUALLY work 'count' arg in Friends methods 2022-03-27 16:43:20 +03:00
Maxim Leshchenko
6588734caa
Support: Allow agents to prevent users from creating tickets 2022-03-26 22:06:07 +01:00
celestora
881665831e
Allow non-cased letters in names 2022-02-08 12:15:29 +02:00
veselcraft
47093f40cc
Users: Bring back ability to NOT set the last names 2022-02-07 20:16:47 +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
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
3edf34e0ea
Global: Add user option to hide ad poster 2022-01-03 21:13:53 +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
8edebcb0d5
Users: Add ability to hide custom links by users through settings 2021-12-17 18:58:31 +02:00
veselcraft
6ef1e533da
Users: Birthday refactoring
Also fixes #118
2021-12-14 18:53:44 +03:00
Maxim Leshchenko
24624bb147
Users: Show all groups in the list of managed groups 2021-12-03 20:08:50 +02:00
Maxim Leshchenko
e433e83c5d
Users: Add two-factor authentication (#321)
This commit adds full TOTP 2FA. And even backup codes modeled on the original VK
2021-12-02 17:31:32 +02:00
veselcraft
fd2ef5fad5
User: Age refactoring
Лапский, это вообще пиздец какой-то. Проще не додумался сделать?
2021-11-27 21:02:37 +03:00
veselcraft
b2a993d649
Groups: Hotfix for "Managers" tab 2021-11-20 13:53:54 +03:00
veselcraft
e5238ecc41
User: Added a tab in "My Groups" page for usual and managed groups 2021-11-20 13:47:59 +03:00
veselcraft
9cef1f630f
Users: Added a getWebsite function just to fix unworking state xddd 2021-11-13 15:13:44 +03:00
Maxim Leshchenko
e3358fcfa5 Pinning groups to the left menu
This commit allows you to pin groups to the left menu (max 10 groups, only those in which you are the administrator) from the My Groups page. Fixes #186
2021-11-10 11:18:25 +02:00
Celestora
c0c35c3872 Fix #161: online status bug 2021-11-04 13:45:30 +02:00
Celestora
e5ea1cd351 Make kromer storage type "real" to allow buying cents/pennies 2021-11-03 19:19:15 +02:00
Celestora
9e86389b62 Add admin-placeable alerts 2021-11-02 23:07:26 +02:00