Skip to content

Commit 20f02d8

Browse files
committed
Register endpoint, mail, tokens, #489 #254 #544
1 parent a659339 commit 20f02d8

22 files changed

+1054
-74
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
@@ -7,13 +7,18 @@ See [STATUS.md](server/STATUS.md) to learn more about which features will remain
77

88
## UNRELEASED
99

10+
- New sign up / register flow. Add `/register` Endpoint #489 #254
1011
- Add multi-tenancy support. Users can create their own `Drives` on subdomains. #288
11-
- Add `/register` Endpoint #489 #254
1212
- Refactor URLs. `store.self_url()` returns an `AtomicUrl`, which provides methods to easily add paths, find subdomains and more.
1313
- Add support for subdomains, use a Wildcard TLS certificate #502
1414
- Improve query performance, refactor indexes. The `.tpf` API is deprecated in favor of the more powerful `.query`. #529
1515
- Improved error handling for HTTPS initialization #530
1616
- Add `--force` to `atomic-server import` #536
17+
- Email support. Connect to external SMTP servers. #276
18+
- 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`.
19+
- Allow parsing `.env` files from custom locations using the `--env-file` flag.
20+
- Plugins support `tokio`, so you can spawn async tasks from plugins.
21+
- Add JWT token support, used for emails and registration #544
1722
- Fix index issue happening when deleting a single property in a sorted collection #545
1823
- Update JS assets & playwright
1924
- Fix initial indexing bug #560

CONTRIBUTE.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Check out the [Roadmap](https://docs.atomicdata.dev/roadmap.html) if you want to
2626
- [Drill](#drill)
2727
- [Responsible disclosure / Coordinated Vulnerability Disclosure](#responsible-disclosure--coordinated-vulnerability-disclosure)
2828
- [Releases, Versioning and Tagging](#releases-versioning-and-tagging)
29-
- [Including JS app_assets](#including-js-app_assets)
29+
- [Including JS app\_assets](#including-js-app_assets)
3030
- [Publishing manually - doing the CI's work](#publishing-manually---doing-the-cis-work)
3131
- [Building and publishing binaries](#building-and-publishing-binaries)
3232
- [Publishing to Cargo](#publishing-to-cargo)
@@ -43,7 +43,8 @@ Since `atomic-server` is developed in conjunction with the typescript / react `a
4343
- Clone [`atomic-data-browser`](https://github.com/atomicdata-dev/atomic-data-browser) and run it (see readme.md, basically: `pnpm start`)
4444
- Visit `https://localhost:8080` (default)
4545
- Visit your `localhost` in your locally running `atomic-data-browser` instance: (e.g. `http://localhost:8080/app/show?subject=http%3A%2F%2Flocalhost`)
46-
- 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.
46+
- use `cargo watch -- cargo run --bin atomic-server -- --env-file server/.env` to automatically recompile `atomic-server` when you update code or JS assets.
47+
- If you want to debug emails: `brew install mailhog` => `mailhog` => `http://localhost:8025`
4748

4849
## IDE setup (VSCode)
4950

0 commit comments

Comments
 (0)