Commit Graph

42 Commits

Author SHA1 Message Date
krawieck 83235534f5 HECKIN CHONKER (null safety migration without scripts) 2021-04-09 00:11:44 +02:00
shilangyu 9f2de50b1d Replace local user id with person id in JWT payload 2021-04-06 10:39:43 +02:00
Filip Krawczyk bac846fea9
Transition to API v3 (#196) 2021-04-05 20:14:39 +02:00
shilangyu a9dc676ca8 Simplify comment.dart 2021-02-24 22:33:21 +01:00
shilangyu bc7779158c Simplify tokenForId 2021-02-24 22:02:36 +01:00
shilangyu 8cf3859ed8 make stores easily serializable 2021-02-24 21:54:15 +01:00
Filip Krawczyk 19b2688316
add inbox page + other stuff (#164) 2021-02-24 20:52:18 +01:00
krawieck dec2147b38 remove debugging debris 2021-01-26 21:55:57 +01:00
krawieck c2f528750a transition all api v1 calls to api v2 2021-01-24 20:01:55 +01:00
shilangyu e2af8326e2 Fix bug where accounts would be removed while being iterated over 2021-01-17 17:35:07 +00:00
shilangyu f37da51137 Make tokens in AccountsStore private 2021-01-17 16:35:47 +00:00
shilangyu 95386635f3 Disable implicit casts 2021-01-03 20:25:05 +00:00
shilangyu a803e091dc Add new easy-to-fix lint rules 2021-01-03 17:03:59 +00:00
shilangyu 58f964ab66 Fix federation errors and rename all instanceUrl to instanceHost 2020-12-31 13:58:23 +00:00
krawieck 8211d963a7 make it so that the first instance after instalation is lemmy.ml 2020-12-04 13:55:40 +01:00
shilangyu b8636938ba keys to sharedpreferences are now typed constants 2020-10-25 23:49:24 +00:00
shilangyu 91d8477e85 migrated accounts store to ChangeNotifier 2020-10-25 23:43:37 +00:00
shilangyu c839da022d small fixes 2020-09-30 20:10:13 +02:00
shilangyu aa5d9832d6 run dartfmt 2020-09-30 19:37:56 +02:00
shilangyu 94d12fccff added lots of dartdoc/comments 2020-09-30 17:05:00 +00:00
shilangyu af7cb62fac removed users from account store and used more utility methods 2020-09-29 23:15:51 +02:00
Marcin Wojnarowski 4083742574
Merge branch 'master' into post-creation 2020-09-28 20:33:28 +02:00
shilangyu cb2cc99546 show only logged in instances 2020-09-26 12:43:34 +02:00
shilangyu 80a06bf14b simplify automatic default account selection 2020-09-24 09:18:42 +02:00
krawieck a18300f0f1 add pick default reaction 2020-09-23 15:27:24 +02:00
shilangyu 72ef4a6d26 added iterable of instance urls 2020-09-22 23:17:02 +02:00
krawieck 15f408e8db mark `removeInstance` and `removeAccount` as actions 2020-09-22 13:38:31 +02:00
krawieck 3ca16ccf21 add `removeInstance` and `removeAccount` methods 2020-09-21 21:44:56 +02:00
krawieck 9497449a93 add option to assume that instance is valid and not do any requests 2020-09-21 21:44:16 +02:00
shilangyu 08af8e5997 cleanup some TODOs 2020-09-16 23:29:14 +02:00
shilangyu 0540be3ede activate prefer_final_locals lint rule 2020-09-16 23:22:04 +02:00
Filip Krawczyk fc52ce91a8
Merge pull request #41 from krawieck/community-sub-button 2020-09-16 22:14:35 +02:00
shilangyu a2b5a0a6f2 properly handling null in AccountsStore (removed tokenOrNull) 2020-09-16 21:51:08 +02:00
krawieck d98f93b0f5 make `isAnonymousFor` work for not added isntances 2020-09-16 01:10:46 +02:00
shilangyu 32cd87eefb hotfix: accounts are no persistently saved 2020-09-15 01:01:52 +02:00
shilangyu 9b3caf4927 added computed member for knowing if there are accounts 2020-09-08 21:44:52 +02:00
shilangyu 1dee2e21f5 added adding instances 2020-09-08 00:34:09 +02:00
shilangyu ed6c00172c seperated addition of instances and accounts 2020-09-07 23:43:23 +02:00
shilangyu dda7571c19 save tokens and users in AccountsStore 2020-09-02 15:16:33 +02:00
shilangyu 624f0e995a persistently save default accounts 2020-09-02 10:00:08 +02:00
shilangyu 706bf94502 accounts screen in settings:
- you can see your accounts
- you can choose the default one for the instance with a long press
2020-09-02 01:35:30 +02:00
shilangyu 2b3fc87f88 created accounts store 2020-09-01 13:22:37 +02:00