Commit Graph

1500 Commits

Author SHA1 Message Date
Maxime Poulin
bec0c74772 Merge pull request #552 from thelounge/astorije/logger
Use our logger instead of console.{log,error} for LDAP logs
2016-08-11 01:44:54 -04:00
Maxime Poulin
11654ff3c1 Merge pull request #553 from thelounge/astorije/fix-auth-token
Fix token persistency across server refresh
2016-08-11 01:41:21 -04:00
Jérémie Astori
14782a56b7 Use our logger instead of console.{log,error} 2016-08-10 02:40:28 -04:00
Jérémie Astori
cf64cb04c4 Fix token persistency across server restarts
This fixes a regression introduced by LDAP support addition
(https://github.com/thelounge/lounge/pull/477), which forces
users to re-login when the server restarts. This was originally
implemented in https://github.com/thelounge/lounge/pull/370.
2016-08-10 02:26:47 -04:00
Jérémie Astori
facf306045 2.0.0-pre.6 2016-08-10 01:06:05 -04:00
Jérémie Astori
e6800c5ace Add change log entry for upcoming v2.0.0-pre.6 2016-08-10 01:05:53 -04:00
Jérémie Astori
1fb14771ef Merge pull request #477 from thisisdarshan/ldap
LDAP support
2016-08-09 23:58:21 -04:00
Jérémie Astori
a6ffffa715 Fix super minor typo in change log entry title 2016-08-07 18:02:30 -04:00
Jérémie Astori
b74efe9657 2.0.0-pre.5 2016-08-07 18:00:10 -04:00
Jérémie Astori
a579f5afe5 Add change log entry for upcoming v2.0.0-pre.5 2016-08-07 17:58:58 -04:00
Maxime Poulin
5c19b723f5 Merge pull request #546 from thelounge/astorije/no-debug-in-releases
Disable debug logs in npm releases
2016-08-06 14:57:41 -04:00
Jérémie Astori
a0315b13d1 Disable debug logs in npm releases
This is temporary until https://github.com/thelounge/lounge/issues/459, but
meanwhile we should not be spamming connection debug messages in releases
or pre-releases.
2016-08-06 14:14:38 -04:00
Jérémie Astori
9d5f6f01b3 Merge pull request #541 from hho/patch-1
Prevent Ctrl-Tab from triggering tab completion
2016-08-06 13:56:06 -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
Maxime Poulin
376fdee8b1 Merge pull request #539 from thelounge/astorije/restore-input-margin
Restore padding and height of message input pre-textarea era
2016-08-02 01:00:07 -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
Maxime Poulin
bdfa7400f4 Merge pull request #537 from thelounge/astorije/fix-border-radius
Fix accidentally removed border-radius
2016-08-01 12:09:14 -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
Jérémie Astori
61ea8313fd Merge pull request #527 from thelounge/PR/fix-unread-clear
Reset the unread marker on channel change
2016-07-26 10:28:54 -04: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
828289af5a Merge pull request #493 from thelounge/astorije/improve-fonts
Improve font icon management, sizing and sharpness
2016-07-22 01:22:55 -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
38d772c794 Merge pull request #500 from thelounge/astorije/run-pr-script
Add a script to easily run PRs from external contributors
2016-07-21 23:48:49 -04:00
Jérémie Astori
54a131db8b Merge pull request #488 from thelounge/astorije/network-name
Display network name on Connect page when network is locked and info is hidden
2016-07-20 01:39:44 -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
Maxime Poulin
412f28aaee Merge pull request #516 from thelounge/astorije/fix-git-check
Make sure git commit check would not send stderr to the console
2016-07-18 22:33:30 -04:00
Jérémie Astori
9e188bad4b Make sure git commit check would not send stderr to the console
Before that change, running a release would display this in the console:
```
fatal: Not a git repository (or any of the parent directories): .git
```

Also, this adds strict mode for that file, and make sure `gitCommit` never throws a `ReferenceError`.
2016-07-18 21:35:02 -04:00
Jérémie Astori
449c5bff44 Merge pull request #515 from williamboman/fix/topic-span-title
views/chat: set title attribute on topic
2016-07-18 21:15:14 -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
b5e8ee6d7d Merge pull request #504 from thelounge/astorije/fix-reset-textarea-height
Use min-height of textarea when computing auto-resize after deleting a char
2016-07-17 18:20:26 -04:00
Jérémie Astori
92685f57fa Add a script to easily run PRs from external contributors 2016-07-17 16:39:54 -04:00
Jérémie Astori
27b33f49a8 Fix a bug breaking textarea on Android 2016-07-17 16:22:27 -04:00
Maxime Poulin
7d627e379d Merge pull request #511 from thelounge/revert-508-PR/optimize-textarea
Revert "Slight optimization in the textarea code"
2016-07-17 04:09:01 -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
9333851d97 Merge pull request #499 from thelounge/astorije/better-npmignore
Ignore unnecessary files at release time
2016-07-16 14:56:18 -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