Skip to content

Commit 2e78481

Browse files
committed
Register endpoint, mail, tokens, #489 #254 #544
1 parent 28168c4 commit 2e78481

21 files changed

+1003
-53
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
@@ -14,8 +14,8 @@ See [STATUS.md](server/STATUS.md) to learn more about which features will remain
1414
- Fix `--script` flag
1515
- Rename `setup-env` to `generate-dotenv` and build it from clap #599
1616
- Remove `remove_previous_search` and `asset_url` options
17+
- New sign up / register flow. Add `/register` Endpoint #489 #254
1718
- Add multi-tenancy support. Users can create their own `Drives` on subdomains. #288
18-
- Add `/register` Endpoint #489 #254
1919
- Refactor URLs. `store.self_url()` returns an `AtomicUrl`, which provides methods to easily add paths, find subdomains and more.
2020
- Add support for subdomains, use a Wildcard TLS certificate #502
2121

@@ -24,6 +24,11 @@ See [STATUS.md](server/STATUS.md) to learn more about which features will remain
2424
- Replace `acme_lib` with `instant-acme`, drop OpenSSL dependency, add DNS verification for TLS option with `--https-dns` #192
2525
- Improved error handling for HTTPS initialization #530
2626
- Add `--force` to `atomic-server import` #536
27+
- Email support. Connect to external SMTP servers. #276
28+
- 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`.
29+
- Allow parsing `.env` files from custom locations using the `--env-file` flag.
30+
- Plugins support `tokio`, so you can spawn async tasks from plugins.
31+
- Add JWT token support, used for emails and registration #544
2732
- Fix index issue happening when deleting a single property in a sorted collection #545
2833
- Update JS assets & playwright
2934
- Fix initial indexing bug #560

CONTRIBUTE.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Since `atomic-server` is developed in conjunction with the typescript / react `a
4444
- Clone [`atomic-data-browser`](https://github.com/atomicdata-dev/atomic-data-browser) and run it (see readme.md, basically: `pnpm start`)
4545
- Visit `https://localhost:8080` (default)
4646
- Visit your `localhost` in your locally running `atomic-data-browser` instance: (e.g. `http://localhost:8080/app/show?subject=http%3A%2F%2Flocalhost`)
47-
- 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.
47+
- use `cargo watch -- cargo run --bin atomic-server -- --env-file server/.env` to automatically recompile `atomic-server` when you update code or JS assets.
48+
- If you want to debug emails: `brew install mailhog` => `mailhog` => `http://localhost:8025`
4849

4950
## Cross compilation
5051

0 commit comments

Comments
 (0)