Commit Graph

330 Commits

Author SHA1 Message Date
e273beee27 Removed revoke parameter from RBACPermission. 2021-11-02 16:43:09 +01:00
955a1b38fd More work on the permission editor. 2021-11-02 12:27:36 +01:00
80c3b97a6b Added new helper methods to HTMLBuilder. 2021-11-02 12:26:46 +01:00
7fcd38fff7 Simple permission sorting. 2021-11-02 12:26:26 +01:00
9aa410c0cd Implement save_permission and permission loading in RBACModel. 2021-11-02 12:26:06 +01:00
0a53e84fb4 Added new helpers to the Request, and smaller fixes. 2021-11-02 12:25:04 +01:00
dadd431f1c Added bool_num, and bool_str to the String. 2021-11-02 12:24:33 +01:00
212a144215 Swap and simple sort for the vector. 2021-11-02 12:23:59 +01:00
43b7a352a5 A bit more work on the rbac admin interface. 2021-11-02 00:18:57 +01:00
a330d0f51a Implement the rbac rank editor. 2021-11-01 23:48:25 +01:00
7fecc3e9ff Added helper methods for writing numbers into HTMLBuilder. 2021-11-01 22:47:48 +01:00
aaa48e390b Added a few number to string conversion methods form the godot engine to the string. 2021-11-01 22:41:19 +01:00
a19bcea0f0 Added my Math class. 2021-11-01 22:18:08 +01:00
2c8e5e33b6 Work on the rbac controller's admin panel. 2021-11-01 21:21:03 +01:00
68ecd088c5 Added more helpers to Request. 2021-11-01 21:20:42 +01:00
e7d4772ef3 Added get_url_root_parent helper to Request. 2021-11-01 20:57:43 +01:00
1a09dd13b0 Add f() (finish/finalize) to HTMLBuidler. 2021-11-01 20:56:13 +01:00
b1be711eb4 Better chaining support for the html builder. 2021-11-01 20:53:22 +01:00
f7b5952d2a Did most of the remaining std::string and vector to String and Vector conversions. 2021-11-01 19:53:35 +01:00
3f190e9a53 Same for the hasher. 2021-11-01 19:16:43 +01:00
c86ed59dd6 Replaced std::string and std::vectors in the user module aswell. 2021-11-01 19:14:55 +01:00
e977de894a Now the http backends are also using String. 2021-11-01 19:11:27 +01:00
adc73d593d Prefix the helper error macros so they differ from trantor's logger declarations. 2021-11-01 19:11:03 +01:00
041f824448 Erase, substr for String, and fixed comparisons. 2021-11-01 19:10:12 +01:00
dd966c9248 FormValidator and HTMLBuilder now uses my string and vector aswell. 2021-11-01 18:00:34 +01:00
cc5962bbdd RBACRank and permisson uses mys tring and vector aswell. 2021-11-01 17:51:54 +01:00
21558cb09a The database sub system now uses only my string. 2021-11-01 17:49:10 +01:00
faac12d3b1 Now QueryBuilder is using my string. 2021-11-01 17:31:04 +01:00
cfb5f877c8 Now instead of having an escaped version of the methods that has string parmeters in QueryBuilder, they have an unescaped version, and the base version escapes. Having it like this is a lot safer. 2021-11-01 17:23:08 +01:00
6073ef90c9 Fix typo. 2021-11-01 17:00:55 +01:00
02c4294cda Now QueryBilder, QueryResult, and TableBullder are returned wrapped into a Ref<> from the database subsystem by default. 2021-11-01 16:57:22 +01:00
8e624d8b5a Initial rbac model setup. 2021-11-01 16:39:30 +01:00
32d370bfa3 MIgrations for the rbac module. 2021-11-01 15:12:09 +01:00
e1ceb543f3 Add section url to the admin panel's section links. 2021-11-01 01:47:43 +01:00
0c6ea5612d Added test admin panel link to rbac_controller. 2021-11-01 01:39:55 +01:00
20b59847fe Small fixes and improvements to the string. 2021-11-01 01:39:11 +01:00
3ae9ae5127 Added copy assignment operator to string. 2021-11-01 01:02:18 +01:00
37ae4faa29 Add log and containers folders to the compile. 2021-11-01 00:43:22 +01:00
1104e01625 Initial AdminPanel and AdminController setup. 2021-11-01 00:39:39 +01:00
ef7b39bfb1 Added 2 url helpers to Request. 2021-11-01 00:38:26 +01:00
ad4e3bec3c std::string conversion operator for my string. 2021-11-01 00:32:02 +01:00
2079d5bd6e Added a few operators to String to simplify mixing it with std::strings. 2021-10-31 23:55:44 +01:00
7ef1c76e4a Added error macros and a simple logger. 2021-10-31 23:34:08 +01:00
3c1a60c898 Added my string, queue, and vector implementations. 2021-10-31 23:33:48 +01:00
d7713e4c57 Make the rbac module depend on the admin_panel module. 2021-10-31 23:12:05 +01:00
6d77f78494 Added a new admin_panel module. 2021-10-31 23:11:48 +01:00
4c5c439faf Started porting my old RBAC code to a new module. 2021-10-31 21:45:12 +01:00
304a2a19c9 Added a simple new Model and Controller class. 2021-10-31 21:44:44 +01:00
7cfeb13982 Implemented module dependencies based on https://github.com/godotengine/godot/pull/53443 . 2021-10-31 14:25:18 +01:00
f883b4d678 Moved the register success and login success responses to 2 new virtual methods. 2021-10-31 10:27:28 +01:00