├── .gitignore ├── .gitmodules ├── CHECKS ├── LICENSE.md ├── Procfile ├── deps.edn ├── project.clj ├── readme.org ├── resources ├── config.edn ├── js │ ├── lightning-fs.min.js │ ├── magic_portal.js │ └── worker.js ├── logback.xml ├── migrations │ ├── 20200221043329_create_table_users.edn │ ├── 20200221044628_create_table_repos.edn │ ├── 20200221045345_create_table_refresh_tokens.edn │ ├── 20200420045653_make_email_optional.edn │ ├── 20200427024428_repos_add_user_id_ref.edn │ ├── 20200512023556_users_table_add_prefered_format.edn │ ├── 20200513091631_users_table_add_repo_granted.edn │ ├── 20200514102219_users_table_drop_column_repo_granted.edn │ ├── 20200515013538_users_table_add_encrypt_object.edn │ ├── 20200630145939_create_table_pages.edn │ ├── 20200630153940_users_add_name_unique_index.edn │ ├── 20200706155251_pages_table_add_settings_column.edn │ ├── 20200706160943_pages_table_add_tags_column.edn │ ├── 20200707091621_users_drop_column_github_id.edn │ ├── 20200714115835_pages_table_drop_tags.edn │ ├── 20200714132453_create_projects_table.edn │ ├── 20200715120654_pages_table_add_project_id.edn │ ├── 20200716054759_add_website_to_users_table.edn │ ├── 20200716055743_add_public_to_repos.edn │ ├── 20200717002759_projects_add_settings_column.edn │ ├── 20200805053529_Add_cors_proxy_to_users_table.edn │ ├── 20200812044935_Add_preferred_workflow_to_users_table.edn │ ├── 20200828110530_add_installation_id_to_users.edn │ ├── 20200829084420_users_table_drop_github_installation_id.edn │ ├── 20200829084541_repos_add_installation_id.edn │ ├── 20200829114108_drop_column_encrypt_object_key.edn │ ├── 20201001041015_repos_table_add_branch.edn │ ├── 20201129130450_Delete_projects_when_user_deleted.edn │ ├── 20201223153550_create_table_oauth_users.edn │ └── 20210705152715_oauth_users_table_remove_identity_column.edn └── static ├── src ├── dev │ └── user.clj └── main │ └── app │ ├── aws.clj │ ├── components │ ├── hikari.clj │ ├── http.clj │ └── services.clj │ ├── config.clj │ ├── cookie.clj │ ├── core.clj │ ├── db │ ├── oauth_user.clj │ ├── page.clj │ ├── project.clj │ ├── refresh_token.clj │ ├── repo.clj │ ├── user.clj │ └── util.clj │ ├── db_migrate.clj │ ├── github.clj │ ├── handler │ ├── auth.clj │ ├── page.clj │ ├── project.clj │ ├── rss.clj │ ├── user.clj │ └── utils.clj │ ├── http.clj │ ├── interceptor │ ├── etag.clj │ └── gzip.clj │ ├── interceptors.clj │ ├── jwt.clj │ ├── migration_scripts │ └── dump_users_into_oauth_users.clj │ ├── reserved_routes.clj │ ├── result.clj │ ├── routes.clj │ ├── s3.clj │ ├── slack.clj │ ├── spec.clj │ ├── system.clj │ ├── util.clj │ └── views │ └── home.clj └── test └── app ├── core_test.clj └── result_test.clj /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/.gitmodules -------------------------------------------------------------------------------- /CHECKS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/CHECKS -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/Procfile -------------------------------------------------------------------------------- /deps.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/deps.edn -------------------------------------------------------------------------------- /project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/project.clj -------------------------------------------------------------------------------- /readme.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/readme.org -------------------------------------------------------------------------------- /resources/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/config.edn -------------------------------------------------------------------------------- /resources/js/lightning-fs.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/js/lightning-fs.min.js -------------------------------------------------------------------------------- /resources/js/magic_portal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/js/magic_portal.js -------------------------------------------------------------------------------- /resources/js/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/js/worker.js -------------------------------------------------------------------------------- /resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/logback.xml -------------------------------------------------------------------------------- /resources/migrations/20200221043329_create_table_users.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200221043329_create_table_users.edn -------------------------------------------------------------------------------- /resources/migrations/20200221044628_create_table_repos.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200221044628_create_table_repos.edn -------------------------------------------------------------------------------- /resources/migrations/20200221045345_create_table_refresh_tokens.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200221045345_create_table_refresh_tokens.edn -------------------------------------------------------------------------------- /resources/migrations/20200420045653_make_email_optional.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200420045653_make_email_optional.edn -------------------------------------------------------------------------------- /resources/migrations/20200427024428_repos_add_user_id_ref.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200427024428_repos_add_user_id_ref.edn -------------------------------------------------------------------------------- /resources/migrations/20200512023556_users_table_add_prefered_format.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200512023556_users_table_add_prefered_format.edn -------------------------------------------------------------------------------- /resources/migrations/20200513091631_users_table_add_repo_granted.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200513091631_users_table_add_repo_granted.edn -------------------------------------------------------------------------------- /resources/migrations/20200514102219_users_table_drop_column_repo_granted.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200514102219_users_table_drop_column_repo_granted.edn -------------------------------------------------------------------------------- /resources/migrations/20200515013538_users_table_add_encrypt_object.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200515013538_users_table_add_encrypt_object.edn -------------------------------------------------------------------------------- /resources/migrations/20200630145939_create_table_pages.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200630145939_create_table_pages.edn -------------------------------------------------------------------------------- /resources/migrations/20200630153940_users_add_name_unique_index.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200630153940_users_add_name_unique_index.edn -------------------------------------------------------------------------------- /resources/migrations/20200706155251_pages_table_add_settings_column.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200706155251_pages_table_add_settings_column.edn -------------------------------------------------------------------------------- /resources/migrations/20200706160943_pages_table_add_tags_column.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200706160943_pages_table_add_tags_column.edn -------------------------------------------------------------------------------- /resources/migrations/20200707091621_users_drop_column_github_id.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200707091621_users_drop_column_github_id.edn -------------------------------------------------------------------------------- /resources/migrations/20200714115835_pages_table_drop_tags.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200714115835_pages_table_drop_tags.edn -------------------------------------------------------------------------------- /resources/migrations/20200714132453_create_projects_table.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200714132453_create_projects_table.edn -------------------------------------------------------------------------------- /resources/migrations/20200715120654_pages_table_add_project_id.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200715120654_pages_table_add_project_id.edn -------------------------------------------------------------------------------- /resources/migrations/20200716054759_add_website_to_users_table.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200716054759_add_website_to_users_table.edn -------------------------------------------------------------------------------- /resources/migrations/20200716055743_add_public_to_repos.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200716055743_add_public_to_repos.edn -------------------------------------------------------------------------------- /resources/migrations/20200717002759_projects_add_settings_column.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200717002759_projects_add_settings_column.edn -------------------------------------------------------------------------------- /resources/migrations/20200805053529_Add_cors_proxy_to_users_table.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200805053529_Add_cors_proxy_to_users_table.edn -------------------------------------------------------------------------------- /resources/migrations/20200812044935_Add_preferred_workflow_to_users_table.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200812044935_Add_preferred_workflow_to_users_table.edn -------------------------------------------------------------------------------- /resources/migrations/20200828110530_add_installation_id_to_users.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200828110530_add_installation_id_to_users.edn -------------------------------------------------------------------------------- /resources/migrations/20200829084420_users_table_drop_github_installation_id.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200829084420_users_table_drop_github_installation_id.edn -------------------------------------------------------------------------------- /resources/migrations/20200829084541_repos_add_installation_id.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200829084541_repos_add_installation_id.edn -------------------------------------------------------------------------------- /resources/migrations/20200829114108_drop_column_encrypt_object_key.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20200829114108_drop_column_encrypt_object_key.edn -------------------------------------------------------------------------------- /resources/migrations/20201001041015_repos_table_add_branch.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20201001041015_repos_table_add_branch.edn -------------------------------------------------------------------------------- /resources/migrations/20201129130450_Delete_projects_when_user_deleted.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20201129130450_Delete_projects_when_user_deleted.edn -------------------------------------------------------------------------------- /resources/migrations/20201223153550_create_table_oauth_users.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20201223153550_create_table_oauth_users.edn -------------------------------------------------------------------------------- /resources/migrations/20210705152715_oauth_users_table_remove_identity_column.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/resources/migrations/20210705152715_oauth_users_table_remove_identity_column.edn -------------------------------------------------------------------------------- /resources/static: -------------------------------------------------------------------------------- 1 | ../web/static -------------------------------------------------------------------------------- /src/dev/user.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/dev/user.clj -------------------------------------------------------------------------------- /src/main/app/aws.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/aws.clj -------------------------------------------------------------------------------- /src/main/app/components/hikari.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/components/hikari.clj -------------------------------------------------------------------------------- /src/main/app/components/http.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/components/http.clj -------------------------------------------------------------------------------- /src/main/app/components/services.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/components/services.clj -------------------------------------------------------------------------------- /src/main/app/config.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/config.clj -------------------------------------------------------------------------------- /src/main/app/cookie.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/cookie.clj -------------------------------------------------------------------------------- /src/main/app/core.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/core.clj -------------------------------------------------------------------------------- /src/main/app/db/oauth_user.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db/oauth_user.clj -------------------------------------------------------------------------------- /src/main/app/db/page.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db/page.clj -------------------------------------------------------------------------------- /src/main/app/db/project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db/project.clj -------------------------------------------------------------------------------- /src/main/app/db/refresh_token.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db/refresh_token.clj -------------------------------------------------------------------------------- /src/main/app/db/repo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db/repo.clj -------------------------------------------------------------------------------- /src/main/app/db/user.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db/user.clj -------------------------------------------------------------------------------- /src/main/app/db/util.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db/util.clj -------------------------------------------------------------------------------- /src/main/app/db_migrate.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/db_migrate.clj -------------------------------------------------------------------------------- /src/main/app/github.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/github.clj -------------------------------------------------------------------------------- /src/main/app/handler/auth.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/handler/auth.clj -------------------------------------------------------------------------------- /src/main/app/handler/page.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/handler/page.clj -------------------------------------------------------------------------------- /src/main/app/handler/project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/handler/project.clj -------------------------------------------------------------------------------- /src/main/app/handler/rss.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/handler/rss.clj -------------------------------------------------------------------------------- /src/main/app/handler/user.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/handler/user.clj -------------------------------------------------------------------------------- /src/main/app/handler/utils.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/handler/utils.clj -------------------------------------------------------------------------------- /src/main/app/http.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/http.clj -------------------------------------------------------------------------------- /src/main/app/interceptor/etag.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/interceptor/etag.clj -------------------------------------------------------------------------------- /src/main/app/interceptor/gzip.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/interceptor/gzip.clj -------------------------------------------------------------------------------- /src/main/app/interceptors.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/interceptors.clj -------------------------------------------------------------------------------- /src/main/app/jwt.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/jwt.clj -------------------------------------------------------------------------------- /src/main/app/migration_scripts/dump_users_into_oauth_users.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/migration_scripts/dump_users_into_oauth_users.clj -------------------------------------------------------------------------------- /src/main/app/reserved_routes.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/reserved_routes.clj -------------------------------------------------------------------------------- /src/main/app/result.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/result.clj -------------------------------------------------------------------------------- /src/main/app/routes.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/routes.clj -------------------------------------------------------------------------------- /src/main/app/s3.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/s3.clj -------------------------------------------------------------------------------- /src/main/app/slack.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/slack.clj -------------------------------------------------------------------------------- /src/main/app/spec.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/spec.clj -------------------------------------------------------------------------------- /src/main/app/system.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/system.clj -------------------------------------------------------------------------------- /src/main/app/util.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/util.clj -------------------------------------------------------------------------------- /src/main/app/views/home.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/src/main/app/views/home.clj -------------------------------------------------------------------------------- /test/app/core_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/test/app/core_test.clj -------------------------------------------------------------------------------- /test/app/result_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logseq/deprecated-github-backend/HEAD/test/app/result_test.clj --------------------------------------------------------------------------------