Pavel Djundik
b93fa12494
Match window title border line to text color
2016-10-23 11:11:04 +03:00
Jérémie Astori
d82a894b7b
Remove browser notification polyfill and inform user when unsupported
2016-10-22 17:26:34 -04:00
Jérémie Astori
f5af8a4986
Merge pull request #674 from MaxLeiter/MaxLeiter/override-defaults
...
Override defaults with URL
2016-10-17 02:11:30 -04:00
Pavel Djundik
a1f56c7395
Improve support for opening multiple clients at once
...
- Synchornize unread counter with the server
- Fix unread marker on no attached clients
- Increase unread counter for server messages
2016-10-17 01:31:22 -04:00
Pavel Djundik
a58b7839a7
Merge pull request #685 from thelounge/astorije/fix-nick-in-logs
...
Fix nick changes not being properly reported in the logs
2016-10-15 14:00:47 +03:00
Pavel Djundik
4f5bb55951
Revert "Do not trigger a DOM event on every message"
2016-10-14 18:49:08 +03:00
William Boman
aabdf562a6
client: re-focus input on chat form submit
2016-10-11 10:43:27 +02:00
Max Leiter
0d058a5ef7
Begin work on overriding defaults in URL
2016-10-10 10:35:33 -07:00
Jérémie Astori
310ab8f43c
Fix nick changes not being properly reported in the logs
...
Before:
```
[2016-10-10 15:17:47] * nick
```
After:
```
[2016-10-10 16:32:47] * astorije nick astorije2
```
2016-10-10 13:08:23 -04:00
Pavel Djundik
aa02fd5180
Enforce more eslint rules
2016-10-09 17:55:37 -04:00
Jérémie Astori
6b597d3b2f
Merge pull request #684 from thelounge/astorije/strict-mode
...
Strict mode for all JS files
2016-10-09 17:55:19 -04:00
Pavel Djundik
b28bba6dd4
Remove svg and ttf font formats
2016-10-09 15:21:04 -04:00
Jérémie Astori
caa46042bf
Enforce strict mode across all JS files with ESLint
...
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Jérémie Astori
e9d7d77cbd
Merge pull request #661 from thelounge/xpaw/no-dom-event
...
Do not trigger a DOM event on every message
2016-10-08 16:35:14 -04:00
Pavel Djundik
94781c98d4
Merge pull request #653 from MaxLeiter/MaxLeiter/crypto-unhandled
...
Fix unhandled message color in Crypto theme
2016-10-07 19:40:05 +03:00
Max Leiter
565e37e873
Fix unhandled message color in Crypto theme
2016-10-03 10:20:06 -07:00
Pavel Djundik
024369d4c3
Implement our own /nick command to allow editing nick when not connected
2016-10-01 16:51:35 -04:00
Jérémie Astori
4328946f80
Add tooltips to nick editor buttons
2016-10-01 16:51:35 -04:00
Jérémie Astori
12839af684
Make nick badge editable to set it in the UI
2016-10-01 16:51:34 -04:00
Jérémie Astori
4e1d89f567
Consolidate locale time helpers
...
When working on #660 , I missed that helper already existed, added in #167 .
2016-10-01 15:38:06 -04:00
Pavel Djundik
743d4b61d5
Do not trigger a DOM event on every message
2016-10-01 13:09:57 +03:00
Jérémie Astori
fc03a338fc
Display localized timestamp in title of message times
2016-10-01 02:46:19 -04:00
Jérémie Astori
f2c4d08801
Fix title icons for channels and channel lists
...
This bug slipped when adding `/list` support in #258 .
2016-09-30 01:50:54 -04:00
Jérémie Astori
28b5fdb8ce
Merge pull request #637 from thelounge/xpaw/extra-loading
...
Display extra loading messages
2016-09-30 01:34:05 -04:00
Jérémie Astori
ad4a79cbca
Merge pull request #400 from maxpoulin64/slide
...
Add touch slideout menu for mobile
2016-09-30 00:03:04 -04:00
Jérémie Astori
3b8e4f36eb
Merge pull request #652 from innovandalism/master
...
Themes: Fixed CSS rule selectors for highlight messages
2016-09-30 00:01:41 -04:00
Jérémie Astori
345aac1a27
Merge pull request #258 from maxpoulin64/channel-list
...
Implement /list
2016-09-29 02:47:34 -04:00
Alexander Schittler
65ba8af660
Themes: Fixed CSS rule selectors for highlight messages
2016-09-28 20:23:06 +02:00
Pavel Djundik
396a9cffb1
Display extra loading messages
2016-09-25 09:52:16 +03:00
Pavel Djundik
98b7908c2b
Merge pull request #618 from thelounge/astorije/disable-pull-to-refresh
...
Disable pull-to-refresh on mobile that conflicts with scrolling the message list
2016-09-25 08:28:54 +03:00
Jérémie Astori
7b15235489
Merge pull request #359 from thelounge/xpaw/simplify-base-theme
...
Move Shout theme borders to example theme
2016-09-25 01:21:56 -04:00
Jérémie Astori
937cc4ebed
Merge pull request #625 from thelounge/astorije/safe-localstorage
...
Ensure localStorage cannot fail because of quota or Safari private browsing
2016-09-25 00:44:29 -04:00
Pavel Djundik
bdb4d0de6a
Remove -ms-transform and add missed -webkit-transform
2016-09-24 10:46:02 +03:00
Pavel Djundik
62ee13833b
Move Shout theme borders to example theme
2016-09-24 00:16:00 +03:00
Pavel Djundik
2bb782fe81
Merge pull request #617 from thelounge/astorije/fix-sidebar-loading
...
Hide sidebar when app is loading in themes
2016-09-24 00:14:24 +03:00
Gilles Gauthier
8bd5d800d0
Fixing display: flex for iOS 8
2016-09-20 21:59:59 -07:00
Jérémie Astori
813572de47
Ensure localStorage cannot fail because of quota or Safari private browsing
...
See http://stackoverflow.com/q/14555347/1935861
2016-09-20 23:43:23 -04:00
Jérémie Astori
578328d208
Disable pull-to-refresh on mobile that conflicts with scrolling the message list
...
See http://stackoverflow.com/a/29313685/1935861
2016-09-18 19:28:27 -04:00
Jérémie Astori
701e333d78
Hide sidebar when app is loading in themes
...
This change was originally made in #420 then I broke it for themes in #615 , sigh...
2016-09-17 20:43:29 -04:00
Jérémie Astori
8be62e4f55
Fix a left margin appearing on all non-default themes
2016-09-17 13:13:01 -04:00
Jérémie Astori
87dfe2cc22
Disable tooltips on mobile to prevent them to stay after clicking
2016-09-14 23:50:57 -04:00
Jérémie Astori
687a5846b6
Fix small input text on Morning and Zenburn
2016-09-12 01:25:09 -04:00
Jérémie Astori
d5f234bdb5
Make all window form inputs white so selects match text inputs
2016-09-06 01:18:21 -04:00
Jérémie Astori
6d72f023fa
Fix wrong loading of Crypto font
...
Turns out, this theme probably never loaded its font right, fail...
`GET https://.../themes/fonts/inconsolatag.woff ` --> 404
2016-09-06 01:11:31 -04:00
Jérémie Astori
b153d568a0
Add a theme selector in the settings
...
Power to the people!
There is now 2 ways to set the theme: on the app config file (defaults
for all users) and in the user settings.
All CSS files present in the `client/themes` folder will be given as
choices to the users.
This is temporary (as in, temporary for a fairly long time) until we
have proper theme management.
2016-09-06 01:11:31 -04:00
Jérémie Astori
c4cfd7e4b5
Alphabetically order default user settings, remove unnecessary continue statement, transform ifs into else-ifs
2016-09-06 01:11:31 -04:00
Jérémie Astori
34036a4b7a
Allow ourselves to have decent looking select elements in the settings
2016-09-06 01:11:31 -04:00
Maxime Poulin
7f6dfe1652
Merge pull request #572 from thelounge/astorije/fix-radiuses-again
...
Move border-radius from #main to .window elements to fix radius once and for all
2016-09-03 20:16:17 -04:00
Jérémie Astori
5332909c89
Merge pull request #587 from thelounge/astorije/fix-orientation
...
Do not set app orientation in manifest to use user setting at OS level
2016-09-03 01:47:55 -04:00
Jérémie Astori
b66c538a45
Merge pull request #562 from thelounge/astorije/css-redundancy-fix-2
...
Remove font family redundancy, fix missed fonts, remove Open Sans
2016-09-02 22:37:45 -04:00
Jérémie Astori
d0ed6826be
Do not set app orientation in manifest to use user setting at OS level
2016-08-30 00:40:17 -04:00
Jérémie Astori
66f6a623d8
Allow long URLs to break onto next line on Chrome
...
This fixes a bug that displays a horizontal scrollbar and messes up with the layout when URLs (or text) is too long.
Fix is Chrome-specific but so is the bug.
2016-08-20 00:23:56 -04:00
Alistair McKinlay
7217655110
Merge pull request #540 from thelounge/astorije/tooltips
...
Tooltips, tooltips everywhere
2016-08-19 08:17:38 +01:00
Jérémie Astori
f509e9fe5a
Move border-radius from #main to .window elements to fix radius once and for all
...
https://github.com/thelounge/lounge/pull/537 only fixed it on chat windows,
but for some browser-specific display bug/reason not on settings, login, ...
2016-08-19 01:34:42 -04:00
Jérémie Astori
d48830a1fd
Make custom highlights case-insensitive
2016-08-16 10:09:19 -04:00
Jérémie Astori
f2a0bc5d23
Remove font family redundancy, fix missed fonts, remove Open Sans
2016-08-14 17:28:47 -04:00
Jérémie Astori
dd02f0f029
Make sure input height is reset when submitting with icon
...
This is especially noticeable on mobile, where clicking Send icon is more natural.
2016-08-11 01:13:41 -04:00
Jérémie Astori
1fb14771ef
Merge pull request #477 from thisisdarshan/ldap
...
LDAP support
2016-08-09 23:58:21 -04:00
Henning Hoefer
08d3633ae2
Prevent Ctrl-Tab from triggering tab completion
...
Fixes #529
This is probably the simplest workaround for Firefox sending a keydown event when switching browser tabs via Ctrl-Tab
2016-08-04 04:31:19 +02:00
Jérémie Astori
83d1a99608
Set tooltip colors to be readable on both light and dark backgrounds
2016-08-03 01:11:50 -04:00
Jérémie Astori
e99bf9ac0a
Make sure body fonts are used for tooltips
2016-08-03 01:11:10 -04:00
Jérémie Astori
2041c936b2
Add tooltips to user list and submit buttons
2016-08-03 01:10:22 -04:00
Jérémie Astori
c33ff6a378
Restore padding and height of message input pre-textarea era
2016-08-02 00:33:16 -04:00
Jérémie Astori
2e0381ba90
Merge pull request #536 from thelounge/PR/fix-I530
...
Fix font size in themes for new textarea
2016-08-01 23:47:45 -04:00
Jérémie Astori
5c271cf7b1
Fix accidentally removed border-radius
...
This was removed by https://github.com/thelounge/lounge/pull/379/files#diff-97db1f70168fb5f12457b238ff6052b5L504 .
2016-07-31 17:53:16 -04:00
Maxime Poulin
4336699b49
Fix themes for new textarea
...
Fixes #530
2016-07-31 17:50:42 -04:00
Johan Lindskogen
987474cfc1
implementing LDAP support
2016-07-29 21:28:00 -04:00
Jérémie Astori
a7fe19deca
Merge pull request #496 from davibe/restore-scroll
...
restore scroll position after loading previous messages
2016-07-28 00:48:08 -04:00
Davide Bertola
6af8da2106
restore scroll position after loading previous messages
2016-07-27 07:53:41 +02:00
Maxime Poulin
1f11293ac9
Reset the unread marker on channel change
...
This restores the old behavior of resetting the unread marker on channel change, as that's usually at this point one wants to check for new messages and is also what matches on the server. I feel this is overall more consistent and useful, and also more in line with what other clients do.
2016-07-24 02:21:44 -04:00
Jérémie Astori
179698887d
Merge pull request #445 from thelounge/xpaw/single-network-func
...
Create a single function to render networks to reduce code duplication
2016-07-23 00:33:14 -04:00
Maxime Poulin
1d47290ada
Implement /list
...
Thanks to @xPaw for the base of this code
2016-07-22 21:42:42 -04:00
Maxime Poulin
0eef5d9240
Add touch slideout menu for mobile
2016-07-22 21:30:45 -04:00
Pavel Djundik
1fa545152f
Create a single function to render networks to reduce code duplication
2016-07-22 01:10:20 -04:00
Jérémie Astori
e3d80d439a
Centralize all icon definitions for better management
2016-07-22 01:04:44 -04:00
Jérémie Astori
5f558ab3a9
Add/fix/remove some CSS transitions
...
- Transition on the search icon was removed, because why was it even
here?!
- A transition was added to the "Play sound" button
- Transition on the Send button is now consistent with the others
2016-07-22 01:00:05 -04:00
Jérémie Astori
a898f46c09
Define icon font only once and fix sizing
...
This commit applies the following across the whole style:
- `font` statement is now the same as official FontAwesome CSS
- Ensure icons are never italic or bold or that other variants can be
applied
- Ensure font-size and line-height of icons are inherited from parent
- font-family and font-smoothing is now defined only once
A few (mostly positive) side effects from these and related changes:
- Header icons (main menu, context menu and user list) are now
vertically centered!
- Same applies to the Send icon, but it's more subtle there
- Alignment of the footer icons are shifted a tiny bit
- Server window icons are a wee bit bit bigger to match the server name
font-size
- The "Play sound" icon and text are now both 14px (was 14px / 16px)
2016-07-22 01:00:05 -04:00
Jérémie Astori
1f59dec834
Improve font icon rendering with font-smoothing
...
This makes all icons look sharper, and reproduces what is applied on the FontAwesome CSS:
https://github.com/FortAwesome/Font-Awesome/blob/4213679/css/font-awesome.css#L19-L20
2016-07-22 01:00:05 -04:00
Jérémie Astori
e116c0db46
Display network name on Connect page when network is locked and info is hidden
2016-07-19 23:11:43 -04:00
Jérémie Astori
0cc4f0e920
Merge pull request #487 from thelounge/astorije/app-name
...
Add "The Lounge" label to the landing pages
2016-07-19 23:09:17 -04:00
William Boman
c821b30374
views/chat: set title attribute on topic
2016-07-18 21:00:40 +02:00
Maxime Poulin
3f86dde979
Merge pull request #486 from thelounge/astorije/notification-menu
...
Add a red dot to the mobile menu icon when being notified
2016-07-17 18:50:02 -04:00
Jérémie Astori
27b33f49a8
Fix a bug breaking textarea on Android
2016-07-17 16:22:27 -04:00
Jérémie Astori
e599f9d69f
Revert "Slight optimization in the textarea code"
2016-07-16 23:38:20 -04:00
Jérémie Astori
9d547315f7
Merge pull request #508 from thelounge/PR/optimize-textarea
...
Slight optimization in the textarea code
2016-07-16 22:46:06 -04:00
Maxime Poulin
001a3c57e0
Merge pull request #497 from thelounge/astorije/about-section
...
Add information on the About section of the client
2016-07-16 14:52:12 -04:00
Maxime Poulin
22d2751a67
Slight optimization in the textarea code
...
Not that it matters (7.9ms->3.8ms), but I figured since I took the time to profile it as a joke I might as well make it a PR. Mobile might have a slight reduction in typing lag from it?
2016-07-16 02:56:54 -04:00
Jérémie Astori
71577cf55e
Display whether instance is running from a release or from git on About section
2016-07-13 03:17:55 -04:00
Jérémie Astori
3ed1768a06
Add useful links in About section in the UI
2016-07-13 02:10:26 -04:00
Jérémie Astori
844a55d290
Improve version text and link in About section in the UI
2016-07-13 02:09:23 -04:00
Jérémie Astori
c9d4513b26
Send user to lobby of deleted chan when parting from active chan
...
Instead of always sending them back to the very first lobby on the app.
This fixes a bug introduced in recent layout change but does not bring previous behavior back:
When closing active channel, user gets sent to lobby instead of previously visited channel.
2016-07-11 01:24:43 -04:00
Maxime Poulin
cc881da2fc
Merge pull request #484 from williamboman/fix/chat-sticky
...
client: fix chat not being stickied to the bottom when joining channel
2016-07-11 01:50:20 +00:00
Maxime Poulin
9ee1adbbb5
Merge pull request #478 from thelounge/astorije/fix-landscape-switch
...
Fix breaking layout when switching portrait/landscape modes
2016-07-11 01:47:46 +00:00
Maxime Poulin
2336d1b9bc
Merge pull request #471 from thelounge/astorije/fix-disappearing-marker
...
Fix unread marker disappearing when opacity set to 1
2016-07-11 01:28:14 +00:00
Jérémie Astori
9ff3f07978
Add "The Lounge" label to the landing pages
2016-07-10 20:46:20 -04:00
Jérémie Astori
0520c6a6ec
Add a red dot to the mobile menu icon when being notified
...
On mobile, there is no favicon to toggle, so nothing shows up when a new notification arrives.
This commit changes this by adding a marker on the burger menu icon, visible on all channels
2016-07-10 16:42:15 -04:00
William Boman
41eede7003
client: fix chat not being stickied to the bottom when joining channel
2016-07-10 13:01:31 +02:00
Jérémie Astori
8118d56e16
Fix breaking layout when switching portrait/landscape modes
...
This re-adds the table layout in CSS removed in 3cddbbce6e
, https://github.com/thelounge/lounge/pull/332 .
2016-07-09 20:03:41 -04:00
Jérémie Astori
a7274abc72
Prevent the app from crashing when no theme is specified
2016-07-08 01:00:23 -04:00
Jérémie Astori
8b87c54b1a
Fix unread marker disappearing when opacity set to 1
2016-07-07 01:14:52 -04:00