Commit Graph

683 Commits

Author SHA1 Message Date
krawieck 92d684cbfd Change strings to single quotes 2020-08-13 20:25:48 +02:00
shilangyu 120c7554c8 additional linting rules 2020-08-13 19:37:59 +02:00
shilangyu 9a9a66cd17 tests for main.dart 2020-08-13 16:32:02 +02:00
shilangyu 9c9de8c41d changed abstract class to mixin 2020-08-13 16:18:33 +02:00
shilangyu 506b007eea implemented get/post helpers 2020-08-13 15:39:53 +02:00
shilangyu 946e77bfdd getPosts tests 2020-08-12 21:01:33 +02:00
shilangyu a0002d0eb6 move model tests to a separate folder 2020-08-12 21:01:13 +02:00
shilangyu 141b929661 export enums as well 2020-08-12 21:00:31 +02:00
krawieck b433bf0971 Add more `assert`s for checking required props 2020-08-12 11:55:26 +02:00
krawieck 1307b5e5b1 Add `assert`s for checking required props 2020-08-12 11:53:17 +02:00
krawieck f68467708a yet another imports cleanup 2020-08-11 19:54:38 +02:00
krawieck be3bd569f4 Replace `type_` with `type` 2020-08-11 19:54:12 +02:00
krawieck 4a096602b5 Fix up imports 2020-08-11 19:32:13 +02:00
krawieck 771a5f28ff implement a bunch of enums 2020-08-11 19:29:56 +02:00
krawieck 5971a947d6 Add `SearchType` and implement it 2020-08-11 19:04:03 +02:00
krawieck da988f74bd Change `PostType` to `PostListingType` 2020-08-11 19:03:24 +02:00
shilangyu d646a83881 disabled undocumented members lint and added effective dart badge 2020-08-11 06:52:27 +00:00
krawieck 6436244b66 Add comments to properties based on web docs 2020-08-11 02:43:03 +02:00
krawieck 0d42fd44ac Update pubspec 2020-08-11 02:42:40 +02:00
krawieck bfae0ef57d Implement `getPosts` 2020-08-11 02:42:23 +02:00
krawieck 13522248d4 Add exports 2020-08-11 00:10:17 +02:00
Filip Krawczyk a6a33f1395
Merge pull request #9 from krawieck/disable-api-docs-lint
Disable undocumented members lint
2020-08-10 23:33:23 +02:00
shilangyu 01dd0c46e4 disabled undocumented members lint and added effective dart badge 2020-08-10 23:27:35 +02:00
krawieck 9deb17edc7 Add `PostType` and `SortType` 2020-08-10 23:07:13 +02:00
krawieck f4206be302 Make imports safer 2020-08-10 19:49:19 +02:00
krawieck b5a9d72fb6 Add some more return types 2020-08-10 19:48:26 +02:00
krawieck c40c72eeac Add even MORE return types! 2020-08-10 19:47:44 +02:00
krawieck c6361291aa Make import safer 2020-08-10 19:39:53 +02:00
krawieck 06230c2248 Autoformat 2020-08-10 19:25:13 +02:00
krawieck 5902cd8f6f Add codegen files 2020-08-10 19:23:21 +02:00
krawieck 29dd4dcc35 Add missing import 2020-08-10 19:23:03 +02:00
shilangyu 51cc332f7c Added FullPost, Search, and UserDetails #1 2020-08-10 14:47:05 +00:00
shilangyu e0a149f688 added Category 2020-08-10 14:07:00 +00:00
shilangyu cf59f9f2ae added UserMention and Site views 2020-08-10 12:39:22 +00:00
shilangyu 2af364abeb fixed import 2020-08-10 12:36:30 +00:00
shilangyu 101c7c4afc made captcha json-serializable 2020-08-10 12:22:28 +00:00
shilangyu 3aa92f695d added CommunityModerator and CommunityFollower views 2020-08-10 11:52:42 +00:00
krawieck f0bfdba132 Updated placement of `Captcha` in filesystem 2020-08-10 00:42:31 +02:00
krawieck f85b91bb49 removed unnecesairy duplication 2020-08-10 00:34:50 +02:00
krawieck 413b4bef30 Add `ReplyView` 2020-08-10 00:01:10 +02:00
krawieck ca9759db47 Add more return types 2020-08-09 23:32:42 +02:00
krawieck 8ab016076a Add `Captcha` class and return type 2020-08-09 23:24:06 +02:00
krawieck 9c101868a3 stfu mr linter 2020-08-09 23:20:21 +02:00
krawieck 1b34add11e Add `CommunityView` tests 2020-08-09 23:09:48 +02:00
krawieck 039fd6e6a0 Autoformat 2020-08-09 23:03:44 +02:00
krawieck 4594632f9a Add `UserView` tests 2020-08-09 23:01:53 +02:00
krawieck 5adee282b6 shuffled tests around 2020-08-09 22:52:17 +02:00
krawieck 03c2669ad3 Add PostView test 2020-08-09 21:43:08 +02:00
krawieck 6120cb58f7 Add tests for CommentView 2020-08-09 21:32:58 +02:00
krawieck 33a00e0628 Update codegen files 2020-08-09 21:17:22 +02:00