Skip to content

Commit b391820

Browse files
committed
Register endpoint, mail, tokens, #489 #254 #544
1 parent 8f84362 commit b391820

22 files changed

+1054
-74
lines changed

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@ Changes to JS assets are not included here, but in [`atomic-data-browser`'s CHAN
66

77
## UNRELEASED
88

9+
- New sign up / register flow. Add `/register` Endpoint #489 #254
910
- Add multi-tenancy support. Users can create their own `Drives` on subdomains. #288
10-
- Add `/register` Endpoint #489 #254
1111
- Refactor URLs. `store.self_url()` returns an `AtomicUrl`, which provides methods to easily add paths, find subdomains and more.
1212
- Add support for subdomains, use a Wildcard TLS certificate #502
1313
- Improve query performance, refactor indexes. The `.tpf` API is deprecated in favor of the more powerful `.query`. #529
1414
- Improved error handling for HTTPS initialization #530
1515
- Add `--force` to `atomic-server import` #536
16+
- Email support. Connect to external SMTP servers. #276
17+
- 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`.
18+
- Allow parsing `.env` files from custom locations using the `--env-file` flag.
19+
- Plugins support `tokio`, so you can spawn async tasks from plugins.
20+
- Add JWT token support, used for emails and registration #544
1621

1722
## [v0.34.0] - 2022-10-31
1823

CONTRIBUTE.md

Lines changed: 3 additions & 2 deletions
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)