Commit Graph

388 Commits

Author SHA1 Message Date
Zhiyuan Zheng 560d11643b
Fix for certain domain that includes dash
e.g. `@m-i.im`
2021-02-08 00:07:01 +01:00
Zhiyuan Zheng 03dc94c7c9
Draft basic done
#6
2021-02-07 00:39:11 +01:00
Zhiyuan Zheng 700b9ad433
Support max_toot_chars
See this commit of how to supply this value in API response. `instance_serializer.rb`

2bf275ba3b
2021-02-05 13:45:02 +01:00
Zhiyuan Zheng 29f2bf7457
Test release
Added screenshot package
2021-02-05 01:13:57 +01:00
Zhiyuan Zheng 1a5b21d56a
Preparing for CI test 2021-02-02 22:50:38 +01:00
Zhiyuan Zheng b8aa402c99
Updates 2021-02-01 02:16:53 +01:00
Zhiyuan Zheng 1072d88191
Added fastlane and other updates 2021-01-31 03:09:35 +01:00
Zhiyuan Zheng 253ddee319
Android build success 2021-01-30 02:03:39 +01:00
Zhiyuan Zheng 247f7a7982
iOS almost working 2021-01-30 01:29:15 +01:00
Zhiyuan Zheng 9c36052c2a
Removed expo blurhash 2021-01-28 01:31:19 +01:00
Zhiyuan Zheng c9c6e126ae
Update image loading 2021-01-28 01:14:00 +01:00
Zhiyuan Zheng ea3fa87057
iOS can run 2021-01-28 00:41:53 +01:00
Zhiyuan Zheng 6c6d563aae
Fix Android expand 2021-01-27 00:42:56 +01:00
Zhiyuan Zheng 41bfeed56f
Updates 2021-01-27 00:35:34 +01:00
Zhiyuan Zheng 4076733061
Removed external instance 2021-01-26 12:17:25 +01:00
Zhiyuan Zheng 08f3036753
Updates 2021-01-24 02:25:43 +01:00
Zhiyuan Zheng 8024871a8d
Try again 2021-01-23 03:15:15 +01:00
Zhiyuan Zheng 86231fb7b7
Updates 2021-01-23 02:41:50 +01:00
Zhiyuan Zheng aa467f6911
Fix size limit for storing avatar
https://github.com/Cretezy/redux-persist-expo-securestore/issues/9
2021-01-22 23:55:16 +01:00
Zhiyuan Zheng 08df036289
Another try with Sentry 2021-01-22 02:21:13 +01:00
Zhiyuan Zheng e820ce3690
Try without Sentry 2021-01-22 02:04:00 +01:00
Zhiyuan Zheng 7c6aba77ba
Fix bugs 2021-01-22 01:34:20 +01:00
Zhiyuan Zheng 31b2f67feb
Fix start up crash
Potentially be this issue https://forums.expo.io/t/expo-sentry-crashes-on-startup-except-the-first-time/47761
2021-01-20 17:43:26 +01:00
Zhiyuan Zheng 0732ab2434
Another try with sentry 2021-01-20 14:49:38 +01:00
Zhiyuan Zheng 97f6833e92
Try again with clean yarn 2021-01-20 14:27:09 +01:00
Zhiyuan Zheng f95462889f
App crashes maybe caused by Sentry
https://github.com/expo/sentry-expo/issues/120
2021-01-20 13:19:06 +01:00
Zhiyuan Zheng a74cdf5768
Rewrite login logic 2021-01-20 12:35:24 +01:00
Zhiyuan Zheng 314bc31e32
Update en strings 2021-01-20 00:39:39 +01:00
Zhiyuan Zheng 5a248716bf
Update translations 2021-01-19 01:13:45 +01:00
Zhiyuan Zheng 5c4f7ce8c7
Added store review 2021-01-18 00:23:40 +01:00
Zhiyuan Zheng f977fdfa8b
Updates 2021-01-17 22:37:05 +01:00
Zhiyuan Zheng 813f6b57c4
Correct app details 2021-01-16 23:30:25 +01:00
Zhiyuan Zheng 8451d5a565
Prepare for apk test 2021-01-16 14:16:58 +01:00
Zhiyuan Zheng e1962b278f
Correct localized bundle info 2021-01-16 02:15:15 +01:00
Zhiyuan Zheng 64b0e413b3
Updates 2021-01-16 01:44:00 +01:00
Zhiyuan Zheng 5ec9118fb2
Updates 2021-01-16 00:00:31 +01:00
Zhiyuan Zheng 9f4a4e908c
Use simpler Account page 2021-01-15 01:15:27 +01:00
Zhiyuan Zheng d39bc82909
Updates 2021-01-14 22:53:01 +01:00
Zhiyuan Zheng 95f500ae72
More adaption to Android 2021-01-14 00:43:35 +01:00
Zhiyuan Zheng 49715bba0d
First step to adapt to Android 2021-01-13 01:03:46 +01:00
Zhiyuan Zheng 2df172d026
Updates 2021-01-12 00:12:44 +01:00
Zhiyuan Zheng 284d6e46e0
Switch to shared hooks 2021-01-11 21:36:57 +01:00
Zhiyuan Zheng fdce172c57
Try to fix search bar issue
https://github.com/react-navigation/react-navigation/issues/6746#issuecomment-583897436
2021-01-10 13:35:46 +01:00
Zhiyuan Zheng 541e2a5601
Lots of updates 2021-01-10 02:12:14 +01:00
Zhiyuan Zheng 4a6229514f
Basic typing for react-navigation 2021-01-07 22:18:14 +01:00
Zhiyuan Zheng 4b99813bb7
Lots of updates 2021-01-07 19:13:09 +01:00
Zhiyuan Zheng dcb36a682d
Refine structure 2021-01-04 18:29:02 +01:00
Zhiyuan Zheng 811964e10f
Updates 2021-01-04 14:55:34 +01:00
Zhiyuan Zheng e9ea0ed71e
Updates
1. Added more notification types
2. Use `react-native-reanimated` v2
2021-01-04 10:50:24 +01:00
Zhiyuan Zheng dceaf8d25c
Use svg icons instead of expo ones
Possibility to control `strokeWidth`
2021-01-03 02:00:26 +01:00
Zhiyuan Zheng 5a80359739
Bug in `react-native`
https://github.com/expo/expo/issues/10815
2021-01-02 17:55:08 +01:00
Zhiyuan Zheng ea465c828a
Translated Timeline components 2021-01-01 23:10:47 +01:00
Zhiyuan Zheng d5ccc95704
Solved cycle dependency 2021-01-01 17:52:14 +01:00
Zhiyuan Zheng 6aed76ac65
Updates 2021-01-01 16:48:16 +01:00
Zhiyuan Zheng 5473fcb770
Add haptics and analytics 2020-12-30 14:33:33 +01:00
Zhiyuan Zheng e765a8fd7c
Forgiving blurhash 2020-12-30 11:55:51 +01:00
Zhiyuan Zheng 3e3ae67155
Fixed notification 2020-12-30 11:52:47 +01:00
Zhiyuan Zheng c9726d904f
Simple permission request 2020-12-30 01:33:58 +01:00
Zhiyuan Zheng 3473337442
Rewrite upload media 2020-12-30 00:56:25 +01:00
Zhiyuan Zheng e841409523
Restructure some files 2020-12-29 16:19:04 +01:00
Zhiyuan Zheng b92a01e2a4
Fixed https://sentry.io/organizations/xmflsct/issues/2117699903/ 2020-12-29 12:36:21 +01:00
Zhiyuan Zheng 8e93492ae3
Fixed https://sentry.io/organizations/xmflsct/issues/2117728637/ 2020-12-29 12:33:22 +01:00
Zhiyuan Zheng 2ce842e15f
Test Firebase analytics 2020-12-29 01:09:22 +01:00
Zhiyuan Zheng 4f0621bbff
Force all tex to have both font size and line height
https://github.com/facebook/react-native/issues/19193 describes the issue. But https://github.com/facebook/react-native/issues/19193#issuecomment-467852112 suggestion does not look well with PingFang and English
2020-12-29 00:21:05 +01:00
Zhiyuan Zheng 83b725b58d
Rewrite app start up procedure 2020-12-28 23:20:18 +01:00
Zhiyuan Zheng 7db153f2ae
Fix fake external tag as link 2020-12-28 17:30:20 +01:00
Zhiyuan Zheng 88323a1552
Rewrite dynamic media width 2020-12-28 16:54:19 +01:00
Zhiyuan Zheng 66385fd0f4
Created basic tests 2020-12-28 00:59:57 +01:00
Zhiyuan Zheng 0ee30de03e
Add sentry support 2020-12-27 18:43:49 +01:00
Zhiyuan Zheng 140a30b58c
Fix multiple choice poll 2020-12-27 16:54:13 +01:00
Zhiyuan Zheng c7cc3f1f27
Rewrite account page 2020-12-27 16:25:29 +01:00
Zhiyuan Zheng 2fff322de7
Add menu row loading state 2020-12-27 00:55:22 +01:00
Zhiyuan Zheng e1eade2b43
Use spinkit instead of activityindicator 2020-12-27 00:32:51 +01:00
Zhiyuan Zheng bd5601f8f9
Rewrite header buttons 2020-12-26 23:27:53 +01:00
Zhiyuan Zheng da79674548
Rewrite all buttons 2020-12-26 23:05:17 +01:00
Zhiyuan Zheng 3ea88d025b
Add back disabled color 2020-12-26 14:40:10 +01:00
Zhiyuan Zheng 7a15cceb28
Rewrite expandable content 2020-12-26 12:59:16 +01:00
Zhiyuan Zheng f192939671
Fix `Image.getSize` in `useEffect` cleanup 2020-12-26 10:39:01 +01:00
Zhiyuan Zheng f990ff0cb1
Updates 2020-12-26 00:53:49 +01:00
Zhiyuan Zheng 7f574576ef
Update color scheme 2020-12-26 00:40:27 +01:00
Zhiyuan Zheng 9d1c366eda
Hide header bottom shadow 2020-12-25 21:51:46 +01:00
Zhiyuan Zheng 087f50577f
Card use blurhash 2020-12-25 21:24:07 +01:00
Zhiyuan Zheng b5b9c0669c
Audio playing working 2020-12-25 21:09:43 +01:00
Zhiyuan Zheng 6eeb86921c
Rewrite attachment views 2020-12-25 18:20:09 +01:00
Zhiyuan Zheng dca138eb5c
Start using `react-native-expo-image-cache` 2020-12-24 11:12:40 +01:00
Zhiyuan Zheng 97442b31db
Replace `crypto-js` with `expo-crypto` 2020-12-24 10:39:44 +01:00
Zhiyuan Zheng b5f267e6bf
With unread notifications 2020-12-24 10:28:51 +01:00
Zhiyuan Zheng 4461cd1fa4
Fine tune announcements 2020-12-23 15:57:20 +01:00
Zhiyuan Zheng eeee40b49a
Basic announcement done 2020-12-23 01:31:11 +01:00
Zhiyuan Zheng e00ec84c7c
Remove dependency `react-native-collapsible` 2020-12-22 11:14:00 +01:00
Zhiyuan Zheng 4d6cee643b
Start up process of API calls
Prepare for announcement fetching
2020-12-22 01:09:34 +01:00
Zhiyuan Zheng 436b0ab4dd
Only one API call when app just started 2020-12-22 00:50:47 +01:00
Zhiyuan Zheng 2bd9e6be2f
Move app startup check to App.tsx 2020-12-22 00:10:55 +01:00
Zhiyuan Zheng a1a959995e
Fixes 2020-12-21 23:30:26 +01:00
Zhiyuan Zheng e77de4e9c0
Fixed 2020-12-21 23:11:03 +01:00
Zhiyuan Zheng c47d4cb4c4
Retry refresh 2020-12-21 22:58:53 +01:00
Zhiyuan Zheng 1ee7dd920d
Account page scrollable separately 2020-12-21 22:08:29 +01:00
Zhiyuan Zheng 33b0b6b8ff
Add account actions 2020-12-21 21:47:15 +01:00
Zhiyuan Zheng 25a80cc57e
Now refreshing is more forgiving 2020-12-21 13:56:04 +01:00
Zhiyuan Zheng b972cd6ca7
Refreshing is working 2020-12-20 23:49:35 +01:00
Zhiyuan Zheng 8281d2b0b4
Option to change how to handle links 2020-12-20 18:41:28 +01:00
Zhiyuan Zheng 09b960d368
Updates 2020-12-20 17:53:24 +01:00
Zhiyuan Zheng 98a60df9d1
Rewrite header actions 2020-12-19 18:21:37 +01:00
Zhiyuan Zheng 54799aabb8
Search is done 2020-12-19 01:57:57 +01:00
Zhiyuan Zheng 7491478176
Using react-query 3 2020-12-18 23:58:53 +01:00
Zhiyuan Zheng b420c7b02b
Search box now persits 2020-12-18 19:02:18 +01:00
Zhiyuan Zheng 7be25ae516
Updates 2020-12-18 00:00:45 +01:00
Zhiyuan Zheng b679b56a0e
Updates 2020-12-17 12:04:58 +01:00
Zhiyuan Zheng 3427b613aa
Using tab-view
Cannot scroll separately
2020-12-17 09:44:03 +01:00
Zhiyuan Zheng a3335a1f88
Add promise type to fetches 2020-12-15 00:01:48 +01:00
Zhiyuan Zheng fe1ca72a3e
Show pinned posts in Account page 2020-12-14 23:44:57 +01:00
Zhiyuan Zheng 177afe1dd1
Fix back button
Using customized component, need to get `navigation` from props instead of hooks
2020-12-14 22:33:19 +01:00
Zhiyuan Zheng 991741488d
Align back button 2020-12-13 23:38:37 +01:00
Zhiyuan Zheng c1076b8e94
Now can scroll to top 2020-12-13 23:02:54 +01:00
Zhiyuan Zheng ce7563ecbc
Use splash screen
Fetch account preferences again after logging in
2020-12-13 22:31:55 +01:00
Zhiyuan Zheng 8ed008b961
Rewrite login query 2020-12-13 22:10:54 +01:00
Zhiyuan Zheng dc9870beaf
Restyle login 2020-12-13 21:09:21 +01:00
Zhiyuan Zheng 48cab6053c
Use new alias 2020-12-13 14:04:25 +01:00
Zhiyuan Zheng cfd2d40d02
Reply working 2020-12-13 01:24:25 +01:00
Zhiyuan Zheng f0daae30cd
Fix timeline when length is short
When list is short, it somehow can fetch more
2020-12-13 00:22:49 +01:00
Zhiyuan Zheng 70743ec82d
Highlighted toot 2020-12-12 22:19:18 +01:00
Zhiyuan Zheng dcb37e91c9
Update spoiler alert action 2020-12-12 18:44:27 +01:00
Zhiyuan Zheng 2217d3eb5d
Notification working and end of list working 2020-12-12 18:22:22 +01:00
Zhiyuan Zheng 81a21d1d07
Scroll to toot working 2020-12-12 12:49:29 +01:00
Zhiyuan Zheng 0fa9f87f66
Use context to provide compose state and dispatch 2020-12-11 00:29:22 +01:00
Zhiyuan Zheng fb123b6a26
Preparing for upgrading expo SDK 2020-12-10 19:19:56 +01:00
Zhiyuan Zheng 2272ea3841
Rewrite formatText logic
Previously cannot has two same tags due to `split`
2020-12-07 23:34:47 +01:00
Zhiyuan Zheng 8d715f4324
Basic reply and re-edit done 2020-12-07 12:31:40 +01:00
Zhiyuan Zheng 69289e8d40
Attachments sensitive done 2020-12-07 00:23:26 +01:00
Zhiyuan Zheng 662fd08c3a
Spoiler is done 2020-12-06 23:51:13 +01:00
Zhiyuan Zheng 37ad208f8b
Fine tune compose more 2020-12-06 22:32:36 +01:00
Zhiyuan Zheng e5eaf162f4
Fine tune compose 2020-12-06 21:42:19 +01:00
Zhiyuan Zheng add331ef0e
Able to edit image as attachment 2020-12-06 16:06:38 +01:00
Zhiyuan Zheng 0a86c2d627
Focus animation working 2020-12-06 12:52:29 +01:00
Zhiyuan Zheng b274aef31a
Basic attachment done
Switch from ky to axios
2020-12-05 01:55:53 +01:00
Zhiyuan Zheng 82d9cdf702
Refine format text 2020-12-04 19:04:23 +01:00
Zhiyuan Zheng fcaea5b8d9
Hashtag done 2020-12-04 01:17:10 +01:00
Zhiyuan Zheng 5866d016bc
Emoji done 2020-12-03 22:03:06 +01:00
Zhiyuan Zheng d59fabd47f
Poll is re-rendered 2020-12-03 10:39:37 +01:00
Zhiyuan Zheng 7d7c907fa3
Poll working
But did not re-render
2020-12-03 01:28:56 +01:00
Zhiyuan Zheng 8986680c6d
Expandable content done 2020-12-02 00:16:27 +01:00
Zhiyuan Zheng 9bfee02484
A lot of updates 2020-12-01 00:44:28 +01:00
Zhiyuan Zheng 0e3528d2cd
Some translations are done 2020-11-30 00:24:53 +01:00
Zhiyuan Zheng 1493e20962
Theme done 2020-11-29 18:08:31 +01:00
Zhiyuan Zheng 24d0681c9e
Change language working partially
Not all translatinos are updated
2020-11-29 13:11:23 +01:00
Zhiyuan Zheng 735cc0b903
A lot of updates 2020-11-28 17:07:30 +01:00
Zhiyuan Zheng 8200375c92
Lots of updates 2020-11-24 00:18:47 +01:00
Zhiyuan Zheng fba1d0d531
Some basic styling 2020-11-23 00:07:32 +01:00
Zhiyuan Zheng 1c0464d9fb
Fix regex 2020-11-22 00:57:43 +01:00
Zhiyuan Zheng 6a5d9e7fb8
My lists are done 2020-11-22 00:46:23 +01:00
Zhiyuan Zheng 1ad67e67ac
Persist storage working 2020-11-21 13:32:29 +01:00
Zhiyuan Zheng 40266b8ce3
Restructure the project 2020-11-21 13:19:05 +01:00
Zhiyuan Zheng 3280663144
Full login flow working
Refresh can be faster
2020-11-21 00:40:55 +01:00
Zhiyuan Zheng ab0062e73c
Oauth does not work yet 2020-11-20 01:41:46 +01:00
Zhiyuan Zheng aecb5c5b3d
Basic posting done
Except hidden text, layout and sensitive attachments
2020-11-19 22:45:26 +01:00
Zhiyuan Zheng c0d7f379b3
Posting using formData 2020-11-17 23:57:23 +01:00
Zhiyuan Zheng 5cf6eaa8d9
Fix safe area view and keyboard view 2020-11-15 23:33:01 +01:00
Zhiyuan Zheng 188b97fbd8
First post tested! 2020-11-15 22:33:09 +01:00
Zhiyuan Zheng 8013f6b9a2
Refined posting part 2020-11-15 20:29:43 +01:00
Zhiyuan Zheng 6804e3bde6
Total toot length count working 2020-11-09 23:06:07 +01:00
Zhiyuan Zheng d8d8a6c1fa
Basic auto suggestion is working 2020-11-09 01:04:47 +01:00
Zhiyuan Zheng c417262528
Temporary use local autolinker
https://github.com/gregjacobs/Autolinker.js/pull/240/
https://github.com/gregjacobs/Autolinker.js/issues/130
2020-11-08 19:13:46 +01:00
Zhiyuan Zheng 97cad12850
Basic mentions, hashtags and links highlighting working 2020-11-08 01:10:38 +01:00
Zhiyuan Zheng 4cbba779c5
Account actions doen except reports 2020-11-06 18:40:14 +01:00
Zhiyuan Zheng c08c25e3b5
Status actions done, awaiting account actions 2020-11-06 00:59:33 +01:00
Zhiyuan Zheng 04b7b0a7b9
Fix details 2020-11-05 21:47:50 +01:00
Zhiyuan Zheng c825895b92
Actions are working well! 2020-11-05 00:47:31 +01:00
Zhiyuan Zheng 631636db15
React-Query fully working on existing components 2020-11-04 22:26:38 +01:00
Zhiyuan Zheng d1f32524ba
Updates 2020-11-01 18:15:31 +01:00
Zhiyuan Zheng c7a4129b82
Basic actions work, with some bugs
One bug: https://github.com/tootsuite/mastodon/issues/3166

Another bug, still seems `extraData` does not work that well for `FlatList`
2020-11-01 01:57:53 +01:00
Zhiyuan Zheng d2cc643b9c
Transform into TypeScript 2020-10-31 21:04:46 +01:00
Zhiyuan Zheng 698b54868e
Use `ky` instead of `fetch` 2020-10-31 02:22:08 +01:00
Zhiyuan Zheng aa53533534
Video working 2020-10-30 20:03:44 +01:00
Zhiyuan Zheng 2fae98cb9e
Notification done 2020-10-30 00:49:05 +01:00
Zhiyuan Zheng 301772e735
Add centrally located prop-types 2020-10-30 00:10:25 +01:00
Zhiyuan Zheng 2ab227a370
Rewrite timeline pagination
Using Link in returned headers instead. Also, `since_id` is not the correct way to refresh. See https://mastodonpy.readthedocs.io/en/stable/index.html?highlight=pagination#a-note-about-pagination
2020-10-29 23:06:25 +01:00
Zhiyuan Zheng 9c30edcc65
Update details 2020-10-29 21:29:52 +01:00
Zhiyuan Zheng 97e9ceca5a
Commit 2020-10-29 14:52:28 +01:00
Zhiyuan Zheng a6e33d8b0a
Basic account page works 2020-10-28 00:02:37 +01:00
Zhiyuan Zheng 3f8e451099
Basic images working 2020-10-27 01:51:51 +01:00
Zhiyuan Zheng eefa7e01bd
Basic toot in timeline working 2020-10-26 00:27:53 +01:00
Zhiyuan Zheng 996cf0c1e7
Working emojis in reblog and names 2020-10-25 01:35:41 +02:00
Zhiyuan Zheng 2bc6e3277c
Clean up props 2020-10-24 19:15:05 +02:00
Zhiyuan Zheng 3c25f4b36a
Added post placeholder 2020-10-24 18:12:14 +02:00
Zhiyuan Zheng 8f6c5af0fd
Notifications working 2020-10-24 18:07:09 +02:00
Zhiyuan Zheng c8b40017d8
All timelines working 2020-10-24 16:44:32 +02:00
Zhiyuan Zheng cda67d23f6
Setup of single store works for multiple timeline 2020-10-24 02:47:57 +02:00
Zhiyuan Zheng 83f6039ade
Second commit 2020-10-23 09:22:17 +02:00