Commit Graph

181 Commits

Author SHA1 Message Date
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
Mihovil Ilakovac
67f88cc50e
Fixes Websocket Typescript issues (#1277) 2023-06-22 10:30:03 +02:00
Mihovil Ilakovac
b80f8946cf
Updates broken imports for Auth components (#1274) 2023-06-21 16:09:10 +02:00
Martin Sosic
2e9a33d167 Extracted core skeleton files from the local template(s). 2023-06-20 19:58:15 +02:00
Shayne Czyzewski
3e85b0f067
Adds WebSocket support (#1203) 2023-06-19 10:49:57 +02:00
Mihovil Ilakovac
94d736f485
Auto CRUD: docs update & type bug fix (#1256) 2023-06-15 15:35:23 +02:00
Martin Šošić
590a08bb14
Upgrade React to v18 and Vite accordingly (#1248) 2023-06-14 21:56:26 +02:00
Mihovil Ilakovac
3faee611ac
Automatic CRUD (#1197) 2023-06-14 16:55:07 +02:00
Filip Sodić
89dbb49160
Ensure operation payloads are serializable (#1252) 2023-06-14 15:53:39 +02:00
Mihovil Ilakovac
e840835d4b
Auth UI component refactor (#1216) 2023-06-13 12:24:13 +02:00
Mihovil Ilakovac
e2ba85153b
Narrows down what can be saved when signing up (#1236) 2023-06-07 14:23:27 +02:00
Craig McIlwrath
a48ea5311a
fix auth/me route to use correct field of request (#1231) 2023-06-02 21:43:39 +02:00
Fran Zekan
53ee9297f9
Wrap all react-router routes with Switch (#1188) 2023-05-11 16:09:09 +02:00
Filip Sodić
29889a9c37
Expose Sanitized User on the frontend (#1190) 2023-05-04 11:47:56 +02:00
Richard
3f16e92b58
Fix typo in auth provider error message (#1189) 2023-05-04 11:40:59 +02:00
Mihovil Ilakovac
3f218fbbc5
Improve the scaffolding experience (#1140) 2023-05-03 12:57:17 +02:00
Mihovil Ilakovac
2168282473 Merge branch 'main' into release-with-main-02-05 2023-05-02 10:14:47 +02:00
Mihovil Ilakovac
683c4fd43c
Hotfixes issues with HttpError import (#1178) 2023-04-30 22:28:00 +02:00
Mihovil Ilakovac
2cb0386acf
Cherry pick #1168: fixes circular imports (#1170) 2023-04-27 12:51:45 +02:00
Mihovil Ilakovac
561390dfc4
Updates imports for throwInvalidCredentialsError (#1168) 2023-04-27 12:14:36 +02:00
Shayne Czyzewski
013a13dee2
Adds middleware customization (#1092) 2023-04-24 12:16:54 -04:00
Filip Sodić
949b462d21
Fix build errors in Wasp 0.10.0 (#1144) 2023-04-18 18:07:09 +02:00
Filip Sodić
4171f5608b
Fix full-stack type support errors (#1123) 2023-04-12 15:36:52 +02:00
Mihovil Ilakovac
d580d62c45
Adds input padding for Auth UI (#1122) 2023-04-12 11:16:17 +02:00
Mihovil Ilakovac
ae85d1a285
Registers User entity as dependency of getMe (#1116) 2023-04-11 18:25:30 +02:00
Mihovil Ilakovac
ee5272e6de
Improves error messages in auth (#1120) 2023-04-11 16:49:26 +02:00
Filip Sodić
d8f7a633ed
Fix type errors preventing build (#1118) 2023-04-07 19:20:06 +02:00
Filip Sodić
945d777133
Add full-stack compile-time type safety (#1090) 2023-04-06 21:12:18 +02:00
Mihovil Ilakovac
5be9d1fa5e
Auth UI integration with email & polish (#1107) 2023-04-06 20:29:05 +02:00
Mihovil Ilakovac
7f32a4ccb9
Adding e-mail auth (e-mail verfication, password reset) (#1087) 2023-04-05 23:25:03 +02:00
Matija Sosic
8ad582ac7b
Implemented Auth UI. (#1093) 2023-04-05 22:56:05 +02:00