Commit Graph

899 Commits

Author SHA1 Message Date
69deb0ca96 Fix unavailable replays can be accessed via leaderboard 2019-12-09 07:19:55 +03:00
36224dca13 Fix multiplayer aggregate score inheriting from ScoreInfo 2019-12-05 01:45:28 +09:00
e2591f154b Only parse statistics when not null 2019-12-03 16:16:46 +09:00
f0d49d0cdf Decouple APILegacyScoreInfo from ScoreInfo 2019-12-03 15:31:11 +09:00
c49aeb08c4 Add API methods to perform requests out-of-queue 2019-11-29 20:03:14 +09:00
da01f0ee5a Merge remote-tracking branch 'refs/remotes/ppy/master' into rankings-tables 2019-11-28 20:08:41 +03:00
71a871d7d1 Add loved enum on BeatmapApproval 2019-11-28 21:59:57 +07:00
c546df8a80 Refactor API logic 2019-11-27 21:56:22 +03:00
4221a0126c Merge branch 'master' into rankings-tables 2019-11-27 23:26:54 +09:00
c0fe91a84c Merge branch 'master' into sharpen 2019-11-26 18:21:50 +08:00
b85189f855 Merge remote-tracking branch 'upstream/master' into fix-spritetext-usage 2019-11-25 11:31:12 +09:00
45514ff660 Apply fixes 2019-11-25 11:30:55 +09:00
65d71b9442 Fix beatmap lookups failing for beatmaps with no local path
Turns out the underlying EscapeUriString doesn't like nulls
2019-11-23 20:55:42 +09:00
f079ebe857 Simplify beatmap lookup to use a single endpoint 2019-11-22 16:13:48 +09:00
818553027b Merge branch 'master' into sharpen 2019-11-21 23:42:46 +08:00
19dfbb0a45 Update obsolete usages 2019-11-21 10:55:31 +09:00
374ef6ff83 Merge branch 'master' into sharpen 2019-11-20 17:30:58 +08:00
f05b83d7d4 Use typeparamref. 2019-11-17 20:48:23 +08:00
87d40cf8d0 Resolve equals usages. 2019-11-13 22:35:50 +08:00
f11ad7535d Merge branch 'master' into rankings-tables 2019-11-13 15:39:13 +09:00
ce60f8262c Merge branch 'master' into sharpen 2019-11-13 15:38:59 +09:00
61464c5c89 Fix potential nullref in unrelated test 2019-11-12 21:27:15 +09:00
ca52d09e81 Enforce expression body for typical simple ones. 2019-11-12 19:56:37 +08:00
bbeab6fa76 Use auto property. 2019-11-12 19:53:25 +08:00
58df6930b2 Get error message from server 2019-11-12 19:34:20 +09:00
f04d7f733f Merge remote-tracking branch 'upstream/master' into favourite-beatmap 2019-11-12 19:19:29 +09:00
a83c3523ae Merge branch 'master' into rankings-tables 2019-11-12 18:59:43 +09:00
e9b8cbb516 Apply other styles. 2019-11-11 20:27:04 +08:00
ccc8aa6fa4 Apply brace style. 2019-11-11 20:13:13 +08:00
6ecea0e4c1 Fix DummyAPIAccess being potentially incorrect 2019-11-06 18:15:49 +03:00
0f53725005 Merge remote-tracking branch 'refs/remotes/ppy/master' into rankings-tables 2019-11-06 13:03:34 +03:00
23ad516348 Merge branch 'master' into game-handles-links 2019-11-05 12:33:32 +09:00
1a7b803d4d Change colour to green to match web implementation 2019-11-04 08:39:51 +09:00
2f703090ef Update API with latest web changes 2019-11-01 21:49:50 +03:00
1e73cf1025 Merge remote-tracking branch 'refs/remotes/ppy/master' into rankings-tables 2019-11-01 21:14:09 +03:00
ce3b34a768 Fix UserTopScoreContainer is also tinted 2019-11-01 23:00:55 +07:00
d9a91100fb Add tint to user's score container background 2019-11-01 22:47:23 +07:00
898520935e Move link handling code to OsuGame
This allows for future calls from arguments / associations
2019-11-01 11:40:51 +09:00
d1c6e3f620 Add test for scroll to end when max history is exceeded 2019-10-29 14:32:52 +09:00
c2f6cd9c24 Merge branch 'master' into comments-vote-pill 2019-10-25 19:19:44 +09:00
661dfbefaf Change containment check to overlap
Due to scenarios wherein a formatted link ended up as part of a larger
raw link after parsing, change the containment check to an overlap check
and add appropriate tests for these edge cases.
2019-10-25 00:42:58 +02:00
cbd99cc767 Resolve link-in-link edge case
Testing with #6542 surfaced a crash scenario, caused by formatted links
that had URLs in the display text, for example

    [mean example - https://osu.ppy.sh](https://osu.ppy.sh)

In that case the outer Markdown link would get picked up once, and then
reduced to the link text when looking for other links, leading to it
being picked up again the second time when the raw link is found.

Add a check in the raw link parsing path that ensures that the found
URL is not a part of a bigger, pre-existing link.
2019-10-24 15:52:55 +02:00
24b7160522 Add support for parsing Markdown inline links
Extend the Markdown parsing regex to allow parsing so-called inline
links. Within the parenthesis () part of the Markdown URL syntax,
introduce a new capturing group:

    (
      \s+              // whitespace between actual URL and inline title
      (?<title>        // start of "title" named group
        ""             // opening double quote (doubled inside @ string)
        (
          [^""]        // any character but a double quote
          |            // or
          (?<=\\)      // the next character should be preceded by a \
          ""           // a double quote
        )*             // zero or more times
        ""             // closing double quote
      )
    )?                 // the whole group is optional

This allows for parsing the inline links as-provided by web. Correctness
is displayed by the passing tests.
2019-10-24 15:52:55 +02:00
40c202c394 Merge branch 'master' into comments-vote-pill 2019-10-23 15:41:54 +09:00
c3375071ad Fix formatting issue 2019-10-23 00:26:47 +09:00
e9aa7f3218 Subclass and use yellow for stand-alone chat display 2019-10-23 00:24:19 +09:00
bb7af1e39c Fix some margin/padding issues 2019-10-22 01:45:04 +03:00
d19041fa53 Implement DaySeparator class 2019-10-22 01:30:37 +03:00
9ee63a8c1a Apply suggested changes 2019-10-17 16:28:32 +03:00
42cd4107a0 Implement CommentVoteRequest and adjust UI 2019-10-17 15:04:30 +03:00