Coder Social home page Coder Social logo

mailnag-gnome-shell's People

Contributors

bryango avatar city-busz avatar pulb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mailnag-gnome-shell's Issues

[enhancement] Launch non-default mail client/URL

The reasonable and very sane behavior of this extension is to launch the default mail client which is exactly what I think everyone would agree should be done. I think a nice enhancement, though, would be to have an option to override that. A bonus enhancement would be if it could launch the default web browser and open a custom set URL like mail.yuckhoo.com or myaddress.tld/roundcube,

For example, when I'm logged in as the "work" user on my computer, Thunderbird is the default mail client and I pretty much have it open constantly. I use mailnag to monitor my personal account which isn't added to Thunderbird. If mail comes in, it doesn't do any good to launch/focus Thunderbird. It would be nice to be able to set Evolution or the web address for my Roundcube instance as the launch action. When logged in with my personal account on my computer, I wouldn't select to override the default action as Evolution is that user's default mail client and is connected to the account mailnag monitors.

Can't install on Fedora 20

Hi, I'm trying to install the extension on Fedora 20 (x86_64 Gnome 3.12) but when I try to compile it, it gave me this error:

$ make install-local
valac --pkg folks aggregate-avatars.vala
error: Package `folks' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
make: *** [aggregate-avatars] Errore 1

The package "folks" is indeed installed on the system.

Thanks!

Mails missed due to disconnection of account idler thread, requiring backend restart

Under a yet-to-be-understood scenario, mailnag (and I don't know if it's the backend or the Shell extension) starts to completely fail:

  • Shell icon remains at 0 / "no new email" state
  • New emails aren't seen
  • Marking emails as seen/unseen in my IMAP client has no impact, icon remains blank

I'm sometimes able to recover from this state by restarting the backend (using mailnag's preferences On/Off button) UPDATE 2017-06-21 and restarting Shell (Alt+F2, r), and I think both restarts are needed (which is why I say I don't know if it's a backend or frontend issue :-/ )

This happens every few days on my machine, and I have no idea how to get a more precise idea of the bug.

How can I get more debug info/logs (both backend and extension) to help me/you understand what's wrong? Thanks 🙂.

mailnag 1.2.1 running on Shell 3.24.2 on Arch Linux x64

Update for GNOME 3.18

Hello,

GNOME 3.18 has been released and many people already use it. Could you please update your extension at extensions.gnome.org to support this new GNOME version?

Thanks!

Disabled, Mailnag still works

When I'm on my pc with friends, I would like to disable Mailnag for a moment.

But it goes on giving me gnome notifications even when Mailnag is disabled (see the button at the bottom of the screenshot).

screenshot tue dec 20 2016 11 43 43 gmt 0100 cet 389x478

[wish] Clear all button

Hello! first of all, thank you very much for this great work.

Ok, my suggestion is the following: I see that when 8 or 9 mails arrive, you have to go and click on each of them in order to clean the list. This could become a little bit demanding if you are receiving lots of mails due to, for example, an active conversation. Would be really awesome to have an option that says "clear all received mails" (or something like that) to avoid the multiple clicking, resulting in the cleaning of the entire list using only one click. :)

Thanks in advance and keep going! 👍

Mailnag Extension does not start Automatically

On my Ubuntu Gnome 16.04, I have to start Mailnag manually from the extensions tool after each reboot and after inactivity or suspend.

This version of Mailnag came from the Ubuntu repositories.

mailnag

mailnag2

mailnag3

Problem with gschemas.compiled

Hello,
I have some trouble after the most recent update. After update I am getting the error:
GLib.FileError: File »~/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled« could not open: open() failed: No such file or directory

Stack trace:
getSettings@~ /.local/share/gnome-shell/extensions/[email protected]/convenience.js:79:18
MailnagSettingsWidget<._init@~ /.local/share/gnome-shell/extensions/[email protected]/prefs.js:46:18
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
buildPrefsWidget@~ /.local/share/gnome-shell/extensions/[email protected]/prefs.js:99:15
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
@

:1:43

I am using Fedora 28, german language.
I am grateful for any help

.date-label in stylesheet.css conflicts with .datemenu-today-button .date-label in gnome-shell.css

.date-label duplicates a standard entry in gnome-shell.css causing it to override the calendar date in the shell's dropdown calendar.

My solution was to change .date-label in stylesheet.css and indicator.js to .mailnag-date-label

Additionally I deleted all the color: #8e8e80; entries as it appears those seem to be supplied by the gnome-shell theme for best aesthetic on custom themes.

(I'm using gnome 3.26.2 and 3.27.1, not sure if this appeared in previous versions)

Sep 12 2018, this has still not been addressed.

libravatar support

Just an idea that maybe libravatar can be used to find avatars for mail addresses (maybe optionally before, after or instead of current mechanism).

Libravatar (https://www.libravatar.org/) is a gravatar like service, but it is federated service and domains can serve avatars by themselves.

Its API is simple and contains calculating hash from mail address, making DNS query for domain and fetching avatar using HTTP request. I don't know if there is libraries for vala or javascript but I guess it is still implementable easily.

I think it would also require some kind of cache for avatars, so that networks operations is needed only for new addresses. And updates for cache would not need to be done frequently because avatars don't change frequently (I think).

The service is not working for Yahoo! accounts?

I just wanted to test Mailnag for the first time (since there's no Popper for my Ubuntu 15.04), and unfortunately my Yahoo! account is not working with it. Mailnag works with Gmail just fine, but it fails with Yahoo.

BTW, I think that the blue envelope icon notification within the top panel would be appropriate for this purpose.

Thanks!

SyntaxError with gnome-shell 3.12

Gjs-CRITICAL **: JS ERROR: SyntaxError: syntax error @ /home/poncho/.local/share/gnome-shell/extensions/[email protected]/extension.js:40

the fix is based on eonpatapon/gnome-shell-extension-caffeine@c6868c3

diff --git a/extension.js b/extension.js
index e02abc4..0d139a1 100644
--- a/extension.js
+++ b/extension.js
@@ -37,26 +37,28 @@ const SHOW_NOTIFICATIONS = true;
 const SHOW_INDICATOR = true;
 const SHOW_AVATARS = true;

-const MailnagIface = <interface name="mailnag.MailnagService">
-<method name="GetMails">
-    <arg type="aa{sv}" direction="out" />
-</method>
-<method name="GetMailCount">
-    <arg type="u" direction="out" />
-</method>
-<method name="Shutdown" />
-<method name="CheckForMails" />
-<method name="MarkMailAsRead">
-    <arg type="s" direction="in" />
-</method>
-<signal name="MailsAdded">
-    <arg type="aa{sv}" />
-    <arg type="aa{sv}" />
-</signal>
-<signal name="MailsRemoved">
-    <arg type="aa{sv}" />
-</signal>
-</interface>;
+const MailnagIface = '<node>\
+    <interface name="mailnag.MailnagService">\
+    <method name="GetMails">\
+        <arg type="aa{sv}" direction="out" />\
+    </method>\
+    <method name="GetMailCount">\
+        <arg type="u" direction="out" />\
+    </method>\
+    <method name="Shutdown" />\
+    <method name="CheckForMails" />\
+    <method name="MarkMailAsRead">\
+        <arg type="s" direction="in" />\
+    </method>\
+    <signal name="MailsAdded">\
+        <arg type="aa{sv}" />\
+        <arg type="aa{sv}" />\
+    </signal>\
+    <signal name="MailsRemoved">\
+        <arg type="aa{sv}" />\
+    </signal>\
+    </interface>\
+</node>';

 const MailnagDbus = Gio.DBusProxy.makeProxyWrapper(MailnagIface);

Update notifications when mails are read

When all mails are read (eg in thunderbird) the top right notification (INDICATOR) disappears but the bottom notification (NOTIFICATIONS) stays and is only updated when new mails arrive.

The bottom notification should update when mails are read as well.

The same issue applies to the notifications from the libnotify plugin.

Topbar indicator

Hi Patrick!

Thanks for the recently released Mailnag update, especially the topbar indicator for gnome-shell is extremely useful! Nevertheless, it could need some improvement imho. The mail icon itself seems too small, the counter is barely readable. Maybe a minimalistic counter, like the message notifier extension (https://extensions.gnome.org/extension/150/message-notifier/) is using, will suffice? There is no need of having an additional mail icon under the counter number, since it's already clear that this counter belongs to Mailnag. What do you think?

Additionally, the space between the Mailnag icon to the other icons on the topbar could be increased, since currently it looks a little bit stacked. Have a look at: http://i.imgur.com/Bi7x7lq.png

Would be nice to hear from you!

Support Gnome 3.16

Hopefully should not be much more than small changes to metadata.json...

Open Mail Reader Option when there's no mail

Hi,
I've recently moved over to Gnome since Ubuntu is stopping Unity development. I had Mailnag working great in Unity as it integrated right into the default mail/messenger tray icon. After installing the Mailnag gnome shell extension, everything seems to work how it used to in Unity except when I have no new messages. I can no longer click on the Mailnag icon to launch my mail client when there is no new mail pending. Is there a way to enable this feature with the gnome shell extension?

No Indicator in Ubuntu 15.10

Hi!
Thanks for mailnag! It is really fast :)

Though I did install mailnag via sudo apt-get install mailnag
and then installed the unity plugin from your tarball the indicator did not show up.

I then entered "mailnag-unity.desktop" manually in dconf > com > canonical > indicator > messages and it shows up. But it does not change indicate new messages. "Only" the popup in unity is working.

Thanks in advance!

always display icon

Hi,

is it possible to add an option to always display the icon in GNOME Shell ?

Thx.

Add a button to force refresh

Sometimes mailnagd gets stuck for some reason. Sometimes I don't want to wait another 10 minutes to hide the notification. It would be really great if there was a "refresh" button in the drop-down menu to force immediate refresh.

Thanks a lot!

Custom gnome-shell icon

Hey Patrick! First of all, great work. I have a suggestion on the gnome-shell tray icon:

Depending on the theme you're using, the default icon for read/unread messages seems to be out of place, it would be nice if we had the option to select a custom icon and opacity settings in this case.

Unable to package extension

Since the makefile doesn't support submitting an alternative destdir parameter it's currently impossible to package the extension.

Multiple monitors crash

hi,

gnome is sometimes crashing when this extension is on and i try to move windows between screens.

Counter badge not properly updated

Given the following scenario:
You've got 10 unread mails in your inbox. Then you read or delete 7 of them. If you now let the gs-extension check for new mails the counter badge still says you've got 10 unread mails. The list of mails seems to be not updated too.

Use a fixed width in the indicator mail list

Currently the indicator mail list's width "jumps" when marking mails as read. The list should use a fixed width instead and ellipsize mail sender/subjects that overflow the width.

gschemas.compiled: open() failed: File or directory doesn't exist

After latest update from https://extensions.gnome.org/extension/886/mailnag/ mailnag no longer works for me, the installation button on that page displays ERROR and I see this in console:

Mar 29 15:03:25 dryad gnome-shell.desktop[1970]: Gjs-Message: JS LOG: Extension "[email protected]" had error: GLib.FileError: Can't open file „/home/kparal/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled“: open() failed: File or directory doesn't exist

Add date/age labels

Add time of arrival or age labels/badges to the mail list of the indicator.
Similar to the unity plugin shown below:
Screenshot

Trim mail subject

The subject line is currently not trimmed which causes the list of mails look like this if a mail has a very long subject
bildschirmfoto von 2015-12-21 15-23-47

E-Mail Check Frequency

Hi!

Is there a way to adjust the e-mail check frequency in mailnag and the gnome-shell indicator respectively? The old version, as I can remember, had such an option. Currently, I have to wait several minutes to get a notification in the topbar of a new e-mail. The same goes for a read or deleted e-mail.

Best!

New mail open a new blank page ?

When I click on new email, I get blank new page with google chrome.

$BROWSER = /usr/bin/google-chrome

Please how to fix this ?

User-friendly way of installing the extension

Hello Patrick!

I'm already using mailnag in connection with the launchpad repository for easy installation and I'm wondering, if there is also a convenient method to install the gnome shell extension, since this extension is not published in the official gnome extensions site? Do you plan to release a ppa for this extension too?

Danke im Voraus!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.