Commit Graph

113 Commits

Author SHA1 Message Date
Cadence Ember 7acb21f613
User pages now count for quota, as it should be. 2022-05-06 16:14:58 +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 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
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
bopol 31f6c4936b
Add new strings: quota_left, settings_saved 2020-11-15 00:42:46 +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 c6ea5ae8e4
Add alias paths /tv/, /igtv/, /reel 2020-08-31 20:30:31 +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 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 2b5899f430
Create page for when graphql is blocked 2020-07-29 00:53:29 +12:00
Cadence Ember 112d9cc90e
Add request quota system 2020-07-23 00:58:21 +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 5ef9af5f08
Write new timeline loading blocked notice 2020-07-16 23:41:18 +12:00
Cadence Ember f1f24f8c4a
Use hashed URL for arrow button 2020-07-16 23:21:24 +12:00
Cadence Ember 0594d694da
Mostly remove GitHub 2020-07-14 01:27:42 +12:00
Cadence Ember 43c083da9a
Update stream push hook 2020-07-08 14:56:06 +12:00
Cadence Ember 7941ea9667
Add PAGE_IGTV feature 2020-06-26 03:37:16 +12:00
Cadence Ember a023e09743
Add IGTV 2020-06-25 02:58:01 +12:00
Cadence Ember 20ea14c0d1
Fragments have rate limit symbol handler 2020-06-24 20:20:43 +12:00
Cadence Ember 81b2c77b98
Add youtube/twitter rewrite (closes #22) 2020-06-22 02:04:15 +12:00
Cadence Ember a7a9af8854
Remove updater page 2020-06-22 01:07:37 +12:00
Cadence Ember ee2626924a
Add screenshot tester 2020-06-21 04:09:36 +12:00
Cadence Ember b439158cbc
Update instances parser 2020-06-19 20:21:29 +12:00
Cadence Ember 0c16c027e9
Add settings restore link 2020-06-19 19:12:43 +12:00
Cadence Ember 36530e5db4
Unblock script checks if own network is blocked 2020-06-19 18:27:58 +12:00
Cadence Ember 6e1e5e6996
Fix exploit and add tests for proxy URL validator 2020-06-19 17:57:34 +12:00
Cadence Ember a13daa7ced
Add onion location 2020-06-19 17:45:51 +12:00
Cadence Ember 753b4f4ea4
Apply settings to error pages 2020-06-16 23:01:40 +12:00
Cadence Ember e1d0d08bec
Add API_UNBLOCK feature flag 2020-06-16 02:48:40 +12:00
Cadence Ember 3cbe4647e1
Add userscript 2020-06-14 00:32:03 +12:00
Cadence Ember 78a41aada9
Update blocked page with command line to unblock 2020-06-12 04:09:28 +12:00
Cadence Ember 00920d8f6d
Fix typo 2020-05-30 18:15:25 +12:00
Cadence Ember 474274740f
Redesign return from settings page 2020-05-29 20:46:45 +12:00
Cadence Ember a83156e860
tweak update stream 2020-05-22 04:24:21 +12:00
Cadence Ember f798bd158d
Add experimental update stream 2020-05-22 03:44:52 +12:00
Cadence Ember 8c8808e1dc
Slightly improve blocked detection 2020-05-20 03:54:22 +12:00
Cadence Ember 13339efa9e
Implement caption on right (closes #51) 2020-05-20 03:03:21 +12:00
Cadence Ember d4b869046e
Adjust instance list parser 2020-05-18 00:29:01 +12:00
Cadence Ember 6a29419bff
FIx infinite loop 2020-05-18 00:13:08 +12:00
Cadence Ember 47cc40bc5a
CSRF and various enhancements 2020-05-10 03:20:13 +12:00
Cadence Ember 8aac24bac8
Make additional themes more easily configurable 2020-05-09 23:37:56 +12:00
Cadence Ember 23e2ffecbf
Refactor sass for theming 2020-05-09 21:34:00 +12:00
Cadence Ember 710400c4f1
Default stats inner version to 1.x instead of 1.0 2020-05-09 03:22:54 +12:00
Cadence Ember 53ab0764a9
Add canonical origin to stats API 2020-05-09 03:18:38 +12:00