0927580e78
Fix saving files in UserManagerFile.
2025-05-03 20:51:16 +02:00
7ef5b152bc
Fix calling the new _create_user() method in UserManager.
2025-05-03 20:41:28 +02:00
e9e2e72665
Now UserManager::_create_user() has a User as a parameter.
...
This shoukld make it easier to customize user creation. Similar idea to
how TerrainWorld's _create_chunk() works.
2025-05-03 20:25:32 +02:00
ca1f9c7674
Improved UserManagerFile's internals.
2025-05-03 20:13:52 +02:00
fd13bb3c51
Now get_all_as_vector() in UserManager is not virtual anymore. Also removed other implementations.
...
- This had to be done as get_all_as_vector() cannot be customized by
scripts, and if an inherited UserManager needs to set up UserModules
this will cause issues later down the line.
- Other solutions like a user_setup() method could also work, but then
that would cause more individual (non-optimizable) lookups to db-based
backends (and likely others too), so this solution seems to be the best
currently.
2025-05-03 17:07:24 +02:00
8a1981d1b8
Fix calling the wrong method in UserManager.
2025-05-03 16:57:34 +02:00
14100c3ac0
Added a method to get all users from the UserDB and UserManagers.
2024-11-20 21:57:35 +01:00
e8cabe7657
Don't create any accounts in UserManagerDB::_create_default_entries().
2024-07-18 08:09:11 +02:00
6a6d3acd96
Clang format everything.
2024-03-01 11:56:19 +01:00
4a23a17670
Also use PROPERTY_HINT_BUTTON in UserManagerStatic instead of a bool.
2024-02-25 22:40:07 +01:00
429575fab6
File copyright header updates pt8.
2023-12-18 00:18:53 +01:00
4faeb67438
Implemented getting users using their email from the UserDB.
2023-09-22 16:33:21 +02:00
56ae9e3734
Fix typos.
2023-09-22 16:21:37 +02:00
f058c87868
Backported from godot4: Rework Navigation Avoidance
...
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +02:00
144d519258
Id should be valid only over 1 in UserManagerDB.
2022-12-18 18:42:09 +01:00
56fb104e14
Update logic in UserManagerDB, as the default user id is -1 now.
2022-12-18 13:16:58 +01:00
70b8c7c047
Fix connecting a signal to a non existent method in UserManagerDB.
2022-12-18 11:56:16 +01:00
04feb63860
Moved Engine and projectSettings.
2022-08-17 15:35:28 +02:00
220b2db443
Moved String and related classes under a string folder in core.
2022-08-17 14:19:55 +02:00
dc9cc716c7
Moved Object related classes under core/object.
2022-08-17 13:45:14 +02:00
9555ee56b9
Moved Variant related classes under a variant folder in core.
2022-08-17 13:17:12 +02:00
388b88678e
Moved container related classes in core under a new containers directory.
2022-08-17 12:53:49 +02:00
e71e3ed897
Now Vector4, Vector4i, Projection, PoolVector4Array, PoolVector4iArray, are built in variant types. Also reordered the Variant's Type enum, renamed _RID in it to RID, fixed a few smaller issues and removed some very old compat code.
2022-08-16 21:55:56 +02:00
249dd4d661
Updated property hints for variant arrays.
2022-07-30 21:58:40 +02:00
e0b2f048c2
Cleaned up and added UserManagerDB to the build.
2022-07-24 16:26:23 +02:00
d0c99d0ef6
Set the user's id after creation.
2022-07-23 20:32:42 +02:00
0eba7b461f
Created UserManagerDB from UserController code. It's not yet in the build.
2022-07-22 10:16:49 +02:00
8236c509c8
Added user_id property to User, and also did some improvements to it's api.
2022-07-22 10:00:07 +02:00
f7cc2df683
Fix UserManagerFile. It's not that good for now, but I need a prototype UserManager implementation that can easily create save and load users.
2022-07-21 20:39:15 +02:00
d025937074
Make UserManagers register themselves.
2022-07-21 19:48:37 +02:00
7f03c8b429
Added a new UserManagerFile.
2022-07-21 19:33:04 +02:00
0ef9dc8fcf
Added a few bindings to UserManagerStatic to help with creating users form the editor.
2022-07-21 18:08:52 +02:00
be68b69b65
Created a new UserManagerStatic class.
2022-07-21 17:31:14 +02:00
1cee3914be
Added a few todos.
2022-07-08 16:09:17 +02:00
62c895f85c
Moved password related methods to the User from UserManager.
2022-07-08 10:00:54 +02:00
e0ceb9fbab
Added a small note.
2022-07-08 01:36:40 +02:00
985edc6b9e
Created a new UserManager class.
2022-07-08 01:30:19 +02:00