jac241 / anki_killstreaks

A Halo and Call of Duty inspired add-on to gamify Anki and make reviewing more bearable
GNU Affero General Public License v3.0
17 stars 8 forks source link

I was someone else #14

Closed khonkhortisan closed 4 years ago

khonkhortisan commented 4 years ago

I made an account as Khonkhortisan, my verification email didn't arrive, got a score of 48, got a bunch of json on my card, now I'm logged in as Dr. Frizzly, got 8 points, while the real Dr. Frizzly didn't register any points imagen imagen imagen

khonkhortisan commented 4 years ago

Notified the account owner of this thread, and logged out. As myself again, I have my score back. I hope this doesn't turn into a [can't reproduce] issue.

jac241 commented 4 years ago

Thanks for reaching out. I will take a look into it. When you signed up on the website were you logged in as yourself or as someone else? I got rid of the email verification and it should auto log you in once you've signed up.

jac241 commented 4 years ago

Did you try logging back in as yourself? If so, did it work and did you still get the random json or something else.

khonkhortisan commented 4 years ago

I was in a review session with it telling me to log in, I only created one account and intentionally logged into that one account. I did go through a few cards in I think each state of no account, account but not logged in, logged in, that weird json on multiple cards, being logged in as someone else (to try to get the account's username from the leaderboard), being logged in as me again to make sure the score increments again. Oh it just jumped from 48 to 81 85 in one go. Anki said 81, I looked at the leaderboard and it said 85, I looked back at Anki and it said 85 as well. imagen

khonkhortisan commented 4 years ago

More info: earlier, <div id="chase mode"> was directly filled with that json without having <table id="rivalry"> in it. debug info:


    Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
    Platform: Windows 10
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2020-07-12 20:35:42

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Anki Habitica for 21 ['1758045507', 2020-03-24T01:28, 'None', mod]
    Anki Killstreaks ['579111794', 2020-07-11T06:26, 'None', '']
    AnkiDiscord - Discord integration for Anki ['1133851639', 2020-01-13T17:53, 'None', '']
    AnkiWebView Inspector ['31746032', 2019-09-21T14:16, 'None', '']
    AutoDefine - Automatically define vocabulary words with pronunciations and image ['2136497008', 2019-12-13T05:44, 'None', mod]
    AwesomeTTS Google Cloud Text-to-Speech unofficial ['814349176', 2020-07-12T09:33, 'None', '']
    Batch Editing ['291119185', 2019-06-04T16:10, 'None', '']
    Beautify Anki Material design  Deck Background and icon  ['1150874988', 2020-05-30T17:53, 'None', '']
    Blitzkrieg II - Advanced Browser Sidebar BETA8 ['564851917', 2020-04-16T20:53, 'None', '']
    Colorful toolbars ['388296573', 2019-11-29T03:20, 'None', mod]
    Content Injector ['166455199', 2019-05-26T19:50, 'None', mod]
    CrowdAnki JSON exportimport Edit history Collaborate on deck creation ['1788670778', 2020-07-05T16:26, 'None', '']
    DrawingPad ['370778248', 2019-08-21T21:36, 'None', '']
    Hitmarkers ['1776869150', 2020-03-31T15:04, 'None', '']
    HoochiePapa Randomize New Queue ['1173108619', 2020-04-24T20:17, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-27T19:21, 'None', '']
    LPCG LyricsPoetry Cloze Generator ['2084557901', 2020-07-11T16:06, 'None', '']
    Leaderboard ['41708974', 2020-06-22T10:27, 'None', mod]
    No Distractions Full Screen Clean review interface  TabletTouch support ['1049863218', 2020-04-25T18:47, 'v4.1.6', mod]
    Opening the same window multiple time ['354407385', 2020-05-15T17:59, 'None', '']
    Preview any cloze number ['915063177', 2020-02-28T05:01, 'None', '']
    Progress Bar ['2091361802', 2018-02-08T16:03, 'None', '']
    Refocus Card when Reviewing 21 ['1642550423', 2018-10-12T16:20, 'None', '']
    Review Heatmap ['review_heatmap', 2020-04-30T06:23, 'None', '']
    Review Hotmouse ['1928346827', 2020-05-26T01:22, 'None', '']
    Right Hand Reviews jkl ['1212877655', 2019-03-18T18:19, 'None', '']
    Search and Replace Tags ['138501288', 2018-02-08T16:03, 'None', '']
    Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2020-07-09T02:41, 'None', mod]
    Semantic HTML tags in editor ['844409145', 2019-03-20T15:26, 'None', mod]
    Session Timer ['1287298831', 2020-06-30T09:35, 'None', '']
    Time Spent Creating Cards ['1178407876', 2020-07-01T13:08, 'None', '']

    ===IDs of active AnkiWeb add-ons===
    1049863218 1133851639 1150874988 1173108619 1178407876 1212877655 1287298831 1374772155 138501288 1642550423 166455199 1758045507 1776869150 1781298089 1788670778 1928346827 2084557901 2091361802 2136497008 291119185 31746032 354407385 370778248 388296573 41708974 564851917 579111794 814349176 844409145 915063177

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
     PUBLIC BETA Heisig RTK Rebooting the Kanji - Related Vocab on Sentence Cards ['1855482626', 2019-06-25T01:19, 'None', '']
    '' ['Answer_Button_Sounds', 0, 'None', '']
    '' ['Quantified_Self_add-on_-_export_your_review_log_-_v02', 0, 'None', '']
    '' ['ReMemorizeButtons', 0, 'None', '']
    '' ['Removes_Empty_Note_Types', 0, 'None', '']
    '' ['Tag_Pie_Chart', 0, 'None', '']
    '' ['anki-addon-glossary', 0, 'None', '']
    '' ['anki-enhance-main-window', 0, 'None', mod]
    '' ['anki-quick-easy', 0, 'None', '']
    '' ['autoLapseNewInterval', 0, 'None', '']
    '' ['deadline', 0, 'None', '']
    '' ['deck_name_in_title', 0, 'None', '']
    '' ['experimentalCardEaseFactor', 0, 'None', '']
    '' ['gCalEventPush', 0, 'None', '']
    '' ['main_fullscreen', 0, 'None', '']
    '' ['remaining_time', 0, 'None', '']
    '' ['speed-focus-mode-v0', 0, 'None', '']
    3 add-ons merged quicker anki explain deletion explain database check ['777545149', 2019-09-26T06:03, 'None', '']
    ABC notation to MP3 music integration for Anki 21x ['203713821', 2019-12-24T16:52, 'None', '']
    Add Hyperlink ['318752047', 2020-06-18T06:22, 'None', '']
    Add Note From Clipboard Fork experimental upload ['1580846175', 2020-04-18T08:28, 'None', mod]
    Add Table ['1237621971', 2020-04-27T13:52, 'None', mod]
    Add a tag to notes with missing media ['2027876532', 2019-05-10T10:02, 'None', '']
    Add-on folder with readable names ['519936472', 2020-03-06T19:36, 'None', mod]
    Additional Card Fields Fork for 21 ['744725736', 2020-04-16T03:00, 'None', '']
    Advanced Browser ['874215009', 2020-04-22T15:45, 'None', '']
    Advanced Review Bottom Bar ['1136455830', 2020-06-09T04:54, 'None', mod]
    Advanced note editor Multi-column Frozen fields LaTeXs result in editor ['2064123047', 2020-02-15T19:17, 'None', '']
    Anki Fanfare GamificationFeedback ['2073603704', 2018-12-14T06:42, 'None', mod]
    Anki Habitica formerly Anki HRPG ['954979168', 2019-05-28T00:33, 'None', '']
    Anki Simulator ['817108664', 2020-05-25T02:05, 'None', '']
    Anki Welcome Screen ['314871488', 2019-11-28T19:09, 'None', '']
    Anki Zoom ['538879081', 2020-04-03T17:20, 'v1.1.3', mod]
    AnkiCollab ['315336869', 2019-01-17T23:09, 'None', mod]
    AnkiConnect ['2055492159', 2020-07-12T12:54, 'None', '']
    Another Retreat ['1481634779', 2018-02-08T16:16, 'None', '']
    Auto Markdown ['1030875226', 2019-06-19T18:01, 'None', '']
    Automatic Basic to Cloze ['2105427255', 2020-05-09T01:57, 'None', '']
    Autosync 21 ['1726633659', 2019-08-19T10:15, 'None', '']
    Backup Key ['1790131139', 2019-03-06T12:24, 'None', '']
    Browser Card Info Bar ['2140680811', 2020-07-07T09:53, 'None', mod]
    Browser Table word wrap ['1389211778', 2020-07-02T15:55, 'None', '']
    Browser TableEditor side-by-side horizontal split ['831846358', 2020-07-07T16:44, 'None', '']
    Chinese Companion - frequency sort HSK suspend heisig support and more ['2129668097', 2019-05-20T01:02, 'None', '']
    Chinese Support Redux v0140 ['1128979221', 2020-05-31T15:43, 'None', mod]
    Chinese-Text-Scanner ['2121493325', 2020-06-27T21:53, 'None', mod]
    Clean the default deck ['683170394', 2018-12-09T00:31, 'None', '']
    Click to replay animated Gifs ['677177530', 2020-01-30T18:23, 'None', '']
    Clickable Tags v11 ['380714095', 2020-03-22T06:56, 'None', '']
    Clickable Tags v20 Anki 2120 support ['1739176371', 2020-03-13T07:25, 'None', '']
    Cloze Anything ['330680661', 2019-12-29T20:18, 'None', '']
    Cloze Hide All ['1709973686', 2020-07-06T03:20, 'None', '']
    Color Confirmation ['1084228676', 2020-03-14T05:13, 'None', mod]
    Convert Subdecks to Tag Hierarchy ['1172858842', 2020-02-23T14:03, 'None', '']
    Coronavirus Tracker ['1313091126', 2020-04-22T03:11, 'None', '']
    Correct Answers Graph ['993120073', 2020-03-24T05:57, 'None', '']
    Correcting a bug in anki which makes new card appearing in wrong order ['127334978', 2019-12-09T01:38, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2018-02-08T16:20, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2020-04-17T14:38, 'None', mod]
    Customize Sidebar ['1988760596', 2020-01-15T13:01, 'None', '']
    Deck Stats ['1421528223', 2018-10-11T01:29, 'None', '']
    Deck name in title 21 ['699175524', 2019-07-13T12:51, 'None', '']
    Dia for Anki ['379399558', 2019-08-04T10:15, 'None', '']
    Directly review without going through overview page ['1024346707', 2019-11-07T01:29, 'None', '']
    Disable fading between cards ['1533933651', 2019-08-09T05:30, 'None', '']
    Dynamic Fields ['1747470707', 2020-06-04T05:27, 'None', '']
    Ease Factor Histogram ['494944895', 2019-05-01T20:31, 'None', '']
    Echelon - Improved Hierarchical Tags for Anki 21 ['829533913', 2019-11-20T19:52, 'None', '']
    Edit Field During Review Cloze ['385888438', 2020-06-11T05:32, 'None', '']
    Edit Field During Review ['1020366288', 2020-01-29T08:33, 'None', mod]
    Edit audios in the external editor ['1502086928', 2020-06-24T10:00, 'None', '']
    Edit cards template with python and a domain specific language ['1159566613', 2020-03-09T00:57, 'None', '']
    Enhance main window ['877182321', 2020-05-03T09:58, 'None', mod]
    Enhanced cloze 21 ['2062736101', 2019-07-11T21:53, 'None', '']
    Export Cards As Text V211 ['1112021968', 2018-11-02T15:47, 'None', '']
    Export cards selected in the Browser ['1983204951', 2020-02-05T17:19, 'None', '']
    Extended Card Stats During Review ['1008566916', 2018-02-17T11:27, 'None', '']
    External Editor ['16727059', 2020-03-05T13:10, 'None', '']
    Fast cards reposition ['544982740', 2018-10-11T01:13, 'None', '']
    Fastbar another toolbar for Anki 21 beta ['1955978390', 2018-02-08T16:09, 'None', '']
    Fastbar re-upload ['916436309', 2020-01-10T17:07, 'None', '']
    Fastbar- with nightmode support ['46611790', 2020-03-20T07:34, 'None', '']
    Field History ['1247884413', 2019-01-10T12:18, 'None', '']
    Fill the blanks - Multiple typecloze support ['1933645497', 2020-03-13T18:20, 'None', mod]
    Five Finger Silver New Answer Button Graph ReLrn Stats ReMemorize Plan9-0 ['2047355215', 2019-08-08T07:38, 'None', '']
    HTML Window source ['1214415810', 2020-02-18T05:20, 'None', '']
    HUMBLE PIE distinct cards studied today statistic ['2133933791', 2020-03-24T11:05, 'None', '']
    Hierarchical Tags 2 ['594329229', 2020-04-11T09:36, 'None', '']
    High Yield Tags ['1918380616', 2020-06-30T13:35, 'None', '']
    Highlight Search Results in the Browser ['225180905', 2018-02-25T15:33, 'None', '']
    Hint Hotkeys ['1844908621', 2017-08-29T11:53, 'None', '']
    HoochieBaby Queue Controller  Day-Lrn Q ['1847358755', 2020-04-24T20:16, 'None', '']
    HoochieMama Randomize Rev Queue ['1460733408', 2020-06-03T06:17, 'None', '']
    Ignore accents in browser search ['1924690148', 2018-08-08T19:58, 'None', '']
    Improved Quizlet to Anki 21 Importer ['538351043', 2020-05-18T07:45, 'None', '']
    Incremental Reading v4103 ['935264945', 2019-08-03T21:14, 'None', '']
    Japanese Pitch Accent Notes ['625243622', 2019-08-11T05:25, 'None', '']
    Japanese Support ['3918629684', 2019-07-13T00:39, 'None', mod]
    Jlab Study Japanese with moviessubs2srsRomajiKana ['2110939339', 2020-06-29T04:50, 'None', '']
    Kanji Grid ['909972618', 2019-01-09T17:58, 'None', '']
    Keep card displayed in reviewer until it is modified ['1894745652', 2020-01-27T01:20, 'None', '']
    Knockout Deck Subset Learning ['899747926', 2019-04-03T00:35, 'None', '']
    Korean Support ['1336389630', 2020-04-14T08:22, 'None', mod]
    Life Drain ['715575551', 2020-06-06T01:47, 'None', '']
    LilyPond Integration Sheet Music Typesetter for Anki 21x ['123418104', 2019-12-24T16:53, 'None', '']
    Load Balanced Scheduler ['208879074', 2018-10-11T01:20, 'None', '']
    Localize Media ['1293255374', 2018-11-26T03:27, 'None', '']
    MIA Dictionary ['1655992655', 2020-04-06T14:48, 'None', mod]
    MIA Japanese ['278530045', 2020-03-04T15:19, 'None', '']
    MeCab UniDic Japanese Dictionary ['13462835', 2019-08-18T06:09, 'None', '']
    Media Import ['1531997860', 2019-07-25T21:45, 'None', '']
    MemoBeam ['1809412029', 2020-03-31T15:06, 'None', '']
    Mental Pause No bonus for being late ['1707633456', 2020-04-17T00:05, 'None', '']
    Merge decks ['443286122', 2019-12-25T14:07, 'None', '']
    Mini Format Pack ['295889520', 2019-07-18T16:31, 'None', '']
    More Answer Buttons with colors ['1550991760', 2019-08-08T07:28, 'None', '']
    More Overview Stats 21 ['738807903', 2019-01-06T01:01, 'None', '']
    MorphMan for Anki 21 ['900801631', 2020-02-24T11:07, 'None', '']
    Move Stats and Sync buttons to the right ['1610151176', 2018-12-20T09:07, 'None', '']
    Multi-field Batch Update ['1081479402', 2019-07-15T22:14, 'None', '']
    Night Mode ['1496166067', 2020-01-29T13:27, 'None', '']
    Number of Decks ['1358364553', 2019-12-12T23:22, 'None', '']
    Obtain a beautiful readable and debuggable database for anki ['1585491271', 2019-02-20T07:42, 'None', '']
    OpenInExternalEditorRenameDuplicate for ImageAudioVideo ['1560623518', 2020-06-30T08:53, 'None', '']
    Pennywise Add Only Once Option ['1032766035', 2019-12-25T12:57, 'None', '']
    Percentage Heatmap ['1314463504', 2020-03-17T16:53, 'None', '']
    Pokemanki ['633922407', 2020-03-03T19:10, 'None', '']
    Polar Connect - PDF and Incremental Reading with Anki Sync ['734898866', 2019-10-18T07:41, 'None', '']
    Pomodore Tomato Clock Port ['811976365', 2019-08-25T13:05, 'None', '']
    Pretzel Logic Retention Benchmarking ['1168065472', 2020-04-24T20:13, 'None', '']
    Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2020-03-28T23:26, 'None', '']
    Pull from Duolingo ['557761805', 2020-02-14T07:17, 'None', '']
    Puppy Reinforcement ['1722658993', 2020-03-02T12:23, 'None', mod]
    ReMemorize Ex Rated0Search Archived Deprecated since 2124 ['1056004913', 2020-04-15T12:17, 'None', '']
    ReMemorize Rescheduler with sibling and logging v140 ['323586997', 2020-04-17T00:07, 'None', '']
    Real-Time Import ['1659361456', 2020-01-02T09:37, 'None', '']
    Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-19T21:40, 'None', '']
    Redesign ['1914733489', 2020-02-29T14:46, 'None', '']
    Regex Search  Wildcard Matching on Field Names ['2044559350', 2020-02-14T07:16, 'None', '']
    Removes Empty Note Types for 21 ['530953383', 2020-02-12T18:12, 'None', '']
    Replay buttons on card ['498789867', 2018-02-08T15:54, 'None', '']
    Reset Ease ['947935257', 2020-06-23T12:10, 'None', '']
    Resize images in editor ['1103084694', 2020-05-18T12:29, 'None', mod]
    Script Manager ['667831375', 2020-02-05T17:58, 'None', mod]
    Set Randomizer v22 ['1164532380', 2019-12-01T19:31, 'None', '']
    Show JSONs parsing error message ['2061352905', 2019-08-09T08:05, 'None', '']
    Slackers Delight PostponeDefer Button ['880824023', 2020-02-26T11:09, 'None', '']
    Special Fields ['1102281552', 2020-07-06T11:03, 'None', '']
    Speed Focus Mode auto-alert auto-reveal auto-fail ['1046608507', 2019-06-04T16:10, 'None', '']
    Statistics for Note Types Card Types and Tags ['16703369', 2019-12-25T12:59, 'None', '']
    Stats Overview Pie Graph with Distinct Learning and-or Relearning Sections ['1828603731', 2019-05-26T02:06, 'None', mod]
    Stepwise Map Retrieval ['61346236', 2019-12-24T16:55, 'None', '']
    Symbols As You Type ['2040501954', 2020-04-30T07:32, 'None', '']
    Sync keep windows open ['937448353', 2020-05-01T06:28, 'None', '']
    Syntax Highlighting for Code ['1463041493', 2018-10-06T18:31, 'None', '']
    Test do not download ['727569521', 2019-12-24T16:56, 'None', '']
    Touch Wood Show New Cards Left Hint ['1498273991', 2020-04-03T21:37, 'None', '']
    Trigger and actions change one card depending on what occurs on another card ['1981494159', 2020-05-04T13:53, 'None', mod]
    Update add-ons when collection is synchronized ['1847544206', 2020-01-27T01:22, 'None', '']
    Update lookup Tags ['1715601279', 2019-12-24T16:41, 'None', '']
    editor apply font color background color custom class custom style ['1899278645', 2020-07-12T11:20, 'None', '']
    extended editor for templates with save and diff and html source of fields ['1043915942', 2020-04-27T15:04, 'None', '']
    link cardsnotes and preview them in extra window ['1423933177', 2020-07-07T02:35, 'None', '']
    maobi - Chinese Hanzi Writing Quizzes in Anki v0 5 0 ['931477147', 2020-03-07T05:55, 'None', '']
    paste plainunformatted text ['107041104', 2020-02-27T14:21, 'None', '']
jac241 commented 4 years ago

Yeah the score doesn't update immediately. The leaderboard gets recalculated every 15 seconds, and the chase mode in the app updates every 45. Having json show on the reviewer like that is interesting. That json is the post request that is sent to the server whenever you get a medal.

jac241 commented 4 years ago

In terms of being signed on as another user I'm at a loss for why that would happen. I deferred writing any of the token authentication used on the anki client to the library devise_token_auth .

jac241 commented 4 years ago

Refer to issue #16 for further work on this.