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

refactored protocol #189

Draft
wants to merge 62 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
d18fb1b
chore(deps): update flake deps and rust toolchain
yusdacra Feb 20, 2022
dde61dd
feat: port to new protocol
yusdacra Feb 21, 2022
4c57950
refactor: fix some clippy lints
yusdacra Feb 21, 2022
2f3d9f0
refactor: introduce MediaStore, fix subtle Cursor usage bug in image …
yusdacra Feb 21, 2022
0ce60ca
refactor: remove unused write_to argument from write_file
yusdacra Feb 21, 2022
f8b606f
refactor: introduce migrate_type, improve migration error reporting
yusdacra Feb 21, 2022
328b004
refactor: introduce define_migration to abstract away ugly BoxFuture
yusdacra Feb 21, 2022
8a59048
refactor: improve define_proto_mod macro
yusdacra Feb 21, 2022
eacac00
feat: incomplete proto migration
yusdacra Feb 21, 2022
0b78147
feat: finish proto v2 migration
yusdacra Feb 22, 2022
f587999
chore(deps): update cargo deps
yusdacra Feb 22, 2022
4860c9f
build: remove unused deps
yusdacra Feb 22, 2022
aed1bd6
feat: update protocol
yusdacra Mar 6, 2022
33d6834
feat: print db version on start
yusdacra Mar 6, 2022
562b465
fix: migrations length
yusdacra Mar 6, 2022
9132cde
fix: properly apply migrations for migrate_type
yusdacra Mar 6, 2022
a6536a7
feat: print serving address on startup
yusdacra Mar 6, 2022
33effcc
chore: add gitpod.yml
yusdacra Mar 9, 2022
2f2f038
chore: update nix flake
yusdacra Mar 9, 2022
24f1765
chore: fix gitpod.yml init command
yusdacra Mar 9, 2022
03abfe3
chore: fix nix flake compat
yusdacra Mar 11, 2022
685c7ee
fix: check if tls files exist, log an error if they dont and skip ena…
yusdacra Mar 11, 2022
7d26313
fix: add catch panic layer to catch some panics
yusdacra Mar 11, 2022
4492642
refactor: implement opt_fut
yusdacra Mar 11, 2022
9f27b0d
fix: disable inline vec variant for evec for now
yusdacra Mar 11, 2022
f289592
fix: make serving on log message show http in case of tls error
yusdacra Mar 12, 2022
73e1923
chore(deps): update cargo deps
yusdacra Mar 12, 2022
fcf6b46
feat: improve image processing error and logging, get format using infer
yusdacra Mar 13, 2022
e3467d2
fix: correct FileHandle read behaviour
yusdacra Mar 14, 2022
bef6363
chore(deps): update cargo deps
yusdacra Mar 16, 2022
90f809b
refactor(sync): seperate pull_events and push_events into functions, …
yusdacra Mar 16, 2022
3647952
refactor(sync): set tokio task names for federation tasks
yusdacra Mar 16, 2022
77277a9
chore(sync): add some todos
yusdacra Mar 16, 2022
799e2a4
style: use the new format inline var support
yusdacra Mar 16, 2022
72a70a0
feat(mediaproxy): respect cache-control max-age and no-store
yusdacra Mar 17, 2022
7634d36
refactor: use new method for responses, rename event broadcast to som…
yusdacra Mar 17, 2022
9c7cac3
refactor: use bail in more places, change is_user_in_guild to return …
yusdacra Apr 2, 2022
a229f73
chore: update flake deps, format nix files
yusdacra Apr 2, 2022
6afd161
chore: bump prost, update cargo deps, update rust toolchain
yusdacra Apr 2, 2022
fdfbf36
feat: update protocol
yusdacra Apr 3, 2022
111f7f5
feat: partially implement private_channel create / delete / get_list
yusdacra Apr 4, 2022
228496a
feat: implement most invites and private channel endpoints
yusdacra Apr 6, 2022
2b9fc28
feat: implement update_private_channel_members
yusdacra Apr 7, 2022
3406d2f
feat: implement join and leave for private channel
yusdacra Apr 7, 2022
43ab631
feat: implement join on create_private_channel if already has dm
yusdacra Apr 7, 2022
9ffc547
feat: update sdk
yusdacra Apr 7, 2022
73e23b1
fix: does_username_exist panic, reorder check_channel_user arguments …
yusdacra Apr 8, 2022
5c86e11
partially implement new protocol changes; doesn't compile
bluskript Apr 10, 2022
c00708d
fix: check if in_reply_to message actually exists
yusdacra Apr 8, 2022
3607903
feat: implement update_private_channel_name and get_private_channel
yusdacra Apr 10, 2022
80c4484
feat: don't compile array length checks for release
yusdacra Apr 12, 2022
bdfb15e
refactor: use stable method
yusdacra Apr 20, 2022
66f91d3
build: rewrite dockerfile
yusdacra Apr 20, 2022
6dd0995
build: make dockerfile work actually
yusdacra Apr 20, 2022
d424fd9
build(nix): simplify flake
yusdacra Apr 30, 2022
c0fd457
chore(deps): update cargo deps
yusdacra Apr 30, 2022
5536da7
feat: implement update_private_channel, introduce event and broadcast…
yusdacra Apr 30, 2022
0186e04
build: specify components in rust toolchain
yusdacra May 3, 2022
71743c3
chore: update gitpod.yml
yusdacra May 3, 2022
bfb5444
chore: remove init command from gitpod.yml
yusdacra May 3, 2022
b077c23
ci: update nix installer action
yusdacra May 3, 2022
badd714
build(nix): add debug-server command for convenient server run
yusdacra May 4, 2022
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 .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install nix
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
experimental-features = nix-command flakes
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ jobs:
submodules: true

- name: Install nix
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
experimental-features = nix-command flakes
@@ -76,7 +76,7 @@ jobs:
submodules: true

- name: Install nix
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
experimental-features = nix-command flakes
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "protocols/before_account_kind"]
path = protocols/before_account_kind
url = https://github.com/harmony-development/protocol.git
[submodule "protocols/before_proto_v2"]
path = protocols/before_proto_v2
url = https://github.com/harmony-development/protocol.git
3 changes: 3 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
image: yusdacra/gitpod-workspace-base-nix:latest
tasks:
- command: nix develop
Loading