Filip Sodić
d1bea1c513
Add task status toggling to task page in todo app ( #664 )
...
* Add task done toggling to task page
* Fix wrong condition in example todo app
2022-07-06 23:13:35 +02:00
Filip Sodić
5e5b264448
Make waspc/todoApp return tasks in consistent order ( #632 )
...
(cherry picked from commit 57606c74e4
)
2022-06-16 14:50:02 +02:00
Filip Sodić
59c714111e
Support for the client setup function ( #595 )
...
* Add clientSetup support to analyzer and tidy up generator
* Add clientSetup support to generator
* Add tests for client setup function and tidy up
* Address PR comments for client setup function
* Clean up server and web app generators
* Document react query invalidation on logout
* Update e2e tests after query client cache clean
* Fix syntax error in exmaple app
* Remove leftover todos
* Fix formatting
* Fix formatting
* Fix tests for client setup function
* Update e2e test
* Fix todos in templates
* Add docs for client setup
* Fix docs typo
* Fix docs typo
* Fix docs typo
* Fix docs typo
* Update e2e test
2022-05-20 14:49:26 +02:00
Shayne Czyzewski
4de7d16331
Adds cron support to pg-boss Jobs and documentation ( #586 )
2022-05-13 12:30:55 -04:00
Shayne Czyzewski
f14be11fc3
Add pg-boss as a Job executor ( #582 )
...
Note: This does not provide cron support, that is coming in the next PR.
2022-05-03 14:34:25 -04:00
Filip Sodić
50d806daa6
Update React Query to v3 ( #554 )
...
* Apply minor syntax fixes to templates
* Fix Wasp react app warnings
* Fix small bug in waspc todo app
* Rearrange functions in RouterGenerator
* Migrate react-query to v3
* Collapse config in react query
* Update e2e tests after react-query migration
* Rename function in RouterGenerator
* Update job tests
2022-04-15 11:23:15 +02:00
Shayne Czyzewski
adcb15a41c
Adds a simple pass-through Jobs implementation. ( #553 )
2022-04-13 12:30:29 -04:00
Shayne Czyzewski
09a72a7e1a
Upgrade Prisma to version 3.9.1 ( #452 )
2022-02-11 17:55:41 -05:00
Shayne Czyzewski
c2f9eff3b8
fix: todo example error from missing entity ( #446 )
...
Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-02-02 19:38:47 +01:00
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
Vinícius Andrade
dfd6773cc1
Fixed lint errors in Todo Tutorial ( #349 )
...
* Fixed lint errors in waspc Todo example
Signed-off-by: Vini Andrade <vini.andrade.dev@gmail.com>
* Fixed lint errors in example TodoApp
Signed-off-by: Vini Andrade <vini.andrade.dev@gmail.com>
* Fixed lint errors in todo app docs
Signed-off-by: Vini Andrade <vini.andrade.dev@gmail.com>
2021-11-08 14:19:15 +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
Martin Sosic
3bae54c3e8
Added new migration to examples/todoApp.
2021-07-05 17:47:28 +02:00
Martin Šošić
f9e8f88b66
Upgraded to Prisma 2.21 (stable migrations) + postgre can be used in local dev.
...
- `wasp db migrate-save` and `wasp db migrate-up` got replaced with `wasp db migrate-dev`.
- Wasp now has a declarative way to express which db is used, postgresql or sqlite: `db { system: PostgreSQL }`.
- Prisma is now at the latest version, 2.21. PSL parser was upgraded to work with this.
- PostgreSQL can now be used for local development.
- We migrated examples/realworld to work with this new version of Wasp.
2021-04-21 14:06:25 +02:00
Martin Šošić
92937b5e65
Implemented support for dotenv file. ( #208 )
2021-04-16 12:43:57 +02:00
Craig McIlwrath
82ea947981
Add ext/.waspignore file ( #196 )
2021-03-03 09:35:27 +01:00
Matija Sosic
f07f8e199b
Using material-ui in waspc todo example. ( #171 )
2021-02-06 13:41:22 +01: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
Matija Sosic
61d028d32a
Fixed a bug with Prisma migrations. ( #104 )
2020-10-28 15:28:58 +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
Matija Sosic
bbe6dae679
Implemented parser for Auth Wasp element. ( #72 )
2020-10-08 16:17:47 +02:00
Martin Sosic
6edad656c2
Queries are now auto-invalidated based on entities they use.
2020-10-07 15:56:23 +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
Martin Sosic
0f36486ebb
Added missing wasp files to examples/todoApp.
2020-09-30 13:44:46 +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
a18167ffc6
Todo example: Removed global local state, now we use db.
2020-09-24 16:15:02 +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
69f45c40a7
Added HttpError on server, to be used in operations.
2020-09-04 15:14:06 +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