Commit graph

1131 commits

Author SHA1 Message Date
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