Vladimir Barinov
a12c77083b
fix(links, away) ( fixes #1253 )
2025-03-16 17:57:21 +03:00
Vladimir Barinov
4815186b79
chore(statistics): change behavior of active users count ( #1254 )
2025-03-16 17:53:58 +03:00
Vladimir Barinov
9ef7d2d7c4
fix(age): calculation ( fixes #1252 )
2025-03-16 16:51:05 +03:00
mrilyew
b92bf7f41a
feat(fave) ( #1240 )
...
* add liked content
* fix order
* linter
* linter errors fix
* задушнил
---------
Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-03-09 16:42:19 +03:00
def76226b7
feat(core): add phpstan for static analysis ( #1223 )
...
* feat: add phpstan for static analysis
* ci(actions): add phpstan action
* ci(actions): do analysing inside docker container
* fix(FetchToncoinTransactions): add var declaration
* fix(ServiceAPI/Wall): add var declaration
* fix(bootstrap): remove case-insensitive false vars
* fix(VKAPI/Handlers/Board): change parameters order
* fix(VKAPIRequestHandler): set fail's return type as never
* fix(VKAPI/Handlers/Groups): add array declaration
* fix(VKAPI/Handlers/Newsfeed): add return_banned declaration
* fix(VKAPI/Handlers/Notes): move $nodez declaration up
* fix(phpstan): most of the things and stupid lines of code
* fix(lint)
* fix(phpstan): less errors
* fix(lint): again. cuz i forgot about it
* fix(stan): all errors are gone now =3
---------
Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-03-09 16:03:33 +03:00
cb14085cd4
style: fixes ( #1237 )
2025-02-22 23:46:02 +03:00
n1rwana
ee0dd8c749
fix(away.php): fix link checking ( #949 )
...
* Фикс проверки заблокированных ссылок
* fix(away.php): syntax
---------
Co-authored-by: mrilyew <99399973+mrilyew@users.noreply.github.com>
Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-02-16 16:47:48 +03:00
ayato
6d721eb8b9
fix(messagebox): make dialogue content scrollable and remove height
from dialogue header and action boxes ( #1230 )
...
Sometimes dialogue boxes get too long and end up going off the screen, making the content impossible to see. This change fixes that by allowing the dialogue content to scroll. It also removes some height restrictions from the header and action sections since they didn’t seem to serve a clear purpose (to me) and might have been causing layout issues.
2025-02-16 16:21:46 +03:00
mrilyew
7d0dbb26ed
fix(editing): use post instead of get
...
fixes #1224
2025-02-03 17:26:16 +03:00
6ec54a379d
feat: add linting of code ( #1220 )
...
* 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 .
2025-01-31 18:20:13 +03:00
koke228666
228f14e384
feat(documents): add download icon for documents ( #1216 )
2025-01-31 00:39:58 +02:00
celestora
4166481a75
fix(im): escape html in sent messages too ( #1218 )
...
fixes #1215
2025-01-30 00:13:20 +03:00
mrilyew
b713c964a3
feat(docs): add unavailable book preview (bc pos-
...
-sible xss). uncomment if sure
2025-01-27 21:12:09 +03:00
mrilyew
0fb18e34f5
feat(docs): corct aud/img preview, hide report btn
...
when doc is yours.
2025-01-27 14:57:25 +03:00
ayato
9ea67ac8aa
feat(audio edit): make lyrics textarea resizeable ( #1212 )
...
* Update al_music.js: make the lyrics textarea resizable
* Update al_music.js: change max height of lyrics textarea
2025-01-24 18:55:39 +03:00
Jillian Österreich
2d462a6c34
fix(js): update package-lock.json
...
In order for the Docker build to be successful
2025-01-23 13:25:34 +07:00
Jillian Österreich
8f17c95bce
fix: remove check that caused layout to move away
2025-01-23 13:23:58 +07:00
mrilyew
67653c7a52
fix(docs): fix doc editing xss
2025-01-22 20:11:09 +03:00
veselcraft
dbf91e2671
fix(email): layout goes brrrrrr
2025-01-22 17:41:37 +03:00
veselcraft
24b8d6f7f1
fix(user): 500 if logged in as admin and when user was previously banned permanently
2025-01-22 17:30:09 +03:00
veselcraft
3afb44fd89
fix(wall): 500 error xd
2025-01-22 17:19:57 +03:00
veselcraft
0a3231e8ef
fix(wall): it's now forbidden to look into deleted user's wall
2025-01-22 17:10:32 +03:00
mrilyew
2d83003b6c
feat(documents) ( #1205 )
...
* create document entity
* add upload, previews, most of api methods
* ui start
* better ui, search, uploading (icons by myslivets)
Co-Authored-By: Daniel <60743585+myslivets@users.noreply.github.com>
* add editing functions
* add viewer and gallery
* preparations for picker
* things
* add counter on tab
* add tags
* fix gif processing
* fix png processing
* picker
* addd search
* add fast uploader
* openvk midn. support, change midn.photomodal color
* fix low register format chekc
* add gif play on click
* unauthorized limitations
---------
Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>
2025-01-22 17:05:28 +03:00
Vladimir Barinov
504801520b
chore(user): increase first and last name limit to 64
2025-01-17 15:20:43 +03:00
mrilyew
bbcb94515d
fix: fix 500 on unauth
2025-01-07 11:29:05 +03:00
mrilyew
3cd803ef31
fix(TRichText): amend fab39bd
changes
2025-01-06 14:39:55 +03:00
mrilyew
f66dd0c7bd
feat(ajax): add ability to turn off ajax routing
...
there is no logic in this checkbox place but i didnt knew where to put it.
2025-01-05 19:19:50 +03:00
mrilyew
3f2fbd94f0
fix(search bar): fix brick showing
2025-01-05 18:40:01 +03:00
mrilyew
46b12a7c8e
fix: pre-new year bugfix
...
fixes #1204 , fixes #1199
2024-12-31 16:20:31 +03:00
SachaTending
977da1f9c3
feat(token authorization): add "secret" field
2024-12-31 16:15:42 +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
veselcraft
4c9c650cff
feat(global): news on left menu
...
Co-authored-by: Slava Petrov <55963296+saursvepur@users.noreply.github.com>
2024-12-20 17:17:40 +03:00
ayato
e67963ed37
fix(messagebox): remove min-height from dialogue boxes ( #1188 )
2024-12-15 18:04:52 +03:00
mrilyew
4541ce1afe
fix(profiles): fix #1186
2024-12-14 15:19:09 +03:00
mrilyew
ba5e2dba3c
fix(search tips): remove them on click
2024-12-13 22:04: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
n1rwana
2e70a26283
feat(api): reports ( #959 )
...
* API для отправки жалобы
* make compatible with vk api
---------
Co-authored-by: mrilyew <99399973+mrilyew@users.noreply.github.com>
2024-12-13 17:11:26 +03:00
veselcraft
29f4de2dab
fix(video): tweak ffmpeg args
2024-12-13 17:06:56 +03:00
mrilyew
0a1f717b45
fix(xss): fix #1181
2024-12-13 16:43:34 +03:00
veselcraft
198bf7472d
fix(datetime): adjust to timezone
2024-12-13 16:24:51 +03:00
mrilyew
48ccd7ef43
fix(ajax): maybe last fixes
2024-12-08 16:45:35 +03:00
mrilyew
9d75f0b249
fix(feed): fix dementia
2024-12-08 12:03:32 +03:00
mrilyew
35bfe97360
fix(ajax): fix #1169 , fix #1172
2024-12-08 11:45:19 +03:00
mrilyew
efa3e1213c
fix(ajax player): i guess last fix
2024-12-07 21:58:53 +03:00
mrilyew
21f3ebea3d
fix(ajax player): reset tracks on player close
2024-12-07 21:42:30 +03:00
mrilyew
e329d3dcd4
fix(audios): fix invalid avatar at group add msg
2024-12-07 20:48:08 +03:00
mrilyew
cf43a52713
fix(ajax): track set, photo commenting, reposts
...
fixes #1170
2024-12-07 19:36:56 +03:00
mrilyew
d504067722
fix(ajax): fix photo picker
2024-12-07 17:48:04 +03:00
mrilyew
9ceeee9bd5
fix(audios): do not show ajax player if no track
2024-12-07 17:27:28 +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
6007a81546
fix(likes tooltip): fix width
2024-11-24 12:49:02 +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
aff19de2ea
feat(wall): add likes tooltip
...
resolves #1094 resolves #998 resolves #31
2024-11-22 21:27:21 +03:00
mrilyew
cf0b4be3fb
feat(wall): add new route /{type}/{id}/likes
2024-11-22 19:34:25 +03:00
mrilyew
14110c409a
fix(notifications): fix broken link to photo
...
fixes #1140
2024-11-22 18:36:23 +03:00
mrilyew
53e9905ba7
fix(wall page): show more attachment links
...
fixes #1083
2024-11-22 18:21:12 +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
da6ce237f4
fix(wall): ctrl+enter didn't saved attachments
2024-11-22 13:12:59 +03:00
mrilyew
ba2d929183
fix(videos list): show video window on click
2024-11-22 11:59:37 +03:00
mrilyew
0596452ef4
fix(square avatar): make focus on top of picture
2024-11-22 11:49:35 +03:00
mrilyew
b9687b1fb2
fix(api): do not go online on every call
2024-11-19 16:39:05 +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
koke228666
65ea49e4a9
replace audio download button ( #1143 )
2024-11-15 17:56:32 +03:00
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