Jérémie Astori
fa1aecdd9e
Remove URI.js monkey-patch as fix landed in v1.18.5
...
See https://github.com/medialize/URI.js/issues/325
2017-04-21 20:31:27 +03:00
Jérémie Astori
03e3444a35
Explain the modules of the message parser and add tests
...
- Add comments and descriptions to:
- `findChannels.js`
- `parseStyle`
- `findLinks`
- `fill`
- `anyIntersection`
- `merge`
- `parse`
- Minor optimizations to `parseStyle`
- Add tests for `fill`
2017-04-21 20:31:27 +03:00
Jérémie Astori
90f4a94bb2
Use template literals in parse
...
Also make it output double quotes for consistency with web stuff.
2017-04-21 20:31:27 +03:00
Jérémie Astori
5b4c00d8ca
Extract findLinks into its own file and add tests
...
Tests were taken from 5a249c30b1/test/findLinks.js
.
The underlying code is different but the tests are the same.
2017-04-21 20:31:27 +03:00
Bonuspunkt
0b85ded53f
Add bonuspunkt's parser
...
Fixes #15 .
Fixes #199 .
Fixes #583 .
Fixes #654 .
Fixes #928 .
Fixes #1001 .
2017-04-21 20:29:04 +03:00
Alistair McKinlay
05d363d9a5
Create socket module
2017-04-21 09:54:46 +01:00
Alistair McKinlay
adfd99c92c
Add fix for undefined name being slugified
2017-04-21 09:32:57 +01:00
Alistair McKinlay
b4310dbc03
Review changes
...
(Should be squashed before merge)
2017-04-21 09:26:02 +01:00
Alistair McKinlay
cc85b2143c
Change index.html to be rendered using handlebars
2017-04-21 09:16:24 +01:00
Pavel Djundik
8658f15751
Merge pull request #1051 from thelounge/astorije/irc-colors-https
...
Use HTTPS version to the IRC color guide
2017-04-20 16:09:50 +03:00
Al McKinlay
9072fda146
Merge pull request #1052 from KlipperKyle/KlipperKyle/motd
...
Issue 1019: Show MOTD by default
2017-04-20 09:07:27 +01:00
Jérémie Astori
5bab511c42
Use HTTPS version to the IRC color guide
2017-04-20 01:50:03 -04:00
Jérémie Astori
4de632ba3c
Merge pull request #1018 from swordbeta/sort_channel_list
...
Improve channels list.
2017-04-20 01:40:14 -04:00
Michael van Tricht
764ac831d4
Improve channels list.
...
- Set fixed width to channel and users column.
- Sort by number of users in channel.
- Executing /list multiple times wont show multiple tables.
- Channel list is not stickied to the bottom.
- Limit channels to 500. Scrolling through 1k is very slow on my system.
2017-04-19 12:02:15 +02:00
Kyle Terrien
a900abc2a4
Issue 1019: Show MOTD by default
2017-04-18 19:48:14 -07:00
Alistair McKinlay
4938878d10
Disable show more button when loading messages
2017-04-17 10:35:27 +01:00
Daniel Oaks
5c336d3789
Add slug with command to unhandled messages
2017-04-16 12:31:32 +03:00
William Boman
cc0962ba12
client: implement states using the History Web API
2017-04-15 22:34:14 +02:00
Pavel Djundik
d093a7f4c2
Reset notification markers on document focus
...
Fixes #837
2017-04-15 18:43:34 +03:00
Jérémie Astori
8627bbb713
Merge pull request #1032 from thelounge/userlist-sticky
...
Stick to bottom when opening user list
2017-04-15 01:51:44 -04:00
Jérémie Astori
ecb60e3c78
Merge pull request #1033 from thelounge/preload-scripts
...
Preload scripts as soon as possible
2017-04-15 01:35:38 -04:00
Pavel Djundik
1e2e8a82db
Add rel noopener to URLs in index.html
2017-04-14 21:36:41 +03:00
Pavel Djundik
8020c3c817
Preload scripts as soon as possible
2017-04-14 21:29:40 +03:00
Pavel Djundik
507bf05d24
Remove referrer meta tag, we send Referrer-Policy header
2017-04-14 21:29:40 +03:00
Pavel Djundik
fce3d11e74
Stick to bottom when opening user list
...
Fixes #1031
2017-04-14 21:29:04 +03:00
Jérémie Astori
b7d353b620
Remove invalid CSS perspective properties
...
These are not valid without units per the CSS validator, which is confirmed in the Chrome dev tools. I could not trigger any consequences by removing these.
2017-04-13 02:30:36 -04:00
Jérémie Astori
5b721c1b99
Update Primer tooltips to latest v0.5.3
...
This:
- Makes tooltips appear after timer instead of instantly, necessary for timestamp tooltips (see https://github.com/thelounge/lounge/pull/824#pullrequestreview-13676231 )
- Uses Primer default animation (not sure if .2s transition was ours or theirs but here it is)
- Goes closer to default tooltips which will help to bump future versions and/or to streamline this in build process
2017-04-13 01:55:27 -04:00
Pavel Djundik
5d36b29aa8
Only disable touch tooltips on certain buttons
2017-04-13 01:55:27 -04:00
Pavel Djundik
c0a7ae9d92
Use css tooltips on time elements
2017-04-13 01:55:27 -04:00
Michael van Tricht
bcbd29cd22
Unread marker takes hidden messages into account.
2017-04-08 15:56:09 +02:00
Michael van Tricht
8744d754ff
Fix Zenburn and Morning channel list font color.
2017-04-06 16:45:01 +02:00
Jérémie Astori
b8c49463a9
Merge pull request #524 from thelounge/PR/inline-preview
...
Improve inline previews for links and images
2017-04-06 03:00:54 -04:00
Pavel Djundik
bb24bc645c
Merge pull request #1013 from awalgarg/patch-1
...
fix: count only message items for show-more
2017-04-06 06:43:29 +03:00
Awal Garg
c066f25b17
fix: count only message items for show-more
...
the `messages` div contains a `date-marker` div and an `unread-marker` div. this causes the `count` variable to be 2 more than the expected value, which makes the show-more button skip two messages when loading history. this change filters the counted elements to fix this issue.
2017-04-06 00:45:28 +05:30
Jérémie Astori
dce42df050
Fix link preview title going underneath the user list
...
Also fix the preview description not respecting the ellipsis, and update the image size and margin to nicely align with text.
2017-04-04 02:31:44 -04:00
Jérémie Astori
d842517c4e
Fix image preview talking full width
...
Bootstrap was taking over these declarations because they use `!important`.
2017-04-04 02:09:53 -04:00
Maxime Poulin
6a273d825a
Improve inline previews for links and images
2017-04-04 01:40:51 -04:00
Jérémie Astori
09eaf80f8c
Fix page scroll glitch
2017-04-02 21:03:01 -04:00
Pavel Djundik
2d9aa35c06
Implement pgup/pgdown keys
2017-04-01 22:35:07 +03:00
Pavel Djundik
110c0f0c87
Correctly append date marker when receiving a message
2017-04-01 11:06:01 +03:00
Jérémie Astori
953325aca3
Merge pull request #523 from thelounge/PR/fix-msg-width
...
Remove table layout for chat messages (and fix layout issues yet again)
2017-04-01 02:40:03 -04:00
Pavel Djundik
212703d162
Merge pull request #810 from thelounge/xpaw/color-hotkeys
...
Implement color hotkeys
2017-03-31 19:17:16 +03:00
Jérémie Astori
4363ef4abe
Merge pull request #973 from thelounge/xpaw/use-require
...
Use require() instead of import in client code
2017-03-31 01:41:29 -04:00
Jérémie Astori
e62da5b1ea
Remove extra newline to please ESLint
...
See https://travis-ci.org/thelounge/lounge/jobs/217041734#L1200
2017-03-31 01:26:37 -04:00
Jérémie Astori
abd155e881
Merge pull request #873 from PolarizedIons/fix-username-override
...
Fix filling in the nickname, overriding the username (in add network tab)
2017-03-31 01:20:12 -04:00
Jérémie Astori
fb672ab57f
Improvements to the new flex layout for messages
2017-03-30 19:50:48 -04:00
Maxime Poulin
35b6b47de3
Remove table layout for chat messages (and fix layout issues yet again)
2017-03-30 19:50:48 -04:00
Pavel Djundik
2b85315b39
Merge pull request #992 from swordbeta/patch-1
...
Help page: commands can be autocompleted.
2017-03-30 11:32:25 +03:00
Jérémie Astori
da0a52e3cb
Fix wrong font size in help center labels
...
This only concerns plain texts, not `<code>` or `<kbd>`.
2017-03-30 02:19:26 -04:00
Michael van Tricht
3f031ba6ff
Help page: commands can be autocompleted.
2017-03-29 10:11:12 +02:00
Jérémie Astori
7487c1c1ac
Merge pull request #978 from williamboman/feat/data-from
...
views/msg: set data-from attribute to allow styling messages from specific user(s)
2017-03-27 19:40:33 -04:00
William Boman
c6ed95e555
views/msg: set data-from attribute to allow styling messages from specific user(s)
2017-03-20 23:08:28 +01:00
Pavel Djundik
3b2e3fc08c
Enforce more space and new line rules
2017-03-18 21:40:39 +02:00
Stephan
3318acd16b
fix filling in nickname overriding username (in add network tab)
2017-03-18 18:11:43 +02:00
Pavel Djundik
dcefcd19cb
Use require() instead of import in client code
...
Closes #895
2017-03-18 11:21:18 +02:00
Jérémie Astori
8ef99d7ad8
Add shortcuts for new formatting in help window
2017-03-13 01:58:39 -04:00
Pavel Djundik
f2e43b84be
Implement color hotkeys
2017-03-12 11:50:18 +02:00
Jérémie Astori
c1fc185643
Move "About The Lounge" section from Settings to Help window
2017-03-10 20:23:45 -05:00
Jérémie Astori
0f9b12f2b8
Add a help window within the app
...
This brings commands and keyboard shortcuts from the website, after a massive overhaul. It comes as part of the big documentation rewrite that I am currently doing.
`kbd` design inspiration from GitHub, `code` design inspiration from Bootstrap.
This help page is accessible from an icon in the sidebar, near the Settings icon.
2017-03-10 20:23:45 -05:00
Al McKinlay
166e43ec39
Fix body height
...
#821 fixed #793 , but it appears since then, Chrome has changed the behaviour back to what it was befor ethe fix, so 2.2.0 on Chrome 56+ is even more broken.
2017-02-06 12:41:17 +00:00
Jérémie Astori
dcc98c3efb
Un-ellipsis placeholder and use ES6 template
2017-01-24 23:55:57 -05:00
Alistair McKinlay
0d8b58425e
Merge pull request #855 from MaxLeiter/MaxLeiter/search
...
Fix searching for user in user list, closes #851
2017-01-04 11:15:14 +00:00
Jérémie Astori
a5cb6abf72
Merge pull request #829 from thelounge/xpaw/incrase-contrast
...
Increase IRC colors contrast
2017-01-04 01:49:27 -05:00
Jérémie Astori
280d145502
Merge pull request #836 from thelounge/xpaw/slideout-width
...
Calculate menu width on touch start
2017-01-04 01:48:38 -05:00
Max Leiter
ba00738f1f
Fix searching for user in user list, closes #851
2016-12-29 18:03:05 -10:00
Pavel Djundik
c75771f13d
Fix stuff that breaks in jQuery 3
2016-12-29 23:43:10 +02:00
Pavel Djundik
8fd1d161ea
Remove vendor client code
2016-12-27 19:15:31 +02:00
Pavel Djundik
fb87bd3a58
Webpack
2016-12-27 19:15:30 +02:00
Jérémie Astori
7ae11babcb
Add human-readable idle time in whois info
2016-12-22 00:21:16 -05:00
Jérémie Astori
0489d0f2ae
Merge pull request #832 from thelounge/astorije/context-aware-placeholder
...
Remind channel name or nick in input placeholder
2016-12-21 18:16:06 -05:00
Jérémie Astori
783c8d41a3
Merge pull request #822 from thelounge/xpaw/hexip-username
...
Hide username field when hexip is enabled
2016-12-21 18:12:53 -05:00
Pavel Djundik
3017e67f3a
Calculate menu width on touch start
...
Fixes #831
2016-12-21 19:58:36 +02:00
Jérémie Astori
4501c9f4f1
Fix missing placeholder prefixes and make styles consistent for Morning and Zenburn
2016-12-20 20:42:08 -05:00
Jérémie Astori
b07ec94bc3
Remind channel name or nick in input placeholder
2016-12-20 20:13:05 -05:00
Pavel Djundik
d0dee0c47a
Remove margin on date marker on smallest screen size
2016-12-21 01:32:23 +02:00
Pavel Djundik
46689b96b3
Increase IRC colors contrast
2016-12-20 21:19:40 +02:00
Pavel Djundik
c37d2b435e
Hide username field when hexip is enabled
2016-12-20 13:14:27 +02:00
Alistair McKinlay
6887b66f67
Merge pull request #820 from thelounge/xpaw/fix-unread-disappear
...
Fix unread marker being removed from DOM
2016-12-19 19:11:26 +00:00
Pavel Djundik
bf71c4b9bd
Make html container take the entire screen estate
2016-12-19 15:12:29 +02:00
Pavel Djundik
7709847267
Fix unread marker being removed from DOM
2016-12-19 14:46:18 +02:00
Pavel Djundik
d24eb44991
Merge pull request #818 from thelounge/xpaw/no-notif-controls
...
Strip control characters from notifications
2016-12-19 12:52:12 +02:00
Pavel Djundik
8fff5ee829
Strip control characters from notifications
2016-12-18 18:19:03 +02:00
Pavel Djundik
3d6e4a38c6
Prevent focus on mobile
2016-12-17 21:17:23 +02:00
Pavel Djundik
7933b2453d
Only append "says" to notifications if its a message
2016-12-17 13:05:12 +02:00
Jérémie Astori
3d0e1fd9f0
Merge pull request #745 from thelounge/xpaw/away-command
...
Implement /away and /back commands
2016-12-16 23:16:02 -05:00
Jérémie Astori
86358c619b
Lock input message when app is disconnected
2016-12-14 01:35:32 -05:00
Jérémie Astori
c20813609b
Style connection error message consistently with the rest of the app, above the message input
2016-12-13 01:58:05 -05:00
Pavel Djundik
a8926e2ced
Stop refreshing the page on every socket.io error
2016-12-13 01:55:11 -05:00
stepie22
a5ad573b2d
Sync reordering of channels/networks to other clients
2016-12-09 14:56:19 +02:00
stepie22
10fefab279
Switch to jQuery's hasClass instaid of checking direct class equality
2016-12-01 13:25:49 +02:00
stepie22
c160852042
slight nit-pick
2016-11-28 19:55:16 +02:00
stepie22
06ecf625c6
Fix date-marker not being removed when at the top of the page sometimes
2016-11-25 18:05:04 +02:00
stepie22
93f0f6942e
Add a date seperator
2016-11-23 16:35:42 +02:00
Alistair McKinlay
c954d9c9a3
Merge pull request #739 from williamboman/fix/dont-dismiss-notifications
...
client: don't dismiss native web notifications programmatically after 5s
2016-11-22 15:44:03 +00:00
Jérémie Astori
adf93f9fad
Merge pull request #746 from thelounge/xpaw/update-deps
...
Update depdencides to latest stable versions
2016-11-20 14:46:16 -05:00
Pavel Djundik
f8e616ce25
Remove errorneous classname from password field
2016-11-19 12:15:57 +02:00
Pavel Djundik
6023035838
Update depdencides to latest stable versions
2016-11-19 10:49:16 +02:00
Pavel Djundik
f24f707119
Implement /away and /back commands
2016-11-19 10:27:39 +02:00
William Boman
6e1cdb370b
client: don't dismiss native web notifications programmatically after 5s
2016-11-16 17:43:30 +01:00
Jérémie Astori
dff1a48e05
Prevent sound notification to throw an exception on mobile
2016-11-08 01:02:56 -05:00
Jérémie Astori
e21ec8b447
Silence failures to trigger notifications when not available
...
Recent Chrome versions are dropping out `new Notification` in favor of `ServiceWorkerRegistration.showNotification`.
This makes sure nothing bad happens until we have proper support for Service Workers.
See:
- https://stackoverflow.com/questions/29774836/failed-to-construct-notification-illegal-constructor
- https://stackoverflow.com/questions/31512504/html5-notification-not-working-in-mobile-chrome
2016-11-08 01:02:25 -05:00
Pavel Djundik
837f78f1ae
Merge pull request #483 from williamboman/fix/focus-input-on-submit
...
client: re-focus input on chat form submit
2016-10-28 19:14:26 +03:00
Jérémie Astori
e9b118ea71
Merge pull request #708 from thelounge/astorije/nick-cycle
...
Add a UI element to cycle through nick completions on mobile
2016-10-25 18:45:07 -04:00
Maxime Poulin
0bef9e9cde
Merge pull request #720 from stepie22/unread-counters-fix
...
Fix unread counters resetting when they shouldn't
2016-10-25 12:41:10 -04:00
stepie22
ee1a629be9
Fix incorrect selector for undead badge on channels
2016-10-25 13:58:28 +02:00
Jérémie Astori
ddaf7ff300
Add a way to cycle through nicks on mobile
...
This was heavily inspired by https://github.com/maxpoulin64/lounge/commit/a877e46 .
Clearly not a definitive solution but a good start to have and to improve upon.
2016-10-25 01:03:43 -04:00
Jérémie Astori
61a582f71f
Merge pull request #702 from stepie22/dragndrop-fix
...
Fix channels behaving strangely while dragging
2016-10-23 10:34:02 -04:00
Jérémie Astori
c85e4070b1
Merge pull request #716 from thelounge/xpaw/match-h2-color
...
Match window title border line to text color
2016-10-23 09:55:02 -04:00
stepie22
1a4974b7df
Fix channels drag'n'droping
2016-10-23 11:47:33 +02:00
Pavel Djundik
35af3b1710
Add id to submit button
2016-10-23 11:16:55 +03:00
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
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
Pavel Djundik
85a536726f
Display a loading message instead of blank page
2016-06-19 20:38:38 +03:00
Jérémie Astori
500c6e2f2b
Merge pull request #364 from williamboman/fix/chat-input-focus
...
client: fix focusing input when clicking chat container
2016-06-19 12:01:34 -04:00
Jérémie Astori
75c578c02c
Merge pull request #369 from thelounge/xpaw/fix-losing-auth
...
Do not lose authentication token when the connection gets lost
2016-06-18 22:35:12 -04:00
Pavel Djundik
a94b9623f9
Prepend http protocol to www. links in chat
...
Fixes #406
2016-06-16 17:40:02 +03:00
Pavel Djundik
2008abc0e8
Do not lose authentication token when the connection gets lost
2016-06-13 10:39:01 +03:00
Pavel Djundik
9384cd9ca6
Implement user token persistency
2016-06-13 10:33:39 +03:00
William Boman
e5905dee9e
client: fix focusing input when clicking chat container
2016-06-10 15:21:34 +02:00
Pavel Djundik
2ffd85d89f
Update eslint and enforce key-spacing
2016-06-05 21:48:34 +03:00
Pavel Djundik
b6fa4471ab
Merge pull request #346 from maxpoulin64/sticky-fix
...
Keep chat stickied to the bottom on resize
2016-06-05 11:31:04 +03:00
Pavel Djundik
8ebe29fca5
Merge pull request #361 from thelounge/astorije/npm-font-awesome
...
Fetch Font Awesome from npm instead of embedded in repo
2016-06-05 10:53:43 +03:00
Maxime Poulin
312b7eaa0c
Keep chat stickied to the bottom on resize
...
Fixes the chat not staying at the bottom when opening the on-screen keyboard on mobile.
2016-06-04 20:01:53 -04:00
Pavel Djundik
3b8be7f888
Do not hide timestamps on small viewports
2016-06-03 23:10:32 +03:00
Jérémie Astori
c84cefe1d8
Fetch FontAwesome from npm instead of embedded in repo
2016-06-03 00:21:44 -04:00
Pavel Djundik
12760a8bb0
Merge pull request #354 from omnicons/master
...
Add "!" modechar for admin
2016-05-31 11:38:23 +03:00
Jérémie Astori
7157076aad
Merge pull request #355 from MaxLeiter/update-fontawesome
...
Updates Font-Awesome to v4.6.3
2016-05-28 18:04:09 -04:00
Max Leiter
2dffc10102
Updates Font-Awesome to 4.6.3
2016-05-28 12:47:49 -07:00
Alex Howard
963cc95388
Add ! modechar to admin
...
For the odd network out that uses it!
2016-05-27 23:39:14 -04:00
Maxime Poulin
21eafef32d
Don't send completely empty messages
2016-05-25 03:27:25 -04:00
Pavel Djundik
080495e0d1
Turn favicon red on page load if there are highlights
2016-05-23 20:51:24 +03:00