Commit Graph

896 Commits

Author SHA1 Message Date
Filip Sodić
a9376c423d
Fix errors in example apps (#727)
* upgrade frontend deps and react to 17

* update examples

* upgrade server deps

* do not upgrade to prisma 4 in this PR

* update e2e

* update pg-boss URLs

* Fix errors in thoughts

* Fix controlled component error in realworld

Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-09-19 14:03:07 +02:00
Shayne Czyzewski
40041ff42b
[CLI] Prisma migration warning improvements (#682) 2022-09-16 10:12:15 -04:00
Shayne Czyzewski
1a7a04b87c
Updates React to 17, plus some other minor version updates (#720) 2022-09-16 09:55:26 -04:00
Max Khamrovskyi
4b7b75636c
Blog post update (#725)
* Add an image to the excuses blog post

* Add image

Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-09-15 11:20:08 +03:00
Max Khamrovskyi
c2705c82cd
Update article title and add credits for a meme (#722)
Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-09-13 14:38:51 +03:00
Martin Šošić
65648f7bb4
fix (#718) 2022-09-08 15:28:24 +02:00
Martin Šošić
99487ff2f7
waspls is now part of waspc (#716) 2022-09-08 13:56:37 +02:00
Vasili Shynkarenka
92fe532786
Merge pull request #711 from wasp-lang/martin-haskell-post
Added Martin's Haskell post
2022-09-07 10:17:11 +01:00
Shayne Czyzewski
6cd38b0f94
Adds Google as an authentication method (#669) 2022-09-06 14:35:59 -04:00
flreln
cf5a4d8493 added martin's haskell post 2022-09-06 17:43:19 +02:00
Martin Šošić
eb69deb348
Removed duplication between waspls and waspc, made them two packages in the same cabal project (#712) 2022-09-06 14:10:42 +02:00
Max Khamrovskyi
dd1dd42c36
Add dev excuse blog post (#714)
* Add dev excuse blog post

* Change the release date

* Add additional links and image refactoring

Co-authored-by: mkhamrov <mkhamrov@redhat.com>
2022-09-05 19:55:38 +03:00
Prat
51d7f30b97
Add support for kebab-case in project name (#590) (#700)
* Add support for kebab-case in project name (#590)

* clean up kebab case naming (#590)

* clean up code for create new project (#590)

* clean up code for kebab-name project (#590)

Co-authored-by: Prat T <pt2121@users.noreply.github.com>
2022-09-02 11:54:25 +02:00
Filip Sodić
9af898f570
Add missing module prefix to fix the CI build (#707) 2022-08-26 18:09:32 +02:00
Martin Šošić
8cc63a85a5
Make SemanticVersion module more expressive
* First try.

* first version that compiles.

* Added range function.

* fixed tests.

* Fixed order of funcions in the code.

* fix

* Simplify semantic version module

* Change qualified import name for SV

Co-authored-by: Filip Sodić <filip.sodic@fer.hr>
2022-08-26 16:46:55 +02:00
Matija Sosic
ee7c6a2c2b
added shayne's haskell learning post and imagery (#706)
Co-authored-by: flreln <flreln@192.168.1.198>
2022-08-26 12:50:21 +02:00
Martin Šošić
0473a6e320
Create SECURITY.md 2022-08-25 11:40:04 +02:00
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