Skip to content

Commit 9f24233

Browse files
committed
Register endpoint, mail, tokens, #489 #254 #544
1 parent 162783e commit 9f24233

24 files changed

+1041
-72
lines changed

.vscode/tasks.json

+17
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,23 @@
1515
"group": "build",
1616
"problemMatcher": []
1717
},
18+
{
19+
"label": "watch atomic-server (cargo watch)",
20+
"type": "shell",
21+
"command": "~/.cargo/bin/cargo-watch",
22+
"args": [
23+
"--",
24+
"cargo",
25+
"run",
26+
"--bin",
27+
"atomic-server",
28+
"--",
29+
"--env-file",
30+
"server/.env",
31+
],
32+
"group": "build",
33+
"problemMatcher": []
34+
},
1835
{
1936
"label": "test atomic-server (cargo nextest run)",
2037
"type": "shell",

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ See [STATUS.md](server/STATUS.md) to learn more about which features will remain
2929
- Refactor `Endpoint` handlers, uses a Context now #592
3030
- Re-build store + invite when adjusting server url #607
3131
- Use local atomic-server for properties and classes, improves atomic-server #604
32+
- New sign up / register flow. Add `/register` Endpoint #489 #254
3233
- Add multi-tenancy support. Users can create their own `Drives` on subdomains. #288
33-
- Add `/register` Endpoint #489 #254
3434
- Refactor URLs. `store.self_url()` returns an `AtomicUrl`, which provides methods to easily add paths, find subdomains and more.
3535
- Add support for subdomains, use a Wildcard TLS certificate #502
3636

@@ -39,6 +39,11 @@ See [STATUS.md](server/STATUS.md) to learn more about which features will remain
3939
- Replace `acme_lib` with `instant-acme`, drop OpenSSL dependency, add DNS verification for TLS option with `--https-dns` #192
4040
- Improved error handling for HTTPS initialization #530
4141
- Add `--force` to `atomic-server import` #536
42+
- Email support. Connect to external SMTP servers. #276
43+
- Basic plugin support through Endpoints. For now only works if you use `**Atomic**-Lib` as a library. Add your plugins by calling `Db::register_endpoint`.
44+
- Allow parsing `.env` files from custom locations using the `--env-file` flag.
45+
- Plugins support `tokio`, so you can spawn async tasks from plugins.
46+
- Add JWT token support, used for emails and registration #544
4247
- Fix index issue happening when deleting a single property in a sorted collection #545
4348
- Update JS assets & playwright
4449
- Fix initial indexing bug #560

CONTRIBUTE.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ Since `atomic-server` is developed in conjunction with the typescript / react `a
4545
- Clone [`atomic-data-browser`](https://github.com/atomicdata-dev/atomic-data-browser) and run it (see readme.md, basically: `pnpm start`)
4646
- Visit `https://localhost:8080` (default)
4747
- Visit your `localhost` in your locally running `atomic-data-browser` instance: (e.g. `http://localhost:8080/app/show?subject=http%3A%2F%2Flocalhost`)
48-
- use `cargo watch -- cargo run` to automatically recompile `atomic-server` when you push new assets using `pmpm build-server` in `atomic-data-browser`. This can be useful if you're debugging specific features that you can't reproduce while the front-end is hosted in vite.
48+
- use `cargo watch -- cargo run --bin atomic-server -- --env-file server/.env` to automatically recompile `atomic-server` when you update code or JS assets.
49+
- If you want to debug emails: `brew install mailhog` => `mailhog` => `http://localhost:8025`
4950

5051
## Improve local compilation speed
5152

0 commit comments

Comments
 (0)