Commit graph

292 commits

Author SHA1 Message Date
Conny Duck
3628b8431d add possibility to un/lock accounts 2018-03-27 20:46:53 +02:00
Levi Bard
043ac58254 improve content warning button
* Use the entire content warning text + button as the hitbox for the "Show more/less" toggle

* Move the content warning toggle button to its own line and give it a little more space

* Move content warning elements into parent layout, remove now-superfluous FlowLayout

* Use marginTop/Bottom instead of Vertical, which is only in sdk 26+

* Update minimum width for content warning toggle button
2018-03-15 19:15:12 +01:00
Konrad Pozniak
71954a277e
convert entity classes to Kotlin data classes (#526)
* convert entity classes to Kotlin data classes

* more data classes, code style
2018-03-03 13:24:03 +01:00
Conny Duck
1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
Conny Duck
c766a203bf fix bug in rtl layout, remove unneeded xml attributes & dimen resources 2018-02-16 22:14:25 +01:00
Conny Duck
9b6ca7ff42 remove unused resources 2018-02-03 23:43:06 +01:00
Conny Duck
f08efec0b6 simplify theme handling 2018-02-03 23:26:53 +01:00
Konrad Pozniak
92ae463b38
Multi account feature (#490)
* basic implementation

* improve LoginActivity

* darken drawer background image

* add current avatar in ComposeActivity

* add account name to logout dialog

* multi account support for notifications

* multi account support for notifications

* bugfixes & cleanup

* fix bug where somethings notifications would open with the wrong user

* correctly set active account in SFragment

* small improvements
2018-02-03 22:45:14 +01:00
remi6397
11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
Ivan Kupalov
0426e8725a Set caption for media (#500) 2018-01-08 23:16:21 +01:00
Ivan Kupalov
6152043df3 Add basic lists support (#501) 2018-01-06 19:01:37 +01:00
Sergio López
7c83e0f87d implement support for HTTP proxy (#489)
This change allows the user to manually enter an unauthenticated proxy
configuration to be used for all API connections. This is mainly
intended for using Tusky with Tor (via Orbot or a local proxy).
2017-12-26 21:45:08 +01:00
Conny Duck
2e4fef69a1 add navigation bar color for API >= 27 2017-12-13 19:35:12 +01:00
Conny Duck
2899114f66 add new debug build so two tusky versions can be run on the same device 2017-12-08 12:15:46 +01:00
Conny Duck
bf4d0bb722 change handling of font size, introduce font size setting 2017-12-01 21:52:10 +01:00
Conny Duck
08d01e6046 improve german translation, strings 2017-11-30 20:58:56 +01:00
Konrad Pozniak
41233a837b
UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +01:00
nailyk
0077388c65 Correct array translations (#470) 2017-11-29 07:26:17 +01:00
Conny Duck
1c2a647569 improve default post privacy to work like web mastodon, add default post privacy option 2017-11-27 20:11:31 +01:00
Conny Duck
1351c8b885 move string arrays into string.xml files so they do not get forgotten by translators 2017-11-27 19:47:31 +01:00
Ivan Kupalov
2575b16dad Save reply info in draft, refactor (#449)
* Save reply info in draft, refactor

* Handle replying to deleted status
2017-11-16 19:18:11 +01:00
Conny Duck
305d28a5c1 fix some lint warnings, remove unused code 2017-11-07 15:31:44 +01:00
Konrad Pozniak
21de60f739
Merge branch 'master' into timeline-improvement 2017-11-07 13:03:49 +01:00
Ivan Kupalov
dc1a60cc12 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Conny Duck
80a10c1ac1 implement "load more" placeholder 2017-11-04 21:57:30 +01:00
Ivan Kupalov
018be25137 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov
62f4837135 Reply improvements (#432)
* Refactor ComposeActivity intent. Fix bug with URLs

When user saved toot link was removed from the text field itself,
not only from the text to be saved.

* Show what you reply to

Closes #119
2017-11-01 20:59:29 +01:00
Conny Duck
671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Conny Duck
4807493850 update AboutActivity to show License, remove ic_logo.png 2017-10-28 13:39:32 +02:00
Konrad Pozniak
5cbc7217ff Link previews for detail statuses (#424)
* implement link preview cards on detail statuses

* cleanup code
2017-10-27 13:20:17 +02:00
Conny Duck
0fd25ff124 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
Conny Duck
d21bd0e1dd remove some unneeded strings 2017-10-25 10:57:40 +02:00
Conny Duck
8b13ce4806 update german strings 2017-10-20 16:39:34 +02:00
Conny Duck
30312e0e55 implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
Konrad Pozniak
25a489fe03 Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak
1297a35e9b Merge pull request #386 from lenchan139/master
add option: always show all sensitive content without warning
2017-10-17 09:44:19 +02:00
Konrad Pozniak
5176fc104d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
flyingrub
4fb9ee99f6 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub
402f696c10 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Len Chan
c0a5e55f47 add option: always show all sensitive content without warning 2017-09-19 23:19:18 +08:00
torrentcome
87de285fe8 (#377) hide sensitive images after showing them
-The web client overlays a small eye button over sensitive images after they've been shown that re-hides them
2017-08-30 14:22:12 +02:00
Vavassor
973c6168f8 Adds a confirmation dialog for unfollowing a user using the account header button. 2017-08-09 01:16:00 -04:00
Vavassor
ad399eedf1 Merge branch 'account-activity-improvements' of https://github.com/connyduck/Tusky into connyduck-account-activity-improvements 2017-08-08 21:23:16 -04:00
Conny Duck
2c1bae80b7 rename setting "follow button" -> "compose button" 2017-08-05 12:04:58 +02:00
Conny Duck
848189d670 show if an account follows you back in AccountActivity 2017-08-05 10:09:17 +02:00
Vavassor
df07ab2600 Adjusts background colours and button colours on the dark theme. Also, adds a background to the main status in a thread. 2017-08-03 19:13:26 -04:00
Vavassor
51e2b7c949 Fixes a few content descriptions and re-titles the Drafts page. 2017-07-18 22:32:13 -04:00
Vavassor
d55181ccd0 Adds ability to localize timestamps. 2017-07-14 19:45:26 -04:00
Jeroen
16736e38ba Updating instances website and project website 2017-07-14 19:11:47 +02:00
Vavassor
f68f6d7473 Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
Vavassor
14d02e72b7 Adds envelope icon indicator to direct messages on timelines, so they can be differentiated from private statuses. 2017-07-08 15:44:08 -04:00
Vavassor
63bf832ffd resolves merge conflict 2017-07-06 22:15:44 -04:00
torrentcome
76fca004ee (correction) fix some forgot code to present the pull request :D 2017-07-06 12:20:54 +02:00
torrentcome
7a7bca565e (string) add string 2017-07-05 16:35:41 +02:00
Vavassor
275cd51a6d Adds correct footer behaviour to account lists and unifies it with how timelines use them. 2017-06-30 18:30:25 -04:00
Vavassor
3955649b9c Moves loading of accounts, notifications, and statuses to use link headers. Also remedies an issue where duplicate calls for the same chunk of items in a list can occur. 2017-06-30 02:31:58 -04:00
torrentcome
946f58439c (saved_toot) add part of saved toot activity 2017-06-29 17:55:39 +02:00
Vavassor
3f54ead962 Adds option to hide media previews if reduced data usage is desired Closes #56. 2017-06-26 05:15:47 -04:00
Vavassor
2e29088d65 Fixes cursor being placed after a media link when it is added in the composer. Also, adjusts a tinting error in the composer buttons. 2017-06-20 16:57:04 -04:00
Vavassor
b9b5e58b50 Changes the NSFW button to a "hide media" icon in the composer. This is inspired in part by the upstream change tootsuite/mastodon#2696. But also NSFW was never a good description of this function. 2017-06-20 14:16:03 -04:00
Vavassor
53e6769d55 Consolidates the main header and removes the now-unneeded FloatingSearchView library. Closes #67 2017-06-19 20:50:40 -04:00
Vavassor
289e2fbbe1 Adds a prototype search page. The previous search bar is not yet removed. 2017-06-19 04:18:39 -04:00
Vavassor
da596a4f5c Merge branch 'design' of https://github.com/Pangoraw/Tusky into Pangoraw-design 2017-05-30 19:12:21 -04:00
Vavassor
036a305782 pretty much finishes the prototype 2017-05-23 19:48:54 -04:00
Vavassor
6ee6157b7f Adds TLS to the push notification client (keystore_tusky_api is omitted). 2017-05-22 02:05:37 -04:00
Vavassor
e282f13fdc Setup client-side for integration with the wryk/tusky-api prototype. 2017-05-19 21:28:12 -04:00
Vavassor
388ecfcf2e Removes the product flavor split. 2017-05-18 18:10:46 -04:00
Vavassor
6752d45d4b Initial client working for MQTT push notifications. 2017-05-16 22:19:34 -04:00
Pangoraw
ac7428ec57 Use softer color for light theme. 2017-05-14 11:02:12 +00:00
Vavassor
1815d574c8 Makes the view media toolbar transparent. 2017-05-11 21:31:29 -04:00
Vavassor
fa0641bfd9 changes terminology 2017-05-11 19:02:43 -04:00
Vavassor
66bac21236 fixes merge conflicts 2017-05-11 18:58:38 -04:00
Vavassor
3c20f7a0c4 Adds a splash screen replacement. 2017-05-09 22:36:05 -04:00
Paul
17f347cab5 Add loading on login activity while fetching tokens 2017-05-08 11:24:30 +00:00
Vavassor
551d73baee Makes about page work with light theme and landscape orientation. 2017-05-07 22:00:29 -04:00
Vavassor
daf0ec8e49 resolves merge conflict 2017-05-07 20:20:59 -04:00
Tryton Van Meer
08cd604e66 Added string 'action_logout_confirm' 2017-05-05 12:19:34 -04:00
Vavassor
bd687fb45d Fixes crash on android version Lollipop and earlier due to an unsupported way vector drawable icons were assigned to radio buttons. 2017-05-03 18:33:15 -04:00
Vavassor
ab76121692 Change locked accounts to default visibility to "followers-only", and reorganizes the composer because it was getting cluttered. 2017-05-02 18:17:54 -04:00
Vavassor
cfb0219536 Merge branch 'profile-edition-design' of https://github.com/daycode/Tusky into daycode-profile-edition-design 2017-05-01 21:52:11 -04:00
Vavassor
9bb8c96f00 Merge branch 'issue_133' of https://github.com/raphaelm/Tusky into raphaelm-issue_133 2017-05-01 21:50:24 -04:00
Vavassor
ad30c78faf Account page interactions with locked users are made much clearer. 2017-04-30 21:55:33 -04:00
serage.betelmal
df7e077029 Adding more content to the About activity 2017-04-30 21:53:32 +01:00
serage.betelmal
9b86c93e76 Merge branch 'master' into feature/about-page 2017-04-30 21:09:09 +01:00
daycode
b82d75a6c4 design the edit profile view 2017-04-30 21:57:15 +02:00
Raphael Michel
ddf654f777 Merge branch 'master' into issue_133 2017-04-30 16:13:16 +02:00
Vavassor
7d83a9aaba Follow requests list is available. Closes #222 2017-04-28 23:52:14 -04:00
Vavassor
01997012de Block and mute lists now remove the entries when you unmute/unblock a user, with a short popup to undo if it's unintentional. Just for clearer feedback. 2017-04-22 02:06:19 -04:00
Vavassor
852c484d68 Adds a list of muted users. 2017-04-21 19:02:04 -04:00
Vavassor
db021b948b resolve merge conflicts 2017-04-21 01:25:07 -04:00
Vavassor
2d88571b14 Merge branch 'issue_139' of https://github.com/raphaelm/Tusky into raphaelm-issue_139 2017-04-21 00:57:31 -04:00
Vavassor
c6988415ae merge resolved 2017-04-21 00:19:37 -04:00
daycode
d6a66656de Add Direct Message to visibility panel 2017-04-18 12:59:42 +02:00
Raphael Michel
834ad78c36 Allow to filter boosts and replies from home (closes #133) 2017-04-17 12:37:44 +02:00
Raphael Michel
15088fa42a Allow taking photos directly from the app (closes #139) 2017-04-17 10:56:30 +02:00
Vavassor
18e40855ad Profile edits for display name and bio are working. Avatar and header image picking are in but not uploaded. 2017-04-17 02:49:56 -04:00
Vavassor
e15f1cfcab Merge branch 'master' into edit-profile 2017-04-17 01:10:20 -04:00
Vavassor
a33c259760 Ties composer readying state and control states together. 2017-04-17 00:29:47 -04:00
Vavassor
cc0aaf6162 Fixes a couple cases in the composer where buttons enabled are out of sync with whether a status is already in flight. 2017-04-17 00:18:55 -04:00
Vavassor
61fdda5fa3 Merge branch 'issue_62' of https://github.com/raphaelm/Tusky into raphaelm-issue_62 2017-04-16 23:04:00 -04:00
Vavassor
fcffea08a3 Merge pull request #143 from theZacAttacks/variedSharing
Share menu now allows for sharing of link/actual post
2017-04-16 18:54:31 -04:00
Vavassor
84741c1f1b Adds a partial profile editor (non-working). 2017-04-16 18:51:09 -04:00
serage.betelmal
642e2af23e Adding an about activity to the App 2017-04-15 19:05:25 +01:00
Raphael Michel
d732c5d0a7 Timeline footer improvements 2017-04-15 19:25:39 +02:00
Vavassor
692dc0e527 Possible fix to ECDH secp256r1-only cipher suite issue. 2017-04-13 00:01:02 -04:00
Vavassor
3bf84f9b7d Cleaned up content descriptions and added the last missing ones. Closes #122 2017-04-12 21:54:37 -04:00
Zachary Epps
52343b6ab2 changed the share button menu to allow for sharing either the link, or the actual content of the post
added values into @string file to accommodate for the change
added the new share submenu into the status_more layout xml
2017-04-12 16:21:48 -04:00
Vavassor
2e45a0bbff Adds missing content descriptions and fixes a bit of the follow button hiding code. 2017-04-12 04:32:05 -04:00
Vavassor
bc8c2427fb Removes mention of elephant friend, to reduce noise. 2017-04-12 00:27:48 -04:00
Vavassor
f6a165a50a Adds content descriptions and hints to non-textual elements so they can be described by screen readers. 2017-04-12 00:21:52 -04:00
Vavassor
c6b4a98d3e Tusky's web page now uses https. (when you have a larger commit message than your single character change) 2017-04-09 23:15:37 -04:00
Nicholas Tinsley
3bba1e10d9 implemented chrome custom tabs 2017-04-07 08:51:48 -04:00
ntngrtltr
2c94ee9c2e add support for runtime-permissions (fix needed) 2017-04-07 13:11:31 +02:00
ntngrtltr
57f829e58e download images by tap an hold 2017-04-07 12:12:26 +02:00
ntngrtltr
0d78e8e68a add translatable=false flag 2017-04-06 19:01:02 +02:00
Vavassor
a9970ee875 Simplify the error messages and remove unused strings. 2017-04-06 03:09:49 -04:00
Vavassor
2cb0b96abd Fixes a crash during authentication and another when opening the composer options. Also, sets up the next update to reset the redirect URI for the app during authorization. 2017-04-04 22:29:15 -04:00
Vavassor
e46e50ac60 Clarifies a bit of the explanation on the login page. 2017-04-02 19:55:41 -04:00
Vavassor
53376da406 Adds the local timeline. 2017-03-30 22:31:17 -04:00
Vavassor
eed3f2d899 Light icon buttons are colour background with white text again. It just looks nice. 2017-03-30 19:23:43 -04:00
Vavassor
1f798902b7 Spruces up the light theme.
Also, fixes a bug where the show more/less button for content warnings is sometimes already checked.
2017-03-29 00:22:14 -04:00
Vavassor
251602fb2c Adds preferences for receiving notifications by type. 2017-03-28 15:39:29 -04:00
Vavassor
4b136ce458 Light theme properly separated again, making it ready for palette changes. 2017-03-26 22:59:16 -04:00
Vavassor
81700e7b84 Adds an indicator of visibility to the send button in the composer. Closes #38 2017-03-26 18:26:47 -04:00
Vavassor
b3e9b86b61 Remove array.xml and re-enable (partially working) light theme. 2017-03-21 20:40:00 -04:00
Vavassor
2c76a65145 Second bugfix release. Also fixes localization build issues. 2017-03-21 01:13:08 -04:00
Vavassor
7f4637c04c Improved login error messages. Also, updated readme with F-Droid removed and no mention of alpha status. 2017-03-19 23:15:36 -04:00
Vavassor
263d586a51 First bugfix release. Also, added a link to the "No Account?" dialog on the login page. 2017-03-15 20:01:23 -04:00
Eugen Rochko
3a1181bd82 Enable/disable push notifications. Clearing notifications
resets the summary of the notifications
2017-03-15 23:45:59 +01:00
Vavassor
f391538984 Merge branch 'Gargron-master' 2017-03-14 18:41:07 -04:00
Vavassor
5d68c6df8f Finished the tusky-api server. 2017-03-14 18:39:32 -04:00
Eugen Rochko
ce82a81f0e Fixed view media fragment behaviour, reblogs/favs of reblogs 2017-03-14 19:24:38 +01:00
Eugen Rochko
2e50c547ce Group push notifications
Clear notifications when opening MainActivity
Use lowest privacy setting when replying
2017-03-14 14:31:52 +01:00
Eugen Rochko
4db1d54d79 Fix exception when bad domain on login screen 2017-03-14 12:59:52 +01:00
Vavassor
6613e8ae1e Switched the push notification server. 2017-03-13 00:11:16 -04:00
Eugen Rochko
5d1a86d472 Crash analytics with Firebase
Conversation line visual
2017-03-12 18:46:45 +01:00
Eugen Rochko
470b3b1236 Improved blocked users layout 2017-03-12 14:01:50 +01:00
Eugen Rochko
2bbd46e841 Push notifications 2017-03-12 08:31:20 +01:00
Eugen Rochko
c1fc6959e7 Fix up report activity/layout 2017-03-10 23:47:04 +01:00
Eugen Rochko
1015f27554 Mention action on profiles 2017-03-10 23:37:02 +01:00
Vavassor
851a92a271 Refreshing uses since_id wherever applicable. Also, reverted the notification icon. 2017-03-10 15:12:40 -05:00
Eugen Rochko
f34237ce7a Improve compose activity 2017-03-10 18:38:49 +01:00
Eugen Rochko
473f7f75f1 Merge upstream 2017-03-10 04:40:48 +01:00
Eugen Rochko
e72227abf0 Improved drawer look 2017-03-10 04:37:53 +01:00
Eugen Rochko
ed262dfb2d Fix crash when adding media, make all activities use coordinator layout 2017-03-09 23:21:02 +01:00
Eugen Rochko
7fa01371d9 Add drawer to main activity 2017-03-09 19:31:15 +01:00
Eugen Rochko
9172636127 Add back buttons to favourites/blocks activities 2017-03-09 18:09:32 +01:00
Eugen Rochko
02ccaf4610 Muting/unmuting accounts 2017-03-09 17:51:44 +01:00
Eugen Rochko
9e82b64423 Fix #4 - Toot URLs can be shared 2017-03-09 17:37:24 +01:00
Vavassor
e46731454d Fixes icons on statuses and notifications not being the right colour on the light theme.
Maybe could be a more elegant solution than drawable duplication but for now fine.
2017-03-07 23:52:17 -05:00