Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Merged

1.4.x #422

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
01585c2
Init SMTP template docs
gewenyu99 Mar 28, 2023
d61ac64
Use relative links
May 5, 2023
0c444f7
Add placeholders for docs
May 8, 2023
703d2c3
Update email template docs with Damodar's comments
May 18, 2023
5b880ec
Add SMS into the templates page
May 24, 2023
455b4bf
Fix table heading for variables
May 25, 2023
a0ebf26
prepare index for Function G4
Jun 1, 2023
3ee6a1f
Fix reference index, change guide index
Jun 1, 2023
d491591
Change debugging and logging to just debugging
Jun 1, 2023
2319af0
Added more to template docs
Jun 5, 2023
4a01a38
Update app/views/docs/email-and-sms-templates.phtml
Jun 6, 2023
601dd29
Update app/views/docs/email-and-sms-templates.phtml
Jun 6, 2023
4537a2b
Init overview page
Jul 17, 2023
52bdc62
Reorder index, add shell for quickstart example
Jul 18, 2023
6b2da17
Added scaffolding
Jul 18, 2023
9ea4f2c
Add migrations:
Jul 20, 2023
6fbc33a
Add node js example
Jul 21, 2023
3610aad
More shell for the functions
Jul 24, 2023
3858af8
Add some request and response examples
Jul 25, 2023
71439b8
Adds recipes page
Jul 26, 2023
16267be
Fill in intro of recipes
Jul 26, 2023
9819ffb
Filled in more information from development to runtimes and deployment
Jul 26, 2023
db582b5
Add manual install command
Jul 27, 2023
4a56433
Add git instructions
Jul 30, 2023
1092b84
Start work on Firebase docs
PineappleIOnic Jul 31, 2023
db2286b
feat: translate json response snippets
loks0n Jul 31, 2023
7e10cc9
Did some formatting
Jul 31, 2023
b5ec443
feat: js currency convert recipe
loks0n Aug 1, 2023
dbe2e9f
Fix Damodar's comments
Aug 1, 2023
5741154
added todo comments for develop page
Aug 1, 2023
29fc3c1
Fix up deployment docs
Aug 1, 2023
31c7c44
Add comments and todo tags for all pages in Functions
Aug 1, 2023
a76e1ea
Added instructions for setup to include adding platforms
Aug 2, 2023
d9c2d5d
Add clarification that you need to run deploy command next to appwrit…
Aug 2, 2023
b4fb738
Add docs for cloud to local and visa-versa
PineappleIOnic Aug 2, 2023
573755c
Fix cloud -> local
Aug 3, 2023
b844531
Complete appwrite->appwrite guides
Aug 4, 2023
2296a8b
feat: port functions recipes
loks0n Aug 7, 2023
a6e319c
Merge branch 'functions-g4' of https://github.com/appwrite/docs into …
loks0n Aug 7, 2023
6617811
feat: more snippet translations 😊
loks0n Aug 7, 2023
1e34f71
feat: destructuring examples
loks0n Aug 7, 2023
30e2d29
feat: env vars
loks0n Aug 7, 2023
df07548
feat: discussion
loks0n Aug 8, 2023
4502515
Delete a file accidentally committed.
Aug 8, 2023
ac6deba
Add responses
Aug 9, 2023
b4c0b27
feat: function execution examples
loks0n Aug 10, 2023
ed8c6a2
Merge branch 'functions-g4' of https://github.com/appwrite/docs into …
loks0n Aug 10, 2023
aaf8168
feat: formatting improvements
loks0n Aug 10, 2023
75600e0
feat: req object
loks0n Aug 10, 2023
01d5a4c
feat: dependency table
loks0n Aug 10, 2023
f6d14bf
feat: port response helpers
loks0n Aug 10, 2023
f04a7d9
Update how we label experimental features
Aug 10, 2023
0f2d54a
Update app/views/docs/functions-develop.phtml
Aug 10, 2023
0ea520d
Update app/views/docs/functions-develop.phtml
Aug 10, 2023
3826826
Update app/views/docs/functions-develop.phtml
Aug 10, 2023
54615e4
addresses Steven's comments
Aug 10, 2023
459a5e2
Add some new pages for different auth methods.
Aug 11, 2023
e78f4be
feat: logging
loks0n Aug 11, 2023
c1f4e3b
Merge branch 'functions-g4' of https://github.com/appwrite/docs into …
loks0n Aug 11, 2023
e6bbd1d
feat: functions with Appwrite API auth
loks0n Aug 11, 2023
9a76ab5
feat: appwrite with jw
loks0n Aug 11, 2023
afd026e
feat: standardise func exec examples
loks0n Aug 11, 2023
fce9b60
Add auth method pages.
Aug 11, 2023
286867e
Add homepage list of auth methods
Aug 14, 2023
3dc7180
feat: multiple files, client sdk executions
loks0n Aug 14, 2023
02574b2
feat: voting system recipe
loks0n Aug 14, 2023
c4e6f15
Add tags for engineers to add examples
Aug 14, 2023
a11daf8
Add information about environment variables that now became headers
Aug 14, 2023
d3645b2
Move upgrade checklist to develop
Aug 14, 2023
1ffc8e2
Add cloud/self-hosted tags as labels in runtimes
Aug 14, 2023
ca02087
Some minor improvements
Aug 14, 2023
dbabc60
Moved a p tag
Aug 14, 2023
46ffc50
Add NHost and Supabase Docs
PineappleIOnic Aug 15, 2023
54097a4
fix: remove vscode settings
loks0n Aug 15, 2023
7d7c029
update index to have all pages
Aug 15, 2023
fc5ba40
Fix ordered list tags and headings
Aug 15, 2023
4b51858
Fix migrations index
Aug 15, 2023
3b7d63e
Fix language in migration guides for firebase, supabase, and nhost
Aug 15, 2023
1819b32
Fixed code tags in local to cloud page
Aug 15, 2023
7d3c347
Merge Bradley's PR into mine!
Aug 15, 2023
30bc686
Fix titles in index
Aug 15, 2023
1b974fe
Fix missing ul tag in index
Aug 15, 2023
b04e153
sell functions better in overview
Aug 15, 2023
94b8c5a
Merge branch 'functions-g4' of https://github.com/appwrite/docs into …
Aug 15, 2023
f088a1e
Add headers + env vars
Aug 17, 2023
ff3c2b4
Fix web example format, add quickstart to auth
Aug 17, 2023
21431cc
Fix auth index, add users api docs
Aug 17, 2023
672a6df
Fix auth index display names
Aug 17, 2023
8050091
Maybe it should be user management vs just management
Aug 17, 2023
e2f493e
grammar check by GPT
Aug 17, 2023
f1a41d2
Add info about personal information in auth docs
Aug 17, 2023
61be417
Add more information about password security in Appwrite
Aug 17, 2023
2cd56dd
Improve overview page for functions and rename recipes to examples
Aug 17, 2023
e7b9b1c
Fix style in index and add alt text to functions
Aug 17, 2023
12ebf38
Remove Health API temporarily from nav
Aug 18, 2023
e58af23
Improve Examples
PineappleIOnic Aug 18, 2023
780b5e4
Talk about JWT and trigger headers
Aug 18, 2023
9921120
user management docs
Aug 18, 2023
36a5b6b
OAuth docs additions with steven's comments
Aug 18, 2023
e52ae93
Merge branch 'feat-auth-improvements' of https://github.com/appwrite/…
Aug 18, 2023
a5b28d6
ChatGPT grammar check
Aug 18, 2023
b2902ed
Improve formatting and arrange items more logically
Aug 21, 2023
47dd971
Where applicable, prefer promises because it's copyable.
Aug 21, 2023
2e19cf4
Merge pull request #411 from appwrite/experimental-label
eldadfux Aug 22, 2023
fd8e391
Don't use images and emojis for Appwrite migration docs
Aug 22, 2023
e6f2aac
Reformat support table to be in overview
Aug 22, 2023
7de3dd7
Instead of not support, call it manual
Aug 22, 2023
1d465e5
Change partial to yellow
Aug 22, 2023
7d01bd4
Personal Information -> Data
Aug 23, 2023
cda41f5
address OAuth2 issues like redirect
Aug 23, 2023
a4eac31
improve getting started guide because we should
Aug 23, 2023
e4e8b0a
fix view import
Aug 23, 2023
75e79cb
fix view import + improve env var examples
Aug 23, 2023
0f51947
Add Domain name steps in deploy
Aug 23, 2023
ab0cab2
Fix some wrong links
Aug 23, 2023
99c3600
Add locale examples
Aug 23, 2023
82fe484
chat GPT helps me spell!
Aug 23, 2023
456617e
Merge branch 'main' into smtp-templates
Aug 23, 2023
4d54192
deno cache command fixed
Aug 23, 2023
86d262a
feat: better functions error handling
loks0n Aug 23, 2023
4548a4d
fix: await document create
loks0n Aug 23, 2023
2b868da
Add alot more details around service account key creation
PineappleIOnic Aug 24, 2023
3596659
Merge branch 'feat-migration' into feat-migration-bradley
PineappleIOnic Aug 24, 2023
f7fe08e
Update app/views/docs/migrations-firebase.phtml
Aug 24, 2023
255224e
Update app/views/docs/migrations-firebase.phtml
Aug 24, 2023
d33d223
Update app/views/docs/migrations-firebase.phtml
Aug 24, 2023
6f67e62
Update app/views/docs/migrations-firebase.phtml
Aug 24, 2023
124826a
fix some style and grammar
Aug 24, 2023
d782600
Merge pull request #420 from appwrite/feat-migration-bradley
Aug 24, 2023
3f57c8d
Update app/views/docs/functions-deploy.phtml
Aug 24, 2023
eaa9683
Update app/views/docs/migrations-supabase.phtml
Aug 24, 2023
c0e4011
Add entry file and html tags got deno
Aug 24, 2023
e1681af
Merge branch 'functions-g4' of https://github.com/appwrite/docs into …
Aug 24, 2023
c6e548c
add debug and redeploy
Aug 24, 2023
8337b4e
Fix modal text
Aug 24, 2023
28cd6fe
feat: simplify function examples
loks0n Aug 24, 2023
a1c0aac
Merge branch 'functions-g4' of https://github.com/appwrite/docs into …
loks0n Aug 24, 2023
9673f04
feat: html form function example
loks0n Aug 24, 2023
f6dff91
Update app/views/docs/migrations-cloud-to-local.phtml
Aug 25, 2023
5430008
Update app/views/docs/migrations-cloud-to-local.phtml
Aug 25, 2023
635ee8d
Update app/views/docs/migrations-cloud-to-local.phtml
Aug 25, 2023
47dd217
Update app/views/docs/migrations-cloud-to-local.phtml
Aug 25, 2023
3cdd52d
Update app/views/docs/migrations-cloud-to-local.phtml
Aug 25, 2023
98f2b36
Update app/views/docs/migrations-cloud-to-local.phtml
Aug 25, 2023
0960769
Update app/views/docs/migrations-local-to-cloud.phtml
Aug 25, 2023
b8d7caf
Update app/views/docs/migrations-local-to-cloud.phtml
Aug 25, 2023
d21952e
Update app/views/docs/migrations-local-to-cloud.phtml
Aug 25, 2023
d186876
Update app/views/docs/migrations-local-to-cloud.phtml
Aug 25, 2023
3b6ca9a
Update app/views/docs/migrations-local-to-cloud.phtml
Aug 25, 2023
70d285e
Update app/views/docs/migrations-local-to-cloud.phtml
Aug 25, 2023
7051886
Update app/views/docs/migrations.phtml
Aug 25, 2023
645eb61
Update app/views/docs/migrations.phtml
Aug 25, 2023
6ddde09
Update app/views/docs/migrations-nhost.phtml
Aug 25, 2023
7e06a30
Update app/views/docs/migrations-supabase.phtml
Aug 25, 2023
bf58e0f
Update app/views/docs/migrations-firebase.phtml
Aug 25, 2023
2e5216e
Resolve conflicts with upstream
Aug 25, 2023
eb9d20a
Address matej's comments
Aug 25, 2023
d3fc20f
Merge pull request #399 from appwrite/feat-migration
Aug 25, 2023
b5dd068
Update app/views/docs/email-and-sms-templates.phtml
Aug 25, 2023
e6b6fee
Update app/views/docs/email-and-sms-templates.phtml
Aug 25, 2023
9249017
Apply suggestions from code review
Aug 25, 2023
5353edf
Console capitalized
Aug 25, 2023
7844c58
remove reference of phone/sms template
Aug 25, 2023
24ebe2f
Fix index
Aug 25, 2023
8872899
Runtimes merged on one line
Aug 26, 2023
4de62dc
Merge branch 'functions-g4' of https://github.com/appwrite/docs into …
Aug 26, 2023
29f897f
Merge branch '1.4.x' into functions-g4
Aug 26, 2023
77337c1
Fix response code examples
Aug 26, 2023
7228e69
Add link to Destructuring Assignment
Aug 26, 2023
7a24d8e
ChatGPT reviewed grammar and spelling:
Aug 26, 2023
e3683ed
PR review changes
Meldiron Aug 27, 2023
67f2c43
Fix console name spelling
Meldiron Aug 27, 2023
870726e
Update app/views/docs/functions.phtml
Aug 27, 2023
a84c565
Apply suggestions from code review
Aug 27, 2023
f70b767
Address matej's review comments
Aug 27, 2023
7a307fb
Fix runtimes by showing only cloud tags beside relevant items + retur…
Aug 27, 2023
e9fb637
Improve SDK function execute code examples
Meldiron Aug 27, 2023
e22eee1
Address Eldad's comments
Aug 27, 2023
8d9be11
use enabled instead of supported in migrations
Aug 27, 2023
3eaa246
Apply suggestions from code review
Aug 27, 2023
56213ec
Fix code example errors and other items pointed out during review
Aug 27, 2023
f06a4b6
Merge branch 'feat-auth-improvements' of https://github.com/appwrite/…
Aug 27, 2023
345c206
Merge pull request #412 from appwrite/feat-auth-improvements
Aug 27, 2023
dd7fe4a
Merge branch '1.4.x' into functions-g4
Aug 27, 2023
991c312
Merge pull request #398 from appwrite/functions-g4
Aug 27, 2023
4dd15d6
Merge branch '1.4.x' into smtp-templates
Meldiron Aug 28, 2023
36bda50
Improve destructuring snippets
Meldiron Aug 29, 2023
6e68633
Fix deno destructing
Meldiron Aug 29, 2023
034de4a
Add SMTP steps
Aug 29, 2023
bc3f286
Merge branch 'smtp-templates' of https://github.com/appwrite/docs int…
Aug 29, 2023
4deefa2
fix: response helper examples
loks0n Aug 29, 2023
c292ef6
Merge pull request #368 from appwrite/smtp-templates
Aug 29, 2023
4dc3e51
Review changes
Meldiron Aug 29, 2023
d6d63a6
fix: remove duplicate python example + add missing php
loks0n Aug 29, 2023
0229e0c
Merge branch 'fix-function-docs-qa' of https://github.com/appwrite/do…
loks0n Aug 29, 2023
5e5061c
chore: remove unneccessary 200 codes
loks0n Aug 29, 2023
5d6d411
fix: standardise appwrite sdk setup for python
loks0n Aug 29, 2023
1678f8e
fix: python code splitting
loks0n Aug 29, 2023
31598ef
Fix try/awaits
abnegate Aug 29, 2023
66ddf61
ctx -> context
abnegate Aug 29, 2023
9935d70
Fix mismatched tags
abnegate Aug 29, 2023
e55cbf2
Merge pull request #421 from appwrite/fix-function-docs-qa
abnegate Aug 29, 2023
81749e9
Add blub about self-hosted git integration
Aug 29, 2023
4764863
revert change from akamai to linode
Aug 29, 2023
b00f367
Fix width for configuration.phtml
Aug 29, 2023
87a27b0
WIP fix code samples
abnegate Aug 29, 2023
f563606
Fix path param
abnegate Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions app/views/docs/authentication-anonymous.phtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<p>
Anonymous sessions allow you to implement guest users.
Guest users let you store user information like items in their cart or theme preferences before they create an account.
This reduces the friction for your users to get started with your app.
</p>

<p>
If a user <b>later creates an account</b>, their information will be inherited by the newly created account.
</p>

<h2><a href="#createSession" id="createSession">Create Anonymous Session</a></h2>
<p>
Create an anonymous session with <a href="/docs/client/account#accountCreateAnonymousSession">Create Anonymous Session</a> route.
</p>


<ul class="phases clear" data-ui-phases>
<li>
<h3>Web</h3>
<div class="ide" data-lang="javascript" data-lang-label="Web SDK">
<pre class="line-numbers"><code class="prism language-javascript" data-prism>import { Client, Account } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('[PROJECT_ID]'); // Your project ID

const account = new Account(client);

const promise = account.createAnonymousSession();

promise.then(function (response) {
console.log(response); // Success
}, function (error) {
console.log(error); // Failure
});</code></pre>
</div>
</li>
<li>
<h3>Flutter</h3>
<div class="ide" data-lang="dart" data-lang-label="Flutter SDK">
<pre class="line-numbers"><code class="prism language-dart" data-prism>import 'package:appwrite/appwrite.dart';

final client = Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('[PROJECT_ID]'); // Your project ID

final account = Account(client);

final user = await account.createAnonymousSession();</code></pre>
</div>
</li>
<li>
<h3>Android</h3>
<div class="ide" data-lang="kotlin" data-lang-label="Android SDK">
<pre class="line-numbers"><code class="prism language-kotlin" data-prism>import io.appwrite.Client
import io.appwrite.services.Account

val client = Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("[PROJECT_ID]") // Your project ID

val account = Account(client)

val user = account.createAnonymousSession()</code></pre>
</div>
</li>
<li>
<h3>Apple</h3>
<div class="ide" data-lang="swift" data-lang-label="Apple SDK">
<pre class="line-numbers"><code class="prism language-swift" data-prism>import Appwrite

let client = Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("[PROJECT_ID]") // Your project ID

let account = Account(client)

let user = try await account.createAnonymousSession()</code></pre>
</div>
</li>
<li>
<h3>GraphQL</h3>
<div class="ide" data-lang="graphql" data-lang-label="GraphQL">
<pre class="line-numbers"><code class="prism language-graphql" data-prism>
mutation {
accountCreateAnonymousSession {
_id
userId
provider
expire
}
}</code></pre>
</div>
</li>
</ul>

<h2><a href="#attach-account" id="attach-account">Attaching an Account</a></h2>
<p>
Anonymous users cannot sign back in.
If the session expires, they move to another computer, or they clear their browser data, they won't be able to log in again.
Remember to prompt the user to create an account to not lose their data.
</p>

<p>
Create an account with any of these methods to transition from an anonymous session to a user account session.
</p>


<p>
<a href="/docs/authentication-email-pass"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny">Email and password</a>
</p>
<p>
<a href="/docs/authentication-sms"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny">Phone (SMS)</a>
</p>
<p>
<a href="/docs/authentication-magic"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny">Magic URL</a>
</p>
<p>
<a href="/docs/authentication-oauth"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny">OAuth2</a>
</p>
Loading