Commit graph

648 commits

Author SHA1 Message Date
Johan Lindskogen
987474cfc1 implementing LDAP support 2016-07-29 21:28:00 -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
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
Maxime Poulin
44c31ed15c
Fix themes on textarea 2016-07-06 03:21:51 -04:00
Maxime Poulin
26bf948fdc
Fix being unable to switch window from settings to chan 2016-07-06 03:08:27 -04:00
Maxime Poulin
37b5f28919
Fix window layout a bit 2016-07-06 00:18:40 -04:00
Maxime Poulin
18c615236d Merge pull request #332 from thelounge/xpaw/unread-marker
A proper unread marker
2016-07-06 04:06:14 +00:00
Jérémie Astori
b3d3582d2f Merge pull request #286 from thelounge/xpaw/unknown-command
Display unhandled numerics on the client
2016-07-05 23:23:15 -04:00
Jérémie Astori
3cddbbce6e Improve styling of the unread marker 2016-07-05 15:32:41 -04:00
Pavel Djundik
d37e94308d Unread marker MVP 2016-07-05 15:32:41 -04:00
Maxime Poulin
2d3464aa04
Use a textarea instead of an input for channel messages 2016-07-04 23:49:45 -04:00
Pavel Djundik
34b4a7a018 Merge pull request #366 from thelounge/xpaw/fix-clicks
Improve click handling on users and inline channels
2016-07-03 20:51:20 +03:00
Pavel Djundik
083b2d54e6 Merge pull request #455 from williamboman/fix/tap-hide-chat-prevent-default
client: stop propagation when hiding the chat through click/tapping the chat
2016-07-03 19:10:30 +03:00
William Boman
a23a26679f client: stop propagation when hiding the chat through tapping/clicking 2016-07-03 17:36:18 +02:00
Pavel Djundik
2d7922769f Only trigger custom highlights for non-self messages and notices 2016-07-03 16:28:02 +03:00
Pavel Djundik
cada00ab6a Display unhandled numerics on the client 2016-07-03 11:47:53 +03:00
Pavel Djundik
8b8050d02a Remove javascript scrollbar library, use hover appearing scrollbar instead 2016-07-02 13:28:22 +03:00
Alistair McKinlay
feda6615f9 Add custom highlights 2016-06-29 19:04:39 +01:00
Jérémie Astori
7289844182 Select search targets based on class and not element
This fixes the search after changing from buttons to spans.
2016-06-24 02:31:28 -04:00
Pavel Djundik
1438ba6f93 Change nicks from links to spans everywhere
Fixes #338
2016-06-22 22:34:10 +03:00
Pavel Djundik
da9b0636fb Improve click handling on users and inline channels 2016-06-22 18:36:01 +03:00
Pavel Djundik
c4ac0fd127 Remove navigator.standalone detection 2016-06-22 15:56:33 +03:00
Jérémie Astori
e5dddbac01 Make style of loading page similar to other pages
- Move markup around to make the loading page a window of its own
  instead of a sub-window of `#chat`
- Remove inline styling in loading page
- Use same styling than other non-messages windows for title and text
- Add a `z-index` to the loading page to hide the message input
- Vertically align the sign in page title with all other titles
- Make sure all `h1.title`s are bottom-margined consistently and remove
  negative margin on the Settings page title to align with the Connect
  page title (Reverting/Improving this should be done at the `h2` level
  instead)
2016-06-21 18:01:11 -04:00
Jérémie Astori
1f4e2b42fd Do not display the sidebar on loading and sign-in pages
Also:
- Remove burger menu icon on mobile version of sign-in page
- Add the .signed-out class to the initial body instead of only when
  sign-in has failed
- Remove hiding connect and logout button icons, which was buggy and is
  now useless anyway
2016-06-21 01:17:07 -04:00