Skip to content

Commit 0cd27a7

Browse files
Merge pull request #24 from Ruby-Network/bugfixes
Fixes
2 parents 29c3913 + 104ad25 commit 0cd27a7

37 files changed

+2647
-302
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "dynamic"]
2-
path = dynamic
3-
url = https://github.com/nebulaservices/dynamic

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
This is our third edition of [Ruby](https://github.com/ruby-network/ruby-v1). This edition primarily uses the Ruby programming language whilst also adding more features
5252

53-
[![Ruby Network Discord](https://invidget.switchblade.xyz/rbWVGBfuwV?theme=dark)](https://discord.gg/rbWVGBfuwV)
53+
[![Ruby Network Discord](https://invidget.switchblade.xyz/bXJCZJZcJe?theme=dark)](https://discord.gg/bXJCZJZcJe)
5454

5555
## Features
5656

@@ -84,17 +84,15 @@ This is our third edition of [Ruby](https://github.com/ruby-network/ruby-v1). Th
8484

8585
- [x] Basic Password protection for the website (you can set a password in the settings page)
8686

87-
- [ ] Customizable apps and games
88-
89-
- [ ] Partners page for all of our wonderful partners
90-
9187
- [ ] Apps
9288

93-
- [x] History page
89+
- [x] History page
90+
91+
- [ ] Keybinds cheat sheet
9492

9593
- [ ] Backgrounds, using Particles.js and other libraries
9694

97-
- [ ] Multiple Users when self hosting in private mode
95+
- [x] Multiple Users when self hosting in private mode
9896

9997
---
10098

build.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

buildFiles/rhbuild.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

dynamic

Lines changed: 0 additions & 1 deletion
This file was deleted.

main.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@
6868
set :uvPath, File.join(settings.root, 'node_modules', '@titaniumnetwork-dev', 'ultraviolet', 'dist')
6969
uvPath()
7070

71+
# Dynamic "middleware"
72+
set :dynamicPath, File.join(settings.root, 'node_modules', '@nebula-services', 'dynamic', 'dist')
73+
dynamicPath()
74+
7175
# Other routes
7276
get '/rubyHealth/?' do
7377
return "OK"

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"scripts": {
88
"dev": "bundle exec rerun --ignore 'src/public/css/*' --signal 'TERM' -c -w 5 --no-notify -- puma",
99
"start": "bundle exec puma -e production",
10-
"install": "bundle install && npm run build",
11-
"build": "node ./build.js",
10+
"install": "bundle install",
11+
"build:rh": "tsc -p ./rammerhead/tsconfig.json",
1212
"cli": "bundle exec ruby ./cli/cli.rb"
1313
},
1414
"engines": {
@@ -17,14 +17,15 @@
1717
"dependencies": {
1818
"@fastify/http-proxy": "^9.2.1",
1919
"@fastify/middie": "^8.3.0",
20+
"@nebula-services/dynamic": "^0.7.2-patch.2",
2021
"@titaniumnetwork-dev/ultraviolet": "^2.0.0",
2122
"@tomphttp/bare-server-node": "^2.0.0",
2223
"chalk": "^5.2.0",
23-
"esbuild": "^0.19.2",
2424
"fastify": "^4.21.0",
2525
"progress-estimator": "^0.3.1",
2626
"rammerhead": "https://github.com/Ruby-Network/rammerhead/releases/download/v1/rammerhead-2.tgz",
2727
"sass": "^1.62.1",
28+
"typescript": "^5.3.3",
2829
"yaml": "^2.3.1"
2930
}
3031
}

postgres.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

rammerhead/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
# Rammerhead source files for the browser. Compiled for older browsers via [ESBuild](https://esbuild.github.io/).
1+
# Rammerhead source files for browser.
22

3+
- The `rh.ts` file is compiled to `rh.js` and the put into [src/public/js/rh](../src/public/js/rh/).
4+
- Build command is: `yarn build:rh`
5+
- The other folder [./oldJS/](./oldJS/) contains old files that were crappier versions of `rh.ts`
File renamed without changes.

0 commit comments

Comments
 (0)