Commit Graph

162 Commits

Author SHA1 Message Date
xdrm-brackets 983fe0073b [lib.channel-controller] remove WebSocket creation -> moved to [lib.room-controller] when the room is fetched then dumped (only when full dump(), with append: false) 2018-04-05 10:51:54 +02:00
xdrm-brackets 5e5fff8545 [lib.api-client] automatic logout when invalid authentication 2018-04-04 16:13:34 +02:00
xdrm-brackets 1d6ec8c5d1 [lib.content-controller] send { rid: .. } for each connection (will be a doublon with room.nav() for the first connection) in order for 'reconnection' to be consistent 2018-04-04 15:43:44 +02:00
xdrm-brackets b7be44de64 [lib.content-controller] listen to 'online' and 'offline' events not to attempt to reconnect while 'offline' + reconnect automatically when back 'online' 2018-04-04 15:30:43 +02:00
xdrm-brackets 19388a8802 [lib.content-controller] managed connection status bar + limited attempts when online + unlimited offline (navigator.onLine) + increasing timeout for attempts 2018-04-04 15:22:34 +02:00
xdrm-brackets fb02ba5407 [scss.layout][setup][vue.auth.wrapper] connection status + [lib.content-controller] connection status management from websocket state 2018-04-04 15:00:41 +02:00
xdrm-brackets d56c056e5b [vue.auth.channel] removed debug 2018-04-04 14:32:31 +02:00
xdrm-brackets d751959e6f [scss.container] fixed chrome flex-colum issue [lib.content-controller] when removing current channel -> navigate to channel{ cid: 1 } 2018-04-04 14:18:19 +02:00
xdrm-brackets 30541caf1c [scss.container] fixed chrome flex-column issue 2018-04-04 12:36:57 +02:00
xdrm-brackets 32863dbe26 [vue.auth.channel] fix textearea cleared when message received 2018-04-04 12:33:44 +02:00
xdrm-brackets 17a3438e5b [lib.content-controller] managed user updates (DEL, ADD, UPD) 2018-04-04 11:59:59 +02:00
xdrm-brackets 1c4db78b36 [lib.content-controller] fixed recursive websocket restart 2018-04-04 11:34:54 +02:00
xdrm-brackets d077cdc909 [lib.client.ws] internal token management (stack kept while token does not match + pop stack only when valid token, else call onclose()) [lib.content-controller] added ws_connect() + ws_handler() [lib.channel-controller] now use ws_connect() 2018-04-04 11:19:31 +02:00
xdrm-brackets 49d12f935e [lib.content-controller] removed users[] management 2018-04-03 22:19:57 +02:00
xdrm-brackets 40c0686400 [lib.content-controller] added channel DELETE/CREATE/UPDATE [MUST TEST] 2018-04-03 22:12:01 +02:00
xdrm-brackets b76d2f8499 [lib.content-controller] added channel deletion + fixed VOICE rooms that kept adding over and over 2018-04-03 21:59:39 +02:00
xdrm-brackets 7467a0012e [lib.room-controller] 'VOICE' rooms can be toggled 2018-04-03 20:54:33 +02:00
xdrm-brackets bcf4dafcc5 [lib.room-controller] fix sending { rid: } 2018-04-03 20:34:16 +02:00
xdrm-brackets 2f5894c459 [lib.channel-controller] fix { rid: } first message after auth 2018-04-03 20:26:55 +02:00
xdrm-brackets 225eef262e [lib.content-controller] better notification 2018-04-03 19:24:48 +02:00
xdrm-brackets 6dfa2b12e1 [lib.content-controller] manage_update() with DELETE/UPDATE/NEW_MESSAGES/CREATE rooms + notification API when messages on another room 2018-04-03 18:56:10 +02:00
xdrm-brackets e8ce193cc0 [lib.channel-controller] fix never closed() WebSocket 2018-04-03 18:00:20 +02:00
xdrm-brackets c1be9fce4e [added] side-menu + works with dynamic room buffer 2018-04-03 17:51:39 +02:00
xdrm-brackets 4f33a1d5a3 [lib.authentication] updated time range to 15min 2018-04-03 17:21:47 +02:00
xdrm-brackets 7ac0f0e487 [scss.container] removed message stack apparition animation [vue.auth.channel] removed animation override 2018-04-03 17:14:52 +02:00
xdrm-brackets a99d82cae2 [vue.auth.channel] added auto-scroll to bottom message stack when stack have 1+ more element 2018-04-03 17:13:11 +02:00
xdrm-brackets e0a662a410 [lib.*] sending message + to refact 2018-04-03 15:37:18 +02:00
xdrm-brackets 7328645735 [lib.content-controller] remove auto_grow() to move it local (inside template [vue.auth.channel]) + added management for ENTER but not SHIFT+ENTER 2018-04-02 21:15:28 +02:00
xdrm-brackets dad14da4a8 [lib.channel-controller] invite(username) leave() remove() 2018-03-29 22:59:00 +02:00
xdrm-brackets 0676b8d747 [page.noauth.login] fetch UID from login request 2018-03-29 13:22:00 +02:00
xdrm-brackets bb8a985db3 [lib.field-manager] 'basic-name' now can feature dots '.' 2018-03-29 13:19:30 +02:00
xdrm-brackets 1ea9a713b7 [lib.field-manager] 'basic-name' 'url-name' cannot have trailing spaces 2018-03-29 13:14:37 +02:00
xdrm-brackets 32f4e9a7b3 [lib.popup-controller][scss.global] design for 'loading' animation in submit <button> before api response + [lib.*-controller] when called from popup will call 'gs.get.popup().hide' to remove the loading animation and close the popup 2018-03-29 12:56:17 +02:00
xdrm-brackets 3e3a9197b2 [lib.client.xhr] fix when no token do not send anything [popup] added 'room.remove' popup [lib.room-controller] method 'remove' to remove a room 2018-03-29 12:31:23 +02:00
xdrm-brackets dbe360f695 [vue.auth.dialog][scss.dialog] added icon to remove rooms 2018-03-29 11:57:25 +02:00
xdrm-brackets 9400f8bff5 minmod 2018-03-29 01:45:18 +02:00
xdrm-brackets e8c046f315 [lib.channel-controller] fix create [lib.content-controller] do not forget to set UID in 'POST user/token' 2018-03-29 01:37:15 +02:00
xdrm-brackets 4e4d80b7bb [lib.channel-controller] fix dump() to clear list before updating 2018-03-29 01:30:47 +02:00
xdrm-brackets d48d865be6 [liv.field-manager] fix error code 2018-03-29 01:27:08 +02:00
xdrm-brackets 236b03775e [BIGUPDATE] [lib.field-validator] added generic field validator with error message generation + is_valid() checker [popup] refactored all 2018-03-29 01:26:18 +02:00
xdrm-brackets a494f2a45e [popup] added 'password.change' with API 2018-03-28 22:54:49 +02:00
xdrm-brackets 3be8516130 [vue.auth.dialog] update color 2018-03-28 21:52:45 +02:00
xdrm-brackets 9d8d052d6d [popup] added 'channel.remove' 'channel.remove' + fixed icons in [dialog] 2018-03-28 21:51:04 +02:00
xdrm-brackets e3fd7e147d [vue.auth.menu][lib.channel-controller] removed FIRST and LAST false channels replaced with HARD-CODED elements with associated links (/me channel no more accessible) + [lib.content-controller] eased rbuf() with creating buffer copy in {lib.room-controller}.buffer and {lib.channel-controller}.buffer 2018-03-28 21:04:49 +02:00
xdrm-brackets f4be2b1bad [lib.client.xhr] added 401 HTTP_STATUS as valid response 2018-03-28 20:29:11 +02:00
xdrm-brackets 2a2637251d [scss.dialog] added toggle 'unfold'/'exit' icon in header [popup] added 'channel.invite' must implement lib.channel-controller.invite(username) 2018-03-28 20:06:26 +02:00
xdrm-brackets 5bad9bfc73 added popup to change nickname (must create lib.content-controller.change_username()) 2018-03-28 19:54:16 +02:00
xdrm-brackets 4a101ee576 [lib.authentication] now stores also 'user' data alongside the token [webpack.main] [webpack.setup] added 'auth' (lib.authentication) to GStore to display username, etc + renamed 'auth' to 'authed' (which is a boolean to know if the user is connected [page.noauth.login] added explicit errors + do not redirect in case wrong combination [page.noauth.register] added explicit errors [vue.auth.dialog] implemented LOGOUT 2018-03-28 19:42:29 +02:00
xdrm-brackets f971c2483b [vue.auth.dialog] added channel dialog 2018-03-28 17:25:30 +02:00
xdrm-brackets 665edead89 update 2018-03-28 15:54:19 +02:00