Commit graph

26 commits

Author SHA1 Message Date
lalka2018
71c59023cf
Improve API (#975)
* Add API for notifications

* Add editing methods

* Add apis for likes and polls

* Add attaching polls

* can_edit

* Fix getting voters in anonymous posts and use c...

...anBeEditedBy instead of checking user's id
2023-11-14 22:44:39 +03:00
celestora
7b92ed58e7
Fix bug in photo vk api structure
I forgor that `pid` refers to virtual, not absolute, id
2023-07-13 14:27:07 +03:00
lalka2018
3e69d06474
VKAPI: методы для подарков, заметок, статусов, обсуждений и немного для фоток и групп (#876)
* API methods for gifts, notes, statuses

* Some fixes

Строки локализации у gifts.send теперь не костыльные и можно прикрепить до 10 аттачей к посту

* Small imp

Пофиксил пагинацию у заметков и подарок
Перенёс структуру заметок
Добавил аттачи к комментариям
Добавил проверку на удалённость аттача
Ну и пофиксил сортировку заметок

* VKAPI: Some methods for topics and photos

Добавлены методы для обсуждений (addTopic, closeTopic(), createComment(), deleteComment(), deleteTopic(), editTopic(), fixTopic(), getComments(), getTopics(), openTopic(), unfixTopic())
и для фотографий (createAlbum(), editAlbum(), getAlbums(), getAlbumsCount(), getById(), get(), deleteAlbum(), edit(), delete(), deleteComment(), createComment(), getAll(), getComments())

* fixsex
2023-06-13 21:03:43 +03:00
celestora
beb8b4eaa6 Move photo page url resolution to model
мб пофиксит 842 янеипу
2023-01-29 19:14:29 +02:00
celestora
e834fae0fe
Update Photo.php 2022-12-21 01:26:00 +02:00
celestora
3c4f41e58c
Return more absolute url in Photo::getSizes::type::url 2022-12-21 01:20:17 +02:00
celestora
768f834ea1 Use hermite filter instead of point for image resize
Fixes terrific image distortion during downscaling
2022-12-14 23:10:15 +02:00
celestora
65a232b6ef Experiment(Photo): add "quick" image saving method to increase teh upload speedz
если это сработает то я буду ржать :)
2022-12-14 22:15:29 +02:00
celestora
ea1c618489 Revert "Experiment(Photo): use imagick+cloning instead of gd2"
коммит говно мы его удаляем
2022-12-13 01:03:54 +02:00
celestora
918ff0e0f0 Experiment(Photo): use imagick+cloning instead of gd2
АААААААААААА
2022-12-13 00:47:25 +02:00
Ilya Prokopenko
74b3bf5e3f
Photos: Add changing of update date of album
Resolves #588
2022-07-29 16:41:43 +07:00
Celestora
622c9204b2 Use Photo::getVkApiSizes in wall.get
Now wall.get will reflect accurate information about image sizes and their dimensions.
2022-04-24 15:38:53 +03:00
Celestora
15385ad69d Add auto-resolution for weird directory files error in Photo 2022-04-05 22:36:46 +03:00
Celestora
599c378b6f Remove redundant getDimensions 2022-04-05 16:13:25 +03:00
Celestora
be83a72be2 Add build-images to openvkctl 2022-04-05 15:54:53 +03:00
Celestora
ed9dac2ac1 Use correct image sizes in various templates 2022-04-05 14:39:13 +03:00
Celestora
608c34815e Add photo miniatures creation logic to Photo::saveFile 2022-04-05 14:10:31 +03:00
Celestora
f707c72f07 Cache image resolution in database 2022-04-05 11:38:19 +03:00
Ilya Prokopenko
17a60f24e8
Global: Fix photo uploads
Resolves #524
2022-03-30 16:52:14 +03:00
Celestora
1a2a0805d4 Add photos.save, photos.saveWallPhoto, photos.saveOwnerPhoto, photos.getUploadServer
Didn't test, but shouldn't be really tough to fix afterwards if it'll break.
2022-03-29 20:43:34 +03:00
veselcraft
1472801874
VKAPI: Add attachments support for Wall methods
TODO Refactor: Перенести вывод в отдельную функцию, чтоб не дублировать код
2022-03-25 14:05:44 +03:00
Celestora
0a7bc786b5 Add option to post anonymously 2021-11-15 21:45:48 +02:00
Celestora
829b3d1fbc Photos: Increase possible wideness/tallness of image to k=7 2021-10-14 14:40:28 +03:00
Celestora
4ab9d67718 [WIP] Comments: Allow photo uploads in comments 2021-10-12 14:17:21 +03:00
Alma Armas
16f1b22ecb Refactor albums 2021-01-27 17:39:15 +00:00
Jill Stingray
db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00