Commit Graph

153 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 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 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
Cadence Ember 10b38185c4
Correctly show co-authored videos 2022-06-26 13:25:11 +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 7461f25ca9 Use boring font for consistent non-latin script appearance based on page heuristics 2022-05-06 01:36:40 +12:00
Cadence Ember a6094a37ec
Embeds may be blocked or have missing captions 2022-02-21 23:37:26 +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 a807acc296
Allow customisation of tor port 2021-09-28 16:23:52 +13:00
Cadence Ember c5bd24f9d4
Add handler for alternate form of age restriction 2021-08-05 23:33:19 +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
Jakob Wenzel 7fd90bce54
fix crash in feeds with empty caption 2021-02-22 23:18:26 +13:00
Jakob Wenzel 9b4f235355
insert br tags in feeds
FreshRSS performs input sanitation and throws away all style attributes.
Instead of relying on them for linebreaks, insert br tags.
2021-02-19 00:14:01 +13:00
bopol c050f6424a
use redirect.invidious.io for youtube redirection
fix regression introduced by commit e1883b2d9e
invidious.io is not the redirect website for invidious, but the homepage
of Invidious (project)
2021-02-06 13:13:34 +13:00
Cadence Ember 5ed035a432
Preserve history error kind 2021-01-30 19:40:20 +13:00
Cadence Ember 2419fbf08b
Change self_blocked_status to include timeline
Disabled by default, enable in the usual way.
2021-01-30 19:29:24 +13:00
Cadence Ember e1883b2d9e
Set default Invidious instance to invidious.io 2021-01-23 21:59:23 +13:00
Cadence Ember 5f036124d9
Fix IGTV loading and post count 2021-01-19 02:23:25 +13:00
Cadence Ember 934e6baf06
Tor check bug fixes; recognise december blocking 2021-01-19 01:50:35 +13:00
Cadence Ember 72ee788799
Emergency jank: Route through Tor 2020-11-17 18:30:18 +13:00
bopol 40eeab8435
add language_dev constant
this constant, if enabled, will display MISSING STRING: string_id
if disabled, it will display the english version of string string_id
2020-11-15 00:42:37 +13:00
Kyle Anthony Williams 0d251779f2
Changed the journal mode of the SQLite DB to WAL.
https://github.com/JoshuaWise/better-sqlite3/issues/262#issuecomment-549872386

https://www.sqlite.org/wal.html

Just do it. It should near instanly make Bibliogram faster.
2020-11-04 14:24:29 +13:00
Cadence Ember 3fccab179d
Add VPN IPv6 list 2020-08-01 02:10:25 +12:00
Cadence Ember d4f9af44b0
Notify users if they were blocked due to proxy 2020-07-31 03:19:55 +12:00
Cadence Ember f0a28d485f
Remove debugging info from getIdentifier 2020-07-31 03:01:54 +12:00
Cadence Ember 4fdf44c4ca
Use general known bots list file 2020-07-31 03:01:14 +12:00
Cadence Ember 271afec9db
Add VPN list and applied-privacy subnet list 2020-07-31 02:44:28 +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 78cefb0776
Fix simultaneous accesses to inflight RequestCache 2020-07-29 15:32:04 +12:00
Cadence Ember e6211f17c2
Log even more when timelineentry not created 2020-07-29 01:08:12 +12:00
Cadence Ember d22c728473
Add m.youtube.com to youtube redirect list 2020-07-29 00:52:31 +12:00
Cadence Ember 4c119c307b
When data not initialised, log more details 2020-07-29 00:10:27 +12:00
Cadence Ember f7c4ae19f4
Option to track quota for analysis 2020-07-23 01:20:06 +12:00
Cadence Ember 112d9cc90e
Add request quota system 2020-07-23 00:58:21 +12:00
Cadence Ember 5baae5167d
Add screenshot tests for user, post, and gallery 2020-07-20 19:15:58 +12:00
Cadence Ember 496d53f47e
Create initial language support
Create support for languages, then reformat user, home, and post pages
to use it, and create en and en-us language files.
2020-07-20 01:40:27 +12:00
Cadence Ember aeb1947056
Link to new reserved URLs document 2020-07-17 00:19:37 +12:00
Cadence Ember 8f0890f0ad
Fix getOrFetchPromise errors getting stuck cached 2020-07-16 23:41:00 +12:00
Cadence Ember 0594d694da
Mostly remove GitHub 2020-07-14 01:27:42 +12:00
Cadence Ember 82ee6e6d64
Im Cool 2020-07-11 20:56:19 +12:00
Cadence Ember c57d51e3eb
Embed videos in feeds 2020-07-10 22:34:06 +12:00
Cadence Ember 642e543fd6
Automatically download test files when required 2020-07-07 22:08:47 +12:00
Cadence Ember c3455ec183
Deleted accounts become 404 instead of error
Fixes #95.
2020-07-07 22:08:19 +12:00