Commit Graph

67 Commits

Author SHA1 Message Date
Johannes Zellner
a5b7972be7 Only track platform status if Cloudron is registered 2023-02-02 15:12:37 +01:00
Johannes Zellner
16574c7c5e Fixup initial subscription handling when not yet registered 2022-12-14 10:15:21 +01:00
Johannes Zellner
b6ca187fd3 Reduce platform status polling to 5sec 2022-11-30 21:07:55 +01:00
Johannes Zellner
fc08c45add Show notification if platform status is not Ready 2022-11-30 20:54:58 +01:00
Girish Ramakrishnan
b3cdcb2adb mandatory 2fa: redirect if the browser URL is changed directly 2022-08-16 10:01:39 +02:00
Johannes Zellner
c5b022cc19 Ensure the navbar notification number is correctly in-sync 2022-05-23 17:30:52 +02:00
Johannes Zellner
319db4a9b1 Be explicit about backgroundImage existance 2022-05-17 20:16:33 +02:00
Johannes Zellner
ae0b5f010b Add UI bits for setting backgroundImage 2022-05-14 21:09:24 +02:00
Johannes Zellner
9545403e00 show subscription expired badge for all users 2021-10-12 18:50:23 +02:00
Johannes Zellner
9bbd1af259 Ensure notifications are only fetched and shown for at least admins 2021-07-07 19:07:43 +02:00
Johannes Zellner
59f257346d We don't allow setting notifications to unread anymore so also prevent state issues when decreasing the counter 2021-06-30 17:24:41 +02:00
Girish Ramakrishnan
5aa6e18ea7 sync notification UI with backend changes 2021-05-29 16:03:38 -07:00
Johannes Zellner
53e50912e6 Allow local network development to test mobile/iOS better 2021-03-18 14:43:17 +01:00
Girish Ramakrishnan
29f7b771a1 add setup_token to setup and restore
part of cloudron/box#751
2020-12-21 23:59:30 -08:00
Johannes Zellner
15b9ce0ee3 add ability to set cloudron language for admins 2020-11-18 00:28:10 +01:00
Johannes Zellner
93a7137d10 Move reboot server dialog and logic to main view 2020-11-05 16:45:45 +01:00
Johannes Zellner
6b64dd52b9 Remove console.log()s 2020-07-13 12:59:50 +02:00
Girish Ramakrishnan
fb07dc2294 implement mandatory 2fa
part of #716
2020-07-10 13:10:07 -07:00
Johannes Zellner
d2ac8536b3 402 is a license error and also returned if no appstore account setup 2020-06-18 14:50:24 +02:00
Johannes Zellner
038d6fe2c3 For immediate update of the footer and cloudron name we have to rely on config here 2020-03-06 17:57:38 -08:00
Johannes Zellner
19e2919d5b Add reconnect handler and make reboot state better reflected in the notfications 2020-03-06 02:38:21 -08:00
Johannes Zellner
7ce4effc2d Remove all .admin usage 2020-02-24 17:29:20 +01:00
Johannes Zellner
81fb4ab435 Add appstore accessToken to subscription setup links 2020-02-21 13:08:20 +01:00
Johannes Zellner
21e7190b72 Remove subscription setup modal, instead open cloudron.io directly 2020-02-14 14:16:04 +01:00
Johannes Zellner
b6e00a3107 Do not redirect to error.html if the angular main application fails to init
We now only show the offline banner and retry the application init until
box comes back up
2019-09-05 22:23:28 +02:00
Johannes Zellner
2287a550d7 Move subscription setup outlink button inside iframe for better label control 2019-08-14 15:48:10 +02:00
Johannes Zellner
2039a143ac Do not crash if some apis are only for admins 2019-05-14 16:41:08 +02:00
Girish Ramakrishnan
5695da1d86 refresh notifications every minute
no reason to bombard the server, it's not like this is realtime
2019-05-13 16:13:09 -07:00
Girish Ramakrishnan
48c3372c33 Use config.features to customize UI 2019-05-07 10:11:54 -07:00
Johannes Zellner
83e2bd6ade Distinguish between not yet registered and invalid appstore token
This is to avoid throwing errors
2019-05-06 11:07:20 +02:00
Girish Ramakrishnan
9c3cae5eca lint: quotes 2019-05-05 09:05:06 -07:00
Girish Ramakrishnan
51521926e7 Use new registration API 2019-05-04 22:02:02 -07:00
Girish Ramakrishnan
fec82d127e Use the new getSubscription API in main controller 2019-05-04 21:57:49 -07:00
Girish Ramakrishnan
64a58921a8 caas: show notifications
update notification will be moved to backend
2019-03-07 13:25:20 -08:00
Girish Ramakrishnan
4542564709 Move reboot required check to server side notification 2019-02-19 09:15:15 -08:00
Johannes Zellner
7ec12f487b Remove client side backup configuration checks 2019-02-06 15:48:35 +01:00
Johannes Zellner
b268368e3d Make linter happy 2019-01-17 13:26:47 +01:00
Johannes Zellner
59c8211c41 Do not show notification bubbles for notification items 2019-01-17 13:26:17 +01:00
Johannes Zellner
b764f1c861 For now make the notification bubble action go to notification view 2019-01-10 13:29:59 +01:00
Johannes Zellner
db02cbb575 Always refresh notifications 2019-01-08 14:33:47 +01:00
Johannes Zellner
749dd20704 Poll for new notifications every 10sec 2019-01-08 14:08:29 +01:00
Johannes Zellner
f1663d0fbf Do not make notifications persistent 2019-01-08 12:41:52 +01:00
Johannes Zellner
38cb2201a9 Update toplevel notification status 2019-01-08 12:36:08 +01:00
Johannes Zellner
59c7c1e302 Use the new notification onClick api in places 2019-01-07 17:30:01 +01:00
Johannes Zellner
48f63ec761 Update angular-ui-notification and show unread notifications 2019-01-07 17:23:26 +01:00
Girish Ramakrishnan
7c972758af Show progress message in setup and restore 2018-12-16 11:04:25 -08:00
Girish Ramakrishnan
a485df2f79 Fix usage of webadminStatus 2018-12-14 16:34:57 -08:00
Girish Ramakrishnan
d8dfa89f87 rework update ui
- this is not modal anymore
- can be canceled
2018-11-30 20:55:37 -08:00
Johannes Zellner
07edcc5f94 Show notification if reboot is required 2018-11-26 08:48:58 +01:00
Johannes Zellner
deed95e9a9 Update progress needs to be checked some other way now 2018-11-20 11:36:17 +01:00