e9f4934bf0show package list when selecting a custom image in the instance wizardDragos2021-05-06 19:53:34 +03:00
621e223b57fixed bugs reported by MarsellDragos2021-05-06 19:21:09 +03:00
6fe512f051Fix proxying so SPA in dev mode is happy.
Marsell Kukuljevic
2021-05-02 01:13:30 +02:00
d07d11cf04Update backend to reflect that SPA now loads package and image rates from static/assets/data/(images|packages).json
Marsell Kukuljevic
2021-04-29 13:32:12 +02:00
aabc192b31added prices and fixed the title of all pagesDragos2021-04-29 09:56:44 +03:00
ead7c9188bAuto stash before merge of "master" and "origin/master"Dragos2021-04-28 18:59:19 +03:00
17e2a5f86aAdd support for serving gzipped static content. Between minification and this, the client-size app is now about 1MB in size when built for production.
Marsell Kukuljevic
2021-04-28 17:28:31 +02:00
60a5cd91c8Update README.md on building app/ for production.
Marsell Kukuljevic
2021-04-28 14:11:56 +02:00
f32465aeafAdd details to README.md about SmartOS metadata used for setting package and image rates, and fix an error regarding the HTTP paths to /images.json and /package.json
Marsell Kukuljevic
2021-04-27 22:19:08 +02:00
1ed6c05011Add support for /rates/packages.json and /rates/images.json. These files are served up from the rates/ directory, although in production the current in-repo files are substituted with JSON pulled in from the VM's internal_metadata configuration.
Marsell Kukuljevic
2021-04-27 00:03:21 +02:00
54b911bcd4When server.js receives a static path it does not recognize, it serves up index.html instead. This is useful when a user reloads a page in the SPA -- server.js does not know this path, but by serving up the SPA again the SPA knows how to handle that URL. This makes the app behave in a manner a user expects when reloading a page.
Marsell Kukuljevic
2021-04-26 22:32:35 +02:00
066ec2b96ffixed issue found during testsDragos2021-04-26 15:34:17 +03:00
51028156c9Document installation of app, including in production. Add smf manifest so we can run this in a Joyent-branded zone too.
Marsell Kukuljevic
2021-04-11 20:51:52 +02:00
db8758cc30Attempt to fix 408 errors from the cueball connection pool. The pool now regularly pings cloudapi's /. Also (temporarily) silenced cueball noise.
Marsell Kukuljevic
2021-04-11 00:07:01 +02:00
3c38a932edLog all requests, using the bunyan format (JSON with certain fields). This is most easily consumed with the bunyan formatter; see README.md for more details.
Marsell Kukuljevic
2021-04-10 23:06:24 +02:00
8672439358Changed how paths are handled by server.js, to more closely match the Angular dev environment. New paths:
Marsell Kukuljevic
2021-04-10 21:14:09 +02:00
18d35b5172Eliminate /token path from server.js, to match Dragos' env.
Marsell Kukuljevic
2021-04-10 20:19:23 +02:00
991f5cabdcFix the handling of DELETE and PUT calls, and stop unintentional deserialization of JSON instead of passing it through as an opaque string.
Marsell Kukuljevic
2021-03-26 22:46:57 +01:00
df9677efe5Elaborate a bit on the login and interaction cycle in the README.
Marsell Kukuljevic
2021-02-02 16:20:21 +01:00
ff04edd2b8Update README with some key-related details.
Marsell Kukuljevic
2021-01-31 21:43:25 +01:00
6aea7758eeServer uses TLS, sign all requests to cloudapi, and enable SSO.
Marsell Kukuljevic
2021-01-26 17:22:37 +01:00
9abb845eecBasic proxying to cloudapi, and serving static content.
Marsell Kukuljevic
2021-01-12 23:39:15 +01:00