Commit Graph

231 Commits (751036f0d38bcabbbe29d02c36f15097b08967e9)

Author SHA1 Message Date
MillenniumEarl a3114e1a5d Remove overloads 2021-03-08 12:37:01 +01:00
MillenniumEarl a05ef64b3c Add parameter type 2021-03-08 12:36:53 +01:00
MillenniumEarl bc3ed3c11c Merge scripts 2021-03-08 12:36:45 +01:00
MillenniumEarl d16ee36fc1 Wrong parameter type in overload 2021-03-08 12:32:42 +01:00
MillenniumEarl 40f65d9fbb Remove ".js" from module imports 2021-03-08 12:23:31 +01:00
MillenniumEarl 1eb3bdbd96 Change import for @luxon 2021-03-08 12:20:38 +01:00
MillenniumEarl 2fa1e8cf17 Change imports for @class-validator 2021-03-08 12:19:27 +01:00
MillenniumEarl a4be89c5fc Fix --no-prototype-builtins 2021-03-08 12:18:52 +01:00
MillenniumEarl f40354e79a Change @luxon imports 2021-03-08 12:18:06 +01:00
MillenniumEarl 4ee0754410 Fix @ts-ignore 2021-03-08 12:16:57 +01:00
MillenniumEarl ca11a442ed Update JSDOC and url names 2021-03-05 13:04:43 +01:00
MillenniumEarl 0a57d2b2ec Clena css-selectors 2021-03-05 12:50:35 +01:00
MillenniumEarl 20b4802dc1 Renamed file 2021-03-05 12:25:42 +01:00
MillenniumEarl 3014ce350a Run prettier 2021-03-05 11:26:53 +01:00
MillenniumEarl 48885a8604 Add response codes to login result 2021-03-05 11:20:46 +01:00
MillenniumEarl 40d13f25de End script if login fails 2021-03-05 11:20:25 +01:00
MillenniumEarl 35c0427862 Minor refactoring 2021-03-05 10:56:46 +01:00
MillenniumEarl ae28edc6a3 Add 2FA url 2021-03-05 10:56:40 +01:00
MillenniumEarl 32b3ad753c Implements 2fa authentication 2021-03-05 10:56:27 +01:00
MillenniumEarl e8f47fcc21 Implements 2fa 2021-03-05 10:28:51 +01:00
MillenniumEarl ecad3d2ade Add license headers 2021-03-04 13:19:49 +01:00
MillenniumEarl 2070352ca0 Lint scripts 2021-03-04 13:15:01 +01:00
MillenniumEarl e0fd96ab78 Format with prettier 2021-03-04 12:26:45 +01:00
MillenniumEarl bee130b3b9 Merge branch '2.0.0-ts' of https://github.com/MillenniumEarl/F95API into 2.0.0-ts 2021-03-04 12:05:46 +01:00
MillenniumEarl d82c2dd113 Replace md5 with sha256 2021-03-04 12:05:42 +01:00
Millennium Earl ee04f70ad7
Merge pull request #75 from MillenniumEarl/2.0.0-ts-cf-autofix
Apply fixes from CodeFactor
2021-03-04 11:59:37 +01:00
MillenniumEarl c87c32af71 Change example games 2021-03-04 11:58:14 +01:00
MillenniumEarl 7d3d70e24e Adapt "likes" to "replies" 2021-03-04 11:58:03 +01:00
MillenniumEarl b6acab7d82 Fix wrong POST parameter (order) 2021-03-04 11:57:15 +01:00
codefactor-io f29c1d91b8 [CodeFactor] Apply fixes 2021-03-04 10:54:59 +00:00
MillenniumEarl 75345718be Clean code 2021-03-04 11:41:50 +01:00
MillenniumEarl 2c4e63d97e Remove unnecessary URL 2021-03-04 11:21:40 +01:00
MillenniumEarl 05e18eccd5 Remove unnecessary overloads 2021-03-04 11:21:21 +01:00
MillenniumEarl 8036372d1f Fix unmerged overload signatures 2021-03-04 11:03:17 +01:00
MillenniumEarl 44d06ecb9b Missing radix parameter 2021-03-04 10:58:23 +01:00
MillenniumEarl 96f321b417 Missing parenthesis when invoking constructor 2021-03-04 10:56:06 +01:00
MillenniumEarl f9f852c003 Add missin radic parameter 2021-03-04 10:55:00 +01:00
MillenniumEarl 036e42f31f Fix unnecessary initializer 2021-03-04 10:53:15 +01:00
codefactor-io 3edcb7ee67 [CodeFactor] Apply fixes 2021-03-04 09:48:14 +00:00
MillenniumEarl 8563be901f Merge branch '2.0.0-ts' of https://github.com/MillenniumEarl/F95API into 2.0.0-ts 2021-03-04 10:47:40 +01:00
MillenniumEarl f611482a06 Update JSDOC 2021-03-04 10:47:35 +01:00
codefactor-io 8d9d1e11e4 [CodeFactor] Apply fixes 2021-03-04 09:42:41 +00:00
MillenniumEarl ed77fa31f5 Add fallback for missing changelog 2021-03-04 10:27:34 +01:00
MillenniumEarl 3df82a36b8 Fetch GET response instead of HTML code 2021-03-04 10:14:21 +01:00
MillenniumEarl 5fb621d848 Fix wrong ID for games category 2021-03-04 10:14:03 +01:00
MillenniumEarl 1d7e06da4c Change createURL to execute 2021-03-04 10:02:23 +01:00
MillenniumEarl 839016daa3 Fix possible inesistent author 2021-03-04 10:01:14 +01:00
MillenniumEarl 8204df9a15 Fix already clean headline 2021-03-04 10:00:12 +01:00
MillenniumEarl c5797b660b Renamed conflictual variable 2021-03-03 21:17:37 +01:00
MillenniumEarl 0cb3cdb534 Set parameter only if necessary 2021-03-03 21:17:23 +01:00
MillenniumEarl dae582eedc Fallback if category is mods 2021-03-03 21:16:48 +01:00
MillenniumEarl 2be07a38cc Fix invalid URL 2021-03-03 21:16:30 +01:00
MillenniumEarl bd23956dc4 Fix non complete cast of query 2021-03-03 20:29:09 +01:00
MillenniumEarl 3711d8ae3e Fix missing parameter in casts 2021-03-03 20:28:45 +01:00
MillenniumEarl 7dae1bad3c Add category to query 2021-03-03 20:28:22 +01:00
MillenniumEarl 18c901288e Miising initialization, fix undefined category 2021-03-03 20:27:13 +01:00
MillenniumEarl 5958c80ab7 Avoid error if response code is < 500 2021-03-03 20:18:44 +01:00
MillenniumEarl 63b3e30def Adapt example to new API 2021-03-03 20:18:14 +01:00
MillenniumEarl ededed1cc8 Re-export classes, fix imports and manage session 2021-03-03 20:18:01 +01:00
MillenniumEarl 2af6c263c1 Remove test script 2021-03-03 20:16:49 +01:00
MillenniumEarl f7dc174e61 Add fallback for missing rating 2021-03-03 20:14:56 +01:00
MillenniumEarl 7dcb49c6a5 Add support for private users 2021-03-03 20:13:42 +01:00
MillenniumEarl b26c5de21b Implement cookie storage on disk 2021-03-03 15:13:00 +01:00
MillenniumEarl 52131a143b Find correct owner 2021-03-03 11:43:17 +01:00
MillenniumEarl 2d7c98f685 Add selector for post owner ID 2021-03-03 11:43:07 +01:00
MillenniumEarl b1a71ac617 Add method for fetch current user ID 2021-03-03 11:32:50 +01:00
MillenniumEarl 3a41426207 Add selector for current user ID 2021-03-03 11:32:37 +01:00
MillenniumEarl e3446ba096 Fix imports 2021-03-03 11:32:27 +01:00
MillenniumEarl 0a51f5c239 Add setID method and check for id validation in fetch() 2021-03-03 11:31:58 +01:00
MillenniumEarl 08d4476591 Save token with JSON 2021-03-03 11:31:36 +01:00
MillenniumEarl 4002c6a499 Add selectors for watched threads 2021-03-03 10:59:17 +01:00
MillenniumEarl 28b01781b9 Renamed in user-profile.ts 2021-03-03 10:59:05 +01:00
MillenniumEarl b2ce7a61b4 Removed in favour of user-profile.ts 2021-03-03 10:58:55 +01:00
MillenniumEarl 715096bc3b Moved to "mapping" class 2021-03-03 10:58:17 +01:00
MillenniumEarl e88c808986 Implement class 2021-03-03 10:57:50 +01:00
MillenniumEarl bd967d5a8c Update JSDOC 2021-03-02 21:16:07 +01:00
MillenniumEarl 0855e88550 Fix banner scraping 2021-03-02 21:09:33 +01:00
MillenniumEarl b9de6e1838 Fix imports 2021-03-02 21:00:02 +01:00
MillenniumEarl 597cb52e09 Fix imports 2021-03-02 20:58:45 +01:00
MillenniumEarl cb9b0b1207 Update JSDOC 2021-03-02 20:56:48 +01:00
MillenniumEarl b54566350a Improved selector 2021-03-02 20:56:02 +01:00
MillenniumEarl 3a912aa9d9 Implemented class 2021-03-02 20:55:41 +01:00
MillenniumEarl f60606e5e8 Remove file 2021-03-02 20:28:29 +01:00
MillenniumEarl f4af0c43f1 Add overload to getHandiworkInformation 2021-03-02 20:28:05 +01:00
MillenniumEarl ffe9271bcf Add fetch method for PlatformUser 2021-03-02 20:27:50 +01:00
MillenniumEarl 50ff84eb31 Use new method to get post from thread 2021-03-02 19:10:09 +01:00
MillenniumEarl 5b8d6cab31 Remove unused lines 2021-03-02 19:09:54 +01:00
MillenniumEarl 5337012a32 Find correct body of the post 2021-03-02 19:09:36 +01:00
MillenniumEarl 0d28d98d13 Add function to get post instead of list 2021-03-02 19:09:24 +01:00
MillenniumEarl b10002dcc7 Refactored for GET request success/failure 2021-03-02 19:06:27 +01:00
MillenniumEarl c6765dab09 Ad ParameterError 2021-03-02 19:06:13 +01:00
MillenniumEarl 35d359b028 Posts are now lazy 2021-03-02 17:12:39 +01:00
MillenniumEarl 4a16642540 Post is now a lazy class 2021-03-02 17:08:34 +01:00
MillenniumEarl 63d27febfa Update JSDOC 2021-03-02 17:06:59 +01:00
MillenniumEarl 5ed5885ce6 Move JSDOC 2021-03-02 16:18:59 +01:00
MillenniumEarl 8359958874 Fix types mismatch 2021-03-02 16:18:47 +01:00
MillenniumEarl 8a7b1b4066 Add selectors for member scraping 2021-03-02 16:18:22 +01:00
MillenniumEarl 7692c8d94a Missing header property 2021-03-02 16:18:09 +01:00
MillenniumEarl d4a1d4dd04 Fix wrong URL composition 2021-03-02 14:03:57 +01:00
MillenniumEarl f85da9f288 Fix imports without ".js" 2021-03-02 13:56:57 +01:00