* feat(lint): add php-cs-fixer for linting
Removing previous CODE_STYLE as it was not enforced anyway and using PER-CS 2.0.
This is not the reformatting commit.
* style: format code according to PER-CS 2.0 with php-cs-fixer
* ci(actions): add lint action
Resolves#1132.
* Chopin
- Полностью переписана та часть где про источник поста
- Исправлен метод video.search
- Сокращено число запросов в БД у шаблона поста
- Удалена ссылка на прикреплятор заметок потому что low quality
- Исправлен баг с прикреплённой заметкой в api, но только если ты указал версию.
- Исправлены проблемы с кешированными спрайтшитами
* Chopin 2
* search: a bit refactor
* search: a bit refactor 2
* audios: a bit changes
* results highlight, midnight changes, player insear
* add audio download button, simplify css
* upload page changes, add playlist add menu
* -comments search, arrow keys on tips
* move $query var and optimize users/groups.search
го рофлить
* слегка проебался
* Add API for notifications
* Add editing methods
* Add apis for likes and polls
* Add attaching polls
* can_edit
* Fix getting voters in anonymous posts and use c...
...anBeEditedBy instead of checking user's id