Commit Graph

32 Commits

Author SHA1 Message Date
Luk
a25b448db4 ignore *nogit* and *nosf* 2024-09-22 15:52:46 +08:00
Luk
4df2c12997 standardize console.log format 2024-09-21 11:26:26 +08:00
Luk
fa2251861b sendObject: add _passtoken automatically 2024-09-19 11:21:29 +08:00
Luk
61e441b596 千辛万苦一整天多发现一个隐蔽bug: uni.connectSocket 返回后,socket 很可能并未 open,导致这期间的 sendObject({skevent:'SOCKET_OWNER'}) 会静悄悄失败,导致后台的 socket.skid/usid 并未被正确记录。通过设置 messageQueue 来解决了这个问题。 2024-09-18 10:23:16 +08:00
Luk
b92876fb09 注意到,前端显示仍然连接着 socket,但后台却判断为不是 OPEN。所以把 if 改成 try. 2024-09-16 15:03:56 +08:00
Luk
b05c626d40 添加 initSocket({stateManager}) 参数,自动更新外部的状态变量 stateManager.socketAlive 2024-09-15 00:41:29 +08:00
luk
3f7ce6b195 add isAlive() to return connection status 2024-09-08 11:51:08 +08:00
Luk
207cafa645 improve gitignore and seafile-ignore 2024-04-24 14:19:04 +08:00
Luk
1793ad8e8a console.xxx({_at, ...}) 2024-02-05 09:49:11 +08:00
Luk
43269c82e6 add heartbeating 2024-02-04 11:29:25 +08:00
Luk
ebbf67fba9 updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh 2024-01-28 12:19:17 +08:00
80fb7c8f35 update seafile-ignore.txt 2023-09-12 14:20:46 +08:00
cc43820651 u 2023-08-14 11:41:04 +08:00
90971f2a93 u 2023-04-29 10:05:28 +08:00
930a81dbff u 2023-03-16 08:08:56 +08:00
2cb5ed7389 update .gitignore to ignore *.gitignore.* instead of envar-*.gitignore.js 2023-03-11 08:27:19 +08:00
c67143c020 'add seafile-ignore.txt to every git repo' 2023-01-12 20:10:03 +08:00
0ddf6cb943 update to standard .gitignore 2022-12-10 19:13:09 +08:00
5ba89fdcfd update [.gitignore] to ignore /unpackage/* except for !/unpackage/res/ 2022-10-06 20:06:57 +08:00
2efafe726f [.prettierrc.js] update jsxBracketSameLine:false to bracketSameLine:true so that HTML closing bracket not in a seperate line; [package.json] delete standardx 2022-10-05 13:10:46 +08:00
08183e6b2c u 2022-09-10 20:32:07 +08:00
cc7fd41607 use standard [.gitignore] file 2022-08-20 10:25:46 +08:00
4fc23e323f rename libraries 'basend-*' to 'wo-base-*', 'corend-*' to 'wo-core-*', 'usend-*' to 'wo-user-*' 2022-08-17 09:00:28 +08:00
f5338ba1a8 u 2022-06-05 22:06:41 +08:00
b5ff71c360 rename index.js to usersocket.js 2022-04-01 21:37:28 +08:00
a328c0c4ff initSocket 返回本身 2022-04-01 20:53:13 +08:00
d3395e98e7 change 'module.exports=' to 'export default' 2022-02-14 12:11:43 +08:00
3bfd7ad6b2 批量重命名 npm/* 使用标准前缀 base|core|user 2021-09-16 21:53:50 +08:00
004f613615 rename socket to webUserSocket 2021-06-20 09:27:25 +08:00
0b19d5b93e u 2021-04-07 20:52:14 +08:00
3d31e55b8f add .gitignore 2021-01-26 19:04:41 +08:00
d72d80d7db first init 2021-01-25 10:07:04 +08:00