Commit graph

5 commits

Author SHA1 Message Date
Ankush Menat
023297b52d feat: socketio health check 2024-04-22 11:42:17 +05:30
Ankush Menat
1dcfadf5ca
test: fix cypress tests (#26012)
* ci: less retries for cypress

waste of cpu cycles and time, produces misleading output

* test: fix workspace tests

* chore: drop flaky af tests

* fix: Avoid sending `"undefined"` as docname
2024-04-17 15:26:18 +00:00
Ankush Menat
266b2797aa refactor: use Fetch API instead of superagent 2024-04-06 21:26:45 +05:30
Ankush Menat
2a56869c99 refactor: better permission checking on sockets
- no more "can subscribe X"
- add a new util function on socket `has_permission`

Basic usage:

```js
socket.has_permission(doctype, [name]).then(() => { // do something });
```
2024-04-06 21:14:48 +05:30
Ankush Menat
4778090024 refactor!: Frappe handlers using same extensible socketio 2024-04-06 18:39:16 +05:30
Renamed from realtime/handlers/frappe_handlers.js (Browse further)