James Hillyerd
2162a4caaa
ui: Add an Effect system to handle global state and Elm Cmds ( #176 )
...
All pages now leverage Effects for most of their Session and Cmd requests. More work required for routing and other lingering Cmd use.
2020-09-12 19:45:14 -07:00
James Hillyerd
289b38f016
Add configurable base path for reverse proxy use ( #169 )
...
* ui: Refactor routing functions into Router record
* ui: Store base URI in AppConfig
* ui: Use basePath in Router functions
* backend: Add Web.BasePath config option and update routes
* Tweaks to get SPA to bootstrap basePath configured
* ui: basePath support for apis/serve
* ui: basePath support for message monitor
* web: Redirect requests to / when basePath configured
* doc: add basepath to config.md
* Closes #107
2020-08-09 15:53:15 -07:00
James Hillyerd
59ae2112f7
ui: Import fixes for src directory
2020-03-29 11:35:22 -07:00
James Hillyerd
cd89d77d9f
ui: Unknown routes redirect to Home
2019-02-18 12:51:49 -08:00
James Hillyerd
a54e0f2438
ui: Clear flash when changing routes
2019-02-18 12:35:27 -08:00
James Hillyerd
34799b9a04
ui: Move ClearFlash & ViewMailbox into Layout
2019-02-17 12:21:20 -08:00
James Hillyerd
cfbd30d8b0
ui: Give Layout it's own Model/Msg
2019-02-17 11:22:59 -08:00
James Hillyerd
d933d591d8
ui: Add button to open recent menu via keyboard
2019-02-15 21:28:29 -08:00
James Hillyerd
ae76ecef00
ui: Passable mobile menu, but desktop broken
2019-01-26 13:26:16 -08:00
James Hillyerd
f47e2cfcc2
ui: Reimplement message monitor as web component, closes #128
2019-01-01 13:23:31 -08:00
James Hillyerd
986377b531
ui: Clarifying renames
2018-12-31 16:47:49 -08:00
James Hillyerd
fac44b7753
ui: rename Page -> Layout
2018-12-31 16:28:22 -08:00
James Hillyerd
c977ded5ba
ui: Reimplement session storage in Main
2018-12-31 16:16:20 -08:00
James Hillyerd
321c5615a5
ui: Respect monitor visible config option
2018-12-31 15:10:33 -08:00
James Hillyerd
c57260349b
web + ui: Pass init cookie from server to client
2018-12-31 15:10:05 -08:00
James Hillyerd
2f7194835d
ui: Remove Session from Main model
2018-12-26 15:22:45 -08:00
James Hillyerd
7c213cd897
ui: Embed Session into page models
2018-12-26 15:22:13 -08:00
James Hillyerd
af3ed04100
ui: Move div.page into Page frame
2018-12-15 20:53:13 -08:00
James Hillyerd
caec5e7c17
ui: Add request context for error flash
...
- webui: Update mailbox, attachment paths
2018-12-15 20:16:20 -08:00
James Hillyerd
f12a72871f
ui: Mailbox purge prompts for confirmation
2018-12-12 22:12:35 -08:00
James Hillyerd
0cf97f5c58
ui: Style error flash, add close link
2018-11-25 09:22:59 -08:00
James Hillyerd
ce59c87250
ui: Eliminate javascript:void, closes #130
2018-11-23 17:26:09 -08:00
James Hillyerd
6215ce77dd
ui: Show dates in browser local timezone
2018-11-23 16:47:22 -08:00
James Hillyerd
ba8e2de475
ui: Cleanup routing
2018-11-23 16:11:33 -08:00
James Hillyerd
0f9585a52b
ui: Add session update logic into Session
2018-11-23 13:57:42 -08:00
James Hillyerd
e71377f966
ui: Refactor update and setRoute with updateWith
2018-11-23 13:02:10 -08:00
James Hillyerd
5be2b57a12
ui: Easy renames and refactors
2018-11-18 19:41:32 -08:00
James Hillyerd
0ed0cd2d64
ui: Production optimization, basic babel config
2018-11-18 16:09:03 -08:00
James Hillyerd
74e7fd1179
ui: Fix external links
2018-11-18 11:36:49 -08:00
James Hillyerd
eaf41949d4
ui: Refactor page view/framing to handle titles
2018-11-18 10:51:26 -08:00
James Hillyerd
fe20854173
ui: Get UI to compile with Elm 0.19
2018-11-17 14:36:47 -08:00
James Hillyerd
b67d5ba376
ui: Reformat with elm-format 0.8.1
2018-11-13 22:06:19 -08:00
James Hillyerd
ecd0c124d4
ui: Re-implement websockets with ports+JS
2018-11-13 21:27:58 -08:00
James Hillyerd
2bbcef072a
ui: Add greeting.html to Home
2018-11-12 20:38:00 -08:00
James Hillyerd
d1954cdd6f
ui: Reformat with new elm-format
2018-11-12 20:38:00 -08:00
James Hillyerd
d05eb10851
ui: Friendly date format for mailbox list, monitor
2018-11-12 20:38:00 -08:00
James Hillyerd
852b9fce26
ui: Refactor mailbox header list into State
2018-11-12 20:38:00 -08:00
James Hillyerd
7dade7f0e4
ui: Initial impl of seen message marking
2018-11-12 20:38:00 -08:00
James Hillyerd
dd14fb9989
ui: Much elm work, such wow
...
- ui: Fix favicon
- webui: Changes to support serving Elm UI
- Static files now served from `/` mount point.
- Old UI handlers moved to `/serve` mount point, some will still be
needed by the Elm UI; safe HTML and attachments for example.
- Update dev-start.sh for new UI, with tip on how to build it.
- ui: Detect browser host:port for websocket URL,
- webui: Remove unused mailbox handlers, rename routes
- Many routes not needed by Elm UI.
- `/serve/mailbox/*` becomes `/serve/m/*`.
- webui: Impl custom JSON message API for web UI,
- ui: Refactor Mailbox view functions,
- ui: Add body tabs for safe HTML and plain text,
- webui: Format plain text for new UI,
- ui: List attachments with view & download links,
2018-11-12 20:34:51 -08:00
James Hillyerd
c5b5321be3
ui: Initial Elm UI import
...
Merged from https://github.com/jhillyerd/inbucket-elm
Uses https://github.com/halfzebra/create-elm-app
2018-11-12 20:34:35 -08:00