Commit Graph

246 Commits (unit-tests)

Author SHA1 Message Date
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
MillenniumEarl 739c39b5f8 Removed redundand JSDOC 2021-02-25 17:14:31 +01:00
MillenniumEarl 10b1685d8d Add accessibility modifiers 2021-02-25 17:14:04 +01:00
MillenniumEarl 40428cb658 Add accessibility modifer 2021-02-25 15:15:57 +01:00
MillenniumEarl c3899010ea Resolve wrong imports 2021-02-25 12:17:29 +01:00
MillenniumEarl c87c426a1f Set as unique AP for searching handiworks 2021-02-25 12:06:38 +01:00
MillenniumEarl 3c34b63cb6 Moved to subfolder "query" 2021-02-25 12:05:54 +01:00
MillenniumEarl 2c9f8e2d0b Moved to subfolder "scrape-data" 2021-02-25 12:05:23 +01:00
MillenniumEarl 973318706c Add scripts used for fetching URLs based on query type 2021-02-25 12:04:42 +01:00
MillenniumEarl 8cb92ebd3c Moved to subfolder "query" 2021-02-25 12:04:06 +01:00
MillenniumEarl 63aa32851b Add itype in IQuery and type TQueryInterface 2021-02-25 12:03:09 +01:00
MillenniumEarl 1f9fe7265a Renamed used class 2021-02-23 19:56:54 +01:00
MillenniumEarl 91209c55da Renamed class 2021-02-23 19:56:34 +01:00
MillenniumEarl 43e4edc75c Add strict statement 2021-02-23 19:56:01 +01:00
MillenniumEarl ee7e00b031 Add IQuery interface, add "Mods" as category 2021-02-23 19:55:47 +01:00
MillenniumEarl 8abaf0b8cf Update search url 2021-02-23 19:55:07 +01:00
MillenniumEarl cf0caad9cb Import categories 2021-02-21 15:13:38 +01:00
MillenniumEarl 31d31bbf08 Add types and renamed class 2021-02-21 15:04:27 +01:00
MillenniumEarl 71ba083666 Renamed class 2021-02-21 14:57:41 +01:00
MillenniumEarl 598eb81c2a Renamed script 2021-02-21 14:57:29 +01:00
MillenniumEarl 7770b95322 Add URLs for alerts, conversations and bookmarks 2021-02-21 14:53:50 +01:00
MillenniumEarl 4bbad3d462 Renamed fields 2021-02-21 14:53:32 +01:00
MillenniumEarl 6c0b81cf8a Renamed scripts 2021-02-21 14:48:19 +01:00
MillenniumEarl 92186e42d8 Renamed field 2021-02-21 14:48:04 +01:00
MillenniumEarl 8d4cd4111f Renamed types 2021-02-21 14:45:21 +01:00
MillenniumEarl c9593d76b6 Renamed fields 2021-02-21 14:40:43 +01:00
MillenniumEarl 7c74cacb6b Add fields 2021-02-21 14:40:36 +01:00
MillenniumEarl a3c2eb81b8 Removed cheerio parameter 2021-02-21 14:40:18 +01:00
MillenniumEarl 91f809f249 Renamed types and fields 2021-02-21 14:40:05 +01:00
MillenniumEarl dac5e9f16b Add login to test 2021-02-21 13:03:32 +01:00
MillenniumEarl b25bf8ac34 Restore commented content 2021-02-21 13:03:19 +01:00
MillenniumEarl 0329b534c0 Completely rewritten script 2021-02-21 12:54:43 +01:00
MillenniumEarl ad29e1a868 Removed game-info.ts 2021-02-21 12:51:29 +01:00
MillenniumEarl 583fe520ef Renamed types 2021-02-21 12:51:11 +01:00
MillenniumEarl f7bad33c1f Add post-parser.ts 2021-02-21 12:50:46 +01:00
MillenniumEarl 1cad5c277f Fix cheerio error 2021-02-21 12:50:28 +01:00
MillenniumEarl 3c89da8ea5 Add types 2021-02-21 12:50:14 +01:00
MillenniumEarl e1dbd2effb Add new types and properties 2021-02-21 12:49:58 +01:00
MillenniumEarl a37753a1bc Fixed imports 2021-02-20 18:24:24 +01:00
MillenniumEarl 209c3f0041 Renamed interfaces 2021-02-20 18:23:54 +01:00
MillenniumEarl ae3473e587 Add JSDoc 2021-02-17 09:04:56 +01:00
MillenniumEarl f483f9ce8f COnvert to new prefix system 2021-02-16 16:09:32 +01:00
MillenniumEarl 2f43996b68 Regroup prefixes under a single dict of DictTypes 2021-02-16 16:06:56 +01:00
MillenniumEarl 3a3ee4173a Reduced cyclomatic complexity 2021-02-16 16:06:32 +01:00
MillenniumEarl 6604d3b5c3 Add support for literal tags and prefixes 2021-02-16 15:16:20 +01:00
MillenniumEarl eb7db48de3 Update JSDoc 2021-02-16 15:13:17 +01:00
MillenniumEarl 3380885bcb Created classes for every work 2021-02-16 15:13:04 +01:00
MillenniumEarl 5caa3c28a8 Moved the common interfaces in a single file 2021-02-16 15:12:40 +01:00
MillenniumEarl 2d396aaebe FIx import errors 2021-02-16 11:48:47 +01:00
MillenniumEarl 53ff8f3c0e Add test script 2021-02-16 10:41:59 +01:00
MillenniumEarl e508149257 Translate scripts 2021-02-15 22:26:18 +01:00
MillenniumEarl 52264a487a Fix missing imports 2021-02-15 21:52:05 +01:00
MillenniumEarl 046604cb54 Translate script 2021-02-15 21:29:42 +01:00
MillenniumEarl a69acbbef4 Translate scripts 2021-02-15 21:29:32 +01:00
MillenniumEarl 23c971ca32 Translate script 2021-02-15 21:29:15 +01:00
MillenniumEarl 4a73375cfb Add json-ld.ts 2021-02-15 21:28:37 +01:00
MillenniumEarl 8a13c6b1cc Fix bad import 2021-02-14 12:28:52 +01:00
MillenniumEarl b2fa27281c Add default export 2021-02-14 12:27:51 +01:00
MillenniumEarl 59d40b8ba3 Installed types and add default export 2021-02-14 12:26:46 +01:00
MillenniumEarl 2610b08290 Add SearchQuery class 2021-02-14 12:26:06 +01:00
MillenniumEarl 5c2cf7b7b6 Add latest PHP URL 2021-02-14 12:25:47 +01:00
MillenniumEarl 3737704ffb Translated constants 2021-02-14 10:22:26 +01:00
MillenniumEarl c6bf753f29 Converted classes scripts 2021-02-13 16:21:28 +01:00
MillenniumEarl be823c9424 Renamed source files 2021-02-13 15:20:07 +01:00
MillenniumEarl 3a69119c73 Renamed "app" to "src" 2021-02-13 15:12:49 +01:00