Commit Graph

31 Commits

Author SHA1 Message Date
Martin Šošić
8d2c33ab28
Replace Wasp with AppSpec and Parser with Analyzer. (#423) 2022-01-20 11:45:14 +01:00
Giovanni Garufi
dcd1549211
auth: Add onAuthSucceededRedirectTo option (#350)
Allows a user to specify a redirect target in case of successful authentication.
This used to be hardcoded to /, and the current implementation will fallback to that if the property is not specified.

Change-type: minor
Signed-off-by: Giovanni Garufi <nazrhom@gmail.com>
2021-11-22 14:23:19 +01:00
Martin Šošić
d86b53cb24
Merge pull request #279 from saatvikshah/auth_opt_out
Allow operations to opt out of auth middleware
2021-07-21 16:28:18 +02:00
Martin Sosic
748dfb5725 feat: Wasp can now run custom setup code on server start (#199). 2021-07-21 16:14:38 +02:00
Saatvik Shah
d8bd9ce674 Add task counter to ToDo app 2021-07-20 21:37:35 +02:00
Matija Sosic
316c727a8c
Implemented app.head property. (#170) 2021-02-04 11:42:01 +01:00
Matija Sosic
68155711e8
Implemented FE ACL & updated the examples. (#165)
* Implemented FE ACL & updated the examples.

* PR fixes, fixed tests.
2021-02-01 16:32:07 +01:00
Matija Sosic
242c51f6a8
Made auth more flexible - not generating pages & routes anymore, just the forms. (#161) 2021-01-25 19:39:50 +01:00
Matija Sosic
4ac627e652
Generating simple login & signup pages when auth is enabled. (#145) 2020-11-23 16:51:46 +01:00
Matija Sosic
8e451dbe6c
Implemented simple signup function for Wasp developer to use out-of-the-box. (#142) 2020-11-19 16:28:42 +01:00
Martin Sosic
cb217fde44 Renamed EntityPSL to Entity. 2020-10-21 17:41:04 +02:00
Martin Sosic
1f466036fc Added user-task relation to todo app example. 2020-10-20 11:08:02 +02:00
Martin Sosic
126da846f7 Cleaned up example TodoApp. 2020-10-19 15:50:07 +02:00
Matija Sosic
6a59804a46
Authentication generation (#74) 2020-10-19 14:45:54 +02:00
Martin Sosic
54b994bb0a Entities are now injected into operations (if declared in Wasp). 2020-10-07 15:29:21 +02:00
Matija Sosic
330483eab1
Todo example: added per-task page. (#66) 2020-10-01 11:25:59 +02:00
Matija Sosic
6135fbaedc
Todo example: Implemented 'toggle all' and 'delete completed' functionalities. (#60) 2020-09-30 10:08:20 +02:00
Matija Sosic
d936eeba28
Todo example: task isDone can be toggled now. (#57) 2020-09-29 10:44:27 +02:00
Matija Sosic
c1f2d6dab3
TodoApp example now uses db. (#45) 2020-09-19 16:11:09 +02:00
Matija Sosic
08f224d03d
Implemented migrate-save and migrate-up cli db commands. (#41) 2020-09-18 16:14:14 +02:00
Matija Sosic
0bc5b2eec8
Added npm packages needed for using Prisma. (#37) 2020-09-11 15:06:38 +02:00
Matija Sosic
06bb7b97a8
Implemented generation of prisma.schema. (#33) 2020-09-07 16:33:47 +02:00
Martin Sosic
bc5caef944 Implemented new Action and removed old Action and Button. 2020-09-07 13:26:53 +02:00
Martin Sosic
faf34a7d26 Added react-query, implemented useQuery wrapper for it, refactored Todo
example app to use new queries, removed old Wasp code from it.
2020-09-03 17:52:34 +02:00
Martin Sosic
cf0208315f Added generation of external code in server. 2020-09-01 16:58:34 +02:00
Matija Sosic
9d3c5c2946 Added in-code routing and url/query params examples. 2020-08-31 14:20:40 +02:00
Matija Sosic
bcfeb9b350 Page now accepts an external component instead of inline content. 2020-08-31 14:20:40 +02:00
Matija Sosic
25d7051c6d
Route is now a separate Wasp element. Implemented both parser and generator. (#24) 2020-07-31 14:26:10 +02:00
Martin Sosic
e45d077f54 Added Button and Action<entity>, also updated Todo app to use them. 2020-03-10 16:24:41 +01:00
Matija Sosic
fd39e5b658 Added support for entity-list mutex filters. 2020-03-10 14:01:29 +01:00
Martin Sosic
aa1072b20f Moved all code into waspc directory. 2020-02-20 12:30:58 +01:00