From bdc735e22d66572a833201ea215a6b2281dd793a Mon Sep 17 00:00:00 2001 From: Kevin Yen Date: Wed, 3 Sep 2025 00:32:31 -0700 Subject: [PATCH 1/5] fix: remove dead links --- home/protected/maglab/app/views/main/homepage.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/home/protected/maglab/app/views/main/homepage.php b/home/protected/maglab/app/views/main/homepage.php index 6a94b9b..e925178 100644 --- a/home/protected/maglab/app/views/main/homepage.php +++ b/home/protected/maglab/app/views/main/homepage.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • From 3fcf69f279fa27a5a323f66d7cf363717dcb6c2d Mon Sep 17 00:00:00 2001 From: Kevin Yen Date: Wed, 3 Sep 2025 00:34:34 -0700 Subject: [PATCH 2/5] fix: remove unnecessary social links --- .../protected/maglab/app/views/main/homepage.php | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/home/protected/maglab/app/views/main/homepage.php b/home/protected/maglab/app/views/main/homepage.php index e925178..ad9640e 100644 --- a/home/protected/maglab/app/views/main/homepage.php +++ b/home/protected/maglab/app/views/main/homepage.php @@ -108,29 +108,17 @@
    From 4f01640b7068e201d007b6e8c229f0243228fc2e Mon Sep 17 00:00:00 2001 From: Kevin Yen Date: Tue, 2 Sep 2025 23:10:45 -0700 Subject: [PATCH 3/5] docs: add section on development setup --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 0e087a0..8114d85 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,19 @@ This is the MAGLab website source code and a work in progress. Also, the readme is a work in progress. +## Development Setup + +Prerequisites +* PHP + +```bash +cp home/protected/maglab/config/config.php.example home/protected/maglab/config/config.php +cd home/public +php -S localhost:8000 +``` + +Visit the home page at http://localhost:8000/MainApp.php + ## TODO * Write Deployment Instructions From 03b2d9fb078ef5b71c39a3e428d1fc4aa3e592d0 Mon Sep 17 00:00:00 2001 From: Kevin Yen Date: Tue, 2 Sep 2025 23:12:35 -0700 Subject: [PATCH 4/5] fix: suppress deprecation warning for newer version of PHP --- home/protected/maglab/app/main.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/protected/maglab/app/main.php b/home/protected/maglab/app/main.php index 468f24a..eb5e897 100644 --- a/home/protected/maglab/app/main.php +++ b/home/protected/maglab/app/main.php @@ -1,5 +1,9 @@ Date: Tue, 16 Sep 2025 22:16:05 -0700 Subject: [PATCH 5/5] refactor: ensure socials changes are made in views/ --- home/protected/maglab/app/views/board/add.php | 17 +--------------- .../protected/maglab/app/views/board/edit.php | 17 +--------------- .../maglab/app/views/board/index.php | 17 +--------------- .../maglab/app/views/board/noEdit.php | 17 +--------------- .../protected/maglab/app/views/board/show.php | 17 +--------------- .../maglab/app/views/main/class_deposit.php | 20 +------------------ .../maglab/app/views/main/community.php | 20 +------------------ .../maglab/app/views/main/donate.php | 20 +------------------ .../maglab/app/views/main/homepage.php | 4 ++-- .../maglab/app/views/main/membership.php | 20 +------------------ .../maglab/app/views/main/pay4keyed.php | 20 +------------------ src/views/board.layout.haml | 12 +---------- src/views/main.layout.haml | 14 +------------ 13 files changed, 14 insertions(+), 201 deletions(-) diff --git a/home/protected/maglab/app/views/board/add.php b/home/protected/maglab/app/views/board/add.php index 9c91c23..3e2c38f 100644 --- a/home/protected/maglab/app/views/board/add.php +++ b/home/protected/maglab/app/views/board/add.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/edit.php b/home/protected/maglab/app/views/board/edit.php index 1f7b4e1..073ec8d 100644 --- a/home/protected/maglab/app/views/board/edit.php +++ b/home/protected/maglab/app/views/board/edit.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/index.php b/home/protected/maglab/app/views/board/index.php index 403c595..5b581d1 100644 --- a/home/protected/maglab/app/views/board/index.php +++ b/home/protected/maglab/app/views/board/index.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/noEdit.php b/home/protected/maglab/app/views/board/noEdit.php index 90958b5..c7658b6 100644 --- a/home/protected/maglab/app/views/board/noEdit.php +++ b/home/protected/maglab/app/views/board/noEdit.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/board/show.php b/home/protected/maglab/app/views/board/show.php index d0443ed..eb0051a 100644 --- a/home/protected/maglab/app/views/board/show.php +++ b/home/protected/maglab/app/views/board/show.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,24 +108,15 @@
    diff --git a/home/protected/maglab/app/views/main/class_deposit.php b/home/protected/maglab/app/views/main/class_deposit.php index 0a3a922..ffd0b5b 100644 --- a/home/protected/maglab/app/views/main/class_deposit.php +++ b/home/protected/maglab/app/views/main/class_deposit.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/community.php b/home/protected/maglab/app/views/main/community.php index 33443b8..3ba1499 100644 --- a/home/protected/maglab/app/views/main/community.php +++ b/home/protected/maglab/app/views/main/community.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/donate.php b/home/protected/maglab/app/views/main/donate.php index bfec883..b719983 100644 --- a/home/protected/maglab/app/views/main/donate.php +++ b/home/protected/maglab/app/views/main/donate.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/homepage.php b/home/protected/maglab/app/views/main/homepage.php index ad9640e..ab9daf7 100644 --- a/home/protected/maglab/app/views/main/homepage.php +++ b/home/protected/maglab/app/views/main/homepage.php @@ -111,10 +111,10 @@ >
  • -> +>
  • -> +>
  • > diff --git a/home/protected/maglab/app/views/main/membership.php b/home/protected/maglab/app/views/main/membership.php index 7b0f1e7..6bcf8f1 100644 --- a/home/protected/maglab/app/views/main/membership.php +++ b/home/protected/maglab/app/views/main/membership.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/home/protected/maglab/app/views/main/pay4keyed.php b/home/protected/maglab/app/views/main/pay4keyed.php index a85fdec..90c903e 100644 --- a/home/protected/maglab/app/views/main/pay4keyed.php +++ b/home/protected/maglab/app/views/main/pay4keyed.php @@ -101,12 +101,6 @@
  • >Are We Open?
  • -
  • ->Shopping List -
  • -
  • ->Members Dashboard -
  • @@ -114,29 +108,17 @@
    diff --git a/src/views/board.layout.haml b/src/views/board.layout.haml index 959ffb7..37ecca7 100644 --- a/src/views/board.layout.haml +++ b/src/views/board.layout.haml @@ -80,24 +80,14 @@ %a(href='https://groups.google.com/forum/?fromgroups#!forum/maglaboratory') Forum/Google Group %li %a(href='/hal') Are We Open? - %li - %a(href='/members/procurement') Shopping List - %li - %a(href='/members') Members Dashboard .container %ul.social-icons %li - %a.sprite-mail(href='mailto:contact@maglaboratory.org' target='_blank') + %a.sprite-discord(href='https://discord.gg/rtzD3PA' target='_blank') %li %a.sprite-facebook(href='https://www.facebook.com/MAGLaboratory' target='_blank') - %li - %a.sprite-twitter(href='https://www.twitter.com/MAGLaboratory' target='_blank') %li %a.sprite-instagram(href='https://www.instagram.com/MAGLaboratory/' target='_blank') - %li - %a.sprite-youtube(href='https://www.youtube.com/channel/UCxkmJiwGmDQnIvLe2gDKbpg' target='_blank') - %li - %a.sprite-yelp(href='https://www.yelp.com/biz/mag-lab-walnut' target='_blank') %li %a.sprite-github(href='https://github.com/MAGLaboratory' target='_blank') diff --git a/src/views/main.layout.haml b/src/views/main.layout.haml index d2a52a0..37ecca7 100644 --- a/src/views/main.layout.haml +++ b/src/views/main.layout.haml @@ -80,28 +80,16 @@ %a(href='https://groups.google.com/forum/?fromgroups#!forum/maglaboratory') Forum/Google Group %li %a(href='/hal') Are We Open? - %li - %a(href='/members/procurement') Shopping List - %li - %a(href='/members') Members Dashboard .container %ul.social-icons %li - %a.sprite-mail(href='mailto:contact@maglaboratory.org' target='_blank') + %a.sprite-discord(href='https://discord.gg/rtzD3PA' target='_blank') %li %a.sprite-facebook(href='https://www.facebook.com/MAGLaboratory' target='_blank') - %li - %a.sprite-twitter(href='https://www.twitter.com/MAGLaboratory' target='_blank') %li %a.sprite-instagram(href='https://www.instagram.com/MAGLaboratory/' target='_blank') - %li - %a.sprite-youtube(href='https://www.youtube.com/channel/UCxkmJiwGmDQnIvLe2gDKbpg' target='_blank') - %li - %a.sprite-yelp(href='https://www.yelp.com/biz/mag-lab-walnut' target='_blank') %li %a.sprite-github(href='https://github.com/MAGLaboratory' target='_blank') - %li - %a.sprite-discord(href='https://discord.gg/rtzD3PA' target='_blank') :yield_content