Commit Graph

463 Commits

Author SHA1 Message Date
Evangelos Paterakis 649362d439
feat(compose): use mnemonics 2022-11-30 00:16:05 +02:00
Evangelos Paterakis a178f4bcd9
feat: profile stats (posts, followers, following) 2022-11-29 03:02:54 +02:00
Evangelos Paterakis a8582da5db
fix: allow nested profile pages 2022-11-29 03:02:54 +02:00
Evangelos Paterakis aaabd3517a
fix: text direction on RTL window
fix: #19
2022-11-27 18:05:56 +02:00
Evangelos Paterakis 6999d46539
feat: post stats on conversation view 2022-11-27 03:32:16 +02:00
Evangelos Paterakis f68be503d6
fix: set xalign to 1 if RTL [temp]
this is a temporary solution until we switch to webview
2022-11-27 03:28:47 +02:00
Evangelos Paterakis 4fdc0a6630
feat: toot dialog placeholder text 2022-11-21 17:29:07 +02:00
Evangelos Paterakis 34c5fa24c1
feat: more tooltips 2022-11-21 17:28:47 +02:00
Evangelos Paterakis fb372dedc6
fix: profile fields wrapping
long strings would change the minimum window width
2022-11-21 17:25:36 +02:00
Evangelos Paterakis 31d33343b0
feat: toggle status action icon state
fix: toggle classes before doing REST requests for the sake of the feedback being instant
2022-11-21 03:54:50 +02:00
Evangelos Paterakis c2a1f7858f
feat: add tooltips to status action items 2022-11-21 03:53:35 +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 83a6944605
feat: colored status icons
colors are inspired by mastodon's webui

chore: app.css -> style.css
2022-11-21 01:28:49 +02:00
Evangelos Paterakis bfcae89d3b
feat: (unicode) emoji picker 2022-11-20 16:02:05 +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 2b1171f025
fix: notification reading
read up to either last received or last read
2022-11-20 00:38:44 +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 4d12f8d14d
fix: disable markup on RichContainer
instead use a param if needed
2022-11-20 00:37:17 +02:00
Evangelos Paterakis 63c12b027d
feat: hide actions ono non-actionable posts
X followed you shouldnt have actions as they are not really posts...
2022-11-20 00:36:01 +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 0beed5a0fc
fix: notification image should be of actual issuer 2022-11-18 04:00:21 +02:00
Evangelos Paterakis 3d86d43d08
feat: notification badges 2022-11-18 03:59:47 +02:00
Evangelos Paterakis 4b41ac1c3f
feat: open profile on name click 2022-11-17 22:35:01 +02:00
Evangelos Paterakis a207be3597
fix: emojis of status in timeline 2022-11-17 22:31:13 +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 67c6095e98
feat: show feedback on login workflow errors 2022-11-17 01:18:24 +02:00
Evangelos Paterakis 7e2599ff6b
feat: rethink login workflow
it used to spawn xdg mime to set tooth://, which is not possible in sandbox or other environments. It now tries the auto-login first and lets the manual workflow be available through a button

fix: hide instead of destroying the main window
2022-11-17 01:17:42 +02:00
Evangelos Paterakis 83acceeeb8
fix: remove *all* list children
the previous loop would skip the last item
2022-11-17 01:13:22 +02:00
Evangelos Paterakis 67944b3b19
feat: Gtk.MessageDialog -> Adw.MessageDialog & enable them 2022-11-16 23:23:00 +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
Evangelos Paterakis ee19df79fe
feat: respect OP visibility when replying
If you are replying to a DM, your reply should also be direct, same goes for the other visibilities.

chore: remove unused css
2022-11-16 15:05:02 +02:00
Sebastian Spaeth d3eb293490 Account: Simplify display name
Make the internal representation of display name always a real string,
no need for nulls here, this simplifies life a little.
2022-11-16 13:42:13 +02:00
Sebastian Spaeth 831b792af2 Application.vala: No need for gtk.init
Don't do GTK.init. it is being done implicitly by GTK application.startup.
Make sure we chain that up though.

Ref https://docs.gtk.org/gtk4/func.init.html:

    If you are using GtkApplication, you don’t have to call gtk_init() or
    gtk_init_check(); the GApplication::startup handler does it for you.

Fixes: https://github.com/spaetz/tootle/issues/4
2022-11-16 13:19:31 +02:00
Sebastian Spaeth 09ed73292b Gtk.Application -> Adw.Application
We live in Adwaita world, not GTK.
2022-11-16 13:18:34 +02:00
Sebastian Spaeth 4b4afef594 Fix preview_url 2022-11-16 13:15:36 +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 3bd79d0dc1
fix: leaflet navigation when main is not in 'Home' 2022-11-15 23:59:24 +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 96671a9217
fix: dont open view if already open 2022-11-15 00:38:44 +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 428a7f2940
fix: don't spawn xdg-open, instead use Gtk.show_uri 2022-11-14 12:48:20 +02:00
Evangelos Paterakis 06f50c0973
fix: move artists and developers credits to about_activated 2022-11-14 12:47:51 +02:00
Evangelos Paterakis 8aa4544f3a
feat: adw aboutwindow 2022-11-13 23:03:12 +02:00
Evangelos Paterakis 5ffed3ec5f
chore: rebrand 2022-11-13 22:57:43 +02:00
Evangelos Paterakis c421949ecf
feat: change fav button icon to filled star 2022-11-13 21:07:10 +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 c595a0889c
fix: simplify profile links and don't wrap 2022-11-13 13:00:59 +02:00
Evangelos Paterakis 2485871622
feat: make action status buttons circular 2022-11-13 12:08:48 +02:00
Evangelos Paterakis 37f7e2323e
feat: remove border radius on small clamp 2022-11-13 11:55:53 +02:00
Evangelos Paterakis 6d5c9d7582
fix: AdwLeaflet properties 2022-11-13 11:13:52 +02:00
Bobby Rong 6924572047 Application: make app_entries private
Fixes compilation with latest valac.
2022-11-13 11:12:51 +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 1010a78c0f Fix #316 2021-07-25 21:15:59 +03:00
Bleak Grey f9e099a425 Fix #317 2021-07-25 21:01:05 +03:00
Bleak Grey f774eb977e Profile: add relationship button 2021-07-25 18:35:51 +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 eac4a7fcb5 Close #283 2021-02-14 15:07:20 +03:00
Charlène 15da090d15
About dialog: close when the close button is pressed (#270)
Fixes #242.
2021-02-14 15:02:30 +03:00
Bleak Grey eff22c2bfc
Initial Pleroma support (#285)
Co-authored-by: dec05eba <66856951+dec05eba@users.noreply.github.com>
2021-02-14 14:49:41 +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 3fa255b86d open_uri(): support mailto 2021-02-02 17:17:22 +03:00
Bleak Grey 7733f26107 :) 2021-02-02 17:08:23 +03:00
Bleak Grey 5e2e6b68b4 Fix open_uri() 2021-02-02 17:07:27 +03:00
Bleak Grey f485a6d505 Fix infinite loop with status actions 2021-02-02 16:34:36 +03:00
Bleak Grey 9b0229e4cc
Revert "New Account: Slight redesign (#273)" (#277)
This reverts commit c407b375a9.
2021-02-02 13:19:13 +03:00
Adrien Plazas c407b375a9
New Account: Slight redesign (#273)
This makes the code simpler, implements the latest GNOME HIG standard,
gives a back gesture, and makes the dialog it fit phones.

Co-authored-by: Bleak Grey <bleakgrey@e.email>
2021-02-02 12:43:22 +03:00
Bleak Grey 02f168e19d
Introduce MarkupView widget (#264)
Co-authored-by: Bleak Grey <bleakgrey@gmail.com>
2021-02-02 12:16:59 +03:00
Bleak Grey 3cf8d9ddd6 Clean up 2020-11-19 12:47:48 +03:00
Bleak Grey bc5a4a53fe Fix #240 2020-11-19 12:46:18 +03:00
Bleak Grey 577f0c1b68 Fix header bar button spacing 2020-11-12 13:57:35 +03:00
Adrien Plazas af9c0dcffb
MainWindow: Fix unused view clean-up (Fix #261) 2020-11-12 13:49:00 +03:00
Bleak Grey cc9404aabc Entity: Improve spec patching code 2020-10-31 16:11:12 +03:00
Bleak Grey 86d1820cc2 Widgets.Attachment.Box: Hide if empty 2020-10-24 20:56:57 +03:00
Bleak Grey f1f8cd1fb0
Display thread lines 2020-10-24 13:54:37 +03:00
Bleak Grey dbf724bc6f Widgets.Status: use different reply icon for threads 2020-10-24 07:26:27 +03:00
Bleak Grey 25c49a634e Desktop: Use GLib.AppInfo for open_uri() 2020-10-24 07:04:20 +03:00
Bleak Grey 877232945c Views.Thread: Fix scrolling to root post 2020-10-24 06:56:04 +03:00
Bleak Grey f9663c75ad NotificationType: change favorite icon 2020-10-24 06:47:15 +03:00
Bleak Grey 4e7c6ad225 Close #204 2020-10-24 06:42:24 +03:00
Bleak Grey b7153be9cb Use CSS typography classes, simplify label formatting code 2020-10-24 06:23:23 +03:00
Bleak Grey 5c0d98af9f Remove excess var nullification 2020-10-19 00:51:59 +03:00
Bleak Grey aaebd94085 Widgets.Avatar: Free load image function on destroy 2020-10-19 00:50:09 +03:00
Bleak Grey 695e71ef4c
Use Hdy.Avatar (#253) 2020-10-18 23:35:59 +03:00
Bleak Grey 2b4fd15a25 Views.Thread: Make root status widget prominent 2020-10-17 14:01:54 +03:00
Bleak Grey d92672d895
Refactor main view stack (#251)
Co-authored-by: Adrien Plazas <kekun.plazas@laposte.net>
2020-10-15 18:55:13 +03:00
Bleak Grey 718abf8211
Make spoiler button touch friendly
* Shrink status widget layout

* Make spoiler button touch friendly

* Fix reblogged post content showing RT
2020-09-15 07:45:18 +03:00
Bleak Grey 936ed2f374
Refactor New Account dialog 2020-09-10 20:10:24 +03:00
Bleak Grey 50347cbb1d Fix #220 2020-09-05 11:45:35 +03:00
Bleak Grey 748808d845
Drop Granite completely 2020-09-05 11:02:42 +03:00
Bleak Grey e0a7a4326f i10n: Regenerate .po files 2020-08-02 17:48:52 +03:00
Bleak Grey c9d0717e6a
Reimplement Conversations 2020-08-02 00:47:22 +03:00
Bleak Grey ddde3edd67 Desktop: refactor file downloading 2020-08-01 20:56:12 +03:00
Bleak Grey e2e3400c86 Fix links opening twice 2020-08-01 19:47:49 +03:00
Bleak Grey 9ca9720f60 Refactor entity resolving 2020-08-01 18:40:56 +03:00
Bleak Grey 25c9daf307 Refactor Accounts button 2020-08-01 02:42:14 +03:00
Bleak Grey 4a3df1f3fa
Compose: Support media attachment 2020-07-30 22:02:03 +03:00
Bleak Grey 6e129ed663 Unscrew previous commit 2020-07-28 21:38:37 +03:00
Bleak Grey 9e3d854148
Implement Lists (close #192) 2020-07-28 21:30:45 +03:00
Bleak Grey 418ee90ea1 Close #198 2020-07-16 16:00:19 +03:00
Bleak Grey 6c2fde1e38 Remove old Watchlist setting keys 2020-07-12 12:52:08 +03:00
Bleak Grey 25a308b8bc Close #197 2020-07-12 12:48:29 +03:00
Bleak Grey b65d23d6b5 Close #196 2020-07-12 11:27:11 +03:00
Bleak Grey 9d016b765f Make it compile 2020-07-10 17:35:01 +03:00
Bleak Grey a542be90c1
Refactor attachment grid
* Introduce Slotted attachment grid

* Use Stack in attachment Slot

* Display attachment type

* Fit pictures into the Slot center
2020-07-10 17:30:57 +03:00
Bleak Grey 3d0bd9e48e
Fix circular references 2020-07-10 17:22:38 +03:00
Bleak Grey bc4205e133 Adapt to libhandy 0.83 2020-07-06 20:04:01 +03:00
David Heidelberg 204b687bfd
adapt for libhandy >= 0.82 (#186) 2020-07-06 19:55:13 +03:00
Bleak Grey 366af1ef49 Make user menu actions circular & add bookmarks 2020-07-06 19:40:17 +03:00
Bleak Grey 13293738d5 Reparent Status widget to ListBoxRow (#183) 2020-07-05 10:42:00 +03:00
Bleak Grey b0cb6d8a14 Oopsie 2020-07-01 13:38:44 +03:00
Bleak Grey 34c1de1eb8 Move relationship button to header 2020-07-01 13:26:32 +03:00
Bleak Grey 25e4d870e4
Refactor HeaderBar 2020-06-30 00:43:45 +03:00
Bleak Grey a3d8577206 Show HdyViewSwitcherBar only on primary view 2020-06-20 13:39:09 +03:00
Bleak Grey 67c4a1f049 Tweak Streams connection timeout 2020-06-20 13:27:18 +03:00
ranfdev 8d203996a4
Add responsive libhandy HdyViewSwitcherBar (#176) 2020-06-20 13:07:16 +03:00
Bleak Grey 7e97ca1c54
Use GLib serialization (#180) 2020-06-20 13:04:58 +03:00
Bleak Grey 82e2f93bc8 Introduce Widgetizable interface 2020-06-03 18:06:11 +03:00
Bleak Grey d24e10ace2 Tweak timelines 2020-06-03 15:41:21 +03:00
Bleak Grey 3299048f4d Fix home timeline triggering notifications 2020-06-02 13:32:01 +03:00
Bleak Grey 1bf4e6eb19
Use Hdy.Column for Base views (#174) 2020-06-02 12:35:29 +03:00
Bleak Grey c7740785fd Depend on libhandy-1.0 2020-06-01 15:40:50 +03:00
Bleak Grey df58394a35 Respect timeline page size setting 2020-06-01 04:27:11 +03:00
Bleak Grey 1806e9552c Implement #36 2020-06-01 03:54:20 +03:00
Bleak Grey 5ca9db1839 Implement #86 2020-06-01 03:02:17 +03:00
Bleak Grey 439bd763a4 Bind Preferences to Settings 2020-05-31 23:56:43 +03:00
Bleak Grey 01b1223982 Update gschema 2020-05-31 22:56:03 +03:00
Bleak Grey f6c7b1795e Add new Preferences dialog 2020-05-31 21:55:40 +03:00
Bleak Grey 94c3d43fe1 Drop Granite.Application 2020-05-31 15:47:12 +03:00
Bleak Grey 024a870228 Drop Granite.ModeButton 2020-05-31 13:28:35 +03:00
Bleak Grey c9836034c0 Fix warnings 2020-05-30 19:48:20 +03:00
Bleak Grey 61a60e482b Respect live updates setting 2020-05-30 19:37:35 +03:00
Bleak Grey d79023b605 Convert NotificationsView into Timeline 2020-05-30 19:24:11 +03:00
Bleak Grey 7faca4090e Depend on libhandy 2020-05-30 14:39:41 +03:00
Bleak Grey 41208fa8eb Fix streams 2020-05-30 13:31:02 +03:00
Bleak Grey f0326fec29 Fix new statuses not being published 2020-05-30 12:21:50 +03:00
Bleak Grey 55d566140c
Merge refactor branch (#173) 2020-05-29 15:19:35 +03:00