Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #197

Open
wants to merge 2,161 commits into
base: master
Choose a base branch
from
Open

Dev #197

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2161 commits
Select commit Hold shift + click to select a range
5778e72
Resize tab icons to all same vertical to even up layout
Lexxie9952 Mar 21, 2024
df4bbf4
Tool tips in city list
Lexxie9952 Mar 21, 2024
e2e610a
Game launch horizontal header bar go from old ebony to light blue stone
Lexxie9952 Mar 21, 2024
745564d
New civclient.css final Spring 2024
Lexxie9952 Mar 21, 2024
5469ab7
Spring 2024 Style: Supporting image backgrounds
Lexxie9952 Mar 21, 2024
ab04ebc
Update freeciv-web-logo2.png
Lexxie9952 Mar 21, 2024
3e9b261
Remove dev/ debug messages
Lexxie9952 Mar 22, 2024
406937b
Reposition turn done button into narrower game status header bar
Lexxie9952 Mar 22, 2024
0d4774f
MP2D,E
Lexxie9952 Mar 22, 2024
e6af88f
Suppress non-existent tech warning messages for techs not shared by a…
Lexxie9952 Mar 22, 2024
59951fc
Latejoin gold starts on T2, not T1
Lexxie9952 Mar 22, 2024
5bfd9ec
Fix possible bug reported by tc4 player
Lexxie9952 Mar 22, 2024
fae72aa
Change front page tab styling for game types.
Lexxie9952 Mar 22, 2024
ac6f60b
Update freeciv-helpdata.js
Lexxie9952 Mar 22, 2024
2da53a4
Host Vigil Flow Chart locally
Lexxie9952 Mar 23, 2024
f24fd11
Update controls.txt
Lexxie9952 Mar 23, 2024
a8f4324
Update controls.txt
Lexxie9952 Mar 23, 2024
cd7416c
Create a "fake_player_num" for observers.
Lexxie9952 Mar 23, 2024
a688ea9
Block unwanted modkeys from triggering commands that don't use those …
Lexxie9952 Mar 23, 2024
74c8720
minor
Lexxie9952 Mar 23, 2024
b31aff4
minor
Lexxie9952 Mar 23, 2024
b01e614
typos
Lexxie9952 Mar 23, 2024
7a8f38e
minor
Lexxie9952 Mar 23, 2024
d79439f
minor
Lexxie9952 Mar 23, 2024
00a324b
Clean up unused images
Lexxie9952 Mar 23, 2024
6c07e27
Update controls.txt
Lexxie9952 Mar 23, 2024
cbd0733
Update client_main.js
Lexxie9952 Mar 23, 2024
4d7b783
MP2D,E
Lexxie9952 Mar 24, 2024
bbc3020
Alternate hotkeys/clicks for users having difficult (trade route, hel…
Lexxie9952 Mar 24, 2024
51606d7
Update music.js
Lexxie9952 Mar 24, 2024
26af7f2
Fix down arrow (numpad 2) key
Lexxie9952 Mar 25, 2024
9ffd57d
Fix typo that causes inability to change gov
Lexxie9952 Mar 25, 2024
59a15bf
MP2D,E
Lexxie9952 Mar 27, 2024
ce9667f
minor
Lexxie9952 Mar 27, 2024
a861b35
Client - change min,max const declarations
Lexxie9952 Mar 31, 2024
d92c57f
MP2D,E Tribesmen able to build Oil Wells (Chand Baori allows late gam…
Lexxie9952 Apr 1, 2024
d7416c7
MP2D,E clarification of Appian Way bonus as Canal is a road-type
Lexxie9952 Apr 1, 2024
92c1edc
Make screen size detections functions as const
Lexxie9952 Apr 1, 2024
72a46fd
Better tooltips city governor tab
Lexxie9952 Apr 1, 2024
864fdcf
fix last commit
Lexxie9952 Apr 1, 2024
96cd65c
Bring in game.server.techleakstyle with LOG2 as alternate style
Lexxie9952 Apr 1, 2024
a73ada4
UI multipack update
Lexxie9952 Apr 2, 2024
f83808f
Add to last commit for 1600x1000ish screens partaking in some feature…
Lexxie9952 Apr 2, 2024
276f044
Experiment: Small bottom margin may prevent clipping in some cases fo…
Lexxie9952 Apr 2, 2024
429c308
Make "is_med_large" screen setting exactly straddle the "gaps" betwee…
Lexxie9952 Apr 2, 2024
bd0d2ea
Server and client: hard-bake in sciencebox to tech cost vis-à-vis blu…
Lexxie9952 Apr 2, 2024
bdb7d58
Fix bug when checking for metaKey if there is no event object.
Lexxie9952 Apr 2, 2024
0a550c2
1.Fix connect_road undefined error going over rivers before bridges, …
Lexxie9952 Apr 3, 2024
2044f4e
Couto Misto nation and template to add more nations to FCW
Lexxie9952 Apr 3, 2024
65837cf
MP2E defaults to LOG2 techleakstyle
Lexxie9952 Apr 3, 2024
4eb05b4
minor
Lexxie9952 Apr 4, 2024
ca79965
Add Romani civilization
Lexxie9952 Apr 4, 2024
0bc0e85
MP2D,E
Lexxie9952 Apr 4, 2024
d3cc391
MP2D,E improve html helptext for last commit
Lexxie9952 Apr 4, 2024
bfb0e22
Bugfix: re-evaluating legal tracks at TC should do_filtered_tracklist…
Lexxie9952 Apr 4, 2024
7f21996
Classic+ adjust ship prices
Lexxie9952 Apr 5, 2024
5ea7532
Classic+ helptext for masonry that it allows building Forts.
Lexxie9952 Apr 5, 2024
55b0092
MP2D,E doc corrections
Lexxie9952 Apr 7, 2024
d09c070
Update freeciv-helpdata.js
Lexxie9952 Apr 7, 2024
1ccca21
MP2D MSAM vet levels show, and transport logistics
Lexxie9952 Apr 7, 2024
7fbb2e2
MP2E: more zoc helptext for ships
Lexxie9952 Apr 7, 2024
1c61b93
MP2E
Lexxie9952 Apr 7, 2024
9a6ae35
MP2D document nuke changes that were imported from MP2E
Lexxie9952 Apr 7, 2024
df3a17f
Connect-road doesn't get confused over EXTRA_QUAY2 in cities in the c…
Lexxie9952 Apr 7, 2024
61cd467
JS client: Bring in global var: browser.firstOrPrivateSession
Lexxie9952 Apr 7, 2024
74d6ce2
JS client bring in global var play_priority_tracks...
Lexxie9952 Apr 7, 2024
746af56
MP2D,E Fix documentation for max_attacks on Jet Bombers
Lexxie9952 Apr 8, 2024
6d9b4ca
MP2E html helptext, clean up and fix some mistakes
Lexxie9952 Apr 8, 2024
8483379
MP2D html helptext LARGE cleanup...
Lexxie9952 Apr 8, 2024
589b6cd
MP2D,E html helptext on tile extras: major rewrite/improvement
Lexxie9952 Apr 8, 2024
e059586
MP2D,E terrain.ruleset helptext to match previous commit.
Lexxie9952 Apr 8, 2024
b08e1ea
MP2E
Lexxie9952 Apr 9, 2024
8125571
Portrait mode fix for city dialog, Major city prod. tab tooltip ugpra…
Lexxie9952 Apr 9, 2024
272d37b
Comment out debug console.logs
Lexxie9952 Apr 9, 2024
c72dadd
Game SETUP ⮕ Ruleset Description Dialog: Use a text-friendly backgrou…
Lexxie9952 Apr 10, 2024
58661a3
Offsite Links to "adjacency" help in HELP⮕Tile Extras
Lexxie9952 Apr 11, 2024
ec8686b
minor
Lexxie9952 Apr 11, 2024
d37f838
Helptext improvement: trademindist and trademinforeign
Lexxie9952 Apr 11, 2024
12b5255
MP2D,E Add "Distance Calculation in Freeciv" to Help ⮕ Manual landing…
Lexxie9952 Apr 12, 2024
e84bd9b
MP2D,E re-diction base+tile corruption in government html helptext
Lexxie9952 Apr 12, 2024
11b4222
MP2D,E Big upgrade to Help ⮕ Governments helptext entries
Lexxie9952 Apr 14, 2024
36f505a
Disable wikipedia buttons
Lexxie9952 Apr 14, 2024
3e11bd3
MP2D,E
Lexxie9952 Apr 14, 2024
c9e967a
MP2C-E, Classic+
Lexxie9952 Apr 14, 2024
505250d
Update city.js
Lexxie9952 Apr 14, 2024
022c679
Tooltips for action_dialogs & transport_board dialog & help⮕terrain ...
Lexxie9952 Apr 14, 2024
7d50149
Focus on Attack button prior to tooltipping ...
Lexxie9952 Apr 14, 2024
74ba344
MP2 terrain helptext refactor for auto-generated or html-edited version
Lexxie9952 Apr 15, 2024
4fd2168
1. Bring in browser.metaKeyText for when we can't html-ize the title …
Lexxie9952 Apr 15, 2024
d519e49
Increase delay on Go...And hovertext
Lexxie9952 Apr 15, 2024
4e8b0f1
Make 'text_friendly' parameter for generic dialogs that display lots …
Lexxie9952 Apr 15, 2024
999657a
Make 'Help on Governors' in City⮕Governor⮕Help use new text_friendly …
Lexxie9952 Apr 15, 2024
312b289
Improve hovertexts in city list
Lexxie9952 Apr 15, 2024
fa40b3e
MP2D,E resource helptext more specific to bonuses
Lexxie9952 Apr 15, 2024
66484c8
Big Upgrades Tile Info pop-up ...
Lexxie9952 Apr 15, 2024
1075711
Retire feature that clicking tech in Tech tab goes to fake wikipedia
Lexxie9952 Apr 15, 2024
cbe4dd5
Refactor rules page
Lexxie9952 Apr 15, 2024
afe20f8
Remove console logs from previous debugging
Lexxie9952 Apr 15, 2024
8d25d25
Change hovertext for Demographics:Population density
Lexxie9952 Apr 16, 2024
06a331d
Improve tooltips on tech discovery pop-up dialog
Lexxie9952 Apr 16, 2024
9f13978
Improve Climate and Space Race dialogs
Lexxie9952 Apr 16, 2024
e904733
Better client presentation of Server Report pop-up dialogs...
Lexxie9952 Apr 16, 2024
b0c5886
Pregame area tooltips
Lexxie9952 Apr 16, 2024
f55be36
Client MP2E Code of Hammurabi tax rates
Lexxie9952 Apr 16, 2024
cf2c7c4
MP2E
Lexxie9952 Apr 16, 2024
9d1d29e
minor
Lexxie9952 Apr 16, 2024
e8e2068
Server: disable hard-coded line wrapping as inappropriate where HTML …
Lexxie9952 Apr 16, 2024
22c36a0
3 fixes to Tile Info Window + ...
Lexxie9952 Apr 16, 2024
a21b453
Delete [unused] files
Lexxie9952 Apr 17, 2024
69586ca
Fix help tab for mobile
Lexxie9952 Apr 17, 2024
d89c195
minor . . . front-page adjustments
Lexxie9952 Apr 17, 2024
f3385ed
WEB-GL REMOVAL 1. Remove blender and 3D texture files.
Lexxie9952 Apr 18, 2024
3affd20
WEB-GL REMOVAL 2. Remove glb files....
Lexxie9952 Apr 18, 2024
3645344
WEB-GL REMOVAL 3: /webgl js files
Lexxie9952 Apr 18, 2024
c37f7a4
Remove unused "wiki" images
Lexxie9952 Apr 18, 2024
7df19bf
Improve Warcalc tooltips
Lexxie9952 Apr 18, 2024
1b9609f
WEB-GL REMOVAL minor: change buildjs.sh file to not copy 3d stuff int…
Lexxie9952 Apr 18, 2024
0db83c1
Update canvas.jsp
Lexxie9952 Apr 18, 2024
41502ed
WEB-GL REMOVAL 4 kill renderer stuff in .js + IMPROVE REPORTS, ...
Lexxie9952 Apr 18, 2024
d19dd48
WEB-GL REMOVAL 4.1. More .js files
Lexxie9952 Apr 18, 2024
fb1e54a
WEB-GL REMOVAL 4.2 ... remove from options.jsp
Lexxie9952 Apr 18, 2024
84ed0e7
Pregame "Loading..." and "Connecting..." blockUI's upgraded, a webgl …
Lexxie9952 Apr 18, 2024
3083853
Add support for high resolution sprites
Lexxie9952 Apr 18, 2024
6ad49d1
WEB-GL REMOVAL 5: ...
Lexxie9952 Apr 18, 2024
06598f1
Don't leave deboarded units on sentry
Lexxie9952 Apr 19, 2024
5deba2a
Update head.jsp
Lexxie9952 Apr 19, 2024
070a657
Remove unused images
Lexxie9952 Apr 19, 2024
c69f26c
ImageOptim 1. Lossless compress static images (sans fcw-frontpage ima…
Lexxie9952 Apr 19, 2024
2ff8646
ImageOptim 2. Front page graphics
Lexxie9952 Apr 19, 2024
8d257f0
delete unused images
Lexxie9952 Apr 19, 2024
16470b9
ImageOptim 3. Flags.
Lexxie9952 Apr 19, 2024
9b0e871
ImageOptim 3.1 more flags
Lexxie9952 Apr 19, 2024
76c5860
ImageOptim 3.2 more flags again
Lexxie9952 Apr 19, 2024
c4e1ea5
ImageOptim 3.3 more flags
Lexxie9952 Apr 19, 2024
7429c3c
ImageOptim 3.4 more flags
Lexxie9952 Apr 19, 2024
29c29dd
ImageOptim 4 Event banners
Lexxie9952 Apr 19, 2024
2519859
Image Optim 5 tech banners; delete unused units image folders; add or…
Lexxie9952 Apr 19, 2024
f109c9c
misc image mods
Lexxie9952 Apr 19, 2024
ed57a6d
Image Optim 6 Manual (docs) images
Lexxie9952 Apr 19, 2024
f8454bc
Image Optim 7 terrain
Lexxie9952 Apr 20, 2024
fffe279
misc image mods
Lexxie9952 Apr 20, 2024
4294e77
Image Optim 8.0 emoji
Lexxie9952 Apr 20, 2024
2647571
Image Optim 8.1 emoji
Lexxie9952 Apr 20, 2024
64c160c
Image Optim 8.2 emoji
Lexxie9952 Apr 20, 2024
92ac43d
civclient.css remove unused classes
Lexxie9952 Apr 20, 2024
1a71aeb
Image Optim 9 emoji /images folder
Lexxie9952 Apr 20, 2024
cc72a03
Create amplio2/uncompressed for pristine version to edit/modify from
Lexxie9952 Apr 20, 2024
5fdda03
Image Optim 10 amplio2 sprite sheets
Lexxie9952 Apr 20, 2024
75da071
Image Optim 11 building sprites
Lexxie9952 Apr 20, 2024
856bf6e
Image Optim 12 misc sprites
Lexxie9952 Apr 20, 2024
459d63b
Image Optim 13 wonders sprites
Lexxie9952 Apr 20, 2024
6dbe87c
Revert "Create amplio2/uncompressed for pristine version to edit/modi…
Lexxie9952 Apr 20, 2024
8353bf8
Revert "Image Optim 10 amplio2 sprite sheets"
Lexxie9952 Apr 20, 2024
6eed2b1
Revert "Image Optim 11 building sprites"
Lexxie9952 Apr 20, 2024
99a3fd7
Revert "Image Optim 12 misc sprites"
Lexxie9952 Apr 20, 2024
48bf4d7
Revert "Image Optim 13 wonders sprites"
Lexxie9952 Apr 20, 2024
e6d49b8
Update build.sh
Lexxie9952 Apr 20, 2024
9a62068
Update bg-dark50.png
Lexxie9952 Apr 20, 2024
d6107ff
More fixes to help tab
Lexxie9952 Apr 20, 2024
f187b50
Client: Orders button for oil well shows on Arctic terrain when you k…
Lexxie9952 Apr 21, 2024
522d410
Update bg.jpg
Lexxie9952 Apr 21, 2024
2e3a0aa
Revert "ImageOptim 3.4 more flags"
Lexxie9952 Apr 21, 2024
2fbe64c
Revert "ImageOptim 3.3 more flags"
Lexxie9952 Apr 21, 2024
c2c12f2
Revert "ImageOptim 3.2 more flags again"
Lexxie9952 Apr 21, 2024
2cf23a6
Revert "ImageOptim 3.1 more flags"
Lexxie9952 Apr 21, 2024
24b7f29
Revert "ImageOptim 3. Flags."
Lexxie9952 Apr 21, 2024
c861775
Revert (most of) Image Optim 9 src/main/webapp/images changes from pr…
Lexxie9952 Apr 22, 2024
2a1411e
Update favicon.png
Lexxie9952 Apr 22, 2024
639a7ca
Substitute const for function to get tileset file type extension
Lexxie9952 Apr 22, 2024
86d3b27
Comment out unused default_ vars in options.js
Lexxie9952 Apr 22, 2024
347072b
MP2D,E helptext fixes
Lexxie9952 Apr 22, 2024
812de57
minor
Lexxie9952 Apr 22, 2024
ada3d7d
Improve reminders and help messages in ./build.sh and ./buildimages.sh
Lexxie9952 Apr 23, 2024
54d75fd
Fix jquery-ui.min.css disallows background styling of button pane are…
Lexxie9952 Apr 23, 2024
e1a2a32
Rename bg-dark50.png to bg-charcoal.jpg
Lexxie9952 Apr 23, 2024
a12f026
Restyle pregame launch area, layout works better on more resolutions/…
Lexxie9952 Apr 23, 2024
8c5fd26
Front page changes ...
Lexxie9952 Apr 23, 2024
bb2c175
Better fractional move point displays in city prod and game unit panel.
Lexxie9952 Apr 23, 2024
d2f5297
Tech tab and discovery dialog improvement tweaks ...
Lexxie9952 Apr 23, 2024
5d12fff
Tooltips don't persist in prelaunch after a mouseclick.
Lexxie9952 Apr 23, 2024
9c5c48f
Game info panel tooltip timing and effect, adjust
Lexxie9952 Apr 23, 2024
d98dad7
Finish tooltips in empire tab; improve timing and effect.
Lexxie9952 Apr 23, 2024
7a88e2f
Make most tooltips disappear as quickly as possible when not hovered.
Lexxie9952 Apr 23, 2024
ae30b1c
Fix map canvas wasn't occupying whole screen after other layout adjus…
Lexxie9952 Apr 23, 2024
baca81b
Use .webp for tileset files for 1.6MB in savings in tileset bandwidth…
Lexxie9952 Apr 23, 2024
d00c6ab
swal warning pop-ups do slow attention-getting red exclamation point …
Lexxie9952 Apr 23, 2024
a1a97b3
RESTYLE MEGAPACK civclient.css
Lexxie9952 Apr 23, 2024
dca121f
Fix a few more hovertext hide delay timings.
Lexxie9952 Apr 23, 2024
bddb09e
quick bugfix after rebuild
Lexxie9952 Apr 23, 2024
9c7dc7b
minor
Lexxie9952 Apr 23, 2024
85a740c
Fix error in controls.txt
Lexxie9952 Apr 23, 2024
613513a
Border line around techinfo_box_image
Lexxie9952 Apr 23, 2024
ff50593
Possbile bug fix for Activity: Fortress underling as Activity: <u>For…
Lexxie9952 Apr 23, 2024
de860db
further bug fixing last commit
Lexxie9952 Apr 23, 2024
a5d6ffd
Style jquery blockUI messages
Lexxie9952 Apr 23, 2024
d5575ac
Update status-freeciv-web.sh
Lexxie9952 Apr 24, 2024
e466ab9
City tabs bar has border rounding on bottom part ...
Lexxie9952 Apr 24, 2024
a048504
Restyle info swal/sweetalert
Lexxie9952 Apr 24, 2024
c6bed3f
Pregame launch tweaks
Lexxie9952 Apr 24, 2024
275ee31
minor
Lexxie9952 Apr 25, 2024
ba47e2b
Update civclient.css
Lexxie9952 Apr 25, 2024
9cdf218
(1) Inline is_server() (2) Compiler optimize is_server() calls when …
Lexxie9952 Apr 26, 2024
b91049c
Clean up Khoisan names that disallow /take or chat commands
Lexxie9952 Apr 26, 2024
99d65a0
Update daidiplomacy.c
Lexxie9952 Apr 26, 2024
99047ef
daidiplomacy.c: Suppress vscode falsely reported UNDEFINED error from…
Lexxie9952 Apr 26, 2024
45b21cf
More warning suppressions for those using vscode and virtual containers
Lexxie9952 Apr 26, 2024
35ac3d9
Create qbuild.sh
Lexxie9952 Apr 26, 2024
0fcc83e
minor
Lexxie9952 Apr 26, 2024
fb17267
Remove obsolete IE css properties from sweetalert.css
Lexxie9952 Apr 26, 2024
e954666
Remove deprecated -moz-appearance properties from civclient.css
Lexxie9952 Apr 26, 2024
55c377c
Front page style tweaks.
Lexxie9952 Apr 27, 2024
a679431
front page and prelaunch adjustments
Lexxie9952 Apr 27, 2024
1412abd
Update hephthalite-shield-large.png
Lexxie9952 Apr 27, 2024
9d52330
Update build.sh
Lexxie9952 Apr 27, 2024
7999cfc
Remove all custom nation flag stuff from the game; Improve Select Nat…
Lexxie9952 Apr 28, 2024
5835c21
Make large shields consistent with other nation graphics
Lexxie9952 Apr 28, 2024
c0ed1b5
Suppress vs_code squiggles at not able to include fc_config.h, in sav…
Lexxie9952 Apr 30, 2024
ea3022d
Update rules.sh
Lexxie9952 May 1, 2024
39a84c2
Fix Revolution_Unhappiness misdocumented in README.effects
Lexxie9952 May 2, 2024
00157c7
MP2A-E Fix graphic_str "None" to "-" for all hideouts and depth bases:
Lexxie9952 May 2, 2024
4bc32d4
MP2E Fanatics A:6.5
Lexxie9952 May 2, 2024
0001447
MP2A-E, Classic+
Lexxie9952 May 2, 2024
c66fe35
Update rules.jsp
Lexxie9952 May 4, 2024
d1872ed
Update buildrules.sh
Lexxie9952 May 4, 2024
5fd1f1c
Update rules.jsp
Lexxie9952 May 4, 2024
d78443a
Update rules.jsp
Lexxie9952 May 4, 2024
fc0b929
Clarify which rules are only for longturn; clarify privacy policy not…
Lexxie9952 May 5, 2024
a363862
Hotseat games don't override ruleset default for `contactturns`
Lexxie9952 May 5, 2024
73af8f2
Update pregame.js
Lexxie9952 May 5, 2024
4c0292e
Update remakem.sh
Lexxie9952 May 7, 2024
346eda5
Update Multipass.md
Lexxie9952 May 7, 2024
15a222b
Update fcw-multipass.sh
Lexxie9952 May 7, 2024
df0715a
Update pregame.css
Lexxie9952 May 7, 2024
cfd4dbe
minor
Lexxie9952 May 7, 2024
8170d04
Hard-code EFT_HAVE_EMBASSIES to tell client "has_real_embassy"...
Lexxie9952 May 8, 2024
359e0ae
Make player_can_see_city_externals inline and evaluate itself in fast…
Lexxie9952 May 8, 2024
6883861
Update vremake.sh
Lexxie9952 May 10, 2024
0786352
Update status-freeciv-web.sh
Lexxie9952 May 10, 2024
9b3a506
Better messaging in remake and remakem bash scripts
Lexxie9952 May 10, 2024
c811802
Update README.effects
Lexxie9952 May 10, 2024
60109bd
MP2D,E govt helptext communism correction
Lexxie9952 May 11, 2024
30e3f3c
Update rules.jsp
Lexxie9952 May 12, 2024
c28974f
Update configure.ac
Lexxie9952 May 18, 2024
52c3e9c
Update install-multipass.sh
Lexxie9952 May 18, 2024
6da8822
Update README.md
Lexxie9952 May 18, 2024
769f809
Update README.md
Lexxie9952 May 18, 2024
b5b0a1a
Update buildrules.sh
Lexxie9952 May 20, 2024
7c72910
Remove nonstandard rulesets from install
Lexxie9952 May 21, 2024
3dbc1d7
Update rules.jsp
Lexxie9952 Jul 3, 2024
369abc4
MP2D,E Fix "free" Workers II upgrade was costing if player had Explos…
Lexxie9952 Jul 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
.libs
.svn
.DS_Store
.vscode/*.*
Freeciv.h
Makefile
Makefile.in
Expand Down Expand Up @@ -75,6 +76,8 @@ tornado*
resin*
models.zip
freeciv-web/src/main/webapp/build.txt
freeciv-web/src/main/webapp/.vscode/*.*
freeciv/freeciv/.vscode/*.*
*/__pycache__/*
logs/
out/
Expand Down Expand Up @@ -381,10 +384,9 @@ tests/casperjs-1.1.4/tests/testdir/03_a.js
tests/casperjs-1.1.4/tests/testdir/03_b.js
tests/casperjs-1.1.4/tests/testdir/04/01_init.js
tests/casperjs-1.1.4/tests/testdir/04/02_do.js
publite2/supercows.txt
freeciv-web/vagrant-rules-fix.sh
freeciv-web/full-vagrant-rules-fix.sh
freeciv-web/valhallabuild.sh
freeciv-web/vdebug-remake.sh
publite2/supercows.txt
publite2/supercows.txt
publite2/init-freeciv-web.sh
112 changes: 112 additions & 0 deletions Multipass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# Multipass Guide

## What is Multipass?
Multipass is VM software for macOS, Linux, and Windows Pro(_*_).
It is made by Canonical, the creators of Ubuntu.

Multipass easily and automatically creates an Ubuntu-based virtual machine.
This makes Multipass a great alternative to Vagrant+Virtual Box and to Docker, which require a lot of setup.

Because FCW runs on Ubuntu 18.04 LTS/Bionic, using Multipass is recommended. 18.04 is not the most recent
version of Ubuntu, but it's tested. Its lightweight resource reqs are ideal for a safe sandbox environment.

👉🏽 Using Multipass for automated creation of FCW on Ubuntu is recommended.
(You can change the OS version in the [fcw-multipass.sh] script. Since all other
files are configured under 18.04 LTS, it's not recommended on the first try.)

Multipass is suggested for workstations that run macOS on Apple silicon processors:
other VM support for ARM64 architecture is poor at the time of this writing (Nov.2023)

Multipass as configured in the repo files, is known to work on a Mac with M1 processor.

**OTHER:**
- [online Multipass documentation](https://multipass.run/docs). See _II._ first.
- (_*_) __Windows Home__ does not support Windows Hyper-V, but works after you install Windows Hyper-V:
[Hyper-V installation](https://www.thewindowsclub.com/how-to-install-and-enable-hyper-v-on-windows-10-home)

_-----------------------------------------------------------------------------------------------------------_
## I. Development environment description
- __Operating system__: Ubuntu Bionic (18.04)
- __Database__: MySQL 5.x
- __Nodejs__: 16.x (Used to install handlebars for template processing)
- __Java__: 11 Openjdk
- __Python3__: 3.7.5 (with virtualenv)
- __Apache Tomcat__: 8.x
- __Nginx__: Latest available for the given Ubuntu version

### Virtual Machine specs
- __CPUs__: 2
- __RAM__: 3G
- __Disk__: 20GB

When running, The VM will take the above from your normal OS resources, for its own use.
_These specs can be changed in the_ [fcw-multipass.sh](fcw-multipass.sh) _script._


_-----------------------------------------------------------------------------------------------------------_
## II. Installation of Multipass and FCW files on macOS

0. Suggest pre-installing all needed tools (e.g., git, VS Code, brew, command line tools, etc.)
1. **Turn off VPN or other virtualized network layers before creating your VM.**
_Note_: Multipass can trip on known network issues (e.g., when using a VPN).
Please find the troubleshooting guide here: https://multipass.run/docs/troubleshoot-networking#heading--troubleshoot-networking-on-macos
2. Install [Multipass](https://multipass.run/docs) and run the app.
3. Create a working FCW folder that will hold all FCW files. Go to that folder in your CLI / Terminal app.
4. Clone the repository ```git clone https://github.com/Lexxie9952/fcw.org-server.git .``` **_SEE NOTE BELOW_**
or if you were given gitlab access, (```git clone [email protected]:fcw2/freeciv-web.git .```)

_Note: In Nov.2023, the ```dev``` branch has the current state of the freeciv-web.org server._
_Note 2: Look in [README](README.md) for updated/current notes on the git clone step._


_-----------------------------------------------------------------------------------------------------------_
## III. Virtual environment setup

1. Change to the freeciv-web directory.
2. Execute the bash script [fcw-multipass.sh](fcw-multipass.sh) to automatically launch the VM. **(See II.1)**
_[fcw-multipass.sh](fcw-multipass.sh) is a bash script, which only runs on macOS and Linux._
_On Windows, you either need a way to **non-virtually** run bash scripts; OR, execute the script's_
_contents manually via CLI with invidividual commands. This is because you must access the multipass_
_software running at the Windows OS level to create a VM, not within a virtualized Linux environment._
_See docs for multipass setup in Windows and/or google for help. Essentially, the script contents_
_automatically execute a handful of CLI commands to create a VM and start it. Take the information_
_you learn from the multipass docs for launching a VM on Windows, and "translate" what you see in the_
_[fcw-multipass.sh] bash script into the equivalent steps for launching the same Ubuntu VM within Windows._
3. Execute ```multipass list``` and make note of the IP address of the ```fcw``` VM. **(for step _IV.3._)**

You should now have a virtual machine instance of freeciv-web as specified in _Development environment description_.


_-----------------------------------------------------------------------------------------------------------_
## IV. Start and use Freeciv-web application

1. Open a terminal to multipass VM: ```multipass shell fcw```
2. ```~/multipass-entrypoint.sh start``` to boot/prepare FCW for use.
3. Open ```http://<ip address>/``` on your browser, using the IP address from **III.3.**

You should see the FCW home page served by the local server running inside your ```fcw``` multipass VM.


_-----------------------------------------------------------------------------------------------------------_
## V. Useful commands

### Common multipass commands to interact with the VM from _outside of the VM_.

- ```multipass shell fcw``` Open an "ssh" terminal into the multipass VM.
- ```multipass stop fcw``` Stop the multipass VM
- ```multipass start fcw``` Start the multipass VM
- ```multipass info fcw``` Get information about the VM (including it's ip address it is needed in order to connect to the application via a web browser)
- ```multipass list``` List all multipass VM instances and their ip addresses.
- ```multipass delete instance``` Delete the VM with the name ```instance```
- ```multipass purge``` Destroy and clean up all deleted instances.

### Other commands from inside the VM:
* To destroy the VM:```./fcw-multipass.sh destroy```
* Stop FCW ```~/multipass-entrypoint.sh stop``` (Stops the website that's running inside the VM.)

## Advanced
To externally access internal directories in the VM from within macOS, you can copy between them and work on a clone:
1. Example. Make a copy of an internal dir into your main OS directory tree:
```multipass transfer -r -p fcw:/var/lib/tomcat8/webapps ~/FCW/tomcat_webapps```
2. After making edits, copy dir back into the VM instance:
```multipass transfer -r -p ~/FCW/tomcat_webapps fcw:/var/lib/tomcat8/webapps```
Loading
Loading