Commit 99800872 authored by Federico Ceratto's avatar Federico Ceratto

New upstream version 1.0-alpha1

parent c7e1d4ec
[default]
name=Default
runtime=host
toolchain=default
config-opts=
run-opts=
prefix=/home/user/.cache/gnome-builder/install/tootle/host
app-id=
postbuild=
prebuild=
default=true
[default.environment]
G_MESSAGES_DEBUG=tootle
custom: https://liberapay.com/bleakgrey/
---
name: Bug Report
about: Report a problem in the application behavior
title: Bug Report
labels: 'bug'
assignees: ''
---
⚠️ Please try to fill in every blank. Keep the information clear and concise.
#### What should happen:
__
#### What happened instead:
__
#### How to reproduce:
1. __
2. __
#### Screenshots (if applicable):
__
#### Build context:
- **Distro:** __
- **App version:** __
- **Build type:** Flatpak / Built from source / Built by a third-party maintainer
#### Logs:
*(Terminal logs are often invaluable. If you can, launch the app from terminal with `com.github.bleakgrey.tootle` and paste the output here)*
#### Additional info (if needed):
__
_ignore
build
build.sh
build-po.sh
install.sh
*~
![Tootle](https://user-images.githubusercontent.com/37731582/39933812-45d8149a-5544-11e8-9bf4-6d78b1fdb29c.png)
Simple [Mastodon](https://github.com/tootsuite/mastodon) client designed for elementary OS.
## Tootle
Simple [Mastodon](https://github.com/tootsuite/mastodon) client for Linux
![Tootle Screenshot](https://raw.githubusercontent.com/bleakgrey/tootle/master/data/screenshot.png)
![Screenshot](https://raw.githubusercontent.com/bleakgrey/tootle/master/data/screenshot1.png)
## Building and Installation
[![Get it on AppCenter](https://appcenter.elementary.io/badge.svg)](https://appcenter.elementary.io/com.github.bleakgrey.tootle)
### Installation
<a href='https://flathub.org/apps/details/com.github.bleakgrey.tootle'><img height='51' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.png'/></a>
First of all you'll need some dependencies to build and run the app:
* meson
* valac
* libgtk-3-dev
* libsoup2.4-dev
* libgranite-dev
* libjson-glib-dev
Then run these commands to build and install it:
meson build --prefix=/usr
cd build
sudo ninja install
com.github.bleakgrey.tootle
## Contributing
If you feel like contributing, you're always welcome to help the project in many ways:
* Reporting any issues
* Suggesting ideas and functionality
* Submitting pull requests
* Donating with [LiberaPay](https://liberapay.com/bleakgrey/) to help project development and keeping the developer happy
### Building
If the options above are not available to you, you can build the app from source:
1. Make sure you have these dependencies:
- [x] meson
- [x] valac
- [x] libgtk-3-dev
- [x] libsoup2.4-dev
- [x] libjson-glib-dev
- [ ] libhandy-1.0-dev (>= 1.0.0)
*Note: Unchecked items will be installed automatically if not present in the system.*
2. Run `install.sh` in the project directory. The app will launch automatically on success.
### Contributing
Please consider donating with [LiberaPay](https://liberapay.com/bleakgrey/) to keep the developer happy.
<a href="https://liberapay.com/bleakgrey/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
## Credits
* Tootle Logo by [@CallMeFib3r](https://github.com/CallMeFib3r)
* Medel typeface by Ozan Karakoc
You can always help by reporting bugs, submitting pull requests, and suggesting ideas.
### Credits
* Icon design by [Tobias Bernard](https://github.com/bertob)
* French translation by [@Larnicone](https://github.com/Larnicone)
* Polish translation by [@m4sk1n](https://github.com/m4sk1n)
* German translation by [@koyuawsmbrtn](https://github.com/koyuawsmbrtn)
* Simplified Chinese translation by [@gloomy-ghost](https://github.com/gloomy-ghost)
.titlebar.compact {
padding: 0 6px;
.avatar {
border-radius: 4px;
}
.mode .toggle{
border-radius:0px;
border-top:none;
border-bottom:none;
padding:10px;
margin:0px;
.header .chip {
padding: 4px 12px;
border-radius: 4px;
border: 1px solid black;
}
.button_avatar{
padding:0;
border:0;
box-shadow:none;
background:none;
.attachment {
border-radius: 6px;
background: rgba (150, 150, 150, 0.2);
padding:0px;
margin:0px;
}
.toot-text, .toot-text text{
background-color: transparent;
.attachment .pic {
border-radius: 6px;
}
.attachment .chip {
padding: 6px;
border-radius:6px;
}
.header{
background-size: cover;
background-position: 50%;
opacity: 0.15;
.header-title-button {
margin: 0px;
border-radius: 0px;
border-top: none;
border-bottom: none;
}
.attachment{
border-radius: 3px;
.padded.app-view {
margin: 32px 0 32px 0;
}
.app-view:not(.padded) .content row {
border-radius: 0px;
}
.relationship {
background: rgba (0,0,0,.5);
padding: 6px;
border-radius: 3px;
color: #fff;
.app-action-bar .circular {
box-shadow: none;
}
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2018 bleak_grey <bleakgrey@gmail.com> -->
<!-- Copyright 2020 bleak_grey <bleakgrey@gmail.com> -->
<component type="desktop">
<id>com.github.bleakgrey.tootle</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Tootle</name>
<summary>Lightning fast client for Mastodon</summary>
<description>
<p>
Tootle is a client for the world’s largest free, open-source, decentralized microblogging network with real-time notifications and multiple accounts support.
</p>
<p>
Mastodon is lovely crafted with power and speed in mind, resulting in a free, independent and popular alternative to the centralized social networks.
Tootle is a GTK client for the world's largest, decentralized, microblogging platform, Mastodon. With the user experience in mind, it provides a clean, native interface that allows you to integrate Mastodon's social experience seamlessly with your desktop environment.
</p>
<p>
Anyone can run a server of Mastodon. Each server hosts individual user accounts, the content they produce, and the content they are subscribed. Every user can follow each other and share their posts regardless of their server.
Mastodon is a free and open source microblogging platform similar to Twitter, but with user privacy and decentralization in mind. It is one of many protocols that interacts with the Fediverse of protocols like Pleroma, GNU Social, and others. The power of federated microblogging that Mastodon brings and the agility of Tootle creates a fantastic duo for all of your social media needs.
</p>
</description>
<provides>
<binary>com.github.bleakgrey.tootle</binary>
</provides>
<developer_name>bleak_grey</developer_name>
<url type="homepage">https://github.com/bleakgrey</url>
<url type="bugtracker">https://github.com/bleakgrey/tootle/issues</url>
<url type="donation">https://liberapay.com/bleakgrey/donate</url>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
......@@ -57,64 +54,28 @@
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/bleakgrey/tootle/master/data/screenshot.png</image>
<image>https://raw.githubusercontent.com/bleakgrey/tootle/master/data/screenshot1.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/bleakgrey/tootle/master/data/screenshot2.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/bleakgrey/tootle/master/data/screenshot3.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/bleakgrey/tootle/master/data/screenshot4.png</image>
</screenshot>
</screenshots>
<releases>
<release version="0.2.0" date="2018-10-31">
<release version="1.0.0-alpha1" date="2020-09-10">
<description>
<ul>
<li>Added Watchlist</li>
<li>Added Redraft support</li>
<li>Added Pinning support</li>
<li>Added Simplified Chinese and German translations</li>
<li>Added --hidden Start Flag</li>
<li>Added Shortcuts and Back mouse button support</li>
<li>Changed Notifications screen behavior</li>
<li>Fixed minor bugs</li>
</ul>
</description>
</release>
<release version="0.1.5" date="2018-06-21">
<description>
<ul>
<li>Added Russian, French and Polish translations</li>
<li>Added Direct timeline</li>
<li>Added support for custom character limit</li>
<li>Added support for streaming all timelines</li>
<li>Added tooltips for image attachments</li>
<li>Added remove action for attachments</li>
<li>Changed behavior for mentioning users</li>
<li>Changed behavior for missing image attachments</li>
<li>Fixed minor bugs</li>
</ul>
</description>
</release>
<release version="0.1.3" date="2018-05-31">
<description>
<ul>
<li>Initial release</li>
<li>New app icon (Kudos to Tobias Bernard!)</li>
<li>New interface design</li>
<li>Fixed bugs</li>
</ul>
</description>
</release>
</releases>
<custom>
<value key="x-appcenter-color-primary">#F5F8FF</value>
<value key="x-appcenter-color-primary-text">#413F58</value>
</custom>
</component>
......@@ -3,10 +3,11 @@ Type=Application
Name=Tootle
Comment=Mastodon Client
GenericName=Mastodon Client
Exec=com.github.bleakgrey.tootle
Exec=com.github.bleakgrey.tootle %u
Icon=com.github.bleakgrey.tootle
Terminal=false
Categories=GNOME;GTK;Network;
Keywords=toot;mastodon;social;network;post;
X-GNOME-Gettext-Domain=com.github.bleakgrey.tootle
X-GNOME-UsesNotifications=true
X-GNOME-UsesNotifications=true
MimeType=x-scheme-handler/tootle;
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/com/github/bleakgrey/tootle/">
<file alias="app.css">app.css</file>
<file alias="light.css">light.css</file>
<file alias="dark.css">dark.css</file>
<file alias="logo128">logo128.png</file>
<file alias="empty_state">empty_state.png</file>
</gresource>
</gresources>
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<enum id='com.github.bleakgrey.tootle.API.Visibility'>
<value nick='public' value='0'/>
<value nick='unlisted' value='1'/>
<value nick='private' value='2'/>
<value nick='direct' value='3'/>
</enum>
<schema path="/com/github/bleakgrey/tootle/" id="com.github.bleakgrey.tootle" gettext-domain="com.github.bleakgrey.tootle">
<key name="current-account" type="i">
<default>0</default>
<summary>Current Account</summary>
<description>Do not edit or it shall set your house on fire</description>
</key>
<key name="notifications" type="b">
<default>true</default>
<summary>Display desktop notifications</summary>
<description></description>
<key name="dark-theme" type="b">
<default>false</default>
</key>
<key name="always-online" type="b">
<key name="autostart" type="b">
<default>false</default>
<summary>Always monitor new notifications</summary>
<description></description>
</key>
<key name="cache" type="b">
<key name="work-in-background" type="b">
<default>false</default>
<summary>Cache images to reduce network load</summary>
<description></description>
</key>
<key name="cache-size" type="i">
<default>64</default>
<summary>Cache size</summary>
<description>Sets the maximum size of cached content</description>
<key name="default-post-visibility" enum="com.github.bleakgrey.tootle.API.Visibility">
<default>'public'</default>
</key>
<key name="timeline-page-size" type="i">
<default>12</default>
</key>
<key name="post-text-size" type="i">
<default>100</default>
</key>
<key name="live-updates" type="b">
<default>true</default>
<summary>Real-time timelines</summary>
<description>Update timelines in real-time</description>
</key>
<key name="live-updates-public" type="b">
<key name="public-live-updates" type="b">
<default>false</default>
<summary>Real-time public timelines</summary>
<description>Update local and federated timelines in real-time. May clog up memory on busy instances.</description>
</key>
<key name="dark-theme" type="b">
<key name="aggressive-resolving" type="b">
<default>false</default>
<summary>Sets application theme to dark</summary>
<description></description>
</key>
<key name="char-limit" type="i">
<default>500</default>
<summary>Default character limit</summary>
<description>Change this if your instance supports more than 500 characters in posts</description>
<key name="window-x" type="i">
<default>-1</default>
</key>
<key name="window-y" type="i">
<default>-1</default>
</key>
<key name="watched-users" type="s">
<default>''</default>
<summary>Watched Users</summary>
<description>Comma separated list of usernames to notify you about</description>
<key name="window-w" type="i">
<default>600</default>
</key>
<key name="watched-hashtags" type="s">
<default>''</default>
<summary>Watched Hashtags</summary>
<description>Comma separated list of hashtags to notify you about</description>
<key name="window-h" type="i">
<default>700</default>
</key>
</schema>
</schemalist>
@define-color colorAccent #c92e34;
@define-color colorPrimary #35393c;
.header-counters{
background: rgba(0,0,0,.2);
}
.attachment{
background: rgba (255,255,255,.15);
}
.card{
background: rgba (255,255,255,.15);
}
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/com/github/bleakgrey/tootle/">
<file alias="app.css">app.css</file>
<file preprocess="xml-stripblanks">ui/views/new_account.ui</file>
<file preprocess="xml-stripblanks">ui/views/base.ui</file>
<file preprocess="xml-stripblanks">ui/views/profile_header.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/status.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/accounts_button.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/accounts_button_item.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/profile_field_row.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/timeline_menu.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/list_item.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/list_editor_item.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/attachment_slot.ui</file>
<file preprocess="xml-stripblanks">ui/widgets/compose_attachment.ui</file>
<file preprocess="xml-stripblanks">ui/dialogs/new_account.ui</file>
<file preprocess="xml-stripblanks">ui/dialogs/compose.ui</file>
<file preprocess="xml-stripblanks">ui/dialogs/main.ui</file>
<file preprocess="xml-stripblanks">ui/dialogs/preferences.ui</file>
<file preprocess="xml-stripblanks">ui/dialogs/list_editor.ui</file>
<file preprocess="xml-stripblanks">ui/menus.ui</file>
</gresource>
</gresources>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg4379"
sodipodi:docname="128x128.svg"
inkscape:version="0.91 r13725"
x="0px"
y="0px"
width="128px"
height="128px"
viewBox="0 0 128 128"
enable-background="new 0 0 128 128"
xml:space="preserve"><metadata
id="metadata59"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs57" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="705"
id="namedview55"
showgrid="false"
inkscape:zoom="1.84375"
inkscape:cx="54.508475"
inkscape:cy="64"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:current-layer="svg4379" /><radialGradient
id="path3041_1_"
cx="-292.7208"
cy="1871.6008"
r="35.3381"
gradientTransform="matrix(1.5564 0 0 -0.1698 519.5884 435.7747)"
gradientUnits="userSpaceOnUse"><stop
offset="0"
style="stop-color:#000000"
id="stop4" /><stop
offset="1"
style="stop-color:#000000;stop-opacity:0"
id="stop6" /></radialGradient><path
id="path3041"
opacity="0.2"
fill="url(#path3041_1_)"
enable-background="new "
d="M119,118 c-0.006,3.314-24.635,5.999-55.01,5.999C33.622,123.998,9.006,121.313,9,118c-0.006-3.314,24.614-6.001,54.99-6.001 c30.376-0.001,55.005,2.685,55.01,5.999C119,117.999,119,117.999,119,118z" /><g
id="g2036"
transform="matrix(2.6999989,0,0,0.55555607,-0.8000019,94.888882)"><g
id="g3712"
transform="matrix(1.052632,0,0,1.285713,-1.263158,-13.42854)"
opacity="0.4"><radialGradient
id="rect2801_1_"
cx="-136.6434"
cy="5007.957"
r="2.4994"
gradientTransform="matrix(5.695 0 0 -1 816.1725 5051.457)"
gradientUnits="userSpaceOnUse"><stop
offset="0"
style="stop-color:#181818"
id="stop12" /><stop
offset="1"
style="stop-color:#181818;stop-opacity:0"
id="stop14" /></radialGradient><rect
id="rect2801"
x="38"
y="40"
fill="url(#rect2801_1_)"
width="5"
height="7" /><radialGradient
id="rect3696_1_"
cx="-165.4541"
cy="6006.0449"
r="2.4994"
gradientTransform="matrix(-5.695 0 0 1 -932.2481 -5962.5449)"
gradientUnits="userSpaceOnUse"><stop
offset="0"
style="stop-color:#181818"
id="stop18" /><stop
offset="1"
style="stop-color:#181818;stop-opacity:0"
id="stop20" /></radialGradient><rect
id="rect3696"
x="5"
y="40"
fill="url(#rect3696_1_)"
width="5"
height="7" /><linearGradient
id="rect3700_1_"
gradientUnits="userSpaceOnUse"
x1="-115.496"
y1="4803.4004"
x2="-115.496"
y2="4810.4287"
gradientTransform="matrix(2.8421 0 0 -0.7143 352.2516 3478.0276)"><stop
offset="0"