Skip to content

Commit 698233c

Browse files
committed
Merge branch 'temp3_for-taruntarun' into for-taruntarun
2 parents fc424ff + c18e7c0 commit 698233c

1,169 files changed

Lines changed: 30101 additions & 17426 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
version: 2.1
22

33
orbs:
4-
ruby: circleci/ruby@2.3.1
5-
node: circleci/node@7.0.0
4+
ruby: circleci/ruby@2.5.2
5+
node: circleci/node@7.1.0
66

77
executors:
88
default:
@@ -36,10 +36,10 @@ commands:
3636
prepare-yarn:
3737
steps:
3838
- run:
39-
name: Specification version of yarn to 4.6.0
39+
name: Specification version of yarn to 4.9.0
4040
command: |
4141
sudo corepack enable
42-
sudo COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn set version 4.6.0
42+
sudo COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn set version 4.9.0
4343
install-ruby-dependencies:
4444
parameters:
4545
ruby-version:
@@ -52,7 +52,7 @@ commands:
5252
bundle config without 'development production'
5353
name: Set bundler settings
5454
- ruby/install-deps:
55-
bundler-version: '2.6.3'
55+
bundler-version: '2.6.7'
5656
key: ruby<< parameters.ruby-version >>-gems-v2
5757
wait-db:
5858
steps:

.devcontainer/compose.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ services:
2121
ES_HOST: es
2222
ES_PORT: '9200'
2323
LIBRE_TRANSLATE_ENDPOINT: http://libretranslate:5000
24+
LOCAL_DOMAIN: ${LOCAL_DOMAIN:-localhost:3000}
2425
# Overrides default command so things don't shut down after the process ends.
2526
command: sleep infinity
2627
ports:
27-
- '127.0.0.1:3000:3000'
28-
- '127.0.0.1:3035:3035'
29-
- '127.0.0.1:4000:4000'
28+
- '3000:3000'
29+
- '3035:3035'
30+
- '4000:4000'
3031
networks:
3132
- external_network
3233
- internal_network

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ postgres14
2020
redis
2121
elasticsearch
2222
chart
23+
.yarn/
24+
!.yarn/patches
25+
!.yarn/plugins
26+
!.yarn/releases
27+
!.yarn/sdks
28+
!.yarn/versions

.env.production.sample

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,34 @@ AWS_ACCESS_KEY_ID=
8080
AWS_SECRET_ACCESS_KEY=
8181
S3_ALIAS_HOST=files.example.com
8282

83+
# Optional list of hosts that are allowed to serve media for your instance
84+
# EXTRA_MEDIA_HOSTS=https://data.example1.com,https://data.example2.com
85+
8386
# IP and session retention
8487
# -----------------------
8588
# Make sure to modify the scheduling of ip_cleanup_scheduler in config/sidekiq.yml
8689
# to be less than daily if you lower IP_RETENTION_PERIOD below two days (172800).
8790
# -----------------------
8891
IP_RETENTION_PERIOD=31556952
8992
SESSION_RETENTION_PERIOD=31556952
93+
94+
# Fetch All Replies Behavior
95+
# --------------------------
96+
# When a user expands a post (DetailedStatus view), fetch all of its replies
97+
# (default: false)
98+
FETCH_REPLIES_ENABLED=false
99+
100+
# Period to wait between fetching replies (in minutes)
101+
FETCH_REPLIES_COOLDOWN_MINUTES=15
102+
103+
# Period to wait after a post is first created before fetching its replies (in minutes)
104+
FETCH_REPLIES_INITIAL_WAIT_MINUTES=5
105+
106+
# Max number of replies to fetch - total, recursively through a whole reply tree
107+
FETCH_REPLIES_MAX_GLOBAL=1000
108+
109+
# Max number of replies to fetch - for a single post
110+
FETCH_REPLIES_MAX_SINGLE=500
111+
112+
# Max number of replies Collection pages to fetch - total
113+
FETCH_REPLIES_MAX_PAGES=500

.eslintignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)