Skip to content
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

Use PostgreSQL instead of MongoDB #4572

Merged
merged 393 commits into from
Apr 7, 2019
Merged
Show file tree
Hide file tree
Changes from 103 commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
698b046
wip
syuilo Mar 26, 2019
9d088c8
Update note.ts
syuilo Mar 26, 2019
73bc1f1
Update timeline.ts
syuilo Mar 26, 2019
55f282b
Update core.ts
syuilo Mar 26, 2019
dda0f87
wip
syuilo Mar 26, 2019
98ae3f1
Update generate-visibility-query.ts
syuilo Mar 26, 2019
8a7c14c
wip
syuilo Mar 27, 2019
56908c1
wip
syuilo Mar 27, 2019
f526168
wip
syuilo Mar 27, 2019
d3a965a
wip
syuilo Mar 27, 2019
9fad9bf
wip
syuilo Mar 27, 2019
f6153c3
Update global-timeline.ts
syuilo Mar 27, 2019
c032fa6
wip
syuilo Mar 27, 2019
2158b60
wip
syuilo Mar 27, 2019
08ac8dc
wip
syuilo Mar 27, 2019
1b35caf
Update vote.ts
syuilo Mar 27, 2019
cc5e3c4
wip
syuilo Mar 27, 2019
5d2f826
wip
syuilo Mar 27, 2019
4e619b0
Update create.ts
syuilo Mar 27, 2019
6978ba1
wip
syuilo Mar 27, 2019
9b47f1e
wip
syuilo Mar 27, 2019
c71bf45
wip
syuilo Mar 27, 2019
9e7600d
wip
syuilo Mar 27, 2019
7353960
wip
syuilo Mar 27, 2019
ea3a9f3
wip
syuilo Mar 27, 2019
bd04b6a
wip
syuilo Mar 27, 2019
fa9071a
wip
syuilo Mar 27, 2019
2b45438
wip
syuilo Mar 27, 2019
543b44f
wip
syuilo Mar 27, 2019
9175ae2
wip
syuilo Mar 27, 2019
85fbc7f
wip
syuilo Mar 27, 2019
1ef4f51
Update files.ts
syuilo Mar 27, 2019
7a713aa
wip
syuilo Mar 27, 2019
192c1ae
wip
syuilo Mar 27, 2019
adf9e2f
Update CONTRIBUTING.md
syuilo Mar 27, 2019
3bc5cf9
wip
syuilo Mar 28, 2019
6ee58f6
wip
syuilo Mar 28, 2019
6f6f15d
wip
syuilo Mar 28, 2019
c5b5863
wip
syuilo Mar 28, 2019
fc4615b
wip
syuilo Mar 28, 2019
e9c8dde
wip
syuilo Mar 28, 2019
2ef1d74
wip
syuilo Mar 28, 2019
43eaa5d
wip
syuilo Mar 28, 2019
c8bb68a
Update read-notification.ts
syuilo Mar 28, 2019
46fdd20
wip
syuilo Mar 28, 2019
99ced2b
wip
syuilo Mar 29, 2019
53ad535
wip
syuilo Mar 29, 2019
545958d
wip
syuilo Mar 29, 2019
a403f32
wip
syuilo Mar 29, 2019
7cca0c0
wip
syuilo Mar 29, 2019
35506b6
wip
syuilo Mar 29, 2019
8bbe2a5
Update cancel.ts
syuilo Mar 29, 2019
62adeea
wip
syuilo Mar 29, 2019
8ce9f14
wip
syuilo Mar 29, 2019
c66f5e6
wip
syuilo Mar 29, 2019
bf5d8c9
Update show.ts
syuilo Mar 29, 2019
2259a06
wip
syuilo Mar 29, 2019
638a07d
wip
syuilo Mar 29, 2019
9392da8
Update gen-id.ts
syuilo Mar 29, 2019
65f4dee
Update create.ts
syuilo Mar 29, 2019
c401500
Update id.ts
syuilo Mar 29, 2019
d7d9546
wip
syuilo Mar 29, 2019
413f83e
wip
syuilo Mar 29, 2019
327a131
wip
syuilo Mar 29, 2019
aba9183
wip
syuilo Mar 29, 2019
a36d449
wip
syuilo Mar 29, 2019
ef95748
wip
syuilo Mar 29, 2019
3e71458
wip
syuilo Mar 29, 2019
5a69c2c
Docker: Update files about Docker (#4599)
khws4v1 Mar 29, 2019
8fd063e
wip
syuilo Mar 29, 2019
4558f79
wip
syuilo Mar 29, 2019
acae893
wip
syuilo Mar 29, 2019
75bc6db
Update activitypub.ts
syuilo Mar 29, 2019
1b12ebc
wip
syuilo Mar 29, 2019
eaf6503
wip
syuilo Mar 29, 2019
16cd10d
wip
syuilo Mar 29, 2019
38ed709
Update logs.ts
syuilo Mar 30, 2019
ac2a143
wip
syuilo Mar 30, 2019
01ffd0f
Update drive-file.ts
syuilo Mar 30, 2019
5445531
Update register.ts
syuilo Mar 30, 2019
16cae96
wip
syuilo Mar 30, 2019
f5c5893
wip
syuilo Mar 30, 2019
91c7ab1
Update mentions.ts
syuilo Mar 30, 2019
beacd6b
wip
syuilo Mar 30, 2019
7aae594
wip
syuilo Mar 30, 2019
9469589
wip
syuilo Mar 30, 2019
74ce22e
Update recommendation.ts
syuilo Mar 30, 2019
3eb94cc
wip
syuilo Mar 30, 2019
a9c3ae5
Update index.ts
syuilo Mar 30, 2019
5e23e34
wip
syuilo Mar 30, 2019
b4177b5
Update recommendation.ts
syuilo Mar 30, 2019
2a6ee1e
Doc: Update docker.ja.md and docker.en.md (#1) (#4608)
khws4v1 Mar 30, 2019
cd5fee3
wip
syuilo Mar 30, 2019
0ca379f
:v:
syuilo Mar 30, 2019
86dc3dd
wip
syuilo Mar 30, 2019
d122600
Update note.ts
syuilo Mar 30, 2019
5b22afe
Update postgre.ts
syuilo Mar 30, 2019
40fbb32
wip
syuilo Mar 30, 2019
d1c1745
wip
syuilo Mar 30, 2019
57faa2a
wip
syuilo Mar 30, 2019
9eddeda
wip
syuilo Mar 30, 2019
bd06872
Update add-file.ts
syuilo Mar 30, 2019
36fcbf7
wip
syuilo Mar 30, 2019
dd48280
wip
syuilo Mar 30, 2019
4b74667
wip
syuilo Mar 30, 2019
8ed2c6c
Clean up
syuilo Mar 30, 2019
a1ba01a
Update logs.ts
syuilo Mar 30, 2019
74991b5
wip
syuilo Mar 30, 2019
8d02776
:pizza:
syuilo Mar 30, 2019
3f7ca33
wip
syuilo Mar 30, 2019
b113a97
Ad notes
syuilo Mar 30, 2019
914c234
wip
syuilo Mar 30, 2019
562a727
Update api-visibility.ts
syuilo Mar 30, 2019
50a0973
Update note.ts
syuilo Mar 31, 2019
1fdde5f
Update add-file.ts
syuilo Mar 31, 2019
edeec28
tests
syuilo Mar 31, 2019
92d0e36
tests
syuilo Mar 31, 2019
a257286
Update postgre.ts
syuilo Mar 31, 2019
e854982
Update utils.ts
syuilo Mar 31, 2019
c16f732
wip
syuilo Mar 31, 2019
f7ace1f
wip
syuilo Mar 31, 2019
24661fa
Refactor
syuilo Mar 31, 2019
5d46e02
wip
syuilo Mar 31, 2019
823d1f7
Refactor
syuilo Mar 31, 2019
ea04aa7
wip
syuilo Mar 31, 2019
a1f34aa
wip
syuilo Mar 31, 2019
c30bc0d
Update show-users.ts
syuilo Mar 31, 2019
bb87b0f
Update update-instance.ts
syuilo Mar 31, 2019
e266e49
wip
syuilo Mar 31, 2019
b7615cf
Update feed.ts
syuilo Mar 31, 2019
8c07c20
Update outbox.ts
syuilo Mar 31, 2019
d908399
Update outbox.ts
syuilo Mar 31, 2019
2663463
Update user.ts
syuilo Mar 31, 2019
fba9568
wip
syuilo Mar 31, 2019
8b3641c
Update list.ts
syuilo Mar 31, 2019
4fbdc44
Update update-hashtag.ts
syuilo Mar 31, 2019
b8f087d
wip
syuilo Mar 31, 2019
62d5ca3
Update update-hashtag.ts
syuilo Mar 31, 2019
7ec6593
Refactor
syuilo Mar 31, 2019
5374ca4
Update update.ts
syuilo Mar 31, 2019
51e086a
wip
syuilo Mar 31, 2019
b4514a4
wip
syuilo Mar 31, 2019
76991ee
:v:
syuilo Mar 31, 2019
73296fc
clean up
syuilo Mar 31, 2019
dac1f51
docs
syuilo Mar 31, 2019
7de29af
Update push.ts
syuilo Apr 1, 2019
80508b9
wip
syuilo Apr 1, 2019
b6a6624
Update api.ts
syuilo Apr 1, 2019
51c12a8
wip
syuilo Apr 1, 2019
2e3f5d4
:v:
syuilo Apr 1, 2019
2b23e67
Update make-pagination-query.ts
syuilo Apr 1, 2019
52a8193
:v:
syuilo Apr 1, 2019
73a3ea4
Delete hashtags.ts
syuilo Apr 1, 2019
502eefb
Update instances.ts
syuilo Apr 1, 2019
20a435e
Update instances.ts
syuilo Apr 1, 2019
08b95e2
Update create.ts
syuilo Apr 1, 2019
13dae6d
Update search.ts
syuilo Apr 1, 2019
dfe5e75
Update reversi-game.ts
syuilo Apr 1, 2019
fe21b8b
Update signup.ts
syuilo Apr 1, 2019
ec150dc
Update user.ts
syuilo Apr 2, 2019
4e64f9a
id
syuilo Apr 2, 2019
b4b98b1
Update example.yml
syuilo Apr 2, 2019
bc3af79
:art:
syuilo Apr 2, 2019
02cc6df
objectid
syuilo Apr 2, 2019
3b4dbc3
fix
syuilo Apr 2, 2019
684b6d3
reversi
syuilo Apr 2, 2019
5215833
reversi
syuilo Apr 2, 2019
b0f5fc6
Fix bug of chart engine
syuilo Apr 3, 2019
897244a
Add test of chart engine
syuilo Apr 3, 2019
8b1938f
Improve test
syuilo Apr 3, 2019
960e503
Better testing
syuilo Apr 3, 2019
3380941
Improve chart engine
syuilo Apr 3, 2019
04fd049
Refactor
syuilo Apr 3, 2019
517865c
Add test of chart engine
syuilo Apr 3, 2019
180b299
Refactor
syuilo Apr 3, 2019
da50ab3
Add chart test
syuilo Apr 3, 2019
57428eb
Fix bug
syuilo Apr 3, 2019
add9e9d
コミットし忘れ
syuilo Apr 3, 2019
6889cd0
Refactoring
syuilo Apr 3, 2019
efb83e1
:v:
syuilo Apr 3, 2019
89acb12
Add tests
syuilo Apr 4, 2019
001b058
Add test
syuilo Apr 4, 2019
77f2d08
Extarct note tests
syuilo Apr 4, 2019
e8eaae8
Refactor
syuilo Apr 4, 2019
9547623
存在しないユーザーにメンションできなくなっていた問題を修正
syuilo Apr 4, 2019
a21b2b4
Fix bug
syuilo Apr 4, 2019
923a9e0
Update update-meta.ts
syuilo Apr 4, 2019
0917f0e
Fix bug
syuilo Apr 4, 2019
28d3808
Update mention.vue
syuilo Apr 4, 2019
950c08d
Fix bug
syuilo Apr 4, 2019
fbfb09f
Update meta.ts
syuilo Apr 4, 2019
c7bde41
Update CONTRIBUTING.md
syuilo Apr 4, 2019
9ec178e
Fix bug
syuilo Apr 4, 2019
295c639
Fix bug
syuilo Apr 4, 2019
80c9a35
Fix bug
syuilo Apr 4, 2019
3130289
Clean up
syuilo Apr 4, 2019
3481a56
Clean up
syuilo Apr 4, 2019
a37f96f
Update notification.ts
syuilo Apr 4, 2019
738d849
Clean up
syuilo Apr 4, 2019
5022d16
Add mute tests
syuilo Apr 4, 2019
9d6ef00
Add test
syuilo Apr 4, 2019
1572130
Refactor
syuilo Apr 4, 2019
3293941
Add test
syuilo Apr 4, 2019
ec4ae06
Fix test
syuilo Apr 4, 2019
f643972
Refactor
syuilo Apr 4, 2019
abeb1ae
Refactor
syuilo Apr 4, 2019
262d626
Add tests
syuilo Apr 4, 2019
6dcd729
Update utils.ts
syuilo Apr 4, 2019
01f7d3c
Update utils.ts
syuilo Apr 5, 2019
d434ea2
Fix test
syuilo Apr 5, 2019
43f726c
Update package.json
syuilo Apr 5, 2019
1be17d3
Merge branch 'develop' into pg
syuilo Apr 5, 2019
6347cc6
Update update.ts
syuilo Apr 5, 2019
5756e86
Update manifest.ts
syuilo Apr 5, 2019
64ff772
Fix bug
syuilo Apr 5, 2019
48f4db1
Fix bug
syuilo Apr 5, 2019
2093580
Merge branch 'develop' into pg
syuilo Apr 5, 2019
385fdac
Add test
syuilo Apr 5, 2019
4687f4a
:art:
syuilo Apr 5, 2019
3f43e2a
Update endpoint permissions
syuilo Apr 6, 2019
5cedd83
Updaye permisison
syuilo Apr 6, 2019
8080308
Update person.ts
syuilo Apr 6, 2019
f4cffe0
データベースと同期しないように
syuilo Apr 6, 2019
7e6fc52
Fix bug
syuilo Apr 6, 2019
b9b2ac5
Fix bug
syuilo Apr 6, 2019
4fd918a
Update reversi-game.ts
syuilo Apr 6, 2019
66c0c2a
Use a feature of Node v11.7.0 to extract a public key (#4644)
tamaina Apr 6, 2019
ad09c04
Refactoring
syuilo Apr 6, 2019
1aeee20
test
syuilo Apr 6, 2019
8ec36a0
test
syuilo Apr 6, 2019
dd69735
test
syuilo Apr 6, 2019
3102356
test
syuilo Apr 6, 2019
7218f8d
test
syuilo Apr 7, 2019
ada23fe
test
syuilo Apr 7, 2019
990d8ed
test
syuilo Apr 7, 2019
a224d33
Fix bug
syuilo Apr 7, 2019
1293eb9
Fix test
syuilo Apr 7, 2019
982d180
:sushi:
syuilo Apr 7, 2019
ee71cef
wip
syuilo Apr 7, 2019
c8d87cf
#4471
syuilo Apr 7, 2019
c0f7853
Add test for #4335
syuilo Apr 7, 2019
7049807
Refactor
syuilo Apr 7, 2019
7e2d9ec
Fix test
syuilo Apr 7, 2019
1264109
Add tests
syuilo Apr 7, 2019
23fd2eb
:clock4:
syuilo Apr 7, 2019
cf9342f
Fix bug
syuilo Apr 7, 2019
8874b1a
Add test
syuilo Apr 7, 2019
4e8cfd6
Add test
syuilo Apr 7, 2019
7f7895f
rename
syuilo Apr 7, 2019
2453e89
Fix bug
syuilo Apr 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 35 additions & 18 deletions .config/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,42 @@ url: https://example.tld/
################################################################


mongodb:
################################################################
#[ PostgreSQL configuration ]###################################

db:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v11以降では

db:
  type: postgresql

みたいな感じにして、v10は

db:
  type: mongodb

に変更する(互換性は維持)とかにした方が綺麗そう。

host: localhost
port: 27017
port: 5432

# Database name
db: misskey

# Auth
user: example-misskey-user
pass: example-misskey-pass


################################################################
#[ Redis configuration ]########################################

#redis:
# host: localhost
# port: 6379
# pass: example-pass


################################################################
#[ Elasticsearch configuration ]################################

#elasticsearch:
# host: localhost
# port: 9200
# pass: null


################################################################
#[ File storage (Drive) configuration ]#########################

drive:
storage: 'db'

Expand Down Expand Up @@ -88,26 +117,14 @@ drive:
# accessKey: XXX
# secretKey: YYY


################################################################
#[ Other configuration ]########################################

# If enabled:
# The first account created is automatically marked as Admin.
autoAdmin: true

#
# Below settings are optional
#

# Redis
#redis:
# host: localhost
# port: 6379
# pass: example-pass

# Elasticsearch
#elasticsearch:
# host: localhost
# port: 9200
# pass: null

# Whether disable HSTS
#disableHsts: true

Expand Down
57 changes: 0 additions & 57 deletions cli/migration/2.0.0.js

This file was deleted.

71 changes: 0 additions & 71 deletions cli/migration/2.4.0.js

This file was deleted.

9 changes: 0 additions & 9 deletions cli/migration/5.0.0.js

This file was deleted.

134 changes: 0 additions & 134 deletions cli/migration/7.0.0.js

This file was deleted.

Loading