Commit Graph

654 Commits

Author SHA1 Message Date
a9b3fbdece RBAC default entries are now created on migrate. Also basic simple default rank implementation. 2021-11-10 19:53:56 +01:00
af266e345d Implement basic functionality for RBACUsers. 2021-11-10 19:35:02 +01:00
93e95a865f Added a new rbac_user module. 2021-11-10 15:32:44 +01:00
60e22942e4 Added a new UserInitializer helper class. 2021-11-10 15:16:44 +01:00
adf8475804 Also implemented base permissions, and small improvements to the ui. 2021-11-09 23:03:17 +01:00
14e4654219 Implemented permission registration into the rbac controller. Also implemented rendering checkboxes from them and handling them during a post request. 2021-11-09 22:55:53 +01:00
62ca64a1eb Default permissions enums for RBAC. 2021-11-09 22:54:34 +01:00
946c799a3b is_numeric, is_int, is_uint,and is_zero helpers for string. 2021-11-09 22:54:04 +01:00
9bc41ad6e4 For attribute for HTMLTag. 2021-11-09 22:53:30 +01:00
fdf449e432 Added base permissions int to rbac rank. 2021-11-09 19:58:56 +01:00
8bd6f0aea6 Added a new execute method to Platform, and moved the execute method from the crash handler to platform linux. 2021-11-09 19:46:08 +01:00
c94c465d78 Added a mutex class. 2021-11-09 19:38:07 +01:00
ec65de456d Moved get_executable_path from the crash handler to the linux platform, and smaller fixes to execute. 2021-11-09 19:28:35 +01:00
d8db74b0ed Added a virtual get_executable_path method to Platform. 2021-11-09 19:27:43 +01:00
3dce2b69d9 Fix erase, and small fixes for utf8, and parse_utf8. 2021-11-09 19:23:36 +01:00
19cb8ad6d8 Ported utf8 functionality from godot's string. 2021-11-09 18:13:39 +01:00
77ad108b77 Added static arg_setup method to the platform initializer. 2021-11-09 17:55:55 +01:00
eb8c105f72 Merge branch 'master' of github.com:Relintai/rcpp_cms 2021-11-09 17:47:57 +01:00
0bca7735e1 Added a new Platform class. 2021-11-09 17:47:51 +01:00
d637c2132c Added a super simple arg parser. 2021-11-09 17:47:39 +01:00
98d13f5f81 Add .cache folder to gitignore. 2021-11-04 11:18:52 +01:00
e8b822c64a Small fix. 2021-11-04 11:17:43 +01:00
cc0ca4762a Removed stray crash cond. 2021-11-03 15:43:22 +01:00
c21a86c9d2 Initial platform setup, and added godot's crash handler (will need to be heavily reworked!). 2021-11-03 15:42:16 +01:00
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