Commit Graph

679 Commits

Author SHA1 Message Date
Shayne Czyzewski
bc92b024e1
Renames auth method EmailAndPassword to UsernameAndPassword (#696) 2022-08-24 10:32:46 -04:00
Martin Šošić
75ce7db663
Fix incorrect parsing of escaped strings in Wasp (#699)
* Fixed incorrect handling of escaped strings in parser.

* Refactored Parser golden tests a bit.

* Moved PrettyPrinter for Parser AST to Parser.

* fix
2022-08-23 14:01:00 +02:00
Max Khamrovskyi
8cd3cf8c0f
Update dev excuses app (#698)
* Add dev excuse application

* Update Readme

* Add app description

* Bugfix and formatting update

* Move axios dependency

* Fix typo

* Code fix, image relocation, update indentation

* Add updated markup and naming changes

* Delete main.css

Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-08-23 12:29:56 +03:00
Shayne Czyzewski
d827d05d96
Jobs callback function updates (#676) 2022-08-17 13:53:05 -04:00
Shayne Czyzewski
f06e9894a9
[docs] Updates READMEs with new branching and merging model (#695)
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-08-17 11:42:32 -04:00
Vasili Shynkarenka
ae5d539bbf
Added "why join a startup" blog post
Co-authored-by: flreln <flreln@Vasilis-MacBook-Pro.local>
2022-08-15 19:38:06 +02:00
Craig McIlwrath
0de0855787
Integrate new error resilient parser into waspc (#684)
* Add CST parsing code into waspc

* Implement CST -> AST conversion

* Implement parseExpression & isValidWaspIdentifier

* Implement golden tests for Parser

* Configure CI git checkout to always use LF line endings
2022-08-11 12:26:12 -04:00
Craig McIlwrath
485f92ca13
Implement autocompletion in waspls (#681)
* Refactor diagnostics

Now stores diagnostics info in the state instead of computing when diagnostics
are being published.

* Refactor Wasp.LSP.State into multiple files

* Move all LSP type imports to qualified

More consistent and more clear where things come from

* Use new concrete parser in diagnostics

Before running full analyzer, runs CST parser to check if it parses correctly
and to collect many parse errors. The CST is always put into the state. Then, if
successful, the full analyzer gets run as before.

* Add basic autocompletion

Always suggests every declaration name in the file, with no context-sensitivity.

* Refactor some names

* Syntax tree traversal code

* Attempt at context-sensitive autocomplete

Not done, but doing some more refactoring before going back to this

* Refactor Control.Syntax.Traverse to use total functions

* Make autocompletion context sensitive

It actually works now

* Miscellaneous code clean up

* Fix incorrect type name

* Fix syntax traversal bug with back

* Remove unreadable symbols from syntax traversal

* Refactor completion code

* Refactor syntax traversal code

* Apply suggestions from code review

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

* Feedback from code review

* Add tests for Control.Monad.Loops.untilM

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-08-09 09:38:56 -04:00
Max Khamrovskyi
0dd8c93c1e
Add dev excuse application (#680)
* Add dev excuse application

* Update Readme

* Add app description

* Bugfix and formatting update

* Move axios dependency

* Fix typo

* Code fix, image relocation, update indentation

Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-08-06 10:11:25 +03:00
h4r1337
3c4f59692b
Updates examples/todoApp (#679)
* Update examples/todoApp - fix #678

* Changed HttpError from 403 to 401

* Updated HttpError from 401 to 404
2022-07-27 15:16:06 -04:00
Craig McIlwrath
879f8e4225
Add error resilient parser for LSP (#655)
See waspls/src/Wasp/Backend/ConcreteParser/Internal.hs for description of the parser
2022-07-26 15:14:19 -04:00
h4r1337
0de9997198
[docs] Updates todo app docs (#677)
* Changed HttpError from 403 to 401
2022-07-26 14:04:06 -04:00
Martin Sosic
8bae408298 Hide e2e golden files in Github. 2022-07-19 18:16:39 +02:00
Filip Sodić
67562e32cc
Remove undefined values from query keys (#671)
* Remove undefined values from query keys

* Update e2e tests
2022-07-18 14:18:06 +02:00
Martin Sosic
a0299febbc Updated wasp version to 0.5.2.1. 2022-07-14 22:58:33 +02:00
Martin Sosic
496da79f50 Added version 0.5.2.1 to Changelog. 2022-07-14 22:57:51 +02:00
Matija Sosic
1c3fae78f3 updated ml code gen blog post. 2022-07-14 12:52:11 +02:00
Matija Sosic
340a117416 updated copilot blog title. 2022-07-12 18:37:37 +02:00
h4r1337
602c57bd33
Added header to example apps that points to their source code 2022-07-08 17:53:43 +02:00
Shayne Czyzewski
d5a9039722
Work around versioned package NPM bug (#661) 2022-07-07 10:37:48 -04:00
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
Matija Sosic
f945307e9e small blog fix. 2022-07-05 11:01:58 +02:00
Matija Sosic
553e748240
Added post about ML code generation vs coding by hand. (#654) 2022-07-05 10:09:05 +02:00
Hannah Vivian Shaw
0c3db966c0
Minor grammar and spelling fixes in docs (#662)
* Minor spelling/grammar fixes in getting-started.md

* minor grammar/spelling fixes in new project

* minor spelling/grammar fixes in task-entity.md

* minor spelling/grammar fixes to listing-tasks.md

* minor spelling/grammar fixes in creating-tasks.md

* minor spelling/grammar fixes in updating-tasks.md

* corrections to auth.md

* minor fixes to dependencies.md

* fixes to the-end.md

* fix link

* typo
2022-07-04 10:44:15 +02:00
Shayne Czyzewski
9f7d212b8c
Fix User model name assumption (#660) 2022-07-01 08:18:40 -04:00
Max Khamrovskyi
3cb038b959
Merge pull request #657 from wasp-lang/add-google-analytics
Add google analytics
2022-06-30 12:35:05 +03:00
mkhamrov
342b089adc Add google analytics 2022-06-29 17:31:28 +03:00
Martin Šošić
25a1b991ef
Now waspc assumes all files to be UTF8 regardless of OS'es default locale. (#653) 2022-06-28 19:48:02 +02:00
Martin Šošić
ec032e74e6
Touched-up deployment and related instructions. (#651) 2022-06-28 13:54:55 +02:00
Shayne Czyzewski
11da82705d
[docs] Added note to deployment docs for Apple M1 users (#652) 2022-06-28 07:42:07 -04:00
Craig McIlwrath
0a2e6a22f0
Make basic Wasp LSP server (#611)
* Setup waspls project

* Basic LSP functionality implemented

Reports one diagnostic per file, updated on open, save, and change.

* Changes from code review
2022-06-24 11:23:09 -04:00
Shayne Czyzewski
110864fe7e
Add Jobs feature blog post (#636) 2022-06-23 14:10:38 -04:00
Martin Šošić
12c0e7b1f0
Added ./run cmd + README section for accepting e2e test changes. (#644) 2022-06-23 20:09:21 +02:00
Martin Sosic
90571c0298 Updated wasp version to 0.5.2.0. 2022-06-23 14:19:43 +02:00
Martin Šošić
4f22ea1c08
Updated Prisma to 3.15.2. Fixes #629. (#643) 2022-06-23 14:18:13 +02:00
Martin Sosic
2a1fae3ecd Updated CHANGELOG for v0.5.1.0. 2022-06-17 17:24:19 +02:00
Martin Sosic
a3acc62f74 Updated wasp version to 0.5.1.0. 2022-06-17 17:08:29 +02:00
Martin Šošić
62f0a76937
Limited Wasp version to ^16.0.0 && <=16.15.0 (#634)
* Limited Wasp node version to ^16.0.0 && <=16.15.0.

In the process, I removed .nvmrc files from generated code and
refactored SemanticVersion to follow npm spec.
I also updated CI to use node 16.15.0, and not any 16.
I also updated docs.
2022-06-17 17:02:54 +02:00
Filip Sodić
fdd8e47b25
Reduce duplication when creating frontend queries and actions (#633)
* 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 (#632)
(cherry picked from commit 57606c74e4)
2022-06-16 14:50:02 +02:00
Max Khamrovskyi
f83b9cd152
Merge pull request #627 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 (#612)
* 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 (#625)
* 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 #624 from wasp-lang/fix-truncate
Add <!--truncate-->
2022-06-08 16:07:21 +03:00
Shayne Czyzewski
4d57213e18
Move react-error-overlay into dependencies (#626)
* 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 #613 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