Skip to content

first example of WebSocket instead of Socket.io #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
Feb 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
7038310
first example of WebSocket instead of Socket.io
GitGinocchio Jan 26, 2025
c700eda
Update sock.js
GitGinocchio Jan 26, 2025
689eb1b
Durable Objects setup
GitGinocchio Jan 28, 2025
a141c1a
websocket route and minor changes
GitGinocchio Jan 28, 2025
8c74f96
directory structure refactoring
GitGinocchio Jan 29, 2025
ab90416
added app directory and first auth implementation
GitGinocchio Jan 29, 2025
60dbb1c
Update wrangler.toml
GitGinocchio Jan 30, 2025
11c3480
Merge branch 'syncify-cfworkers' into cfw-websockets
GitGinocchio Jan 30, 2025
3f7f0aa
spotify client auth with durable object (not finished)
GitGinocchio Jan 31, 2025
fdd7e5d
Merge branch 'syncify-cfworkers' into cfw-websockets
GitGinocchio Jan 31, 2025
43d96b9
Merge branch 'syncify-cfworkers' into cfw-websockets
GitGinocchio Jan 31, 2025
36664be
Inclusion of functionality from an untrusted source (PROBLEM SOLVED)
ildesh Jan 31, 2025
90cd379
Merge branch 'syncify-cfworkers' into cfw-websockets
GitGinocchio Jan 31, 2025
b5ca86f
Update user.html
ildesh Jan 31, 2025
0f12e44
Merge branch 'cfw-websockets' of https://github.com/GitGinocchio/Sync…
ildesh Jan 31, 2025
c772ff2
moving dev folder and a new idea for the icon
ildesh Jan 31, 2025
cf01fc5
client authentication and login (not finished)
GitGinocchio Jan 31, 2025
d74a167
Merge branch 'syncify-cfworkers' into cfw-websockets
GitGinocchio Jan 31, 2025
1823434
Auth flow major changes
GitGinocchio Feb 2, 2025
0071039
secrets handling and minor changes
GitGinocchio Feb 3, 2025
6ffd1a3
join room id error fix
GitGinocchio Feb 4, 2025
3dd5187
Cloudflare kv (key-value pair) implementation with rooms
GitGinocchio Feb 4, 2025
8d8a55a
create 404 page and link to worker
ildesh Feb 5, 2025
90fdadf
404 route fix and minor changes
GitGinocchio Feb 6, 2025
84a4e6f
Update sock.js
GitGinocchio Feb 6, 2025
0bb1225
Page 403 & 404
ildesh Feb 6, 2025
7c5c9dc
Update 403.css
ildesh Feb 6, 2025
aaa9eaf
minor changes
GitGinocchio Feb 6, 2025
993fc10
minor changes
GitGinocchio Feb 15, 2025
ed98f97
auth persistent across reload fixed
GitGinocchio Feb 16, 2025
793b432
minor changes
GitGinocchio Feb 16, 2025
a89e336
Update durables.js
GitGinocchio Feb 16, 2025
701c899
join post route and some paths fixes
GitGinocchio Feb 17, 2025
101e896
migrating to typescript and durable structure
GitGinocchio Feb 17, 2025
d921dfd
old directories cleanup
GitGinocchio Feb 17, 2025
593bde9
Update worker.ts
GitGinocchio Feb 18, 2025
906adc9
Room receive and send message using WebSocket
GitGinocchio Feb 18, 2025
9122df0
Update durables.ts
GitGinocchio Feb 18, 2025
db59b94
Update codeql.yml
GitGinocchio Feb 19, 2025
161e1d0
Chat and members menu working
GitGinocchio Feb 19, 2025
c8e74c1
room deletion and minor changes
GitGinocchio Feb 20, 2025
dc70576
adjust a div in user and fix css
ildesh Feb 21, 2025
34bf47a
Improved client connection system
GitGinocchio Feb 21, 2025
a97bab6
Merge branch 'syncify-cfworkers' into cfw-websockets
GitGinocchio Feb 21, 2025
c7238c8
Per user & device Rate Limiter and room cookies fix
GitGinocchio Feb 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 2 additions & 0 deletions .old/dev/notes.txt → .dev/notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ PYTHON
- spotipy.oauth2.SpotifyOauthError: error: invalid_grant, error_description: Invalid authorization code
- Premere il tasto disconnect fara' automaticamente uscire dalla stanza l'utente se e' in una
- Utilizzare CosmosAsync per ottenere le informazioni necessarie dell'utente vedi spicetify
✔ Sostituire il field ownerid della room con owner, all'interno di owner ci devono essere le proprieta dell'utente
- Sostituire l'array di devices con un device solo, in questo modo per ogni utente sara' presente uno e un solo device collegato allo stesso momento

HTML
- User
Expand Down
7 changes: 7 additions & 0 deletions .example.dev.vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
JWT_SECRET_KEY = "your_secret_key_here"

USER_ACCESS_TOKEN_MAX_AGE = "1d"
USER_COOKIE_MAX_AGE = 86400

ROOM_ACCESS_TOKEN_MAX_AGE = "1d"
ROOM_COOKIE_MAX_AGE = 86400
2 changes: 0 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ jobs:
include:
- language: javascript-typescript
build-mode: none
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.wrangler
.old
node_modules
.vscode
.vscode
.env
.dev.vars
255 changes: 0 additions & 255 deletions .old/SyncifyExt/syncify.js

This file was deleted.

52 changes: 0 additions & 52 deletions .old/SyncifyWeb/__init__.py

This file was deleted.

Loading