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
SachaTending
977da1f9c3
feat(token authorization): add "secret" field
2024-12-31 16:15:42 +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
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
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
celestora
2bdb4f03d0
feat(OAuth): add oauth flow
2024-03-30 21:51:38 +02:00
celestora
0b80c0a6a8
feat(API): implement token re-use mechanism
2024-03-30 12:59:10 +02:00
veselcraft
a2473c68fe
VKAPI: PHP 8.2 fixes
2023-11-01 14:52:24 +03:00
celestora
3db545f91a
Fix bugs in photos.getUploadServer and photos.save
2023-07-12 20:49:55 +03:00
celestora
53fa14d89e
Use UA description instead of "api" in default API platform
...
OpenVK will try to guess OS and name of library which was used to make token generation request to more accurately represent.. stuff.
2023-06-17 14:25:21 +03:00
celestora
01bd8f938c
Disallow API access to banned users
...
lmao??
2023-02-08 13:14:47 +02:00
veselcraft
462d667e53
Global: Implement showing platform
2022-12-17 02:03:02 +03:00
veselcraft
f5bec29bf6
VKAPI: Fix 2FA compatibility with alternative clients
...
VKAPI: Fix crash when trying to call Messages.getConversations method
2022-07-19 23:40:17 +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
Maxim Leshchenko
e433e83c5d
Users: Add two-factor authentication ( #321 )
...
This commit adds full TOTP 2FA. And even backup codes modeled on the original VK
2021-12-02 17:31:32 +02:00
Alma Armas
c193edc3d4
Correct CORS behaviour for API routes
2020-09-29 13:02:04 -07:00
Alma Armas
05b7061471
Add Access-Control-Allow-Origin header to API
2020-09-12 08:11:00 +00:00
Alma Armas
e18a661507
[WIP] Add VK API compat layer
2020-08-12 11:39:06 +00:00