|
88961d7005
|
Now the admin and gm menuentries will show up when logged in with an account which has the necessary privileges.
|
2021-11-14 22:55:25 +01:00 |
|
|
ec4ac1b3bc
|
Created a new UserModel, that creates the test admin account with the proper userlevel.
|
2021-11-14 22:54:29 +01:00 |
|
|
c65bc0d6b7
|
Improved admin.css a bit.
|
2021-11-14 22:37:31 +01:00 |
|
|
be495e2031
|
Updated the engine to the latest.
|
2021-11-14 22:25:53 +01:00 |
|
|
5037e01417
|
Set up a back link to the main admin panel.
|
2021-11-14 22:18:20 +01:00 |
|
|
aa1822e20e
|
Set up css links for the admin panel. Also updated the engine.
|
2021-11-14 22:12:32 +01:00 |
|
|
1fb2680c6f
|
Ported the old admin building list.
|
2021-11-14 21:45:25 +01:00 |
|
|
629ab517aa
|
BuildingController is now inherited from AdminController, and set up the admin panel module.
|
2021-11-14 21:37:04 +01:00 |
|
|
a9080e05c3
|
Implemented basic building queries to Building Model.
|
2021-11-14 21:05:52 +01:00 |
|
|
6e853e86b9
|
Now my test data is inserted in BuildingModel::add_default_data(). Also updated the engine.
|
2021-11-14 19:25:37 +01:00 |
|
|
28d88335e6
|
Added an another setter to Building, and fixed a parameter's type.
|
2021-11-14 19:24:42 +01:00 |
|
|
37532f6275
|
Also drop the village reosurces table in VillageModel::drop_table().
|
2021-11-14 19:24:07 +01:00 |
|
|
e3c95dce3f
|
Added parameters for the Building class.
|
2021-11-14 18:38:56 +01:00 |
|
|
5eed408012
|
Ported the buildings table.
|
2021-11-14 18:27:49 +01:00 |
|
|
c47a55892f
|
Ported the resources table to the village model.
|
2021-11-14 16:53:05 +01:00 |
|
|
946b0b5acc
|
Added base classes for buildings.
|
2021-11-14 14:19:13 +01:00 |
|
|
165d0d5d70
|
Initialize villages, and also call the relevant methods during migration.
|
2021-11-14 13:59:02 +01:00 |
|
|
be2a4a93f9
|
Ported villages, village_buildings, village_technologies, and the village_units table. Also updated the engine.
|
2021-11-14 13:58:26 +01:00 |
|
|
e49b8613e6
|
Added VillageInitializer helper.
|
2021-11-14 13:56:56 +01:00 |
|
|
731f45f63d
|
Village management skeleton classes.
|
2021-11-14 11:45:34 +01:00 |
|
|
aa2664c200
|
Ran a code formatter on most of the old php to fix indents in vscode.
|
2021-11-14 11:02:22 +01:00 |
|
|
8cd215e0f1
|
Use -m for migrations, and call the new create_test_users method if -u also present. Also updated the engine.
|
2021-11-14 02:38:29 +01:00 |
|
|
01dbdb6aa1
|
Initialize platforms, and check whether to run migrations using the arg parser.
|
2021-11-14 02:28:56 +01:00 |
|
|
62d0d59cc9
|
Updated the engine to the latest.
|
2021-11-14 02:21:43 +01:00 |
|
|
12cd5a9b72
|
Fix RCPP_OBJECT declaration.
|
2021-10-31 14:33:22 +01:00 |
|
|
ce22bde08f
|
Remove unecessary module folder entry.
|
2021-10-31 14:30:06 +01:00 |
|
|
8472e10d23
|
Redirect to / on login success.
|
2021-10-31 10:28:19 +01:00 |
|
|
c19a796782
|
Add call the RCPP_OBJECT macro for the user controller.
|
2021-10-31 10:19:41 +01:00 |
|
|
0f7f337517
|
Check whether the session is set in is_logged_in.
|
2021-10-31 10:19:23 +01:00 |
|
|
050e9bf0d0
|
Updated the engine.
|
2021-10-31 10:19:02 +01:00 |
|
|
deb3a6dd08
|
Small improvements.
|
2021-10-31 02:11:47 +01:00 |
|
|
9aa2e64199
|
Updated the engine, and added a redirect to the login page from index if the user is not logged in.
|
2021-10-31 02:07:50 +01:00 |
|
|
fd37c75c47
|
Added register link to the login page.
|
2021-10-31 02:22:04 +02:00 |
|
|
5b31cb7df8
|
Added a new UserController and added the new render methods from the core USerController.
|
2021-10-31 02:13:01 +02:00 |
|
|
71d0366681
|
Don't try to load settings.json.
|
2021-10-30 23:55:53 +02:00 |
|
|
40b0850a47
|
Also update the framework.
|
2021-10-30 23:34:11 +02:00 |
|
|
5881f4bbf0
|
Ported the menu.
|
2021-10-30 23:33:37 +02:00 |
|
|
96d8c1fcf2
|
Initial project setup.
|
2021-10-30 22:48:02 +02:00 |
|
|
8b691ea78e
|
Updated the engine to the latest.
|
2021-10-30 22:26:35 +02:00 |
|
|
c898076f61
|
Small readme change.
|
2021-10-30 19:13:15 +02:00 |
|
|
c58ed04158
|
Fix the project name in the readme.
|
2021-10-30 19:12:24 +02:00 |
|
|
a9fd8ca68b
|
Add note about the original project to the readme.
|
2021-10-30 19:11:36 +02:00 |
|
|
a1cb41aa04
|
Added the old project code itself.
|
2021-10-30 19:02:07 +02:00 |
|
|
5ea8eff56c
|
Initial commit.
|
2021-10-30 19:01:52 +02:00 |
|