Code Monkey home page Code Monkey logo

apidog's Introduction

⚠️ Проект заморожен, разработка не ведётся ⚠️

APIdog

На данный момент имеется две версии APIdog:

v6.4.5

Версия, используемая на основном домене apidog.ru. Исходный код закрыт из-за его непригодности в open source (по коду раскиданы ключи, данные от БД и код сам по себе ужасен). Кодовая база пяти лет (2013-2018). На продакшене (на основном сайте) исправляются только критичные баги/уязвимости.

v6.4.6

Это dev-версия, так и не вышедшая в релиз, которая содержится в этом репозитории. Используется на домене разработчика apidog646.vlad805.ru. Это форк v6.4.5 примерно июля 2017 года. Здесь достаточно причёсанный код (по меркам 2017-2018 годов).

Maintenance

Поддержка существующего в этом репозитории кода не осуществляется. По всем вопросам и предложениям писать на электронную почту, указанную в профиле или в Telegram (@vladislav805).

apidog's People

Contributors

vladislav805 avatar who0ps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apidog's Issues

People Search bugs

  • Year of birth. Can't be more, than 2002 (every year+1).
  • Age. When choose "from" 19, field "to" can't be less. And backwards.
  • Checkboxes "with photo" and "online" has no effect.
  • Birthday can be set as 31/02. February. Again.

"Reply" button at the "All comments" does not work

Photo - Additional - All comments - clicking on "Reply" has no visual effect.

TypeError: reply is null
Photos.reply()
minify.php:14854
Photos.itemComment/<.onclick()
minify.php:14641
minify.php:14854:1

"Recommendations" tab of feed does not opens

Click has no visual effect.

TypeError: undefined has no properties
Feed.getFeed()
minify.php:4473
Feed.convert()
minify.php:4459
APIRequest.prototype._onCompleteLoad()
minify.php:18876
DirectRequest.prototype.mListener()
minify.php:18959
<анонімно>
execute:1
minify.php:4473:4

Year of birthday

According to the rules VK registration is allowed, if user's age is more, than 13 full years. At the page of editing user's info user can set year fo birthday 2012 (has no effect).

Need to limit max year of birthday to 2002 and update every year (+1).

Adding to the black list bugs

  1. When put to textarea shortname, id, or "idxxx" (does not work):

TypeError: /(https?://)?((m.)?vk.com|apidog.ru)/#?([^?]+)??/gim.exec(...) is null
Settings.blacklist.request/form<.onsubmit()
minify.php:22218
minify.php:22218:14

  1. When put vk.com/idxxx (works):

TypeError: form.user is undefined
Settings.blacklist.request/form<.onsubmit/<()
minify.php:22227
APIRequest.prototype._onCompleteLoad()
minify.php:18876
ExtensionRequest.prototype._onResponse()
minify.php:19064
<анонімно>
minify.php:19085
handleExtensionEvent()
minify.php:4048
<анонімно>
minify.php:4080
minify.php:22227:9

  1. Has no visual effect.

Don't opens "Comments" tab

Click has no visual effect.

TypeError: post.reposts is undefined
Wall.itemPost()
minify.php:29168
Wall.ItemPost()
minify.php:28987
Feed.showComments()
minify.php:4891
APIRequest.prototype._onCompleteLoad()
minify.php:18876
DirectRequest.prototype.mListener()
minify.php:18959
<анонімно>
execute:1
minify.php:29168:6

Deployment Guide

"Readme.md" says the project uses PHP and NodeJS , alse some kind of DB is mentioned.

Could you please provide some manual to install APIdog locally for dev purposes?

Profile correction

.profile-media { margin: 10px 10px; } .group-info-item { margin: 4px 0 -4px; padding: 4px 12px; clear: both; }

apidog

Can not watch image, attached to message

F5, open dialogs, go to dialog, click at image. Works 1 time after refresing page.

Console:

TypeError: photo is undefined
Photos.getViewer()
minify.php:14935
Photos.getShow/<()
minify.php:14919
APIRequest.prototype._onCompleteLoad()
minify.php:18876
ExtensionRequest.prototype._onResponse()
minify.php:19064
<анонімно>
minify.php:19085
handleExtensionEvent()
minify.php:4048
<анонімно>
minify.php:4080
minify.php:14935:4

Don't opens "Updates" tab

Click has no visual effect.

TypeError: category is undefined
Lang.get()
minify.php:10085
String.prototype.setLang()
minify.php:17334
lg()
minify.php:17010
Feed.event.addedFriends()
minify.php:4591
Feed.getFriendsFeed()
minify.php:4759
Feed.getFriends()
minify.php:4750
APIRequest.prototype._onCompleteLoad()
minify.php:18876
DirectRequest.prototype.mListener()
minify.php:18959
<анонімно>
execute:1
minify.php:10085:1

"Watch sessions" does not works

Just spinner and:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
APIdogRequest/xhr.onreadystatechange()
minify.php:17418
minify.php:17418:16


( ! ) Fatal error: Uncaught Error: Class 'AuthSession' not found in /home/apidog/www/apidog.ru/6.5/zero.helper.php on line 545
( ! ) Error: Class 'AuthSession' not found in /home/apidog/www/apidog.ru/6.5/zero.helper.php on line 545
Call Stack
#TimeMemoryFunctionLocation
10.0001375560{main}( ).../api-v2.php:0
20.0021401768Settings::getSessions( ).../api-v2.php:181

February at the editing info page

  1. Set day of month to 29, 30 or 31.
  2. Set month to February.
    After 2 step day of month must change to 28 of 29 (according to leap year or not).

Failed to start a dialog

When click "Write message" from list of friend or user's page.
default

TypeError: result.items is undefined
IM.show/load/<()
minify.php:7866
APIRequest.prototype._onCompleteLoad()
minify.php:18876
ExtensionRequest.prototype._onResponse()
minify.php:19064
<анонімно>
minify.php:19085
handleExtensionEvent()
minify.php:4048
<анонімно>
minify.php:4080
minify.php:7866:6

Creating, deleting and editing video album has no visual effect

But works

TypeError: data.response is undefined
Video.showCreateAlbum/onSubmit/<()
minify.php:27471
APIRequest.prototype._onCompleteLoad()
minify.php:18876
ExtensionRequest.prototype._onResponse()
minify.php:19064
<анонімно>
minify.php:19085
handleExtensionEvent()
minify.php:4048
<анонімно>
minify.php:4080
minify.php:27471:7

No audios?

Audios don't play and their markup is broken in posts.

screenshot_14

Don't shows group contacts and links

Just spinner on the pop-up and:

TypeError: data is undefined
Groups.showContacts/fx()
minify.php:7091
APIRequest.prototype._onCompleteLoad()
minify.php:18876
ExtensionRequest.prototype._onResponse()
minify.php:19064
<анонімно>
minify.php:19085
handleExtensionEvent()
minify.php:4048
<анонімно>
minify.php:4080
minify.php:7091:4

TypeError: links is undefined
Groups.showLinks/fx()
minify.php:7051
APIRequest.prototype._onCompleteLoad()
minify.php:18876
ExtensionRequest.prototype._onResponse()
minify.php:19064
<анонімно>
minify.php:19085
handleExtensionEvent()
minify.php:4048
<анонімно>
minify.php:4080
minify.php:7051:33

Error and bug, when creating a friend list

When crating:

TypeError: response.items[i].lists is undefined
Friends.showFriends()
minify.php:5235
Friends.explain/<()
minify.php:5184
APIRequest.prototype._onCompleteLoad()
minify.php:18876
ExtensionRequest.prototype._onResponse()
minify.php:19064
<анонімно>
minify.php:19085
handleExtensionEvent()
minify.php:4048
<анонімно>
minify.php:4080
minify.php:5235:9

But list will be created.
Also ignoring "0" at start of name.
001 -> 1
001001 -> 1001

Adding and deleting fave bugs

  1. Deleting fave (link or user) has no visual effect.
  2. After adding or deleting fave (link or user) Fave page don't opens until you refresh page:

TypeError: data is undefined
Fave.Users/fx()
minify.php:4169
Fave.Users()
minify.php:4178
Fave.RequestPage()
minify.php:4126
Site.Go()
minify.php:23914
<анонімно>
minify.php:17436
minify.php:4169:5

  1. If link has no protocol (http, -s), it will not be added.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.