Commit graph

190 commits

Author SHA1 Message Date
wearrqqws
55c8c2bf69
Delete nebulamain.js 2022-09-25 20:15:40 -05:00
wearrqqws
b78be3709b
Delete main.css 2022-09-25 20:15:33 -05:00
Green!
22336b10c3
Merge pull request #16 from wearrqqws/responsive
Responsive Nebula
2022-09-25 20:56:53 -04:00
wearrqqws
3b8b1e2639
Merge pull request #1 from wearrqqws/responsive
Make Nebula responsive
2022-09-25 19:44:03 -05:00
wearrqqws
b572e886c2
Make Nebula Responsive
This code makes nebula responsive using media queries, without any breaks in the codebase.
2022-09-25 19:42:57 -05:00
Green!
042d0dfd57
Merge pull request #15 from GreenyDEV/main
Delete static/bob directory lol
2022-09-24 11:44:43 -04:00
Green!
29287b5a66
Delete static/bob directory 2022-09-24 11:43:15 -04:00
Cohen Erickson
37d8d8e16b
Merge pull request #13 from cohenerickson/main
Update package.json
2022-09-23 11:21:26 -05:00
Cohen Erickson
d48db56c1b
Update package.json 2022-09-23 11:20:32 -05:00
BuildTools
32422bce7d testing (again) 2022-09-23 09:29:43 -04:00
BuildTools
3c63440b12 Testing 123 2022-09-23 09:15:10 -04:00
BuildTools
03f6b0c36c Fixed some issue 2022-09-23 09:10:28 -04:00
BuildTools
fad8aa29b8 VERSION 7.10 IS HERE!!! 2022-09-23 09:06:30 -04:00
Cohen Erickson
a2ed1e36ac
Update games link 2022-09-22 15:22:16 -05:00
Green!
9d3980a986
Create version.json 2022-09-19 18:03:01 -04:00
Cohen Erickson
f186613268
Merge pull request #11 from CountBleck/fixes
More changes
2022-09-13 21:37:31 -05:00
CountBleck
ce9ba1e1cd
Bump lockfile 2022-09-13 19:33:28 -07:00
CountBleck
06debb1891
Remove outdated, redundant bare server dependency
The removed "bare-server-node" dependency is discouraged in favor of the
better "@tomphttp/bare-server-node" package.

This commit closes #10 as a result.
2022-09-13 19:29:12 -07:00
CountBleck
762d8d7d39
Add max-age value to serve-static
This change may improve caching for static assets. However, most HTTP
requests are directed to the Bare server, so the improvement the max-age
value makes may be negligible.
2022-09-13 19:06:37 -07:00
CountBleck
1fb7d3c6fc
Switch Cyclone's prefix from /service to /service/next
If a user navigates to a UV link directly, without the service worker
registered, Cyclone's bare server will take over and interpret the URL
as http://go/..., which you definitely didn't want, unless you happen
to work at Google :P
2022-09-13 17:51:37 -07:00
Green!
d62811a34a
Update mobile.html 2022-09-05 18:36:39 -04:00
Cohen Erickson
ca53bb1201
Merge pull request #9 from Avad3/main
Fix proxy handling
2022-09-01 12:11:56 -05:00
Avad3
17ab03dcdc Fix proxy handling 2022-09-01 13:06:02 -04:00
Cohen Erickson
275a6fd445
Merge pull request #8 from Avad3/main
Fix Osana being the default proxy
2022-09-01 12:01:10 -05:00
Avad3
bdd1bbc980 Fix Osana being the default proxy 2022-09-01 12:55:29 -04:00
Green!
5e7dde2534
Merge pull request #7 from CountBleck/fixes
Minification and more!
2022-09-01 09:31:02 -04:00
CountBleck
40e9a564c5
Update and minify Osana
Prior to this commit, Osana was not minified at all. This commit updates
Osana so it is minified. Refraining from minification is just asking for
longer load times.
2022-08-31 20:45:27 -07:00
CountBleck
9fc1780af6
Update Ultraviolet to production mode
Now that the static file server is sane in terms of encoding, this new
production bundle can be used, even with all of its janky regexes.
2022-08-31 19:58:26 -07:00
CountBleck
fffa8fcf0c
Switch from node-static to serve-static
Unlike node-static, serve-static sets the proper encoding. Also, it's
used by Express. :^)
2022-08-31 19:58:26 -07:00
CountBleck
eaa3ce9709
Check the type of proxy being used properly
The block inside `if (proxy == 'uv' || 'osana')` is always going to run,
because 'osana' is a truthy value. I hope those aren't bad habits from
Python.
2022-08-31 17:53:03 -07:00
Green!
05020a75ff
Merge pull request #6 from CountBleck/fixes
More error-handling fixes
2022-08-30 22:53:04 -04:00
CountBleck
a9e3b27cb5 Add UNSAFE last-resort measure to prevent crashes
This is really unsafe, according to Node.js's docs (see link below).
Therefore, this handler is only added if the UNSAFE_CONTINUE environment
variable has a truthy value.

https://nodejs.org/api/process.html#warning-using-uncaughtexception-correctly
2022-08-30 18:58:01 -07:00
Green!
debc93a610
Update README.md 2022-08-30 20:54:12 -04:00
CountBleck
4ff19c9fa5 Improve error handling in some cases
In Cyclone's fetchBare(), the content type wasn't correct, and the
status line should be "Internal Server Error", not just "Error". In
the main request handler, I added similar error handling, just in case.
2022-08-30 15:24:48 -07:00
Cohen Erickson
c79386627a
Fix client script location (Osana) 2022-08-30 15:39:02 -05:00
CountBleck
4ec92aec50 Remove redundant try block in Cyclone's fetch
The error handling in the catch block led to a bug where the request's
body was piped to Cyclone's response. However, since the mock request in
the catch block doesn't have a body property, let alone a pipe method,
that line throws an error.
2022-08-30 10:35:54 -07:00
Green!
f83733b758
fixed "Nebula.dev" header 2022-08-30 13:16:43 -04:00
Green!
423584fa9a fixed incorrect imports for importScripts (Osana) 2022-08-30 17:15:51 +00:00
Green!
5e16f336f7
Merge pull request #5 from Avad3/main
Add Osana
2022-08-30 12:54:42 -04:00
Avad3
8af38aad13 Add Osana 2022-08-30 11:48:12 -04:00
Green!
68a6b18ce1
Merge pull request #4 from CountBleck/fixes
Fix error reporting in Cyclone custom bare
2022-08-30 10:36:54 -04:00
CountBleck
1e932d9518
Fix headers in Cyclone custom bare
Referer is misspelled incorrectly. Also, the Cookie header name was
incorrect, and `req.cookies` does not exist (as far as I know anyway).
2022-08-27 20:57:02 -07:00
CountBleck
26ee852336
Fix error reporting in Cyclone custom bare
console.log(e) is a bad idea in general. Moreover, errors cannot be
written to streams, since they are neither strings nor Buffers.
2022-08-27 20:02:17 -07:00
Green!
1bfb78eed7
Merge pull request #3 from CountBleck/fixes
Several minor, non-breaking changes
2022-08-26 09:51:39 -04:00
CountBleck
5f38e9b636 Bump npm's lockfile 2022-08-25 22:08:44 -07:00
CountBleck
18cca9b49e Read static files from the correct directory
By default, paths in Node.js are resolved based upon the current
directory. This is problematic when the server is started from the home
directory or through systemd. This commit ensures static files are read
relative to app.js's path, instead of the current directory.
2022-08-25 21:56:26 -07:00
CountBleck
9d77455926 Fix a few typos in the documentation
I did not modify docs/officially-supported-sites.md, however. That file
should be modified and reorganized as seen fit.
2022-08-25 21:50:39 -07:00
CountBleck
796bdfaff5 Move app.mjs to app.js
app.js was originally a stub that imported app.mjs, which is redundant.
This change is split into two commits to preserve Git history for what
is now app.js.
2022-08-25 21:34:23 -07:00
CountBleck
cf52907e96 Remove app.js
This will be replaced by app.mjs in the next commit.
2022-08-25 21:33:42 -07:00
CountBleck
a83063cf10 Modify keyword/license fields to be more accurate
The license field is supposed to have a short identifier representing
the project's license, like "MIT". The keywords field is for npm's
search, if this package is ever published.
2022-08-25 21:31:48 -07:00