Commit Graph

10 Commits (4127f923aa174ecebed93898dd39c1b21b6b2605)

Author SHA1 Message Date
Aravinth Manivannan 4127f923aa
feat: create and add matrix room 2022-06-13 22:12:45 +05:30
Aravinth Manivannan d948730110
feat: render markdown comments 2022-04-06 11:31:39 +05:30
Aravinth Manivannan 2b5596abd0
feat: check code upload and syntax highlighting 2022-03-12 23:46:35 +05:30
Aravinth Manivannan ff01303bea
feat: readme: add docker img badge 2022-02-27 20:17:24 +05:30
Aravinth Manivannan b7fe7ea5d5
chore: rename gists to gitpad 2022-02-20 19:21:28 +05:30
Aravinth Manivannan 3fca4a4f99
feat: update todo list 2022-02-18 23:59:37 +05:30
Aravinth Manivannan 311964f32f
feat: add gitea oauth integration to feat list 2022-02-18 12:45:43 +05:30
Aravinth Manivannan 6b60e2a064
feat: add gists_gists, gists_comments and gists_comments & related methods
The following changes are implemented for both db-sqlx-postgres and

TABLE gists_gists
    Stores gist metadata with unique index on gists_gists.public_id for fast

TABLE gists_comments
    Stores comment metadata

TABLE gists_privacy
    Stores gist privacy: sqlx currently doesn't have support Postgres
    enums(ref:, so storing
    possible privacy values as references from this table.

    This table shouldn't be mutated during runtime. Possible values are
    already recorded in database during migrations. All runtime operations
    on this table must only take references.

    Each implementation of GistDatabase also includes a method called
    privacy_exists, which is called during tests to ensure that
    migrations are successful.

VIEW gists_gists_view
    Gist lookups combines data from gists_users, gists_gists and
    gists_privacy. This SQL view boots performance(I think?). At any rate,
    it is much nicer to work with.

    Database indexes are i64 in SQLite while i32 in Postgres
2022-02-14 20:11:26 +05:30
Aravinth Manivannan 3447a3a45c feat: add git SSH and HTTP clone feature target in README 2022-02-12 23:48:21 +05:30
Aravinth Manivannan d7fbc2f1d8 add readme 2022-02-11 17:41:54 +05:30