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
Manav Rathi
eaccba5f22
Explicit header whitelist
2024-06-15 12:02:29 +05:30
Manav Rathi
562313b218
Tweaks
2024-06-15 11:54:26 +05:30
Manav Rathi
0650d176ee
Latest yarn
...
Corepack will automatically install the latest one
2024-06-15 11:44:39 +05:30
Manav Rathi
6bbd944de4
Update compt date
...
> When you start your project, you should always set compatibility_date to the
> current date. You should occasionally update the compatibility_date field.
>
> https://developers.cloudflare.com/workers/configuration/compatibility-dates/
2024-06-15 11:41:09 +05:30
Manav Rathi
8aaad79897
yarn add --dev '@cloudflare/workers-types@latest'
2024-06-15 11:39:56 +05:30
Manav Rathi
d499549734
Use syntax recommended in docs
...
https://developers.cloudflare.com/workers/configuration/routing/custom-domains
2024-06-15 11:26:54 +05:30
Manav Rathi
af21ff640d
(CF's) fetch can return a promise
2024-06-15 10:03:39 +05:30
Manav Rathi
69e69c2e0f
Formatting and other minor tweaks
2024-06-15 09:54:28 +05:30
atyabbin
93bddbe6f1
Merge branch 'main' into dashboard-improvement
2024-06-10 19:41:29 +05:30
atyabbin
17e48ed83f
Added new components
2024-06-10 19:29:28 +05:30
atyabbin
4c7583240f
Sidebar added
2024-06-10 19:24:32 +05:30
Manav Rathi
ec67437273
[staff] Fix lint
2024-06-10 17:20:02 +05:30
Manav Rathi
f5a90abbaf
[staff] Remove .env.local and rename the env var to match main photos apps
2024-06-10 14:12:23 +05:30
atyabbin
6f1c52d548
Removed the code to retrieve the host from local storage
2024-06-06 15:42:29 +05:30
atyabbin
57629f26c0
Using ENV variables to pass the host
2024-06-06 15:17:00 +05:30
atyabbin
674907cd2a
Added the required lint formatting and email input field
2024-06-05 14:18:19 +05:30
atyabbin
0c29e408f9
dashboard
2024-06-05 01:17:41 +05:30
Manav Rathi
ac32a33358
lf
2024-06-03 15:06:23 +05:30
Manav Rathi
6b6a81b6a8
Need yarn.lock for caching
2024-06-03 15:05:58 +05:30
Manav Rathi
16272dc7b0
README
2024-06-03 15:05:58 +05:30
Manav Rathi
9a47135209
gi yarn.lock
2024-06-03 15:05:58 +05:30
Manav Rathi
c91b0e4d3e
lint
2024-06-03 15:05:58 +05:30
Manav Rathi
ff29bda5ac
gitig
2024-06-03 15:05:58 +05:30
Manav Rathi
78b82e774d
tsconfig
2024-06-03 15:05:58 +05:30
Manav Rathi
2d8b16ca99
Move files
2024-06-03 15:05:54 +05:30
Manav Rathi
e2c894f87f
[infra] Limit the maximum size of the nginx stdout logs
...
nginx logs to stdout, which is captured by docker and put into a file at
/var/lib/docker/containers/<nginx-cont-id>/<id>-json.log
By default, the size of this file is unbounded. Add a maximum limit of 1 GB to this.
References:
- https://docs.docker.com/config/containers/logging/local/
- https://stackoverflow.com/questions/31829587/docker-container-logs-taking-all-my-disk-space
2024-04-10 09:23:48 +05:30
Manav Rathi
5266e5d1dc
[infra] Fix the listmonk upgrade invocation
2024-04-05 16:51:08 +05:30
Manav Rathi
e170b6811d
Tweaks
...
Refs:
https://github.com/knadh/listmonk/blob/master/listmonk-simple.service#L16
2024-04-04 21:27:47 +05:30
Manav Rathi
3ed2186dcf
Initial cut of listmonk setup
2024-04-04 20:23:25 +05:30
Manav Rathi
407eca5414
[server] nginx configuration improvements
...
- Use keepalives
- Update deprecated http2 syntax
- Document how to check config
Refs:
- https://www.nginx.com/blog/avoiding-top-10-nginx-configuration-mistakes/#no-keepalives
- https://github.com/nginxinc/kubernetes-ingress/issues/4237
- https://stackoverflow.com/questions/65944578/how-to-get-nginx-running-in-docker-to-reload-nginx-conf-configuration
2024-04-04 12:36:39 +05:30
Manav Rathi
12aa071adc
[meta] Add a special case for comments in the notifier workaround
...
Discord still hasn't fixed the issue on their end, and having a top level link
whenever a new comment is added is getting cumbersome, so add a handler for the
common comments case too.
Tested and deployed.
2024-03-28 10:11:04 +05:30
Manav Rathi
e25089a55c
[infra] Mention that logging to stdout is a good default for services
2024-03-20 11:28:40 +05:30