Commit graph

51 commits

Author SHA1 Message Date
Dmitry Tretyakov
49a7047773
Patch array objects for PHP 8.1 (#999)
* Patch array objects for PHP 8

* Reswitch getting counts

* Update WallPresenter.php

* Update WallPresenter.php

* Fix
2023-10-25 16:42:26 +07: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
43de40a0dc
Add Video Picker (#981) 2023-09-17 19:19:25 +03:00
lalka2018
468eba80bd
Locales: Make more strings translatable (#961) 2023-09-17 16:22:59 +03:00
lalka2018
06f324f98c
Фиксы для #980 и #979 (#982)
* Что я должен здесь сказать?

* playerock

* Copypaste
2023-09-16 19:14:23 +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
n1rwana
8ca3de8afa
Clubs: Group bans fixed (#946) 2023-08-09 16:05:01 +03:00
lalka2018
2e76ca16df
Wall: add notes attachments to posts (#907)
* Posts: add notes attachments
2023-07-05 14:54:58 +03:00
Ilya Prokopenko
c803a6ff62
Videos: Add upload disabling 2023-05-27 13:31:20 +07:00
Ilya Prokopenko
4bfdeddd22
Video: Fast addition of a video with its file name
For example, how would you know there were spoilers for Steins;Gate if
the video was titled "Unnamed Video.ogv"?
2023-05-23 19:28:21 +07:00
lalka2018
8ccb98473f
Репост в группу (#873) 2023-05-21 18:38:39 +03:00
celestora
25be996256 Send less useless mention notifications
Users will now receive mention notifs only if they're mentioned outside of their content
2022-12-11 16:26:12 +02:00
celestora
8a893daec0 Add mention notifications
Draft implementation of mention notif
2022-12-10 21:33:13 +02:00
celestora
5b5f64997b Fix wall bugs spawned after recent change in chandler 2022-10-11 21:08:21 +03:00
celestora
f2ca6be4d5
Add polls (#743) 2022-10-11 19:04:43 +03:00
n1rwana
9842327d3b
RSS: Get rid of 500 error
a.k.a. Update WallPresenter.php (#688)
2022-08-28 14:01:31 +03:00
Ilya Prokopenko
200414b67d
Use redirect() instead of header("Location: ...") 2022-08-09 12:52:36 +07:00
veselcraft
5f3f3299de
RSS: Add name of group/user 2022-05-23 16:09:44 +03:00
Maxim Leshchenko
fe2010560a
Global: Make code more consistent with code style 2022-05-08 12:11:18 +02:00
Celestora
be6a6610b1 Make wall posts vidible to outside world 2022-04-18 21:04:20 +03:00
Maxim Leshchenko
a15a78b8f0
L10n: Translate message strings in WallPresenter 2022-02-09 21:36:41 +02:00
veselcraft
6b0da27328
Wall: [RSS] Fix URLs 2022-02-05 17:58:02 +03:00
veselcraft
b7b1a9b31c
Wall: Add RSS output
Currently it doesn't support Images and Reposts, but in future i'll do that.

Reversly related to #437 XD

git status! ALSO IT'S TIME TO UPDATE COMPOSER git status!
2022-02-05 17:50:24 +03:00
Maxim Leshchenko
cca9151661
Groups: Add ability to hide posts from the global feed 2022-01-02 01:45:00 +02:00
Maxim Leshchenko
566759327e
AJAX: Add some code that can be reused to display AJAX request errors
Also use this to add groups to the left menu
2021-12-25 18:11:05 +02:00
Maxim Leshchenko
c0acfd7f7f
Groups: Remove the ability for those who are not group administrators to publish posts, comments and topics on behalf of the group
Before this commit, this could be done by sending the corresponding parameter in the POST request (but the checkbox for this was not displayed by default)
2021-12-15 19:19:13 +02:00
Maxim Leshchenko
6562884af2
Wall: Handle exception when posting a long post 2021-11-20 00:46:51 +02:00
Maxim Leshchenko
c83947ab09
Groups: If the administrator is hidden, create his posts anonymously 2021-11-17 09:43:55 +02:00
Celestora
0a7bc786b5 Add option to post anonymously 2021-11-15 21:45:48 +02:00
Maxim Leshchenko
5c9d3c085e
When you like a repost, put likes on the entire hierarchy of repost posts recursively (#287) 2021-11-13 22:28:17 +02:00
celestora
c306899ead
Fix syntax errors in WallPresenter 2021-11-04 19:01:09 +02:00
Ilya Prokopenko
96ee98ae28
Now you can't access the wall of a banned user
Fixes #264
2021-11-04 16:15:58 +03:00
Celestora
ad878474ce Videos: Implement checks to prevent uploads of non-video files or mediacontainers without vstreams
Resolves #234
Sorry, Beatrice
2021-10-15 12:34:59 +03:00
Celestora
1c341874a0 Wall [Experimental]: Allow to embed videos in posts 2021-10-13 22:51:28 +03:00
Celestora
4ab9d67718 [WIP] Comments: Allow photo uploads in comments 2021-10-12 14:17:21 +03:00
veselcraft
fd3ffcef08 Wall: Now you can comment when you're reposting (fixes #167) 2021-10-08 20:44:57 +03:00
Celestora
83b88dfee3 [SECURITY] Fix invalid access control check in WallPresenter::renderPin 2021-09-20 16:46:55 +03:00
Celestora
839594cd70 Add pinning feature 2021-09-20 15:21:33 +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
316a369a5e Wall: Hotfix - added a embedded version of wall 2021-09-15 21:00:34 +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
Alma Armas
2f09e32b1e Add rate limiting feature
Co-authored-by: Rempai <kitsuruko@gmail.com>
2020-12-31 21:19:58 +00:00
Alma Armas
a67241c5da [WIP] Remove hack from WallPresenter 2020-09-29 13:02:33 -07:00
Linus Torvalds
65e4c163cb Restrict maximum posts per page to 50 in global and local feed 2020-08-25 15:44:06 +00:00
Alma Armas
fdb8b35609 Add post size limits 2020-08-20 12:58:40 +00:00
Jill Stingray
11b4f0b16a Fix bug that corrupted DB after post deletion 2020-06-23 20:06:15 +00: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
3eb5b6b4fc Fix spacing in WallPresenter.php 2020-06-11 23:18:05 +03:00
Jill Stingray
e0e2d78ab8 Add global feed 2020-06-11 12:51:12 +03:00