Commit graph

2500 commits

Author SHA1 Message Date
Jérémie Astori ed68ff4a34
Make sure CLI does not crash on undefined.length when we figured out users could not be read already 2017-08-23 13:21:15 -04:00
Jérémie Astori cdbefd3905
Make The Lounge private mode by default 2017-08-23 13:21:14 -04:00
Jérémie Astori 684f1a641d
Make sure server is running before loading users 2017-08-23 13:21:14 -04:00
Jérémie Astori aa49856446
Warn when adding or listing users in public mode 2017-08-23 13:21:14 -04:00
Jérémie Astori f221121998
Inform when no users during autoload to take into account removing the last user 2017-08-23 13:21:14 -04:00
Jérémie Astori 90842267e8
Do not prevent server to run when there are no users in private mode 2017-08-23 13:20:46 -04:00
Jérémie Astori 9811f2be02 Merge pull request #1444 from thelounge/xpaw/protect-history-loading
Do not unintentionally send incorrect messages from history
2017-08-23 09:27:12 -04:00
Pavel Djundik c24e48bdb5 Merge pull request #1445 from thelounge/xpaw/gitignore-vapid-keys
Ignore vapid.json generated during tests
2017-08-23 14:23:54 +03:00
Pavel Djundik 1bf2be1b51 Do not unintentionally send incorrect messages from history 2017-08-23 14:17:53 +03:00
Pavel Djundik 45d974a0c3 Ignore vapid.json generated during tests 2017-08-23 12:36:35 +03:00
Jérémie Astori 91ecd99c84 Merge pull request #1442 from thelounge/astorije/fix-condensed-time
Fix time placeholder showing on mobile format for condensed messages
2017-08-23 02:48:35 -04:00
Jérémie Astori 51bd46b871
Fix time placeholder showing on mobile format for condensed messages
As an extra, make sure time placeholder cannot be selected anymore, and do not do an extra call to `tz` helper when time is not relevant/displayed.

I tried to entirely remove `time`/`from` blocks, but because of flexbox layout, that broke message alignment...
2017-08-23 02:23:54 -04:00
Pavel Djundik fcd9782eb7 Merge pull request #1124 from thelounge/xpaw/push-notifications
Implement push notifications
2017-08-22 23:16:41 +03:00
Jérémie Astori 3b79a3df90 Merge pull request #1358 from starquake/highlight-wordboundary
Take into account wordboundaries for custom highlighting
2017-08-22 09:35:55 -04:00
Jérémie Astori b0b2518e10 Merge pull request #1438 from thelounge/astorije/env-var-doc
Add documentation for LOUNGE_HOME environment variable in the CLI helper
2017-08-22 09:30:51 -04:00
Jérémie Astori 9917b9259f Merge pull request #1356 from MaxLeiter/MaxLeiter/two-char-emoji
Only match emoji autocomplete after two characters
2017-08-22 09:23:11 -04:00
Max Leiter 64ea29f46d Only match emoji autocomplete after two characters 2017-08-22 11:04:38 +03:00
Pavel Djundik 36f2f644ea Add tests for stripping formatting 2017-08-22 10:54:18 +03:00
Pavel Djundik 0ac3ba28e1 Web Push Notifications 2017-08-22 10:54:18 +03:00
Jérémie Astori a99ea14dc0 Merge pull request #1439 from thelounge/astorije/more-standard-css
Get closer to stylelint's standard config
2017-08-21 13:54:58 -04:00
Jérémie Astori e5ee53fc1f
Use leading-zero notation to get closer to stylelint standard config 2017-08-21 02:22:40 -04:00
Jérémie Astori 5d77bcb7c8
Use double-colon on pseudo elements to get closer to stylelint standard config 2017-08-21 02:18:33 -04:00
Jérémie Astori ac3ce74343
Read default LOUNGE_HOME from .lounge_home file 2017-08-21 02:03:40 -04:00
Jérémie Astori 98bfe349d9
Add documentation for LOUNGE_HOME environment variable in the CLI helper 2017-08-21 01:49:32 -04:00
Pavel Djundik 1e9910f899 Merge pull request #1437 from thelounge/xpaw/cleanup-condensed
Cleanup condensed appendMessage
2017-08-20 19:37:32 +03:00
Pavel Djundik 0c0d45ff4f Cleanup condensed appendMessage 2017-08-19 21:47:23 +03:00
Pavel Djundik f2f350c0c5 Merge pull request #1435 from thelounge/greenkeeper/eslint-4.5.0
Update eslint to the latest version 🚀
2017-08-19 11:28:03 +03:00
Pavel Djundik a7f336507a Merge pull request #1434 from thelounge/greenkeeper/babel-loader-7.1.2
Update babel-loader to the latest version 🚀
2017-08-19 11:27:37 +03:00
greenkeeper[bot] 1314ecd77d chore(package): update eslint to version 4.5.0 2017-08-19 03:12:36 +00:00
greenkeeper[bot] ae297e4269 chore(package): update babel-loader to version 7.1.2 2017-08-18 23:02:09 +00:00
Jan Visser 43cc2792c9 Take into account wordboundaries for custom highlighting 2017-08-18 14:26:41 +02:00
Jérémie Astori 14eb0c0d7f Merge pull request #1427 from thelounge/readme-features
Add feature overview in readme
2017-08-17 23:22:34 -04:00
Pavel Djundik 533fe25db4
Add feature overview in readme 2017-08-17 23:14:27 -04:00
Jérémie Astori 3e39bdb329 Merge pull request #1425 from thelounge/greenkeeper/babel-core-6.26.0
Update babel-core to the latest version 🚀
2017-08-16 22:38:30 -04:00
Jérémie Astori 3c117a6b88 Merge pull request #1426 from thelounge/update-packages
Update express and ua-parser-js to latest versions
2017-08-16 21:33:30 -04:00
Pavel Djundik e8b83b85c2 Update express and ua-parser-js to latest versions 2017-08-16 22:26:12 +03:00
greenkeeper[bot] 697ae217b9 chore(package): update babel-core to version 6.26.0 2017-08-16 17:14:29 +00:00
Jérémie Astori 10d38e107c Merge pull request #1419 from thelounge/xpaw/remove-homedir-polyfill
Remove os.homedir() polyfill
2017-08-16 12:56:55 -04:00
Pavel Djundik 8343f3cdcf
Remove os.homedir() polyfill 2017-08-16 12:48:07 -04:00
Jérémie Astori 8dd6b0f25a Merge pull request #1424 from thelounge/greenkeeper/webpack-3.5.5
Update webpack to the latest version 🚀
2017-08-16 12:14:23 -04:00
greenkeeper[bot] 047be5d638 chore(package): update webpack to version 3.5.5 2017-08-16 15:17:13 +00:00
Pavel Djundik 21aba63e09 Merge pull request #1417 from thelounge/astorije/fix-full-width-status-messages
Fix expanded status messages not taking up full line width
2017-08-16 11:09:38 +03:00
Pavel Djundik e6200f1461 Merge pull request #1421 from thelounge/yamanickill/1420-user-options-falsey
Fix issue with falsey user options getting overridden by truthy defaults
2017-08-16 11:09:22 +03:00
Alistair McKinlay bc2a37913f Fix issue with falsey user options getting overridden by truthy defaults 2017-08-16 09:01:09 +01:00
Pavel Djundik aef1bb3acc Merge pull request #1418 from thelounge/astorije/cli-config-take-two
Document recent CLI changes in help + rename to .lounge_home
2017-08-16 09:34:47 +03:00
Jérémie Astori 507cc61d5c
Rename new file holding config location for consistency
`.lounge_config` is misleading as this file does not contain the config itself. Also, env var is called `LOUNGE_HOME`, deprecated flag is `--home`, so it makes more sense that way.
2017-08-16 00:34:29 -04:00
Jérémie Astori 5e7a7a3870
Update CLI help with regard to recent deprecation of --home option
- Mark the option as deprecated (cannot be removed from the help, unfortunately)
- Add details to `lounge config` regarding `LOUNGE_HOME`
- Remove mention of `--home` in default config file
2017-08-16 00:33:33 -04:00
Jérémie Astori f93634df39 Merge pull request #1416 from thelounge/xpaw/handle-distro-configs
Use .lounge_config to help distribution packages handle config paths right
2017-08-15 20:11:38 -04:00
Jérémie Astori 270fd8d4f9 Fix expanded status messages not taking up full line width 2017-08-15 20:06:18 -04:00
Pavel Djundik 5299d976c0 Use .lounge_config to help distribution packages handle config paths right 2017-08-15 21:57:47 +03:00