Commit Graph

1375 Commits

Author SHA1 Message Date
Wiktor Toporek
dad2fa563d Refactor Win platform path fix to verbose code with comment according to CR comment. 2020-03-15 22:55:53 +01:00
Wiktor Toporek
451ed1ea40 Fix invalid generator output on Win platform due to path separator. 2020-03-15 01:59:54 +01:00
Stuart Dum
0cc7e2a077
Fix Secrets.succeed arguments in example 2020-03-13 14:27:57 -04:00
Stuart Dum
6f52e85ebf Fix Secrets.succeed arguments in example 2020-03-13 13:56:37 -04:00
Steven Vandevelde
07c001d998 Adjust tests 2020-03-11 17:03:47 +01:00
Steven Vandevelde
6cd14f53ef Fix prerendering 2020-03-11 16:55:17 +01:00
Steven Vandevelde
4d27264689 Fix rebase conflict 2020-03-11 15:17:02 +01:00
Dillon Kearns
023615a436 Make subscriptions and onPageChange part of the application config init instead of a builder. 2020-03-11 05:51:12 -07:00
Dillon Kearns
279e2c60ce Replace some instances of the old Builder module. 2020-03-10 22:28:22 -07:00
Dillon Kearns
602a03eaf0 Use builder in external data example project. 2020-03-10 22:22:17 -07:00
Dillon Kearns
033659d2ac Remove unused import exposing. 2020-03-10 21:57:31 -07:00
Dillon Kearns
81389998c4 Update docs for Builder type. 2020-03-10 21:55:11 -07:00
Dillon Kearns
7febc91635 Move builder code over to replace Pages.Platform.application. 2020-03-10 21:49:37 -07:00
Dillon Kearns
3ba0e52939 Rename type variables. 2020-03-10 21:28:18 -07:00
Dillon Kearns
fa1acb9967 Add some documentation boilerplate. 2020-03-10 21:11:23 -07:00
Dillon Kearns
d0f7c3a2a2 Rename userMsg and userModel type variables to msg and model. 2020-03-10 20:59:25 -07:00
Steven Vandevelde
dec9b4371d Use canonical urls in seo tags 2020-03-10 16:32:39 +01:00
Steven Vandevelde
8f44ddfb05 Fix statichttp and url-change issues 2020-03-10 16:31:28 +01:00
Steven Vandevelde
1a5175d0a0 Make urls relative using the base element 2020-03-10 16:31:28 +01:00
Dillon Kearns
6917a09c73 Clean up use of sitemap plugin and remove redundant code. 2020-03-10 07:22:36 -07:00
Dillon Kearns
1d0ade9fd9 Simplify type of documents list in builder init. 2020-03-09 20:38:33 -07:00
Dillon Kearns
5eb155459f Clean up rss plugin. 2020-03-09 17:11:33 -07:00
Dillon Kearns
74b7cb90d0 Update the example RSS plugin and wire it into example site. 2020-03-09 16:28:41 -07:00
Dillon Kearns
e556a6a7be Add a helper to add global head tags. 2020-03-09 15:48:30 -07:00
Dillon Kearns
1383387e46 Make subscriptions optional. 2020-03-09 14:38:00 -07:00
Dillon Kearns
299b6392bf Make onPageChange optional and add a builder function for it. 2020-03-09 13:45:37 -07:00
Dillon Kearns
9faab45a8e Update builder. 2020-03-09 13:27:52 -07:00
Dillon Kearns
b8308cf4df Constraint subscriptions builder. 2020-03-09 10:55:10 -07:00
Dillon Kearns
22bcaf1c8a withFileGenerator is wired through. 2020-03-09 10:29:20 -07:00
Dillon Kearns
a13945e7d6 Add builder for generate files. 2020-03-09 10:18:39 -07:00
Dillon Kearns
a1916db9ee Get stubbed out prototype. 2020-03-09 10:13:32 -07:00
Dillon Kearns
f501482d40 Filter out the CLI-only keys from the static page data dict. 2020-03-07 12:34:57 -08:00
Dillon Kearns
d44b234dab Fetch static http data for generateFiles hook. 2020-03-07 12:26:49 -08:00
Dillon Kearns
1bc941de89 Hardcode empty generate files as a first step before actually performing the static http requests. 2020-03-07 11:28:13 -08:00
Dillon Kearns
1261b83d96 Store build timestamp in a variable in JS so that the same time is used for the generated CLI and UI modules. 2020-03-05 14:16:42 -08:00
Dillon Kearns
09a7a78ac1 Bump elm package version. 2020-03-04 09:02:51 -08:00
Dillon Kearns
ad17155ab8
Merge pull request #75 from dillonkearns/unoptimized-requests
Add an escape hatch for unoptimized StaticHttp requests
2020-03-04 09:01:19 -08:00
Dillon Kearns
779bb2ebc5 Update changelog. 2020-03-04 08:59:27 -08:00
Dillon Kearns
4e47ca7326 Add note about mime type argument. 2020-03-04 08:55:44 -08:00
Dillon Kearns
9c67e97827 Add missing Secrets.succeeds to docs. 2020-03-04 08:53:06 -08:00
Dillon Kearns
3cdbe8b0a3 Include content type in StringBody. Include more context in bad http requests. 2020-03-04 08:24:06 -08:00
Dillon Kearns
3ce0df4526 Pass through the body values to StaticHttp requests. 2020-03-03 20:54:19 -08:00
Dillon Kearns
49edbe52c9 Expose StaticHttp.jsonBody. 2020-03-03 20:34:26 -08:00
Dillon Kearns
5f66c46ef0 Update docs. 2020-03-03 08:04:24 -08:00
Dillon Kearns
f158af027e Expose specific variants of Expect explicitly, and change String version to give a Result. 2020-03-03 07:54:16 -08:00
Dillon Kearns
ce28a25acb Add a simple copy-pasted API for StaticHttp Expect values. 2020-03-02 22:08:00 -08:00
Dillon Kearns
25bbea6f9b Add an escape hatch for unoptimized StaticHttp requests. 2020-03-01 19:09:39 -08:00
Dillon Kearns
aa42e35376 Reload content cache on hot reload updates. 2020-02-27 17:51:55 -08:00
Dillon Kearns
bb8bb38d30 1.2.10 2020-02-25 11:44:59 -08:00
Dillon Kearns
dd964fe2df Remove offline-ready caching service worker code for now.
Context: this was creating some issues for at least one user where workbox was serving up stale data from the precache. The precache for main.js and index.html were overshadowing the rule for offline navigation fallback routing. So stale data was being served up. This may have been because of a cloudflare CDN patch.
2020-02-25 11:44:41 -08:00