{"id":20894582,"url":"https://github.com/gnu4cn/ccna60d-apis","last_synced_at":"2026-04-11T22:06:55.586Z","repository":{"id":52156662,"uuid":"222659865","full_name":"gnu4cn/ccna60d-apis","owner":"gnu4cn","description":"APIs for ccna60d","archived":false,"fork":false,"pushed_at":"2022-12-08T06:54:48.000Z","size":71,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T12:13:58.160Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnu4cn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-19T09:36:29.000Z","updated_at":"2019-12-12T08:40:41.000Z","dependencies_parsed_at":"2023-01-24T19:02:04.170Z","dependency_job_id":null,"html_url":"https://github.com/gnu4cn/ccna60d-apis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Fccna60d-apis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Fccna60d-apis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Fccna60d-apis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnu4cn%2Fccna60d-apis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnu4cn","download_url":"https://codeload.github.com/gnu4cn/ccna60d-apis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243278349,"owners_count":20265532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T10:20:13.063Z","updated_at":"2025-12-28T02:24:24.649Z","avatar_url":"https://github.com/gnu4cn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ccna60d-apis\n\n## Changelog\n\n_2019-12-07_\n\n- 籍由 `helpers.reqparse_helpers`，加入对注册、登录用户名、电子邮箱及密码的格式判断，不符合要求的拒绝注册与登录。\n\n_2019-11-25_\n\n- 去除 `activated` 属性，直接使用`user_role`属性判断注册用户是否已激活。`0 - 注册未激活`、`1-注册已激活`、`2-管理员`、`3-超级管理员`\n- 使用`itsdangerous`库的`URLSafeTimedSerializer`生成激活链接\n- 使用 Flask-Mail 发送激活邮件\n\n_2019-11-24_\n\n- 引入 `activated` 标志，解决`/v1/auth/register` API 未采用 Captcha 限制注册带来的滥用该接口的问题，未激活的注册用户无法登录，系统将定期清理未激活的注册用户。后期可采用图片验证方式，防止自动化注册或登录\n\n- 加入 `lazy = true` 与 `lazy-apps = true` 到 `uwsgi.ini`，解决偶发的Postgresql `operationalError: SSL error`问题 \n\n_2019-11-23_\n\n- 引入 Flask-Migrate 和 Flask-Script，使得数据模型的修改可以反应到数据库\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnu4cn%2Fccna60d-apis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnu4cn%2Fccna60d-apis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnu4cn%2Fccna60d-apis/lists"}