repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
tan-tan-kanarek/github-php-client
https://github.com/tan-tan-kanarek/github-php-client/blob/0cef8fe78faa60b331a29ad5a8598cea8ba75c8a/client/objects/GitHubGitCommit.php
client/objects/GitHubGitCommit.php
<?php require_once(__DIR__ . '/../GitHubObject.php'); require_once(__DIR__ . '/GitHubGitCommitAuthor.php'); require_once(__DIR__ . '/GitHubGitCommitCommitter.php'); require_once(__DIR__ . '/GitHubGitCommitTree.php'); class GitHubGitCommit extends GitHubObject { /* (non-PHPdoc) * @see GitHubObject::getAttributes(...
php
MIT
0cef8fe78faa60b331a29ad5a8598cea8ba75c8a
2026-01-05T03:00:29.726716Z
false
tan-tan-kanarek/github-php-client
https://github.com/tan-tan-kanarek/github-php-client/blob/0cef8fe78faa60b331a29ad5a8598cea8ba75c8a/client/objects/GitHubFullPull.php
client/objects/GitHubFullPull.php
<?php require_once(__DIR__ . '/GitHubPull.php'); require_once(__DIR__ . '/GitHubUser.php'); class GitHubFullPull extends GitHubPull { /* (non-PHPdoc) * @see GitHubObject::getAttributes() */ protected function getAttributes() { return array_merge(parent::getAttributes(), array( 'merge_commit_sha' => 'str...
php
MIT
0cef8fe78faa60b331a29ad5a8598cea8ba75c8a
2026-01-05T03:00:29.726716Z
false
tan-tan-kanarek/github-php-client
https://github.com/tan-tan-kanarek/github-php-client/blob/0cef8fe78faa60b331a29ad5a8598cea8ba75c8a/client/objects/GitHubPullComment.php
client/objects/GitHubPullComment.php
<?php require_once(__DIR__ . '/../GitHubObject.php'); require_once(__DIR__ . '/GitHubUser.php'); require_once(__DIR__ . '/GitHubPullCommentLinks.php'); class GitHubPullComment extends GitHubObject { /* (non-PHPdoc) * @see GitHubObject::getAttributes() */ protected function getAttributes() { return array_me...
php
MIT
0cef8fe78faa60b331a29ad5a8598cea8ba75c8a
2026-01-05T03:00:29.726716Z
false
tan-tan-kanarek/github-php-client
https://github.com/tan-tan-kanarek/github-php-client/blob/0cef8fe78faa60b331a29ad5a8598cea8ba75c8a/client/objects/GitHubOrg.php
client/objects/GitHubOrg.php
<?php require_once(__DIR__ . '/../GitHubObject.php'); class GitHubOrg extends GitHubObject { /* (non-PHPdoc) * @see GitHubObject::getAttributes() */ protected function getAttributes() { return array_merge(parent::getAttributes(), array( 'login' => 'string', 'id' => 'int', 'url' => 'string', 'a...
php
MIT
0cef8fe78faa60b331a29ad5a8598cea8ba75c8a
2026-01-05T03:00:29.726716Z
false
tan-tan-kanarek/github-php-client
https://github.com/tan-tan-kanarek/github-php-client/blob/0cef8fe78faa60b331a29ad5a8598cea8ba75c8a/client/objects/GitHubFeedsLinks.php
client/objects/GitHubFeedsLinks.php
<?php require_once(__DIR__ . '/../GitHubObject.php'); require_once(__DIR__ . '/GitHubFeedsLinksTimeline.php'); require_once(__DIR__ . '/GitHubFeedsLinksUser.php'); require_once(__DIR__ . '/GitHubFeedsLinksCurrentUserPublic.php'); require_once(__DIR__ . '/GitHubFeedsLinksCurrentUser.php'); require_once(__DIR__ . '/GitH...
php
MIT
0cef8fe78faa60b331a29ad5a8598cea8ba75c8a
2026-01-05T03:00:29.726716Z
false
tan-tan-kanarek/github-php-client
https://github.com/tan-tan-kanarek/github-php-client/blob/0cef8fe78faa60b331a29ad5a8598cea8ba75c8a/client/objects/GitHubPullCommentLinks.php
client/objects/GitHubPullCommentLinks.php
<?php require_once(__DIR__ . '/../GitHubObject.php'); class GitHubPullCommentLinks extends GitHubObject { /* (non-PHPdoc) * @see GitHubObject::getAttributes() */ protected function getAttributes() { return array_merge(parent::getAttributes(), array( )); } }
php
MIT
0cef8fe78faa60b331a29ad5a8598cea8ba75c8a
2026-01-05T03:00:29.726716Z
false
tan-tan-kanarek/github-php-client
https://github.com/tan-tan-kanarek/github-php-client/blob/0cef8fe78faa60b331a29ad5a8598cea8ba75c8a/client/objects/GitHubGitCommitCommitter.php
client/objects/GitHubGitCommitCommitter.php
<?php require_once(__DIR__ . '/../GitHubObject.php'); class GitHubGitCommitCommitter extends GitHubObject { /* (non-PHPdoc) * @see GitHubObject::getAttributes() */ protected function getAttributes() { return array_merge(parent::getAttributes(), array( 'date' => 'string', 'name' => 'string', 'emai...
php
MIT
0cef8fe78faa60b331a29ad5a8598cea8ba75c8a
2026-01-05T03:00:29.726716Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Controller.php
app/Controller.php
<?php namespace App; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; use ORM; class Controller { public function index(ServerRequestInterface $...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Authenticate.php
app/Authenticate.php
<?php namespace App; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; use ORM; use ATProto; class Authenticate { use Provider\GitHub; use Prov...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Healthcheck.php
app/Healthcheck.php
<?php namespace App; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; use ORM; class Healthcheck { const ERROR = 'ERROR'; const OK = 'OK'; co...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/NotFoundMiddleware.php
app/NotFoundMiddleware.php
<?php namespace App; use Psr\Http\Server\MiddlewareInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; use Laminas\Diactoros\Response\HtmlResponse; class NotFoundMiddleware implements MiddlewareInterface { public function proce...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/CORSStrategy.php
app/CORSStrategy.php
<?php namespace App; use \Exception; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Server\MiddlewareInterface; use Psr\Http\Server\RequestHandlerInterface; class CORSStrategy implements MiddlewareInterface { public function process(ServerRequestInterface $reque...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/ATProtoProvider.php
app/Provider/ATProtoProvider.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use ATProto, ATProtoException; use Config; trait ATProtoProvider { private fu...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/Email.php
app/Provider/Email.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Config; use Mailgun\Mailgun; define('EMAIL_TIMEOUT', 300); trait Email { private function _start_email($me, $details) { $code = random_string(); ...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/PGP.php
app/Provider/PGP.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; define('PGP_TIMEOUT', 120); trait PGP { private function _start_...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/FedCM.php
app/Provider/FedCM.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; trait FedCM { public function fedcm_start(ServerRequestInterface ...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/GitHub.php
app/Provider/GitHub.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; trait GitHub { private function _start_github($login_request, $de...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/GitLab.php
app/Provider/GitLab.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; trait GitLab { private function _start_gitlab($login_request, $de...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/Codeberg.php
app/Provider/Codeberg.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Config; trait Codeberg { private function _start_codeberg($login_request,...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/app/Provider/IndieAuth.php
app/Provider/IndieAuth.php
<?php namespace App\Provider; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Laminas\Diactoros\Response; use Config; trait IndieAuth { private function _start_indieauth($login_request, $details) { $userlog = make_logger('user'); $state = generate_state('indieau...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/public/index.php
public/index.php
<?php chdir('..'); include('vendor/autoload.php'); use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use League\Route\Http\Exception\NotFoundException; use Laminas\Diactoros\Response\HtmlResponse; // Check for existence of config variables, and show an error page if not set if(empty...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/setup-error.php
views/setup-error.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light"> <div class="col-md-5 p-lg-5 mx-auto my-5"> <h1 class="display-4 font-weight-normal">Missing Configuration</h1> <p class="lead font-weight-normal">You need to configur...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/layout.php
views/layout.php
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="/assets/bootstrap-4.1.0/css/bootstrap.min.css" rel="stylesheet"> <link href="/assets/styles.css" rel="stylesheet" type="...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/index.php
views/index.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light"> <div class="col-md-5 p-lg-5 mx-auto my-5"> <h1 class="display-4 font-weight-normal"><?= getenv('APP_NAME') ?></h1> <p class="lead font-weight-normal">Sign in with you...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/demo.php
views/demo.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="cover-container"> <main> <h2 class="cover-heading">Congrats!</h2> <p class="lead">You successfully authenticated as <b><?= $me ?></b></p> <p><a href="/">Back</a></p> </main> </div> <style> html, body { height: 100%; } nav...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/prompt.php
views/auth/prompt.php
<?php $this->layout('layout', ['title' => $title, 'nofooter' => true]) ?> <div class="container container-narrow"> <div class="login-details"> <p>Log in as <a href="<?= $me ?>"><?= $me ?></a></p> <form action="/select" method="post"> <input type="hidden" name="code" value="<?= $code ?>"> <input...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/login-form.php
views/auth/login-form.php
<?php $this->layout('layout', ['title' => $title, 'nofooter' => true]) ?> <div class="container container-narrow"> <p>Enter your URL to sign in.</p> <div class="login-details"> <p>Log in to <a href="<?= $client_id ?>"><?= $client_id ?></a></p> <form action="/authorize" method="get"> <div class="fo...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/select.php
views/auth/select.php
<?php $this->layout('layout', ['title' => $title, 'nofooter' => true]) ?> <div class="container container-narrow choose-profile"> <p>Log in as <a href="<?= $me ?>"><?= $me ?></a></p> <p>Choose an authentication provider to continue logging in.</p> <ul> <?php foreach($choices as $choice): ?> <li> <...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/dev-error.php
views/auth/dev-error.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow"> <div class="alert alert-warning">If you're seeing this, the developer of the application you're using did something wrong. Below are more details you can provide to the developer.</div> <h3>Request Error</h3> <p><b>...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/email.php
views/auth/email.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow"> <div id="send-email-section"> <p>Click to receive a one-time code to your email address.</p> <form action="/auth/send_email" method="POST"> <input type="hidden" id="code" name="code" value="<?= $code ?>"> ...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/pgp-error.php
views/auth/pgp-error.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow"> <?php if($error): ?> <div class="alert alert-warning"><?= $error ?></div> <?php endif ?> <p>Please go back to the application and try again.</p> <?php if(isset($client_id) && \p3k\url\is_url($client_id)): ?> ...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/email-error.php
views/auth/email-error.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow"> <?php if($error): ?> <div class="alert alert-warning"><?= $error ?></div> <?php endif ?> <p>Please go back to the application and try again.</p> <?php if(isset($client_id) && \p3k\url\is_url($client_id)): ?> ...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/pgp.php
views/auth/pgp.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow"> <div id="verify-challenge-section"> <p>Sign the string below with your PGP key.</p> <form action="/auth/verify_pgp_challenge" method="POST"> <input type="hidden" id="code" name="code" value="<?= $code ?>">...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/user-error.php
views/auth/user-error.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow"> <?php if($error): ?> <div class="alert alert-warning"><?= $error ?></div> <?php endif ?> <?php if(isset($opts['found'])): ?> <p>The following links were found on your website, but are not supported authentica...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/auth/email-enter-code.php
views/auth/email-enter-code.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow"> <?php if($error ?? false): ?> <div class="alert alert-danger"><?= $error ?></div> <?php endif ?> <div id="usercode-prompt"> <p>Enter the code you received in your email.</p> <form action="/auth/verify_e...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/components/favicon.php
views/components/favicon.php
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png"> <link rel="manifest" href="/icons/site.webmanifest"> ...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/docs/faq.php
views/docs/faq.php
<?php use Michelf\MarkdownExtra; $this->layout('layout', ['title' => $title]); ?> <div class="container container-narrow api-docs"> <?php ob_start() ?> # <?= getenv('APP_NAME') ?> FAQ ### Why does <?= getenv('APP_NAME') ?> ask for permission to read my public data in my GitHub account? {#github-permissions} If yo...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/docs/privacy.php
views/docs/privacy.php
<?php use Michelf\MarkdownExtra; $this->layout('layout', ['title' => $title]); ?> <div class="container container-narrow api-docs"> <?php ob_start() ?> # Privacy Policy ### Logs <?= getenv('APP_NAME') ?> keeps logs of attempted and successful authentications. Properties of each log record are: * the date of the a...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/docs/setup.php
views/docs/setup.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow setup h-entry"> <h1 class="p-name">How to Set Up Your Website for <?= getenv('APP_NAME') ?></h1> <div class="e-content"> <p>You've likely ended up here because a website you're trying to sign in to uses <?= getenv('A...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/views/docs/api.php
views/docs/api.php
<?php $this->layout('layout', ['title' => $title]) ?> <div class="container container-narrow api-docs"> <h1><?= getenv('APP_NAME') ?></h1> <p>If you are building a website and need to sign people in, you can use <?= getenv('APP_NAME') ?> to handle all the complicated parts.</p> <p>Users will identify themselv...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/lib/helpers.php
lib/helpers.php
<?php use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\UriInterface; use Monolog\Logger; use Monolog\Handler\StreamHandler; use Dotenv\Dotenv; const LOCAL_FALLBACK_REDIS = 'tcp://127.0.0.1:6379'; date_default_timezone_set('UTC'); // Load .env file if exists $dotenv ...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
aaronpk/indielogin.com
https://github.com/aaronpk/indielogin.com/blob/3aeac1195a9b506f57f2879dd43b6701138c654a/lib/ATProto.php
lib/ATProto.php
<?php use Laminas\Diactoros\Response\HtmlResponse; use Laminas\Diactoros\Response\JsonResponse; use Laminas\Diactoros\Response; use Jose\Component\KeyManagement\JWKFactory; use Jose\Component\Core\AlgorithmManager; use Jose\Component\Signature\JWSBuilder; use Jose\Component\Signature\Algorithm\ES256; use Jose\Component...
php
MIT
3aeac1195a9b506f57f2879dd43b6701138c654a
2026-01-05T03:00:41.902775Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_oauth_tokens.php
bin/backfill_oauth_tokens.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); include("include/init.php"); # https://secure.flickr.com/services/api/flickr.auth.oauth.getAccessToken.html # https://secure.flickr.com/groups/api/discuss/72157630417775168/ echo "please w...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/dbtickets_flickr_test.php
bin/dbtickets_flickr_test.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("dbtickets_flickr"); $rsp = dbtickets_flickr_create(); dumper($rsp); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/get_contacts.php
bin/get_contacts.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); # include("include/init.php"); loadlib("flickr_users"); loadlib("flickr_backups"); loadlib("flickr_api"); loadlib("random"); foreach (flickr_backups_users() as $user){ $rsp = flickr_backups_get_contac...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_s3_paths.php
bin/backfill_s3_paths.php
<?php # update old-skool S3 bucket paths to new storagemaster_s3 paths/URLS echo "please write me\n"; exit(); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/publish-api-docs.php
bin/publish-api-docs.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); include("include/init.php"); loadlib("cli"); loadlib("api_config"); loadlib("api_spec"); $spec = array( "output" => array("flag" => "o", "required" => 0, "help" => "..., default is STDOUT"), "all" => arr...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/dbtickets_flickr_token_dance.php
bin/dbtickets_flickr_token_dance.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("flickr_api"); $method = "flickr.auth.getFrob"; $args = array(); $more = array( 'sign' => 1, ); $rsp = flickr_api_call($method, $args, $mor...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backup_photos.php
bin/backup_photos.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("flickr_backups"); if (! features_is_enabled("backups")){ echo "backups are currently disabled\n"; exit(); } foreach (flickr_backups_users()...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/generate_secret.php
bin/generate_secret.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("random"); $length = 32; echo random_string($length) . "\n"; exit(); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_flickr_push_backups.php
bin/backfill_flickr_push_backups.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("cli"); loadlib("flickr_backups"); loadlib("flickr_push"); loadlib("flickr_push_subscriptions"); $features = array( "backups", "flickr_push...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_solr_index_photos.php
bin/backfill_solr_index_photos.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("backfill"); loadlib("flickr_photos"); loadlib("flickr_photos_search"); if (! $GLOBALS['cfg']['enable_feature_solr']){ echo "search indexing is...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/upload_by_email.php
bin/upload_by_email.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); include("include/init.php"); loadlib("photos_upload"); loadlib("flickr_users"); loadlib("flickr_backups"); # https://code.google.com/p/php-mime-mail-parser/ loadpear("MimeMailParser"); if (! $GLOBALS['cfg...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backup_register_all.php
bin/backup_register_all.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("flickr_backups"); $map = flickr_backups_type_map("string keys"); foreach (flickr_backups_users() as $user){ $backups = flickr_backups_for_user...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/compare_configs.php
bin/compare_configs.php
<?php /* This file finds all variables in config.php.sample that aren't in config.php. Anything more complex appears to need human interaction. 'diff' is good but it's hard to see the trees for the forest at times. */ $dir = dirname(__FILE__); unset($GLOBALS['cfg']); $sample_file = inclu...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/compile-templates.php
bin/compile-templates.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); include("include/init.php"); # http://www.smarty.net/docs/en/api.compile.all.templates.tpl (version 3) # $GLOBALS['smarty']->compileAllTemplates('.txt', true); $pattern = "{$GLOBALS['cfg'...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/update_faves.php
bin/update_faves.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("flickr_faves_import"); $nsid = '35034348999@N01'; $rsp = flickr_faves_import_faves($nsid, 3); exit(); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backup_geobookmarks.php
bin/backup_geobookmarks.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); # include("include/init.php"); loadlib("flickr_backups"); if (! $GLOBALS['cfg']['enable_feature_backups']){ echo "backups are currently disabled\n"; exit(); } foreach (flickr_backups_users() as $user){...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/purge-photo.php
bin/purge-photo.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); include("include/init.php"); loadlib("flickr_photos"); loadlib("cli"); $photo_id = 0; echo "THIS TOOL WILL PURGE A PHOTO FROM PARALLEL-FLICKR\n"; echo "PAUSING FOR A MOMENT SO YOU CAN ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_set_hasexif.php
bin/backfill_set_hasexif.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("backfill"); loadlib("flickr_photos"); loadlib("flickr_photos_exif"); function check_photo($row, $more=array()){ $photo = flickr_photos_get_by...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_more_user_info_in_flickrusers.php
bin/backfill_more_user_info_in_flickrusers.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); include("include/init.php"); loadlib("backfill"); loadlib("flickr_api"); loadlib("flickr_users"); loadlib("flickr_users_path_aliases"); function _get_nsid($flickr_user, $more=array()){ ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_path_aliases.php
bin/backfill_path_aliases.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("backfill"); loadlib("flickr_users_path_aliases"); function set_path_alias($flickr_user, $more=array()){ if ($flickr_user['path_alias'] == ''){...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backup_faves.php
bin/backup_faves.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # include("include/init.php"); loadlib("flickr_backups"); if (! features_is_enabled("backups")){ echo "backups are currently disabled\n"; exit(); } foreach (flickr_backups_users() ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backfill_ensure_photos.php
bin/backfill_ensure_photos.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); # echo "this is not the droid you are looking for"; exit(); include("include/init.php"); loadlib("backfill"); loadlib("flickr_photos"); loadlib("flickr_photos_import"); function che...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/bin/backup_contacts.php
bin/backup_contacts.php
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); # include("include/init.php"); loadlib("flickr_backups"); if (! $GLOBALS['cfg']['enable_feature_backups']){ echo "backups are currently disabled\n"; exit(); } foreach (flickr_backups_users() as $user){...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/installer/account_installation_check.php
installer/account_installation_check.php
<?php include("include/init.php"); # In theory, this should just be checked right after installation but before users start signing up # as it is purely an administration issue. login_ensure_loggedin(); # Per the README, if you are using Flickr PuSH backups (for photo uploads and faves), # your static direct...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_contacts_user.php
www/flickr_contacts_user.php
<?php include("include/init.php"); loadlib("flickr_users"); loadlib("flickr_photos"); loadlib("flickr_faves"); loadlib("flickr_urls"); loadlib("flickr_dates"); # $flickr_user = flickr_users_get_by_url(); $owner = users_get_by_id($flickr_user['user_id']); # $more = array( 'page' => get_int32("page"), ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_oauth2_authenticate.php
www/api_oauth2_authenticate.php
<?php # sad face... # http://www.rfc-editor.org/rfc/rfc6749.txt include("include/init.php"); features_ensure_enabled("api"); features_ensure_enabled("api_delegated_auth"); login_ensure_loggedin(); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); loadlib("api_keys"); loadlib("api_keys_utils...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_user_archives.php
www/flickr_photos_user_archives.php
<?php include("include/init.php"); loadlib("flickr_photos_archives"); if ($path = get_str("path")){ $flickr_user = flickr_users_get_by_path_alias($path); } else if ($nsid = get_str("nsid")){ $flickr_user = flickr_users_get_by_nsid($nsid); } if (! $flickr_user){ error_404(); } $owner = users_get_by_...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_keys.php
www/api_keys.php
<?php include("include/init.php"); loadlib("api_keys"); features_ensure_enabled("api"); login_ensure_loggedin(); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); $more = array(); if ($page = get_int32("page")){ $more['page'] = $page; } $rsp = api_keys_for_user($GLOBALS['cfg']['user'], $...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_key.php
www/api_key.php
<?php include("include/init.php"); features_ensure_enabled("api"); login_ensure_loggedin(); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); loadlib("api_keys"); loadlib("api_keys_utils"); loadlib("api_oauth2_access_tokens"); $key_more = array( 'allow_disabled' => 1, ); $key_row = api_...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_keys_register.php
www/api_keys_register.php
<?php include("include/init.php"); loadlib("api_keys"); loadlib("api_keys_utils"); features_ensure_enabled("api"); features_ensure_enabled("api_register_keys"); login_ensure_loggedin(); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); $crumb_key = 'api_key'; $GLOBALS['smarty']->assign("cr...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_method.php
www/api_method.php
<?php include("include/init.php"); loadlib("api"); loadlib("api_spec"); features_ensure_enabled(array("api", "api_documentation")); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); $method = get_str("method"); if (! $method){ error_404(); } if (! isset($GLOBALS['cfg']['api']['methods'][...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_oauth2_token.php
www/api_oauth2_token.php
<?php include("include/init.php"); features_ensure_enabled("api"); login_ensure_loggedin(); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); loadlib("api_keys"); loadlib("api_keys_utils"); loadlib("api_oauth2_access_tokens"); # First get the API key $more = array( 'ensure_isown' => 0 ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/signout.php
www/signout.php
<? # # $Id$ # include("include/init.php"); login_ensure_loggedin(); # # crumb key # $crumb_key = 'logout'; $smarty->assign("crumb_key", $crumb_key); # # sign out? # if (post_isset('done') && crumb_check($crumb_key)){ login_do_logout(); $smarty->display('page_signout_done.txt'); exit; } ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_user_place.php
www/flickr_photos_user_place.php
<?php include("include/init.php"); loadlib("flickr_places"); loadlib("flickr_photos_places"); loadlib("flickr_photos_geo"); if ((! $GLOBALS['cfg']['enable_feature_solr']) || (! $GLOBALS['cfg']['enable_feature_places'])){ error_disabled(); } $flickr_user = flickr_users_get_by_url(); $owner = users_get_by_i...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_friends_activity.php
www/flickr_photos_friends_activity.php
<?php include("include/init.php"); loadlib("flickr_users"); loadlib("flickr_push"); loadlib("flickr_push_subscriptions"); loadlib("flickr_push_photos"); login_ensure_loggedin("/photos/friends/activity/"); if (! $GLOBALS['cfg']['enable_feature_flickr_push']){ error_disabled(); } if (! $GLOBALS['cfg']['fl...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_upload_oauth_echo.php
www/flickr_photos_upload_oauth_echo.php
<?php require('include/init.php'); loadlib('http'); loadlib("flickr_users"); loadlib("flickr_backups"); loadlib('flickr_photos_upload'); if (! $GLOBALS['cfg']['enable_feature_oauth_upload']) { error_disabled(); } if (! $GLOBALS['cfg']['enable_feature_uploads']){ error_disabled(); } $auth_url = $_SERVE...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_friends.php
www/flickr_photos_friends.php
<?php include("include/init.php"); loadlib("flickr_users"); loadlib("flickr_push"); loadlib("flickr_push_subscriptions"); loadlib("flickr_push_photos"); login_ensure_loggedin("/photos/friends/"); if (! $GLOBALS['cfg']['enable_feature_flickr_push']){ error_disabled(); } if (! $GLOBALS['cfg']['flickr_push...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/403.php
www/403.php
<? include('include/init.php'); error_403(); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/500.php
www/500.php
<? include('include/init.php'); error_500(); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/account_path_aliases.php
www/account_path_aliases.php
<?php include("include/init.php"); loadlib("flickr_users_path_aliases"); if (! $GLOBALS['cfg']['enable_feature_path_alias_redirects']){ error_disabled(); } login_ensure_loggedin("/account/url/"); $crumb_key = 'pathalias'; $smarty->assign("crumb_key", $crumb_key); $crumb_ok = crumb_check($crumb_key); if...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_key_tokens.php
www/api_key_tokens.php
<?php include("include/init.php"); loadlib("api_keys"); loadlib("api_oauth2_access_tokens"); features_ensure_enabled("api"); login_ensure_loggedin(); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); $api_key = get_str("api_key"); if (! $api_key){ error_404(); } $key_row = api_keys_get_...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_oauth2_access_token.php
www/api_oauth2_access_token.php
<?php # sad face... # http://www.rfc-editor.org/rfc/rfc6749.txt include("include/init.php"); features_ensure_enabled("api"); features_ensure_enabled("api_delegated_auth"); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); loadlib("api_keys"); loadlib("api_keys_utils"); loadlib("api_oauth2_g...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_user_archives_year.php
www/flickr_photos_user_archives_year.php
<?php include("include/init.php"); loadlib("flickr_photos_archives"); loadlib("flickr_photos_utils"); loadlib("dates_utils"); $year = get_int32("year"); if (! $year){ error_404(); } if ($path = get_str("path")){ $flickr_user = flickr_users_get_by_path_alias($path); } else if ($nsid = get_str("nsid"...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_oauth2_tokens.php
www/api_oauth2_tokens.php
<?php include("include/init.php"); loadlib("api_keys"); loadlib("api_oauth2_access_tokens"); features_ensure_enabled("api"); login_ensure_loggedin(); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); $more = array(); if ($page = get_int32("page")){ $more['page'] = $page; } $rsp = api_o...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/checkcookie.php
www/checkcookie.php
<? # # $Id$ # include("include/init.php"); # # do we have a valid cookie set? # if (!login_check_login()){ $GLOBALS['error']['badcookies'] = 1; $smarty->display("page_checkcookie.txt"); exit; } # # where shall we bounce to? # $redir = "/"; if ($alt_redir = get_str("redir")){ $redir = $alt...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_oauth2_authenticate_like_magic.php
www/api_oauth2_authenticate_like_magic.php
<?php # This is a little piece of syntactic sugar for logged-in users. # It is predicated on using OAuth2 which itself is mostly just a # lot of syntactic sugar around the same old api key + auth token # dance which is itself wrapped up in a big ol' blanket of HTTPS. # # So all this page does is mint a brand new...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/account_flickr_auth.php
www/account_flickr_auth.php
<?php include("include/init.php"); loadlib("flickr_api"); loadlib("flickr_users"); login_ensure_loggedin($_SERVER['REQUEST_URI']); features_ensure_enabled("flickr_api_change_perms"); $flickr_user = flickr_users_get_by_user_id($GLOBALS['cfg']['user']['id']); $crumb_key = 'flickr_auth_token'; $GLOBALS['smart...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/account_delete.php
www/account_delete.php
<? # # $Id$ # include("include/init.php"); login_ensure_loggedin(); # # generate a crumb # $crumb_key = 'account_delete'; $smarty->assign('crumb_key', $crumb_key); # # delete account? # if (post_str('delete') && crumb_check($crumb_key)){ if (post_str('confirm')){ $rsp = users_delete_user($G...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_user_archives_day.php
www/flickr_photos_user_archives_day.php
<?php include("include/init.php"); loadlib("flickr_photos_archives"); loadlib("flickr_photos_utils"); $year = get_int32("year"); $month = get_str("month"); $day = get_str("day"); if ((! $year) || (! $month) || (! $day)){ error_404(); } if ($path = get_str("path")){ $flickr_user = flickr_users_get_by_p...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/index.php
www/index.php
<? # # $Id$ # include('include/init.php'); # # this is so we can test the logging output # if ($_GET['log_test']){ log_error("This is an error!"); log_fatal("Fatal error!"); } # # this is so we can test the HTTP library # if ($_GET['http_test']){ $ret = http_get("http://google.com"); } # # ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_user_places.php
www/flickr_photos_user_places.php
<?php include("include/init.php"); loadlib("flickr_places"); loadlib("flickr_photos_places"); loadlib("flickr_photos_geo"); if ((! $GLOBALS['cfg']['enable_feature_solr']) || (! $GLOBALS['cfg']['enable_feature_places'])){ error_disabled(); } $flickr_user = flickr_users_get_by_url(); $owner = users_get_by_i...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photos_user_camera.php
www/flickr_photos_user_camera.php
<?php include("include/init.php"); loadlib("flickr_places"); loadlib("flickr_photos_cameras"); if ((! $GLOBALS['cfg']['enable_feature_solr']) || (! $GLOBALS['cfg']['enable_feature_cameras'])){ error_disabled(); } $flickr_user = flickr_users_get_by_url(); $owner = users_get_by_id($flickr_user['user_id']); ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_faves_user.php
www/flickr_faves_user.php
<?php include("include/init.php"); loadlib("flickr_users"); loadlib("flickr_photos"); loadlib("flickr_backups"); loadlib("flickr_faves"); loadlib("flickr_urls"); loadlib("flickr_dates"); # $viewer = $GLOBALS['cfg']['user']; $flickr_user = flickr_users_get_by_url(); $owner = users_get_by_id($flickr_user...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/404.php
www/404.php
<? include('include/init.php'); error_404(); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/account_uploadbyemail.php
www/account_uploadbyemail.php
<?php include("include/init.php"); loadlib("flickr_users"); loadlib("flickr_backups"); login_ensure_loggedin("photos/upload"); if (! $GLOBALS['cfg']['enable_feature_uploads']){ error_disabled(); } if (! $GLOBALS['cfg']['enable_feature_uploads_by_email']){ error_disabled(); } $is_registered = flickr_ba...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_methods.php
www/api_methods.php
<?php include("include/init.php"); loadlib("api"); features_ensure_enabled(array("api", "api_documentation")); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); $method_classes = array(); foreach ($GLOBALS['cfg']['api']['methods'] as $method_name => $details){ # TO DO: god auth check... i...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/flickr_photo_exif.php
www/flickr_photo_exif.php
<?php include("include/init.php"); loadlib("flickr_photos"); loadlib("flickr_photos_exif"); # ensure logged in; parse out photo url $photo_id = get_int64("id"); $path = get_str("path"); $url = "/photos/$path/$photo_id/"; login_ensure_loggedin($url); # $photo = flickr_photos_get_by_id($photo_id); if ...
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false
straup/parallel-flickr
https://github.com/straup/parallel-flickr/blob/0f0899780f19f8b98971c5991a1de4c36390af97/www/api_oauth2.php
www/api_oauth2.php
<?php include("include/init.php"); flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']); $GLOBALS['smarty']->display("page_api_oauth2.txt"); exit(); ?>
php
BSD-2-Clause
0f0899780f19f8b98971c5991a1de4c36390af97
2026-01-05T03:00:59.737880Z
false