kyori19
6c630e08dd
Merge remote-tracking branch 'tuskyapp/develop'
2022-04-24 16:42:54 +09:00
Konrad Pozniak
3e849244f9
move Html parsing to ViewData ( #2414 )
...
* move Html parsing to ViewData
* refactor reports to use viewdata
* cleanup code
* refactor conversations
* fix getEditableText
* rename StatusParsingHelper
* fix tests
* commit db schema file
* add file header
* rename helper function to parseAsMastodonHtml
* order imports correctly
* move mapping off main thread to default dispatcher
* fix ktlint
2022-04-15 13:20:27 +02:00
kyori19
ba005c769b
Merge remote-tracking branch 'tuskyapp/develop'
2022-03-04 17:51:25 +09:00
Levi Bard
addce87eb6
Use tags from status when adding handlers to hashtag spans in status content ( #2344 )
...
* Migrate LinkHelper to kotlin
* Support tags field on statuses
* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283
* Make mentions and tags lists nonnullable
* Make LinkHelper.openLink a Context extension method
* Use builtin extension for uri conversion
* More cleanup in LinkHelper
* Add tests for LinkHelper.getDomain
* Unbreak tags in places that don't have a tag list (e.g. profiles)
* Fixup javadoc
2022-02-25 18:56:21 +01:00
kyori19
2005b32dfa
Merge remote-tracking branch 'tuskyapp/develop'
2021-07-03 23:59:57 +09:00
Konrad Pozniak
16ffcca748
add ktlint plugin to project and apply default code style ( #2209 )
...
* add ktlint plugin to project and apply default code style
* some manual adjustments, fix wildcard imports
* update CONTRIBUTING.md
* fix formatting
2021-06-28 21:13:24 +02:00
Ivan Kupalov
44a5b42cac
Timeline refactor ( #2175 )
...
* Move Timeline files into their own package
* Introduce TimelineViewModel, add coroutines
* Simplify StatusViewData
* Handle timeilne fetch errors
* Rework filters, fix ViewThreadFragment
* Fix NotificationsFragment
* Simplify Notifications and Thread, handle pin
* Redo loading in TimelineViewModel
* Improve error handling in TimelineViewModel
* Rewrite actions in TimelineViewModel
* Apply feedback after timeline factoring review
* Handle initial failure in timeline correctly
2021-06-11 20:15:40 +02:00
kyori19
928b7c5876
Merge remote-tracking branch 'tuskyapp/develop'
2021-05-03 00:23:13 +09:00
Konrad Pozniak
bcc852c521
update Room to 2.3.0 ( #2138 )
...
and use the new ProvidedTypeConverter
2021-04-24 18:31:16 +02:00
kyori19
a746009f74
Merge remote-tracking branch 'tuskyapp/develop'
2021-03-04 15:08:48 +09:00
Konrad Pozniak
940d6d395a
Drafts v2 ( #2032 )
...
* cleanup warnings, reorganize some code
* move ComposeAutoCompleteAdapter to compose package
* composeOptions doesn't need to be a class member
* add DraftsActivity and DraftsViewModel
* drafts
* remove unnecessary Unit in ComposeViewModel
* add schema/25.json
* fix db migration
* drafts
* cleanup code
* fix compose activity rotation bug
* fix media descriptions getting lost when restoring a draft
* improve deleting drafts
* fix ComposeActivityTest
* improve draft layout for almost empty drafts
* reformat code
* show toast when opening reply to deleted toot
* improve item_draft layout
2021-01-21 18:57:09 +01:00
kyori19
831ec88b6f
Configure streaming per each tabs
...
* Can use in Home, Local, Federated
* Process filter_changed event
2020-05-22 23:38:40 +09:00
Konrad Pozniak
89efd67015
fix toots showing too much whitespace ( #1761 )
...
* fix toots showing too much whitespace
* use isWhitespace extension function
2020-04-20 23:06:39 +02:00
Konrad Pozniak
68f34152dc
replace HtmlUtils with HtmlCompat ( #1741 )
...
* replace HtmlUtils with HtmlCompat
* fix tests
2020-04-02 23:37:38 +02:00
kyori19
d6ae071a09
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 d1cd2070ab
.
2019-12-02 16:53:24 +01:00
Konrad Pozniak
fd7471f2ab
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
2019-04-22 10:11:00 +02:00
kyori19
60d6927af6
Implement redraft feature. ( #1190 )
...
* Implement "Delete and Edit" feature
* Some changes to ComposeActivity
Support for uploaded medias, sensitive option.
Fix typo.
Change names of some extra keys.
* Use Glide instead of Picasso
* Pass ArrayList instead of json
* Change wording for re-draft
* Fix test
2019-04-21 15:16:39 +02:00
Konrad Pozniak
0c48dcf06c
add hashtag tabs ( #1145 )
...
* add hashtag tabs
* address review feedback
2019-03-24 08:59:55 +01:00
Konrad Pozniak
e371fa0e24
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
2019-02-12 19:22:37 +01:00
Konrad Pozniak
a445c12094
Upgrade to AndroidX, move to MaterialComponents theme ( #953 )
...
* upgrade to AndroidX, upgrade libraries
* move to MaterialComponents theme
* make sure the compose button looks good everywhere
* fix tollbar title/button alignment on tablet
* move to new material color theming, consolidate colors and themes
* fix build, fix imports
* set error on TextInputLayout instead of EditText
* fix imports, TootButton when
* improve snackbar style
* fix task description color
2018-12-17 15:25:35 +01:00
Konrad Pozniak
348c20c792
New settings ( #891 )
...
* change drawer items
* rename SettingsActivity
* introduce AccountSettings activity
* improve account settings, move notification settings
* sync settings with server
* rename settings back to preferences
* add functionality for settings
* move mediaPreviewEnabled preference to AccountPreferences
* replace shared prefs with accountmanager
* move PreferencesFragment to support library
* split preferences fragment into smaller fragments,
merge AccountPreferencesActivity into PreferencesFragment
* adjust icon size, add icons to general preferences
* change mediaPreviewEnabled and alwaysShowSensitiveMedia pref position
* add database migration
* remove pullNotificationCheckInterval option
* fix preference in TimelineFragment
* Update Chinese translations. (#915 )
* Update zh-CN translations.
* Update zh-SG translations.
* Update zh-TW translations.
* Update zh-MO translations.
* Update zh-HK translations.
* Fix errors in zh-CN translations.
* Fix errors in zh-SG translations.
* Fix errors in zh-TW translations.
* Fix errors in zh-MO translations.
* Fix errors in zh-HK translations.
2018-11-12 21:09:39 +01:00
Konrad Pozniak
9b422a97fe
Custom emojis in drawer ( #737 )
...
* upgrade MaterialDrawer
* improve CustomEmojiHelper so now any parent view can be used for invalidation
* cleanup MainActivity a bit
* add emojiList to account database and show compatEmojis and custom emojis in drawer
* improve perf of drawer profile update
* fix account switching
* reuse gson, break after profile item was found
2018-07-30 15:43:27 +02:00