Commit graph

41 commits

Author SHA1 Message Date
mrilyew
9d75f0b249 fix(feed): fix dementia 2024-12-08 12:03:32 +03:00
mrilyew
cf0b4be3fb feat(wall): add new route /{type}/{id}/likes 2024-11-22 19:34:25 +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
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
fab39bd7fd
Posts: add source param (#934)
* Chopin

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

* Chopin 2
2024-11-01 14:46:41 +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
Vladimir Barinov
a859fa13a5
[WIP] Textarea: Upload multiple pictures (#800)
* VKAPI: Fix bug when DELETED user appear if there is no user_ids

* Textarea: Make multiple attachments

* постмодернистское искусство

* Use only attachPic for grabbing pic attachments

TODO throw flashFail on bruh moment with pic attachments

* draft masonry picture layout in posts xddd

где мои опиаты???

* fix funny typos in computeMasonryLayout

* Fix video bruh moment in textarea

* Posts: add multiple kakahi for microblog

* Photo: Add minimal implementation of миниатюра открывашка

Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>

* Photo: Add ability to slide trough photos in one post

This also gives ability to easily implement comments and actions

* Photo: The Fxck Is This implementation of comments under photo in viewer

* FloatingPhotoViewer: Better CSS

- Fix that details background issue
- Make slide buttons slightly shorter by height

* FloatingPhotoViewer: Refactor, and make it better

- Now you can actually check the comments under EVERY photo
- Fix for textarea. Now you can publish comments

* Fix funny typos xddd

* Kinda fix poll display in non-microblog posts

* Posts: Fix poll display in microblog posts

* Add photos picker (#986)

* early implementation of photos pickir

Добавлен пикер фоточек и быстрая загрузка фото. Так же пофикшен просмотрщик фото в группах. Но, правда, я сломал копипейст, но это ладн.

* Fiks fotos viver four coments.

* Add picking photos from clubs albums

Копипейст и граффити так и не пофикшены

* Fix graffiti and copypaste

Какого-то хуя копипаста у постов срабатывает два раза.

* some fixesx

* dragon drop

* Fix PHP 8 compatibility

* 5 (#988)

---------

Co-authored-by: celestora <kitsuruko@gmail.com>
Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com>
Co-authored-by: lalka2016 <99399973+lalka2016@users.noreply.github.com>
Co-authored-by: Alexander Minkin <weryskok@gmail.com>
2023-10-03 19:40:13 +03:00
lalka2018
468eba80bd
Locales: Make more strings translatable (#961) 2023-09-17 16:22:59 +03:00
lalka2018
97a176c261
Редактирование постов только покруче (#979)
* Add editing posts

* Add checkboxes

* Add ctrl+enter + fix empty posts

* Fix funny bug
2023-09-14 20:54:22 +03:00
Jill
6159262026
Add reports (#634)
* Reports: [INDEV] Undone implementation of reports

* Reports: Backend is done

* Reports: Still makin it...

* Reports: Added report window

* Reports: Corrected the content type

* Reports: Make it work

* Reports: Minor fixes and localization

* Reports: Ability to hide Share and Like buttons

Also renamed the .sql file

* Revent some changes from 8f8d7bb

I will move them to the master branch

* Reports: Only for those who can access Helpdesk

* Reports: Modified the route

* Reports: Change the routes

* Reports: Show reports count

* Report: Fix URL

* Обновление репортов (#715)

* Репорты живы

* 2

* Better reports

* Логи

* Update DBEntity.updated.php

* noSpam

* Сбор IP и UserAgent + фикс логирования в IPs

* Новые поля для поиска etc.

* Fixes

* Fixes and enhancements

* Поиск по нескольким разделам

* Reports enhancements

* Совместимость с новыми логами

* Совместимость с новыми логами

* Update Logs.xml

* Update Logs.xml

* Logs i18n

* Update Logs.xml

* Update AdminPresenter.php

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
Co-authored-by: Ilya Prokopenko <55238545+Xenforce@users.noreply.github.com>
Co-authored-by: n1rwana <aydashkin@vk.com>
2023-08-11 16:50:19 +03:00
lalka2018
2e76ca16df
Wall: add notes attachments to posts (#907)
* Posts: add notes attachments
2023-07-05 14:54:58 +03:00
celestora
5b5f64997b Fix wall bugs spawned after recent change in chandler 2022-10-11 21:08:21 +03:00
Ilya Prokopenko
bbdfb04c01
{_"(.*)"} -> {_(.*)} 2022-08-09 13:42:22 +07:00
Maxim Leshchenko
41dae9295f
Feed: Redesign news a little bit
The global news switch is now more prominent, as it has become a tab. Also, the switch for number of posts per page now looks nicer.
2022-06-20 00:27:42 +01:00
Ilya Prokopenko
c1d7b49dda
Fewer PHP User Deprecated errors 2022-04-24 08:06:45 +03:00
Ilya Prokopenko
02eacdb84a
Posts: Remove "Report" button
This commit removes the Report button. When the feature-reports branch
is finished and merged with the main branch, the button will return to
its place.
2022-02-11 07:19:18 +03:00
celestora
ca64bf210d
Add "my news" link to global feed
Resolves #390
2022-01-16 14:07:57 +02:00
Maxim Leshchenko
b9c9c45bbf
Wall: Fix "Reply" button in the feeds 2021-12-24 16:58:04 +02:00
Maxim Leshchenko
e4452aca7e
Fixup "Microblog: Fix reply button in inline comments below post"
All the same, I forgot to add these files to the commit :3
2021-12-17 21:35:41 +02:00
veselcraft
14b3e13d95
Wall: Compact avatars are now works with non-default settings; Comments in the feed 2021-11-28 14:53:33 +03:00
veselcraft
03dee6b1f0
Wall: Last comments on the post 2021-11-28 14:39:42 +03:00
veselcraft
dd94cde0dc
Feed: Little bit of posting field redesign 2021-11-28 02:47:00 +03:00
Celestora
a53826f46d Wall: Move comments script from Post view to general comments template 2021-10-13 21:47:42 +03:00
Celestora
129d415877 Comments: Add reply button
Resolves #148
2021-10-12 14:18:07 +03:00
Celestora
2e15de74fc Wall: Move input TextArea to separate file
Fixes #44
2021-10-12 14:16:39 +03:00
Ilya Prokopenko
be1e5cf98f
Locales: Minor corrections and new strings added
Added: results, post_as_group, add_signature, contains_nsfw, attach_no_longer_available, open_post, version_incompatibility, all_news, posts_per_page, none
2021-09-18 11:49:51 +03:00
veselcraft
9578759f17 Wall: Hotfix when group's wall link was without minus in url 2021-09-17 20:46:32 +03:00
veselcraft
4b1282c51a Wall: Now you can go to owner's wall (Fixes #123) 2021-09-17 20:17:45 +03:00
veselcraft
2691818079 Wall: Fix pure HTML on /wall page (#35) 2021-09-15 19:40:47 +03:00
Alma Armas
fc9df5624b Add NSFW CW back
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:19:36 +00:00
veselcraft
5291fa345e [FIX] Empty space on wall's header when user can't post smth 2021-01-02 08:01:28 -05:00
veselcraft
fce8eff351 "new post" layout fix 2020-12-26 03:14:43 -05:00
veselcraft
4507c8cb33 fix hidePanel's count argument 2020-12-26 03:06:20 -05:00
veselcraft
c07576188d new wall's textarea 2020-12-25 17:57:44 -05:00
veselcraft
fdc58c4185 Localization Supplement 2020-08-20 17:05:00 +03:00
Alma Armas
f34e0ea88a Remove 'mark as NSFW' feature for posts
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-29 20:05:20 +00:00
fkwa
40fae8d4da
Post deletion fix :DDD 2020-06-19 16:08:01 +03:00
Jill Stingray
20ba764f22 Add post deletion
Co-authored-by: vovocka <22993408+veselcraft@users.noreply.github.com>
2020-06-18 14:22:32 +03:00
Jill Stingray
e0e2d78ab8 Add global feed 2020-06-11 12:51:12 +03:00
Jill Stingray
db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00