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

Merge flask #1

Merged
merged 106 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
b441544
first commit
LeeLin2602 Nov 19, 2023
c854291
add hello world app
LeeLin2602 Nov 19, 2023
2928e9b
add ddns model and its unittest
LeeLin2602 Nov 19, 2023
17f88a0
add oauth
LeeLin2602 Nov 19, 2023
181f30c
add authenticate function
LeeLin2602 Nov 20, 2023
c15de5b
move orm operation to models layer and add unittest for login.
LeeLin2602 Nov 20, 2023
aa91768
use sqlite to test in order to reduce database dependency on testing.
LeeLin2602 Nov 20, 2023
1404dc9
add DNSService and its dependency
LeeLin2602 Nov 20, 2023
199b523
improve lint rating
LeeLin2602 Nov 20, 2023
267516d
add more unit tests about dns service.
LeeLin2602 Nov 21, 2023
5d99f39
update config.py.sample to fit config.py
LeeLin2602 Nov 21, 2023
1a91745
debug: misuse of formatted string
LeeLin2602 Nov 21, 2023
ef6091f
rename authService and dnsService to snake_case naming style, and add…
LeeLin2602 Nov 23, 2023
b626aa0
Add domain registration validation logic in service layer.
LeeLin2602 Nov 23, 2023
761ef83
add controller domains: add function register domain
LeeLin2602 Nov 24, 2023
75ffd6a
add controller ddns: add function add/delete records
LeeLin2602 Nov 24, 2023
d84671e
Not using one session. Generate a new session each time instead.
LeeLin2602 Nov 27, 2023
52955b7
improve pylint score
Nov 27, 2023
d123ea7
Merge pull request #1 from DengRoger/main
LeeLin2602 Nov 27, 2023
f2a38a2
fix typo: from domain_id to domain in models.
LeeLin2602 Nov 27, 2023
3e9f606
modify return message
LeeLin2602 Nov 27, 2023
2e389e0
debug: fix typo
LeeLin2602 Nov 27, 2023
e89fa1f
debug: record ttl validation
LeeLin2602 Nov 28, 2023
8967a2a
fix conflict
LeeLin2602 Nov 28, 2023
bcafc40
Use msg in response uniformly
LeeLin2602 Nov 28, 2023
0d01932
Use msg in response uniformly, and update test-ddns testcase.
LeeLin2602 Nov 28, 2023
71bda4e
reserved domain with short length
LeeLin2602 Nov 28, 2023
69c42ef
add support for ns record and add unittest for record ttl setting.
LeeLin2602 Nov 29, 2023
6afa7b1
recycling expired domains
LeeLin2602 Nov 29, 2023
39ca881
automatically remove expired domains
LeeLin2602 Nov 29, 2023
f40dac7
Merge pull request #1 from NYCU-ME/lin-domain-recycle
LeeLin2602 Nov 29, 2023
68b8f00
improve pylint score
Nov 29, 2023
35b7c1c
Merge branch 'main' of github.com:DengRoger/backend-flask-server
Nov 29, 2023
39c3c3d
Merge pull request #3 from DengRoger/main
LeeLin2602 Nov 29, 2023
ed2b53f
add workflow: auto pull request to backend repo
LeeLin2602 Nov 29, 2023
7b03c55
add models and service for glue records
LeeLin2602 Nov 29, 2023
341a0e6
add function: add and remove glue records
LeeLin2602 Nov 29, 2023
b0bee53
add ttl for glue record
LeeLin2602 Nov 29, 2023
61afa92
debug: fix typo
LeeLin2602 Nov 29, 2023
3b8fd61
add data statics
LeeLin2602 Nov 30, 2023
a870fb1
introduce elasticsearch to calculate the traffic
LeeLin2602 Nov 30, 2023
3f4f861
extend valid time from 30 days to 90 days
LeeLin2602 Dec 1, 2023
bb0cf04
Add administrator function
LeeLin2602 Dec 1, 2023
3208c89
Update README.md
LeeLin2602 Dec 1, 2023
b9e16c4
Update README.md
LeeLin2602 Dec 1, 2023
b5e6fe7
modify error message of invalid domain name and add subdomain check
LeeLin2602 Dec 2, 2023
796bc1b
debug: cannot add gluerecord
LeeLin2602 Dec 2, 2023
f73e17c
upgrade pylint score
Dec 3, 2023
37e3ed9
Merge pull request #7 from DengRoger/main
LeeLin2602 Dec 3, 2023
a7ebc87
Update pr_to_backend.yml
LeeLin2602 Dec 3, 2023
c8412c1
Revert "upgrade pylint score"
LeeLin2602 Dec 3, 2023
97acdb8
Merge pull request #8 from NYCU-ME/revert-7-main
LeeLin2602 Dec 3, 2023
ffb07c5
Update pr_to_backend.yml: add pr description to pr
LeeLin2602 Dec 3, 2023
65321a4
Update pr_to_backend.yml: add commit message to pr
LeeLin2602 Dec 3, 2023
8652abb
Create deploy.yml
LeeLin2602 Dec 3, 2023
1622e20
Delete .github/workflows/deploy.yml
LeeLin2602 Dec 3, 2023
96bf91d
Update pr_to_backend.yml
LeeLin2602 Dec 3, 2023
0e867e1
feat: add flask logger
LeeLin2602 Dec 4, 2023
080ffa8
improve pylint score
Dec 5, 2023
7530614
Revert "Revert "upgrade pylint score" due to some db connection bug"
LeeLin2602 Dec 5, 2023
5cbd576
Merge pull request #11 from NYCU-ME/revert-8-revert-7-main
LeeLin2602 Dec 5, 2023
504189f
Merge pull request #10 from DengRoger/main
LeeLin2602 Dec 5, 2023
4020545
using a better way to query elasticsearch
LeeLin2602 Dec 6, 2023
0abf144
Merge pull request #12 from NYCU-ME/using-elastic-module
LeeLin2602 Dec 6, 2023
153ca65
Update pr_to_backend.yml
LeeLin2602 Dec 6, 2023
3303650
Update pr_to_backend.yml
LeeLin2602 Dec 6, 2023
c9ec9c0
resolve conflict
LeeLin2602 Dec 6, 2023
284d93c
debug: elastic always returns sum of queries
LeeLin2602 Dec 6, 2023
9f25b92
fix bug: cannot add mx record
LeeLin2602 Dec 10, 2023
07534e5
Add API: query domain by id.
LeeLin2602 Dec 10, 2023
9eb12be
base64 encoding in txt record.
LeeLin2602 Dec 11, 2023
6e7e63f
feat. login via email
Dec 11, 2023
e7b91e4
Merge pull request #13 from DengRoger/main
LeeLin2602 Dec 11, 2023
e0d96ee
Update auth_service.py
LeeLin2602 Dec 11, 2023
dbb8f56
Fix bug: sometimes get_domain_by_id would fail.
LeeLin2602 Dec 11, 2023
1827c17
modify db schema
LeeLin2602 Dec 13, 2023
03eef23
add minimum elastic search matching score.
LeeLin2602 Dec 13, 2023
a348f8f
modify threholds
LeeLin2602 Dec 13, 2023
a8cf9ae
more human-readable expire time returns
LeeLin2602 Dec 18, 2023
1406229
prevent attacker from dumping all the domains via /domain/$idx route.
LeeLin2602 Dec 18, 2023
5170749
administrator can now add/remove records
LeeLin2602 Dec 19, 2023
dc6c53f
debug: user cannot add invalid record such as some special symbols now.
LeeLin2602 Dec 19, 2023
9baf9b2
feat. allow admin to operate glue records
LeeLin2602 Dec 19, 2023
9b127dd
Update README.md
LeeLin2602 Dec 19, 2023
7b89dd2
Update README.md
LeeLin2602 Dec 19, 2023
3d6726e
Update README.md
LeeLin2602 Dec 19, 2023
0080865
Update README.md
LeeLin2602 Dec 19, 2023
b18a1bf
Update README.md
LeeLin2602 Dec 19, 2023
3a8846f
debug: ad authentication for querying domain by id.
LeeLin2602 Dec 20, 2023
5ceef41
Update elastic.py
LeeLin2602 Jan 16, 2024
091801b
Disable email login
LeeLin2602 Jan 17, 2024
962e890
remove email login test
LeeLin2602 Jan 17, 2024
fde2682
fix lint error
LeeLin2602 Jan 17, 2024
23ef037
Update main.py
LeeLin2602 Jan 19, 2024
8e8628f
add simple metrics
Jan 21, 2024
7b21629
Merge pull request #14 from DengRoger/main
LeeLin2602 Jan 21, 2024
5c618b5
Update main.py
LeeLin2602 Jan 21, 2024
7acd69a
Add support for DNSSEC.
LeeLin2602 Jan 24, 2024
6561df9
fix tiny bug: misuing `or` and `and`
LeeLin2602 Jan 24, 2024
f289ac1
test_sql_trigger
Akhilesh1004 Jan 27, 2024
ab2f8b6
change
Akhilesh1004 Jan 27, 2024
4610848
test_sql_trigger
Akhilesh1004 Jan 28, 2024
f37f77b
test_sql_trigger
Akhilesh1004 Jan 28, 2024
deb3f08
change comment
Akhilesh1004 Jan 29, 2024
20ead2f
Merge pull request #16 from Akhilesh1004/main
LeeLin2602 Jan 29, 2024
c739ba9
merge two repo
kdotwei Feb 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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ ddnskey.conf
.pidfile
config.py
nycu.me.db

config.py
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.