Dean Herbert
6c4e719e0f
Fix API never stopping its thread
2018-03-23 15:46:55 +09:00
Dean Herbert
ce2997419a
Expose API scheduling internally
2018-03-14 11:37:50 +09:00
Dean Herbert
07642546bb
Make APIAccess a component
2018-03-14 11:29:54 +09:00
Dean Herbert
83cd2fd317
Move token saving logic to APIAccess
2018-03-14 10:15:05 +09:00
Dean Herbert
afc3646450
Move API configuration hooks out of OsuGameBase
...
Also makes username more private, and password completely private.
2018-03-14 10:15:05 +09:00
vperus
ba44813c00
Fixed exit from game save username instead of email. Resolve #2156
2018-03-13 12:10:47 +02:00
Dean Herbert
07bf8549eb
Fix arbitrary API request errors getting identified as timeouts
2018-03-06 17:39:34 +09:00
Dean Herbert
75dcf72520
Improve testability of API
2018-02-16 13:57:39 +09:00
Michael Manis
64d7868c03
Update APi.Username in APIAccess intead of ignoring it.
2018-01-22 01:19:22 -05:00
Dean Herbert
37d393bca0
Update licence headers
2018-01-05 20:21:19 +09:00
Dean Herbert
b0785b2f09
Fix a possible horrendous endless auth loop
2017-11-02 20:26:26 +09:00
Dean Herbert
808c97fcb4
Fix multiple requests potentially being triggered during connect sequence
...
As the Success callbacks happen in a scheduled context, if the Update thread is in a stalled state, this loop can generate many unnecessary API requests.
2017-10-24 17:13:59 +09:00
Dean Herbert
a17cc04cde
Make APIAccess's state only privately settable
2017-09-27 13:16:17 +08:00
Dean Herbert
05c6829deb
Move all APIAccess State changes to the local thread
...
Previously changes to the state were triggering events like Logout, which could get things into a bad state.
2017-09-27 12:18:24 +08:00
Dean Herbert
f705589bf2
Rename NotificationManager to NotificationOverlay
2017-07-28 15:03:42 +09:00
Huo Yaoyuan
88f8619e9a
More missed exceptions.
2017-05-18 02:46:12 +08:00
Dean Herbert
5a9745b492
Update API endpoint
2017-05-16 21:37:55 +09:00
Dean Herbert
041d4f93c0
Fix typo
2017-05-16 20:08:22 +09:00
Dean Herbert
23807aa3b9
Better handling of logged in state
2017-05-16 19:55:45 +09:00
Dean Herbert
2384f7b0c1
Ensure LocalUser is never null
2017-05-16 19:49:50 +09:00
Dean Herbert
039f4a65dc
Combine user models.
2017-03-28 00:08:24 +09:00
Dean Herbert
55df07a872
Fix username being cleared when it shouldn't be.
2017-03-28 00:08:22 +09:00
Dean Herbert
54e1b24fe9
Enforce readonly private members where possible.
2017-03-23 13:50:08 +09:00
Dean Herbert
dad6060149
Fix warnings not covered by resharper locally.
2017-03-09 16:07:34 +09:00
Dean Herbert
0cad5d7d41
Fix most warnings.
2017-03-07 13:05:57 +09:00
Dean Herbert
d00ea4564f
Fix API coming online too early in race scenarios.
2017-02-22 14:09:48 +09:00
Dean Herbert
5757f844bf
Fix a potential crash due to API being too eager to declare online state.
2017-02-07 20:29:40 +09:00
Dean Herbert
6b011a50d2
Naming standardisation and enforcing.
2017-02-07 16:20:36 +09:00
Dean Herbert
50bd80cb0c
Update and standardise license headers.
2017-02-07 14:27:41 +09:00
Dean Herbert
6ccce88a0e
Add proper user data retrieval on connect.
2016-12-01 16:44:24 +09:00
Dean Herbert
ed879f33df
Add logout button and check for inputs before allowing login.
2016-11-30 19:43:03 +09:00
Dean Herbert
01dc7cb5c2
Thread safety, username saving correctly etc.
2016-11-30 19:22:36 +09:00
Dean Herbert
3fa80d2376
Update client id/secret and bring API endpoints up-to-date.
2016-11-30 18:30:24 +09:00
Dean Herbert
11f726ad45
Add basic login flow.
2016-11-30 18:30:15 +09:00
Dean Herbert
34e91c8474
Add the concept of IOnlineComponents, registered tot he API for handling state changes.
2016-11-30 18:30:01 +09:00
Dean Herbert
2566d6bfe0
Fix regressions with HitRenderers, while also cleaning them up.
2016-10-13 10:10:15 +09:00
Dean Herbert
154b914a3a
Fix API scheduling.
2016-09-27 19:22:08 +09:00
Dean Herbert
28045b7136
Add back basic API support for channel/message retrieval.
2016-09-27 18:33:52 +09:00
Dean Herbert
8870935a4b
Add basic online API support.
2016-08-31 20:14:01 +09:00