Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete site rewrite for Working Draft 4.0 #5

Merged
merged 111 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
f39d34b
feat: :sparkles: Initialize rewrite
CPlusPatch Jul 22, 2024
27631b6
chore: :arrow_up: Upgrade all dependencies except shiki
CPlusPatch Jul 22, 2024
02695bc
feat: :sparkles: Make branding adapt to our colors
CPlusPatch Jul 22, 2024
5ab772d
feat: :sparkles: Add branding, port more text from old site
CPlusPatch Jul 22, 2024
3545bf5
docs: :memo: Finish main page, add guides
CPlusPatch Jul 22, 2024
47848c3
fix: :lipstick: Slightly increase padding-top for code elements
CPlusPatch Jul 22, 2024
4d08b7e
feat: :building_construction: Export as static site
CPlusPatch Jul 22, 2024
0d18130
ci: :construction_worker: Add CI tests
CPlusPatch Jul 22, 2024
e53dc0d
docs: :lipstick: Add more info on SDKs, change border radius to semi-…
CPlusPatch Jul 22, 2024
bfa63e2
feat: :sparkles: Add new User page
CPlusPatch Jul 22, 2024
dd43542
feat: :sparkles: Update shiki to latest version, add code focus plugin
CPlusPatch Jul 22, 2024
15d25ae
docs: :memo: Complete User entity docs
CPlusPatch Jul 22, 2024
e5231e4
fix: :bug: Correct footer and licenses
CPlusPatch Jul 22, 2024
de84d07
docs: :memo: Rewrite README
CPlusPatch Jul 22, 2024
654ad33
refactor: :fire: Remove ESLint and Prettier
CPlusPatch Jul 22, 2024
cf4f4ee
docs: :memo: Complete more User info
CPlusPatch Jul 22, 2024
eb5a586
refactor: :fire: Remove template code
CPlusPatch Jul 22, 2024
9b75c25
docs: :memo: Add ContentFormat docs
CPlusPatch Jul 22, 2024
76d28e0
feat: :sparkles: Add barrel roll easter egg
CPlusPatch Jul 22, 2024
0234304
docs: :memo: Add documentation for entities
CPlusPatch Jul 22, 2024
4f685d1
feat: :sparkles: Add new landing page
CPlusPatch Jul 23, 2024
be3faaa
docs: :memo: Define user addresses
CPlusPatch Jul 23, 2024
850efb4
chore: :arrow_up: Upgrade dependencies, add bundle analyzer
CPlusPatch Jul 24, 2024
6b0e678
feat: :sparkles: Add experimental warning banner
CPlusPatch Jul 24, 2024
b321eb2
docs: :memo: Document the Note entity
CPlusPatch Jul 24, 2024
66a0c94
chore: :arrow_up: Upgrade dependencies
CPlusPatch Jul 25, 2024
1759c4f
refactor: :lipstick: Change code block theme to Dark Plus
CPlusPatch Jul 25, 2024
170c4e2
docs: :memo: Begin work on Signatures documentation
CPlusPatch Jul 25, 2024
31fb1b8
docs: :memo: Finish signing docs
CPlusPatch Jul 25, 2024
e03c8d2
docs: :memo: Add section on signature verification
CPlusPatch Jul 25, 2024
e5b2da5
feat: :lipstick: Increase text font size
CPlusPatch Jul 25, 2024
d8eb4e9
fix: :lipstick: Fix code block borders being hidden on mobile
CPlusPatch Jul 25, 2024
0856fd4
fix: :pencil2: Add missing parentheses
CPlusPatch Jul 25, 2024
d1fd5c5
docs: :memo: Add docs about federation
CPlusPatch Jul 27, 2024
cfd818c
docs: :bug: Remove useless parts of the HTTP docs
CPlusPatch Jul 27, 2024
2b8e2f0
docs: :memo: Specify number precision validation in docs
CPlusPatch Jul 27, 2024
8e570a6
feat: :sparkles: Add changelog display code
CPlusPatch Jul 29, 2024
35477fe
fix: :pencil2: Remove typo from old docs
CPlusPatch Jul 31, 2024
396187f
fix: :pencil2: Clarify extension namespace domain names should be rev…
CPlusPatch Jul 31, 2024
52a30d3
docs: :memo: Add Patch documentation
CPlusPatch Jul 31, 2024
82b4319
fix: :memo: Highlight Patch type
CPlusPatch Jul 31, 2024
3059c20
fix: use valid Versia entity state examples
CutestNekoAqua Jul 31, 2024
902cf8f
fix: spelling
CutestNekoAqua Jul 31, 2024
f994340
fix: :memo: Fix some objects with missing properties, reword sentence
CPlusPatch Jul 31, 2024
5e6d30d
chore: :arrow_up: Upgrade dependencies
CPlusPatch Aug 2, 2024
970673d
refactor: :memo: Rework Patch
CPlusPatch Aug 2, 2024
84d5d04
refactor: :memo: Make entity IDs be any string
CPlusPatch Aug 2, 2024
b0f807e
refactor: :memo: Rewrite Signatures, specify "Working Draft 4" label
CPlusPatch Aug 2, 2024
09e9f14
chore: :arrow_up: Upgrade dependencies
CPlusPatch Aug 2, 2024
8068555
docs: :memo: Add Collections
CPlusPatch Aug 6, 2024
df6ba8a
docs: :memo: Clarify that Collections should be signed
CPlusPatch Aug 6, 2024
5410278
fix: :memo: Add missing number types to Collection
CPlusPatch Aug 6, 2024
5f2f11f
refactor: :memo: Move user collections to separate field
CPlusPatch Aug 6, 2024
bdfc969
docs: :memo: Add information about shared inboxes to User
CPlusPatch Aug 6, 2024
eaf44a1
docs: :memo: Add Emoji structure
CPlusPatch Aug 6, 2024
df3514a
refactor: :memo: Replace Blurhash with Thumbhash
CPlusPatch Aug 6, 2024
9414904
fix: :memo: Update HTTP documentation
CPlusPatch Aug 6, 2024
252bfc0
docs: :memo: Initial WebSockets extension
CPlusPatch Aug 6, 2024
07f8de7
refactor: :recycle: Make User collections extensible
CPlusPatch Aug 6, 2024
fba00bb
feat: :memo: Add Like extension
CPlusPatch Aug 6, 2024
96a66ec
feat: :memo: Document Vanity extension
CPlusPatch Aug 9, 2024
4463083
fix: :memo: Clarify inner/outer ratio for avatar overlays
CPlusPatch Aug 9, 2024
d3d837e
feat: :sparkles: Add Team section to front page
CPlusPatch Aug 9, 2024
b4c4254
feat: :fire: Remove Patches
CPlusPatch Aug 11, 2024
5f614a4
refactor: :memo: URI spec changes
CPlusPatch Aug 11, 2024
909b7ec
feat: :sparkles: Add changelog
CPlusPatch Aug 11, 2024
4df2d81
feat: :memo: Document the Follow stack
CPlusPatch Aug 11, 2024
da6d9f8
refactor: :memo: Add new changes to changelog
CPlusPatch Aug 11, 2024
19d8d4c
chore: :arrow_up: Upgrade dependencies
CPlusPatch Aug 11, 2024
6db5aee
feat: :dizzy: Add graph to follows
CPlusPatch Aug 11, 2024
4b773e1
feat: :memo: Document Delete entity
CPlusPatch Aug 13, 2024
ff57ee4
feat: :sparkles: Add openGraph and keywords to page metadata
CPlusPatch Aug 13, 2024
a106e7a
refactor: :truck: Make paths under /entities use the singular form
CPlusPatch Aug 13, 2024
6414337
refactor: :truck: Do full rename of Lysand to Versia
CPlusPatch Aug 13, 2024
2d7ec4e
fix: :truck: Complete rename
CPlusPatch Aug 13, 2024
5068d04
feat: :memo: Document User and Server discovery
CPlusPatch Aug 14, 2024
9f3bd64
fix: :bug: Add missing new section to Federation docs
CPlusPatch Aug 14, 2024
8de6686
feat: :memo: Document ServerMetadata
CPlusPatch Aug 14, 2024
fe3a06d
docs: :memo: Update changelog
CPlusPatch Aug 14, 2024
9851b80
chore: :arrow_up: Upgrade dependencies
CPlusPatch Aug 14, 2024
c930bb0
refactor: :fire: Remove useless feedback button
CPlusPatch Aug 14, 2024
0ae85cc
fix: :bug: Fix outdated ServerMetadata example
CPlusPatch Aug 14, 2024
c1e94ce
fix: :bug: Correct some incorrect links
CPlusPatch Aug 14, 2024
c074e6e
refactor: :fire: Remove Server Actors
CPlusPatch Aug 17, 2024
f62c2b3
refactor: :truck: Rename ServerMetadata to InstanceMetadata
CPlusPatch Aug 17, 2024
290b6f9
refactor: :truck: Add algorithm, rename fields in public keys
CPlusPatch Aug 17, 2024
94f437f
fix: :bug: Finish InstanceMetadata rename
CPlusPatch Aug 17, 2024
1f864b8
fix: :pencil2: Edit text for better consistency
CPlusPatch Aug 17, 2024
c8cba54
feat: :sparkles: Add Group
CPlusPatch Aug 18, 2024
fb19716
feat: :sparkles: Document Extension
CPlusPatch Aug 18, 2024
64cf9d3
feat: :sparkles: Add Custom Emojis extension
CPlusPatch Aug 18, 2024
c9b6ef8
feat: :sparkles: Add Share extension
CPlusPatch Aug 18, 2024
5cd5e42
chore: :memo: Update changelog
CPlusPatch Aug 18, 2024
b2ce198
chore: :arrow_up: Upgrade dependencies
CPlusPatch Aug 18, 2024
2845fd0
feat: :sparkles: Make Deletes also contain a deleted_type attribute
CPlusPatch Aug 22, 2024
aeca63f
fix: :pencil2: Correct typo
CPlusPatch Aug 22, 2024
591adb7
fix: :bug: Add missing wording about database edits
CPlusPatch Aug 22, 2024
e75eb6d
fix: :truck: Rename prev to previous
CPlusPatch Aug 23, 2024
04b03e1
feat: :sparkles: Add Delegation
CPlusPatch Aug 23, 2024
10b6ca1
feat: :sparkles: Add Reactions extension
CPlusPatch Aug 24, 2024
228ef3c
feat: :sparkles: Add Polls
CPlusPatch Aug 24, 2024
596b424
refactor: :recycle: Remove extension_type in favour of using the type…
CPlusPatch Aug 24, 2024
4a7dd41
fix: :bug: Fix broken links
CPlusPatch Aug 24, 2024
141f900
fix: :truck: Point links to new address for Versia Server
CPlusPatch Aug 24, 2024
dcb9c4c
refactor: :truck: Use Versia logo
CPlusPatch Aug 24, 2024
7189a6f
fix: :bug: Make some more User properties optional
CPlusPatch Aug 24, 2024
8a9935f
fix: :bug: Fix incorrect type definition
CPlusPatch Aug 25, 2024
ac96922
feat: :sparkles: Add Reports
CPlusPatch Aug 25, 2024
cc9b0e2
Merge branch 'refactor/nextjs' of github.com:lysand-org/docs into ref…
CPlusPatch Aug 25, 2024
d96a353
feat: :sparkles: Add Migrations extension
CPlusPatch Aug 25, 2024
2e7d588
chore: :bug: Use proper logos
CPlusPatch Aug 26, 2024
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
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
31 changes: 31 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check Types

on:
push:
branches: ['*']
pull_request:
# The branches below must be a subset of the branches above
branches: ['main']

jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install NPM packages
run: |
bun install

- name: Run typechecks
run: |
bun run typecheck
79 changes: 79 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]

jobs:
analyze:
name: Analyze
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
61 changes: 0 additions & 61 deletions .github/workflows/deploy.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Lint & Format

on:
push:
branches: ["*"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]

jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install NPM packages
run: |
bun install

- name: Run linting
run: |
bunx @biomejs/biome ci .
38 changes: 35 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
node_modules
.vitepress/cache
.vitepress/dist
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
Loading
Loading