Jessica Stokes
2084648afe
Add AGPL License
...
fixes #21
2024-07-20 14:42:13 -07:00
Jessica Stokes
7adace5c5e
Workaround another mysterious Wayback Machine CDX API bug
2021-08-08 19:56:17 -07:00
Jessica Stokes
9db90412cf
Secure requests
2021-08-01 20:34:21 -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
195212d68d
Another attempted fix for non-HTTPS redirects on NFSN
2021-05-29 09:38:27 -07:00
Jessica Stokes
ae3e0bc00a
Fix non-HTTPS redirects on NFSN
2021-05-29 09:35:42 -07:00
Jessica Stokes
1516654bc4
Fix scheme handling of jump function
2021-05-29 09:30:54 -07:00
Jessica Stokes
e544921ade
Add a function to jump to the earliest or most recent snapshots
2021-05-29 09:21:17 -07:00
Jessica Stokes
a1d9f66113
Remove unused imports from history.cgi
2021-05-29 08:58:16 -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
1fc24a321e
Move CDX functions to a class
2021-05-28 18:50:13 -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
88144f3016
Revert "Revert "Fix an error in the history page""
...
This reverts commit 6288e76cc3 .
2021-05-24 12:58:49 -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
6288e76cc3
Revert "Fix an error in the history page"
...
This reverts commit 30c7ea3ff6 .
2021-05-24 12:13:58 -07:00
Jessica Stokes
30c7ea3ff6
Fix an error in the history page
2021-05-23 23:45:28 -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
fe61aa36c1
Do some basic security and XSS protection
2021-05-22 21:43:17 -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
50be6aa5ae
Fix indentation
2021-05-22 13:44:48 -07:00
Jessica Stokes
d3ac7294f5
Remove old debug comments
2021-05-22 13:44:39 -07:00
Jessica Stokes
a88e64701b
Code style improvements
2021-05-22 11:53:03 -07:00
Jessica Stokes
c694df26d1
Remove initial Rails implementation
2021-05-22 11:09:12 -07:00