Commit Graph

33 Commits

Author SHA1 Message Date
Julian Lam
922d49be0b fix(style): switch..case 2020-06-03 11:26:08 -04:00
Barış Soner Uşaklı
4083a6e39b feat: add awaitable socket.emit 2020-02-27 19:22:19 -05:00
Julian Lam
289dada5f7 fix(deps): update to eslint@6 2019-06-22 21:23:32 -04:00
Barış Soner Uşaklı
e59b907d7c fix: #7229 2019-02-06 14:55:22 -05:00
Baris Usakli
69e0dbbf4a fix: #7091, #7093 2018-12-18 14:02:54 -05:00
Peter Jaszkowiak
ba619c7ec8 style(eslint): match operator-linebreak preferences 2018-11-30 13:38:59 -05:00
Peter Jaszkowiak
89c025d102 feat: close #7002, console message if mismatched origins 2018-11-30 13:38:59 -05:00
Julian Lam
84433f29ab Do not require a full refresh on login/logout (#6841)
* no-refresh login as well, plus lots of fixes for missing config on login

* replace config with new set on logout as well

* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook

* fixed issues with socket.io not properly representing uid on server

* some light refactoring and cleanup

* minor cleanup, fixed spa logout not working after login

* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately

* Dynamically replace chat and slideout menu on updateHeader()

... instead of just the menu items.

* more efficient calls to Benchpress and translator /cc @pitaj

* fix: chats and notification handlers not working after login

* fix: accidentally calling cb multiple times
2018-11-07 12:34:12 -05:00
Barış Soner Uşaklı
245e1a9159 closes #6334 2018-02-28 16:32:39 -05:00
Julian Lam
a4a961639d only triggering forum updated messaging if hostname matches, fixes #6333 2018-02-20 15:32:44 -05:00
Julian Lam
73d4517d27 Revert "fixes #5894"
This reverts commit e2b40ddf34.
2017-08-23 21:38:58 -04:00
Julian Lam
9d2bf4746c Revert "fix reload loop for guests"
This reverts commit a67a0b0a08.
2017-08-23 19:32:10 -04:00
Julian Lam
a67a0b0a08 fix reload loop for guests 2017-08-23 19:30:30 -04:00
Julian Lam
e2b40ddf34 fixes #5894 2017-08-23 15:11:15 -04:00
psychobunny
b3bd70235a refactor ban messaging; add ban duration to message; use bootbox instead of alert 2017-05-05 19:31:49 -04:00
Peter Jaszkowiak
b227297ef3 ESlint no-use-before-define 2017-02-18 18:55:33 -07:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
b09b3aef7f ESlint no-undef, remove global comments 2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
ce9be7e694 closes #5132 2016-11-10 15:59:08 +03:00
Julian Lam
f97f45a138 logic to show a modal to banned users when they try to log in via SSO 2016-10-27 14:16:37 -04:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
f7540a7edc closes #4811 2016-08-25 21:56:17 +03:00
Julian Lam
e26166a45b closes #4950 2016-08-16 13:48:56 -04:00
barisusakli
1cf2b81f3d Revert "herp derp"
This reverts commit 9c9d805a32.
2016-01-22 13:25:49 +02:00
barisusakli
9c9d805a32 herp derp 2016-01-22 13:24:38 +02:00
barisusakli
767c798b2f log self account delete, logout on self account delete 2016-01-22 13:24:38 +02:00
barisusakli
0d23c56281 removed event:disconnect 2015-11-05 11:31:59 -05:00
barisusakli
bac2a0d959 removed event:connect use socket.io connect event duh 2015-11-05 11:25:53 -05:00
barisusakli
fbfb39f967 moved socket connection out of app.js 2015-09-18 10:58:32 -04:00