Commit Graph

328 Commits

Author SHA1 Message Date
Matija Sosic
4ea507312c
Fixed #103: app crashes when no auth. (#106) 2020-10-28 18:12:27 +01:00
Martin Sosic
3a571ce045 Bumped version to 0.1.2. 2020-10-28 18:01:46 +01:00
Matija Sosic
61d028d32a
Fixed a bug with Prisma migrations. (#104) 2020-10-28 15:28:58 +01:00
Martin Sosic
a64f4b8a77 Updated react-scripts to 4.0.0, fixes #84. 2020-10-26 16:55:22 +01:00
Martin Sosic
247bf76aac Removed redundant TODOs in StrongPath tests. 2020-10-24 22:44:27 +02:00
Martin Sosic
7aafa82a32 StrongPath: File can now be specific, same like Dir. 2020-10-24 22:44:27 +02:00
Martin Sosic
4cbd2a6240 Extracted internals into Internal (StrongPath). 2020-10-24 22:44:27 +02:00
Martin Sosic
4a7c911631 Added fromBaseTypeSystem functions to StrongPath. 2020-10-24 22:44:27 +02:00
Martin Sosic
87e05823cf Added tests and support for "../" prefix to StrongPath. 2020-10-24 22:44:27 +02:00
Martin Sosic
5b4519be3c Removed lang-design/ dir. 2020-10-21 19:16:37 +02:00
Martin Sosic
8af6cf3696 Added instructions to run migrate-up when running example for the first time. 2020-10-21 19:13:36 +02:00
Martin Sosic
3ab248b584 Removed redundant old templates and code (redux). 2020-10-21 17:41:04 +02:00
Martin Sosic
cb217fde44 Renamed EntityPSL to Entity. 2020-10-21 17:41:04 +02:00
Martin Sosic
58d10ab305 Removed old Entity. 2020-10-21 17:41:04 +02:00
Martin Sosic
830fd51e89 Updated waspc/README.md with contribution guidelines. 2020-10-21 15:15:22 +02:00
Martin Sosic
1f466036fc Added user-task relation to todo app example. 2020-10-20 11:08:02 +02:00
Matija Sosic
a55aba643c
Db commands now make sure their prerequisites are set. (#86) 2020-10-20 11:02:00 +02:00
Martin Sosic
126da846f7 Cleaned up example TodoApp. 2020-10-19 15:50:07 +02:00
Martin Sosic
71273805db Enriched 'wasp new' message and refactored terminal coloring. 2020-10-19 14:56:43 +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
Martin Sosic
6e41c1dd84 Tiny naming fix. 2020-10-06 21:31:18 +02:00
Martin Sosic
a06410dad8 Fixed execution of processes/jobs -> stderr was not being forwarded. 2020-10-06 21:24:41 +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
Martin Sosic
ca039304f9 Wasper can now specify npm dependencies. 2020-09-29 13:46:48 +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
Martin Sosic
e115ece29a External code paths now again use StrongPath. 2020-09-23 15:44:32 +02:00
Martin Sosic
391a045164 StrongPath now specifies standard (posix/win) it uses. 2020-09-23 15:42:18 +02:00
Martin Sosic
5a0ddf71f5 Set node version of generated project to current LTS version. 2020-09-22 14:56:32 +02:00
Martin Sosic
d1c7343392 Added reference to documentation, in waspc README.md. 2020-09-22 14:22:26 +02:00
Martin Sosic
616ca79461 Updated READMEs. 2020-09-22 14:09:09 +02:00
Martin Sosic
934fe697b8 CI now creates draft releases. Moved CI badges to top README. 2020-09-21 16:11:34 +02:00
Martin Sosic
f13101e46a Created a simple windows binary package.
`wasp start` fails at calling `npm` (can't find it).
2020-09-21 15:52:17 +02:00
Martin Šošić
fda67bb8ef
Implemented automatic binary packaging + install script. 2020-09-19 16:56:28 +02:00
Matija Sosic
c1f2d6dab3
TodoApp example now uses db. (#45) 2020-09-19 16:11:09 +02:00
Matija Sosic
338c3c909e Removed unused imports. 2020-09-18 16:45:20 +02:00
Matija Sosic
08f224d03d
Implemented migrate-save and migrate-up cli db commands. (#41) 2020-09-18 16:14:14 +02:00
Martin Sosic
2617bd5f66 Now AppVeyor CI builds Wasp on Windows and runs tests.
Also fixed path issues when running on Windows.
2020-09-18 15:22:58 +02:00
Martin Sosic
a4d56b41df Added check of node version when running node commands. 2020-09-17 13:04:19 +02:00
Martin Sosic
10823208f4 Added Travis CI: dynamic binaries are built and if tagged then also
released.
2020-09-17 12:20:03 +02:00
Martin Sosic
1f02809b3d Fixed compile error from previous commit. 2020-09-15 17:39:56 +02:00
Martin Sosic
32bb439c53 'wasp start' now reloads on file change. 2020-09-15 17:00:48 +02:00
Matija Sosic
e95fae7f06
Implemented wasp db migrate cli cmd - runs only prisma migrate save for now. (#39) 2020-09-15 16:39:56 +02:00
Martin Sosic
f06c933182 wasp start now does setup and start while forwarding output.
fix
2020-09-11 17:33:10 +02:00
Matija Sosic
0bc5b2eec8
Added npm packages needed for using Prisma. (#37) 2020-09-11 15:06:38 +02:00
Martin Sosic
a70effa6db Implemented first version of CLI, with clean, new and start commands.
Start does not yet work properly.
2020-09-10 09:47:41 +02:00
Matija Sosic
ef5adc40ff Renamed prisma.schema to schema.prisma. 2020-09-09 15:56:39 +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
Matija Sosic
3b0b284bac
Implemented parser for new PSL-based entities. (#30) 2020-09-04 14:21:47 +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
f5fe865193 Implemented simple Query generator on both FE and BE. 2020-09-01 16:58: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
Martin Sosic
ce6cf2bc5a Shortened Wasp.JsImport fields. 2020-08-25 15:55:37 +02:00
Martin Sosic
495ba96284 Implemented Query parser + tests. 2020-08-25 15:08:02 +02:00
Martin Sosic
3483582fc6 JsImport now distinguishes between default and named imports. 2020-08-25 12:06:46 +02:00
Martin Šošić
c825f8f811
JsImport now supports default import or single named import. (#25)
JsImport now supports default import or single named import.
2020-07-31 15:04:45 +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
c981d22000 Updated .hlint.yaml and added dist-newstyle/ to .gitignore. 2020-07-30 11:28:15 +02:00
Martin Sosic
0c6c605798 Added .hlint.yaml. 2020-07-30 00:03:32 +02:00
Martin Sosic
839beb4142 Refactored codebase so it uses StrongPath instead of Path (on 99% of places). 2020-07-29 16:22:15 +02:00
Martin Sosic
983bab9342 Added .dir-local.el to .gitignore.. 2020-07-27 18:02:05 +02:00
Martin Sosic
8bec4c8e20 Implemented generation of simple node server. 2020-07-27 17:44:21 +02:00
Martin Sosic
8922d9eb53 Implement StrongPath -> data type representing path where relative dirs are named on type level. 2020-07-27 17:40:42 +02:00
Matija Sosic
a542ad2b95 Added lang design notes from collabedit. 2020-05-22 17:33:10 +02:00
Martin Šošić
8b8458c7f7
Added new Wasp logo to waspc README. 2020-05-07 21:35:23 +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
Matija Sosic
08445b4df6 Bumped react-scripts to 3.4.0, was incompatible with react-dev-utils. 2020-02-27 16:10:05 +01:00
Martin Sosic
aa1072b20f Moved all code into waspc directory. 2020-02-20 12:30:58 +01:00