Port entirely to a MVC-like pattern #37

Open
kazhnuz wants to merge 29 commits from refactor/use-bludit-boot-code into main
Owner
  • Globally use the Bludit/Koblog Init/Kernel pattern
  • Use class for the different Controllers
  • Add a real router to dynamically load the right functions from the right route
  • Make that the /game/{{id}} url is protected
  • Port forum, help, etc. to a route instead of separated files

Port status

  • help.php
  • index
  • login/logout
  • users.php
  • forum.php
  • town
  • exploration
  • battle
  • heal
  • misc
  • admin panel

Fixes #1
Fixes #2
Fixes #4
Fixes #7
Fixes #14
Fixes #41

- [x] Globally use the Bludit/Koblog Init/Kernel pattern - [x] Use class for the different Controllers - [x] Add a real router to dynamically load the right functions from the right route - [ ] Make that the /game/{{id}} url is protected - [ ] Port forum, help, etc. to a route instead of separated files **Port status** - [x] help.php - [x] index - [x] login/logout - [ ] users.php - [ ] forum.php - [ ] town - [ ] exploration - [ ] battle - [ ] heal - [ ] misc - [ ] admin panel Fixes #1 Fixes #2 Fixes #4 Fixes #7 Fixes #14 Fixes #41
kazhnuz added 3 commits 2025-02-28 22:58:10 +01:00
kazhnuz changed title from WIP: refactor/use-bludit-boot-code to Rework the loading of the files 2025-03-05 10:02:46 +01:00
kazhnuz added 10 commits 2025-03-29 10:26:01 +01:00
kazhnuz added 4 commits 2025-04-11 19:04:34 +02:00
kazhnuz added 10 commits 2025-07-17 19:03:40 +02:00
kazhnuz added 2 commits 2025-07-17 23:27:11 +02:00
kazhnuz changed title from Rework the loading of the files to Port entirely to a MVC-like pattern 2025-07-18 10:37:47 +02:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin refactor/use-bludit-boot-code:refactor/use-bludit-boot-code
git checkout refactor/use-bludit-boot-code

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff refactor/use-bludit-boot-code
git checkout refactor/use-bludit-boot-code
git rebase main
git checkout main
git merge --ff-only refactor/use-bludit-boot-code
git checkout refactor/use-bludit-boot-code
git rebase main
git checkout main
git merge --no-ff refactor/use-bludit-boot-code
git checkout main
git merge --squash refactor/use-bludit-boot-code
git checkout main
git merge --ff-only refactor/use-bludit-boot-code
git checkout main
git merge refactor/use-bludit-boot-code
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: game-projects/dragon-forks#37
No description provided.