Commit Graph

172 Commits

Author SHA1 Message Date
Dean Herbert 716eee9a5c Fix last visit not supporting null values
Can now be null if a user chooses to hide their online status
2018-10-05 00:25:40 +09:00
Dean Herbert d801ce7afb
Merge pull request #3318 from cl8n/update-user-api
Update LastVisit JSON property name
2018-10-04 13:56:37 +09:00
Dean Herbert 4341d258af Make readonly instead 2018-09-13 14:03:21 +09:00
Dean Herbert 0be3ba946f Fix system user attempting to show in profile overlay 2018-09-13 13:40:46 +09:00
Dean Herbert f149a66a4d Use LargeTextureStore for all online texture retrieval
Until now, many online textures were retrieved via the default texture store, which causes them to never be removed from GPU memory. It also has a performance overhead due to mipmap generation (which will be avoided via ppy/osu-framework#1885.
2018-09-09 02:45:37 +09:00
Dean Herbert 03084aa04b Revert async changes 2018-08-31 07:07:10 +09:00
smoogipoo 1b279d383f Use GetAsync on all textures 2018-08-27 17:26:44 +09:00
clayton e1f01d6f73
Update LastVisit JSON property name 2018-08-25 20:31:33 -07:00
Dean Herbert bbb11a4066 Fix regression in drawable rank first display 2018-07-13 19:53:29 +09:00
Dean Herbert 6ced51bb67
Merge branch 'master' into removeAge 2018-07-09 17:43:23 +09:00
HoutarouOreki 10aae3b0ee Remove age from User class 2018-07-09 10:33:46 +02:00
smoogipoo 0a67e5a274 Fix some possible null reference exceptions 2018-07-09 17:09:17 +09:00
Nobbele ad8ba37ee3
Updated UserStatus.cs to make more sense(UNTESTED)
Untested code, on my ipad in school so i can’t compile the code or check for refrences to stuff

Modding, playing multiplayer/singleplayer, Busy, etc are all done when user is online so they may just be a class of type UserStatusOnline(used to be UserStatusAvailable but since available and online are basically the same i just made available be online). I don’t know how PM’s are handled but i assume that the client recieves the PM and then decides what to do based on your status. By doing this you can interupt the user with the message if typeof(status) != typeof(UserStatusBusy), making multiplaying, solo game, etc not interupt the user, but when typeof(status) == typeof(UserStatusBusy) show a less intrusive message box to not interupt the user
2018-04-26 12:57:24 +02:00
Dean Herbert fe644c6909
Merge branch 'master' into profile_web_changes 2018-04-20 12:51:30 +09:00
tgi74000 64709da546 Update profile header to osu-web changes 2018-04-19 14:46:42 +02:00
Dean Herbert 1be2571d33 Make BeatmapSetOverlay accept nulls everywhere 2018-04-18 16:08:45 +09:00
jorolf 6ca714d93b add badges to ProfileHeader 2018-04-15 23:49:45 +02:00
Dean Herbert 32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
Dean Herbert 9233266fe1 Fix login failure for users with no country rank
Closes #2148.
2018-03-11 00:44:16 +09:00
Dean Herbert e107566575 Update user object to match new standardised api 2018-02-08 18:06:04 +09:00
Dean Herbert 93c4612f4f Add comment about deserialising helper 2018-02-07 18:18:26 +09:00
Dean Herbert 647cc4bdad Remove in-between properties 2018-02-07 18:04:32 +09:00
Dean Herbert 20c00720e5 Fix formatting 2018-02-07 17:18:38 +09:00
tgi74000 bcd568e607 Check for possible null ranks 2018-02-06 23:00:52 +01:00
tgi74000 d86ce816c7 Add support for country rank 2018-02-06 21:40:52 +01:00
tgi74000 e08a9350a0 Store and show SSPlus and SPlus statistics 2018-02-01 15:19:49 +01:00
Aergwyn 312f52072b enable query
change Avatar animation too
add forgotten usings
2018-01-10 16:46:55 +01:00
Aergwyn d9866a2052 fix hover effects on social panels 2018-01-06 11:27:17 +01:00
Aergwyn e6b581e259 Merge branch 'master' into expand-social-tab 2018-01-06 10:48:27 +01:00
Dean Herbert 37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
Aergwyn bf64b8fc69 added hover effects to panels in social
at least partially QQ
2018-01-04 11:42:50 +01:00
Aergwyn d0c9d71ee7 fix covers not showing in user panels 2018-01-04 08:15:11 +01:00
Aergwyn f7fe083018 add tooltip to country flags 2017-12-30 14:59:35 +01:00
Aergwyn bb4b5bebf9 fix supporter icon in profile missing its background
also it doesn't show up on profiles without supporter anymore
2017-12-25 15:30:42 +01:00
Dean Herbert 49ce42d90c Add ToString() overrides on many classes to make debugging easier 2017-12-16 16:14:01 +09:00
FreezyLemon 856b56d79c Fixed small typo. 2017-12-08 12:54:36 +01:00
Dean Herbert ac7e373f40 Add hover/click sound effects to more stuff everywhere 2017-11-26 17:21:21 +09:00
Dean Herbert 9db6ef6657 Fix unfixed regressions 2017-11-23 20:23:47 +09:00
FreezyLemon 2cc2323791 Style changes (removing newline from before second constructor parameter) 2017-11-23 09:12:23 +01:00
FreezyLemon d6f532171b Implementation fix (since the default delay is now 500 and not 0 this is necessary to ensure the same functionality) 2017-11-23 09:11:52 +01:00
FreezyLemon 7d428875b8 Changed LoadWrapper back to DelayedLoadWrapper and fixed the implementation (dependent on framework change, delay now in ctor) 2017-11-22 15:46:04 +01:00
FreezyLemon 2203a84300 Small fixes and style corrections 2017-11-21 19:16:44 +01:00
FreezyLemon fd7ac9b6fc Switched to the new LoadWrapper class for asynchronous loading (LoadComponentAsync not used here since it's not possible to call that method on a component that has not finished loading, and we're in the constructor where it would be called) 2017-11-21 16:18:32 +01:00
FreezyLemon 870807c265 Switched over to the new LoadWrapper class for all delayed loading. 2017-11-21 16:17:33 +01:00
EVAST9919 d301ad1435 Add supporter icon to the user panel 2017-11-16 20:06:49 +03:00
Miterosan e430256b09 User and colors can not be null in UserPanel.cs 2017-11-07 22:51:06 +01:00
Miterosan 2518b5e9a0 Textures in UserCoverBackground.cs can not be null 2017-11-07 22:50:45 +01:00
Miterosan d5b275fa53 The TextureStore in Country.cs can noit be null. 2017-11-07 22:50:00 +01:00
Miterosan e417eceb98 Texture in Avatar.cs can not be null. 2017-11-07 22:49:32 +01:00
Dean Herbert 23a729c83a Make avatars use a delayed load wrapper 2017-10-30 19:39:23 +09:00