CodeWalrus

Featured Member Projects => Completed and Inactive Projects => [Completed] CodeWalrus Tools (Web/Android/PC) => Topic started by: DarkestEx on May 17, 2015, 09:12:02 AM

Title: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on May 17, 2015, 09:12:02 AM
Hey, everybody!
As I already said, I've been working on a PC version of a CodeWalrus Post Notifier.
The notifier will run on Windows, Linux and Mac.
It's written in C#, without WinForms but with GTK and is 100% Mono compatible. Target framework is .NET 4.0 but could be even lower.

The source code is (yeah, this time I'm publishing source!) available under the MIT Licence at GitHub:
http://github.com/muessigb/CodeWalrii-Notifier/ (http://github.com/muessigb/CodeWalrii-Notifier/)
Additional helping hands are as always welcome!
The only requirements is Xamarin Studio or the OSS alternative to it.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on May 17, 2015, 09:13:49 AM
Cool! How does it notify you of a posts?
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on May 17, 2015, 09:15:50 AM
Quote from: Cumred_Snektron on May 17, 2015, 09:13:49 AM
Cool! How does it notify you of a posts?
It'll set your PC on fire and that will trigger the fire alert :P

No I guess there will be an optional sound and the message will pop up on the lower right corner of the screen.
There will also be a main UI which shows the latest 10 posts (or more) and allows to configure the application.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on May 17, 2015, 09:31:24 AM
I'm working on the design of the main window right now.
I don't think anybody has ever seen this design before :P
Here's a screenshot:

(http://s30.postimg.org/ijyo0s3a9/Post_Notifier_150517_1130.png)
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on May 17, 2015, 01:32:10 PM
Looks good will it startup automatically or will you have to launch it? I would like to chose... I guess you could drop it in the start up folder for windows
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 17, 2015, 01:33:56 PM
Quote from: alexgt on May 17, 2015, 01:32:10 PM
Looks good will it startup automatically or will you have to launch it? I would like to chose... I guess you could drop it in the start up folder for windows
Autostart isn't too hard. I will implement it :)
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on May 17, 2015, 01:36:42 PM
Could there be a choice because I was talking about it for other people because I wouldn't want it since my dad could boot up my computer and see... that would be bad O.O
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 17, 2015, 01:38:01 PM
Quote from: alexgt on May 17, 2015, 01:36:42 PM
Could there be a choice because I was talking about it for other people because I wouldn't want it since my dad could boot up my computer and see... that would be bad O.O
See all the c :P
No, of course will it be optional.
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on May 17, 2015, 01:39:47 PM
Yeah last time I had something do that it was my unknown to him steam account and it didn't turn out well
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on May 17, 2015, 09:02:17 PM
Post decoding is working  ;D

(http://s27.postimg.org/cqrvffc43/posts_are_working_yeah.png)
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on May 17, 2015, 09:55:26 PM
Hey look it's my post :P! Looks awesome can't wait to try it :).
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 17, 2015, 11:31:19 PM
I like the result so far. :D Alerts and optional sound are definitively a must, as long as they don't steal window focus (I hate when TI-Nspire Student software does that. The worst part is that it does it three times when the software loads, so you have to sit there waiting 1 minute for it to load, doing nothing.
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on May 17, 2015, 11:35:51 PM
Looks awesome! I can't wait to get this thing on my computer!
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on May 28, 2015, 08:15:07 AM
I'll try to finish most of the remaining work today, so that it's ready for release :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 28, 2015, 05:34:09 PM
Cool to hear. I'm gonna give it a try when I have a chance after it came out :) Is it Windows 7 compatible? (I see the theme but I don't remember if Windows 8 allowed you to use Windows 98/XP/7 themes)
Title: Re: CodeWalr.us Post Notifier
Post by: Hayleia on May 28, 2015, 05:44:43 PM
Awesome idea, and great implementation already :D
I might download it tomorrow if it's ready to use on Linux.

Not exactly on topic, but why is there two "+1/0" on that post (http://codewalr.us/index.php?topic=477.msg12992#msg12992) instead of "+2/0" ?
Or maybe there's only one +1/0 but it is displayed twice ?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 28, 2015, 06:05:04 PM
Quote from: DJ Omnimaga on May 28, 2015, 05:34:09 PM
Cool to hear. I'm gonna give it a try when I have a chance after it came out :) Is it Windows 7 compatible? (I see the theme but I don't remember if Windows 8 allowed you to use Windows 98/XP/7 themes)
Thanks :)
Of course is it Windows 7 compatible (I am running Windows 7 as you see in the screenshot :P). It is compatible to Windows Vista and 8(.1) and all major Linuxes aswell. Mac should work too.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 28, 2015, 06:07:52 PM
Quote from: Hayleia on May 28, 2015, 05:44:43 PMAwesome idea, and great implementation already :D
I might download it tomorrow if it's ready to use on Linux.
Thanks, Hayleia. Great that you use it on Linux. It should work fine on any Linux, and I already tested it on Ubuntu and Debian so far and it works great there.
Don't forget to install Mono ;)

Quote from: Hayleia on May 28, 2015, 05:44:43 PMNot exactly on topic, but why is there two "+1/0" on that post (http://codewalr.us/index.php?topic=477.msg12992#msg12992) instead of "+2/0" ?
Or maybe there's only one +1/0 but it is displayed twice ?
Hmm, I don't know. Maybe a bug in SMF?
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 28, 2015, 06:11:56 PM
Quote from: DarkestEx on May 28, 2015, 06:05:04 PM
Quote from: DJ Omnimaga on May 28, 2015, 05:34:09 PM
Cool to hear. I'm gonna give it a try when I have a chance after it came out :) Is it Windows 7 compatible? (I see the theme but I don't remember if Windows 8 allowed you to use Windows 98/XP/7 themes)
Thanks :)
Of course is it Windows 7 compatible (I am running Windows 7 as you see in the screenshot :P). It is compatible to Windows Vista and 8(.1) and all major Linuxes aswell. Mac should work too.
Yeah I was asking since I wasn't sure what Windows 8, 8.1 and 10 used as theme options (eg if we could switch back to Windows Vista style. I know that in Windows 7 we can still use WIndows 95/98 theme)
Quote from: DarkestEx on May 28, 2015, 06:07:52 PM
Quote from: Hayleia on May 28, 2015, 05:44:43 PMAwesome idea, and great implementation already :D
I might download it tomorrow if it's ready to use on Linux.
Thanks, Hayleia. Great that you use it on Linux. It should work fine on any Linux, and I already tested it on Ubuntu and Debian so far and it works great there.
Don't forget to install Mono ;)

Quote from: Hayleia on May 28, 2015, 05:44:43 PMNot exactly on topic, but why is there two "+1/0" on that post (http://codewalr.us/index.php?topic=477.msg12992#msg12992) instead of "+2/0" ?
Or maybe there's only one +1/0 but it is displayed twice ?
Hmm, I don't know. Maybe a bug in SMF?
That's a problem resulting from failed mod install attempts a while ago. We tried to fix it but this pretty much destroyed our SMF install, so we reverted to a backup that had the problem and have yet to fix it. It should not be too hard, though, because it only requires editing a file for the CW theme.
Title: Re: CodeWalr.us Post Notifier
Post by: pimathbrainiac on May 28, 2015, 07:34:25 PM
Hey. Do you mind if I fork this to be a configurable notifier for any SMF forum that has the php script running (Specifically, I want to use this for Omni, but making a general solution makes the most sense imo)?
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on May 28, 2015, 07:43:04 PM
Awesome I will definitely download this when it comes out :) :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 28, 2015, 07:51:20 PM
Quote from: pimathbrainiac on May 28, 2015, 07:34:25 PM
Hey. Do you mind if I fork this to be a configurable notifier for any SMF forum that has the php script running (Specifically, I want to use this for Omni, but making a general solution makes the most sense imo)?
I guess it would be a nice idea, since Tapatalk gets worse and worse after each Android update. If Cumred says yes then I guess just make sure to credit him and the original app (maybe link here too?)
Title: Re: CodeWalr.us Post Notifier
Post by: pimathbrainiac on May 28, 2015, 08:17:42 PM
Actually, after looking at the php file, the script doesn't necessarily have to be on server. All I have to do is parse the xml file in the notifier, instead of on a server.

EDIT: errr... maybe not. I am no good at php and converting to other languages from php :P
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 28, 2015, 08:27:41 PM
Quote from: DJ Omnimaga on May 28, 2015, 07:51:20 PM
Quote from: pimathbrainiac on May 28, 2015, 07:34:25 PM
Hey. Do you mind if I fork this to be a configurable notifier for any SMF forum that has the php script running (Specifically, I want to use this for Omni, but making a general solution makes the most sense imo)?
I guess it would be a nice idea, since Tapatalk gets worse and worse after each Android update. If Cumred says yes then I guess just make sure to credit him and the original app (maybe link here too?)
Yeah, Tapatalk really gets worse and worse over the versions.

Quote from: pimathbrainiac on May 28, 2015, 08:17:42 PM
Actually, after looking at the php file, the script doesn't necessarily have to be on server. All I have to do is parse the xml file in the notifier, instead of on a server.

EDIT: errr... maybe not. I am no good at php and converting to other languages from php :P
The script does not have to be running on the same server. It basically only parses the API data that all SMF forums provide by default. Just change the define of the feed url to set it to another forum.
Yeah, I know. But to save the forum server traffic and capacity, to save time and because I like doing heavy string processing and multidimensional array stuff alot more on php than C#.
The script does also parse the feed and strip the html, caches and compress it before sending.

Quote from: pimathbrainiac on May 28, 2015, 07:34:25 PM
Hey. Do you mind if I fork this to be a configurable notifier for any SMF forum that has the php script running (Specifically, I want to use this for Omni, but making a general solution makes the most sense imo)?
No problem, do whatever you want to do with the code. I licenced it under the MIT Licence. The only two important things are: If you accidentially screw anything up, its not my fault. And it'd be nice if you leave a small comment in the code that says that I made the base of it (It would be nice, but you don't have to ;)).
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on May 29, 2015, 09:56:31 PM
The latest main UI is looking like this:
(http://img.codewalr.us/WalrusNotify3.png)

I don't think I'm going to change anything on this screen anymore.
How do you like it?
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on May 29, 2015, 10:13:08 PM
Looks pretty good! I like the smooth look.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 30, 2015, 06:25:08 AM
Looks quite nice actually. :)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on May 30, 2015, 09:55:52 AM
Looks cool :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 31, 2015, 04:02:22 PM
On a side note, what would be cool, as I suggested on IRC, is if when loading new posts the title bar changed to reflect it, else I thought that the app froze for a few seconds. :P

Another nice thing would be if closing the app only minimized it in the Windows status bar as a :walrii: icon or something, with options to go in settings, maximize window, or quit the app entirely.

And maybe options to have the app auto-start on computer startup?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 31, 2015, 04:15:25 PM
Quote from: DJ Omnimaga on May 31, 2015, 04:02:22 PM
On a side note, what would be cool, as I suggested on IRC, is if when loading new posts the title bar changed to reflect it,
Alright, In progress :)

Quote from: DJ Omnimaga on May 31, 2015, 04:02:22 PM
else I thought that the app froze for a few seconds. :P
Yeah, it does. I am working on this right now.

Quote from: DJ Omnimaga on May 31, 2015, 04:02:22 PM
Another nice thing would be if closing the app only minimized it in the Windows status bar as a :walrii: icon or something, with options to go in settings, maximize window, or quit the app entirely.

And maybe options to have the app auto-start on computer startup?
They're both nice things, but they're impossible to do sadly :(
I can minimize it, but this is not a Windows only application. It must run on Linux and Mac OS too. You can always put a shortcut to it into your Start Menu's Autostart folder and add the --minimized option to start it minimized.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 31, 2015, 04:23:47 PM
Aah ok, I thought that minimized apps and auto-starting ones were also supposed by Mac OS and Linux (at least if the user chooses that option).

My main worry is if the user reboots and keep forgetting to restart the post notifier.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 31, 2015, 04:29:22 PM
Quote from: DJ Omnimaga on May 31, 2015, 04:23:47 PM
Aah ok, I thought that minimized apps and auto-starting ones were also supposed by Mac OS and Linux (at least if the user chooses that option).

My main worry is if the user reboots and keep forgetting to restart the post notifier.
So your first two requests are done! It does now auto refresh and there's no lag anymore! Also am I working on this title bar thing now.
Yeah, maybe somebody here knows how to do that. But there are so many Linux configurations, its just impossible to make this happen.
For Windows, maybe. I could add some platform specific code to do that.

And for the minimizing it's the same.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on May 31, 2015, 04:33:04 PM
No! It doesn't work! I have no idea! It is throwing targetinvocationexceptions. I have tried to sync the threads but it doesn't work.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 31, 2015, 04:33:52 PM
Aah thanks for the explanation. Also sorry to hear it doesn't work yet. Good luck fixing it D:
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 02, 2015, 11:47:09 AM
(http://troll.me/images/x-all-the-things/party-hard-the-notifier-works.jpg)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 02, 2015, 03:16:54 PM
Awww yiss
(http://24.media.tumblr.com/19d3a6d4e8704e86d8d94105a50e403f/tumblr_mvlyw1kzkv1sodo64o1_400.gif)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 02, 2015, 04:12:17 PM
Awesome to hear DarkestEx. :D Also I just tried the new version and it seems to work :)

EDIT And it auto-refreshes :D
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 02, 2015, 05:09:06 PM
Quote from: DJ Omnimaga on May 31, 2015, 04:23:47 PM
Aah ok, I thought that minimized apps and auto-starting ones were also supposed by Mac OS and Linux (at least if the user chooses that option).
Sorry. I was wrong! After rereading the GTK API, I found out, that it is in fact possible to make a Notification Icon in the Taskbar. I will of course add this.
It will pop up a Message if something has been posted.
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on June 02, 2015, 09:13:42 PM
Yay :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 03, 2015, 02:03:02 AM
Quote from: DarkestEx on June 02, 2015, 05:09:06 PM
Quote from: DJ Omnimaga on May 31, 2015, 04:23:47 PM
Aah ok, I thought that minimized apps and auto-starting ones were also supposed by Mac OS and Linux (at least if the user chooses that option).
Sorry. I was wrong! After rereading the GTK API, I found out, that it is in fact possible to make a Notification Icon in the Taskbar. I will of course add this.
It will pop up a Message if something has been posted.
Awesome to hear. Just make sure we can choose how long the pop ups appear. I kinda hate when some apps shows notifications forever until you click the alert or for like 10 minutes.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 03, 2015, 12:09:29 PM
Quote from: DJ Omnimaga on June 03, 2015, 02:03:02 AM
Quote from: DarkestEx on June 02, 2015, 05:09:06 PM
Quote from: DJ Omnimaga on May 31, 2015, 04:23:47 PM
Aah ok, I thought that minimized apps and auto-starting ones were also supposed by Mac OS and Linux (at least if the user chooses that option).
Sorry. I was wrong! After rereading the GTK API, I found out, that it is in fact possible to make a Notification Icon in the Taskbar. I will of course add this.
It will pop up a Message if something has been posted.
Awesome to hear. Just make sure we can choose how long the pop ups appear. I kinda hate when some apps shows notifications forever until you click the alert or for like 10 minutes.
You can already configure, if the popup appear, how long it stays, in which percentual height the notification appears and how is looks (it inherits the design from the main window).
Also I only want to show one popup when new messages appear. It shows how many unread messages you have and what the title of the most recent one is.
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 03, 2015, 01:58:12 PM
ooo nice, thats better than an irc notification for walrified. :P
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 03, 2015, 04:27:43 PM
Quote from: DarkestEx on June 03, 2015, 12:09:29 PM
Quote from: DJ Omnimaga on June 03, 2015, 02:03:02 AM
Quote from: DarkestEx on June 02, 2015, 05:09:06 PM
Quote from: DJ Omnimaga on May 31, 2015, 04:23:47 PM
Aah ok, I thought that minimized apps and auto-starting ones were also supposed by Mac OS and Linux (at least if the user chooses that option).
Sorry. I was wrong! After rereading the GTK API, I found out, that it is in fact possible to make a Notification Icon in the Taskbar. I will of course add this.
It will pop up a Message if something has been posted.
Awesome to hear. Just make sure we can choose how long the pop ups appear. I kinda hate when some apps shows notifications forever until you click the alert or for like 10 minutes.
You can already configure, if the popup appear, how long it stays, in which percentual height the notification appears and how is looks (it inherits the design from the main window).
Also I only want to show one popup when new messages appear. It shows how many unread messages you have and what the title of the most recent one is.
Cool, glad to hear :)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 07, 2015, 09:59:57 AM
Alright, I was developing and testing the notification function and it appears to work!
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on June 07, 2015, 01:42:17 PM
Awesome :)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 07, 2015, 01:48:48 PM
Great! I actually don't know if the mobile version has sound... i should check that. I also should finish it up and release it >.<
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on June 07, 2015, 01:51:07 PM
Laziness is man's way to think he has stuff under control :P
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 07, 2015, 11:17:42 PM
It's done  ;D
The Notifier is now in Beta. All functions are working and implemented. Now we only need to test it.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 08, 2015, 12:17:21 AM
As the Notifier is now in testing Beta, here's how you can all try it:

First download https://github.com/muessigb/CodeWalrii-Notifier/archive/master.zip (https://github.com/muessigb/CodeWalrii-Notifier/archive/master.zip) to your computer and extract it.
Then go to the src-client/CodeWalriiNotify/bin/Release folder in the extracted folder.

Now make sure Mono and GTK# is installed:
On Windows, make sure .NET Framework >= 4 is installed and you have to install the GTK# redist package: http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.26.msi (http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.26.msi)
On Linux, make sure mono-complete or similar is installed (you need the whole framework including GTK#).
On Mac, I dunno; but something with mono too :P

Then open the CodeWalriiNotify.exe by either:
typing in the Linux shell: mono CodeWalriiNotify.exe
or just double clicking the CodeWalriiNotify.exe in Windows.

Have fun :D
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 08, 2015, 02:51:08 AM
Awesome! I downloaded it and will try it soon. :)

I also moved both notifier topics to the CodeWalrus Tools sub-forum (renamed from WalrusIRC)
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 08, 2015, 07:49:14 AM
Awesome! I hope I can figure out how to indtall it... Not that it will be hard . ;)
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on June 08, 2015, 12:49:07 PM
Quote from: Unicorn on June 08, 2015, 07:49:14 AM
Awesome! I hope I can figure out how to indtall it... Not that it will be hard . ;)
Awesome, and ^same :P
Title: Re: CodeWalr.us Post Notifier
Post by: Ivoah on June 08, 2015, 04:37:33 PM
Think you'll ever port this to iOS?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 08, 2015, 04:38:30 PM
Quote from: Ivoah on June 08, 2015, 04:37:33 PM
Think you'll ever port this to iOS?
I probably don't have to say you that this is the PC version, which is written in C# and GTK. So no way to port it sadly.
Title: Re: CodeWalr.us Post Notifier
Post by: Ivoah on June 08, 2015, 04:39:38 PM
Quote from: DarkestEx on June 08, 2015, 04:38:30 PM
Quote from: Ivoah on June 08, 2015, 04:37:33 PM
Think you'll ever port this to iOS?
I probably don't have to say you that this is the PC version, which is written in C# and GTK. So no way to port it sadly.
I don't think the C# would have been an issue, but yeah, no GTK on iOS. What was the android version written in?
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 08, 2015, 04:42:25 PM
Java :) I won't port that either sadly, neither Brent, TheCoder or me have a mac and also 200$ / year for dev is a bit too much imo (I understand they want to keep the crapp apps out of the app store but still)

EDIT: Ninja'd :ninja: ↓
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 08, 2015, 04:42:51 PM
Quote from: Ivoah on June 08, 2015, 04:39:38 PM
Quote from: DarkestEx on June 08, 2015, 04:38:30 PM
Quote from: Ivoah on June 08, 2015, 04:37:33 PM
Think you'll ever port this to iOS?
I probably don't have to say you that this is the PC version, which is written in C# and GTK. So no way to port it sadly.
I don't think the C# would have been an issue, but yeah, no GTK on iOS. What was the android version written in?
In Android flavored Java, by Cumred.
Title: Re: CodeWalr.us Post Notifier
Post by: Ivoah on June 08, 2015, 04:43:20 PM
Quote from: Cumred_Snektron on June 08, 2015, 04:42:25 PM
Java :) I won't port that either sadly, neither Brent, TheCoder or me have a mac and also 200$ / year for dev is a bit too much imo
Yeah, the dev prices are pretty high :(
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 08, 2015, 04:52:32 PM
Quote from: Ivoah on June 08, 2015, 04:43:20 PM
Quote from: Cumred_Snektron on June 08, 2015, 04:42:25 PM
Java :) I won't port that either sadly, neither Brent, TheCoder or me have a mac and also 200$ / year for dev is a bit too much imo
Yeah, the dev prices are pretty high :(
But yeah. We have a notifier now for almost all useful modern platforms, including Android, Linux, Windows and Max OS X and the WalrusIRC post notifications.
That's way more than any other tech forum  ;D
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 08, 2015, 04:57:37 PM
Well, i got to finish up the android notifier (especially since the project needs to be done in like 3 days :P) first
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 08, 2015, 05:30:10 PM
And don't forget to check my project page (http://muessigb.net/CodeWalriiNotify.html), which features a more detailed instruction, for how to install it on  Windows and Linux.
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 08, 2015, 05:46:04 PM
Will do :)

EDIT: I tested it out, and have fully customized it, just it seems like it doesn't notice the posts until 3-45 seconds later. Is there a reason for that?

Also, when the notification pops up, the author's name has the bottom quarter cut off.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 08, 2015, 08:54:43 PM
I really like the look of your site :)
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 08, 2015, 10:50:30 PM
Screenshot of the customized niceness.

(http://i.imgur.com/i0QMaGy.png)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 08, 2015, 10:59:42 PM
Oh nice. I also like the colours you used :) though the cw ones are better :P
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 08, 2015, 11:04:46 PM
We all have an opinion don't we.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 09, 2015, 05:00:27 AM
Quote from: Unicorn on June 08, 2015, 05:46:04 PM
EDIT: I tested it out, and have fully customized it, just it seems like it doesn't notice the posts until 3-45 seconds later. Is there a reason for that?

Also, when the notification pops up, the author's name has the bottom quarter cut off.
Ah, awesome :D
Yes, there's an interval setting which is normally set to 50 seconds. Also the data is cached on the server to keep the load away from CodeWalrus servers.
In theory I could lower it (the cache time is 45 seconds currently), if DJ and Juju allow that.

Oh, please send me a screenshot of the little notification window and I'll fix that cut-off bug (I did not see it before, but I can still try ;)).
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 09, 2015, 02:50:57 PM
Quote from: Unicorn on June 08, 2015, 10:50:30 PM
Screenshot of the customized niceness.

(http://i.imgur.com/i0QMaGy.png)
Despite my eyes burning from the green text on pink, what caught my attention the most was those :walrii: in your task bar :P


Also DarkestEx you should make a screenshot of the notifier where one of the post has Walrii in it :P

EDIT: By the way, something I noticed in the post notifier is that images are stretched up. For example, the screenshot above is larger in height.


Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on June 09, 2015, 04:07:58 PM
Looks awesome :)
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 09, 2015, 05:13:33 PM
Quote from: DJ Omnimaga on June 09, 2015, 02:50:57 PM
Also DarkestEx you should make a screenshot of the notifier where one of the post has Walrii in it :P

EDIT: By the way, something I noticed in the post notifier is that images are stretched up. For example, the screenshot above is larger in height.
Yeah, I should do.

About the stretching, yeah, I saw that too. I still need to fix it. It's an easy fix though and only involves changing the default CSS code.
You can btw. customize the body's html completly over the style settings.
The post content is embedded with the <post> tag.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 09, 2015, 06:57:50 PM
That is nice. :D I personally will most likely leave things as is, but maybe people could post custom designs once the app is finished.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 10, 2015, 12:15:48 PM
Quote from: DJ Omnimaga on June 09, 2015, 06:57:50 PM
That is nice. :D I personally will most likely leave things as is, but maybe people could post custom designs once the app is finished.
Yeah, that would be awesome :D
To share it, just copy the settings.json or its contents and you're ready to go :)
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on June 10, 2015, 01:13:47 PM
Awesome :), now I need time to install it :P
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 10, 2015, 02:13:56 PM
Cool, i like you can share settings :)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 10, 2015, 04:26:28 PM
Good news for y'all!
The notifier is now way faster with new post updates.
Server side, the data is now only cached for 15 seconds (thanks Juju for allowing it  :thumbsup:) instead of 45 so new post should be retrieved a lot faster now.
You don't need to download another version, but just go to the settings and change the update interval to 10 seconds.
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 10, 2015, 05:50:51 PM
Yay!

And DJ, when I said I'd set my background, I really did it. Though it is kind of hard to find files.


EDIT:

Here's the screenshot of the Post Notifier cutoff.

(http://i.imgur.com/yPEOVLZ.png)
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 10, 2015, 11:09:10 PM
Quote from: Unicorn on June 10, 2015, 05:50:51 PM
Yay!

And DJ, when I said I'd set my background, I really did it. Though it is kind of hard to find files.


EDIT:

Here's the screenshot of the Post Notifier cutoff.

(http://i.imgur.com/yPEOVLZ.png)
Oh I see. I will add this to my Todo list (expand the label height).
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 10, 2015, 11:14:04 PM
Important Notice:
The temporarily hosted Notifier Feed API, currently hosted by me, will be shut down on June 15th.
Your Notifier will then stop working. Kindly, Juju is now hosting the official API for CodeWalr.us on the CW server.
To keep your Notifier running, you have to change the Feed URL in the settings (Menu -> Settings) to the following:
http://codewalr.us/notifier/

This will be the only time that the API path is changed and I hope you all update it and enjoy the Notifier.

Greetings, DarkestEx
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 10, 2015, 11:22:28 PM
So I can use that feed right now? And also, can I make this work for Cemetech or Omnimaga?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 10, 2015, 11:24:27 PM
Quote from: Unicorn on June 10, 2015, 11:22:28 PM
So I can use that feed right now? And also, can I make this work for Cemetech or Omnimaga?
Yes, the feed is already going :)
It does work for Omnimaga, however you need to copy the client to another folder (to keep settings different) and host the server API somewhere.
Maybe I can get somebody to host it. I will ask for you.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 10, 2015, 11:30:46 PM
Quote from: DarkestEx on June 10, 2015, 11:14:04 PM
Important Notice:
The temporarily hosted Notifier Feed API, currently hosted by me, will be shut down on June 15th.
Your Notifier will then stop working. Kindly, Juju is now hosting the official API for CodeWalr.us on the CW server.
To keep your Notifier running, you have to change the Feed URL in the settings (Menu -> Settings) to the following:
http://codewalr.us/notifier/

This will be the only time that the API path is changed and I hope you all update it and enjoy the Notifier.

Greetings, DarkestEx
Will the download link and your site URL be affected?

I guess it's better if the API is hosted here for now, since it will ensure that it remains up as long as CW exists. Eventually we might prefer hosting a backup copy of the notifier itself on CW as well, though (perhaps with mirror links) to ensure that if your site ever goes down, then we still have a copy. Same for Cumred's notifier app. For now, your download link will do, though. But thanks for letting us know about the API change.

Will the post notifier be updated with the new API link by default?


By the way, do you plan to add a setting for Windows users to launch the notifier on Windows startup and minimizing to system tray, to avoid cluttering the task bar?
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 10, 2015, 11:32:09 PM
I think we must set the API link manually.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 10, 2015, 11:34:14 PM
Quote from: DJ Omnimaga on June 10, 2015, 11:30:46 PM
Quote from: DarkestEx on June 10, 2015, 11:14:04 PM
Important Notice:
The temporarily hosted Notifier Feed API, currently hosted by me, will be shut down on June 15th.
Your Notifier will then stop working. Kindly, Juju is now hosting the official API for CodeWalr.us on the CW server.
To keep your Notifier running, you have to change the Feed URL in the settings (Menu -> Settings) to the following:
http://codewalr.us/notifier/

This will be the only time that the API path is changed and I hope you all update it and enjoy the Notifier.

Greetings, DarkestEx
Will the download link and your site URL be affected?

I guess it's better if the API is hosted here for now, since it will ensure that it remains up as long as CW exists. Eventually we might prefer hosting a backup copy of the notifier itself on CW as well, though (perhaps with mirror links) to ensure that if your site ever goes down, then we still have a copy. Same for Cumred's notifier app. For now, your download link will do, though. But thanks for letting us know about the API change.

Will the post notifier be updated with the new API link by default?


By the way, do you plan to add a setting for Windows users to launch the notifier on Windows startup?
No the download link won't be affected ;)

Yeah it's better to host the API on your server; it makes sure it stays alive and it is basically more central.

Yes, all new versions will include the new link, but for now, please change it manually.

Yes. I added that request now to the Todo list :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 10, 2015, 11:55:35 PM
Cool to hear. Also I just got another idea: What about a setting where you can enter member IDs, separated by commas, so that for example, if I entered ID #1 it ignored my posts? That way, I don't get notified of my own posts. Of course, people would probably be able to use it to ignore posts from specific users or boards, which might not necessarily be good, but I guess that could be handy if the forum got super busy at one point and some new members were obnoxious (although they would get punished eventually, but that can take a few offenses before they do, depending of how active they are)
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 11, 2015, 12:00:14 AM
Quote from: DJ Omnimaga on June 10, 2015, 11:55:35 PM
Cool to hear. Also I just got another idea: What about a setting where you can enter member IDs, separated by commas, so that for example, if I entered ID #1 it ignored my posts? That way, I don't get notified of my own posts. Of course, people would probably be able to use it to ignore posts from specific users or boards, which might not necessarily be good, but I guess that could be handy if the forum got super busy at one point and some new members were obnoxious (although they would get punished eventually, but that can take a few offenses before they do, depending of how active they are)
Yes, I am going to split the settings and the design file and allow to blacklist specific posts or topics.
That was all on my todo list already (maybe with Username or User ID / with topic name or topic id), but thanks for asking, as that tells me that my feeling was right about that addition ;)
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 12, 2015, 08:04:59 AM
Great! Also, once you get other things done, being able to click on a name to visit the profile?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 12, 2015, 12:20:05 PM
Quote from: Unicorn on June 12, 2015, 08:04:59 AM
Great! Also, once you get other things done, being able to click on a name to visit the profile?
Of course can I add that, if you really want it ;)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 12, 2015, 09:24:32 PM
It's update time again :)

Change log:
Version based on GitHub commit 64c3de7

Items completed from Todo list:
- Make MainWindow Present itself when started
- Add unread post count to title bar
- Change default API to http://codewalr.us/notifier/
- Expand label size; see http://codewalr.us/index.php?topic=477.msg15349#msg15349

Other things:
- Made the Notifier resizable
- Fixed some labels
- Changed the design a little
- Intelligent HTML rendering

Download it here (http://dl.muessigb.net/CodeWalriiNotify/CodeWalriiNotify_Beta_1_2.zip)

Have fun!
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Snektron on June 13, 2015, 10:14:06 AM
Awesome :D i should fix some small things on mine too, but school >.<
Title: Re: CodeWalr.us Post Notifier
Post by: alexgt on June 13, 2015, 08:26:12 PM
Quote from: DarkestEx on June 12, 2015, 09:24:32 PM
It's update time again :)

Change log:
Version based on GitHub commit 64c3de7

Items completed from Todo list:
- Make MainWindow Present itself when started
- Add unread post count to title bar
- Change default API to http://codewalr.us/notifier/
- Expand label size; see http://codewalr.us/index.php?topic=477.msg15349#msg15349

Other things:
- Made the Notifier resizable
- Fixed some labels
- Changed the design a little
- Intelligent HTML rendering

Download it here (http://dl.muessigb.net/CodeWalriiNotify/CodeWalriiNotify_Beta_1_2.zip)

Have fun!
Awesome deinitly like being able to resize it :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 13, 2015, 10:05:52 PM
Nice update. :) Will the next update also include minimize to tray?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 13, 2015, 10:08:46 PM
Quote from: DJ Omnimaga on June 13, 2015, 10:05:52 PM
Nice update. :) Will the next update also include minimize to tray?
Nah, sorry. That will come at some other point.
The next update will include a way to ignore users and topics, a way to download the server specific style and some settings from the api server, and completly rewritten settings dialog and some more configuration files.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 13, 2015, 10:09:29 PM
AAh that's good to hear. THe ignore feature seems nice because it would let me ignore my own posts. :P
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 13, 2015, 10:35:36 PM
What? You don't like to revel in the awesomeness of your posts? :P
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on June 14, 2015, 03:50:26 PM
New update! - Beta 1.3
Based on GitHub commit 1b98c0f...

Items completed from Todo list:
- Added a way to ignore users and topics by regex or id

Other changes:
- Redid the settings dialog
- Started with style downloading
- Fixed unread post count

Download it here! (http://dl.muessigb.net/CodeWalriiNotify/CodeWalriiNotify_Beta_1_3.zip)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 14, 2015, 05:16:13 PM
It would be cool if you setup a download link alias or something with an URL that never changes. Otherwise, I have to update the download link on the Latest Activity page on every update.


Anyway, I like the update. :D One suggestion I got would be to allow people to click links inside posts as well as selecting text (for copy/pasting) , but it's not 100% necessary since the user can always just click the post then do it from the topic.


EDIT: BUg report: The notification alerts are no longer at the very bottom of the screen. There is now a weird gap D:
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 14, 2015, 05:24:26 PM
Quote from: DJ Omnimaga on June 14, 2015, 05:16:13 PM
It would be cool if you setup a download link alias or something with an URL that never changes. Otherwise, I have to update the download link on the Latest Activity page on every update.
Absolutely no problem, I will do that :)

Quote from: DJ Omnimaga on June 14, 2015, 05:16:13 PM
Anyway, I like the update. :D One suggestion I got would be to allow people to click links inside posts as well as selecting text (for copy/pasting) , but it's not 100% necessary since the user can always just click the post then do it from the topic.
I am sorry but that is 1000% impossible! :(
My HTML renderer library does not support clicking Links when using it with Mono nor does it support selecting text.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 14, 2015, 05:25:20 PM
Aah sorry to hear D:. Also I just found a bug: See previous post edit.

EDIT: It would also be nice if post notifications displayed the member who made the last post.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 14, 2015, 05:31:02 PM
Quote from: DJ Omnimaga on June 14, 2015, 05:16:13 PM
EDIT: BUg report: The notification alerts are no longer at the very bottom of the screen. There is now a weird gap D:
Nope. Actually that's a feature. :P
You can select the percentage, where the notification appears, in the settings. By default it is set to 95% since a few updates ago, because it covers my taskbar otherwise.

Quote from: DJ Omnimaga on June 14, 2015, 05:25:20 PMEDIT: It would also be nice if post notifications displayed the member who made the last post.
Well, I should do that. Right now, it only shows who made the post, when it's the first unread post.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 14, 2015, 05:33:03 PM
Quote from: DJ Omnimaga on June 14, 2015, 05:25:20 PM
Aah sorry to hear D:
Hmm, I could add an option to copy the contents of the post. That would be possible.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 14, 2015, 05:34:39 PM
Aah right. Yeah I meant displaying the nickname of the one who made the post displayed in the title bar. As for the 95% percentage are you sure it's that high? Because to me it seemed more like 80%, but again it might just be calculated from the bottom and since I use 1920x1080 it might make a bigger difference.


EDIT Also double-post lol :P
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 14, 2015, 05:46:30 PM
Quote from: DJ Omnimaga on June 14, 2015, 05:34:39 PM
Aah right. Yeah I meant displaying the nickname of the one who made the post displayed in the title bar. As for the 95% percentage are you sure it's that high? Because to me it seemed more like 80%, but again it might just be calculated from the bottom and since I use 1920x1080 it might make a bigger difference.
I just checked, its 90%.
Still, you can change it to any value that you want.
Btw. I am working on a way to import and export styles and to download them from the CW server. The server side is already done.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 15, 2015, 01:07:48 AM
Bug report: Settings for ignored users are not saved at all. If I enter #1 in the field then restart after being prompted to do so, the field is emptied out.

EDIT: Another bug: Post notifications will often appear multiple times. (usually twice)
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 15, 2015, 10:57:10 AM
Quote from: DJ Omnimaga on June 15, 2015, 01:07:48 AM
Bug report: Settings for ignored users are not saved at all. If I enter #1 in the field then restart after being prompted to do so, the field is emptied out.
Have you clicked 'Add' button near the field? If the text doesn't disappear after pressing the 'Add' button, you have a syntax error.
And, after restarting, have you pressed that little arrow near the field? It should be there.

Quote from: DJ Omnimaga on June 15, 2015, 01:07:48 AM
EDIT: Another bug: Post notifications will often appear multiple times. (usually twice)
I will look into that one. I haven't noticed it yet.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 15, 2015, 01:34:14 PM
Oh right I kinda missed that step lol. My bad XD (I tried entering the values in then submitting, but I forgot to click Add before. It works now.

And for the multiple post notifications of the same posts, could it be caused by one of the recent posts being edited?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 15, 2015, 04:25:13 PM
Quote from: DJ Omnimaga on June 15, 2015, 01:34:14 PM
Oh right I kinda missed that step lol. My bad XD (I tried entering the values in then submitting, but I forgot to click Add before. It works now.

And for the multiple post notifications of the same posts, could it be caused by one of the recent posts being edited?
Yes, that could absolutely be. The notifier checks if the API has detected any update. If the same post gets detected earlier and added to the unread list and if it's later edited without being read, it could be seen again. I am not sure if I should "fix" this as I actually built the framework to allow exactly such notifications.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 15, 2015, 04:45:50 PM
Would it be feasible to say new edit in such case ?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 15, 2015, 05:43:15 PM
Quote from: DJ Omnimaga on June 15, 2015, 04:45:50 PM
Would it be feasible to say new edit in such case ?
I am not sure, but I'll try ;)
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 16, 2015, 05:22:34 AM
Oh, I thought it jus repeated if you le it pass without touching the notification.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 19, 2015, 06:21:53 AM
By the way, I am unsure but it seems that the notifier now always reports the wrong posts. For example, a NAGOJI post from several minutes ago gets reported when I post in another thread, then when I posted this, it once again reported the NAGOJI post..
Title: Re: CodeWalr.us Post Notifier
Post by: Unicorn on June 19, 2015, 06:28:49 AM
I think it says NAGOJI and 5 other posts in the popup, until you click veiw or dimiss.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 19, 2015, 12:05:07 PM
Quote from: Unicorn on June 19, 2015, 06:28:49 AM
I think it says NAGOJI and 5 other posts in the popup, until you click veiw or dimiss.
Yeah, but note that dismiss does not mark the message as read; it will only close the notification.

Quote from: DJ Omnimaga on June 19, 2015, 06:21:53 AM
By the way, I am unsure but it seems that the notifier now always reports the wrong posts. For example, a NAGOJI post from several minutes ago gets reported when I post in another thread, then when I posted this, it once again reported the NAGOJI post..
Not sure. Have to look into this. What version are you using (Build date and version number)?
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on June 19, 2015, 12:35:16 PM
Version 1.3
Build date: 2015-06-14 16:35:02

It's the last one you posted in this thread, at http://codewalr.us/index.php?topic=477.msg15776#msg15776
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on June 20, 2015, 06:36:22 PM
Quote from: DJ Omnimaga on June 19, 2015, 12:35:16 PM
Version 1.3
Build date: 2015-06-14 16:35:02

It's the last one you posted in this thread, at http://codewalr.us/index.php?topic=477.msg15776#msg15776
OK, I will have a look at it.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on July 12, 2015, 08:21:25 PM
By the way, it is not that hard to get this to run on startup. Although the program lacks such option, all you have to to is create a shortcut in Start->All Programs->Startup then you're set. :P
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on July 21, 2015, 02:42:21 AM
Do you think you could make the post notifier load images only if its window is at the top? Otherwise, when a post with many large images is made, the notifier starts lagging like mad so a black square appears in the bottom-right of the screen for 10 seconds until the pictures have loaded and the post list window freezes during that time.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on August 20, 2015, 12:20:43 AM
Alright, I will look into fixing all the glitches and the issues if there is still interest.
Is there?
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on August 20, 2015, 03:42:20 AM
Yup. I have it in my startup folder so it launches everytime I start my computer :)
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on August 20, 2015, 10:31:47 AM
Quote from: DJ Omnimaga on August 20, 2015, 03:42:20 AM
Yup. I have it in my startup folder so it launches everytime I start my computer :)
That sounds like a good reason to update it ;)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on August 20, 2015, 04:03:58 PM
By the way, to summarize the issues I got with it:

-The icon is gone and now shows a bell icon instead of that variation of :walrii:
-It sometimes notifies of the wrong posts (it remains stuck behind and notifies of one particular post multiple times)
-No option to start it on startup. While we can do it by putting it in the start folder, it's not necessarily convenient for people who aren't tech-savy.
-Computer freezes during about 10-60 seconds when a massive post with about 30 large 1000x1000 images get posted, but that is a rare occurence since such kind of post is rare.

EDIT: For example, as I posted this it notified of 128x64 monochrome pictures instead.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on August 20, 2015, 04:24:59 PM
Quote from: DJ Omnimaga on August 20, 2015, 04:03:58 PM
By the way, to summarize the issues I got with it:

-The icon is gone and now shows a bell icon instead of that variation of :walrii:
-It sometimes notifies of the wrong posts (it remains stuck behind and notifies of one particular post multiple times)
-No option to start it on startup. While we can do it by putting it in the start folder, it's not necessarily convenient for people who aren't tech-savy.
-Computer freezes during about 10-60 seconds when a massive post with about 30 large 1000x1000 images get posted, but that is a rare occurence since such kind of post is rare.

EDIT: For example, as I posted this it notified of 128x64 monochrome pictures instead.
OK, first, the bell is not a glitch. Just head over to the settings and choose any logo you want.
Second, yes I guess I made a misstake there and read the title of the lowest post on the unread stack. I will fix that.
Third, I dunno if I will implement that, but I will consider it cuz this is for Windows, Linux and Mac and I could only provide a Windows command.
About the last thing. I cannot do much but rewrite a big part of the display engine. If it is really not that often I could make an option to not show images.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on August 20, 2015, 10:25:55 PM
You could always hide images unless the person clicks them or have them enabled by default.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on September 11, 2015, 12:03:02 AM
New beta 1.4:

- Fixed a null pointer bug
- Fixed icon
- Fixed notifications

https://github.com/muessigb/CodeWalrii-Notifier/releases/tag/v1.4-beta
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on September 11, 2015, 12:06:25 AM
Updated my computer files. Gonna monitor to see how notifications goes. Thanks for the update :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on September 12, 2015, 06:56:24 AM
Bug report:

The wrong post notifications are still there. Even though I just posted in "Your posting milestones", it showed a notification about a different topic.Could this be people editing their posts?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on September 12, 2015, 11:00:33 AM
Quote from: DJ Omnimaga on September 12, 2015, 06:56:24 AM
Bug report:

The wrong post notifications are still there. Even though I just posted in "Your posting milestones", it showed a notification about a different topic.Could this be people editing their posts?

Well in the latest Version i changed the notifications to display only the first unread post, but reverted that in another commit.
About editing, I don't know. I haven't seen any reason for this not to work.
I will add some new features and look into that issue again.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on September 12, 2015, 06:16:36 PM
Ok so it's definitively not editing. I posted in the gaming servers thread and it immediately reported a new post in the IRC goodbye thread. Except that I checked the latter thread and the last post edit was at least 40 minutes ago. Could it be that your notifier reports old posts as long as you didn't read them?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on September 12, 2015, 09:56:47 PM
Quote from: DJ Omnimaga on September 12, 2015, 06:16:36 PM
Ok so it's definitively not editing. I posted in the gaming servers thread and it immediately reported a new post in the IRC goodbye thread. Except that I checked the latter thread and the last post edit was at least 40 minutes ago. Could it be that your notifier reports old posts as long as you didn't read them?
Well try download the new version, and see if it still persists.
Also it does only mark them unread after you opened the notifier application.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Dream of Omnimaga on September 12, 2015, 09:59:53 PM
Oh I see now. I tend to go check the website directly since I usually have it open :3=
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on September 12, 2015, 10:01:34 PM
Quote from: DJ Omnimaga on September 12, 2015, 09:59:53 PM
Oh I see now. I tend to go check the website directly since I usually have it open :3=
Hmm, should I make another button on the notification to mark all messages as read?
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on September 12, 2015, 10:04:36 PM
Nah, I don't always have time to read every post in one week. Maybe a direct linl to the post that is more visible?
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on September 12, 2015, 10:06:44 PM
Quote from: DJ Omnimaga on September 12, 2015, 10:04:36 PM
Nah, I don't always have time to read every post in one week. Maybe a direct linl to the post that is more visible?
Sure, but I can only mark all messages at once as read.
I have a "read until" variable, this is how all update sensing works.
If you would click that notification, it would mark all as read and start the webpage.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on September 13, 2015, 08:44:59 PM
Sorry for the bump, but I am working on new functions such as showing the amount of unread messages in the taskbar.
How do you like this idea?

Also are there any other suggestions apart from the ones listed above?
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on September 14, 2015, 03:47:23 AM
Quote from: DarkestEx on September 12, 2015, 10:06:44 PM
Quote from: DJ Omnimaga on September 12, 2015, 10:04:36 PM
Nah, I don't always have time to read every post in one week. Maybe a direct linl to the post that is more visible?
Sure, but I can only mark all messages at once as read.
I have a "read until" variable, this is how all update sensing works.
If you would click that notification, it would mark all as read and start the webpage.
Then it might be better that it is disabled by default, else some people might not be happy if they visit the forums after 1 month of hiatus, only to find out that everything is marked as read.

Quote from: DarkestEx on September 13, 2015, 08:44:59 PM
Sorry for the bump, but I am working on new functions such as showing the amount of unread messages in the taskbar.
How do you like this idea?

Also are there any other suggestions apart from the ones listed above?
That would be nice as long as it's not too intrusive.

Something that would be cool is if we could see the recent posts list from your app.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on September 14, 2015, 07:03:49 AM
Quote from: DJ Omnimaga on September 14, 2015, 03:47:23 AM
Quote from: DarkestEx on September 12, 2015, 10:06:44 PM
Quote from: DJ Omnimaga on September 12, 2015, 10:04:36 PM
Nah, I don't always have time to read every post in one week. Maybe a direct linl to the post that is more visible?
Sure, but I can only mark all messages at once as read.
I have a "read until" variable, this is how all update sensing works.
If you would click that notification, it would mark all as read and start the webpage.
Then it might be better that it is disabled by default, else some people might not be happy if they visit the forums after 1 month of hiatus, only to find out that everything is marked as read.
Well it has obviously nothing to do with the actual unread posts in the forum, as you are not logged in.
The tool uses a anonymous API to retrieve the data.
After you close the notifier it forgets which posts are read and unread.

Quote from: DJ Omnimaga on September 14, 2015, 03:47:23 AM
Quote from: DarkestEx on September 13, 2015, 08:44:59 PM
Sorry for the bump, but I am working on new functions such as showing the amount of unread messages in the taskbar.
How do you like this idea?

Also are there any other suggestions apart from the ones listed above?
That would be nice as long as it's not too intrusive.

Something that would be cool is if we could see the recent posts list from your app.
Well isn't the app basically showing the recent posts list?
Or what exactly do you mean?
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on September 14, 2015, 07:14:05 AM
Oh right, I forgot about the fact I am logged out. My bad. I guess that could work, then.

Also by recent posts list I mean an option to just show the active topics list, like at https://codewalr.us/index.php?page=recent2. That could be a quick way to see which thread got activity. But it should not be the primary focus (the current recent posts list should appear by default or in the main tab)
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on September 14, 2015, 12:40:31 PM
Quote from: DJ Omnimaga on September 14, 2015, 07:14:05 AM
Oh right, I forgot about the fact I am logged out. My bad. I guess that could work, then.

Also by recent posts list I mean an option to just show the active topics list, like at https://codewalr.us/index.php?page=recent2. That could be a quick way to see which thread got activity. But it should not be the primary focus (the current recent posts list should appear by default or in the main tab)
Well of course can I have this list in another tab, but that would require a reasonable big API change (and somebody would need to update my API hosted on CW).
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on September 14, 2015, 02:51:37 PM
BUMP!

Version 1.5 is out!

It features some improvements in the UI, some bugfixes and makes the taskbar icon fully configureable and adds a unread message counter to it.
It can be downloaded here: https://github.com/muessigb/CodeWalrii-Notifier/releases/tag/v1.5-beta
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on September 14, 2015, 03:22:52 PM
Regarding the wrong notifications showing up, I just witnessed a notification from a post from three hours ago, just so you know :P (I know because the title was :walriichu:, which was my post in the Another Spam thread)

However I didn't try the new version yet. I'll update now. :)


EDIT: How do I display the unread posts counter? Because for me it isn't showing up at all (neither in the program tab nor the system tray)EDIT: Nevermind, they show up now, in the program tab.


Also good move to disallow setting amount of posts to display so it can't be set above 100 and preventing checking interval to be under 10 seconds. I just checked in case of security issues and was glad that it was thought about already.
Title: Re: CodeWalr.us Post Notifier
Post by: pimathbrainiac on January 28, 2016, 02:11:11 PM
Great application! Should be useful for other forums as well (if they have the server bit installed).

Okay, I have some suggestions (since I don't know C#):
1) Create an installer file that installs both the notifier and gtk#
2) Add a "run at startup" option (should be pretty easy. You just create a link to the program in C:\Users\[user]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)
3) Add an option to configure for multiple forums
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on January 28, 2016, 03:12:55 PM
Quote from: pimathbrainiac on January 28, 2016, 02:11:11 PM
Great application! Should be useful for other forums as well (if they have the server bit installed).

Okay, I have some suggestions (since I don't know C#):
1) Create an installer file that installs both the notifier and gtk#
2) Add a "run at startup" option (should be pretty easy. You just create a link to the program in C:\Users\[user]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)
3) Add an option to configure for multiple forums
Welcome back, pimath!
Thanks for your kind words. There is a reason I did not choose to bundle an installer as the application runs natively on Windows, Linux and Mac OS. I can make a Windows installer if you really want me to though.
I also plan to add a silent command line flag, so that it starts hidden.

The multiple forum option can be added pretty easily, though configuration could be a problem. I will look into it.
Right now, only one forums is supported at once and the application is fully customizable using the config file and menu. The colors, icons, server and notification settings can be changed.

In a future version it is planned, that the default settings for a forum can be retrieved via the server side API, so that specifying a single URL is enough to configure one forum.

The server side can be hosted anywhere. It does not require any changes nor API access to the actual SMF forum. What is required though is an enabled RSS feed and a good amount of characters per RSS feed.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on February 04, 2016, 07:07:24 AM
I still wish that there was an option to make this notifier start automatically on Windows startup. While we can manually add it to the startup folder, perhaps if this was automatic this would be more convenient.

Also it would be nice if minimizing the post notifier would hide it from the taskbar and put it in the system tray instead.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on February 04, 2016, 08:20:06 AM
Quote from: DJ Omnimaga on February 04, 2016, 07:07:24 AM
I still wish that there was an option to make this notifier start automatically on Windows startup. While we can manually add it to the startup folder, perhaps if this was automatic this would be more convenient.

Also it would be nice if minimizing the post notifier would hide it from the taskbar and put it in the system tray instead.
Well while this is possible, I intentionally minimized it to the taskbar, again to maintain compatibility with different OSes and as the notification bar in windows just is a mess.
I could theoretically do a Windows build using #define and #ifdef blocks to add os specific features if you would prefer that over a universal binary. I could also do these things as settings and still maintain a universal binary but gray them out in any OS except windows.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on February 04, 2016, 05:32:12 PM
I don't think separate builds would be that bad, because there are very few updates on this anyway :P
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on February 04, 2016, 05:44:37 PM
Quote from: DJ Omnimaga on February 04, 2016, 05:32:12 PM
I don't think separate builds would be that bad, because there are very few updates on this anyway :P
No, I won't do separate builds as this is more work for me and that would make builds even more infrequently.
If I add the Windows only settings, then they'll be added to the menu.
Title: Re: CodeWalr.us Post Notifier
Post by: pimathbrainiac on February 05, 2016, 01:03:07 AM
Quote from: DJ Omnimaga on February 04, 2016, 07:07:24 AM
I still wish that there was an option to make this notifier start automatically on Windows startup. While we can manually add it to the startup folder, perhaps if this was automatic this would be more convenient.

@DJ Omnimaga
There is a way to do this, actually. Create a link to the notifier executable in C:\Users\[user]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Just replace [user] with whatever your username is, and you should be good!
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on February 05, 2016, 02:37:13 AM
Yeah that's what I was referring to. But not everyone knows that, hence why I was suggesting an option to make it automatic.
Quote from: DarkestEx on February 04, 2016, 05:44:37 PM
Quote from: DJ Omnimaga on February 04, 2016, 05:32:12 PM
I don't think separate builds would be that bad, because there are very few updates on this anyway :P
No, I won't do separate builds as this is more work for me and that would make builds even more infrequently.
If I add the Windows only settings, then they'll be added to the menu.
Can't you make the post notifer detect on which OS it runs? I mean, if we can detect if a calculator program runs on a 84+ or a 84+SE then we can detect if it runs on Windows/Linux, right?
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 08, 2016, 06:19:35 AM
/me pokes a @Juju

So after some requests, I think it would be better if post notifications for hidden boards were also posted on CW. Basically, instead of doing nothing for exempted boards, the bot should say "New post by <nickname> in [hidden sub-forum] <board name> <url to post>". I don't think it would be too hard to add/change, since the code for this is already there (you just have to edit it so it shows the board name instead of topic title, and if it's too hard then you can simply show "hidden sub-forum".

It would be nice because then members would be aware that some activity is occuring when it doesn't seem like it. But also it can be a bit annoying to not have post notification for hidden boards.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on May 08, 2016, 12:24:55 PM
Quote from: DJ Omnimaga on May 08, 2016, 06:19:35 AM
/me pokes a @Juju

So after some requests, I think it would be better if post notifications for hidden boards were also posted on CW. Basically, instead of doing nothing for exempted boards, the bot should say "New post by <nickname> in [hidden sub-forum] <board name> <url to post>". I don't think it would be too hard to add/change, since the code for this is already there (you just have to edit it so it shows the board name instead of topic title, and if it's too hard then you can simply show "hidden sub-forum".

It would be nice because then members would be aware that some activity is occuring when it doesn't seem like it. But also it can be a bit annoying to not have post notification for hidden boards.
This cannot be implemented in my post notifier at all I fear, without ditching the cache. If you are okay with that, I can add a Username and Password field to the settings to allow logging in.
For users not logged in, the cache could be preserved.
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on May 08, 2016, 03:09:03 PM
Actually disregard that DarkestEx I posted in the wrong topic :P. My bad (although now that I think of it it was a good move to suggest it here too :P)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on August 12, 2016, 08:17:24 PM
Amazing! I can't believe it actually still works :)
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on August 13, 2016, 02:57:00 PM
Yeah it still does. The only reasons why I stopped using it for a while is because 1) my PC kept shutting down randomly, so until I figure out what caused it I decided to keep its usage to a minimum, 2) my PC took too long to startup so I started removing stuff from the startup folder. 3) notifications appeared in Starcraft during the game, making me exit by accident when clicking there and 4) it minimizes in the taskbar instead of system tray.

But I might put the post notifier back in the startup folder soon.
Title: Re: CodeWalr.us Post Notifier
Post by: DarkestEx on August 13, 2016, 04:34:13 PM
Quote from: DJ Omnimaga on August 13, 2016, 02:57:00 PM
Yeah it still does. The only reasons why I stopped using it for a while is because 1) my PC kept shutting down randomly, so until I figure out what caused it I decided to keep its usage to a minimum, 2) my PC took too long to startup so I started removing stuff from the startup folder. 3) notifications appeared in Starcraft during the game, making me exit by accident when clicking there and 4) it minimizes in the taskbar instead of system tray.

But I might put the post notifier back in the startup folder soon.
The source code is on GitHub and as you might be able to see there I not a single line of code that can cause shutdowns.
About start time and it being annoying, I am planning to add a silent (minimized) start option.
About games, feel free to disable the visual notifications. I can't do more about it I fear. You can keep audible notifications turned on so that you still know something new happened.
About the last thing, I am sorry, but I can't fix this, as I have kept the application working on Windows, Linux and Mac and most Linuxes don't implement the taskbar icon correctly. Not even windows really does (glitches).
Title: Re: CodeWalr.us Post Notifier
Post by: Dream of Omnimaga on August 13, 2016, 05:15:03 PM
Oh I didn't say the software could have caused it, but I suspected that my PC was using too much power, so I tried to keep it to a minimum, and the post notifier happens to use quite a lot when images are loaded. I think my old GPU caused the shutdowns, though, but it could also be my PSU.

Also a silent start would be a great idea :3=
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on April 10, 2020, 10:05:17 PM
Hmm, I just stumbled over the old notifier.
I fixed it maybe one or two years ago, but now it broke again.
Even though probably nobody uses it anymore, it probably still warrants an update...
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Dream of Omnimaga on April 11, 2020, 05:24:16 PM
What was the URL of the notifier? Before the SMF 2.1 RC2 upgrade I had a link on the recent topics page but it disappeared when we ditched Simpleportal.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on April 18, 2020, 11:04:07 PM
Quote from: DJ Omnimaga on April 11, 2020, 05:24:16 PMWhat was the URL of the notifier? Before the SMF 2.1 RC2 upgrade I had a link on the recent topics page but it disappeared when we ditched Simpleportal.
https://codewalr.us/notifier/
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on April 18, 2020, 11:56:39 PM
Alright, probably for the last time ever, I have fixed and finished the CW notifier.
You can download the binary files here: https://benedikt.cloud/dl/cwnotify/CodeWalrusNotifier-fixed-finally.zip

Have fun  :)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on April 18, 2020, 11:59:08 PM
(https://i.imgur.com/SQeOttL.png)
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Dream of Omnimaga on April 19, 2020, 06:01:17 PM
Hm I dunno if it's because of Windows Defender, but nothing happens when I double-click the exe file after decompressing the archive. I use Windows 10 and there's nothing out of the ordinary appearing in Task Manager
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on April 19, 2020, 07:12:35 PM
Quote from: DJ Omnimaga on April 19, 2020, 06:01:17 PMHm I dunno if it's because of Windows Defender, but nothing happens when I double-click the exe file after decompressing the archive. I use Windows 10 and there's nothing out of the ordinary appearing in Task Manager
Do you have the Gtk# runtime library installed?
http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.38.msi
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Dream of Omnimaga on April 19, 2020, 07:50:54 PM
Now a blank window appears for two seconds then the software shuts down by itself.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: DarkestEx on April 19, 2020, 09:40:53 PM
Quote from: DJ Omnimaga on April 19, 2020, 07:50:54 PMNow a blank window appears for two seconds then the software shuts down by itself.
Do you have extracted all files to one directory?
It's quite strange. Does the blank window have a title?

You should have the following files:
CodeWalriiNotify.exe
HtmlRenderer.dll
HtmlRenderer.WinForms.dll
Newtonsoft.Json.dll
settings.json
walrii.gif

If the files are complete, you might still want to try the latest version of GTK#:
https://xamarin.azureedge.net/GTKforWindows/Windows/gtk-sharp-2.12.45.msi

Personally, I absolutely can't stand Windows 10, so I don't have a single instance (and don't test my software with it).
Technically, it should work, but perhaps it needs a more recent version of GTK to work.
Title: Re: CodeWalr.us Post Notifier [Windows] [Mac] [Linux]
Post by: Dream of Omnimaga on April 19, 2020, 09:44:59 PM
Yeah I did. The blank window says "Loading..." with "Menu" below. I have all those files.

EDIT I just saw your post edit. I'll try the newer GTK. GTK/#/+/%/-/whatever runtimes are a major problem on Windows, because each software people make that requires them will only work on one specific version of the GTK and I don't even know if it's possible to have like 10-12 versions of the GTK runtimes installed at the same time. This made it a major chore to use TILP and TILEM at the same time (I had to uninstall TILEM's "GTK" runtimes and install the ones compatible with TILP in order to use TILP and I had to do the opposite to run TILEM.

EDIT 2: Still the same problem D: