Commit graph

295 commits

Author SHA1 Message Date
Jérémie Astori f975426c61
Rename the error handlers file at loading time 2017-12-21 18:23:54 -05:00
Jérémie Astori 0ffd4d60d9
Improve error page at loading
- Display the "Reload page" instantly and not after 5 seconds
- Remove stack trace, buggy anyway
- Wrap the error details so it does not expand beyond boundaries (scrollbar would not show up either)
- Do not show the slow-loading warning on error
- Make zeeoe details selectable instead of editable
- Label improvements
2017-12-21 18:22:53 -05:00
Max Leiter 32b4349130 Update to primer on npm, set tooltipped-no-delay for all tooltips 2017-12-20 22:04:13 -08:00
Pavel Djundik e3823803aa Handle javascript errors while loading 2017-12-03 17:16:56 +02:00
Pavel Djundik e86a155ec2 Remove express-handlebars, read manifest.json to get theme-color 2017-11-19 19:43:43 +02:00
Pavel Djundik c30f4aaaeb Move help to view 2017-11-19 19:43:43 +02:00
Pavel Djundik 55d1625ab2 Split connect and settings into templates 2017-11-19 19:43:42 +02:00
Pavel Djundik 303dddb12e wip 2017-11-19 19:43:42 +02:00
Jérémie Astori 0e55dafd8a WIP 2017-11-19 19:43:42 +02:00
dgw 3677cb4c8b Restore autocompletion help
Cleaned up and updated the section for the current version of The Lounge.
Resolves #1147.
2017-11-05 05:57:34 -06:00
Jérémie Astori 5728424c75
Use monospace font in custom CSS textarea 2017-09-26 11:21:42 -04:00
Pavel Djundik d7e6db92b5 Implement session list 2017-09-26 10:56:08 +03:00
Pavel Djundik 1c065ad1b6 Remove duplicate keybindings help 2017-09-20 10:57:43 +03:00
Pavel Djundik 05fc00d9be Display all the status changes in UI 2017-09-19 11:45:22 +03:00
Alistair McKinlay 59d2f93f61
Allow themes from npm 2017-09-17 19:47:29 -04:00
Jérémie Astori 90cb79ac91 Merge pull request #845 from MaxLeiter/MaxLeiter/away-notify
Use away-notify to show updates on users away state
2017-09-17 14:45:27 -04:00
Max Leiter 163cfaba3c Use away-notify to show user away status change 2017-09-17 11:16:48 -07:00
Al McKinlay f2fb05e7c9 Merge pull request #1526 from thelounge/astorije/rm-clear
Get rid of `/clear` command and keybind
2017-09-14 07:23:36 +01:00
Élie Michel f26c2dad0f
Take an optional argument in /part
Fix #1430
2017-09-13 20:24:45 -04:00
Jérémie Astori 92f8c2bfef
Get rid of /clear command and keybind
Since the introduction of infinite scrolling, `/clear` is now broken. As far as I can tell, there is no way to reproduce something decent (and working!) without drastically changing its behavior from "hide the messages in current channel" to "permanently destroy all messages in memory in the current channel", which is not a great change to introduce sneakily 😂.

The code for this was very trivial, so removing it now until there is a better way to do so, if this is ever possible.

Also, `/clear` was not even autocompleted, sooo...
2017-09-13 20:06:03 -04:00
Jérémie Astori 220af0e180 Merge pull request #1449 from dgw/cycle-command
Add /cycle command (a.k.a. /rejoin)
2017-08-31 23:45:54 -04:00
Jérémie Astori ad8ec4b1e6
Remove the "Stay signed in" checkbox at login
This option is less and less the norm on modern webapps, it is fair to assume this is the default behavior. In fact, we were making it the default.

But more importantly, coming soon is the ability of remotely logging out of your other sessions, which is well handled through token deletion. That means we need to know about said tokens, which are not sent in no-"Stay signed in" version.
2017-08-31 23:07:43 -04:00
dgw bed6053cec Add /cycle command (a.k.a. /rejoin)
Closes #1436
2017-08-31 06:43:32 -05:00
Pavel Djundik 0ac3ba28e1 Web Push Notifications 2017-08-22 10:54:18 +03:00
Jérémie Astori b508783101
Improve UI of expanded/condensed status message selection in client settings 2017-08-13 16:14:38 -04:00
Jérémie Astori 0cdc2a0a04
Replace status message abbr with a tooltipped icon 2017-08-13 16:14:37 -04:00
Alistair McKinlay 499dfdfe92
Condense Joins 2017-08-13 14:30:30 -04:00
Pavel Djundik c14f7da1b2 Generate unique tokens for each login and session 2017-07-31 02:02:15 +03:00
Jérémie Astori 511b173b6f
Add an image viewer for thumbnails and image previews 2017-07-16 19:25:48 -04:00
Pavel Djundik e2c5468d27 Merge pull request #1328 from thelounge/xpaw/remove-ie-compat
Remove X-UA-Compatible
2017-07-15 11:56:38 +03:00
Max Leiter 46b7296b87 Add mask-icon for pinned safari tab 2017-07-14 18:32:54 -07:00
Pavel Djundik 43f1b6b627 Remove X-UA-Compatible
Ref: https://stackoverflow.com/a/26348511/2200891
2017-07-14 12:18:01 +03:00
Al McKinlay 2d853f20aa Merge pull request #1309 from thelounge/astorije/collapse-previews
Add collapse/expand commands to toggle all previews
2017-07-09 15:20:48 +01:00
Jérémie Astori b1fa78665c Merge pull request #1294 from awalgarg/autocomplete-optout
Allow opting out of autocomplete
2017-07-08 03:46:35 -04:00
Jérémie Astori cff76d033d
Reword link preview settings to better match reality
- s/Links and URLs/Link previews/: From a user perspective, these are the same thing... These options are for the prefetcher, not the URLs themselves
- s/thumbnails/images/: What we call thumbnails are for "site" previews, not actual image links
- s/links/websites/: Technically, both image and non-image links are links, "websites" carries a tiny bit better the meaning
2017-07-07 02:23:44 -04:00
Jérémie Astori e08f18f447
Add collapse/expand commands to toggle all previews 2017-07-07 00:18:37 -04:00
Awal Garg 8c8d683348 Allow opting out of autocomplete 2017-07-03 22:37:38 +05:30
Pavel Djundik c1068164f5 Fix stray end tag 2017-06-22 11:34:47 +03:00
Jérémie Astori 1a6f2fc387 Merge pull request #1150 from bews/bews/dev-9-reload
Add "reload page" button when Lounge fails to start.
2017-06-10 13:25:37 -04:00
Niko Bews cba87582a5 Add "reload page" button when Lounge fails to start. 2017-06-10 20:15:32 +03:00
Pavel Djundik 53ffcb5960 Merge pull request #1141 from bews/bews/dev-6-seconds
Show seconds in timestamp
2017-06-10 16:15:03 +03:00
Niko Bews fd983a7f6b Show seconds in timestamp 2017-06-10 14:53:15 +03:00
Pavel Djundik 16fb118d02 Correctly configure client transports
Fixes #848
2017-06-01 22:43:23 +03:00
Jérémie Astori 60bf4b22b0
Remove autocompletion section from the help page
Rationale for this is that the whole point of autocompletion is to be intuitive and show up naturally when starting to type something else. For example, all commands start with `/`, so obviously starting to type a command will trigger autocomplete. This is true for channels as well. Emoji are a bit particular because all systems that support emoji open their completion with `:`. The only not-so-intuitive completion strategy is for nicks because it is not so common to start them with `@` on IRC, but as long as we keep tab completion after any set of characters, this is fine. It will be even nicer once regular tab completion uses the same autocompletion dropdown.
2017-05-01 15:32:23 +02:00
Pavel Djundik dd5e50fc68 Merge pull request #1062 from thelounge/remove-cycle-nicks
Remove cycle nicks button
2017-04-26 11:41:51 +03:00
Jérémie Astori e000ba45df
Improve details of emoji/chan/nick/command autocompletion
- Make dropdown items match context menu items
- Disable transparency on dropdown item links
- Clean up help page additions
- Better align help page autocompletion characters
- Use ES6 features (`const`, arrow functions, method definition shorthands)
- Use `Array#filter` instead of `$.map`
- Do not display `@` in nick completion *when* only one `@` is used (to be less confusing and more consistent)
2017-04-26 13:58:43 +05:30
Yash Srivastav 29d8bc9d3d
Add Help for autocompletion 2017-04-26 13:58:43 +05:30
Alistair McKinlay b03d01b6eb Add ban/unban command
Fixes #1073
2017-04-26 08:54:25 +01:00
Alistair McKinlay b69ba5e4b1 Fix showing prefetch options 2017-04-25 10:26:52 +01:00
Pavel Djundik d1ecdb6b52 Fix displayNetwork to work correctly 2017-04-22 19:05:58 +03:00