65 Commits

Author SHA1 Message Date
Manav Rathi
a2decb5030
Workers 2024-12-30 14:45:10 +05:30
Manav Rathi
fd301ff116
[infra] Add data-puller CF worker 2024-11-04 13:40:41 +05:30
Manav Rathi
e9938c2ac4
[workers] Restrict CORS ACAH headers to the whitelist 2024-07-05 18:17:34 +05:30
Manav Rathi
9c11a7f4b7
[meta] Prettier 3.3
No breaking changes that affect us.

https://prettier.io/blog/2024/06/01/3.3.0
2024-07-05 17:51:07 +05:30
Manav Rathi
37296806d6
Format 2024-06-21 11:35:24 +05:30
Manav Rathi
14e0afd867
[workers] Use yarn workspaces
The duplicate disk usage of individual node_modules is starting to get
prohibitive.
2024-06-21 11:33:38 +05:30
Manav Rathi
e6a47b29bb
[infra] Import Sentry configuration into monorepo 2024-06-19 10:54:04 +05:30
Manav Rathi
544a1df21b
Log on all non-200 responses from upstream 2024-06-18 09:58:36 +05:30
Manav Rathi
1dffe49069
Apparently shared albums code also uses the upload URL
Need to understand more why this is happening, but it is.
2024-06-18 09:55:44 +05:30
Manav Rathi
64dedb7edd
thumb 2024-06-18 09:50:20 +05:30
Manav Rathi
7566702569
Allow albums.ente.io/sh 2024-06-18 09:38:45 +05:30
Manav Rathi
b7fdf6c66b
Log on errors 2024-06-17 18:35:59 +05:30
Manav Rathi
9f5115cc08
[workers] Ignore case when comparing allowed headers 2024-06-17 18:31:45 +05:30
Manav Rathi
80b34f1aef
Reduce spurious logs for headers our clients send 2024-06-17 09:03:27 +05:30
Manav Rathi
d5a8586152
Import functionality
Rewritten but referencing the code imported from dashboard
2024-06-17 03:40:20 +05:30
Manav Rathi
bfcd84c940
Whitelist the necessary one 2024-06-16 20:56:28 +05:30
Manav Rathi
a4bc5fa0df
OPTIONS 2024-06-16 20:49:44 +05:30
Manav Rathi
ed406e7eb0
Sketch 2024-06-16 20:33:56 +05:30
Manav Rathi
483e3be682
Improvements 2024-06-16 19:40:03 +05:30
Manav Rathi
17f0d77a31
Reorder to fix errors 2024-06-16 19:18:39 +05:30
Manav Rathi
c6f644ef8a
[workers] Import health check worker 2024-06-16 19:12:52 +05:30
Manav Rathi
9e4412cbee
Correct place 2024-06-16 14:52:15 +05:30
Manav Rathi
f4bab262ca
Import 2024-06-16 14:47:35 +05:30
Manav Rathi
73fd63616d
Sketch 2024-06-16 14:39:05 +05:30
Manav Rathi
9362a4b9d3
Reduce log noise 2024-06-16 14:29:54 +05:30
Manav Rathi
90845bdb02
Rename 2024-06-16 14:12:16 +05:30
Manav Rathi
f6729be5ab
Fix typo 2024-06-16 14:09:20 +05:30
Manav Rathi
344c5cc399
Desktop origin includes scheme 2024-06-16 14:06:20 +05:30
Manav Rathi
6e1ea29c39
Implement
Rewritten, but referencing the existing worker imported from the dashboard
2024-06-16 13:51:42 +05:30
Manav Rathi
d76c6dd63c
Sketch 2024-06-16 13:24:56 +05:30
Manav Rathi
290564c973
x-client-package
Albums app is using the old axios layer which is passing "x-client-package",
will also allow that for now
2024-06-16 10:06:22 +05:30
Manav Rathi
b781f33e4b
ditto 2024-06-16 09:57:44 +05:30
Manav Rathi
b8bc01561d
GET
Rewritten, but referencing the existing worker imported from the dashboard
2024-06-16 09:55:49 +05:30
Manav Rathi
734cb798d3
Handle options
Rewritten, but referencing the existing worker imported from the dashboard
2024-06-16 09:27:59 +05:30
Manav Rathi
ac8ebd0ed3
Skeleton 2024-06-16 08:56:07 +05:30
Manav Rathi
fc5eb296d2
Disable default route 2024-06-16 08:39:59 +05:30
Manav Rathi
24845a4735
Update README 2024-06-15 22:56:32 +05:30
Manav Rathi
2b490fe131
Cleanup 2024-06-15 22:49:35 +05:30
Manav Rathi
07f0cc9342
Need to pass creds in authorization header 2024-06-15 22:35:38 +05:30
Manav Rathi
49ddd287d0
Only log interesting events 2024-06-15 20:18:10 +05:30
Manav Rathi
bffcd11100
console.log 2024-06-15 19:47:20 +05:30
Manav Rathi
25d6ebdb19
Add a check for an upcoming restriction 2024-06-15 19:42:10 +05:30
Manav Rathi
64a539adb0
Hook it up 2024-06-15 19:23:05 +05:30
Manav Rathi
3646809f06
Promise<void>
Ref: https://dev.to/krasun/pushing-cloudflare-worker-logs-to-grafana-loki-1elg
2024-06-15 19:18:39 +05:30
Manav Rathi
fb0e857514
Push the entire event (it contains the worker name too) 2024-06-15 19:16:17 +05:30
Manav Rathi
a1059c543b
Fill in 2024-06-15 19:09:42 +05:30
Manav Rathi
8fe2b9cb27
The protocol 2024-06-15 18:27:44 +05:30
Manav Rathi
5e080a90e3
Skeletal tail worker 2024-06-15 17:51:46 +05:30
Manav Rathi
60b1c32567
Note 2024-06-15 12:09:21 +05:30
Manav Rathi
bd6ac2c4fc
Sync 2024-06-15 12:03:32 +05:30