Alibek Omarov
fd7740838a
VersionUtils: move isPleroma method from Instance
5 years ago
Konrad Pozniak
dba3259ce6
give media previews a rounded outline ( #1617 )
...
* give media previews a rounded outline
* give media previews a rounded outline in ReportActivity
5 years ago
Ivan Kupalov
fd5ec8cf97
Fix missing cases of using StatusDisplayOptions ( #1614 )
5 years ago
Konrad Pozniak
368df7437e
use RxAwareViewModel for more ViewModels ( #1613 )
...
* use RxAwareViewModel for more ViewModels
* fix ReportViewModel
5 years ago
Konrad Pozniak
b927747518
fix poll button being visible below voted poll ( #1612 )
5 years ago
Konrad Pozniak
283e9d0ad9
address PR feedback
5 years ago
Ivan Kupalov
8dcfec1734
Use blurhash as image preview and as sensitive media cover, close #1571 ( #1581 )
...
* Use blurhash as image preview and as sensitive media cover, close #1571
* Fix focal point for blurhashes
* Fix video indicator overlapping sensitive media indicator
* Add a preference for blurhash
* Add blurhash to report UI.
* Introduce StatusDisplayOptions
5 years ago
Konrad Pozniak
3a80ab727a
add license headers
5 years ago
Konrad Pozniak
3f00b47d0c
remove debug logging
5 years ago
Konrad Pozniak
7c3f19a07e
add empty screen message
5 years ago
Konrad Pozniak
42d2a4798f
color the SwipeRefreshLayout
5 years ago
Konrad Pozniak
7aff41b89c
clean up code
5 years ago
Konrad Pozniak
12a04dfb08
move to androidx paging
5 years ago
kyori19
40b859a06e
Fix ComposeOptions.visibility not applied ( #1605 )
5 years ago
Conny Duck
04b81c5240
improve layout names
5 years ago
Conny Duck
7f2aab7723
move classes to component packages
5 years ago
Conny Duck
fe0d11b755
convert ScheduledTootAdapter to Kotlin
5 years ago
Konrad Pozniak
03c66d62df
add test for VersionUtils ( #1602 )
...
* add test for VersionUtils
* add nullability annotation to VersionUtils
5 years ago
Konrad Pozniak
99032100d4
Implement identity proof api ( #1597 )
...
* implement identity proof api
* fix warnings in AccountActivity
* fix createClickableText method
* improve error handling
* use combineOptionalLiveData to simplify code
5 years ago
Konrad Pozniak
cf2a0fb4f9
delete unused stuff ( #1601 )
5 years ago
Konrad Pozniak
639a29aa7a
fix replying to toots ( #1600 )
5 years ago
Konrad Pozniak
5a48368ccf
fix delete&redraft losing toot text ( #1599 )
5 years ago
Konrad Pozniak
8aa217c028
upgrade androidx.browser to 1.2.0 ( #1595 )
5 years ago
Konrad Pozniak
d9d2fdbc4b
upgrade SparkButton to 3.0.0 ( #1594 )
5 years ago
Alibek Omarov
b7662e1798
ScheduledTootActivity: fix toolbar back button #1586 ( #1591 )
5 years ago
Ivan Kupalov
9c59d000f9
ComposeActivity refactor ( #1541 )
...
* Convert ComposeActivity to Kotlin
* More ComposeActivity cleanups
* Move ComposeActivity to it's own package
* Remove ComposeActivity.IntentBuilder
* Re-do part of the media downsizing/uploading
* Add sending of status to ViewModel, draft media descriptions
* Allow uploading video, update description after uploading
* Enable camera, enable upload cancelling
* Cleanup of ComposeActivity
* Extract CaptionDialog, extract ComposeActivity methods
* Fix handling of redrafted media
* Add initial state and media uploading out of Activity
* Change ComposeOptions.mentionedUsernames to be Set rather than List
We probably don't want repeated usernames when we are writing a post
and Set provides such guarantee for free plus it tells it to the
callers. The only disadvantage is lack of order but it shouldn't be a
problem.
* Add combineOptionalLiveData. Add docs.
It it useful for nullable LiveData's. I think we cannot differentiate
between value not being set and value being null so I just added the
variant without null check.
* Add poll support to Compose.
* cleanup code
* move more classes into compose package
* cleanup code
* fix button behavior
* add error handling for media upload
* add caching for instance data again
* merge develop
* fix scheduled toots
* delete unused string
* cleanup ComposeActivity
* fix restoring media from drafts
* make media upload code a little bit clearer
* cleanup autocomplete search code
* avoid duplicate object creation in SavedTootActivity
* perf: avoid unnecessary work when initializing ComposeActivity
* add license header to new files
* use small toot button on bigger displays
* fix ComposeActivityTest
* fix bad merge
* use Singles.zip instead of Single.zip
5 years ago
Mélanie Chauvel (ariasuni)
2ec8b95c31
Add close icon to tabs in Tabs account preferences page ( #1588 )
...
* Add close icon to tabs in Tabs account preferences page
* Improve code according to code review
5 years ago
Alibek Omarov
bb1a7e4331
BottomSheetActivity: use ViewThreadActivity's static call to generate intent
5 years ago
Alibek Omarov
9882f0d7e3
SFragment: add Reply to option to jump to a parent post
5 years ago
Alibek Omarov
10c58c9ca0
ViewThreadFragment: scroll to post we are requested to show
5 years ago
Alibek Omarov
07bcdb0792
CustomEmojiHelper: experimental bigger emoji 2x in size
5 years ago
Alibek Omarov
80c82d1f0e
ComposeActivity: allow upload any type of media, show text if media type is undefined, remove rescaling picture for Pleroma
5 years ago
Alibek Omarov
dba030a9cb
ProgressImageView: make progress control interface, add same widget but showing text
5 years ago
Alibek Omarov
a090925d2b
OkHttpUtils: change useragent to Husky
5 years ago
Alibek Omarov
eda4ef97d4
LoginActivity: add a way to change application name and website during login
5 years ago
Alibek Omarov
ed969bb06d
LoginActivity: fix compile
5 years ago
Alibek Omarov
4de11cb073
Revert 36b8664f
5 years ago
Alibek Omarov
e4400f0061
markdown: implement wysiwyg editor
5 years ago
Alibek Omarov
8900e45015
markdown: now markdown mode is restored from drafts
5 years ago
Alibek Omarov
74ea67627c
db: upgrade to 21, add markdownMode column
5 years ago
Alibek Omarov
793c21eb85
markdown: implement choosing markdown mode in compose activity and sending toot with it
5 years ago
Alibek Omarov
5620120b9f
Status: add optional content_type paramater
5 years ago
Alibek Omarov
ee4fd2c351
ComposeActivity: if our instance is pleroma, disable mastodon-specific attachments limits
5 years ago
Alibek Omarov
cdc3dafdda
Instance: a way to check if we have Pleroma with Mastodon API extensions
5 years ago
Levi Bard
0a516eaf13
Make polls respect content warning visibility setting ( #1583 )
...
* Make polls respect content warning visibility setting
* Only perform poll setup when poll is visible
5 years ago
kyori19
d137e6c63c
List tabs ( #1570 )
...
* List tabs
* Add comment
* Move decoder part to TabData.createTabDataFromId
* Fix drawable tint
* Use dedicated view for list picker
* Error log
* Fix logging
Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>
* Fix tint color
Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>
* Fix missing import
* Move encoding part too
* Fix comment
* Fix decoder
* Revert "Fix decoder"
This reverts commit fdc45aac9c113348f8740e6692d2d8e9ace14f7f.
* Revert "Fix comment"
This reverts commit 704b4e6d2e5545d5f2d20c9bc6bc276d6257d119.
* Revert "Move encoding part too"
This reverts commit 32e77346ff98ae1133e76ab6dfd880b26171005e.
* Revert "Move decoder part to TabData.createTabDataFromId"
This reverts commit d1cd2070ab564d2e33874225272a71f0904d681e.
5 years ago
Konrad Pozniak
8a65f91d2c
Bookmarks ( #1560 )
...
* add bookmarks to timelines
* add Bookmarks to main menu
* cleanup
* handle BookmarkEvent
* fix tests
* fix bookmark handling in NotificationsFragment
* add bookmark accessibility actions
5 years ago
Konrad Pozniak
ee247e92a4
fix crashes related to missing Rx error handler ( #1561 )
5 years ago
Konrad Pozniak
62a4b830da
fix null search when refreshing hashtags ( #1562 )
5 years ago
Konrad Pozniak
4d4c4cdb3d
Migrate to ViewPager2 ( #1544 )
...
* migrate MainActivty to ViewPager2
* migrate AccountActivty to ViewPager2
* migrate ViewMediaActivty to ViewPager2
* migrate SearchActivity to ViewPager2
* checkin missing AccountPagerAdapter file
* remove unused class ImageViewPager
* replace SparseArray with MutableList
5 years ago