Alibek Omarov
68d6a4ab25
Support Mastodon notification bell and status notification type
4 years ago
Alibek Omarov
8982f7af28
Another post-merge build fix
4 years ago
Mélanie Chauvel
928fdd8d02
Implement optional notifications muting for account muting ( #1856 )
4 years ago
kyori19
aa14e6e4f2
[needs help] Support announcements ( #1977 )
...
* Implement announcements activity
* Update reactions without api access
* Add badge style
* Use emptyList() as default parameter
* Simplify newIntent
* Use List instead of Array
* Remove unneeded ConstraintLayout
* Add lineSpacingMultiplier
* Fix wording
* Apply material design's default chip style
* Dismiss announcements automatically
4 years ago
Konrad Pozniak
9ea9926469
Personal account notes ( #1978 )
...
* add personal notes to AccountActivity
* use RxJava instead of plain okhttp calls
* make AccountViewModel rx aware
* hide note input until data is loaded
4 years ago
Alibek Omarov
ed7bfa182b
Implement proper hiding muted users and conversations
4 years ago
Alibek Omarov
b6e27e39cf
Fix build errors after merge
4 years ago
Ivan Kupalov
90ebef5a74
Improve notifications fetching ( #1930 )
...
* Improve notifications fetching
- Only fetch notifications up to the latest fetched one
- Use timeline markers to avoid showing already seen notifications
* Apply some of the suggestions
4 years ago
Alibek Omarov
55d3e9ed08
streaming: implemented streaming for notifications
4 years ago
Alibek Omarov
828198dab7
chats: add new notification type pleroma:chat_mention (wip)
4 years ago
Alibek Omarov
c2439405be
chats: implement sending messages, prototype
4 years ago
Alibek Omarov
9f57699a3d
chats: finished chat listing
4 years ago
Alibek Omarov
752f6ad35b
chats: add Chat and ChatMessage entities, add Pleroma API calls
4 years ago
Konrad Pozniak
9e6833cfdb
enable multiple hashtags in one hashtag tab ( #1790 )
...
* enable multiple hashtags in one hashtag tab
* add comment explaining the code in TabAdapter
* delete unused drawables
* add padding to EditText in dialog
4 years ago
Alibek Omarov
d705a85690
Stickers: add PleromaFE stickers support, enabled in settings
4 years ago
Levi Bard
507d9fe19d
Add notifications for follow requests ( #1729 )
...
* Add notifications for follow requests
Issue #1719
* Revert item_follow_request layout, create new layout for follow request notifications
* Migrate follow request interaction from notification to observable pattern
* Filter follow request notifications by default
* Add missing cases for system notification generation
* Format code
4 years ago
a1batross
4141030d2e
filters: represent POST as json becausr booleans cannot be represented in urlencoded as Pleroma thinks
4 years ago
Alibek Omarov
7bb0f1955d
emoji_reactions: implement adding and removing on existing reactions(LOW PERFORMANCE)
5 years ago
Alibek Omarov
97ffa14268
emoji_reactions: general refactoring, implement emoji_reactions_by
5 years ago
Alibek Omarov
82c6809623
emojireactions: fix EmojiReaction object
5 years ago
Konrad Pozniak
5b12e80297
fix list editing by moving account_ids from query to form param ( #1690 )
...
* fix list editing by moving account_ids from query to form param
* fix DialogFramentStyle
5 years ago
Alibek Omarov
2f818a77f3
emojireactions: add entities and api endpoints
5 years ago
Alibek Omarov
b76d3c3979
Implement muting/unmuting conversations, fix possible appearing of muted users in notifications
5 years ago
Alibek Omarov
b408d33428
MastodonApi: add with_muted field on every timeline
5 years ago
Alibek Omarov
b4dbee0acd
NodeInfo: implement nodeinfo fetching
5 years ago
Alibek Omarov
d82ca3df9b
MastodonApi: add support for subscribing endpoints and subscribing status field
5 years ago
Konrad Pozniak
12a04dfb08
move to androidx paging
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
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
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
kyori19
dc933b439d
Scheduled toot ( #1004 )
...
* Scheduled toot
* Hide scheduled toot button if version < 2.7.0
* Fix timeline reloading after toot
* Add edit icon to ComposeScheduleView
* Add button to reset scheduled toot
* Close bottom sheet and change button color after time a was selected
* Fix edit icon's size
* List of scheduled toots
* Fix instance version check
* Use MaterialDatePicker
* Set date and time consecutively
* Add licenses
5 years ago
Konrad Pozniak
03cd374792
Remove search v1 ( #1484 )
...
* remove search v1, convert MastodonApi to Kotlin
* format MastodonApi nicely
* use default params in ConversationRepository
* improve code for LoginActivity
5 years ago
Konrad Pozniak
2bf1765b86
use status source for delete and redraft ( #1461 )
...
* use status source for delete and redraft
* make delete & redraft work on Pleroma again
* add error handling
5 years ago
Konrad Pozniak
50b9cdf117
Create polls ( #1452 )
...
* add AddPollDialog
* add support for pleroma poll options
* add PollPreviewView
* add Poll support to drafts
* add license header, cleanup
* rename drawable files to correct size
* fix tests
* fix bug with Poll having wrong duration after delete&redraft
* add input validation
* grey out poll button when its disabled
* code cleanup & small improvements
5 years ago
Konrad Pozniak
9139059bb4
enable reporting users without statuses ( #1445 )
5 years ago
Levi Bard
0454601ed6
Add support for instance property `max_bio_chars` ( #1414 )
...
* Migrate getInstance from Call to Single
* Add support for instance max_bio_chars.
Addresses #1329
5 years ago
pandasoft0
246956bee1
Improve search results ( #1327 )
...
* Add entities and request for search APIv2
* Implement search adapter and fragment
* Fix issue with snackbar
* Implement search accounts fragment
* Implement generic search fragment
* Remove unneeded import
* Implement "status" actions, fix issues
* Remove SFragment dependency
* Update app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchStatusesFragment.kt
Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>
* Clean-up post review suggestions
* Make TabLayout background colour match search bar
* Corrected method call syntax
* Added SwipeRefreshLayout to SearchFragment
* Fixed refresh to update all three tabs
5 years ago
Levi Bard
78c02c9d42
Implement instance mutes ( #1311 )
...
* Implement instance mutes. #1143
* Move new classes to instancemute component
* Add progress bar while instance list loads
* Add undo snackbar for instance unmuting
* Update display text for instance mutes
5 years ago
pandasoft0
34d130f12f
Redesign report activity ( #1295 )
...
* Report activity core
* Implement navigation
* Implement navigation
* Update strings
* Revert manifest formatting
* Implement Done page
* Add landscape layout
* Implement Note fragment
* Create component
* Implement simple status adapter
* Format code
* Add date/time to report statuses
* Refactor status view holder
* Refactor code
* Refactor ViewPager
* Replace MaterialButton with Button
* Remove unneeded string
* Update Text and Check views style
* Remove old ReportActivity and rename Report2Activity to ReportActivity
* Hide "report to remote instance" checkbox for local accounts
* Add account, hashtag and links click handler
* Add media preview
* Add sensitive content support
* Add status expand/collapse support
* Update adapter to user adapterPosition instead of stored status
* Updated checked change handling
* Add polls support to report screen
* Add copyright
* Set buttonTint at CheckBox
* Exclude reblogs from statuses for reports
* Change final page check mark size
* Update report note screen
* Fix typos
* Remove unused params from api endpoint
* Replace .visibility with show()/hide()
* Replace Date().time with System.currentTime...
* Add line spacing
* Fix close button tint issue
* Updated status adapter
5 years ago
Konrad Pozniak
421cfe9f3a
cleanup entity classes and ViewThreadFragment ( #1302 )
...
* cleanup entity classes and ViewThreadFragment
* fix tests
5 years ago
Konrad Pozniak
9ca59d69fa
fix Glide crash in MainActivity ( #1224 )
6 years ago
Konrad Pozniak
b1e68dfc38
Polls part 1 - displaying in timelines and voting ( #1200 )
...
* add entity classes
* change data models and add database migration
* add polls to StatusViewData
* show poll results
* add methods for vote handling
* add voting interface
* enable voting in TimelineFragment
* update polls immediately
* enable custom emojis for poll options
* enable voting from search fragment
* add voting layout to detailed statuses
* fix tests
* enable voting in ViewThreadFragment
* enable voting in ConversationsFragment
* small refactor for StatusBaseViewHolder
6 years ago
Konrad Pozniak
41268859b1
fix some lint warnings
6 years ago
pandasoft0
83f1d7aaf1
Add CLEAR and FILTER buttons to notifications ( #1168 )
...
* Issue tuskyapp#762 add clear notifications button to the top of the Notifications adapter
* Issue tuskyapp#764 add the notifications filter
* Update notifications top bar buttons
* Replace PopupMenu with PopupWindow. Save notifications filter to the account table
* Disable hide top bar on empty content at the notification screen
* Add app bar behavior to the sw640 notification layout
* Fix issue with click on top notification tab
6 years ago
Levi Bard
b75c92b795
Share filters with web client ( #956 )
...
* First step toward synchronized content filters
* Add simple filter management UI
* Remove old regex filter UI
* More cleanup
* Escape filter phrases when applying them via regex
* Apply code review feedback
* Fix live timeline update when filters change
6 years ago
Ivan Kupalov
8a31ec49cb
List editing ( #1104 )
...
* List editing groundwork
* Add ability to add/remove accounts from list, delete lists
* Rename list, improve lists UI
* Add error handling, extract strings
* Revert gradle.properties
* Apply feedback suggestions
* Apply feedback
* Update license header
6 years ago
Konrad Pozniak
0efd3347d2
fix crash in AccountListFragment ( #1065 )
...
* fix crash in AccountListFragment
* remove unnecessary subscribeOn
6 years ago
Konrad Pozniak
c3fc97a12f
Tab customization & direct messages tab ( #1012 )
...
* custom tabs
* custom tabs interface
* implement custom tab functionality
* add database migration
* fix bugs, improve ThemeUtils nullability handling
* implement conversationsfragment
* setup ConversationViewHolder
* implement favs
* add button functionality
* revert 10.json
* revert item_status_notification.xml
* implement more menu, replying, fix stuff, clean up
* fix tests
* fix bug with expanding statuses
* min and max number of tabs
* settings support, fix bugs
* database migration
* fix scrolling to top after refresh
* fix bugs
* fix warning in item_conversation
6 years ago
kyori19
b3a8d00093
Add pinned status tab ( #994 )
...
* Add pinned status tab
* Make TabLayout scrollable.
6 years ago
Ivan Kupalov
cec5444e22
Caching toots ( #809 )
...
* Initial timeline cache implementation
* Fix build/DI errors for caching
* Rename timeline entities tables. Add migration. Add DB scheme file.
* Fix uniqueness problem, change offline strategy, improve mapping
* Try to merge in new statuses, fix bottom loading, fix saving spans.
* Fix reblogs IDs, fix inserting elements from top
* Send one more request to get latest timeline statuses
* Give Timeline placeholders string id. Rewrite Either in Kotlin
* Initial placeholder implementation for caching
* Fix crash on removing overlap statuses
* Migrate counters to long
* Remove unused counters. Add minimal TimelineDAOTest
* Fix bug with placeholder ID
* Update cache in response to events. Refactor TimelineCases
* Fix crash, reduce number of placeholders
* Fix crash, fix filtering, improve placeholder handling
* Fix migration, add 8-9 migration test
* Fix initial timeline update, remove more placeholders
* Add cleanup for old statuses
* Fix cleanup
* Delete ExampleInstrumentedTest
* Improve timeline UX regarding caching
* Fix typos
* Fix initial timeline update
* Cleanup/fix initial timeline update
* Workaround for weird behavior of first post on initial tl update.
* Change counter types back to int
* Clear timeline cache on logout
* Fix loading when timeline is completely empty
* Fix androidx migration issues
* Fix tests
* Apply caching feedback
* Save account emojis to cache
* Fix warnings and bugs
6 years ago