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

Embed message #69

Merged
merged 27 commits into from
Sep 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
83e9047
add content to cached message
circuitsacul Sep 13, 2022
ada1cff
unneeded drop statmenet
circuitsacul Sep 13, 2022
5ed0986
Wrap CachedMessage in an Arc
circuitsacul Sep 13, 2022
9fafa95
add orig_message to Refresh and Embedder
circuitsacul Sep 13, 2022
13cf2e5
more progress with embedded messages
circuitsacul Sep 14, 2022
0b411db
Merge branch 'main' into embed-message
circuitsacul Sep 20, 2022
29cfd29
Update handle.rs
circuitsacul Sep 20, 2022
31c911e
fix some vote_status bugs
circuitsacul Sep 20, 2022
a3966d9
some refactorings
circuitsacul Sep 20, 2022
1c1d648
use bot default color
circuitsacul Sep 21, 2022
f52aca2
progress in handling embeds & attachments
circuitsacul Sep 21, 2022
aa8da7e
handle embedded images properly
circuitsacul Sep 21, 2022
dfc7a71
unused import
circuitsacul Sep 21, 2022
c4c47a2
actually handle attachments
circuitsacul Sep 22, 2022
a3c5763
Merge branch 'main' into embed-message
circuitsacul Sep 22, 2022
1599832
unused import
circuitsacul Sep 22, 2022
d62b776
add author field to embed
circuitsacul Sep 22, 2022
e2da9bd
minor refactor
circuitsacul Sep 22, 2022
7f2eed7
use write! instead of .push_str
circuitsacul Sep 22, 2022
51c56d7
comment out embed-test command
circuitsacul Sep 22, 2022
7438ed6
parse & cache "system" content
circuitsacul Sep 22, 2022
3136c48
Merge branch 'main' into embed-message
circuitsacul Sep 22, 2022
4b11567
add "go to message" link
circuitsacul Sep 22, 2022
0878ac9
refactor embed handling, scale up thumbnail-only embeds
circuitsacul Sep 22, 2022
d8d36e3
handle replies
circuitsacul Sep 23, 2022
3fd77d7
handle gifs
circuitsacul Sep 23, 2022
c287f0c
add timestamp
circuitsacul Sep 23, 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
210 changes: 210 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ stretto = { version = "0.7.0", features = ["async"] }
regex = "1.6.0"
lazy_static = "1.4.0"
humantime = "2.1.0"
reqwest = "0.11.12"
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ WORKDIR /usr/src/starboard
# is changed.
RUN cargo search --limit 0

# install pkg-config (required for reqwest dependency)
RUN apt-get update
RUN apt-get install -y pkg-config libssl-dev

# doing this allows caching of compiled dependencies
COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock
Expand Down
Loading