Commit graph

328 commits

Author SHA1 Message Date
mrilyew
dbd254a621 fix gif processing 2025-01-10 20:34:24 +03:00
mrilyew
3a114fdba9 add tags 2025-01-10 19:13:23 +03:00
mrilyew
4b95283a55 things 2024-12-30 15:56:06 +03:00
mrilyew
1602313160 preparations for picker 2024-12-29 23:16:21 +03:00
mrilyew
6bb92aed3c add viewer and gallery 2024-12-29 19:26:47 +03:00
mrilyew
41b2947ba4 add editing functions 2024-12-29 15:58:31 +03:00
mrilyew
36560555b6 better ui, search, uploading (icons by myslivets)
Co-Authored-By: Daniel <60743585+myslivets@users.noreply.github.com>
2024-12-28 22:54:32 +03:00
mrilyew
a91563fdf6 ui start 2024-12-28 18:33:09 +03:00
mrilyew
ab5bb6b459 add upload, previews, most of api methods 2024-12-28 13:35:55 +03:00
mrilyew
de82eb8792 create document entity 2024-12-27 17:35:38 +03:00
mrilyew
0aecc299cf
feat(profile): fav games & custom fields (#1193)
* add fav games

* add additional fields

* add gui 4 dis

* add maxlength
2024-12-20 17:34:29 +03:00
mrilyew
959a6d6ac3 feat(geo): add ability to change point name and...
...fix federal cities name and territorial integrity
2024-12-13 20:02:49 +03:00
n1rwana
a714a0aa16
feat(wall): ability to add geopoint to post (#945)
* Гео-метки

* Update Post.xml

* Wall: geotag translation

* Wall: design + sql fix

* Карта ближайших постов

* Update al_wall.js

* VKAPI: Geo support (not tested idk)

* Update WallPresenter.php

* Better geo points

* Редактирование названия геоточки через интерфейс при создании

* SQL and geopoint name fixes

* fix js

* rewrite a lot

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
Co-authored-by: mrilyew <99399973+mrilyew@users.noreply.github.com>
2024-12-13 17:53:36 +03:00
mrilyew
bec9079e36
feat(privacy): blacklist v2 (#1183)
* Перенос ветки blacklist (#900)

* Blacklist

* Config

* upd

* Added restrictions in the users.get method

* ok

* Update en.strings

* ok 2.0

---------

Co-authored-by: Vladimir Barinov <veselcraft@icloud.com>

* Create 00038-blacklist.sql

* typo xd

* Blacklists: Make it barely work (xd)

* БЛЯЯЯЯЯЯЯЯТЬ

* remove all

* account.ban, account.unban, account.getBanned

* rewrite ui

* add link

* add ignore button to blacklisted users

* fields blacklisted_by_me, blacklisted

* ad ability to blacklist when you ar blacklisted

---------

Co-authored-by: n1rwana <me@n1rwana.xyz>
Co-authored-by: Vladimir Barinov <veselcraft@icloud.com>
Co-authored-by: n1rwana <aydashkin@vk.com>
2024-12-13 17:51:10 +03:00
veselcraft
29f4de2dab
fix(video): tweak ffmpeg args 2024-12-13 17:06:56 +03:00
mrilyew
7d450c18fd
feat: ajax, audio refactor (#1164)
* Make audio player pizdatey

* Simple ajax routing (scripts are broken)

* Fix most common script problems pt1

* Add ajax player

Осталось пофиксить скрипты и создание плейлистов! Ну и ещё некоторые хуйни по аудиозаписям которые я задумал.

* Add context menu for audios

* Refactor audio upload page

* Repair playlists

* Fix main problems

* Midnight teme adaptation

* Stupid bug fix

* Save audios list in da localstorage and fix msgbox

* Fix time setting

* add beforeUnload event

* Stupid bugs fix

* update page footer on transition

* fix wall publihing

* fix 500 on non existent page
2024-12-07 17:18:29 +03:00
veselcraft
2aedc3e861
fix(video): instead of scailing it down to 4:3 with black bars scale it by 480px 2024-12-04 16:26:03 +03:00
mrilyew
e4a79a8ffb feat(privacy): add ability to hide your like 2024-11-25 22:29:33 +03:00
mrilyew
74e998add4 fix(wall): attempt to fix invisible post betwee...
...n page 1 and 2 with pinned post on wall
2024-11-23 13:20:21 +03:00
mrilyew
2af8447a0f feat(rss): new fields 2024-11-23 13:16:55 +03:00
mrilyew
cf0b4be3fb feat(wall): add new route /{type}/{id}/likes 2024-11-22 19:34:25 +03:00
mrilyew
73a067a0c5
feat: ajax infinite scrolling (#1141)
* rewrite

* allow comments scroll

* rework to up button

* add posts scrolling function and ability to disabl

* cloudflare bypass (do not uncomment)
2024-11-22 16:31:07 +03:00
mrilyew
4046c992f9 feat(news): add rss param for newsfeed.getGlobal 2024-11-19 16:31:17 +03:00
mrilyew
5c19637715
feat: update video/photo viewer, refactor post creating area (#1150) 2024-11-17 10:03:49 +00:00
mrilyew
9100a83044 fix(users/groups): fix 500 if unauthorized 2024-11-05 15:10:12 +03:00
mrilyew
a60c990838
feat(users): ignore users and groups (#987)
* rewrite

* Update install/sqls/00049-ignored-sources.sql

Co-authored-by: Alexander Minkin <weryskok@gmail.com>

---------

Co-authored-by: Alexander Minkin <weryskok@gmail.com>
2024-11-03 17:17:34 +03:00
mrilyew
341226cac5 wall: fix 500 when no user 2024-11-02 16:31:35 +03:00
mrilyew
fab39bd7fd
Posts: add source param (#934)
* Chopin

- Полностью переписана та часть где про источник поста
- Исправлен метод video.search
- Сокращено число запросов в БД у шаблона поста
- Удалена ссылка на прикреплятор заметок потому что low quality
- Исправлен баг с прикреплённой заметкой в api, но только если ты указал версию.
- Исправлены проблемы с кешированными спрайтшитами

* Chopin 2
2024-11-01 14:46:41 +03:00
mrilyew
53f6b3e12b
Обновы для плейлистов и поиска (#1137)
* 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

го рофлить

* слегка проебался
2024-10-25 16:28:35 +03:00
mrilyew
b3e57147b7 api: add some fields and 2 new methods и jsonp
- Изменения коснулись методов account.getProfileInfo, account.getBalance, account.getOvkSettings, gifts.get, gifts.getCategories, groups.get, groups.getById, users.get, wall.get, wall.getById, wall.getComments, wall.getComment.
- Добавлена поддержка JSONP
2024-10-15 20:42:59 +03:00
veselcraft
4c78617a9c
feat(friends)!: reject request 2024-09-16 02:11:28 +03:00
188768594b
fix(photos): replace real with float
`real` is deprecated since PHP 8.0
2024-07-10 23:19:32 +03:00
a13d62e8fd
feat(groups): add option to enforce global feed exclusion (#1122) 2024-07-06 14:34:18 +03:00
celestora
0b80c0a6a8 feat(API): implement token re-use mechanism 2024-03-30 12:59:10 +02:00
celestora
c4fb793333 improvement(API): fix inconsistencies in util.* + add chandler guid resolving funs 2024-03-27 22:38:35 +02:00
veselcraft
0f81a6a0c3
fix(reports): fix 500 error when trying to delete or ban user if it's not post 2024-01-30 11:34:42 +03:00
Anatoly Bogomolov
49e061f563
fix(audio): sort genres alphabetically (#1065) 2024-01-02 22:26:55 +02:00
44531fcbb0
fix(DateTime): use php81_bc/strftime (#1063)
Native strftime was deprecated in PHP 8.1 so I replaced it with an
alternative library that uses ICU so that you don't have to set up
locales on your server anymore.
Also this commit removes AM/PM labels as timestamps were in 24h format
anyways, regardless of locale.
2024-01-02 22:22:10 +02:00
veselcraft
acc5459f90
feat(posts, platforms): add windows phone icon 2023-12-27 03:34:18 +03:00
e813549602
fix: solve some warnings
Notifications.php: make $count parameter explicit as it is placed before
another explicit parameter
OpenVKPresenter.php: add additional null checks
Themepacks.php: add return type to offsetGet
2023-12-11 13:15:01 +03:00
88d296a9c4
fix(repositories): make db queries use count
This should fix /about page
2023-12-10 21:55:28 +03:00
lalka2018
1e7fdeff27
feat: close profile (#978) 2023-12-02 20:21:16 +03:00
Vladimir Barinov
5b8fe91a33
Изменения понятия "гендер" и "пол" на "местоимения" (#1033) 2023-11-30 17:39:55 +03:00
lalka2018
4699fcbeb9
Groups: Wall: add suggestions (#935)
* Wall: add early suggestions

* Fix br

* Fix empty posts

* fck

* Add offset for api

* Add notifications of new suggestion posts

* Fix mentions in suggested posts

* 🤮🤢

* Change regex

Теперь оно удаляет все теги а не только <br>

* Add da koroche pohuy

* Эдд апи метходс

Методы нестандартные немного

* Pon

* Add skloneniyia

* newlines

* int

* Update loaders and add avtopodgruzka postov

* Update JOERGK.strings

* Blin

* Remove repeated code, fix loaded buttons on chr...

...ome and fix getting suggested posts via API.Wall.getPost

* Fix polls

* Fihes

Теперь уведомление о принятии поста не приходит, если вы приняли свой же пост

Пофикшен баг перехода в предложку

Добавлен старый вид постов в предложке

Теперь счётчик постов в предложке у прикреплённой группы обновляется при принятии или отклонении поста

Убрано всплывающее уведомление об отклонении поста (оно раздражает)

Теперь если вы посмотрели все посты на одной странице (не на первой) и на ней не осталось постов, вас телепортирует на предыдущую страницу

* Remove ability to delete your accepted psto

* oi blin

* Improvements 2 api

* g

* openvk.uk

Возможно, приведение кода к кодстайлу (удаление скобочек то есть)

* aiaks

* al_wall.js -> al_suggestions.js

* 👨‍💻 Add 👨‍💻 fading 👨‍💻

* Add "owner's posts' and "other's posts"

Давайте рофлить👨‍💻👨‍💻👨‍💻

* planshet openvk

Add tabs for post view, add signer's object in wall get and add person icon in microblog

* Simplefai ze kod

* PHP 8 FIX WATAFAK

* Add indesk
2023-11-16 19:44:12 +03:00
lalka2018
0f0d3ee950
Videos: add window player (#951)
* De#910fy

* Fiksez

* newlines

---------

Co-authored-by: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com>
2023-11-15 11:41:18 +03:00
n1rwana
dcf3631d89
Fix re-adding to Chandler-group (#938) 2023-11-14 22:57:49 +03:00
lalka2018
71c59023cf
Improve API (#975)
* 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
2023-11-14 22:44:39 +03:00
n1rwana
92435ae6a8
Add ability to mention user in marital status (#947) 2023-11-14 22:13:13 +03:00
lalka2018
1f340e392f Show audios in reverse order 2023-11-14 15:16:37 +03:00
lalka2018
08499cd3b4 Some broadcast list fixes
- При скроллинге вниз на странице с аудио вкладки не идут за вами (баговано)
- Теперь перемешка списка друзей на странице аудио должна работать нормально
2023-11-12 17:03:15 +03:00