1
1
mirror of https://github.com/wasp-lang/wasp.git synced 2024-12-24 09:34:28 +03:00
Commit Graph

641 Commits

Author SHA1 Message Date
Filip Sodić
fdd8e47b25
Reduce duplication when creating frontend queries and actions ()
* Make waspc/todoApp return tasks in consistent order

(cherry picked from commit 57606c74e4)

* Reduce duplication in frontend actions and queries

* Fix formatting

* Update e2e tests to include queries/core
2022-06-17 14:35:01 +02:00
Filip Sodić
5e5b264448
Make waspc/todoApp return tasks in consistent order ()
(cherry picked from commit 57606c74e4)
2022-06-16 14:50:02 +02:00
Max Khamrovskyi
f83b9cd152
Merge pull request from wasp-lang/change-alpha-testing-link
Change Alpha-testing link to Typeform
2022-06-09 12:54:04 +03:00
Filip Sodić
0b78f658be
Implement support for query client configuration ()
* Implement support for query client configuration

* Make sure query client is always initialized

* Fix formatting

* Fix formatting

* Add missing await in index.js

* Separate query client setup into two functions

* Introduce default query client config

* Fix missing export in docs

* Fix missing field warnings

* Add query client setup docs

* Update e2e tests for query client config
2022-06-09 10:37:19 +02:00
Filip Sodić
b19e95ea51
Filip intro blog post ()
* Add first draft of blog post

* Finish article

* finalized filip intro post - added intro + rm martijn post.

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Matija Sosic <matija.sosic@gmail.com>

* Make final edits to the intro blog post

Co-authored-by: Matija Sosic <matija.sosic@gmail.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-06-08 16:20:11 +02:00
Max Khamrovskyi
cb28db8a1b
Change Alpha-testing link to Typeform 2022-06-08 16:13:21 +03:00
Max Khamrovskyi
f5472d9d97
Merge pull request from wasp-lang/fix-truncate
Add <!--truncate-->
2022-06-08 16:07:21 +03:00
Shayne Czyzewski
4d57213e18
Move react-error-overlay into dependencies ()
* Move react-error-overlay to dependencies

* fix e2e

Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-06-07 18:35:52 +02:00
mkhamrov
fc780d6b74 Add truncate 2022-06-07 15:56:11 +03:00
Max Khamrovskyi
1e73936704
Merge pull request from wasp-lang/add_gitpod_post
Add Gitpod hackathon guide
2022-06-07 15:14:15 +03:00
mkhamrov
5f8bd3aabe Add intro image 2022-06-07 14:54:24 +03:00
mkhamrov
009f26eba1 Merge branch 'add_gitpod_post' of github.com:wasp-lang/wasp into add_gitpod_post 2022-06-07 14:18:18 +03:00
mkhamrov
d1f54d98e8 Fix image description and personal banner 2022-06-07 14:18:14 +03:00
Modotte
98afb79999
Fix level of headers in deployment docs () 2022-06-07 11:59:21 +02:00
Max Khamrovskyi
faf972b11a
Add bit.ly link 2022-06-06 11:22:45 +03:00
mkhamrov
efb7946cd9 Update alpha-testing program link and add WaspIntro 2022-06-05 18:31:49 +03:00
Shayne Czyzewski
d5a0e322d4
Fix unresponsive UI on server reload () 2022-06-03 16:38:21 -04:00
Shayne Czyzewski
14161916f4
Update Waspleau example app URLs () 2022-06-02 14:27:08 -04:00
Shayne Czyzewski
a264d2ee29
Make warnings filterable to avoid redundant messages () 2022-06-02 14:04:57 -04:00
mkhamrov
3920ecd269 Add Gitpod hackathon guide 2022-06-01 16:58:21 +03:00
Shayne Czyzewski
1721371fc7
Updates Waspleau with Jobs and some documentation updates () 2022-05-25 12:55:54 -04:00
Modotte
f8c775923d
Modularize Lexer.x ()
* Modularize Lexer.x

Extract utility functions from Lexer.x into a separate file.

* Move more utilities out of Lexer.x

* Fix hlint and ormolu warnings
2022-05-24 17:57:05 +02:00
Filip Sodić
59c714111e
Support for the client setup function ()
* 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
Martin Sosic
a6f5a7d7b2 Updated wasp version to 0.5.0.0. 2022-05-18 12:55:22 +02:00
Martin Sosic
cda64a3d46 Added v0.5 to the CHANGELOG. 2022-05-18 12:54:42 +02:00
Shayne Czyzewski
4de7d16331
Adds cron support to pg-boss Jobs and documentation () 2022-05-13 12:30:55 -04:00
Shayne Czyzewski
f14be11fc3
Add pg-boss as a Job executor ()
Note: This does not provide cron support, that is coming in the next PR.
2022-05-03 14:34:25 -04:00
Shayne Czyzewski
2345ce2b4f
[Examples] Fixes realworld auth error return and display ()
Adds two new sections to docs as well.
2022-04-21 10:22:21 -04:00
Shayne Czyzewski
a5f86524e0
Changes python to python3 in Dockerfile () 2022-04-21 08:33:49 -04:00
Martin Šošić
4ee7cebc36
Context and user id can now be passed to our telemetry. ()
* Added 'context' field to our telemetry, specifically to recognize when Wasp is running on Gitpod.

* Telemetry user id can now be specified via ENV var.

* Improved user signature obtaining code a bit.

* Added fromMaybeM.
2022-04-15 18:46:47 +02:00
Filip Sodić
50d806daa6
Update React Query to v3 ()
* 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
Filip Sodić
210a43d781
Fix broken link in realworld README 2022-04-14 16:49:24 +02:00
Filip Sodić
2783c97bc0
[Examples] Fix realworld Wasp example app ()
* Fix errors in realworld Wasp app

* Fix errors in realworld Wasp app

* Fix identation

* Add database migration for cascading comments
2022-04-14 16:35:01 +02:00
Shayne Czyzewski
43043708b3
Adds output for new Job golden test. () 2022-04-13 12:46:51 -04:00
Shayne Czyzewski
adcb15a41c
Adds a simple pass-through Jobs implementation. () 2022-04-13 12:30:29 -04:00
Martin Sosic
801ba69e54 Increased resolution of module graph produced by run script. 2022-04-13 14:19:17 +02:00
Phil de Joux
45a1ffd5c5
Change NOTE to a warning. () 2022-04-06 21:09:33 +02:00
Shayne Czyzewski
302fcc11d8
Adds support for basic Wasp job DSL parsing () 2022-04-06 10:07:45 -04:00
Phil de Joux
f9008e81bf
Add a warning in the project file to run cabal update. () 2022-04-06 15:10:11 +02:00
Shayne Czyzewski
f91dbdc6fa
Change termination method of spawned processes on *nix () 2022-03-31 11:55:42 -04:00
Filip Sodić
b3d9014e37
Allow Wasp identifiers for project names ()
* Allow Wasp identifiers for project names

* Rename initialState to makeInitialState

* Fix formatting

* Use parser to parse Wasp identifiers

* Add newline at the end of Wasp.Analyzer.Parser

* Fix newline at the end of Wasp.Analyzer.Parser

* Clean up and rename parsing

* Fix newline at the end of Wasp.Analyzer.Parser

* Add tests for new parser functions

* Fix formatting

* Fix formatting

* Reformat where statement

* Address PR comments and remove redundant module

* Remove keywords from error message

* Fix formatting in CreateNewProject.hs

* Remove redundant note on duplication
2022-03-30 01:25:56 +02:00
Shayne Czyzewski
52ec8d7232
Improve performance of writing FileDrafts ()
Closes  

Co-authored-by: Martijn Faassen <martijn@wasp-lang.dev>
2022-03-29 08:53:28 -04:00
Shayne Czyzewski
31b01838ae
Add missing react-app data-files ()
Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-03-28 19:26:37 +02:00
Shayne Czyzewski
a4a2b03a81
Swap cabal freeze file for index-state () 2022-03-24 08:50:14 -04:00
Filip Sodić
52badd651e
[Analyzer] Reverse the order of Wasp error messages ()
* Reverse the order for TypeError messages

* Remove redundant import and unused pragma

* Remove redundant import and unused pragma

* Reverse additional type error messages

* Remove redundant import

* Format util test file

* Address PR comments

* Add empty line to TypeError.hs

* Address PR comments

* Format TypeError.hs

* Reverse message order in evaluation errors

* Extract common error message functions

* Add tests for EvaluationErrors

* Improve naming in Wasp.ErrorMessage

* Fix formatting

* Fix formatting

* Format code

* Change naming and syntax in ErrorMessage

* hange names in EvaluationError tests

* Add full stops to documentation

* Fix formatting in tests
2022-03-23 13:18:43 +01:00
Shayne Czyzewski
1995ccdb9d
Make CLI code testable () 2022-03-23 08:04:09 -04:00
Phil de Joux
318eb03294
Edit of setup section around ghcup and with-compiler. () 2022-03-22 15:19:22 +01:00
Filip Sodić
8a3fba8831
Require LTS version of Node for Wasp ()
* Require LTS node and npm on client and server

* Update node and npm versions in the docs

* Add npmrc and nvmrc to WebAppGenerator

* Change function name in test

* Add newline to nvmrc

* Add newline to Common.hs

* Remove extra empty line in nvmrc

* Remove extra empty line in Common.hs

* Update end to end tests for node LTS

* Add newline at the end of server/nvmrc

* Ensure Node version 16 in CI

* Fix broken ci file

* Change how Wasp specifies required versions

* Fix formatting

* Use type alias for semantic versions

* Remove incorrect comment on Prisma LTS

* Update e2e checksums

* Fix typo in gitignore

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Sort e2e checksums

* Extract semantic version to its module

* Fix formatting

* Fix formatting again

* Add comment explaining nvmrc

* Add tests and change semver naming

* Add natural numbers and formatting to semver

* Add newline at the end of semver module

* Add missing space to node mismatch message

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-03-21 15:00:19 +01:00
Phil de Joux
790a9b609e
Remove duplicate hlint ignore. () 2022-03-18 12:46:11 +01:00
Martin Sosic
e40c664e20 Removed leftover package.yaml. 2022-03-18 12:43:02 +01:00