1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-01-01 03:51:12 +00:00
Commit Graph

248 Commits

Author SHA1 Message Date
Cadence Ember
39c8d7102f Always use Cantarell font 2022-08-11 15:38:09 +12:00
Cadence Ember
48c6e4a8a6 Save proxied media with shortcode as filename 2022-07-27 19:46:57 +12:00
Cadence Ember
dc0a80d1cb Add /settings.json API as requested by Edward 2022-07-27 10:41:48 +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
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
6b667f5f00 Remove CSRF protection 2022-03-05 19:25:22 +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
I. Musthafa
776a209c67 Indonesian Translation for Bibliogram 2021-10-27 00:29:35 +13:00
Cadence Ember
f14837be44 Set and preserve focus when showing post overlay 2021-08-08 16:29:18 +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
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
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
Cadence Ember
81ea52bab8 Fix; use correct map key 2021-01-20 16:12:21 +13:00
Cadence Ember
508236fb9c Use theme colors for timeline error fragments 2021-01-20 15:49:12 +13:00
Cadence Ember
20b4e448eb Alter follower count text/number order 2021-01-19 02:36:50 +13:00
Cadence Ember
aa5d6966a3 State whether images or videos in /p/ link preview 2021-01-19 02:28:02 +13:00
Cadence Ember
5f036124d9 Fix IGTV loading and post count 2021-01-19 02:23:25 +13:00
Cadence Ember
f94de3b0a4 Support new block message for posts too 2021-01-19 01:57:19 +13:00
Cadence Ember
934e6baf06 Tor check bug fixes; recognise december blocking 2021-01-19 01:50:35 +13:00
Philipp Beckers
3245be3891 added german translation file, added german to settings/index 2021-01-01 01:19:21 +13:00
Cadence Ember
544a825b2b Add "experiencing problems" notice 2020-12-18 02:02:56 +13:00
Cadence Ember
3af4b2f237 Change settings save buttons back to real buttons 2020-11-21 01:49:00 +13:00
Cadence Ember
494232849e Fix language reference in settings for "Hide" 2020-11-21 01:05:47 +13:00
bopol
31f6c4936b Add new strings: quota_left, settings_saved 2020-11-15 00:42:46 +13:00
bopol
36df0350a9 make settings translatable 2020-11-15 00:42:17 +13:00
learnpastsole
5ff2462f1b add Bahasa Melayu 2020-11-12 16:53:42 +13:00
Plamen Peev
9a63d56eee Trim Whitespace From Input Fields
When pasting text in the user or post fields,
some unwanted whitespace may occur, especially from mobile device.
Currently, if this whitespace is before the username or the post,
Bibliogram returns 404.
This patch prevents this by trimming the unwanted whitespace.
2020-11-09 02:00:37 +13:00
Cadence Ember
e5c0c7707c Tweaks to submitted language files 2020-11-06 03:04:07 +13:00
Plamen Peev
47905b823a Add Bulgarian Language Translation 2020-11-06 02:59:18 +13:00
Cadence Ember
c6ea5ae8e4 Add alias paths /tv/, /igtv/, /reel 2020-08-31 20:30:31 +12:00
bopol
9b902d1149 Add French language 2020-08-01 21:43:26 +12:00
Cadence Ember
53e43ab033 Fix timeline quota reached pug filename 2020-07-31 03:43:01 +12:00
Cadence Ember
d4f9af44b0 Notify users if they were blocked due to proxy 2020-07-31 03:19:55 +12:00
Cadence Ember
db364721d8 Add Galician translation (thanks XoseM) 2020-07-30 19:52:08 +12:00
Cadence Ember
c7522f1198 Fix instance API 2020-07-30 00:12:19 +12:00
Cadence Ember
44c8e96a94 Cache enhancements:
- Use quota for /p/ requests
- Correctly detect owner.full_name to save unneeded requests out
- Unify quota reached pages
- Unify post presentation into function that fetches prerequisites
- Add getByID method to userRequestCache
2020-07-29 21:51:41 +12:00
Cadence Ember
43c2d66b04 Add Spanish language (thanks tagomago) 2020-07-29 15:15:56 +12:00