[12:49:22] 10WMCZ-Tracker: Show preferences in API - https://phabricator.wikimedia.org/T212109 (10Nathan_fraignt) a:03Nathan_fraignt [12:50:34] 10WMCZ-Tracker: Use API instead of display_items single-purpose view - https://phabricator.wikimedia.org/T212110 (10Nathan_fraignt) a:03Nathan_fraignt [13:12:35] (03PS1) 10Nathan fraignt: Show trackerpreferences in API [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480734 (https://phabricator.wikimedia.org/T212109) [13:24:08] (03PS1) 10Nathan fraignt: Use API instead of display_items on ticket list. [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480742 (https://phabricator.wikimedia.org/T212110) [13:25:09] (03CR) 10jerkins-bot: [V: 04-1] Use API instead of display_items on ticket list. [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480742 (https://phabricator.wikimedia.org/T212110) (owner: 10Nathan fraignt) [13:26:21] (03PS2) 10Nathan fraignt: Use API instead of display_items on ticket list. [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480742 (https://phabricator.wikimedia.org/T212110) [13:43:59] (03CR) 10Urbanecm: [C: 04-1] Show trackerpreferences in API (031 comment) [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480734 (https://phabricator.wikimedia.org/T212109) (owner: 10Nathan fraignt) [13:57:01] (03CR) 10Urbanecm: [C: 04-1] "Try to use Tracker without being logged in, it will show you a login dialog (HTTP auth). Could you please fix this? Thanks." [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480742 (https://phabricator.wikimedia.org/T212110) (owner: 10Nathan fraignt) [14:09:30] (03PS1) 10Urbanecm: Disable datatables in ticket_form.html [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480745 [14:09:37] (03CR) 10Urbanecm: [C: 03+2] Fix TypeError on /ticket//edit and /ticket/new [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480026 (https://phabricator.wikimedia.org/T212087) (owner: 10Shreyasminocha) [14:09:58] (03CR) 10Urbanecm: [C: 03+2] Disable datatables in ticket_form.html [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480745 (owner: 10Urbanecm) [14:10:34] (03CR) 10jerkins-bot: [V: 04-1] Disable datatables in ticket_form.html [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480745 (owner: 10Urbanecm) [14:10:38] (03Merged) 10jenkins-bot: Fix TypeError on /ticket//edit and /ticket/new [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480026 (https://phabricator.wikimedia.org/T212087) (owner: 10Shreyasminocha) [14:10:57] (03CR) 10jerkins-bot: [V: 04-1] Disable datatables in ticket_form.html [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480745 (owner: 10Urbanecm) [14:12:01] (03PS2) 10Urbanecm: Disable datatables in ticket_form.html [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480745 [14:13:06] * Urbanecm waves to shreyasminocha [14:13:23] * shreyasminocha waves to Urbanecm [14:14:33] Urbanecm: is there a way to get just a single subproperty of an `aiprop`? [14:14:58] what do you mean by a suubproperty? [14:15:11] (03CR) 10Urbanecm: [C: 03+2] Disable datatables in ticket_form.html [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480745 (owner: 10Urbanecm) [14:16:12] (03Merged) 10jenkins-bot: Disable datatables in ticket_form.html [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480745 (owner: 10Urbanecm) [14:16:21] when i call with aiprop=`...|extmetadata`, there's a key under `extmetadata` called `Categories` [14:16:43] but there are also lots of other keys (which causes the call to become a really slow process) [14:17:07] to speed things up, i want to get only the `Categories` subprop [14:18:05] * Urbanecm is looking [14:18:33] * shreyasminocha tried to look, but in vain [14:19:42] Imageinfo have a filter, but I can't find something equivalent on https://www.mediawiki.org/wiki/API:Allimages :( [14:20:25] :( [14:20:46] getting 10 images took 973 ms [14:21:08] 646* [14:21:26] 646 without extmetadata* [14:21:59] hmm [14:22:03] $ time wget -O /dev/null -o /dev/null 'https://commons.wikimedia.org/w/api.php?action=query&format=json&list=allimages&aisort=timestamp&aiprop=timestamp%7Curl%7Cextmetadata&aiuser=Martin%20Urbanec' [14:22:03] real 0m0,443s [14:22:03] user 0m0,005s [14:22:03] sys 0m0,005s [14:23:10] yeah, it's about that much for me too now. the 973 was with an incorrect query (i find on checking again) [14:23:14] :p [14:23:18] :D [14:26:31] workflow: (1) write js (2) run eslint (3) add spaces in parens (4) repeat [14:26:39] :) [14:27:29] shreyasminocha, note I can get to 1 sec sometime too (onetime to 2 secs), when trying some random users. But I think users are expecting fetching images might take a while, esp. with some filters in place. I think the UI should take those cases into consideration as well, and indicate user it's doing the fetching, so the user isn't confused [14:27:39] * ( 1 ), ( 2 ), ( 3 ), ( 4 ) [14:27:43] hmm [14:28:39] want to limit the number of pics a user can ask for to 50 (or something)? [14:29:19] it's not a requirement, but in case it'll help you somehow, I'm fine with that, as long as the user will be able to request new set of images [14:29:26] (like "Load more button") [14:29:41] * Urbanecm hopes the "hmm" doesn't mean he wasn't understandable [14:29:48] it didn't [14:32:06] great [14:48:54] * Urbanecm is getting of his train, see you later [14:48:55] cc shreyasminocha [15:03:00] * takidelfin waves [15:04:53] shreyasminocha: Use eslint plugin for VS Code [15:05:03] even autofix feature :D [15:07:07] Urbanecm: so you are travelling to work by a train? wow :O [15:07:07] My town is so small... (like minitown) [15:46:29] (03PS4) 10Shreyasminocha: Add Commons media selection interface [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480572 [15:51:00] (03CR) 10Urbanecm: [C: 03+2] Throw 403 instead of 404 when adding ack to a ticket you don't own [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480061 (owner: 10Urbanecm) [15:52:13] (03Merged) 10jenkins-bot: Throw 403 instead of 404 when adding ack to a ticket you don't own [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480061 (owner: 10Urbanecm) [15:59:37] (03PS2) 10Nathan fraignt: Show trackerpreferences in API [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480734 (https://phabricator.wikimedia.org/T212109) [16:03:31] (03CR) 10Urbanecm: [C: 04-1] Show trackerpreferences in API (031 comment) [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480734 (https://phabricator.wikimedia.org/T212109) (owner: 10Nathan fraignt) [18:23:56] (wow, just realized that wikibugs is there) [18:23:59] gz shreyasminocha! [18:24:00] :D [18:24:50] :D [18:25:30] time to send some patches [18:25:32] ddd [18:34:24] * Urbanecm waves to takidelfin [19:09:43] * takidelfin waves back [21:28:08] (03CR) 10Nathan fraignt: Show trackerpreferences in API (031 comment) [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/480734 (https://phabricator.wikimedia.org/T212109) (owner: 10Nathan fraignt)