fix(patch): curl URL delimiter bug, add DM grapheme limit patch
This commit is contained in:
11
patching/049-social-app-dockerfile-chat-grapheme.patch
Normal file
11
patching/049-social-app-dockerfile-chat-grapheme.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/Dockerfile
|
||||
+++ b/Dockerfile
|
||||
@@ -68,6 +68,8 @@
|
||||
npm install --global yarn && \
|
||||
yarn config set registry https://registry.npmjs.org/ && \
|
||||
yarn install --frozen-lockfile --network-timeout 100000 && \
|
||||
+ if [ -f 230-atproto-api-chat-grapheme-limit.patch ] && [ -d node_modules/@atproto/api ]; then \
|
||||
+ patch -f -p1 -d node_modules/@atproto/api < 230-atproto-api-chat-grapheme-limit.patch || true; fi && \
|
||||
yarn intl:build 2>&1 | tee i18n.log && \
|
||||
if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compile errors!\n\n"; fi && \
|
||||
SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN SENTRY_RELEASE=$EXPO_PUBLIC_RELEASE_VERSION SENTRY_DIST=$EXPO_PUBLIC_BUNDLE_IDENTIFIER yarn build-web
|
||||
20
patching/220-atproto-chat-grapheme-limit.patch
Normal file
20
patching/220-atproto-chat-grapheme-limit.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/lexicons/chat/bsky/convo/defs.json
|
||||
+++ b/lexicons/chat/bsky/convo/defs.json
|
||||
@@ -18,7 +18,7 @@
|
||||
"text": {
|
||||
"type": "string",
|
||||
"maxLength": 10000,
|
||||
- "maxGraphemes": 1000
|
||||
+ "maxGraphemes": 10000
|
||||
},
|
||||
"facets": {
|
||||
"type": "array",
|
||||
@@ -40,7 +40,7 @@
|
||||
"text": {
|
||||
"type": "string",
|
||||
"maxLength": 10000,
|
||||
- "maxGraphemes": 1000
|
||||
+ "maxGraphemes": 10000
|
||||
},
|
||||
"facets": {
|
||||
"type": "array",
|
||||
20
patching/230-atproto-api-chat-grapheme-limit.patch
Normal file
20
patching/230-atproto-api-chat-grapheme-limit.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/dist/client/lexicons.js 2026-04-01 12:13:01
|
||||
+++ b/dist/client/lexicons.js 2026-04-01 12:13:12
|
||||
@@ -9244,7 +9244,7 @@
|
||||
text: {
|
||||
type: 'string',
|
||||
maxLength: 10000,
|
||||
- maxGraphemes: 1000,
|
||||
+ maxGraphemes: 10000,
|
||||
},
|
||||
facets: {
|
||||
type: 'array',
|
||||
@@ -9273,7 +9273,7 @@
|
||||
text: {
|
||||
type: 'string',
|
||||
maxLength: 10000,
|
||||
- maxGraphemes: 1000,
|
||||
+ maxGraphemes: 10000,
|
||||
},
|
||||
facets: {
|
||||
type: 'array',
|
||||
Reference in New Issue
Block a user