Auth Methods
-Enable the auth methods you wish to use.
-diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..3eb4d81ae8 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules/ +!dist \ No newline at end of file diff --git a/.github/workflows/npm-preview.yml b/.github/workflows/npm-preview.yml new file mode 100644 index 0000000000..7d3b81d6d2 --- /dev/null +++ b/.github/workflows/npm-preview.yml @@ -0,0 +1,25 @@ +name: 'npm Preview' + +on: + pull_request: + +jobs: + setup: + name: Setup & Build Pink + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: 20 + - name: Install pnpm + uses: pnpm/action-setup@v4 + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Build packages + run: pnpm run build + - name: Publish + run: pnpx pkg-pr-new publish --comment=update './v2/pink-sb' './v2/pink-icons' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 549823b995..8d13576659 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,24 +1,36 @@ name: Tests on: - push: - branches: [main] - pull_request: - branches: [main] + push: + branches: [main] + pull_request: + branches: ["**"] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Use Node.js - uses: actions/setup-node@v2 - with: - node-version: 16 - - name: Install dependencies - run: npm ci - - name: Run Linter - run: npm run lint - continue-on-error: true - - name: Build packages - run: npm run build + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: 20 + - name: Install pnpm + uses: pnpm/action-setup@v4 + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Build packages + run: pnpm run build + - name: Run Linter + run: pnpm run lint + - name: Run tests + run: | + pnpm dev & + pnpm run test + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: genauigkeit-report + path: | + v2/pink-sb/.genauigkeit/report/index.html + retention-days: 30 diff --git a/.gitignore b/.gitignore index c1a377ec62..63835ba5a3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ icons-dist/ *.local .turbo .vercel -.idea \ No newline at end of file +.idea +.zed \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000..53c8eb860c --- /dev/null +++ b/.npmrc @@ -0,0 +1,4 @@ +engine-strict=true +auto-install-peers=true +legacy-peer-deps=true +node-linker=hoisted diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000000..570c09e97f --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "useTabs": false, + "tabWidth": 4, + "singleQuote": true, + "trailingComma": "none", + "printWidth": 100 +} diff --git a/.stylelintrc.json b/.stylelintrc.json deleted file mode 100644 index 5550062384..0000000000 --- a/.stylelintrc.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": [ - "stylelint-config-standard-scss" - ], - "plugins": [ - "stylelint-scss" - ] -} \ No newline at end of file diff --git a/apps/kitchensink/.gitignore b/apps/kitchensink/.gitignore deleted file mode 100644 index c730ea991a..0000000000 --- a/apps/kitchensink/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -node_modules/ -.DS_Store -dist -icons-dist/ -*.local -.turbo -.vercel -.idea \ No newline at end of file diff --git a/apps/kitchensink/README.md b/apps/kitchensink/README.md deleted file mode 100644 index 3f89f48ce1..0000000000 --- a/apps/kitchensink/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @appwrite/kitchensink - -On port 3030 diff --git a/apps/kitchensink/auth.html b/apps/kitchensink/auth.html deleted file mode 100644 index 095b7ea4c8..0000000000 --- a/apps/kitchensink/auth.html +++ /dev/null @@ -1,547 +0,0 @@ - - -
- - -Updated project auth status successfully
-Enable the auth methods you wish to use.
-Enable the auth methods you wish to use.
-- Demo -
-Total results: 6
- - -Created: May 22, 2022 at 10:51 PM
-Last Updated: July 1, 2022 at 3:38 PM
-Update your bucket name.
-Assign read or write permissions at the Bucket Level or - File Level. If Bucket Level permissions are assigned, file permissions will - be ignored. -
-Enable or disable security services for the bucket including Encryption - and Antivirus scanning.
-Set the maximum file size allowed in the bucket.
-A maxiumum of 100 file extensions can be added. Leave blank to allow all file types.
-The bucket will be permanently deleted, including all the files within it. This - action is irreversible.
-Last Updated: July 1, 2022 at 3:38 PM
-Add a new bucket
Total results: 5
- - -Total results: 1
- - -Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-Building
-
-
- blahFunction = {
-
-
- firstName: "hello"
-
-
- }
-
-
-
- blahFunction = {
-
-
- firstName: "hello"
-
-
- }
-
- Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-
-
- blahFunction = {
-
-
- firstName: "hello"
-
-
- }
-
- Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-
-
- blahFunction = {
-
-
- firstName: "hello"
-
-
- }
-
- Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-
-
- blahFunction = {
-
-
- firstName: "hello"
-
-
- }
-
- Add a new bucket
Total results: 5
- - -Manage Your Server API Keys
-Name | -- last accessed - | -- expiration date - | -- clients - | -
---|---|---|---|
- My API Key - | -- - | -
-
-
-
- Expires soon
- |
-
-
|
-
Manage Your Server API Keys
-Name | -- last accessed - | -- expiration date - | -- clients - | -
---|---|---|---|
- My API Key - | -- - | -
-
-
-
- Expires soon
- |
-
-
|
-
Need a hand? Check out our documentation.
-Need a hand? Check out our documentation.
-Need a hand? Check out our documentation.
-Add Your First User To Get Started
-Apply filter rules to refine the table view
-Add a new bucket
Total results: 5
- - -Total results: 2
- -- Let’s get your project up and running -
-Our SDK’s make it possible to easily add any platform that you want to use.
-Our SDK’s make it possible to easily add any platform that you want to use.
-- Paragraph. Lorem ipsum dolor sit amet consectetur adipisicing elit. - Necessitatibus quia, aliquid id neque error dignissimos. -
- -- Bold. Lorem ipsum dolor sit, - amet consectetur adipisicing elit. -
- -- The next word is small word so is the next one: - something consectetur adipisicing elit. -
- -- Disabled text Lorem ipsum, dolor sit amet consectetur adipisicing - elit. Fugit a beatae, ea quia architecto quidem! -
-- Warning text. Lorem ipsum dolor sit, amet consectetur adipisicing - elit. Eligendi, quod. -
-- Error text. Lorem ipsum dolor sit, amet consectetur adipisicing - elit. Eligendi, quod. -
-- Success text. Lorem ipsum dolor sit, amet consectetur adipisicing - elit. Eligendi, quod. -
- -.code { font-family: arial; color: red; }
- This is a helper
-- This is - success -
-- This is a - warning -
-- This - is an error -
- -- Lorem ipsum dolor sit amet consectetur adipisicing elit. - Temporibus, molestiae! -
- - -- | - Filename - | -- Type - | -- Size - | -- Created - | -
---|---|---|---|---|
-
-
-
- |
- - airport.jpg - | -- image/jpeg - | -- 336.6 kB - | -- 11 Mar 2022 - | -
-
-
-
- |
- - Mobile illustration - dark.png - | -- image/jpeg - | -- 336.6 kB - | -- 11 Mar 2022 - | -
-
-
-
- |
- - airport.jpg - | -- image/jpeg - | -- 336.6 kB - | -- 11 Mar 2022 - | -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic - repellat molestias repellendus laudantium quam error, - accusantium aliquam? Iste veniam iure dicta consequuntur sunt - vero facilis eveniet alias cupiditate, unde voluptatem nulla - dolores quam, odit error aut similique, libero earum commodi? -
-- Epcot is a theme park at Walt="alt" Disney World Resort - featuring exciting attractions, international pavilions, - award-winning fireworks and seasonal special events. -
-- Epcot is a theme park at Walt="alt" Disney World Resort - featuring exciting attractions, international pavilions, - award-winning fireworks and seasonal special events. -
-172.18.0.1 / Unknown
- -172.18.0.1 / Unknown
- -- Collapsible -
-- Collapsible -
-- Have an idea for a function template? View our contribution guidelines. -
-Lorem ipsum dolor sit amet. This is a brief, two line description for this template.
- -Lorem ipsum dolor sit amet. This is a brief, two line description for this template.
- -Lorem ipsum dolor sit amet. This is a brief, two line description for this template.
- -Lorem ipsum dolor sit amet. This is a brief, two line description for this template.
- -Lorem ipsum dolor sit amet. This is a brief, two line description for this template.
- -Lorem ipsum dolor sit amet. This is a brief, two line description for this template.
- -Total results: 1
- - -Integrate with your favourite technologies
-Integrate with your favourite technologies
-Integrate with your favourite technologies
-version 0.15.1.401
- -- This limits new users from signing up for your project, - regardless of authentication method. You can still create - users from your Appwrite console. -
-Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-Add a new bucket
Total results: 5
- - -Contact Tessa with any questions you might have about Appwrite.
-Contact Tessa with any questions you might have about Appwrite.
-- Client - | -- Event - | -- Location - | -- IP - | -- Date - | -
---|---|---|---|---|
-
-
-
-
-
- Chrome 102.0 on GNU/Linux
- |
- - teams.6288909f2201b4a0dbb1.memberships.62a87df4b24aeb35b36a.create - | -- Italy - | -- 156.146.41.212 - | -- June 14, 2022, 2:24 PM - | -
-
-
-
-
-
- Chrome 102.0 on GNU/Linux
- |
- - teams.6288909f2201b4a0dbb1.memberships.62a87df4b24aeb35b36a.create - | -- Italy - | -- 156.146.41.212 - | -- June 14, 2022, 2:24 PM - | -
-
-
-
-
-
- Chrome 102.0 on GNU/Linux
- |
- - teams.6288909f2201b4a0dbb1.memberships.62a87df4b24aeb35b36a.create - | -- Italy - | -- 156.146.41.212 - | -- June 14, 2022, 2:24 PM - | -
-
-
-
-
-
- Chrome 102.0 on GNU/Linux
- |
- - teams.6288909f2201b4a0dbb1.memberships.62a87df4b24aeb35b36a.create - | -- Italy - | -- 156.146.41.212 - | -- June 14, 2022, 2:24 PM - | -
-
-
-
-
-
- Chrome 102.0 on GNU/Linux
- |
- - teams.6288909f2201b4a0dbb1.memberships.62a87df4b24aeb35b36a.create - | -- Italy - | -- 156.146.41.212 - | -- June 14, 2022, 2:24 PM - | -
Total results: 23
- -- - | -- Name - | -- E-Mail - | -- Status - | -- Joined - | -
---|---|---|---|---|
-
-
-
- |
- - test - | -- test@test.test - | -
- Unverified
- |
- - April 14, 2022 - | -
-
-
-
- |
-
- - Robin Hood - | -- robin@notthingam.co - | -
- Unverified
- |
- - April 13, 2022 - | -
-
-
-
- |
-
- - Mark - | - -- mark@mark.mark - | - -
- Unverified
-
- |
- - April 11, 2022 - | -
Add Your First User To Get Started
- -5s
-Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- Emails sent from an organization on the Starter plan will always display Appwrite branding in their signature. -
-Upgrade to a Pro plan to remove the Appwrite branding from your emails.
- -- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-Total results: 26
- - - -- This limits new users from signing up for your project, - regardless of authentication method. You can still create - users from your Appwrite console. -
-- If you reduce the limit, users who are currently logged in - will be logged out of the application. -
-- - | -- Name - | -- E-Mail - | -- Status - | -- Joined - | -
---|---|---|---|---|
-
-
-
- |
- - test - | -- test@test.test - | -
- Unverified
- |
- - April 14, 2022 - | -
-
-
-
- |
-
- - Robin Hood - | -- robin@notthingam.co - | -
- Unverified
- |
- - April 13, 2022 - | -
-
-
-
- |
-
- - Mark - | - -- mark@mark.mark - | - -
- Unverified
-
- |
- - April 11, 2022 - | -
Add Your First User To Get Started
- -Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-Lorem ipsum dolor sit amet. Some kinda short description here..
-Create and deploy a function with a connected git repository.
- -- Can’t see your repos? Manage GitHub application. -
- -Total results: 1
- - -Use a starter templates to begin with the basics.
-Choose from a selection of templates to find the right one for your use case.
- -You can also create a function manually. Learn more.
- -Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-Found a bug? Need a hand? Just want to say hi? Contact the Appwrite team with your queries.
-Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-Joined: June 11, 2022
-Free text in here
-Free text
-- Enter a new password. A password must contain - at least 8 characters. -
-- You can update your user preferences by storing information - on the user's objects so they can easily be shared across - devices and sessions. -
-- The user will be permanently deleted, including all data - associated with this user. This action is irreversible. -
-eldad@appwrite.io
-
- {#each parsedCode.split(/[\n\r]/).filter(Boolean) as line}
-
- {@html line}
- {/each}
-
-{name}
- No results found
- {/if} - {#each searchResults as result, idx} - {@const snippet = getMatchSnippet(result.content, search)} - - {capitalize(result.title)} - - {#if snippet} -- ...{snippet[0]} - {snippet[1]} - {snippet[2]}... -
- {/if} - - {/each} - {:else} - {#each pages as page, idx} - - {capitalize(page.title)} - - {/each} - {/if} -
\ No newline at end of file
diff --git a/apps/pink/src/components/defaults/Heading1.astro b/apps/pink/src/components/defaults/Heading1.astro
deleted file mode 100644
index c8837f4aaf..0000000000
--- a/apps/pink/src/components/defaults/Heading1.astro
+++ /dev/null
@@ -1,6 +0,0 @@
----
-const props = Astro.props;
----
-
-
Header
- -$ git commit
- - Name - | -
---|
-
-
- 1}>
- RR
-
-
- Ronald Richards
- ronald@appwrite.io
-
- |
-
-
-
-
- {#if $html.index > 2}
-
- {:else}
- JW
- {/if}
-
-
- Jenny Wilson
- jenny@appwrite.io
-
- |
-
{frontmatter?.class}
- - {frontmatter.description} -
- } -Provide contextual feedback messages for typical user actions.
-Provide contextual feedback messages for typical user actions.
-Provide contextual feedback messages for typical user actions.
-Provide contextual feedback messages for typical user actions.
-Provide contextual feedback messages for typical user actions.
-
-
- function = \{
-
-
- firstName: "hello"
-
-
- }
-
-
-
- function = \{
-
- firstName: "hello"
-
- \}
-
-- Collapsibles are used to display a vertical list of headers that reveal or hide content. They allow to progressively disclose information as desired. -
-- Collapsibles are used to display a vertical list of headers that reveal or hide content. They allow to progressively disclose information as desired. -
-- Collapsibles are used to display a vertical list of headers that reveal or hide content. They allow to progressively disclose information as desired. -
-Preview not available
-- - All services disabled -
-- - All services disabled -
-- - All services disabled -
-