Commit Graph

175 Commits

Author SHA1 Message Date
Mihovil Ilakovac
e62f89a774
Adds support for view and type blocks (#2179) 2024-07-15 13:57:53 +02:00
Mihovil Ilakovac
8f136fb5cd
Make sure entity declaration is not used in the Wasp file (#2152) 2024-07-09 23:44:56 +02:00
Mihovil Ilakovac
a439d8f454
Moves crud routes under /crud (#2145) 2024-07-04 13:57:22 +02:00
Mihovil Ilakovac
8ead2e0910
Using Prisma file alongside Wasp (#2035) 2024-07-03 13:51:29 +02:00
wardbox
3b70f90234
Add support for auth with Discord (#2110) 2024-06-25 18:31:58 +02:00
Mihovil Ilakovac
115ed2f25b
Auth Hooks (#1993) 2024-06-20 17:10:11 +02:00
Mihovil Ilakovac
b452313b4c
Disallow duplicate declaration names (#2015) 2024-05-13 11:01:58 +02:00
Mihovil Ilakovac
0880556592 Adds Keycloak OAuth provider (#1876) 2024-03-18 13:09:08 +01:00
Mihovil Ilakovac
0d0deb47f1
Fixes unit tests (#1762) 2024-02-14 11:13:25 +01:00
Martin Šošić
03d234fd7d
Updated Wasp AI to work with wasp 0.12. (#1726) 2024-02-09 11:38:16 +01:00
Filip Sodić
cbd7310b16
Implement Wasp SDK generation (#1626) 2024-01-29 16:08:15 +01:00
Filip Sodić
1456a89222
Adapt wasp clean and fix NPM dep installation (#1603)
---------

Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2024-01-29 15:21:36 +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
Martin Sosic
7297dfab3d Fixed old hlint warnings/suggestions. 2024-01-08 15:54:10 +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 Šošić
994a58f0dc
Wasp ai cli mage (#1601)
* Improved Wasp AI CLI experience.

* fix

* Added CLI Usage, polished CLI commands.

* Added choice of temperature.

* Added styling.

* Added more sophisticated, terminal-only styling.

* fix

* Updated Mage to use new Wasp CLI + added some messaging to CLI.

* fix

* Created wasp-ai/README, updated waspc/README.

* Moved wasp-ai/ to mage/.

* Final polishing (docs, readmes, messaging).

* fix

* Added tests for LogMsg.

* Updated versions of test apps to 0.12.

* fix

* fix

* Update mage/README.md

* fix

* fix
2023-12-22 15:14:38 +01:00
Martin Sosic
47c4b8cb16 Merge branch 'main' into wasp-ai 2023-12-11 20:19:46 +01:00
Mihovil Ilakovac
62aa2b72c4
Adjust the DB check error message (#1558) 2023-11-09 13:19:47 +01:00
Mihovil Ilakovac
520c35af5c
Adds support for client subdir (#1516) 2023-10-27 15:12:47 +02:00
Mihovil Ilakovac
88d9534fd3
Allow customising the Vite config (#1465) 2023-10-09 15:40:33 +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
792c014551
Implement type safe links (#1235) 2023-08-30 14:40:17 +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
Filip Sodić
0cc65dbd3e
Add import heuristic (#1311) 2023-07-08 01:26:54 +02:00
Martin Sosic
d553f29f70 Merge branch 'main' into wasp-ai 2023-06-29 12:46:05 +02:00
Craig McIlwrath
c1d86b1f91
Show multiple parse errors from Wasp Analyzer (#1298)
* allow multiple errors to come out of analyzer

basically just plumbing. does add one new thing: all the concrete parse
errors get reported now 🥳

* add statement level error recovery to abstract parser

* add expression level parse recovery

recovers from errors inside dict entries, lists,
and tuples.

* document parser error recovery

* run formatter
2023-06-29 12:34:31 +02:00
Martin Šošić
466e33d50c
Wasp ai retry (#1288)
* Wasp AI now retries requests to chat GPT.

* Improved retry.

* Got tests for retry working.

* one more test.

* Improved retry tests a bit.

* Finished tests.

* fix
2023-06-26 17:48:08 +02:00
Shayne Czyzewski
3e85b0f067
Adds WebSocket support (#1203) 2023-06-19 10:49:57 +02:00
Filip Sodić
90bbff3b64
Ensure Auth entity has a unique username (#1257) 2023-06-16 17:01:55 +02:00
Mihovil Ilakovac
b37cc22fc4
Adds support for a client public folder (#1229) 2023-06-15 15:17:10 +02:00
Mihovil Ilakovac
3faee611ac
Automatic CRUD (#1197) 2023-06-14 16:55:07 +02:00
Shayne Czyzewski
013a13dee2
Adds middleware customization (#1092) 2023-04-24 12:16:54 -04:00
Mihovil Ilakovac
6b9adf80b2
Fixes Haskell list to JS array utility (#1147) 2023-04-19 00:34:27 +02:00
Mihovil Ilakovac
7f32a4ccb9
Adding e-mail auth (e-mail verfication, password reset) (#1087) 2023-04-05 23:25:03 +02:00
Martin Šošić
0e5aa85014
Implement database seeding via 'wasp db seed' 2023-04-05 11:33:52 +02:00
Shayne Czyzewski
89f12ea35b
Relax dependency between oauth and usernameAndPassword fields (#1102) 2023-04-04 14:35:14 -04:00
Mihovil Ilakovac
6dbeedca60
Adds support for e-mail sending (#1050) 2023-03-24 12:42:22 +01:00
Martin Šošić
91a8063081
Implemented wasp start db (managed dev db) (#1044)
Implemented 'wasp start db' + docs + e2e tests + refactoring.
2023-03-21 16:37:20 +01:00
Mihovil Ilakovac
7a0f8b5d58
Replaces Create React App with Vite (#1019) 2023-03-01 17:14:14 +01:00
Mihovil Ilakovac
c2a3e04283
Adds support for root component (#1009) 2023-02-20 11:15:54 +01:00
Filip Sodić
2327a8f9d9
Stop weakening the AST (#628) 2023-02-14 10:09:21 +01:00
Mihovil Ilakovac
07b03fec5d
Generate all JS import statements in Haskell (#956) 2023-02-13 16:57:31 +01:00
Shayne Czyzewski
2182b9088d
Adds GitHub login and refactors Passport.js (#872) 2022-12-20 09:12:08 -05:00