Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
297 commits
Select commit Hold shift + click to select a range
95b9411
Update version to
alpakaka0o0 Sep 9, 2024
5ef15cf
Update version to
alpakaka0o0 Sep 9, 2024
6078f90
Update version to
alpakaka0o0 Sep 9, 2024
fdcf815
Update version to
alpakaka0o0 Sep 9, 2024
10f4f80
Update version to
alpakaka0o0 Sep 9, 2024
5511aed
Update version to
alpakaka0o0 Sep 9, 2024
3d68371
Update version to
alpakaka0o0 Sep 9, 2024
4e04089
Update version to
alpakaka0o0 Sep 9, 2024
fa05d1b
Update version to
alpakaka0o0 Sep 9, 2024
091d890
Update version to
alpakaka0o0 Sep 9, 2024
0d9ea5b
Update version to
alpakaka0o0 Sep 9, 2024
4ed75b6
Update version to
alpakaka0o0 Sep 9, 2024
3dc9fb4
Update version to
alpakaka0o0 Sep 9, 2024
97960d7
Update version to
alpakaka0o0 Sep 9, 2024
c145989
Update version to
alpakaka0o0 Sep 9, 2024
3c03db1
Update version to
alpakaka0o0 Sep 9, 2024
c17aca8
Update version to
alpakaka0o0 Sep 9, 2024
12c9cc5
Update version to
alpakaka0o0 Sep 9, 2024
ac5559c
Update version to
alpakaka0o0 Sep 9, 2024
f2364e8
Update version to
alpakaka0o0 Sep 9, 2024
0a5d75d
Update version to
alpakaka0o0 Sep 9, 2024
265546e
Update version to
alpakaka0o0 Sep 9, 2024
fc71c03
Update version to
alpakaka0o0 Sep 9, 2024
dcd552b
Update version to
alpakaka0o0 Sep 9, 2024
ab96605
Update version to
alpakaka0o0 Sep 9, 2024
97f4c68
Update version to
alpakaka0o0 Sep 9, 2024
c0e0c4b
Update version to
alpakaka0o0 Sep 9, 2024
3558ce7
Update version to
alpakaka0o0 Sep 9, 2024
904223f
Update version to
alpakaka0o0 Sep 9, 2024
7ba6aff
Update version to
alpakaka0o0 Sep 9, 2024
c95d904
Update version to
alpakaka0o0 Sep 9, 2024
db9843f
Update version to
alpakaka0o0 Sep 9, 2024
463e913
Update version to
alpakaka0o0 Sep 9, 2024
06148b4
Update version to
alpakaka0o0 Sep 9, 2024
e2d3996
Update version to
alpakaka0o0 Sep 9, 2024
6061e31
Update version to
alpakaka0o0 Sep 9, 2024
9a0c9b1
Update version to
alpakaka0o0 Sep 9, 2024
9ea2965
Update version to
alpakaka0o0 Sep 9, 2024
4a035c4
Update version to
alpakaka0o0 Sep 9, 2024
c8e1137
Update version to
alpakaka0o0 Sep 9, 2024
e8e2a92
Update version to
alpakaka0o0 Sep 9, 2024
d737348
Update version to
alpakaka0o0 Sep 9, 2024
32ae983
Update version to
alpakaka0o0 Sep 9, 2024
5cd04be
Update version to
alpakaka0o0 Sep 9, 2024
314f2f3
Update version to
alpakaka0o0 Sep 9, 2024
a112f3d
feat: sentry release
alpakaka0o0 Sep 9, 2024
d760998
Merge pull request #69 from SWM-OneStep/SZ-297
alpakaka0o0 Sep 9, 2024
cb0e631
fix : version ํ•œ๊ตญ ์‹œ๊ฐ„๋Œ€๋กœ ์ˆ˜์ •
alpakaka0o0 Sep 9, 2024
42f4849
fix: settings.py
alpakaka0o0 Sep 9, 2024
1c6560f
Merge pull request #70 from SWM-OneStep/SZ-297
alpakaka0o0 Sep 9, 2024
89e365e
fix: add update version logic in test yml
alpakaka0o0 Sep 9, 2024
d761344
Merge pull request #71 from SWM-OneStep/SZ-297
alpakaka0o0 Sep 9, 2024
0bc892a
fix : fix order in ecs.yml
alpakaka0o0 Sep 9, 2024
4a26ce8
Merge pull request #72 from SWM-OneStep/SZ-297
alpakaka0o0 Sep 9, 2024
7360730
feat: add admin
alpakaka0o0 Sep 9, 2024
3465884
fix: useradmin
alpakaka0o0 Sep 9, 2024
4eee18e
feat : create customer Support API
alpakaka0o0 Sep 10, 2024
0446dca
fix : feedback admin ์ˆ˜์ •
alpakaka0o0 Sep 10, 2024
570953b
Merge pull request #73 from SWM-OneStep/SZ-345
alpakaka0o0 Sep 10, 2024
774126d
fix : merge with origin develop
alpakaka0o0 Sep 10, 2024
1aca96f
fix : models Category_list to Categoryprovider
alpakaka0o0 Sep 10, 2024
d8f7ab2
Merge pull request #74 from SWM-OneStep/SZ-341
alpakaka0o0 Sep 11, 2024
b744340
chore: .gitignore ์ˆ˜์ •
earthyoung Sep 11, 2024
d2b7dae
fix: staticfiles_urlpatterns ์ถ”๊ฐ€ํ•ด์„œ gunicorn์—์„œ ์ •์  ํŒŒ์ผ ์„œ๋น™ํ•˜๋Š” ๋ฐฉ์‹ ๋ฐ”๊พธ๊ธฐ
earthyoung Sep 11, 2024
810dd16
Merge branch 'develop' of https://github.com/SWM-OneStep/backend intoโ€ฆ
earthyoung Sep 11, 2024
f6fc259
Merge pull request #75 from SWM-OneStep/SZ-339
earthyoung Sep 11, 2024
d43ce9d
feat: add resend api
alpakaka0o0 Sep 11, 2024
d700ba8
feat: welcome mail:
alpakaka0o0 Sep 11, 2024
d179936
feat: welcome mail
alpakaka0o0 Sep 11, 2024
38836df
feat : develop welcome mail service
alpakaka0o0 Sep 20, 2024
aebcccd
fix : welcome email ์‹œ ์ˆ˜์‹ ํ•˜๋Š” ์ด๋ฉ”์ผ ๋กœ์ง ์ˆ˜์ •
alpakaka0o0 Sep 22, 2024
59df27b
feat: develop patch note in admin
alpakaka0o0 Sep 22, 2024
0442f91
fix : gitignore patch_note foler
alpakaka0o0 Sep 22, 2024
d728e62
fix : email ๋ณด๋‚ผ ๋•Œ ๋ณด๋‚ธ ์ด๋ฉ”์ผ ๋ฆฌ์ŠคํŠธ ํ™•์ธ ๊ฐ€๋Šฅํ•˜๋„๋ก ๋ณ€๊ฒฝ
alpakaka0o0 Sep 23, 2024
334150b
fix : delete function render_html
alpakaka0o0 Sep 23, 2024
5f3e71f
feat : develop user patch
alpakaka0o0 Sep 23, 2024
02b0d84
fix : test
alpakaka0o0 Sep 24, 2024
58a5cb0
fix : class type ์œผ๋กœ ๋ณ€๊ฒฝ
alpakaka0o0 Sep 24, 2024
a3d6ece
fix : class type ์œผ๋กœ ๋ฐ”๊พผ ํ›„ ์•ฝ๊ฐ„ ๋ณ€๊ฒฝ
alpakaka0o0 Sep 24, 2024
a156eaf
fix : delete annotation
alpakaka0o0 Sep 24, 2024
4dad2d6
Merge branch 'develop' of https://github.com/SWM-OneStep/backend intoโ€ฆ
earthyoung Sep 24, 2024
3149f6c
feat: authentication ์ž‘์„ฑ & test: ํ…Œ์ŠคํŠธ ๋กœ์ง ์ž‘์„ฑ
earthyoung Aug 29, 2024
9671a2d
fix: accounts.Device ๋ชจ๋ธ dependency ์ œ๊ฑฐ
earthyoung Aug 29, 2024
b81dd00
chore: ์ค‘๊ฐ„ ์ €์žฅ
earthyoung Aug 31, 2024
847647f
fix: accounts>Device ๋ชจ๋ธ ์‚ญ์ œํ•˜๋Š” ์ฝ”๋“œ ๋ณต๊ตฌ
earthyoung Sep 7, 2024
d503121
fix: ์•Œ๋ฆผ ๊ธฐ๋Šฅ firebase_messaging ๋กœ์ง ์ˆ˜์ •
earthyoung Sep 7, 2024
967951a
fix: fcm_django message ํ‘ธ์‹œ์•Œ๋ฆผ ์•ˆ ๋œจ๋Š” ์˜ค๋ฅ˜ ์ˆ˜์ •
earthyoung Sep 11, 2024
988f74f
feat: ์•„์นจ, ์ ์‹ฌ, ์ €๋… ์•Œ๋ฆผ ํ•จ์ˆ˜ ์ž‘์„ฑ ๋ฐ cronjob ๋“ฑ๋ก
earthyoung Sep 24, 2024
0c23759
fix: rebase conflict ์ˆ˜์ •
earthyoung Sep 24, 2024
6405a2a
fix: rebase conflict ์ˆ˜์ •
earthyoung Sep 24, 2024
e50fe92
fix: rebase conflict ์ˆ˜์ •
earthyoung Sep 24, 2024
2011890
chore: print๋ฌธ ์ œ๊ฑฐ
earthyoung Sep 24, 2024
db1f63c
chore: ์ฃผ์„ ์‚ญ์ œ
earthyoung Sep 24, 2024
7ccf2bc
Merge pull request #77 from SWM-OneStep/SZ-264
earthyoung Sep 24, 2024
176059a
refactor : accounts
alpakaka0o0 Sep 24, 2024
28be550
Merge branch 'develop' into SZ-351
alpakaka0o0 Sep 24, 2024
c73cd71
fix : fat model ์ ์šฉ
alpakaka0o0 Sep 25, 2024
73a6f42
fix : fat model ์ ์šฉ
alpakaka0o0 Sep 25, 2024
53988ac
fix : merge with develop
alpakaka0o0 Sep 25, 2024
93e683c
fix : merge with delveop
alpakaka0o0 Sep 25, 2024
13db64a
Merge pull request #76 from SWM-OneStep/SZ-351
alpakaka0o0 Sep 25, 2024
4bca8b7
fix : requirements.txt delete ์ค‘๋ณต
alpakaka0o0 Sep 25, 2024
114fbf2
feat : add is_premium attribute in User model
alpakaka0o0 Sep 25, 2024
4b77a41
feat: Add UserLastUsage Model
alpakaka0o0 Sep 25, 2024
bbe1cbb
fix: middleware ์˜ค๋ฅ˜ ์ˆ˜์ •
earthyoung Sep 26, 2024
cf1069c
Merge pull request #78 from SWM-OneStep/SZ-402
earthyoung Sep 26, 2024
449c5fe
fix: pytest ํ™˜๊ฒฝ์—์„œ fcm middleware ๊ฑด๋„ˆ๋›ฐ๋„๋ก ์ˆ˜์ •
earthyoung Sep 25, 2024
7f8745e
feat: Todo ์•Œ๋ฆผ ๋กœ์ง ์ถ”๊ฐ€
earthyoung Sep 26, 2024
0e5011e
fix: rebase conflict ์ˆ˜์ •
earthyoung Sep 27, 2024
60e775b
fix: RecommendTodo view ๋น„๋™๊ธฐ๋กœ ๋ณ€๊ฒฝ
earthyoung Sep 27, 2024
102efd1
Merge remote-tracking branch 'origin/develop' into SZ-374
alpakaka0o0 Sep 28, 2024
dcbadac
feat: recommend api check rate limit
alpakaka0o0 Sep 28, 2024
d4c0e8a
feat: add test code about recommend check rate limit
alpakaka0o0 Sep 28, 2024
35d8ec7
feat : premium user ์ œํ•œ ํ’€๊ธฐ
alpakaka0o0 Sep 28, 2024
09d7c9a
fix : settings
alpakaka0o0 Sep 28, 2024
4b51f45
Merge pull request #81 from SWM-OneStep/SZ-405
alpakaka0o0 Sep 28, 2024
ce27f74
fix: gunicorn wsgi ๊ธฐ๋ฐ˜ -> uvicorn asgi ๊ธฐ๋ฐ˜์œผ๋กœ ๋ณ€๊ฒฝ
earthyoung Sep 28, 2024
42c3dec
Merge pull request #79 from SWM-OneStep/SZ-366
earthyoung Sep 29, 2024
5e29dee
feat : add sentry log
alpakaka0o0 Sep 30, 2024
12e0d38
feat : add sentry log in todos view
alpakaka0o0 Sep 30, 2024
6b2ebce
feat : sentry user ๋กœ์ง ์ถ”๊ฐ€ in todos
alpakaka0o0 Sep 30, 2024
0fcbb0c
Merge pull request #82 from SWM-OneStep/SZ-352
earthyoung Oct 1, 2024
4809b1e
feat: merge with origin develop
alpakaka0o0 Oct 1, 2024
7831c99
Merge pull request #80 from SWM-OneStep/SZ-374
alpakaka0o0 Oct 1, 2024
4c43315
fix : merge with orgin develop
alpakaka0o0 Oct 3, 2024
5fe2aee
Merge pull request #83 from SWM-OneStep/SZ-409
alpakaka0o0 Oct 3, 2024
2af3264
feat : model ์— due_time ์ถ”๊ฐ€ ๋ฐ todo์˜ start_date, end_date ์‚ญ์ œ
alpakaka0o0 Oct 3, 2024
d849863
fix : models
alpakaka0o0 Oct 6, 2024
be58c09
fix : csrf_trusted_origins
alpakaka0o0 Oct 6, 2024
ec81b61
fix :CSRF ORIGIN
alpakaka0o0 Oct 7, 2024
1a72880
fix : id๋กœ ์ฐพ์„ ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ exception ๋ฐœ์ƒํ•˜๋„๋ก ์ˆ˜์ •
alpakaka0o0 Oct 8, 2024
fdefb4f
fix : model subtodos.todo -> subtodos.todo_id
alpakaka0o0 Oct 8, 2024
0a12c12
feat : testcode ์ˆ˜์ •
alpakaka0o0 Oct 8, 2024
43dd2c0
Merge pull request #84 from SWM-OneStep/SZ-389
alpakaka0o0 Oct 9, 2024
540f191
fix : RankedModel ์ ์šฉ
alpakaka0o0 Oct 11, 2024
7310734
fix : serailizer, model manager
alpakaka0o0 Oct 11, 2024
0a40aa6
fix : sentry sample_rate
alpakaka0o0 Oct 11, 2024
93aac84
fix: testcode_todopost
alpakaka0o0 Oct 11, 2024
d483453
fix: mysql ๊ด€๋ จ ์—๋Ÿฌ ์ˆ˜์ •
earthyoung Oct 11, 2024
e386606
fix : category testcode
alpakaka0o0 Oct 11, 2024
13c1c2d
fix : complete test all category
alpakaka0o0 Oct 12, 2024
3ae0aba
fix : compelte all test subtodos
alpakaka0o0 Oct 12, 2024
ab74d1c
fix: complete all test todos
alpakaka0o0 Oct 12, 2024
70b9469
fix : update todos.rank
alpakaka0o0 Oct 12, 2024
0ac5e75
fix : todos patch lexorank ๋กœ์ˆ˜์ •
alpakaka0o0 Oct 12, 2024
dbddd55
fix : subtodos.patch ์ˆ˜์ •
alpakaka0o0 Oct 12, 2024
47ef154
fix : category models color char -> smallint
alpakaka0o0 Oct 12, 2024
6f174ab
fix : model: Category color 0~8
alpakaka0o0 Oct 12, 2024
e8eea1d
fix : conftest llm -> recommend_result
alpakaka0o0 Oct 12, 2024
d5fc116
fix : fcm ์ฃผ์„ ์‚ญ์ œ
alpakaka0o0 Oct 12, 2024
e375396
feat: pytest ์‚ฌ์šฉํ•˜์—ฌ ํ…Œ์ŠคํŠธ ์‹œ send_push_notification_device ํ•จ์ˆ˜ ์šฐํšŒํ•˜๋„๋ก ์„ค์ •
earthyoung Oct 12, 2024
c51105c
fix : patch_rank serializer
alpakaka0o0 Oct 12, 2024
5a9c68c
Merge pull request #86 from SWM-OneStep/SZ-423
alpakaka0o0 Oct 12, 2024
01a3bd9
fix : merge with develop
alpakaka0o0 Oct 12, 2024
d497380
Merge pull request #85 from SWM-OneStep/SZ-422
alpakaka0o0 Oct 12, 2024
5009d12
fix: requirement django version 5.0.6 -> 4.2.16
alpakaka0o0 Oct 12, 2024
2e1d9f6
fix : swagger ์ˆ˜์ •
alpakaka0o0 Oct 12, 2024
0dca86b
Merge pull request #87 from SWM-OneStep/SZ-401
alpakaka0o0 Oct 12, 2024
cc04f42
Merge branch 'develop' of https://github.com/SWM-OneStep/backend intoโ€ฆ
earthyoung Oct 14, 2024
ae45de7
Merge pull request #88 from SWM-OneStep/SZ-430
earthyoung Oct 17, 2024
3bf3316
feat : ํšŒ์›ํƒˆํ‡ด ๊ธฐ๋Šฅ
alpakaka0o0 Oct 17, 2024
7534445
fix: monkeypatch setattr ์ˆ˜์ • ๋ฐ force_authenticate ์ธ์ž ์ถ”๊ฐ€
earthyoung Oct 17, 2024
c84b38d
Merge pull request #89 from SWM-OneStep/SZ-430
earthyoung Oct 17, 2024
11480db
feat: ํšŒ์› ํƒˆํ‡ด ๊ธฐ๋Šฅ ๊ตฌํ˜„ (test ์ˆ˜์ •)
alpakaka0o0 Oct 17, 2024
e0973f9
feat: user social_provider : google, apple ๋กœ ๋ณ€๊ฒฝ
alpakaka0o0 Oct 17, 2024
c7e1eb4
feat: GET ios client id
alpakaka0o0 Oct 17, 2024
c530ef6
Merge pull request #91 from SWM-OneStep/SZ-458
alpakaka0o0 Oct 17, 2024
6e13a20
Merge pull request #90 from SWM-OneStep/SZ-460
alpakaka0o0 Oct 17, 2024
a4b1e9e
fix : ios client id -> google ios client id
alpakaka0o0 Oct 18, 2024
4d88a22
feat : ios google login
alpakaka0o0 Oct 18, 2024
d9ef7f2
feat :apple social login
alpakaka0o0 Oct 18, 2024
b84394c
fix : async model
alpakaka0o0 Oct 19, 2024
d12f39b
fix : test code ๊ด€๋ จ ์—๋Ÿฌ ํ•ด๊ฒฐ
alpakaka0o0 Oct 19, 2024
64f328a
fix : apple social login ๋กœ์ง ์ˆ˜์ •
alpakaka0o0 Oct 20, 2024
4c544e7
fix : sentry Environment settings
alpakaka0o0 Oct 20, 2024
8c8dd0a
fix : sentry Environment settings
alpakaka0o0 Oct 20, 2024
1f61e00
fix: dockerfile ์˜คํƒ€ ์ˆ˜์ •
alpakaka0o0 Oct 21, 2024
70eec33
fix: dockerfile ์˜คํƒ€ ์ˆ˜์ •
alpakaka0o0 Oct 21, 2024
7f2b07d
fix: dockerfile ์˜คํƒ€ ์ˆ˜์ • uvicorn_worker -> uvicorn.workers
alpakaka0o0 Oct 21, 2024
56ea674
fix : Middleware ์ œ๊ฑฐ
alpakaka0o0 Oct 21, 2024
6d41994
Merge pull request #92 from SWM-OneStep/SZ-476
alpakaka0o0 Oct 21, 2024
f20392e
fix : ios view ์ˆ˜์ •
alpakaka0o0 Oct 21, 2024
1775a4e
Merge pull request #93 from SWM-OneStep/SZ-476
alpakaka0o0 Oct 21, 2024
bc30f02
fix: merge with develop
alpakaka0o0 Oct 21, 2024
386478d
feat : ์ƒˆ๋กœ์šด ์œ ์ €์ธ์ง€ ๊ตฌ๋ถ„ํ•˜๋„๋ก response์— ์ถ”๊ฐ€
alpakaka0o0 Oct 21, 2024
c8bb773
Merge branch 'develop' into SZ-298
alpakaka0o0 Oct 21, 2024
c996921
fix : recommend Test benchmark
alpakaka0o0 Oct 22, 2024
c862790
fix :device type ์ƒ์ˆ˜ํ™”
alpakaka0o0 Oct 22, 2024
806aeed
Merge pull request #94 from SWM-OneStep/SZ-458
alpakaka0o0 Oct 22, 2024
6826a86
fix: sentry dsn
alpakaka0o0 Oct 22, 2024
30dc1c7
fix : merge with develop
alpakaka0o0 Oct 22, 2024
c430aca
fix : recommend api
alpakaka0o0 Oct 23, 2024
23daa35
fix : models user_id ๋งˆ๋‹ค ๋žญํฌ๊ฐ’์„ ์ฃผ๋„๋ก ๋ณ€๊ฒฝ
alpakaka0o0 Oct 24, 2024
a9e5e86
fix : user login ์‹œ ์ด๋ฉ”์ผ repsonse ์— ์ถ”๊ฐ€
alpakaka0o0 Oct 24, 2024
486cd6d
fix : import ์ˆ˜์ •
alpakaka0o0 Oct 24, 2024
e04be5e
Merge pull request #95 from SWM-OneStep/SZ-487
alpakaka0o0 Oct 24, 2024
61bf4e0
fix : merge with develop
alpakaka0o0 Oct 24, 2024
edf7af4
fix : merge with develop
alpakaka0o0 Oct 24, 2024
beb466e
fix : recommend api timeout ์„ค์ •:
alpakaka0o0 Oct 24, 2024
0641e0f
fix : recomend api
alpakaka0o0 Oct 25, 2024
d77de71
Merge pull request #96 from SWM-OneStep/SZ-298
alpakaka0o0 Oct 25, 2024
cd329e6
feat : apple social login
alpakaka0o0 Oct 25, 2024
1deb654
fix: service id -> app id
alpakaka0o0 Oct 25, 2024
695bee1
refactor : login ๋กœ์ง ์ˆ˜์ •
alpakaka0o0 Oct 25, 2024
032b80e
fix : apple login ios ์ œ์™ธ ๋ถˆ๊ฐ€๋Šฅ
alpakaka0o0 Oct 25, 2024
247612b
Merge pull request #97 from SWM-OneStep/SZ-483
alpakaka0o0 Oct 25, 2024
6f93b5a
fix : applelogin ๊ด€๋ จ warning ์‚ญ์ œ
alpakaka0o0 Oct 25, 2024
cd8a5d2
fix : google login ๊ด€๋ จ ์—๋Ÿฌ ์ˆ˜์ •
alpakaka0o0 Oct 25, 2024
9cfb1a9
Merge pull request #98 from SWM-OneStep/SZ-298
alpakaka0o0 Oct 25, 2024
31e83f5
fix : get_or_create_user์—์„œ deleted_at__isnull ํ•„๋“œ ์ˆ˜์ •
alpakaka0o0 Oct 28, 2024
274eafd
fix : ํƒˆํ‡ดํ•œ ์œ ์ €๊ฐ€ ์žฌ ์ ‘์†์‹œ ๊ธฐ์กด ๊ณ„์ •์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ์ˆ˜์ •
alpakaka0o0 Oct 28, 2024
17a4412
Merge pull request #99 from SWM-OneStep/SZ-489
alpakaka0o0 Oct 29, 2024
9ae74d3
feat: time-machine์œผ๋กœ 10์ดˆ ์ˆ˜์ •
alpakaka0o0 Oct 29, 2024
5db5860
fix : settings
alpakaka0o0 Oct 29, 2024
661e3b2
fix : yaml ํŒŒ์ผ์—์„œ version.txt ๊ฒฝ๋กœ ์—…๋ฐ์ดํŠธ && healthcheck ๊ด€๋ จ tracking ์ œ๊ฑฐ
alpakaka0o0 Nov 1, 2024
2545933
feat : asgi ์ฒ˜๋ฆฌ
alpakaka0o0 Nov 1, 2024
9d90dd3
Merge pull request #100 from SWM-OneStep/SZ-499
alpakaka0o0 Nov 1, 2024
0b99d9c
Merge branch 'develop' into SZ-472
alpakaka0o0 Nov 1, 2024
e2e02e2
fix: is_completed ๊ด€๋ จ ์—๋Ÿฌ ํ•ด๊ฒฐ with Todo
alpakaka0o0 Nov 1, 2024
56d4a72
fix: is_completed ๊ด€๋ จ ์—๋Ÿฌ ํ•ด๊ฒฐ with Subtodo, Category
alpakaka0o0 Nov 1, 2024
56d1cc3
fix: is_completed ๊ด€๋ จ ์—๋Ÿฌ ํ•ด๊ฒฐ with Subtodo, Category
alpakaka0o0 Nov 1, 2024
c74fe21
fix : test rank
alpakaka0o0 Nov 2, 2024
5e33267
fix : lexorank logic
alpakaka0o0 Nov 4, 2024
3a512ca
fix : lexorank + llm ๋™๊ธฐ๋กœ ๋ณ€๊ฒฝ
alpakaka0o0 Nov 4, 2024
a7c16ce
fix : merge with develop
alpakaka0o0 Nov 4, 2024
43acb19
Merge pull request #102 from SWM-OneStep/SZ-298
alpakaka0o0 Nov 4, 2024
e89e3af
fix : merge with develop
alpakaka0o0 Nov 4, 2024
76f8b6f
Merge pull request #101 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 4, 2024
0bba173
fix : ecs ๊ด€๋ จ ์ˆ˜์ •
alpakaka0o0 Nov 4, 2024
83f95c5
Merge pull request #103 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 4, 2024
20efe51
feat: add ssh private key
alpakaka0o0 Nov 4, 2024
82ca1a3
Merge pull request #104 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 4, 2024
e52f4c5
fix : yaml
alpakaka0o0 Nov 4, 2024
f7ead84
fix : yaml
alpakaka0o0 Nov 4, 2024
15b5858
Merge pull request #105 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 4, 2024
a3618e9
fix : ecs yml add token
alpakaka0o0 Nov 4, 2024
6be0a10
Merge pull request #106 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 4, 2024
1a7d78c
fix : version txt
alpakaka0o0 Nov 4, 2024
2c45ba4
Merge pull request #107 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 4, 2024
645739a
fix : migrations
alpakaka0o0 Nov 4, 2024
75c5b76
fix : get_next_rank ์ˆ˜์ •
alpakaka0o0 Nov 5, 2024
a564019
fix : migrations
alpakaka0o0 Nov 5, 2024
4e3bc3e
Merge pull request #108 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 5, 2024
0691d84
fix : post ์ €์žฅ ์•ˆ๋˜๋Š” ๋ฌธ์ œ + rank ๋กœ์ง ์ˆ˜์ •
alpakaka0o0 Nov 5, 2024
d226b19
Merge pull request #109 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 5, 2024
4090085
Fix : subtodo post ๋ฆฌ์ŠคํŠธ ํ˜•์‹์œผ๋กœ ๋ณ€๊ฒฝ
alpakaka0o0 Nov 5, 2024
e438afd
fix : subTodo lexorank logic ์ˆ˜์ •
alpakaka0o0 Nov 5, 2024
12b9914
Merge pull request #110 from SWM-OneStep/SZ-472
alpakaka0o0 Nov 5, 2024
3d28734
fix: access token, refresh token lifetime ์ˆ˜์ •
earthyoung Nov 5, 2024
f6dbfdc
Merge branch 'main' of https://github.com/SWM-OneStep/backend into deโ€ฆ
earthyoung Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/deploy_to_ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: true

- name: Update version.txt
run: |
VERSION=$(TZ=Asia/Seoul date +'%Y.%m.%d.%H.%M.%S') # ํ•œ๊ตญ ์‹œ๊ฐ„๋Œ€ ์‚ฌ์šฉ
echo "onestep_dev@${VERSION}" > version.txt

- name: Set Dockerfile Path
id: dockerfile-path
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/deploy_to_ecs_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: true

- name: Update version.txt
run: |
VERSION=$(TZ=Asia/Seoul date +'%Y.%m.%d.%H.%M.%S') # ํ•œ๊ตญ ์‹œ๊ฐ„๋Œ€ ์‚ฌ์šฉ
echo "onestep_prod@${VERSION}" > version.txt

- name: Set Dockerfile Path
id: dockerfile-path
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy_to_ecs_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: true

- name: Set Dockerfile Path
id: dockerfile-path
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
# Icon must end with two \r
Icon

# example.py
example_1.py

onestep_dev/
# Thumbnails
._*
Expand Down Expand Up @@ -91,6 +94,7 @@ db.sqlite3

/pyenv
/.ruff_cache
/patch_note

# debug
.vscode/
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Lexorank"]
path = Lexorank
url = ../Lexorank
3 changes: 2 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ COPY . /app/
EXPOSE 8000

# ์„œ๋ฒ„ ์‹คํ–‰ ๋ช…๋ น
CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.dev gunicorn -w 2 --timeout 300 -b 0.0.0.0:8000 onestep_be.wsgi:application"]
CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.dev python -m gunicorn -w 2 -b 0.0.0.0:8000 onestep_be.asgi:application -k uvicorn.workers.UvicornWorker"]
# CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.dev gunicorn -w 2 --timeout 300 -b 0.0.0.0:8000 onestep_be.wsgi:application"]
# CMD ["sh", "-c", "python manage.py migrate && python manage.py runserver 0.0.0.0:8000 --settings=onestep_be.setting.dev"]
3 changes: 2 additions & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ COPY . /app/
EXPOSE 8000

# ์„œ๋ฒ„ ์‹คํ–‰ ๋ช…๋ น
CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.prod gunicorn -w 2 --timeout 300 -b 0.0.0.0:8000 onestep_be.wsgi:application"]
CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.prod python -m gunicorn -w 2 -b 0.0.0.0:8000 onestep_be.asgi:application -k uvicorn.workers.UvicornWorker"]
# CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.prod gunicorn -w 2 --timeout 300 -b 0.0.0.0:8000 onestep_be.wsgi:application"]
# CMD ["sh", "-c", "python manage.py migrate && python manage.py runserver 0.0.0.0:8000 --settings=onestep_be.setting.prod"]
3 changes: 2 additions & 1 deletion Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ COPY . /app/
EXPOSE 8000

# ์„œ๋ฒ„ ์‹คํ–‰ ๋ช…๋ น
CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.test gunicorn -w 2 --timeout 300 -b 0.0.0.0:8000 onestep_be.wsgi:application"]
CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.test python -m gunicorn -w 2 -b 0.0.0.0:8000 onestep_be.asgi:application -k uvicorn.workers.UvicornWorker"]
# CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && DJANGO_SETTINGS_MODULE=onestep_be.setting.test gunicorn -w 2 --timeout 300 -b 0.0.0.0:8000 onestep_be.wsgi:application"]
# CMD ["sh", "-c", "python manage.py migrate && python manage.py runserver 0.0.0.0:8000 --settings=onestep_be.setting.test"]
1 change: 1 addition & 0 deletions Lexorank
Submodule Lexorank added at 19f531
62 changes: 62 additions & 0 deletions accounts/admin.py
Original file line number Diff line number Diff line change
@@ -1 +1,63 @@
# Register your models here.
from django.contrib import admin

from .models import Device, PatchNote, User


class UserAdmin(admin.ModelAdmin):
readonly_fields = [
"id",
"social_provider",
"username",
"created_at",
"updated_at",
]
list_display = [
"id",
"username",
"social_provider",
"created_at",
"deleted_at",
"updated_at",
"is_active",
"is_staff",
"is_superuser",
]
fieldsets = [
(
None,
{
"fields": [
"id",
"username",
"social_provider",
"created_at",
"deleted_at",
"updated_at",
"is_active",
"is_staff",
"is_superuser",
]
},
),
]


class DeviceAdmin(admin.ModelAdmin):
readonly_fields = ["id", "created_at"]
list_display = ["id", "user_id", "created_at", "deleted_at"]
fieldsets = [
(
None,
{"fields": ["id", "user_id", "created_at", "deleted_at"]},
),
]


class PatchNoteAdmin(admin.ModelAdmin):
list_display = ("title", "created_at")


admin.site.register(User, UserAdmin)
admin.site.register(Device, DeviceAdmin)
admin.site.register(PatchNote, PatchNoteAdmin)
29 changes: 29 additions & 0 deletions accounts/authentication.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
from rest_framework_simplejwt.authentication import JWTAuthentication
from rest_framework_simplejwt.exceptions import InvalidToken
from rest_framework_simplejwt.settings import api_settings
from jwt import DecodeError, ExpiredSignatureError
import jwt


class CustomJWTAuthentication(JWTAuthentication):
def authenticate(self, request):
header = self.get_header(request)
if header is None:
return None

raw_token = self.get_raw_token(header)
if raw_token is None:
return None

try:
validated_token = self.get_validated_token(raw_token)
token_payload = jwt.decode(
raw_token,
api_settings.SIGNING_KEY,
algorithms=[api_settings.ALGORITHM]
)
request.auth = token_payload
except (InvalidToken, DecodeError, ExpiredSignatureError) as e:
raise InvalidToken(e)

return self.get_user(validated_token), token_payload
1 change: 0 additions & 1 deletion accounts/aws.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os

import boto3
from dotenv import load_dotenv

Expand Down
16 changes: 16 additions & 0 deletions accounts/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from rest_framework import exceptions, status


class LoginException(exceptions.APIException):
status_code = status.HTTP_400_BAD_REQUEST
default_detail = "device type and token is required"
default_code = "error"

def __init__(self, detail=None, code=None):
if detail is not None:
self.detail = detail
else:
self.detail = self.default_detail
if code is not None:
self.default_code = code
super().__init__(self.detail, self.default_code)
23 changes: 23 additions & 0 deletions accounts/migrations/0010_patchnote.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 5.0.6 on 2024-09-22 05:41

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('accounts', '0009_merge_20240719_1133'),
]

operations = [
migrations.CreateModel(
name='PatchNote',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=255)),
('html_file', models.FileField(upload_to='patch_note/')),
('created_at', models.DateTimeField(auto_now_add=True, null=True)),
('email_sent', models.BooleanField(default=False)),
],
),
]
18 changes: 18 additions & 0 deletions accounts/migrations/0011_alter_patchnote_email_sent.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.0.6 on 2024-09-22 06:08

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('accounts', '0010_patchnote'),
]

operations = [
migrations.AlterField(
model_name='patchnote',
name='email_sent',
field=models.BooleanField(default=True),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 5.0.6 on 2024-09-23 06:03

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('accounts', '0011_alter_patchnote_email_sent'),
]

operations = [
migrations.AddField(
model_name='patchnote',
name='email_list',
field=models.TextField(blank=True, null=True),
),
migrations.AlterField(
model_name='patchnote',
name='email_sent',
field=models.BooleanField(default=False),
),
]
18 changes: 18 additions & 0 deletions accounts/migrations/0013_user_is_subscribed.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.0.6 on 2024-09-23 11:31

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('accounts', '0012_patchnote_email_list_alter_patchnote_email_sent'),
]

operations = [
migrations.AddField(
model_name='user',
name='is_subscribed',
field=models.BooleanField(default=False),
),
]
18 changes: 18 additions & 0 deletions accounts/migrations/0014_user_is_premium.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.0.6 on 2024-09-25 08:36

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('accounts', '0013_user_is_subscribed'),
]

operations = [
migrations.AddField(
model_name='user',
name='is_premium',
field=models.BooleanField(default=False),
),
]
18 changes: 18 additions & 0 deletions accounts/migrations/0015_alter_user_social_provider.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.16 on 2024-10-17 07:15

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('accounts', '0014_user_is_premium'),
]

operations = [
migrations.AlterField(
model_name='user',
name='social_provider',
field=models.CharField(choices=[('GOOGLE', 'Google'), ('APPLE', 'Apple')], default='GOOGLE', max_length=30),
),
]
Loading