1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-13 10:25:06 +00:00

419 Commits

Author SHA1 Message Date
Cadence Ember
fd65ef6646 Feeble attempt to support the new multi-format
This doesn't work, but it's a start. Somebody else can continue the effort.
2022-09-02 00:31:02 +12:00
Cadence Ember
39c8d7102f Always use Cantarell font 2022-08-11 15:38:09 +12:00
Cadence Ember
c2df6d696b Only build new circuits when really needed 2022-08-02 19:58:52 +12:00
Cadence Ember
1872391a8e Save videos with .mp4 extension
Fixes https://todo.sr.ht/~cadence/bibliogram-issues/68
2022-08-01 20:13:24 +12:00
Cadence Ember
ab58306cee Restore HTML request method with preload extractor 2022-07-28 23:31:05 +12:00
Cadence Ember
48c6e4a8a6 Save proxied media with shortcode as filename 2022-07-27 19:46:57 +12:00
Cadence Ember
7237ebf8d4 Decrease self_blocked_status cache to 60 minutes 2022-07-27 10:47:44 +12:00
Cadence Ember
dc0a80d1cb Add /settings.json API as requested by Edward 2022-07-27 10:41:48 +12:00
Cadence Ember
a9c7923b2c Sure, let's cache self_blocked_status again! 2022-07-25 01:59:06 +12:00
Cadence Ember
f20554ddfb Disable Tor by default.
Feel free to experiment and see if it helps if you enable it.
2022-07-25 01:57:44 +12:00
Cadence Ember
c2d7aca1cb Replace all profile fetching methods with IWeb
The previous HTML method is gone due to a page restructure. It was
able to consistently bypass Instagram's blocking.

The IWeb method has a few hundred uses per X time for selfhosters, and
a couple dozen uses per X time for servers. This will likely change in
the future. There is no known way to bypass Instagram's IWeb blocking.

Feel free to look for a way.

Further timeline pages are still blocked. The "next page" button
defaults to not automatically loading when scrolled, since it will
basically never work anyway. Users running personal instances may be
able to get a couple of uses out of it.
2022-07-25 01:57:44 +12:00
tmpod
d2665ce538 Add Portuguese translations
Left `data.t_eager` (as per
https://lists.sr.ht/~cadence/bibliogram-devel/%3Ceba97577-8974-882c-9f80-4208e7551190%40tmpod.dev%3E#%3C93d44e9b-4c8a-49c1-b025-d30443a64217@disroot.org%3E)
2022-07-07 23:35:57 +12:00
Cadence Ember
10b38185c4 Correctly show co-authored videos 2022-06-26 13:25:11 +12:00
Cadence Ember
6b72622939 Set content-type charset=utf-8 for feeds.
Hope this helps.
2022-05-23 00:15:40 +12:00
Cadence Ember
49445ffb73 Add /tv/ and /reel/ to robots.txt
Prevent search engine crawling of instances, just like how /p/ is
already in robots.txt.
2022-05-18 00:13:21 +12:00
Cadence Ember
50f509742e Cantarell font files from Gnome project
Sources:
https://static.gnome.org/fonts/Cantarell-Regular.otf
https://static.gnome.org/fonts/Cantarell-Bold.otf
2022-05-17 23:53:43 +12:00
Cadence Ember
7acb21f613 User pages now count for quota, as it should be. 2022-05-06 16:14:58 +12:00
Cadence Ember
5a1b0e88b2 Specify Cantarell font and add font files 2022-05-06 15:33:01 +12:00
Cadence Ember
7461f25ca9 Use boring font for consistent non-latin script appearance based on page heuristics 2022-05-06 01:36:40 +12:00
Суспільне Надбання
d211470dca Translate to Ukrainian 2022-05-06 01:35:10 +12:00
Cadence Ember
0edc966fda Update dependencies and fix screenshot tests 2022-04-18 20:13:05 +12:00
Cadence Ember
3b18a7028e Remove heroku files 2022-04-16 12:16:07 +12:00
Cadence Ember
4bf96b8d49 Remove docker files 2022-04-16 11:55:33 +12:00
Cadence Ember
6b667f5f00 Remove CSRF protection 2022-03-05 19:25:22 +13:00
Cadence Ember
a6094a37ec Embeds may be blocked or have missing captions 2022-02-21 23:37:26 +13:00
Cadence Ember
09b33ef3fa Allow viewing webp files 2022-02-18 12:04:00 +13:00
Cadence Ember
3700b3a9ac Set Access-Control-Allow-Origin * on feeds
This enables client-side only web readers like Airss to work.
2021-12-06 18:20:15 +13:00
Cadence Ember
91022aa5da Support loading shortcodes of a single image 2021-11-05 17:01:46 +13:00
Cadence Ember
d660c84941 Fix shortcode fetching 2021-11-02 01:58:03 +13:00
Cadence Ember
2a233e4f32 Update dependencies 2021-10-27 00:33:46 +13:00
I. Musthafa
776a209c67 Indonesian Translation for Bibliogram 2021-10-27 00:29:35 +13:00
Cadence Ember
a807acc296 Allow customisation of tor port 2021-09-28 16:23:52 +13:00
Cadence Ember
f14837be44 Set and preserve focus when showing post overlay 2021-08-08 16:29:18 +12:00
Cadence Ember
c5bd24f9d4 Add handler for alternate form of age restriction 2021-08-05 23:33:19 +12:00
Esmail Almaleeh
c901c5e691 Fix the rtl problem in the settings page 2021-07-31 23:41:54 +12:00
Esmail Almaleeh
b8c44cdd0d Add Arabic Translation 2021-07-31 00:41:17 +12:00
sech1p
329298d516 Add polish language (thanks sech1p) 2021-07-25 14:58:53 +12:00
Cadence Ember
4363891fa6 Add configuration option to disable media proxy
Media proxy is enabled by default, and was always enabled before this
commit.
2021-06-21 02:14:28 +12:00
Cadence Ember
1ea2e2e3bb Update dependencies to fix vulnerabilities 2021-06-04 22:07:35 +12:00
Johannes Weissmann
1bfaa5aaba Update German translation 2021-05-19 17:31:59 +12:00
Oğuz Ersen
ea7cd5d56d Update Turkish translation 2021-04-14 01:32:00 +12:00
Lomanic
de05db09a7 Fix docker image missing graphicsmagick runtime dependency 2021-03-28 18:34:45 +13:00
Cadence Ember
6415564ccf Update Turkish translation
Contributed by Oğuz Ersen <oguzersen@protonmail.com>
2021-03-23 23:21:13 +13:00
Philipp Beckers
583cec2d85 added the 2 new strings to the German translation 2021-03-14 01:30:23 +13:00
Cadence Ember
49aa4a1d5d Update dependencies 2021-03-12 00:38:03 +13:00
bopol
a571ef943c Translate experiencing problems header in french
It is also available for translation in other languages
2021-03-12 00:23:19 +13:00
Cadence Ember
078acbb0e3 Update dependencies
Should fix the recent pug vulnerability (which wasn't exploitable in
Bibliogram anyway, though)
2021-03-04 23:05:25 +13:00
Cadence Ember
d576b3ef76 Remove unblocker
It does not work.

It was created for an older era when the user page was most heavily
restricted, and graphql timeline was free. So the visitor would look
up the username-userID relationship on the instance's behalf, and
submit that for the instance to check, and then that profile would be
unblocked forever because the user page is not needed after that
point.

Now, the user page is free, and graphql timeline can be impossible.
(Still haven't worked that out yet.) So the unblocker would only be
fetching information that the instance could already get. Even if the
instance was somehow blocked from the user page, the unblocker would
not help, since it only fetches the username-userID relationship for
use with graphql timeline, and graphql timeline is currently blocked
on the instance too.

Keeping this in Bibliogram is misleading to visitors and the backing
code is now useless.

The correct way to view profiles is to run your own Bibliogram.
2021-03-04 22:26:52 +13:00
Cadence Ember
8928ab1edf Use GraphicsMagick instead of sharp 2021-03-04 22:24:40 +13:00
Ahmet Çadırcı
dcd593e885 Add Turkish language 2021-02-24 23:08:24 +13:00