Commit Graph

933 Commits

Author SHA1 Message Date
Marcin Wojnarowski d8dcea096f
Merge branch 'master' into feature/more-settings 2021-04-21 22:57:15 +02:00
shilangyu d7c50aec7b Don't show community dropdown on edit 2021-04-21 21:30:21 +02:00
shilangyu 1e06533319 Add snackbar 2021-04-21 21:11:48 +02:00
shilangyu 7fcda98da0 Create editor widget 2021-04-21 21:05:15 +02:00
shilangyu dcc4eba8ad Better post edit 2021-04-21 18:59:46 +02:00
shilangyu 666b2cb8dd CR suggestions 2021-04-21 16:12:43 +02:00
Marcin Wojnarowski bc957ab7b4
Merge branch 'master' into feature/more-settings 2021-04-21 13:30:04 +02:00
Marcin Wojnarowski 7c14fe616d
Merge branch 'master' into feature/edit-post 2021-04-21 12:27:06 +02:00
shilangyu 0d440062dd Add link to profile 2021-04-19 16:57:43 +02:00
shilangyu d1dcdda099 Remove lemmy-ui specific options 2021-04-18 16:48:38 +02:00
shilangyu bb0e1baa0b Move show avatar/scores to appearance 2021-04-18 16:38:30 +02:00
shilangyu c19496e2cf Restructure settings 2021-04-18 16:38:30 +02:00
shilangyu 2c91d3aa5f Add editing post 2021-04-17 23:59:33 +02:00
shilangyu 7a627bbb42 Add comment editing 2021-04-17 22:45:18 +02:00
shilangyu 12cb62f87a Add changelog 2021-04-17 12:22:15 +02:00
shilangyu fa7effcb4b Integrate defaultListingType 2021-04-16 21:59:51 +02:00
shilangyu 270702192e Add sort type settings 2021-04-16 21:50:23 +02:00
shilangyu e357332a07 Add default sortings 2021-04-16 21:43:02 +02:00
shilangyu c371c3f4fb Add settings import 2021-04-16 21:19:59 +02:00
shilangyu 01e9dae0cc Implement showAvatars 2021-04-16 20:41:33 +02:00
shilangyu 600d52211e Add settings 2021-04-16 20:32:25 +02:00
shilangyu ef7ba71bcc Implement show scores 2021-04-16 20:32:20 +02:00
shilangyu 7138f9b76c Add settings 2021-04-16 20:15:48 +02:00
Marcin Wojnarowski 4a939441b6
Merge branch 'master' into fix/another-user-id-fix 2021-04-11 22:33:21 +02:00
shilangyu 3011890831 Add autofillgroup 2021-04-11 20:52:11 +02:00
shilangyu de4b6e674d Fix userId (again) 2021-04-11 18:27:22 +02:00
shilangyu 59d93fe697 Improve keyboard experience 2021-04-11 17:19:44 +02:00
shilangyu 9fa198c3bb Add keyboard dismisser 2021-04-11 16:36:29 +02:00
shilangyu 0889246956 Add todo 2021-04-11 11:49:41 +02:00
shilangyu c66b20a460 Nullability fixes 2021-04-11 11:12:42 +02:00
shilangyu 236301275d Fix config_store 2021-04-11 00:55:04 +02:00
shilangyu d77856f167 Fix formatting 2021-04-11 00:37:17 +02:00
shilangyu 709f357368 Last lint fix 2021-04-11 00:28:33 +02:00
shilangyu bb8e5ee525 Lint fixes 2021-04-11 00:20:47 +02:00
krawieck 83235534f5 HECKIN CHONKER (null safety migration without scripts) 2021-04-09 00:11:44 +02:00
Filip Krawczyk 96065fe3e3
Merge branch 'master' into small-fixes 2021-04-06 18:54:13 +02:00
shilangyu e0cb1a0a83 Add deduplication 2021-04-06 17:52:10 +02:00
shilangyu d2dd388228 Disable commenting on locked posts, fixes #159 2021-04-06 16:06:07 +02:00
shilangyu 3609570df8 Make post body selectable, fixes #190 2021-04-06 15:48:56 +02:00
shilangyu 63486e0c88 Make text selectable when writing comments, fixes #157 2021-04-06 15:42:12 +02:00
shilangyu c847a3aaa6 Add more bottom padding for BAB, fixes #174 2021-04-06 15:39:19 +02:00
shilangyu 681ab555b2 Swap instanceHost/username placement, fixes #167 2021-04-06 15:23:57 +02:00
shilangyu ee4ef8de91 Make account actions more obvious 2021-04-06 14:42:42 +02:00
shilangyu 88e1f8324f Change cleanUpUrl name 2021-04-06 10:56:21 +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
ryg-git c5f75c94ad handle FormatException thrown by Uri.parse 2021-04-01 00:58:46 +05:30
ryg-git 725f9103d6 implemented new comments 2021-04-01 00:46:23 +05:30
ryg-git 0aa4d9c592 in cleanup url instance host is now changed to lowercase letters. 2021-03-29 22:51:30 +05:30
Filip Krawczyk 460b4f3c8a
Merge pull request #186 from krawieck/fix/everything-home 2021-03-25 10:56:42 +01:00
Filip Krawczyk 4b04a58eba
Merge pull request #187 from krawieck/fix/share 2021-03-20 16:25:15 +01:00
shilangyu 048e347e43 Remove class acting as a namespace 2021-03-20 15:50:49 +01:00
shilangyu 48dadd5f26 Migrate esys_flutter_share to share 2021-03-18 19:24:29 +01:00
shilangyu 72ebb38ff5 Fix home tab fetching 2021-03-18 17:41:52 +01:00
shilangyu 8634239060 Better error handling on PackageInfo 2021-03-18 17:03:42 +01:00
shilangyu 748fb54443 React to defaultAccount changes 2021-03-18 15:58:48 +01:00
shilangyu 0bcc364ee5 Scaffold.of -> ScaffoldMessenger.of 2021-03-10 08:34:30 +01:00
shilangyu c722bbe4a9 Fix locale generation 2021-03-10 08:12:57 +01:00
Filip Krawczyk 22729dc2e2
Merge pull request #176 from krawieck/l10n 2021-03-09 22:33:24 +01:00
shilangyu f0834681ad Add post listing type translations 2021-03-09 22:21:14 +01:00
krawieck e4ebcb31ec assign proper strings to proper things 2021-03-09 21:38:34 +01:00
shilangyu eff42b6b4f Add deleted by creator 2021-03-09 08:53:26 +01:00
shilangyu 20c34b4477 Localize enums 2021-03-09 08:51:08 +01:00
Filip Krawczyk 4ba392082b
fix markdown quote blocks & make code blocks have monospace font (#177) 2021-03-09 08:32:14 +01:00
shilangyu 0adea8f0a9 Add language names 2021-03-04 09:46:08 +01:00
shilangyu b9a60ca599 Integrate more strings 2021-03-03 13:16:05 +01:00
shilangyu 7f3dac1f89 Remove all non-migrated strings 2021-03-03 12:31:36 +01:00
shilangyu 191991519a Migrate more strings 2021-03-03 12:20:27 +01:00
shilangyu b9e042b1d7 Add transforming options 2021-03-02 22:53:29 +01:00
shilangyu d5f1d45b06 Allow for more custom migration 2021-03-02 22:12:08 +01:00
shilangyu 83c12a817c Add possibility of migrating plural forms 2021-03-02 13:18:10 +01:00
shilangyu f0c6745484 Migrated more error strings 2021-03-02 00:23:35 +01:00
shilangyu 2bea5acde7 Add `L10nStrings` 2021-03-01 14:38:44 +01:00
shilangyu ca8cb67f6d Integrate first batch of strings 2021-03-01 14:21:45 +01:00
shilangyu 5c989679b6 Generate more strings 2021-03-01 09:44:37 +01:00
shilangyu 1c8b063434 Generate l10n from string extension 2021-03-01 00:02:32 +01:00
shilangyu 94d63cda39 Migrate ApiError strings 2021-03-01 00:01:52 +01:00
shilangyu 79ae723bed Fix language picker 2021-02-28 21:53:02 +01:00
shilangyu c1ec5c6a7b Change string name 2021-02-28 21:53:02 +01:00
shilangyu 9e5af0ac7a Rename new because of keyword conflict 2021-02-28 21:53:02 +01:00
shilangyu cc8513e4b5 Add empty base languages 2021-02-28 21:53:02 +01:00
shilangyu 2d79a94285 Migrated some strings 2021-02-28 21:53:02 +01:00
shilangyu 9a0deb203a make bool param required 2021-02-28 21:53:02 +01:00
shilangyu 734a63e7dd Initial strings setup 2021-02-28 21:53:02 +01:00
shilangyu 28013a8a45 Add re-export of l10n 2021-02-28 21:53:02 +01:00
shilangyu 22b76b0b2b Add initial l10n setup 2021-02-28 21:53:02 +01:00
shilangyu 8cc4246569 Hide followed communities 2021-02-25 21:54:55 +01:00
shilangyu 8e7602ce3d Add token when fetching communities 2021-02-25 21:54:55 +01:00
shilangyu fcf39be00f Fix null check typo 2021-02-25 21:23:54 +01:00
shilangyu 7cc928764b Propagate userMentionId 2021-02-24 22:48:19 +01: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
shilangyu 9984dbffa2 Sort imports 2021-02-21 16:29:12 +01:00
Marcin Wojnarowski 869f674880
Merge branch 'master' into modlog 2021-02-20 17:07:59 +01:00
shilangyu 8b1fab1fd0 Push buttons always to bottom 2021-02-20 17:00:36 +01:00
shilangyu a0258d65e5 Add code review suggestions 2021-02-19 20:06:01 +01:00
wolf4ood 9ac6fc209e fix lint errors 2021-02-19 14:03:19 +01:00
wolf4ood 41da3bd865 Add button to community page for creating a new post. https://github.com/krawieck/lemmur/issues/90 2021-02-18 23:03:12 +01:00
shilangyu 3b3d9855ec Make table border visible in AMOLED mode 2021-02-18 17:22:32 +01:00
shilangyu 46059b5b83 Remove unneeded nullish coalescing 2021-02-18 17:13:20 +01:00
shilangyu 8464fe4146 Small visual changes 2021-02-18 13:14:03 +01:00
shilangyu c8124e4ffc Add avatar to mod 2021-02-18 10:24:33 +01:00
shilangyu 11ded1b4b4 Fill in text for modlog 2021-02-18 10:21:10 +01:00
shilangyu ae33e277a8 Add avatar widget 2021-02-18 09:19:00 +01:00
shilangyu 5326eda8f6 Add pagination 2021-02-17 00:40:26 +01:00
shilangyu 2c2c33494d Add initial modlog 2021-02-16 22:39:46 +01:00
krawieck 3afb5c9d11 remove offset cuz it got fixed in lac 2021-02-13 17:03:40 +01:00
krawieck 39b12fe3bc change "this" formatting 2021-02-12 23:44:15 +01:00
krawieck 40636246df Add extension for relative time and fix a bug
the bug was that time from server is in UTC format,
and our time is in local format, so it needed
to be shifted back to UTC.

oddly enough .toUtc() method didn't work
2021-02-12 17:53:51 +01:00
Filip Krawczyk efb2551f4f
Merge pull request #146 from krawieck/saved-page 2021-02-09 22:41:47 +01:00
krawieck c422f685b0 reorder imports 2021-02-09 21:47:54 +01:00
Filip Krawczyk aabc270a3b
Merge branch 'master' into fix-navigation-bar 2021-02-09 21:42:43 +01:00
krawieck 9404e1f71f add extension for reversing brightness, also fix the whole thing 2021-02-09 21:36:21 +01:00
shilangyu 65013609ab Move saved_page 2021-02-09 20:39:45 +01:00
shilangyu 737ded307e Clean up inifinite lists 2021-02-09 20:39:31 +01:00
shilangyu 2b95ea5f0f Add saved page 2021-02-09 19:25:17 +01:00
Marcin Wojnarowski b1dad4d895
Revise theming (#140) 2021-02-09 15:12:13 +01:00
Filip Krawczyk 430d196997
Media View improvements (#128) 2021-02-08 12:15:48 +01:00
krawieck 090816ded3 make it actually usable ffs 2021-02-07 02:19:10 +01:00
Filip Krawczyk 79fb42785c
Merge pull request #139 from krawieck/windows-version 2021-02-06 21:37:22 +01:00
ryg-git d21bbbe066 applied requested changes in the review 2021-02-06 22:53:49 +05:30
ryg-git b9ddb23d23 removed unused import 2021-02-06 19:34:11 +05:30
shilangyu ecda8384c6 Use stable Future API 2021-02-06 14:37:35 +01:00
ryg-git d822887ea5 added layoutbuilder to optimize code and simplify logic 2021-02-06 18:18:54 +05:30
shilangyu 4367c4329e Fix missing about tile on windows 2021-02-06 13:17:39 +01:00
ryg-git 5bde6a4e51 added better fsding effect for light theme 2021-02-04 20:17:13 +05:30
ryg-git b999d53aa8 [WIP] truncate long text posts 2021-02-03 23:43:43 +05:30
Filip Krawczyk e627694728
comment share fix (#129) 2021-02-03 12:12:28 +00:00
shilangyu 0c7c778e85 Change create post fetching to .all 2021-01-31 15:56:08 +00:00
shilangyu e0626925ab Display online counts 2021-01-31 14:07:36 +00:00
shilangyu 0ddf488602 Bump lemmy_api_client and adjust to changes 2021-01-31 13:42:28 +00:00
shilangyu 92cdfdbc2c Code review suggestions 2021-01-31 13:38:47 +00:00
shilangyu 21774dda52 Go to account management 2021-01-30 17:41:16 +00:00
shilangyu dfdaf741c3 Prevent ever null being set to myVote, fixes #117 2021-01-30 17:41:16 +00:00
shilangyu 20ebcd0dfa Add auth to user profile fetching, fixes #118 2021-01-30 17:41:16 +00:00
shilangyu 5dff114160 Handle account changes in home tab 2021-01-30 17:41:16 +00:00
shilangyu 0fb7b86a39 Add checks in search tab 2021-01-30 17:41:16 +00:00
shilangyu 9b3b770c34 Make communities tab reactive to accounts change 2021-01-30 17:41:16 +00:00
shilangyu 2fa6645f13 Generate asset names 2021-01-30 17:41:16 +00:00
shilangyu dd15ebb2c0 Fix display names 2021-01-30 17:41:16 +00:00
shilangyu fa1243f9d9 Change way of parsing urls 2021-01-30 17:41:16 +00:00
shilangyu 651e059fbd Add the long awaited article icon 2021-01-30 17:41:16 +00:00
shilangyu ad6b28fdb1 Use the .displayName extension 2021-01-30 17:41:16 +00:00
Filip Krawczyk fa80da5c8f
Fix bugs with comments (#125)
* fix bug where write comment would respond to parent comment of a comment it should respond to

* update changelog

* fix bug that caused grey comments

* update changelog
2021-01-30 15:56:35 +01:00
krawieck 41d44537e9 fix lint error 2021-01-26 23:53:40 +01:00
krawieck 735bd52be2 fix lint errors 2021-01-26 23:51:02 +01:00
krawieck 1812d70546 remove widget that was mistakenly commited 2021-01-26 23:38:23 +01:00
krawieck 8d0f85ceae add reusable widget BottomSafe 2021-01-26 23:16:47 +01:00
krawieck 5a449eb0be rename getter
properName -> displayName
2021-01-26 22:28:06 +01:00
krawieck 618b8c93e1 remove unnecesary safearea 2021-01-26 22:20:43 +01:00
krawieck 1f26bf70ae add arg to safearea specifying what kind of padding should it use 2021-01-26 22:19:26 +01:00
krawieck 347ba7aae5 rename a widget contructor 2021-01-26 22:18:53 +01:00
krawieck dec2147b38 remove debugging debris 2021-01-26 21:55:57 +01:00
krawieck 190ae1b3ae revise api extensions
* change originInstanceHost extensions to
  extract from deeper structures
* add extension for getting proper user name
  that includes originInstanceHost if needed
2021-01-24 23:06:54 +01:00
krawieck 6c1049b5ee add safearea in useful places 2021-01-24 22:59:20 +01:00
krawieck 208a4ac1ae fix bugs with commenting 2021-01-24 21:51:07 +01:00
krawieck 6555b8c614 transition comment to v2 2021-01-24 21:50:49 +01:00
krawieck c2f528750a transition all api v1 calls to api v2 2021-01-24 20:01:55 +01:00
Filip Krawczyk 983734a506
Merge pull request #99 from krawieck/manage-account 2021-01-22 19:42:02 +01:00
shilangyu 1a70776fb7 Change padding from 14 to 15 2021-01-17 17:57:57 +00: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 f0cfdc8bb8 Add missing fields 2021-01-17 16:21:46 +00:00
krawieck 4ad82c1f77 transition away from deprecated argument
child -> builder
2021-01-16 23:33:11 +01:00
shilangyu f9573fd501 Fix typos 2021-01-16 19:22:26 +00:00
shilangyu 3dbcc77cf6 Fix bug where picture would be cleanuped even when used 2021-01-16 19:22:26 +00:00
shilangyu 39911f1c04 Remove debug comment 2021-01-16 19:22:26 +00:00
shilangyu 51cddc0f0d Save the very first initialUrl and add loading 2021-01-16 19:22:26 +00:00
shilangyu 955d313b89 Add account removal 2021-01-16 19:22:26 +00:00
shilangyu 47b773376a Add image uploading 2021-01-16 19:22:26 +00:00
shilangyu 50bd46cf88 Boostrap managing account page 2021-01-16 19:22:26 +00:00
krawieck 96d6c36fe9 fixes requested in code review
* "detatched" -> "detached"
* remove debug comment
2021-01-16 16:32:45 +01:00
krawieck 904e320e10 make all comments in infinitecommentlist detatched 2021-01-16 15:21:09 +01:00
krawieck ccedb35259 add button for going to post 2021-01-16 15:20:49 +01:00
krawieck 2c152aeca3 add more properties to nerd stuff 2021-01-16 15:20:30 +01:00
Marcin Wojnarowski e5d0c589fd
Merge pull request #109 from krawieck/local-home 2021-01-16 14:56:29 +01:00
krawieck 81fa4aac86 make listing type selection more universal 2021-01-16 14:50:27 +01:00
krawieck fc256d800d simplify getting listing type title 2021-01-16 14:48:15 +01:00
krawieck 55ad00cfff add more menu
add more menu that contains:
* open in browser
* nerd stuff
2021-01-16 13:28:25 +01:00
krawieck 0602c2d7f7 Add local support to home tab
now user can select to display only local posts
2021-01-16 13:22:23 +01:00
Marcin Wojnarowski 114a494d7e
Merge pull request #100 from krawieck/search-tab 2021-01-10 14:54:04 +01:00
krawieck cdb9048b9b assert isntanceHost in SelectInstanceButton not null 2021-01-10 14:47:53 +01:00
krawieck f80ab01e04 change all variables with name `instance` to `instanceHost` 2021-01-10 01:51:26 +01:00
krawieck 586f26c277 Mark user as required and assert to not null 2021-01-10 01:49:21 +01:00
krawieck 75b55e02e8 change account store variable name 2021-01-09 22:50:14 +01:00
krawieck 9ab502b55d replace void Function with typedef ValueChanged 2021-01-09 20:09:50 +01:00
krawieck 0af78fa4c2 add batch size 2021-01-09 20:07:22 +01:00
krawieck 6e5e48d05f replace Error with UnimplementedError 2021-01-09 20:06:16 +01:00
krawieck bf5d8b4db6 fine. 2021-01-09 20:04:25 +01:00
krawieck b2ea9d3159 mark community as required, and add assert to make sure it really is 2021-01-09 20:03:06 +01:00
krawieck 1d872a6f23 replace shell of gotouser with an actual call of function 2021-01-09 20:01:54 +01:00
krawieck fd2de00c96 make user required 2021-01-09 20:01:25 +01:00
krawieck d5896692f3 remove gotouser, since it's not needed anymore 2021-01-09 19:58:21 +01:00
krawieck dc232b53a1 remove useless comments 2021-01-09 19:56:48 +01:00
krawieck 80ee59926b onChange -> onChange?.call 2021-01-09 19:55:52 +01:00
krawieck 25806a6081 remove state from select instance button 2021-01-09 19:54:55 +01:00
krawieck 8837a6956a remove useless checking 2021-01-09 19:24:07 +01:00
krawieck b874836b2c remove autofocus, cuz it messes with other tabs 2021-01-09 19:23:26 +01:00