Commit Graph

1461 Commits

Author SHA1 Message Date
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
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
Maxime Poulin
ebab910e00 Merge pull request #489 from thelounge/astorije/fix-parting
Send user to lobby of deleted chan when parting from active chan
2016-07-15 03:00:31 +00:00
Jérémie Astori
f9c7255d0b Ignore unnecessary files at release time
- `client/views/` contains templates whose built version is provided
  with each releases
- `.gitignore` doesn't appear in our releases, but I'm not sure if this
  comes from npm itself or Travis CI publishing for us. Adding it here
  for completeness.
- Surprisingly, `.npmignore` itself is not ignored...
- All other files and directories are for development purposes only
2016-07-13 23:57:56 -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
4920cfeed9 Merge pull request #473 from thelounge/astorije/self-toggle
Add self info to TOGGLE messages to prevent unread marker to render for oneself
2016-07-11 02:35:24 +00: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
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
Maxime Poulin
28938be10d Merge pull request #474 from thelounge/astorije/fix-crash-theme
Prevent the app from crashing when no theme is specified
2016-07-08 06:09:05 +00: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
b1674f4f20 Add self info to TOGGLE messages to prevent unread marker to render for oneself 2016-07-07 02:53:30 -04:00
Jérémie Astori
8b87c54b1a Fix unread marker disappearing when opacity set to 1 2016-07-07 01:14:52 -04:00
Alistair McKinlay
548a8d7130 Merge pull request #467 from thelounge/PR/oops
Fix slight bugs introduced by #379 and #465
2016-07-06 10:53:27 +01: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
Jérémie Astori
faaa37cfe2 Merge pull request #465 from thelounge/PR/fix-textarea
Fix window layout a bit
2016-07-06 00:40:32 -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
Jérémie Astori
114295a1bd Merge pull request #379 from maxpoulin64/textarea
Add textarea support
2016-07-05 00:48:23 -04:00
Maxime Poulin
2d3464aa04
Use a textarea instead of an input for channel messages 2016-07-04 23:49:45 -04:00
Jérémie Astori
51666b6db6 Merge pull request #461 from thelounge/xpaw/check-config
Only load config if it exists
2016-07-04 17:00:24 -04:00
Pavel Djundik
08f197f912 Only load config if it exists 2016-07-04 23:15:30 +03:00
Alistair McKinlay
7ba11b8913 Merge pull request #458 from thelounge/xpaw/irc-bind
Register irc-framework events before connecting
2016-07-04 16:14:44 +01:00
Pavel Djundik
1d3037bd00 Register irc-framework events before connecting 2016-07-04 17:58:28 +03:00
Alistair McKinlay
b2a10cc813 Merge pull request #457 from thelounge/irc-fw-25
Update irc-framework to 2.5.0
2016-07-04 15:46:41 +01:00
Pavel Djundik
2470fa7217 Update irc-framework to 2.5.0 2016-07-04 17:32:03 +03:00
Alistair McKinlay
9c07f2b0f2 Merge pull request #387 from thelounge/xpaw/config
Cache loaded config and merge it with defaults
2016-07-04 08:18:55 +01:00
Jérémie Astori
2ffcbd8533 Merge pull request #417 from thelounge/xpaw/channels
Store channels in array format
2016-07-03 17:56:08 -04:00
Pavel Djundik
e445fd8e25 Store channels in array format 2016-07-03 21:58:31 +03: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