Lance Edgar
721600b12d
Add home page component; fix user state issues
...
must be sure to keep "anonymous" user represented as {} instead of
null, otherwise getting errors. this also fixes the menu upon user
login; previously it wasn't showing most options
2022-08-26 17:56:31 -05:00
Lance Edgar
e537d8e3a6
Put available settings in the store; etc.
...
also add `build-watch` script for dev's sake
menu component no longer allows anonymous feedback by default
logo component gets a `centered` prop
2022-08-09 14:38:41 -05:00
Lance Edgar
3c4e9567a9
Add user_is_admin
flag to app store, plus logic to set/clear it
2020-02-11 13:33:54 -06:00
Lance Edgar
a80a42fb56
Add session_established
flag in global store
2020-02-11 11:06:11 -06:00
Lance Edgar
7664f9bbb9
Delay showing the app until user info is fetched
2020-02-10 19:53:36 -06:00
Lance Edgar
5451f87f30
Remove some redirect magic, for logged-in users
...
that is now the custom app's responsibility
2020-02-10 17:35:45 -06:00
Lance Edgar
a1a9aafdac
Stop forcing redirect to login for anonymous user
...
custom app should be responsible for that i think..yes?
2020-02-10 16:31:33 -06:00
Lance Edgar
f0d94cf06b
Let caller control whether app footer is shown
2020-02-10 16:31:19 -06:00
Lance Edgar
e131305902
Force redirect to login page, if settings say so
...
this is pretty rudimentary, probably needs to be smarter or else should maybe
just be defined within final app instead of byjove
2020-02-10 14:18:28 -06:00
Lance Edgar
fb5e6cde46
Add page-content-wrapper to main app template
2020-02-08 21:21:39 -06:00
Lance Edgar
7f1ef1b335
Fix bug when checking user session
...
must have a user before can be root
2019-12-02 13:53:23 -06:00
Lance Edgar
817d8bef13
Add app/menu support for "become / stop being root" feature
2019-11-26 16:43:51 -06:00
Lance Edgar
67155acf40
Assign background color, if specified by API
2019-11-15 15:10:52 -06:00
Lance Edgar
84b2a2bf70
Cleanup global state logic a bit, for current user and permissions
...
this still isn't ideal perhaps, but leaves some clues for improvement
2019-11-12 11:49:07 -06:00
Lance Edgar
554736e842
Add "app" component, for basic layout and housekeeping
2019-11-06 13:01:27 -06:00