Commit Graph

69 Commits

Author SHA1 Message Date
Evangelos Paterakis 8c908a05a7
feat(secret): store updated account info
no point in keeping the initial display_name and avatar if the user has updated them
2023-02-26 08:21:08 +02:00
Evangelos Paterakis bb38f7ff0e
feat: update instance account info on start 2023-02-26 08:16:51 +02:00
Evangelos Paterakis bf0ee280ee
feat: finalize strings 2023-02-24 06:19:16 +02:00
Diego Iván b34191ee2c
chore: build system cleanup (#39)
Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2023-02-21 18:18:53 +02:00
GeopJr d3d3596210
feat: instance info (#63)
* chore: status_reactions => compat_status_reactions

let's prefix all instance compatibility properties with compat_

* feat: deserialize ArrayLists of string

* feat: instance info

* fix(SecretAccountStore): set instance_info as null
2023-02-01 17:07:12 +02:00
Evangelos Paterakis 715a277736
fix: error callback segfault
ecb *can* be null if `.on_error` is not provided
2023-01-11 19:30:40 +02:00
Evangelos Paterakis cf63e05122
feat: custom user agent
should fix: #51
2023-01-11 17:54:35 +02:00
Evangelos Paterakis 630fd270da
fix: disable ecb again
segfaults often and is difficult to debug (e.g when an instance returns 404). This needs a proper fix before re-enabling.
2023-01-11 17:53:01 +02:00
Bleak Grey ac01692652
feat(NewAccount): refactor, redesign (#50)
* NewAccount: make the dialog a little bit flatter

* NewAccount: redesign layout

* Network: pass error message to error callback

* fix: CRITICAL log on request when there's no access token

* fix: hide titlebar only when no-title exists

to avoid it being applied when we actually do want a flat headerbar with title

* fix: bind auth_page.description and use_auto_auth

there's a small delay between the auth code entry becoming visible and the description updating

* fix: hide title on the other steps too

* Change URL entry title

* Add OSK hint

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2023-01-10 18:52:40 +02:00
Evangelos Paterakis 47f53a2775
fix: CRITICAL log on check_notifications 2023-01-09 02:56:27 +02:00
Evangelos Paterakis 900ceb6fd3
feat: follow requests on locked accounts 2023-01-05 05:58:58 +02:00
Evangelos Paterakis d2f2621612
feat: move status kind to InstanceAccount from Mastodon.Account
feat: enable KIND_FOLLOW_REQUEST

KINDs are not really Mastodon exclusive
2023-01-05 05:58:58 +02:00
Evangelos Paterakis 0c2876861f
feat(status)[a11y]: large font and line height options
fix: #40
2022-12-29 22:04:45 +02:00
Diego Iván 9c4569c61e
feat: color scheme preference (#37)
* Add enumerations for ColorScheme

* PreferencesDialog: The dialog now sets the corresponding scheme to settings and Adwaita

* Set color scheme depending on user's preference when starting the app
2022-12-23 00:39:55 +02:00
Evangelos Paterakis 58c2d9b84b
fix: disable notification withdrawing for now
segfaults
2022-12-21 13:56:29 +02:00
Evangelos Paterakis aa96602543
fix: no more warnings 2022-12-11 02:23:29 +02:00
Behzad f16a28a71e
fix: Copy profile handle (#22)
* fix: Copy a string to the clipboard

* fix: remove the 'Share' section

* fix: null check Gdk.Display.get_default

I doubt it will ever be null in our case but since it's nullable it doesn't hurt to check it

* fix: copy full handle instead of the relative one

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2022-12-03 19:50:50 +02:00
Evangelos Paterakis 60cbc0ab3e
fix: make non-navigatable sidebar items unselectable 2022-12-03 01:23:55 +02:00
Evangelos Paterakis c73927b08d
fix: rethink navigation again
Instead of back = home, nested views are now allowed except for sidebar.
So Conversation => Profile => Profile is allowed and will follow navigation but
Home => Favourites => Local will go back to Home
2022-12-03 01:22:01 +02:00
Evangelos Paterakis 6f688443f8
feat: spoiler tags
including settings option to toggle 'always reveal' and a label when reveal (like Mastodon)
2022-12-02 18:10:51 +02:00
Evangelos Paterakis 228c2c952b
fix: pack icons in gresource
tooth no longer depends on system icons
fixes #9
2022-11-21 03:52:40 +02:00
Evangelos Paterakis 0b71d45ed0
feat: withdraw notifications of session 2022-11-21 01:29:23 +02:00
Evangelos Paterakis 206eefcef6
fix: get last_received_id on init
so we can actually mark them as read
2022-11-20 16:01:32 +02:00
Evangelos Paterakis 90b33035ea
fix: notification badge
wait for last_read_id to become available
2022-11-20 00:38:20 +02:00
Evangelos Paterakis cac5110846
fix!: [temp] don't ecb libsoup queue message error
it segfaults and ignoring it is a temp solution so I can continue working on the app
2022-11-20 00:34:09 +02:00
Evangelos Paterakis 3d86d43d08
feat: notification badges 2022-11-18 03:59:47 +02:00
Evangelos Paterakis 46f591c232
feat: partial emoji support 2022-11-17 20:32:26 +02:00
Evangelos Paterakis 1f22cb52d9
fix: segfault caused by toasts 2022-11-17 01:36:09 +02:00
Evangelos Paterakis 031040c629
feat: destroy main winow on account deletion and if there's no other accounts available 2022-11-16 23:21:43 +02:00
Evangelos Paterakis dde88311c2
fix: secret schema uses full handle 2022-11-16 23:20:44 +02:00
Max Harmathy 3d6c835c09 Use reason_phrase instead of get_phrase 2022-11-16 11:47:51 +02:00
Evangelos Paterakis 305e93a9f2
feat: redesign navigation
as suggested in https://github.com/bleakgrey/tootle/issues/328

main headerbar: Home, Notifications, DMs
sidebar: Home, Local, Federated, Favs, Bookmarks, Lists

search was moved to a button on the main headerbar
2022-11-16 11:43:21 +02:00
Evangelos Paterakis 5ba32dfa83
fix: rethink stack logic
instead of appending views indefinitely (including doubles like DMs -> Search -> DMs), remove the previous view and then append (this also ensures that the previous view is always Home)

feat: add Home to the sidebar
fix: selected sidebar row
2022-11-15 17:46:34 +02:00
Evangelos Paterakis f4becd13df
feat: remove instance from handle on flap account info
as suggested in https://github.com/bleakgrey/tootle/issues/326
2022-11-14 12:50:22 +02:00
Evangelos Paterakis 5ffed3ec5f
chore: rebrand 2022-11-13 22:57:43 +02:00
Evangelos Paterakis 5750f1fb03
fix: segfault 2022-11-13 20:02:34 +02:00
Evangelos Paterakis f422b855a7
fix: disable forced dark mode for now
global dark/light mode switch is instead being used
2022-11-13 13:08:36 +02:00
Evangelos Paterakis 370d79890b
feat(sidebar): use filled star icon for Favourites 2022-11-13 13:03:00 +02:00
Evangelos Paterakis 0d89cacc93
fix: adhere to GLib.Object naming conventions for properties
https://github.com/bleakgrey/tootle/pull/339

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2022-11-13 11:08:22 +02:00
Bleak Grey 02f918d637 InstanceAccount: Register places (#328) 2021-09-09 14:47:11 +03:00
Bleak Grey ddba63d805 Composer: Initial work for attachments 2021-08-31 10:54:11 +03:00
Bleak Grey 45e6de7342 Fix #312 2021-07-23 21:02:48 +03:00
Sergey Bugaev c52d8b5089
Drop executable bit from most files 2021-07-23 20:58:03 +03:00
Bleak Grey cb7a17963c
Port to GTK4 (#310) 2021-07-23 14:41:03 +03:00
Bleak Grey 43647fa9d4 IAccountListener -> IAccountHolder 2021-02-20 15:46:57 +03:00
Bleak Grey 8337f18604 i18n: Remove unmaintained locales 2021-02-20 14:30:14 +03:00
Bleak Grey 7454ece650 Deprecate settings.current_account property 2021-02-20 14:02:25 +03:00
Bleak Grey e60aa17934 Restructure Streams service 2021-02-14 14:48:43 +03:00
Bleak Grey 7d85bc5660
Refactor accounts (#284) 2021-02-12 18:26:37 +03:00
Bleak Grey aaebd94085 Widgets.Avatar: Free load image function on destroy 2020-10-19 00:50:09 +03:00