DrSmugleaf
5c0cf1b1a0
Use 'new' expression in places where the type is evident for content ( #2590 )
...
* Content.Client
* Content.Benchmarks
* Content.IntegrationTests
* Content.Server
* Content.Server.Database
* Content.Shared
* Content.Tests
* Merge fixes
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2020-11-27 21:00:49 +11:00
Pieter-Jan Briers
0918e14827
Fix issues with .NET 5.
2020-11-11 00:46:13 +01:00
Pieter-Jan Briers
bb35845a59
Do not allow selecting non existent character slots.
...
This fixes #2176
2020-10-07 18:04:15 +02:00
Pieter-Jan Briers
882ed619fd
Don't allow deletion of the selected character slot.
2020-10-07 18:04:15 +02:00
Pieter-Jan Briers
390d064304
Re-organize in-memory character profile storage.
...
Now uses a dictionary of int -> profile instead of an array filled with nulls.
2020-10-06 15:13:16 +02:00
DrSmugleaf
f35625630b
Fix creating and deleting character slots crashing the client and server ( #2172 )
...
* Fix creating a character slot crashing the client
* a
* Fix deleting character profiles
2020-10-06 12:03:14 +02:00
Pieter-Jan Briers
66c8a68891
Holy crap auth works ( #2099 )
...
* Holy crap auth works
* Fix some usages of UserID instead of UserName
* Refactor preferences.
They be non-async now. Also faster.
* Rename DbContext.
* Guest username assignment.
* Fix saving of profiles.
* Don't store data for guests.
* Fix generating invalid random colors.
* Don't allow dumb garbage for char preferences.
* Bans.
* Lol forgot to fill out the command description.
* Connection log.
* Rename all the tables and columns to be snake_case.
* Re-do migrations.
* Fixing tests and warnings.
* Update submodule
2020-09-29 14:26:00 +02:00
DrSmugleaf
8a27a5322a
Replace pragma warning 649 disable/restore with default!
2020-08-24 14:10:28 +02:00
Pieter-Jan Briers
bf60a4e9fc
Merge branch 'master' into mathmerge
2020-08-20 20:33:43 +02:00
Pieter-Jan Briers
496b456120
Use in-memory SQLite prefs DB when UserData is virtual.
2020-08-20 18:47:41 +02:00
Visne
0b448b500d
Merge MathHelper and FloatMath
...
Requires space-wizards/RobustToolbox#1234
2020-08-16 14:54:52 +02:00
Pieter-Jan Briers
e76003948b
Remove this parameter from FloatMath.Clamp.
...
That was a stupid idea.
2020-08-12 21:19:34 +02:00
ike709
c019d428a7
Antag preferences and antag prototype ( #1264 )
...
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2020-07-06 23:24:29 +02:00
Pieter-Jan Briers
579ff6bb26
Use async DB queries.
2020-06-26 03:46:28 +02:00
Pieter-Jan Briers
fbe7533d4b
Run database migrations in parallel with the rest of game startup to improve load times.
2020-01-25 16:16:48 +01:00
DamianX
514d05b237
Added postgres support ( #556 )
2020-01-24 17:25:01 +01:00
Pieter-Jan Briers
fc2d53eb4f
Adds preference unavailable setting to profiles.
2020-01-19 18:33:22 +01:00
Pieter-Jan Briers
f86ad6175e
Basic implementation of jobs in the character profile.
2020-01-19 09:42:26 +01:00
DamianX
a4e369e629
added Character Setup ( #511 )
...
* added Character Setup
* whoops
* reverted unrelated changes
* Made everything work post-rebase
* Removed unused PreferencesChanged event
* nope, don't need this
* HumanoidProfileEditorPanel -> HumanoidProfileEditor
* Set initial data for hair pickers
* Fixed nullable warning
* Renamed LooksComponent -> HumanoidAppearanceComponent
* Renamed LooksComponentState -> HumanoidAppearanceComponentState
* Final renaming maybe
* Use a human-like dummy instead of a real human
* Change preferences structs back to classes
2020-01-18 01:54:13 +01:00
DamianX
c4ea6e53e8
Use EFCore to store preferences ( #506 )
...
* Use EFcore to store preferences
* Fixed nullabilty warnings
2020-01-15 15:10:18 +01:00
DamianX
f19795edaf
Added preferences backend ( #465 )
...
* Added preferences backend
* Gender -> Sex
* ClientPreferencesManager properties
* Username validation
* Fixed client init
* WIP db
* Actually working sqlite db
* Dropped shitty sqlite libraries, dropped DbUp, added MigrationManager
* Added profile deletion, test
* Docs, sanity, tests, cleanup
* Cleaned up profile and appearance, fixed running on .net core
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
2019-12-22 13:47:34 +01:00