Commit Graph

94 Commits

Author SHA1 Message Date
Filip Krawczyk 55daacf221 format 2022-08-23 01:07:40 +02:00
Filip Krawczyk ecb95d3bdb
Update lib/util/text_lines_iterator.dart
Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
2022-08-22 23:04:05 +02:00
Filip Krawczyk 3c295552df list button implementation 2022-08-05 11:01:52 +02:00
shilangyu 9ed7b89d68 Regenerate files 2022-07-15 21:21:02 +02:00
shilangyu 6136e4a408 Bump mobx 2022-05-13 15:58:01 +02:00
shilangyu 4533be634e Enable new lints 2022-05-11 22:23:18 +02:00
shilangyu df85b6271e Merge branch 'master' into feature/create-post-redesign 2022-05-03 18:09:33 +02:00
shilangyu d64fe48328 Add image upload 2022-04-30 16:28:50 +02:00
shilangyu 85f9d3fd0e Add cross platform file picker 2022-04-30 16:28:50 +02:00
shilangyu c320585810 Add searching to CreatePostStore 2022-04-30 16:28:50 +02:00
shilangyu a821681903 Initial refactor 2022-04-30 16:28:50 +02:00
shilangyu f5b02a369b Bump deps 2022-04-30 16:24:29 +02:00
Marcin Wojnarowski 11d63e0522
Upgrade to flutter 2.10 (#325) 2022-04-30 15:44:03 +02:00
Marcin Wojnarowski 88608ea9e1
Migrate instance page to mobx + l10 strings (#316) 2022-01-20 11:50:24 +01:00
Marcin Wojnarowski 8712691926
Upgrade to flutter 2.8.1 (#308) 2022-01-06 16:05:46 +01:00
Marcin Wojnarowski d4d4a5b999
Migrate modlog to mobx (#303)
* Migrate modlog to mobx

* Remove column

* Add MobxProvider and DisposableStore

* Add modlog store tests
2021-12-04 18:03:54 +01:00
Marcin Wojnarowski d87a8a83c3
Localize rest of intl (#301)
* Localize rest of intl

* Add changelog entry
2021-11-25 18:49:43 +01:00
Filip Krawczyk 95d8ee7fa7
refactor community page to use mobx (#299) 2021-11-25 18:12:36 +01:00
Marcin Wojnarowski 1e6e8a7774
L10n/timeago (#298)
* Change arb dir

* Localize timeago

* Document changes

* Add missing language names

* Fix language tags

* Fix translations
2021-11-16 17:06:07 +01:00
Marcin Wojnarowski 2b72fcce10
Fix minor post errors (#273)
* Use nested to decrease indentation

* Fix post tap area

* Fix overflow errors

* Add changelog entry
2021-11-03 06:21:00 +01:00
Marcin Wojnarowski 18b39be0a9
Bump deps (#275)
* Bump deps

* Bring back hosted photo_view

* Fix MarkdownBody old state

* Add changelog entry

* Add missing 'a'
2021-11-02 19:02:55 +01:00
Marcin Wojnarowski 760565384f
Migrate ConfigStore to mobx (#270)
* Migrate ConfigStore to mobx

* Add tests

* Remove provider imports

* Mock shared_preferences

* Reorganize saving in ConfigStore
2021-10-31 12:52:58 +01:00
Filip Krawczyk a884f07860 batch of changes adressing CR
comment_section.dart
* _SortSelection: text -> term
* assign fullPostView at the beggining of builder for later ease of use

full_post.dart
* use Providers in route methods since it makes the most sense
* merge _FPP & FPP to one widget
* assign postView earlier for ease of use
* Provider -> Provider.value

goto.dart
* switch goToPost to use Navigator with route instead of goTo

post_actions.dart
* padding fromLTRB -> symmetric

post_more_menu.dart
* turn showPostMoreMenu into a static method
* Provider -> Provider.value
* Hook -> Stateless
* goTo -> Navigator.push
2021-10-18 01:11:04 +02:00
krawieck aa448adeb7 Code review changes
* remove useless comment from post_status.dart
* move fixed in changelog into a proper section
* move refresh into a provider create in UserBlocksWrapper
* use errorTerm in UserBlocks instead of hardcoded message
* add missing trailing comma
* add route method BlocksPage
* remove useless lint ignore
* use originPreferredName instead of referredName
* make UserBlocksWrapper private
* revise AsyncStoreListener
2021-10-02 18:48:00 +02:00
krawieck 9ba800a435 Merge branch 'master' into feature/blocking-v2 2021-10-01 23:54:57 +02:00
Marcin Wojnarowski c7f037de0f
Feature/routing refactor (#258)
* Use MaterialPageRoute

* Use T.route
2021-09-30 12:55:23 +02:00
Marcin Wojnarowski 8c69964657
Regenerate gen files (#254) 2021-09-13 23:37:08 +02:00
Marcin Wojnarowski e2f9c43675
Bump deps (#253)
* Migrate first chunk

* Upgrade rest of the deps

* Remove unawaited

* Enabled new lints

* Remove old TODO

* Update podlock
2021-09-12 22:47:05 +02:00
krawieck 892c09c965 make asyncstorelistener better,
* add prop to asyncstorelistener: successMessageBuilder
* more menu reworkings
2021-09-11 16:26:10 +02:00
krawieck 2e8ca0e858 rework post and full_post to use mobx 2021-09-11 01:04:15 +02:00
Marcin Wojnarowski cb47bc5f72
Rewrite comment to mobx (#248)
* Add initial rewrite

* Progress

* Create AsyncStore

* Fix typo

* Remove outdated lint ignores

* Simplify comment layout

* Reorganize pubspec deps

* Small fixes

* Move all comment state to store

* Document async store

* Move marking as read to AsyncStore

* Add network_error l10n todo

* Rename comment_more_menu

* Hide popup after actions

* Observe changes in consumer
2021-09-08 14:38:26 +02:00
krawieck 45ea7a0b54 add `.toUtc()` 2021-07-08 13:57:48 +02:00
krawieck 5cb542609e add cake day extension and implement it 2021-07-08 11:39:32 +02:00
shilangyu c6464f5335 Rename to preferred name 2021-04-29 11:38:28 +02:00
shilangyu 4451bd7bd6 Adjust name change 2021-04-27 21:59:04 +02:00
shilangyu d77856f167 Fix formatting 2021-04-11 00:37:17 +02:00
krawieck 83235534f5 HECKIN CHONKER (null safety migration without scripts) 2021-04-09 00:11:44 +02:00
shilangyu 88e1f8324f Change cleanUpUrl name 2021-04-06 10:56:21 +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
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 0bcc364ee5 Scaffold.of -> ScaffoldMessenger.of 2021-03-10 08:34:30 +01:00
Filip Krawczyk 19b2688316
add inbox page + other stuff (#164) 2021-02-24 20:52:18 +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 aabc270a3b
Merge branch 'master' into fix-navigation-bar 2021-02-09 21:42:43 +01:00