Commit Graph

21 Commits

Author SHA1 Message Date
Dendy 6b184ca014 chore: Cleanup template and importmap stuff from default values 2025-02-09 14:31:14 +09:00
Dendy 64d5381d1e fix: Do update the terms correctly (oops) 2025-02-09 13:29:06 +09:00
Dendy 0ac5d035a2 fix: Return a void array when failing to parse terms instead of null 2025-02-06 20:09:06 +09:00
Dendy c19250e29e feat: Interpret terms from non-conformant defintions 2025-02-06 20:02:50 +09:00
Dendy 6fc6307f6e chore: Move vocabDef parsing from Note to Term 2025-02-06 19:10:08 +09:00
Dendy ee2525797e feat: More intelligent term detection mechanism supporting plain def. 2025-02-06 19:06:41 +09:00
Dendy 9a59845473 fix: Don't show suspended notes when grabbing them all 2025-02-06 18:40:29 +09:00
Dendy 28bcff1667 fix: When definition doesn't conform don't error out, return null 2025-02-06 18:12:56 +09:00
Dendy 576816fa03 feat: Add media info to Note Class 2025-02-06 17:58:32 +09:00
Dendy b99d7ae971 fix: Set fields to the values, ignore anki sent order
PHP automatically maintains the order properly. Maybe just to make sure
it would be nice to somehow check the order but for now I'm leaving it
like this
2025-02-06 16:15:25 +09:00
Dendy 5586e80768 feat: Add endpoint to retrieve individual note from Anki 2025-02-06 16:08:08 +09:00
Dendy 2353c1fd1a feat: Add method to AnkiService to get arbitrary notes from NIDs 2025-02-06 16:07:32 +09:00
Dendy e5f893a43d chore: Move Term Class to its own file 2025-02-06 15:58:47 +09:00
Dendy 39e6bc9af5 feat: Add rest of Anki fields to Note 2025-02-06 15:56:28 +09:00
Dendy 230f5f18a1 feat: Add createdAt and updatedAt to Note entity 2025-02-06 15:49:33 +09:00
Dendy a0beb36a01 fix: Make noteInfo interacting AnkiService methods private 2025-02-06 15:24:32 +09:00
Dendy e8fefa064f chore: Treat not found noteInfos as NULL to prevent errors 2025-02-06 15:21:51 +09:00
Dendy ea472e6afb chore: Compartimentalize AnkiService a little into different functions 2025-02-06 15:09:14 +09:00
Dendy 4d58b2d299 feat: A lot of things that I don't remember but probs everything 2025-02-06 14:47:35 +09:00
Dendy 4fa52ec7cd Add webapp packages 2024-11-01 06:52:29 +01:00
Dendy 2411bd23c3 Add initial set of files 2024-11-01 06:52:07 +01:00