Commit Graph
40 Commits
Author SHA1 Message Date
Vincent Velociter ee34a99d6d Auth refactoring (#2396) 2025-11-25 17:59:16 +01:00
Vincent Velociter 696817c887 Riverpod 3 (#2381) 2025-11-24 10:44:29 +01:00
Vincent Velociter 41325d2327 Remove deprecated patron field (#2238) 2025-10-01 15:45:00 -04:00
Vincent Velociter 080fa07023 Format test folder 2024-12-15 20:27:50 +01:00
Vincent Velociter 775ad9a1d6 Fix auth controller test 2024-10-11 11:35:53 +02:00
Vincent Velociter 47a75b8077 Don't use timers in test http mock responses 2024-10-07 15:35:23 +02:00
Vincent Velociter bf6747153f Move socket and http to network folder 2024-10-03 18:50:12 +02:00
Vincent Velociter 7bcfc4a8a8 Rename test helpers 2024-10-01 10:16:58 +02:00
Vincent Velociter bcbc2d552f Refactor recent game providers 2024-05-28 19:18:20 +02:00
Vincent Velociter 3a45d3b76a Improve LichessClient tests and types 2024-05-28 15:32:34 +02:00
Vincent Velociter ee28dd7fcb Replace dart.io client with native clients
Instead of dart.io http Client implementation, use:
- UrlSession (via CupertinoClient) on iOS
- CronetEngine (via CronetClient) on android

Refactor the lichess http client to be configured with all URLs pointing
to the lichess server host.
2024-04-22 11:08:02 +02:00
Vincent Velociter 91ef670b16 Retry request on 429 and renaming 2024-02-22 12:56:22 +01:00
Vincent Velociter 78c1895b4a More wip on http client refactoring 2024-02-22 12:56:22 +01:00
Vincent Velociter 5ed72b9f2e Rename factory to avoid confusion 2024-02-22 12:56:22 +01:00
Vincent Velociter f9797cfe63 More wip on http client refactoring 2024-02-22 12:56:22 +01:00
Vincent Velociter 4a5fbfa244 WIP on http refactoring 2024-02-22 12:56:22 +01:00
Vincent Velociter b3d25dc9c2 Impose directives ordering 2023-11-30 13:29:16 +01:00
Vincent Velociter c9eb89b511 Maintenance update for last flutter release 2023-08-17 14:15:16 +02:00
Vincent Velociter 8128b7f2d3 Refactor auth session 2023-07-05 09:41:43 +02:00
Vincent Velociter c1153e47d1 Fix provider issues, add new opponent button 2023-06-28 11:06:02 +02:00
Vincent Velociter 9a7fd5c1ce Fix lint 2023-05-15 12:37:44 -03:00
Vincent Velociter 2b29b2c320 Install crashlytics 2023-05-05 18:16:58 -03:00
Vincent Velociter 305999e4d6 Rename ApiClient to AuthClient 2023-04-24 18:11:51 -03:00
Vincent Velociter e7156dd2e6 Move api_client to auth_client 2023-04-24 17:58:40 -03:00
Vincent Velociter 0abb10165c Move perf and time increment to model/common 2023-04-11 15:04:43 +02:00
Vincent Velociter 1d05fa51ee Move id to model/common 2023-04-11 14:47:47 +02:00
Vincent Velociter e85c89b7e5 Fix formatting 2023-02-27 10:15:03 +01:00
Vincent Velociter a1f68e5a3c Simplify auth controller 2023-02-27 09:26:40 +01:00
Vincent Velociter 433ceea23e Synchronous userSession provider 2023-02-27 00:22:46 +01:00
Vincent Velociter 6460777c3b Rename SessionRepository to SessionStorage 2023-02-26 20:12:45 +01:00
Vincent Velociter 80202ef248 Better error reporting in tests 2023-02-26 18:56:06 +01:00
Vincent Velociter e1ed4c02e7 Use ApiClient in AuthController 2023-02-26 00:31:45 +01:00
Vincent Velociter 2df46c0de0 Rename utils.dart to test_utils.dart 2023-02-17 14:12:59 +01:00
Vincent Velociter 35a7e94c74 Discard session on 401; refactor all tests 2023-02-16 15:24:14 +01:00
Vincent Velociter 20689f9be7 Add more auth controller tests 2023-02-15 18:00:50 +01:00
Vincent Velociter 0a596dc0d7 Add an AuthController test 2023-02-15 17:30:25 +01:00
Vincent Velociter 6ae42c4d5e Fix session 2023-02-15 14:43:38 +01:00
Vincent Velociter 29ba6ff7ff Refactor again auth 2023-02-14 17:07:53 +01:00
Vincent Velociter e5f75ecb95 WIP on refactoring auth 2023-02-13 19:33:28 +01:00
Vincent Velociter 4d00690e0c Move test files to new folders 2023-02-04 10:44:53 +01:00