2020-06-07 19:04:43 +03:00
|
|
|
static: "static"
|
|
|
|
|
|
|
|
routes:
|
|
|
|
- url: "/"
|
|
|
|
handler: "About->index"
|
2020-07-13 09:16:52 +03:00
|
|
|
- url: "/id0"
|
|
|
|
handler: "About->index"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/terms"
|
|
|
|
handler: "About->rules"
|
|
|
|
- url: "/rpc"
|
|
|
|
handler: "InternalAPI->route"
|
2022-01-22 15:54:57 +03:00
|
|
|
- url: "/iapi/timezone"
|
|
|
|
handler: "InternalAPI->timezone"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/support"
|
|
|
|
handler: "Support->index"
|
|
|
|
- url: "/support/tickets"
|
|
|
|
handler: "Support->list"
|
|
|
|
- url: "/support/reply/{num}"
|
|
|
|
handler: "Support->AnswerTicket"
|
|
|
|
- url: "/support/view/{num}"
|
|
|
|
handler: "Support->view"
|
2021-12-15 01:56:23 +03:00
|
|
|
- url: "/support/comment/{num}/rate/{num}"
|
|
|
|
handler: "Support->rateAnswer"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/al_comments/create/support/{num}"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "Support->makeComment"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/al_comments/create/support/reply/{num}"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "Support->AnswerTicketReply"
|
2022-01-28 16:34:13 +03:00
|
|
|
- url: "/support/comment/{num}/delete"
|
|
|
|
handler: "Support->deleteComment"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/al_comments/create/{text}/{num}"
|
|
|
|
handler: "Comment->makeComment"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/support/delete/{num}"
|
|
|
|
handler: "Support->delete"
|
2022-11-08 00:36:07 +03:00
|
|
|
- url: "/support/agent{num}"
|
|
|
|
handler: "Support->agent"
|
|
|
|
- url: "/support/agent{num}/edit"
|
|
|
|
handler: "Support->editAgent"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/language"
|
|
|
|
handler: "About->language"
|
2021-12-04 16:06:28 +03:00
|
|
|
- url: "/language/{text}.js"
|
|
|
|
handler: "About->exportJSLanguage"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/donate"
|
|
|
|
handler: "About->donate"
|
2020-06-16 15:38:32 +03:00
|
|
|
- url: "/kb/{slug}"
|
|
|
|
handler: "Support->knowledgeBaseArticle"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/about:{?!productName}"
|
|
|
|
handler: "About->version"
|
|
|
|
placeholders:
|
|
|
|
productName: "openvk[2]?|libresoc"
|
2022-01-03 18:31:55 +03:00
|
|
|
- url: "/about"
|
|
|
|
handler: "About->aboutInstance"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/privacy"
|
|
|
|
handler: "About->Privacy"
|
|
|
|
- url: "/badbrowser.php"
|
|
|
|
handler: "About->BB"
|
|
|
|
- url: "/login"
|
|
|
|
handler: "Auth->login"
|
|
|
|
- url: "/reg"
|
|
|
|
handler: "Auth->register"
|
|
|
|
- url: "/logout"
|
|
|
|
handler: "Auth->logout"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/restore"
|
|
|
|
handler: "Auth->restore"
|
|
|
|
- url: "/restore/internal-finish"
|
|
|
|
handler: "Auth->finishRestoringPassword"
|
2022-01-31 14:45:53 +03:00
|
|
|
- url: "/reg/resend"
|
|
|
|
handler: "Auth->resendEmail"
|
|
|
|
- url: "/regFinish"
|
|
|
|
handler: "Auth->verifyEmail"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/setSID/{slug}"
|
|
|
|
handler: "Auth->su"
|
2022-09-05 11:16:22 +03:00
|
|
|
- url: "/unban.php"
|
|
|
|
handler: "Auth->unbanThemself"
|
2022-09-03 23:11:08 +03:00
|
|
|
- url: "/revokeAllTokens"
|
|
|
|
handler: "Auth->revokeAllTokens"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/settings"
|
|
|
|
handler: "User->settings"
|
2021-12-02 18:31:32 +03:00
|
|
|
- url: "/settings/2fa"
|
|
|
|
handler: "User->twoFactorAuthSettings"
|
|
|
|
- url: "/settings/2fa/disable"
|
|
|
|
handler: "User->disableTwoFactorAuth"
|
2022-04-17 08:19:31 +03:00
|
|
|
- url: "/settings/reset_theme"
|
|
|
|
handler: "User->resetThemepack"
|
2022-05-06 17:17:08 +03:00
|
|
|
- url: "/settings/change_email"
|
|
|
|
handler: "User->emailChangeFinish"
|
2022-08-05 23:00:52 +03:00
|
|
|
- url: "/settings/deactivate"
|
|
|
|
handler: "User->deactivate"
|
|
|
|
- url: "/settings/reactivate"
|
|
|
|
handler: "Auth->reactivatePage"
|
2021-12-19 15:34:33 +03:00
|
|
|
- url: "/coins_transfer"
|
|
|
|
handler: "User->coinsTransfer"
|
2022-02-08 00:20:55 +03:00
|
|
|
- url: "/increase_social_credits"
|
|
|
|
handler: "User->increaseRating"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/id{num}"
|
|
|
|
handler: "User->view"
|
|
|
|
- url: "/friends{num}"
|
|
|
|
handler: "User->friends"
|
|
|
|
- url: "/edit"
|
|
|
|
handler: "User->edit"
|
2022-01-09 08:49:23 +03:00
|
|
|
- url: "/edit/verify_phone"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "User->verifyPhone"
|
|
|
|
- url: "/setSub/user"
|
|
|
|
handler: "User->sub"
|
|
|
|
- url: "/setSub/club"
|
|
|
|
handler: "Group->sub"
|
|
|
|
- url: "/setSub/v4/club"
|
|
|
|
handler: "Group->attend"
|
2021-12-16 21:40:34 +03:00
|
|
|
- url: "/groups/{num}/setNewOwner/{num}"
|
|
|
|
handler: "Group->changeOwner"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/comment{num}/like"
|
|
|
|
handler: "Comment->like"
|
|
|
|
- url: "/comment{num}/delete"
|
|
|
|
handler: "Comment->deleteComment"
|
|
|
|
- url: "/notifications"
|
|
|
|
handler: "Notification->feed"
|
|
|
|
- url: "/feed"
|
|
|
|
handler: "Wall->feed"
|
2020-06-11 12:51:12 +03:00
|
|
|
- url: "/feed/all"
|
|
|
|
handler: "Wall->globalFeed"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/feed/hashtag/{?hashTag}"
|
|
|
|
handler: "Wall->hashtagFeed"
|
|
|
|
placeholders:
|
|
|
|
hashTag: ".++"
|
|
|
|
- url: "/wall{num}"
|
|
|
|
handler: "Wall->wall"
|
2022-02-05 17:50:24 +03:00
|
|
|
- url: "/wall{num}/rss"
|
|
|
|
handler: "Wall->rss"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/wall{num}/makePost"
|
|
|
|
handler: "Wall->makePost"
|
|
|
|
- url: "/wall{num}_{num}"
|
|
|
|
handler: "Wall->post"
|
|
|
|
- url: "/wall{num}_{num}/like"
|
|
|
|
handler: "Wall->like"
|
|
|
|
- url: "/wall{num}_{num}/repost"
|
|
|
|
handler: "Wall->share"
|
|
|
|
- url: "/wall{num}_{num}/delete"
|
|
|
|
handler: "Wall->delete"
|
2021-09-20 15:19:15 +03:00
|
|
|
- url: "/wall{num}_{num}/pin"
|
|
|
|
handler: "Wall->pin"
|
2022-04-09 20:13:53 +03:00
|
|
|
- url: "/blob_{text}/{?path}.{text}"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "Blob->file"
|
2022-04-09 20:13:53 +03:00
|
|
|
placeholders:
|
|
|
|
path: "[A-z0-9\\-_\\/]{3,}"
|
2020-06-11 23:21:49 +03:00
|
|
|
- url: "/themepack/{text}/{?version}/{?resClass}/{?any}"
|
|
|
|
handler: "Themepacks->resource"
|
|
|
|
placeholders:
|
|
|
|
version: "(?:[0-9]+\\.?)+"
|
|
|
|
resClass: "stylesheet|resource"
|
|
|
|
any: ".+"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/albums{num}"
|
|
|
|
handler: "Photos->albumList"
|
|
|
|
- url: "/albums/create"
|
|
|
|
handler: "Photos->createAlbum"
|
|
|
|
- url: "/album{num}_{num}"
|
|
|
|
handler: "Photos->album"
|
|
|
|
- url: "/album{num}_{num}/edit"
|
|
|
|
handler: "Photos->editAlbum"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/album{num}_{num}/delete"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "Photos->deleteAlbum"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/album{num}_{num}/remove_photo/{num}"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "Photos->unlinkPhoto"
|
|
|
|
- url: "/photos/upload"
|
|
|
|
handler: "Photos->uploadPhoto"
|
|
|
|
- url: "/photo{num}_{num}"
|
|
|
|
handler: "Photos->photo"
|
2022-12-14 23:15:29 +03:00
|
|
|
- url: "/photos/thumbnails/{num}_{text}.jpeg"
|
|
|
|
handler: "Photos->thumbnail"
|
2021-11-15 22:45:48 +03:00
|
|
|
- url: "/photos/{text}"
|
|
|
|
handler: "Photos->absolutePhoto"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/photo{num}_{num}/edit"
|
|
|
|
handler: "Photos->editPhoto"
|
|
|
|
- url: "/photo{num}_{num}/delete"
|
|
|
|
handler: "Photos->deletePhoto"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/al_avatars"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "User->setAvatar"
|
|
|
|
- url: "/videos{num}"
|
|
|
|
handler: "Videos->list"
|
|
|
|
- url: "/videos/upload"
|
|
|
|
handler: "Videos->upload"
|
|
|
|
- url: "/video{num}_{num}"
|
|
|
|
handler: "Videos->view"
|
|
|
|
- url: "/video{num}_{num}/edit"
|
|
|
|
handler: "Videos->edit"
|
|
|
|
- url: "/video{num}_{num}/remove"
|
|
|
|
handler: "Videos->remove"
|
|
|
|
- url: "/{?!club}{num}"
|
|
|
|
handler: "Group->view"
|
|
|
|
placeholders:
|
|
|
|
club: "club|public|event"
|
|
|
|
- url: "/club{num}/edit"
|
|
|
|
handler: "Group->edit"
|
2022-12-12 02:23:42 +03:00
|
|
|
- url: "/club{num}/backdrop"
|
|
|
|
handler: "Group->editBackdrop"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/club{num}/stats"
|
|
|
|
handler: "Group->statistics"
|
|
|
|
- url: "/club{num}/followers"
|
|
|
|
handler: "Group->followers"
|
|
|
|
- url: "/club{num}/followers/{num}"
|
|
|
|
handler: "Group->admin"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/club{num}/setAdmin"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "Group->modifyAdmin"
|
|
|
|
- url: "/groups{num}"
|
|
|
|
handler: "User->groups"
|
2021-11-10 11:45:06 +03:00
|
|
|
- url: "/groups_pin"
|
|
|
|
handler: "User->pinClub"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/groups_create"
|
|
|
|
handler: "Group->create"
|
2021-12-15 01:27:17 +03:00
|
|
|
- url: "/board{num}"
|
|
|
|
handler: "Topics->board"
|
|
|
|
- url: "/board{num}/create"
|
|
|
|
handler: "Topics->create"
|
|
|
|
- url: "/topic{num}_{num}"
|
|
|
|
handler: "Topics->topic"
|
|
|
|
- url: "/topic{num}_{num}/edit"
|
|
|
|
handler: "Topics->edit"
|
|
|
|
- url: "/topic{num}_{num}/delete"
|
|
|
|
handler: "Topics->delete"
|
2021-09-13 06:22:05 +03:00
|
|
|
- url: "/audios{num}"
|
|
|
|
handler: "Audios->app"
|
|
|
|
- url: "/audios{num}.json"
|
|
|
|
handler: "Audios->apiListSongs"
|
|
|
|
- url: "/audios/popular.json"
|
|
|
|
handler: "Audios->apiListPopSongs"
|
|
|
|
- url: "/audios/playlist{num}.json"
|
|
|
|
handler: "Audios->apiListPlaylists"
|
|
|
|
- url: "/audios/search.json"
|
|
|
|
handler: "Audios->apiSearch"
|
|
|
|
- url: "/audios/add.json"
|
|
|
|
handler: "Audios->apiAdd"
|
|
|
|
- url: "/audios/playlist.json"
|
|
|
|
handler: "Audios->apiAddPlaylist"
|
|
|
|
- url: "/audios/upload.json"
|
|
|
|
handler: "Audios->apiUpload"
|
|
|
|
- url: "/audios/beacon"
|
|
|
|
handler: "Audios->apiBeacon"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/im"
|
|
|
|
handler: "Messenger->index"
|
|
|
|
- url: "/im/sel{num}"
|
|
|
|
handler: "Messenger->app"
|
|
|
|
- url: "/im{num}"
|
|
|
|
handler: "Messenger->events"
|
2020-08-12 14:36:18 +03:00
|
|
|
- url: "/nim{num}"
|
|
|
|
handler: "Messenger->VKEvents"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/im/api/messages{num}/{num}.json"
|
|
|
|
handler: "Messenger->apiGetMessages"
|
|
|
|
- url: "/im/api/messages{num}/create.json"
|
|
|
|
handler: "Messenger->apiWriteMessage"
|
|
|
|
- url: "/search"
|
|
|
|
handler: "Search->index"
|
|
|
|
- url: "/search/content"
|
|
|
|
handler: "ContentSearch->index"
|
|
|
|
- url: "/notes{num}"
|
|
|
|
handler: "Notes->list"
|
|
|
|
- url: "/note{num}_{num}"
|
|
|
|
handler: "Notes->view"
|
2022-08-19 20:20:09 +03:00
|
|
|
- url: "/notes/prerender"
|
|
|
|
handler: "Notes->preView"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/notes/create"
|
|
|
|
handler: "Notes->create"
|
2022-01-26 18:20:10 +03:00
|
|
|
- url: "/note{num}_{num}/edit"
|
|
|
|
handler: "Notes->edit"
|
2021-01-17 02:19:54 +03:00
|
|
|
- url: "/note{num}_{num}/delete"
|
|
|
|
handler: "Notes->delete"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/invite"
|
|
|
|
handler: "About->invite"
|
|
|
|
- url: "/away.php"
|
|
|
|
handler: "Away->away"
|
2022-09-05 18:57:41 +03:00
|
|
|
- url: "/away.php/{num}"
|
|
|
|
handler: "Away->view"
|
2021-10-07 11:48:55 +03:00
|
|
|
- url: "/gift{num}_{num}.png"
|
|
|
|
handler: "Gifts->giftImage"
|
|
|
|
- url: "/gifts{num}"
|
|
|
|
handler: "Gifts->userGifts"
|
|
|
|
- url: "/gifts"
|
|
|
|
handler: "Gifts->stub"
|
2022-08-20 21:07:54 +03:00
|
|
|
- url: "/app{num}"
|
|
|
|
handler: "Apps->play"
|
|
|
|
- url: "/apps"
|
|
|
|
handler: "Apps->list"
|
|
|
|
- url: "/editapp"
|
|
|
|
handler: "Apps->edit"
|
|
|
|
- url: "/apps/uninstall"
|
|
|
|
handler: "Apps->unInstall"
|
2022-10-11 19:04:43 +03:00
|
|
|
- url: "/poll{num}"
|
|
|
|
handler: "Poll->view"
|
|
|
|
- url: "/poll{num}/voters"
|
|
|
|
handler: "Poll->voters"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/admin"
|
|
|
|
handler: "Admin->index"
|
|
|
|
- url: "/admin/users"
|
|
|
|
handler: "Admin->users"
|
|
|
|
- url: "/admin/users/id{num}"
|
|
|
|
handler: "Admin->user"
|
|
|
|
- url: "/admin/clubs"
|
|
|
|
handler: "Admin->clubs"
|
|
|
|
- url: "/admin/clubs/id{num}"
|
|
|
|
handler: "Admin->club"
|
2021-10-07 11:47:30 +03:00
|
|
|
- url: "/admin/vouchers"
|
|
|
|
handler: "Admin->vouchers"
|
|
|
|
- url: "/admin/vouchers/id{num}"
|
|
|
|
handler: "Admin->voucher"
|
2021-10-07 11:48:55 +03:00
|
|
|
- url: "/admin/gifts"
|
|
|
|
handler: "Admin->giftCategories"
|
|
|
|
- url: "/admin/gifts/id{num}"
|
|
|
|
handler: "Admin->gift"
|
|
|
|
- url: "/admin/gifts/{slug}.{num}.meta"
|
|
|
|
handler: "Admin->giftCategory"
|
|
|
|
- url: "/admin/gifts/{slug}.{num}/"
|
|
|
|
handler: "Admin->gifts"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/admin/ban/{num}"
|
2020-07-17 19:26:59 +03:00
|
|
|
handler: "Admin->quickBan"
|
2022-03-27 09:41:48 +03:00
|
|
|
- url: "/admin/unban/{num}"
|
|
|
|
handler: "Admin->quickUnban"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/admin/warn/{num}"
|
2020-07-17 19:39:34 +03:00
|
|
|
handler: "Admin->quickWarn"
|
2022-03-26 23:48:42 +03:00
|
|
|
- url: "/admin/support/ban/{num}"
|
|
|
|
handler: "Support->quickBanInSupport"
|
|
|
|
- url: "/admin/support/unban/{num}"
|
|
|
|
handler: "Support->quickUnbanInSupport"
|
2022-09-05 18:57:41 +03:00
|
|
|
- url: "/admin/bannedLinks"
|
|
|
|
handler: "Admin->bannedLinks"
|
|
|
|
- url: "/admin/bannedLink/id{num}"
|
|
|
|
handler: "Admin->bannedLink"
|
|
|
|
- url: "/admin/bannedLink/id{num}/unban"
|
|
|
|
handler: "Admin->unbanLink"
|
2022-03-29 20:43:34 +03:00
|
|
|
- url: "/upload/photo/{text}"
|
|
|
|
handler: "VKAPI->photoUpload"
|
2020-08-12 14:36:18 +03:00
|
|
|
- url: "/method/{text}.{text}"
|
|
|
|
handler: "VKAPI->route"
|
|
|
|
- url: "/token"
|
|
|
|
handler: "VKAPI->tokenLogin"
|
2021-12-31 07:28:57 +03:00
|
|
|
- url: "/admin/sandbox"
|
2020-06-07 19:04:43 +03:00
|
|
|
handler: "About->sandbox"
|
2022-11-02 13:45:49 +03:00
|
|
|
- url: "/admin/chandler/groups"
|
|
|
|
handler: "Admin->chandlerGroups"
|
|
|
|
- url: "/admin/chandler/groups/{slug}"
|
|
|
|
handler: "Admin->chandlerGroup"
|
|
|
|
- url: "/admin/chandler/users/{slug}"
|
|
|
|
handler: "Admin->chandlerUser"
|
2021-09-15 21:00:34 +03:00
|
|
|
- url: "/internal/wall{num}"
|
|
|
|
handler: "Wall->wallEmbedded"
|
2021-12-27 19:35:14 +03:00
|
|
|
- url: "/robots.txt"
|
|
|
|
handler: "About->robotsTxt"
|
|
|
|
- url: "/humans.txt"
|
|
|
|
handler: "About->humansTxt"
|
2022-04-18 10:03:44 +03:00
|
|
|
- url: "/dev"
|
|
|
|
handler: "About->dev"
|
2023-01-08 00:53:25 +03:00
|
|
|
- url: "/tour"
|
|
|
|
handler: "About->tour"
|
2020-06-07 19:04:43 +03:00
|
|
|
- url: "/{?shortCode}"
|
|
|
|
handler: "UnknownTextRouteStrategy->delegate"
|
|
|
|
placeholders:
|
2020-06-11 23:21:49 +03:00
|
|
|
shortCode: "[a-z][a-z0-9\\@\\.\\_]{0,30}[a-z0-9]"
|
2022-09-17 00:19:46 +03:00
|
|
|
- url: "/maintenance/{text}"
|
|
|
|
handler: "Maintenance->section"
|
|
|
|
- url: "/maintenances/"
|
|
|
|
handler: "Maintenance->all"
|