Commit graph

1068 commits

Author SHA1 Message Date
mrilyew
9100a83044 fix(users/groups): fix 500 if unauthorized 2024-11-05 15:10:12 +03:00
Jillian Österreich
b4fd4f018c
chore(about,readme): dev force update and small changes 2024-11-04 04:00:36 +07:00
veselcraft
47a61d19d7
fix(al_feed): fix selectors for feed settings 2024-11-03 18:15:13 +03:00
veselcraft
4040a303ae
fix(feed_settings): it didn't work lol 2024-11-03 17:55:20 +03:00
veselcraft
f4c0805a6a
fix(feed_settings): make settings layout better again 2024-11-03 17:39:37 +03:00
76dedd6b82
build(js): remove yarn support, and update lock-file (#1142)
* build(js): remove yarn.lock

Yarn had changed its methods of packaging long ago and it hasn't been supported ever since. It's much better and easier to just use the original NPM.

* fix(docker): change yarn to npm command

* doc(README): change yarn mentions to npm

* fix(docker): use npm ci instead of npm install

* build(package-lock): update js dependencies

* build(docker): use node:20 image when building
2024-11-03 17:37:35 +03:00
Vladimir Barinov
8f7a98c59e
fix(feed_settings): make settings layout better 2024-11-03 17:21:22 +03:00
veselcraft
299dbd0755
feat(friends): forgot to upd func on mini menu 2024-11-03 17:18:16 +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
ayato
d1bcdaf7d7
Link directly to interests section of the edit page in completeness gauge (#1113) 2024-11-01 13:58:14 +03:00
mrilyew
a3d535040d fix square avatars, video previews and bottm pgntr 2024-10-25 17:17:12 +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
mrilyew
2795e1e1a4
feat(profiles): add ability to crop avatar (#1089)
* feat(profiles): add ability to crop avatar

Closes #1068 and maybe slash 106

* add ability to take avatar photo from camera

почему бы и нет

---------

Co-authored-by: lalka2018 <99399973+lalka2016@users.noreply.github.com>
Co-authored-by: celestora <kitsuruko@gmail.com>
2024-10-14 13:53:56 +03:00
veselcraft
bbef3a8518
feat(friends): delete leftovers 2024-09-18 22:07:17 +03:00
veselcraft
c5644a51d6
feat(friends): add ajax 2024-09-18 01:02:56 +03:00
veselcraft
4c78617a9c
feat(friends)!: reject request 2024-09-16 02:11:28 +03:00
89157a832b
fix: remove fartscroll 2024-09-07 18:29:44 +03:00
97c577732b
fix(admin): use right function for hiding from global feed
also switched to n:attr here
2024-07-10 23:40:36 +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
Ry0
9d62bfc12e
fix audio.add (#1121)
* fix audio.add

* Fix settype to allow Null

* thx celestora <3

* Finaly, Tarhun
2024-07-01 22:43:56 +03:00
veselcraft
8786bd36fb
admin: fix chandlerlogs 2024-06-22 17:26:02 +03:00
veselcraft
3707ae0772
admin: add warning about broken longpool 2024-06-22 17:06:24 +03:00
veselcraft
bbbc8b7700
reports(moderators): reword the word 'delete' for mods after unfunny incident 2024-06-22 17:06:24 +03:00
veselcraft
4521d4a2f1
l18n: fix they/them pronouns in search and friendlists (after fucking nine months) 2024-06-22 17:06:23 +03:00
Evgeniy Khramov
9fd8b22a95
Fix feedback notification counter @layout.xml (#1114) 2024-05-17 12:38:44 +03:00
Jillian Österreich
4218e02f4b
chore: remove mentions of our older domain names
Closes GH-1099
2024-04-19 11:05:24 +03:00
celestora
2bdb4f03d0 feat(OAuth): add oauth flow 2024-03-30 21:51:38 +02: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
Daniel
14b0b78cce
Site Tour: hype update KB251732 2024-01-30 10:44:06 +03:00
Mikhail Lebedinets
c2be06b58f
fix(StatusExpress): button width (#1081) 2024-01-17 15:55:19 +03:00
celestora
c863e07908
fix(ImageBox): fix next/prev image navigation
height: 100% only works if parent position is not static, without this property image navigation "buttons" were too long and were covering important butt*ns
2024-01-08 14:07:27 +02:00
Anonymous
64827402ee
perf(feed): lazy load 2024-01-06 21:30:59 +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
celestora
ecb778b2db
improve(apps): make iframe sandbox flags more liberal (#1072) 2023-12-22 15:57:39 +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
2eb15cb600
fix(composer,templates): remove zadarma traces 2023-12-11 13:11:04 +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
veselcraft
453b002451
Web: fix that annoying bug with scrolling 2023-11-22 19:00:55 +03:00
Vladimir Barinov
93bfe6e886
зязя попросил 2023-11-18 21:22:12 +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