Skip to content

Commit

Permalink
new auth.start_impersonating, is_impersonating, stop_impersonating
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed Oct 30, 2023
1 parent 4066036 commit af3dd0e
Show file tree
Hide file tree
Showing 48 changed files with 254 additions and 206 deletions.
2 changes: 1 addition & 1 deletion apps/_documentation/static/en/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 154aa256a0dfceb4c55d272ea1758345
config: 90b4a7e22a0fb2b9450da2f43bdcd9b4
tags: 645f666f9bcd5a90fca523b33c5a78b7
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '1.20230718.1',
VERSION: '1.20231029.1',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-01.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>What is py4web? &mdash; py4web 1.20230718.1 documentation</title>
<title>What is py4web? &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -256,7 +256,7 @@ <h2>Acknowledgments<a class="headerlink" href="#acknowledgments" title="Link to
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-02.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Help, resources and hints &mdash; py4web 1.20230718.1 documentation</title>
<title>Help, resources and hints &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -261,7 +261,7 @@ <h2>How to contribute<a class="headerlink" href="#how-to-contribute" title="Link
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
19 changes: 12 additions & 7 deletions apps/_documentation/static/en/chapter-03.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Installation and Startup &mdash; py4web 1.20230718.1 documentation</title>
<title>Installation and Startup &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/tabs.js?v=3030b3cb"></script>
Expand All @@ -41,7 +41,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -147,12 +147,12 @@ <h2>Understanding the design<a class="headerlink" href="#understanding-the-desig
</section>
<section id="supported-platforms-and-prerequisites">
<h2>Supported platforms and prerequisites<a class="headerlink" href="#supported-platforms-and-prerequisites" title="Link to this heading"></a></h2>
<p>PY4WEB runs fine on Windows, MacOS and Linux. Its only prerequisite is
<p>py4web runs fine on Windows, MacOS and Linux. Its only prerequisite is
Python 3.7+, which must be installed in advance (except if you use binaries).</p>
</section>
<section id="setup-procedures">
<h2>Setup procedures<a class="headerlink" href="#setup-procedures" title="Link to this heading"></a></h2>
<p>There are four alternative ways of running py4web, with different level
<p>There are four alternative ways of installing py4web, with different level
of difficulty and flexibility. Let’s look at the pros and cons.</p>
<section id="installing-from-binaries">
<h3>Installing from binaries<a class="headerlink" href="#installing-from-binaries" title="Link to this heading"></a></h3>
Expand Down Expand Up @@ -197,7 +197,12 @@ <h3>Installing from pip<a class="headerlink" href="#installing-from-pip" title="
<p>If the command py4web is not accepted, it means it’s not in the system’s
path. On Windows, a special py4web.exe file (pointing to py4web.py) will
be created by <em>pip</em> on the system’s path, but not if you type the
<em>–user</em> option by mistake.</p>
<em>–user</em> option by mistake, then you can run the needed commands like this</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>python3 py4web.py setup apps
python3 py4web.py set_password
python3 py4web.py run apps
</pre></div>
</div>
</section>
<section id="installing-using-a-virtual-environment">
<h3>Installing using a virtual environment<a class="headerlink" href="#installing-using-a-virtual-environment" title="Link to this heading"></a></h3>
Expand Down Expand Up @@ -695,7 +700,7 @@ <h3>Deployment on Ubuntu<a class="headerlink" href="#deployment-on-ubuntu" title
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-04.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Dashboard &mdash; py4web 1.20230718.1 documentation</title>
<title>The Dashboard &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -198,7 +198,7 @@ <h2>Login into the Dashboard<a class="headerlink" href="#login-into-the-dashboar
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-05.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Creating your first app &mdash; py4web 1.20230718.1 documentation</title>
<title>Creating your first app &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -525,7 +525,7 @@ <h2>Watch for files change<a class="headerlink" href="#watch-for-files-change" t
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-06.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fixtures &mdash; py4web 1.20230718.1 documentation</title>
<title>Fixtures &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -987,7 +987,7 @@ <h2>Convenience Decorators<a class="headerlink" href="#convenience-decorators" t
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-07.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Database Abstraction Layer (DAL) &mdash; py4web 1.20230718.1 documentation</title>
<title>The Database Abstraction Layer (DAL) &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -4532,7 +4532,7 @@ <h3>Google NoSQL (Datastore)<a class="headerlink" href="#google-nosql-datastore"
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-08.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The RestAPI &mdash; py4web 1.20230718.1 documentation</title>
<title>The RestAPI &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -1169,7 +1169,7 @@ <h2>The RestAPI response<a class="headerlink" href="#the-restapi-response" title
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-09.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>YATL Template Language &mdash; py4web 1.20230718.1 documentation</title>
<title>YATL Template Language &mdash; py4web 1.20231029.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/tabs.css" type="text/css" />
Expand All @@ -16,7 +16,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=4c9c9fab"></script>
<script src="_static/documentation_options.js?v=0a82b357"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -40,7 +40,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20230718.1
1.20231029.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -760,7 +760,7 @@ <h3>Mobile development<a class="headerlink" href="#mobile-development" title="Li
<label for="switch"></label>
</span>

v: 1.20230718.1
v: 1.20231029.1
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
Loading

0 comments on commit af3dd0e

Please sign in to comment.