Jessica Stokes
ec8b2c6111
Add now-required Referer header to __wb/search queries
...
Fixes #48
2025-10-28 10:07:49 -07:00
Jessica Stokes
2084648afe
Add AGPL License
...
fixes #21
2024-07-20 14:42:13 -07:00
Jessica Stokes
7f3ee89372
Wrap CGI modules in a Rack app so we can do in-process Capybara requests
2021-07-14 09:48:16 -07:00
Jessica Stokes
060df35d6d
Make all CGI files self-calling modules so we can test them more easily
2021-06-01 20:41:09 -07:00
Jessica Stokes
a2829d04e8
Update outgoing HTTP request error handling
2021-05-28 21:15:31 -07:00
Jessica Stokes
459bc199bd
Move legacy encoding support into a class
2021-05-28 19:30:23 -07:00
Jessica Stokes
780ce02e67
Update error handling to hide unhandled errors, and show input errors
2021-05-28 19:19:31 -07:00
Jessica Stokes
d24b08f6d5
Implement a custom WebClient class, which caches web responses
2021-05-28 18:51:44 -07:00
Jessica Stokes
4b7c48b5d9
Remove unneeded CGI imports
2021-05-24 17:27:30 -07:00
Jessica Stokes
1749427c15
Report errors to stderr instead
2021-05-24 16:49:16 -07:00
Jessica Stokes
7e64e42820
Integrate with Bugsnag so errors can be handled better
2021-05-24 14:12:39 -07:00
Jessica Stokes
f881856e58
Implement a patch to fix OpenURI on nearlyfreespeech.net hosting
...
NFSN's tmp directory is world-writable, but the CGI process runs as a user who is part of "world," which means Ruby's usual security protections here don't make sense. `FORCE_WORLD_WRITABLE_TEMP` should not be set in any normal circumstances, as it would cause a potentially significant security risk.
2021-05-24 13:00:18 -07:00
Jessica Stokes
f06792b7c2
Revert "Revert "Switch to OpenURI and provide a user-agent string for niceness""
...
This reverts commit 251b51753c .
2021-05-24 12:58:45 -07:00
Jessica Stokes
251b51753c
Revert "Switch to OpenURI and provide a user-agent string for niceness"
...
This reverts commit b6908edfa2 .
2021-05-24 12:14:02 -07:00
Jessica Stokes
b6908edfa2
Switch to OpenURI and provide a user-agent string for niceness
2021-05-23 23:41:27 -07:00
Jessica Stokes
86b24f48aa
Add handling of user-agents which don't honour page encodings
2021-05-23 23:24:14 -07:00
Jessica Stokes
964297e01f
Implement date selection in the history views
2021-05-22 21:23:08 -07:00
Jessica Stokes
330cd4084f
Tabs to Spaces
2021-05-22 13:46:14 -07:00
Jessica Stokes
d3ac7294f5
Remove old debug comments
2021-05-22 13:44:39 -07:00
Jessica Stokes
c694df26d1
Remove initial Rails implementation
2021-05-22 11:09:12 -07:00