Commit Graph

211 Commits

Author SHA1 Message Date
Martin Šošić
129d06480c [New SDK]: { HttpError, AuthError, DbSeedFn, MiddlewareConfigFn } from 'wasp/server'. (#1699) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
72f8437108 Fixes CRUD server import 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
cf961f52e2 Implement the new wasp/server/crud API (#1695) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
e2ac659526 Adds wasp/server/auth API (#1694) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
615b373fd6 Migrate wasp/client/auth API 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
d650276586 Implement new wasp/auth API (#1691) 2024-01-31 17:46:23 +01:00
Martin Šošić
ec9241b780 [New SDK]: 'wasp/server'. (#1682) 2024-01-31 17:46:23 +01:00
Martin Šošić
f61d1843c9 [New SDK]: 'wasp/client/api'. (#1681) 2024-01-31 17:46:23 +01:00
Martin Šošić
df293e53d7 [New SDK]: 'wasp/server/api'. (#1679) 2024-01-31 17:46:23 +01:00
Filip Sodić
f7587a2c9c Sort out restructuring leftovers 2024-01-29 17:20:35 +01:00
Filip Sodić
0c178c0719 Explain why we run Vitest from Wasp project root 2024-01-29 16:22:58 +01:00
Filip Sodić
cbd7310b16
Implement Wasp SDK generation (#1626) 2024-01-29 16:08:15 +01:00
Martin Šošić
bc9e1b6bce
Update LSP to work with restructuring (#1650) 2024-01-29 16:05:56 +01:00
Filip Sodić
df5a1358e6
Adapt Prisma for the new structure (#1604) 2024-01-29 15:10:47 +01:00
Filip Sodić
d3e9fdc4c6
Implement project install step for restructuring (#1690) 2024-01-29 14:57:22 +01:00
Filip Sodić
6f0714ad23
Create restructuring prototype (#1584) 2024-01-29 14:00:20 +01:00
Mihovil Ilakovac
846fdda827
Unify userSignupFields for all auth methods (#1639) 2024-01-18 13:42:00 +01:00
Mihovil Ilakovac
b360af3065
Remove user-facing unverified email flow (#1638) 2024-01-16 17:42:27 +01:00
Mihovil Ilakovac
e3c825fae1
Enable easier email dev setup (#1634) 2024-01-16 16:19:35 +01:00
Mihovil Ilakovac
73c37b7d6d
Integrate Lucia Auth in Wasp (#1625) 2024-01-15 11:53:54 +01:00
Martin Sosic
c534a84b9c Merge branch 'release' 2024-01-12 18:28:23 +01:00
Martin Šošić
7f91081bd8
Fix broken documentation links & remove old docs.
* Removed old docs leftovers.

* Fixed broken links in the docs.

* fix
2024-01-12 17:42:53 +01:00
Martin Šošić
758110e686
Relax node version (#1533)
* Relaxed Wasp's node version requirements.

* Updated e2e tests.

* fix

* fix

* Fixed version of wasp app in headless tests.

* Update web/docs/introduction/getting-started.md

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* fix

* fix

* Small grammar fixes.

* fixes

* Updated e2e tests.

* fix

* fix

---------

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2024-01-04 11:30:42 +01:00
Mihovil Ilakovac
633e25c125
Injected auth models (#1583) 2024-01-03 14:40:08 +01:00
Martin Sosic
47c4b8cb16 Merge branch 'main' into wasp-ai 2023-12-11 20:19:46 +01:00
Mihovil Ilakovac
ef6d6b1041
Username validation refactor (#1569) 2023-11-15 13:05:00 +01:00
Mihovil Ilakovac
520c35af5c
Adds support for client subdir (#1516) 2023-10-27 15:12:47 +02:00
Mihovil Ilakovac
e871e048fb
Fixes a Prisma SSL bug by bumping Prisma (#1544) 2023-10-27 12:47:25 +02:00
Mihovil Ilakovac
88d9534fd3
Allow customising the Vite config (#1465) 2023-10-09 15:40:33 +02:00
Mihovil Ilakovac
b9ba6fbaa4
Fixes Auth UI (#1447) 2023-09-16 00:13:37 +02:00
Mihovil Ilakovac
16fa3bd487 Merge branch 'main' into wasp-ai 2023-09-14 12:23:29 +02:00
Mihovil Ilakovac
99c9021f82
Signup Customisation [RFC] (#1395) 2023-09-12 13:19:47 +02:00
Mihovil Ilakovac
cb88dfc618
Adding support for Postgres Extensions (#1443) 2023-09-12 13:03:57 +02:00
Mihovil Ilakovac
092ff2acaf
Type safe async jobs (#1400) 2023-09-07 16:32:55 +02:00
Martin Šošić
7da0aae3e9
Added a comment to app.js about default express error handler behaviour. 2023-09-06 17:18:21 +02:00
Martin Šošić
179ec45aa9
Updated default .gitignore for new Wasp project to be more robust regarding .env files (#1425) 2023-08-31 15:50:17 +02:00
Mihovil Ilakovac
6b77b673a6
Fixes a types export issue (#1421) 2023-08-31 11:56:20 +02:00
Mihovil Ilakovac
66a04a07ce
Updates tutorial link in templates (#1423) 2023-08-31 10:26:41 +02:00
Mihovil Ilakovac
792c014551
Implement type safe links (#1235) 2023-08-30 14:40:17 +02:00
Craig McIlwrath
d12b403e7d
[waspls] improves LSP scaffolding (#1381)
* create directories when scaffolding, if needed

* refresh export cache after scaffolding

* better process for ensuring a blank line between old code and new scaffolded code
2023-08-10 10:01:20 -04:00
Mihovil Ilakovac
7c09e3964b
Updates LSP templates (#1375) 2023-07-28 10:33:04 +02:00
Craig McIlwrath
76d9fc4213
[waspls] Add code actions for scaffolding external code (#1316)
When an external import tries to import a symbol from a TypeScript/JavaScript file, waspls now offers quickfix code actions to scaffold a function in that file.

It uses the surrounding context of the external import to determine what code to write for the code action. See [`ScaffoldTsSymbol.hs`](457911d5e9/waspc/waspls/src/Wasp/LSP/Commands/ScaffoldTsSymbol.hs) for a detailed description of how it works. At a high level, there is a `templateForFile` function in `Wasp.LSP.Commands.ScaffoldTsSymbol` that selects the correct template from `data/lsp/templates/ts`. For example, `action.fn.ts` contains a template for scaffolding an `action` function in a TypeScript file and would be used when a code action is requested with the cursor at the location marked by `|`:

```wasp
action createTask {
  fn: import { createTask } from "@server/actions.js"|
}
```

The scaffold action runs as a [LSP command](https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#workspace_executeCommand). To prepare for wanting to define more commands in waspls in the future, this PR also introduces the concept of `Commands` (`Wasp.LSP.Commands.Command`) that define some properties about each command waspls wants to handle.
2023-07-26 08:00:16 -04:00
Filip Sodić
4bff9069a3 Merge branch 'main' into wasp-ai 2023-07-12 17:44:24 +02:00
Filip Sodić
af9d7992b3
Add support for Prisma preview features (#1315) 2023-07-12 17:08:57 +02:00
Mihovil Ilakovac
feeb9217de Updates data files list 2023-06-28 11:54:28 +02:00
Mihovil Ilakovac
a10e4fdff1 Adds missing basic template files 2023-06-27 10:35:28 +02:00
Martin Sosic
001068ca1a Merge branch 'main' into wasp-ai 2023-06-23 12:45:59 +02:00
Mihovil Ilakovac
dc1c3aab49
Adds extra type info to middleware customization fn (#1279)
* Adds extra type info to middleware customization

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* Fixes e2e tests

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

---------

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-22 16:52:52 +02:00
Mihovil Ilakovac
d3454a5f58 Merge branch 'main' into wasp-ai 2023-06-22 10:48:36 +02:00
Mihovil Ilakovac
e3873a6148
Fixes oAuth redirect behaviour in development (#1275) 2023-06-22 10:47:47 +02:00