Commit Graph

1864 Commits

Author SHA1 Message Date
Jérémie Astori
b01517861d Remove autoload option and always autoload users
Since @xPaw provided a really nice way to watch user config files, there is now no need to be cheap about it (it used to be run every second, possibly why it could be disabled via settings?).

This commit also improves the function a little bit by making use of ES6 syntax.

A warning gets displayed on the server console when the `autoload` option is still present in the config file.
2016-12-11 03:29:30 -05:00
Pavel Djundik
28056d678e Correctly remove closed sockets from oident file, remove unused functions 2016-12-11 08:56:32 +02:00
Jérémie Astori
303fab8519 Merge pull request #749 from thelounge/xpaw/hexip
Add support for hexip ilines and fix storing client ip in config
2016-12-10 19:50:33 -05:00
Jérémie Astori
b1478c1ae1 Merge pull request #782 from thelounge/xpaw/correct-link-chan
Use correct channel when pushing link prefetch messages
2016-12-10 19:44:35 -05:00
Jérémie Astori
cc763bd47a Merge pull request #757 from PolarizedIons/channel-sync
Sync reordering of channels/networks to other clients
2016-12-10 19:40:29 -05:00
Maxime Poulin
3e5a4c9c38 Merge pull request #750 from thelounge/xpaw/reduce-save
Avoid unnecessary disk writes when saving user
2016-12-10 18:19:56 -05:00
Pavel Djundik
4fe3c5e96a Change ghetto timer to debounce 2016-12-10 11:05:34 +02:00
Pavel Djundik
463a63aed3 Avoid unnecessary disk writes if user object has not changed, make updateUser async 2016-12-10 11:05:34 +02:00
Pavel Djundik
62d4cd8fe8 Use correct channel when pushing link prefetch messages
Fixes #781
2016-12-09 23:00:33 +02:00
stepie22
a5ad573b2d Sync reordering of channels/networks to other clients 2016-12-09 14:56:19 +02:00
Jérémie Astori
085ede43df Merge pull request #694 from MaxLeiter/MaxLeiter-image
Add image to readme
2016-12-09 00:44:27 -05:00
Jérémie Astori
9260f6b845 Merge pull request #751 from thelounge/xpaw/watch-autoload
Change ghetto autoload to use fs.watch
2016-12-07 00:35:33 -05:00
Pavel Djundik
69999f9190 Change ghetto autoload to use fs.watch 2016-12-07 00:31:36 -05:00
Jérémie Astori
9e249a1d2f Merge pull request #765 from stepie22/date-separator-fixes
Date separator fixes
2016-12-04 20:13:09 -05:00
Pavel Djundik
0c1156a4d8 Merge pull request #725 from thelounge/astorije/no-root-from-source
Warn against running from source as root in README
2016-12-02 18:28:39 +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
Jérémie Astori
a6f0dfbe47 Merge pull request #755 from IlyaFinkelshteyn/master
Unblock AppVeyor build
2016-11-28 01:00:04 -05:00
Jérémie Astori
0d54879e45 Warn against running from source as root in README 2016-11-27 16:37:47 -05:00
IlyaFinkelshteyn
8d31a0b312 Invalidate cache and use appveyor-retry with npm
Return cache but invalidate it when needed

Add appveyor-retry

Remove spaces
2016-11-25 19:43:24 -08:00
stepie22
aa8e0ae2c2 Set the (correct) time on link expands 2016-11-25 21:27:19 +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
Pavel Djundik
d695c64c04 Merge pull request #671 from stepie22/date-seperator
Add a date separator to channels/PMs
2016-11-24 17:42:24 +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
d6545fd307 Remove appveyor cache 2016-11-20 09:43:08 +02:00
Jérémie Astori
d8ef28c1ae Merge pull request #743 from thelounge/xpaw/print-node-version
Print node version and platform
2016-11-19 23:05:17 -05:00
Jérémie Astori
ee801f8cd0 Merge pull request #748 from thelounge/xpaw/remove-pass-class
Remove errorneous classname from password field
2016-11-19 22:09:24 -05:00
Jérémie Astori
e51d82b0d9 Merge pull request #747 from thelounge/xpaw/keyword-lounge
Add lounge keyword
2016-11-19 22:08:13 -05:00
Pavel Djundik
00548e65d7 Update existing networks with ip and hostmask if null 2016-11-19 22:34:05 +02:00
Pavel Djundik
4078abb085 Correctly save ip and hostname in user config 2016-11-19 22:23:51 +02:00
Pavel Djundik
708788338c Add support for hexip ilines 2016-11-19 20:32:47 +02:00
Pavel Djundik
f8e616ce25 Remove errorneous classname from password field 2016-11-19 12:15:57 +02:00
Pavel Djundik
2f363c9803 Add lounge keyword 2016-11-19 12:05:46 +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
Pavel Djundik
b5db0abc18 Print node version and platform 2016-11-18 19:25:23 +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
b7ff814d8b Merge pull request #736 from williamboman/log-config-file
src/server: log.debug config path on start-up
2016-11-16 00:13:13 -05:00
Jérémie Astori
49c473c85c Merge pull request #732 from thelounge/astorije/fix-notifications
Silence failures to trigger notifications when not available
2016-11-15 21:20:21 -05:00
William Boman
2f77d6981b src/server: log config path on start-up 2016-11-15 18:23:02 +01:00
Max Leiter
9dd8a794e0 Update link 2016-11-14 19:27:11 -08: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