Commit Graph

372 Commits

Author SHA1 Message Date
1bd90ceb4a Added more helpers to QueryBuilder. 2021-11-14 19:22:49 +01:00
1ec66db3c7 Added smallint, float, and double types to the TableBuilder. 2021-11-14 16:52:09 +01:00
ad632993d0 Added integer with length and a tinyinteger to TableBuilder. 2021-11-14 13:56:25 +01:00
a98480104e Added a create_test_users method to the UserModel. 2021-11-14 02:37:19 +01:00
acfa601c80 Properly process the last main arg in arg parser. 2021-11-14 02:36:59 +01:00
f31e57705f Temporarily set the permissions of a normal user to admin in ebac, before I have a way of simply creating admin accounts. 2021-11-14 01:34:57 +01:00
3817221dbd Added support for a default user rank id. It's not yet properly settable, only from code. 2021-11-14 01:34:01 +01:00
adda93bc3a During register create the user using the Model. 2021-11-14 01:33:01 +01:00
7c71819b60 Added some notes to image classes. 2021-11-13 12:39:14 +01:00
393650ad6d Added my 2 widget classes, with some notes. They are not in the build yet either. 2021-11-13 12:26:47 +01:00
a02c8c63fd Added 2 renderer classes with some notes, thye are not it the build yet, they'll be changed. 2021-11-13 12:26:19 +01:00
dcc81bd41f Added a bunch of image handling classes, they are not in the build yet, they need to be reworked. 2021-11-13 12:25:33 +01:00
59e859519b Moved the math class to a new math subfolder in core/, and also added my other math realted classes. 2021-11-13 11:51:43 +01:00
29c27ab82a Started working on a new automatic resource serialization system. Only some layout work so far, with lots of comments. Need to think about it more. 2021-11-13 11:19:05 +01:00
b379829839 Now object uses my string and vector aswell. 2021-11-13 09:53:08 +01:00
b6cae73521 Added a new SharedResource class. It contains a mutex over Resource (for now). These can be used as a base for classes that you don't intend to just query from a database every time. E.g. rbac rank data. 2021-11-12 10:00:41 +01:00
5872d9d74f Small comments for the future. 2021-11-10 20:41:58 +01:00
39f90bae9e use redirect rank permission. 2021-11-10 20:08:42 +01:00
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