ethanrae / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

Notification command: allow messages filtering, not only application names #338

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Notification messages are very nice, but we need to be able to blacklist some 
of them, even just a black-regex would be a huge help!

Original issue reported on code.google.com by Overmind...@gmail.com on 27 Oct 2013 at 10:09

GoogleCodeExporter commented 9 years ago
There is already a blacklist "notif:hide:#APP_NAME#" and some others features.
Do "?:notif" to have command descriptions

Original comment by Florent....@gmail.com on 27 Oct 2013 at 10:27

GoogleCodeExporter commented 9 years ago
However I want android system notifications, but not all the Input 
notifications that things like Swype spam out, hence asking about a regex of 
the full message?  How would I do that?

Original comment by Overmind...@gmail.com on 27 Oct 2013 at 10:44

GoogleCodeExporter commented 9 years ago
By filtering every application that sends notification.

Ex: notif:hide:Swype
It might be a little painful to configure the first time but it's more 
efficient than a regexp. One regexp to manage all messages or one regexp per 
wanted message will not be very user friendly.

Try using the app filters by doing a copy past of the application name provided 
with the notification.
If it's not usable, we'll see what we can do.

Original comment by Florent....@gmail.com on 27 Oct 2013 at 10:50

GoogleCodeExporter commented 9 years ago
Swype does not appear under its own application, it appears under the generic 
Android system application, which handles many things like input choosing 
(Swype), updates, and others.  Let me copy paste a couple android system 
messages:

New notification from *Android System* 
Choose input method
Swype

New notification from *Android System* 
Wi-Fi network available
Open Wi-Fi network available

Original comment by Overmind...@gmail.com on 27 Oct 2013 at 10:55

GoogleCodeExporter commented 9 years ago
I am getting thousands of Swype messages an hour, very few of the others, 
whichh I would prefer to keep as some give useful information.

Original comment by Overmind...@gmail.com on 27 Oct 2013 at 10:56

GoogleCodeExporter commented 9 years ago
Ok sorry, thanks for the example.

I can create a blacklist of messages too. I'll check if the command will filter 
all notification that contains the specific text, or use regexp (less user 
friendly).

I'll try to implement this in the next few weeks for the next release

Original comment by Florent....@gmail.com on 27 Oct 2013 at 11:05

GoogleCodeExporter commented 9 years ago
Even just a start of message match would be sufficient for my needs, plus that 
would be efficient, even more so if it was bound to an application name match 
as well.

notif:black:Android System:Choose input method

Or something like that, although unsure how to handle colons in app names, 
perhaps escape them with a backslash, are colons in app names even possible on 
android?

Original comment by Overmind...@gmail.com on 27 Oct 2013 at 11:05

GoogleCodeExporter commented 9 years ago
Awesome thanks!

Although I consider regex very user friendly to this user, I can see why others 
would not.  :-)

But even still, even just a head of message match would work for my use, though 
be less useful overall.

Original comment by Overmind...@gmail.com on 27 Oct 2013 at 11:07

GoogleCodeExporter commented 9 years ago
I've got a question related to the accessibility option.
When you restart your phone, does the accessibility service stay started ?
It seems to be stopped at each reboot, can you confirm?

Thanks

Original comment by Florent....@gmail.com on 27 Oct 2013 at 11:10

GoogleCodeExporter commented 9 years ago
I had not restarted in over a month (HTC One with Android 4.1, pending update 
to 4.3 that I have not done yet), but I did so just now as a test, disabled 
fastboot and did a full shutdown and reboot, the GTalkSMS Accessibility service 
stayed enabled.

Original comment by Overmind...@gmail.com on 27 Oct 2013 at 11:21

GoogleCodeExporter commented 9 years ago
Although I have not been getting notifications from it, I disabled then 
re-enabled the service, still no notifications.  The program responds if I send 
command to it though, just no notifications since the reboot...

Original comment by Overmind...@gmail.com on 28 Oct 2013 at 12:16

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 0440f59e00fb.

Original comment by yako...@gmail.com on 28 Oct 2013 at 11:19

GoogleCodeExporter commented 9 years ago
Beta 4.4.3 available on the market

Original comment by Florent....@gmail.com on 28 Oct 2013 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by Florent....@gmail.com on 28 Oct 2013 at 11:25

GoogleCodeExporter commented 9 years ago

Original comment by Florent....@gmail.com on 7 Nov 2013 at 10:10