Commit Graph

1742 Commits

Author SHA1 Message Date
Dillon Kearns
9a4850ba10 Remove log statements. 2022-08-11 20:11:50 -07:00
Dillon Kearns
53b4a08db8 Parse magic links and create sessions. 2022-08-11 20:09:29 -07:00
Dillon Kearns
db6303b2d9 Update send-grid project. 2022-08-11 11:45:47 -07:00
Dillon Kearns
2fd7becbf8 Wire up encrypt/decrypt logic for magic hash on form submit and on page load with query param. 2022-08-11 11:43:43 -07:00
Dillon Kearns
8314fa06c5 Add send-grid package submodule. 2022-08-11 06:03:47 -07:00
Dillon Kearns
2cfac9abeb Wire in encrypt port data source. 2022-08-11 06:01:44 -07:00
Dillon Kearns
ea03083bf2 Add starting point for todos app example. 2022-08-10 15:24:41 -07:00
Dillon Kearns
0d969ed851 Update package-lock. 2022-08-09 11:40:24 -07:00
Dillon Kearns
a07c15b72f Execute logout with client-side submission handler, and support pointing at external actions. 2022-08-09 11:37:10 -07:00
Dillon Kearns
99151f86a6 Update search example. 2022-08-09 09:03:25 -07:00
Dillon Kearns
ad5fda503f Force rebuild. 2022-08-09 08:49:37 -07:00
Dillon Kearns
abfa27ee9f Fix bug that causes extra navigation for form POSTs. 2022-08-09 08:44:12 -07:00
Dillon Kearns
d594cdcc60 Update logout button. 2022-08-09 06:40:32 -07:00
Dillon Kearns
517acbce9d Use new action setup for logout handler. 2022-08-09 06:36:45 -07:00
Dillon Kearns
b7accea2e8 Fix form field names. 2022-08-09 06:34:12 -07:00
Dillon Kearns
426d42b0bf Fix errors. 2022-08-08 10:49:43 -07:00
Dillon Kearns
69bde1d010 Migrate route over to new server-side validation API. 2022-08-08 07:50:30 -07:00
Dillon Kearns
1542e7b502 Use new form API function. 2022-08-08 06:47:47 -07:00
Dillon Kearns
7ae7932e8b Show deleting button text when transitioning. 2022-08-08 05:10:03 -07:00
Dillon Kearns
a0477a0441 Remove redundant functions. 2022-08-03 10:11:41 +02:00
Dillon Kearns
926d56af84 Update package-lock. 2022-08-03 09:40:57 +02:00
Dillon Kearns
de79f1f07c Update hashes from new vite version. 2022-08-03 09:40:22 +02:00
Dillon Kearns
19beffa1a1 Update package-lock files. 2022-08-03 09:40:06 +02:00
Dillon Kearns
6a99994eb5 Remove server-side validation from field in favor of doing it within the combine function. 2022-08-03 09:33:16 +02:00
Dillon Kearns
985e79922c Update docs and remove obsolete globalErrors helper. 2022-08-01 10:40:51 +02:00
Dillon Kearns
d7a2127daf Install latest terser. 2022-08-01 10:36:22 +02:00
Dillon Kearns
3943ed66d9 Install latest mocha. 2022-08-01 10:34:51 +02:00
Dillon Kearns
5446efa32d Remove temporary example. 2022-08-01 10:29:14 +02:00
Dillon Kearns
75b487f204 Add minimum value for shopping cart quantity. 2022-08-01 09:29:52 +02:00
Dillon Kearns
c5777b8b33 Use path.join to prevent duplicate slashes. 2022-07-28 08:22:04 +02:00
Dillon Kearns
e53efe7ad3 Update adapter script. 2022-07-27 21:30:46 +02:00
Dillon Kearns
675271a07e Update netlify config. 2022-07-27 21:16:37 +02:00
Dillon Kearns
c99af60ab5 Use password hashing in smoothies example. 2022-07-27 18:58:08 +02:00
Dillon Kearns
944b78bce4 Add a login helper function. 2022-07-27 18:10:23 +02:00
Dillon Kearns
2328cf3dee Install bcrypt-js. 2022-07-27 18:09:58 +02:00
Dillon Kearns
13e272cabd Fix type. 2022-07-26 09:03:32 +02:00
Dillon Kearns
e191b1c870 Extract function. 2022-07-25 15:57:40 +02:00
Dillon Kearns
fb8e23e5b6 Change argument order. 2022-07-25 15:15:45 +02:00
Dillon Kearns
e51b7b9e57 Inline type alias. 2022-07-25 13:24:06 +02:00
Dillon Kearns
bf21755847 Clear todo input field after entering item. 2022-07-25 13:11:58 +02:00
Dillon Kearns
6a5a9f4c8c Add Validation.fieldStatus. 2022-07-24 21:14:18 +02:00
Dillon Kearns
f1f25f787e Rename types. 2022-07-24 21:00:47 +02:00
Dillon Kearns
1a8e8e4886 Fix errors. 2022-07-24 20:23:48 +02:00
Dillon Kearns
6757b27ea4 Rename types. 2022-07-24 20:20:05 +02:00
Dillon Kearns
ea22871b65 Change Validation type to support constraints for named fields with new design. 2022-07-24 15:06:07 +02:00
Dillon Kearns
6291237bf4 Remove hardcoded form id. 2022-07-24 10:02:06 +02:00
Dillon Kearns
c853df574b Rename functions. 2022-07-24 09:21:55 +02:00
Dillon Kearns
4cd79105f2 Rename functions. 2022-07-24 09:18:10 +02:00
Dillon Kearns
b4c26d5401 Rename functions. 2022-07-24 09:14:48 +02:00
Dillon Kearns
c37eb3668e Rename functions. 2022-07-24 09:11:12 +02:00
Dillon Kearns
94b6649271 Rename type. 2022-07-24 09:09:20 +02:00
Dillon Kearns
4eb3667847 Rename type. 2022-07-24 09:08:43 +02:00
Dillon Kearns
9d8320d5fd Remove unused. 2022-07-24 09:01:28 +02:00
Dillon Kearns
f77db01796 Migrate usage of old Form type. 2022-07-23 20:26:40 +02:00
Dillon Kearns
5fe860a11e Migrate another page to new Form type, and Form.dynamic function. 2022-07-23 18:42:10 +02:00
Dillon Kearns
8a6bd84c11 Migrate another page. 2022-07-23 08:45:20 +02:00
Dillon Kearns
80b418ecf9 Migrate another page. 2022-07-23 08:44:00 +02:00
Dillon Kearns
8680999754 Migrate another page. 2022-07-22 21:29:09 +02:00
Dillon Kearns
4496a72e35 Migrate another page. 2022-07-22 21:26:00 +02:00
Dillon Kearns
8f2c1a04f5 Migrate another page. 2022-07-22 21:23:05 +02:00
Dillon Kearns
54276b82af Remove completed todo. 2022-07-22 21:19:50 +02:00
Dillon Kearns
f978587688 Migrate another page. 2022-07-22 21:18:32 +02:00
Dillon Kearns
82769e3c20 Show button transition. 2022-07-22 21:06:20 +02:00
Dillon Kearns
6a6cb2e17e Remove obsolete attribute. 2022-07-22 21:05:47 +02:00
Dillon Kearns
d1bbef991a Migrate another page. 2022-07-22 21:05:27 +02:00
Dillon Kearns
fbe4b28a12 Migrate another page to new Form type. 2022-07-22 20:59:51 +02:00
Dillon Kearns
0529b0a9d5 Migrate another page. 2022-07-22 20:45:29 +02:00
Dillon Kearns
c01d4f6765 Migrate another module to new form API. 2022-07-22 17:32:43 +02:00
Dillon Kearns
70cd707a96 Migrate module. 2022-07-22 17:29:46 +02:00
Dillon Kearns
f034531062 Migrate tailwind form example to new form type. 2022-07-22 16:31:46 +02:00
Dillon Kearns
9a011c012c Migrate another page to new form type. 2022-07-22 12:02:51 +02:00
Dillon Kearns
170c906e72 Use new Form type for another route. 2022-07-22 09:41:35 +02:00
Dillon Kearns
c2f0e2922a Add form data parser for new type. 2022-07-21 15:31:16 +02:00
Dillon Kearns
fc153e7f48 Remove some hardcoding. 2022-07-20 11:36:50 +02:00
Dillon Kearns
379ffc55ba Stub out new design for Form.init with some Debug.todo calls. 2022-07-19 18:36:08 +02:00
Dillon Kearns
642b9a6f9b Fix command. 2022-07-12 16:28:29 +02:00
Dillon Kearns
4541ce8adc Fix examples. 2022-07-12 13:25:24 +02:00
Dillon Kearns
c5d9fe865d Extract common helper for preparing validation errors and hidden input values in Form module. 2022-07-12 12:25:14 +02:00
Dillon Kearns
b730d50689 Update example. 2022-07-12 11:54:13 +02:00
Dillon Kearns
d78180a140 Wire through useCache flag from DataSource, and expose DataSource.Http.uncachedRequest. 2022-07-12 02:10:21 -07:00
Dillon Kearns
5e89b67b0b Update smoothies app, and remove requestTime cache-busting URL string in preparation for disabling caching for SSR DataSources. 2022-07-09 11:57:16 -07:00
Dillon Kearns
65bf2113ba Update examples. 2022-07-09 09:03:00 -07:00
Dillon Kearns
078a95b5b8 Use clean diff for escaping test. 2022-07-09 08:23:58 -07:00
Dillon Kearns
169bf18561 Rename some WIP function names. 2022-07-09 08:03:02 -07:00
Dillon Kearns
55bdca78c5 Fix typos. 2022-07-08 18:01:54 -07:00
Dillon Kearns
102d27c84b Update docs. 2022-07-08 18:00:30 -07:00
Dillon Kearns
50ce177be1 Rename module. 2022-07-08 17:58:49 -07:00
Dillon Kearns
8ce539a3a3 Rename module. 2022-07-08 17:56:52 -07:00
Dillon Kearns
76d2ac367f Change module name. 2022-07-08 17:51:26 -07:00
Dillon Kearns
03729f89ed Rename module. 2022-07-08 17:40:01 -07:00
Dillon Kearns
d14688b4d8 Remove obsolete state that's managed by Form API now. 2022-07-08 17:35:53 -07:00
Dillon Kearns
fdee339801 Rename variable and add debug output in example. 2022-07-08 15:25:48 -07:00
Dillon Kearns
59b865670e Use Validation type as base for all fields in combiner function. 2022-07-08 14:29:30 -07:00
Dillon Kearns
8cacb7c4f3 Use Form.Errors wrapper type instead of raw Dict to make access more type-safe. 2022-07-08 11:16:24 -07:00
Dillon Kearns
34e2389ab4 Pass html attributes into Form render functions directly. 2022-07-08 11:09:52 -07:00
Dillon Kearns
70b1423bd2 Use builder pattern for rendering forms. 2022-07-08 10:57:22 -07:00
Dillon Kearns
5420de8dfa Remove obsolete function. 2022-07-08 09:59:59 -07:00
Dillon Kearns
79202cbd68 Update package-lock. 2022-07-08 09:57:06 -07:00
Dillon Kearns
344341a93a Wire up prototype for new Form builder pattern for fetcher/transition options. 2022-07-07 16:02:35 -07:00
Dillon Kearns
91d040a7a7 Add escaping example output. 2022-07-06 10:06:18 -07:00