Commit graph

25 commits

Author SHA1 Message Date
Magnus Hauge Bakke
f2953d1190 Add image upload progressbar and error msg 2015-11-07 12:44:22 +01:00
Magnus Hauge Bakke
aef26a2dc5 Add file input with button and send file to imgur 2015-11-07 12:44:22 +01:00
Magnus Hauge Bakke
accbf276ad Add button for sending image 2015-11-07 11:42:51 +01:00
Tor Hveem
7c2b2d98e8 fix button align and colors 2015-03-29 15:18:38 +02:00
Tor Hveem
210165daf7 Improve footer, more monochrome dark design 2015-03-29 14:05:25 +02:00
Tor Hveem
99ccd551b6 Enable by default, except on mobile. Convert by default. 2015-03-22 13:11:39 +01:00
Lorenz Hübschle-Schneider
a0a191f104 Enable autocomplete on input, disable on search
In essence, this reverts a29905e02c which doesn't make much sense to me
2015-02-17 09:30:38 +01:00
Lorenz Hübschle-Schneider
1f0cb71e86 Make buttons unselectable
This improves copying and pasting quite a lot
2014-10-20 11:09:50 +02:00
Lorenz Hübschle-Schneider
bc037720bd Fix plugin selectors after angular upgrade
The recent angular update changed the format of the hash keys.
They're now in the format 'object:123' (etc), which isn't a valid
CSS class name any more, but we used the $$hashKey as such.

I used this opportunity to introduce a bit of abstraction there as well
2014-09-28 21:01:13 +02:00
Lorenz Hübschle-Schneider
4cdf86ed14 Remove bindonce for Angular 1.3 One-Time Bindings 2014-08-23 12:26:04 +01:00
Lorenz Hübschle-Schneider
f7aa7a0871 Hide sidebar when focusing input bar
This is for mobile
2014-08-13 08:39:32 +01:00
David Cormier
7c5a396171 Rename 'monospace' class to 'favorite-font' 2014-07-24 21:36:56 -04:00
Lorenz Hübschle-Schneider
97cf908932 Prevent embeds from overflowing
Fixes #347
2014-07-18 13:47:18 +01:00
Tor Hveem
20a8289072 Revert the revertion of multiline and clean it up for new directive. 2014-04-26 18:16:46 +02:00
David Cormier
c04b6e64f6 Let user specify the id of the input bar
Input bar id is not globally set, but passed to the directive
through the input-id attribute.
2014-02-25 09:12:52 -05:00
David Cormier
5cd36f0779 Remove unnecessary id
Encapsulating the feature in a angular directive let us avoid
setting global ids for elements.
2014-02-23 10:56:04 -05:00
David Cormier
5f25a96b51 Work with inputNode element directly
Instead of using $scope.command, we work with the inputNode element
directly to have control over the caret position. This let us have
nick completition in the same way as WeeChat.

Fix #74
2014-02-23 10:55:59 -05:00
Lorenz Hübschle-Schneider
93f40c64e9 Fix embed DOM classes
Classes, IDs and Names in the DOM have to begin with a letter. The $$hashKey
however might not, so prefix it with embed_. This also makes the classes more
unique, which is a good thing. Additionally, don't scroll on undefined should that
ever happen.

Fixes #45
2014-02-16 16:55:27 -05:00
Lorenz Hübschle-Schneider
e48fe29cf8 Automatically scroll plugins into view 2014-02-16 16:55:27 -05:00
David Cormier
f4ee683100 Only retrieve plugin content when 'Show Content' is pressed 2014-02-06 21:21:49 -05:00
David Cormier
6b12926887 Move plugin to it's own directive 2014-02-06 21:00:07 -05:00
Tor Hveem
0bd443715a Remove autofocus since it is very mobile unfriendly 2014-01-22 11:08:06 +01:00
David Cormier
026881a29c Revert "Split messages with newline into multiple messages"
This reverts commit 6dd35fa890.

The commit breaks support for chrome.
2013-11-09 12:40:27 -05:00
Tor Hveem
6dd35fa890 Split messages with newline into multiple messages 2013-11-02 17:43:45 +01:00
David Cormier
fcfe8ba4be Create inputbar directive 2013-10-27 17:54:51 -04:00