Commit Graph

54 Commits

Author SHA1 Message Date
Kay Faraday e8ee2850aa display by category 2024-07-23 01:31:44 +00:00
Kay Faraday 4a3ee534ca update source code links 2024-07-23 01:31:18 +00:00
Kay Faraday 2644cc7f5a remove /code 2024-07-23 01:30:59 +00:00
iliana etaoin 85823d3ade cargo update 2024-04-20 09:17:37 -07:00
iliana etaoin f9f89fdce9 cargo update (rocket v0.5!!) 2023-11-17 12:47:50 -08:00
iliana etaoin fdaf025192 cargo update 2023-09-24 10:49:58 -07:00
iliana etaoin 5986f2b1a5 cargo update 2023-07-06 23:45:16 -07:00
iliana etaoin db35bd0048 cargo update 2023-05-21 13:56:58 -07:00
iliana etaoin 95bc8085cf
Merge pull request #29 from sean-clayton/main
Add IDs to inputs
2023-05-21 13:55:25 -07:00
🎷🐢 S. P. O. Clayton b5c3bafc0b
Add IDs to inputs 2023-05-20 11:25:12 -04:00
iliana etaoin e0152d4bb5 cargo update 2023-04-29 10:34:47 -07:00
iliana etaoin 92c717d9fd cargo update 2023-04-06 20:32:53 -07:00
iliana etaoin 2506aa1be3 refactor error handling to catch more things 2023-04-06 20:31:41 -07:00
iliana etaoin 310886f2ca remove anyhow dep from build.rs 2023-04-06 20:31:05 -07:00
iliana etaoin 9242cbb09e move trivial routes into separate module; refactor 2023-04-06 14:04:24 -07:00
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