Code Monkey home page Code Monkey logo

caprine's Issues

Linux support

  • Adjust the build script to build Linux app. Eg. --platform=darwin --arch=x64 => --all.
  • Icon
  • Adjust the menu. Keyboard shortcuts are already cross-platform. Just need to make sure it's linuxy.
  • Ensure everything works as expected

Menubar support

Being a messaging app, it's more useful if it's running all the time so messages can always come in. That being said, it kinda stinks that it has to take up valuable real estate in the dock. What would be nice to have is the option to move the app into the menu bar.

Also, #6 could be solved here by "minimizing" to the menu bar instead of quitting the app entirely.

Cask installation failed

> brew cask install caprine
Error: No available Cask for caprine
Error: nothing to install
2015-10-05 13:42:49

Pressing 'return' leaves a newline after a message sends

Description

As expected, if the text input box is empty the placeholder text appears "Type a message...".

On typing a message ("test 1 2 3"), then pressing return to send, the following happens:

  • The message "test 1 2 3" sends and appears as expected in the conversation area.
  • The input box now has a new line in it, so it is two lines tall, which is not expected. This also makes the placeholder text disappear since the box is no longer empty.

User Path

screen shot 2015-10-23 at 4 22 39 pm

screen shot 2015-10-23 at 4 22 50 pm

screen shot 2015-10-23 at 4 22 58 pm

##

Caprine 0.2.0
darwin x64 14.5.0

Start minimized on Linux

#52 So it is not possible, or easily possible, to start Caprine minimized to the tray in Linux. This should be a option in settings/preferences, or at least available in the command line so it is easier to accomplish.

Support for HiDPI

Could you please include support for hidpi? The font looks quite small on Windows 10.

cmd+w functionality

Could we make the cmd+w functionality on the Mac not close the app but just close/hide the window?

Error when MainWindow is minimized in OS X Dock

When the main Window is minimized in OS X Dock, Caprine > Préférences or File > New Conversation produces an error window:

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'webContents' of undefined
    at sendAction (/path/to/Caprine.app/Contents/Resources/app.asar/menu.js:9:34)
    at click (/path/to/Caprine.app/Contents/Resources/app.asar/menu.js:27:6)
    at MenuItem.click (/path/to/Caprine.app/Contents/Resources/atom.asar/browser/api/lib/menu-item.js:58:20)
    at Function.delegate.executeCommand (/path/to/Caprine.app/Contents/Resources/atom.asar/browser/api/lib/menu.js:127:69)

Crashes on startup on Linux

As of version 0.5.0, Caprine crashes on Linux after starting up. It looks like the issue is related to the new tray icon.

When you start up, it displays a pop-up window displaying the following message:

Uncaught Exception:
TypeError: Error processing argument -1.
    at TypeError (native)
    at module.exports.win (/home/bob/software/caprine/resources/app/tray.js:11:15)
    at EventEmitter.<anonymous> (/home/bob/software/caprine/resources/app/index.js:76:2)
    at emitOne (events.js:82:20)
    at EventEmitter.emit (events.js:169:7)

As I was writing this issue, I discovered the solution. Will post a patch in a few minutes.

Question: how does this work?

Silly question. But where is the source code for this app? I don't understand how it works. I am familiar with Electron but where is the actual source code for the app?

App quits when closing window

The app quits (or seems to - it disappears from the dock) when you close the window. Shouldn't it be expected to remain active / in the dock until you CMD+Q it?

Notifications don't work for me on El Capitan

I'm on latest El Capitan (10.11.3 (15D21)) & Caprine 1.2.0. I see the badge & hear the sound when a new message arrives but there is no notification banner. When I go to System Preferences -> Notifications I don't even see a Caprine entry; I see lots of them for other apps.

I have Chrome notifications disabled but that shouldn't affect standalone Electron apps that use native system notifications (by default Chrome uses its own flavor not integrating well with the OS).

RAM: High memory usage on OS X

Hi! Just noticed that app (v1.2.0) uses more than 600MB of RAM (running since update, so few days). It's huge. After launch and few chats it around 130MB. Since launch laptop was suspended several times while on the go/at night.

Can something be done here? Suppose, it's all about Facebook JS leaks, but maybe there's an option to reload app from time to time automatically?

And more about Electron usage: is there a reason to build releases without any kind of Dev Tools, etc to use less RAM and space on disk?

encryption

good day, i like this project. do you plan to introduce any kind of encryption, like OTR? https://otr.cypherpunks.ca/

i would still like to be able to send encrypted messages over facebook chat, and i'm wondering if this is in the thinking.

thanks!

Some text are hard to seen or can't be seen in dark mode

I'm using version 1.0.0 right now. Here's what I found.

In a group chat's people detail
screen shot 2559-02-21 at 11 36 08 pm
In a new messsage invitation
screen shot 2559-02-21 at 11 44 41 pm

It's probably just a CSS issues. Can I give this a try? Is there anything I have to do to contribute to this project? (I'm quite new to OSS though)

Change conversation shortcuts on OS X

This is funny but I opened up Atom, and wanted to implement conversation switching just to find out it's already there, only under key binding that I would never expected.

I'm kind of used to the native tab switching keys on OS X: CMD + Shift + [ and CMD + Shift + ].

I'm sure there's a reason why Caprine is currently using different ones, but perhaps it would make a good idea to change them for a more native experience?

Tray icon on KDE

The tray icon on Linux (KDE) is a blank white rectangle with no title, also clicking on it does nothing, I have to right click and choose either show or hide or exit.

Tray icon needs rework or option to turn off

I have a few problems with the tray icon:
-The show/hide right-click menu is extremely cumbersome compared to what most other programs do: click to hide; click again to show.
-There is no start-minimized option (and I mean minimized to tray, not as a minimized window).
-The icon doesn't change when there are unread messages, making it almost pointless as I still have to manually show the messages window to check after I've been away from the computer.

Because of these problems, I actually currently get a much better tray icon out of using alltray with the -H option. However, since I can't turn caprine's icon off, that leaves me with 2 icons. Because of that, I'm stuck on the seemingly abandoned other unofficial Messenger (https://github.com/Aluxian/Facebook-Messenger-Desktop) because it does not have a tray icon, making alltray viable.

Linux - segfault when clicking on notification

It happens both on Gnome and Plasma (KDE). When I click on native notification to see message, Caprine crashes.
There's message from kernel:
[14261.845970] Caprine[10685]: segfault at 0 ip 000000000312ed9b sp 00007ffdde03ad30 error 4 in Caprine[400000+3860000]
Feel free to ask me anything to try, test and deliver any logs.

Caprine 0.5.1
linux x64 4.3.3-3-ARCH

Windows support

Brew cask not working

$ brew cask install caprine
Error: Cask 'caprine' definition is invalid: Bad header line: parse failed

Not entirely sure what that error means, but install via Homebrew seems to be broken.

Newline in input box

There's a blank newline in the text input field that appears after every message sent. Using OSX.

Progress indicator for file downloads

It appears that there is no progress indicator or action applied upon a user downloading a file shared via another user. I looked into forking this repository in order to add this feature, however time is currently scarce in my life.

This issue can also gage to see if anyone else would benefit/want from this feature.

When resizing, text box resizes too small to use

I am using Caprine on Manjaro Linux, Cinnamon Desktop. I have this issue with MessengerforDesktop, and Caprine, that if you resize the width of the window smaller all the icons (add picture, choose stickers, GIF, send money, etc), or the space where they should be, shove the text box so small that horizontal and vertical scrollbars actually show up, and when the window is about 300px wide it leaves the text box like 20px wide. I have attached a screenshot.
screenshot from 2016-03-08 15-47-46

Multiple instances on Linux

When app is hidden into tray area and I click icon on taskbar - new instance is starting instead of showing existing one. Also there is no option to disable tray icon (which would be workaround).

Windows Startup minimized on tray

This program works flawless on windows 7 it open pictures, play videos and even open links in the default browser. It needs a last addition to make it perfect, an option to launch on startup minimized on the system tray.
Sorry to pull a request in here but doesn't let me pull one in the other way. Thanks

Linux: Javascript Error

I am starting to look into what is needed to make this work flawlessly on Linux, right now the app works using the dev commands, one thing that is popping up is this error:

Uncaught Exception:
TypeError: Cannot read property 'setBadge' of undefined
    at updateBadge (/home/adam/Projects/caprine/index.js:22:10)
    at BrowserWindow.<anonymous> (/home/adam/Projects/caprine/index.js:52:3)
    at emitTwo (events.js:87:13)
    at BrowserWindow.emit (events.js:172:7)

I'm going to see if I can fix some of those todo items in the other bug as well.

Heres a screenshot for anyone curious what it looks like on Ubuntu running KDE

image

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.