iliana etaoin
65dd3252c9
impl Responder for Html<T: Template>
2023-04-06 13:45:12 -07:00
iliana etaoin
591fd66786
nicer indentation
2023-04-06 13:34:17 -07:00
iliana etaoin
252c69d5b2
mv app.rs -> main.rs
2023-04-06 13:33:35 -07:00
iliana etaoin
bb94ed4eba
intermediate file rm commit
2023-04-06 13:32:59 -07:00
iliana etaoin
2b1689bbe0
default to visible if visible_in_picker missing
...
(... again)
2023-04-06 13:06:26 -07:00
iliana etaoin
bcd65caba7
inline a variable
2023-04-06 13:04:40 -07:00
iliana etaoin
5cb522d78e
simplify static routes
2023-04-06 12:02:19 -07:00
iliana etaoin
0005b3bd56
fail build if we can't build source.zip
2023-04-05 21:01:21 -07:00
iliana etaoin
0a3de049b4
remove lambda support; update deps
2023-04-05 20:58:21 -07:00
iliana etaoin
ffe33b36e5
set `include` in Cargo.toml
2023-04-05 20:16:12 -07:00
iliana etaoin
a926ebb0d2
cargo update; clippy lint fixes
2022-12-27 15:38:54 -08:00
Andre_601
e7b1b2bb3f
Apply loading=lazy attribute
2022-12-12 22:27:06 +01:00
iliana etaoin
67b8bd9432
Rewrite it in Rust
...
For the curious: this wasn't completely for no reason, although it
appears that way from the outside. I deploy this code to AWS via the
CDK, and the Python Lambda function bundler in the CDK has two unwanted
properties:
1. The assets produced by the bundler are not reproducible, due to the
timestamps stored in the .pyc files. The bundler does nothing to
assist with this.
2. A bug (that was reported, and that the CDK maintainers converted from
an issue into discussion without any investigation) prevents the use
of arm64 runtimes with this bundler. This requires emulating x86_64
on my development machines, which are now only ARM.
... whereas the Rust function bundler I wrote does not have these
problems. So.
2022-06-24 21:16:22 -07:00
iliana etaoin
7ed4c03bf3
update dependencies
2022-06-20 17:07:43 -07:00
iliana etaoin
ba4305089b
pipenv update
2021-04-26 22:16:26 -07:00
iliana etaoin
75bfc6d187
Move botocore to dev-packages
...
This prevents us from bundling botocore and all its dependencies for
Lambda. Instead we use the provided SDK version:
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
2021-02-13 14:32:00 -08:00
iliana etaoin
ea080cde8f
Remove CDK stuff
...
Going to leave this repo as just the emojos.in app, and handle
deployment via another repository.
2021-02-13 13:39:28 -08:00
iliana etaoin
bce5cff3a6
add domain mapping
2021-02-11 22:00:35 -08:00
iliana etaoin
4e70bdc321
remove unnecessary exception class
2021-02-11 21:08:43 -08:00
iliana etaoin
99b58f2713
reformat emojos.py
2021-02-11 21:08:12 -08:00
iliana etaoin
6aa3bd3114
deploy via CDK; use Pipfile
2021-02-11 21:05:27 -08:00
iliana etaoin
3a04fd752f
Merge pull request #15 from renatolond/improve_error_for_authorized_fetch
...
Improve error for instances with authorized fetch enabled
2021-02-11 17:14:20 -08:00
Renato "Lond" Cerqueira
60dc595b4a
Improve error for instances with authorized fetch enabled
...
When authorized fetch mode is enabled on mastodon
https://docs.joinmastodon.org/admin/config/#authorized_fetch , mastodon
will signatures for endpoints which are used for
activitypub or an authenticated user for internal endpoints.
Since custom emojis is internal, it cannot be accessed without a
logged-in user.
This improves the error to make it more clear.
2021-01-02 10:31:20 +01:00
iliana destroyer of worlds
cbb3e6ea41
Merge pull request #12 from yingziwu/mistress
...
Add options
2019-08-28 16:32:10 -07:00
wuyingren
808cc9085e
remove unnecessary line on .gitignore
...
style code
rename filter_ to show_
2019-07-16 09:06:48 +08:00
wuyingren
a2b48580e3
Add option to see animated emojos
...
Add option to see unlisted emojos
2019-07-15 18:53:48 +08:00
iliana weller
59b2970428
Image-to-text alignment
2018-07-25 22:50:38 -04:00
iliana weller
8773f5aa75
Set image width back to 20px
2018-07-25 22:48:17 -04:00
iliana weller
4789f5225a
Add an error page
...
Fixes #3 .
2018-07-25 22:31:15 -04:00
iliana weller
57848ec2c2
Merge pull request #9 from ashkitten/mistress
...
switch to grid layout
2018-07-25 22:31:13 -04:00
iliana weller
53ad7c8716
Merge pull request #7 from ilianaw/dont-copy-that-floppy
...
Don't copy success message
2018-07-25 22:29:45 -04:00
iliana weller
51100c654f
Merge pull request #6 from ilianaw/default-to-visible
...
Default to visible if visible_in_picker missing
2018-07-25 22:28:24 -04:00
ash lea
29b6832716
switch to grid layout
2018-07-25 16:57:37 -04:00
iliana weller
aa8e5dd0ca
Don't copy success message
2018-06-24 21:03:04 -07:00
iliana weller
f49ea526fb
Default to visible if visible_in_picker missing
2018-06-24 20:52:48 -07:00
Iliana Weller
165c54fec2
Fix aspect ratio on non-square emojo
2018-04-03 18:59:18 -07:00
Iliana Weller
4048b31187
Add AGPLv3 compliance
2018-04-03 18:31:14 -07:00
Iliana Weller
d67276a316
Return 204 No Content for favicon.ico, robots.txt
2018-04-03 18:30:35 -07:00
Iliana Weller
900065cb3c
code complete
2018-04-01 23:23:21 -04:00