Commit Graph

214 Commits (94d6f3667b7e777dbb823abe1eec03845602188d)

Author SHA1 Message Date
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
MillenniumEarl 98b357d05f Scrape handiwork expoliting the new thread class 2021-03-02 12:42:03 +01:00
MillenniumEarl 99a1a3cbe4 Implement information from JSONLD 2021-03-02 12:08:20 +01:00
MillenniumEarl f651c65fc6 Add getters 2021-03-02 11:50:11 +01:00
MillenniumEarl 9e533d56f1 Set fields as private 2021-03-02 11:49:41 +01:00
MillenniumEarl e5cdb9f65d Renamed selectors 2021-03-02 11:49:24 +01:00
MillenniumEarl e3eefe72f7 Add urls 2021-03-02 11:49:02 +01:00
MillenniumEarl 64591eeba6 Extract thread and post only selectors 2021-03-02 11:48:45 +01:00
MillenniumEarl 95e9eaedce Add post map class 2021-03-02 11:48:17 +01:00
MillenniumEarl 6e1e86a983 Refactored POST request 2021-03-02 11:47:55 +01:00
MillenniumEarl 36f6075e32 Add thread class mapping 2021-03-02 11:47:41 +01:00
MillenniumEarl 33cfc3a0a6 Adapt script to new API 2021-02-27 15:33:41 +01:00
MillenniumEarl 09f1a9fd0d Add UserNotLogged error 2021-02-27 15:33:13 +01:00
MillenniumEarl 063eda7e65 Moved script 2021-02-27 13:35:47 +01:00
MillenniumEarl d38cb29de6 Renamed imports 2021-02-27 13:34:56 +01:00
MillenniumEarl 138a112e96 Adapt to new Result class 2021-02-25 19:07:36 +01:00
MillenniumEarl 20e3d863ed Add classes used for better management of errors 2021-02-25 19:06:57 +01:00
MillenniumEarl 827564ca05 Add custom errors 2021-02-25 19:06:36 +01:00