diff --git a/.travis.yml b/.travis.yml index 24dc7f94c7..ae9f3c8339 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: ruby rvm: - - 2.2.7 + - 2.5.1 before_install: - gem install bundler - cp -r install/game.distr game diff --git a/Gemfile b/Gemfile index e6e4470ede..6839e7927b 100644 --- a/Gemfile +++ b/Gemfile @@ -17,17 +17,14 @@ gem 'dentaku', '~>3.1' gem 'json', '~> 2.1.0' gem 'redcarpet', '~> 3.4.0' gem 'html2markdown', '0.0.3' -gem 'sinatra', '~> 2.0.1' +gem 'sinatra', '~> 2.0.4' gem 'thin', '~> 1.7.2' -gem 'sinatra-reloader', '~> 1.0' -gem 'sinatra-flash', '~> 0.3.0' gem 'sinatra-cross_origin', '~>0.4.0' gem 'aws-sdk-s3', '~> 1.8.2' -gem 'redis-rack', '~> 2.0.4' gem 'rubyzip', '~> 1.2.2' gem 'diff-lcs', '~> 1.3' gem 'diffy', '~> 3.2.0' gem 'nokogiri', '~> 1.8.2' -gem 'sass', '~>3.5.5' +gem 'sassc', '~> 2.0.0' gem 'htmlentities', '~>4.3.4' gem 'handlebars', '~>0.8.0' diff --git a/Gemfile.lock b/Gemfile.lock index 24b1266592..5458417523 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -20,7 +20,6 @@ GEM aws-sdk-kms (~> 1) aws-sigv4 (~> 1.0) aws-sigv4 (1.0.2) - backports (3.11.1) bcrypt (3.1.11) concurrent-ruby (1.0.5) daemons (1.2.6) @@ -32,7 +31,7 @@ GEM http_parser.rb (~> 0.6.0) erubis (2.7.0) eventmachine (1.2.5) - ffi (1.9.23) + ffi (1.9.25) handlebars (0.8.0) handlebars-source (~> 4.0.5) therubyracer (~> 0.12.1) @@ -50,8 +49,7 @@ GEM log4r (1.1.10) mini_portile2 (2.3.0) minitest (5.11.3) - multi_json (1.13.1) - mustermann (1.0.2) + mustermann (1.0.3) nest (3.1.1) redic nokogiri (1.8.2) @@ -60,22 +58,13 @@ GEM nest (~> 3) redic (~> 1.5.0) stal - rack (2.0.4) - rack-protection (2.0.1) + rack (2.0.6) + rack-protection (2.0.4) rack rake (12.3.0) - rb-fsevent (0.10.3) - rb-inotify (0.9.10) - ffi (>= 0.5.0, < 2) redcarpet (3.4.0) redic (1.5.0) hiredis - redis (4.0.1) - redis-rack (2.0.4) - rack (>= 1.5, < 3) - redis-store (>= 1.2, < 2) - redis-store (1.4.1) - redis (>= 2.2, < 5) ref (2.0.0) rspec (3.7.0) rspec-core (~> 3.7.0) @@ -91,28 +80,15 @@ GEM rspec-support (~> 3.7.0) rspec-support (3.7.1) rubyzip (1.2.2) - sass (3.5.5) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sinatra (2.0.1) + sassc (2.0.0) + ffi (~> 1.9.6) + rake + sinatra (2.0.4) mustermann (~> 1.0) rack (~> 2.0) - rack-protection (= 2.0.1) + rack-protection (= 2.0.4) tilt (~> 2.0) - sinatra-contrib (2.0.1) - backports (>= 2.0) - multi_json - mustermann (~> 1.0) - rack-protection (= 2.0.1) - sinatra (= 2.0.1) - tilt (>= 1.3, < 3) sinatra-cross_origin (0.4.0) - sinatra-flash (0.3.0) - sinatra (>= 1.0.0) - sinatra-reloader (1.0) - sinatra-contrib stal (0.3.0) redic (~> 1.5) therubyracer (0.12.3) @@ -152,16 +128,13 @@ DEPENDENCIES ohm (~> 3.1.1) rake (~> 12.3) redcarpet (~> 3.4.0) - redis-rack (~> 2.0.4) rspec (~> 3.7.0) rubyzip (~> 1.2.2) - sass (~> 3.5.5) - sinatra (~> 2.0.1) + sassc (~> 2.0.0) + sinatra (~> 2.0.4) sinatra-cross_origin (~> 0.4.0) - sinatra-flash (~> 0.3.0) - sinatra-reloader (~> 1.0) thin (~> 1.7.2) timezone (~> 1.2.10) BUNDLED WITH - 1.16.1 + 1.16.3 diff --git a/bin/setup_server b/bin/setup_server index 6421bd3f88..b0bfd37607 100755 --- a/bin/setup_server +++ b/bin/setup_server @@ -118,7 +118,7 @@ if [ -e /etc/rc.local ] then sed -i -e '$i \/root/onboot.sh &\n' /etc/rc.local else - printf '%s\n' '#!/bin/bash' '/root/onboot.sh' 'exit 0' | sudo tee -a /etc/rc.local + printf '%s\n' '#!/bin/bash' '/root/onboot.sh &\n' 'exit 0' | sudo tee -a /etc/rc.local fi sudo chmod +x /etc/rc.local diff --git a/config.ru b/config.ru deleted file mode 100644 index b3b9bd1026..0000000000 --- a/config.ru +++ /dev/null @@ -1,27 +0,0 @@ -require 'rubygems' -require 'bundler' - -Bundler.require - -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib')) -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'website')) - -require 'sinatra/base' -require 'thin' -require "sinatra/reloader" -require 'sinatra/flash' -require 'compass' -require 'redis-rack' -require 'diff/lcs' - -require 'aresmush' - -require 'web_server.rb' -require 'web_bootstrapper.rb' -require 'web_notifier.rb' -require 'engine_api_connector.rb' - -bootstrapper = AresMUSH::WebBootstrapper.new -bootstrapper.start - -run AresMUSH::WebApp \ No newline at end of file diff --git a/engine/aresmush.rb b/engine/aresmush.rb index 468ce792c3..accc85fe02 100644 --- a/engine/aresmush.rb +++ b/engine/aresmush.rb @@ -28,11 +28,10 @@ require 'sinatra/base' require 'sinatra/cross_origin' -require 'sinatra/reloader' require 'thin' require 'rubygems' require 'zip' -require 'sass' +require 'sassc' module AresMUSH diff --git a/engine/styles/ares.scss b/engine/styles/ares.scss index 31e5e66f41..97a11693dd 100644 --- a/engine/styles/ares.scss +++ b/engine/styles/ares.scss @@ -144,7 +144,7 @@ a:focus{ } .navbar { - z-index: 9999; + z-index: 2000; } .navbar-collapse.in { @@ -354,6 +354,10 @@ mark { padding: 10px; } +.modal { + z-index: 3000; +} + /* ------------------------- GOOGLE SEARCH OVERRIDES ------------------------- */ @@ -487,6 +491,9 @@ SIDEBAR text-align: center; font-size: 1.5em; color: $faded-text-color; + padding: 0px; + margin-top: 20px; + margin-bottom: 10px; } .search-bar { @@ -956,7 +963,7 @@ input[type='file'] { /*.char-scene-list li:before { content: "\2666 "; }*/ -@media (max-width:800px) { +@media (max-width:992px) { .profile-wrap { padding: 10px; @@ -981,6 +988,31 @@ input[type='file'] { padding-right: 0px; } + +.body-row +{ + display: flex; + flex-direction: column; + +} + +.left-sidebar { + order: 2; +} + +.right-sidebar { + order: 2; +} + +.left-body { + order: 1; +} + +.right-body { + order: 1; +} + + } @import "custom_style"; \ No newline at end of file diff --git a/install/game.distr/config/demographics.yml b/install/game.distr/config/demographics.yml index d5329a6cbd..67b37bd004 100644 --- a/install/game.distr/config/demographics.yml +++ b/install/game.distr/config/demographics.yml @@ -107,3 +107,4 @@ demographics: width: 20 title: Position value: Position + private_properties: [] diff --git a/install/game.distr/config/website.yml b/install/game.distr/config/website.yml index 2ce6562bd2..46e5a09ea6 100644 --- a/install/game.distr/config/website.yml +++ b/install/game.distr/config/website.yml @@ -1,20 +1,127 @@ --- website: + allow_html_in_markdown: true + character_gallery_group: Faction + character_gallery_subgroup: Position + left_sidebar: false + max_upload_size_kb: 5000 + portal_requires_registration: false + restricted_pages: + - home sitemap_update_cron: hour: - 2 minute: - 17 - allow_html_in_markdown: true - max_upload_size_kb: 5000 - character_gallery_group: Faction - character_gallery_subgroup: Position - portal_requires_registration: false + top_navbar: + - menu: + - page: chargen + title: Create a Character + - page: roster + title: Pre-Made Characters + - page: who + title: Who's Online + - divider: true + - page: scenes-live + title: Active Scenes + - page: scene-create + title: Start New Scene + - divider: true + - page: play + title: Play via Web Client + title: Play + - title: Story + menu: + - page: characters + title: Characters + - page: scenes + title: Scenes + - page: plots + title: Plots + - title: Community + menu: + - page: chat + title: Chat + - page: forum + title: Forum + - page: events + title: Events + - page: players + title: Players + - title: Directory + menu: + - page: characters + title: Characters + - page: census + title: Census + - page: actors + title: Actors + - page: roster + title: Roster + - divider: true + - page: scenes + title: Scenes + - page: plots + title: Plots + - page: locations + title: Locations + - page: combats + title: Combats + - divider: true + - page: files + title: Files + - title: FS3 + menu: + - page: fs3skills-abilities + title: Abilities List + - page: fs3combat-gear + title: Gear List + - divider: true + - target: blank + title: Player's Guide