504 Commits

Author SHA1 Message Date
James Taylor
08775fa2d0 Content-Type: text/vtt for subtitles 2019-01-12 22:03:16 -08:00
James Taylor
1ba38a5c9c Content-type: text/plain for errors or status messages 2019-01-06 19:31:01 -08:00
James Taylor
1c061783b4 accounts: write newline at end of file when saving accounts 2019-01-06 18:27:29 -08:00
James Taylor
36e0409db4 Add newline to end of files 2019-01-06 18:20:29 -08:00
James Taylor
c80a6b5eed add some space between playlist thumbnail and description 2019-01-06 18:07:39 -08:00
James Taylor
2c8300a646 add some space after playlist description/thumbnail 2019-01-06 18:06:23 -08:00
James Taylor
bb2d40ac83 rename env['fields'] to env['parameters'] and rename fields to parameters in general 2019-01-06 01:33:52 -08:00
James Taylor
eea16e5ac3 WSGI for GET and POST requests with path data 2019-01-06 01:19:03 -08:00
James Taylor
a98f94b1ec WSGI for /post_comment (POST request) 2019-01-05 02:22:12 -08:00
James Taylor
28270a9ce8 WSGI for /delete_comment (POST request) 2019-01-05 01:57:50 -08:00
James Taylor
60df0aec6d WSGI for logging in (POST request) 2019-01-05 01:47:54 -08:00
James Taylor
31a60602de WSGI for /edit_playlist 2019-01-05 01:23:04 -08:00
James Taylor
a57fc77426 WSGI for simple non-path GET pages 2019-01-05 00:20:39 -08:00
James Taylor
ec2fb71a37 WSGI for search 2019-01-04 03:33:07 -08:00
James Taylor
ea0705a98d Add permalink to comment on timestamp 2019-01-02 21:42:14 -08:00
James Taylor
2550552b28 Indicate whether tor routing is on 2018-12-31 03:18:42 -08:00
James Taylor
eda81412f6 Updated README 2018-12-31 03:14:21 -08:00
James Taylor
b70e3bf6dd Change default port to 8080 2018-12-31 02:53:06 -08:00
James Taylor
e3fac7da54 Ability to delete comments 2018-12-31 02:52:27 -08:00
James Taylor
005c1239a6 Rename username to channel_id in more places 2018-12-31 00:00:06 -08:00
James Taylor
e98f693aaf put session_token retrieval code into a function 2018-12-30 23:56:00 -08:00
James Taylor
913c258093 Use channel id to uniquely identify accounts, not username 2018-12-30 23:27:51 -08:00
James Taylor
248c2e1415 Save channel id when adding account 2018-12-30 05:06:42 -08:00
James Taylor
d86b4704f8 Option to use tor when logging in 2018-12-30 03:39:10 -08:00
James Taylor
a9c1e804ed post_comment: receive cookies given during session token retrieval (fixes 400 bad request when comment is posted) 2018-12-26 20:16:14 -08:00
James Taylor
a5286e57cc Fix post_comment function 2018-12-26 20:14:33 -08:00
James Taylor
ca37786e38 Fix username parameter not being sent 2018-12-26 20:12:55 -08:00
James Taylor
1cb0095536 Fix cookiejar_from_lwp function 2018-12-26 20:07:10 -08:00
James Taylor
fcbd8ebef6 Added account selection to comment boxes 2018-12-26 19:37:15 -08:00
James Taylor
dfbd7778d1 Make accounts.txt more human-readable 2018-12-26 18:45:50 -08:00
James Taylor
9a386145ff If specified, save account to disk after adding it 2018-12-26 18:37:35 -08:00
James Taylor
90f19d2d5b Rename cookie_jar to cookiejar 2018-12-26 18:27:15 -08:00
James Taylor
2b4b5e284c fetch_url: Fix cookies not being sent after redirects 2018-12-26 18:20:53 -08:00
James Taylor
6a23df8c90 Don't use tor when logging in 2018-12-26 17:24:53 -08:00
James Taylor
b321b5fc64 Server-side http logic for adding account 2018-12-26 02:21:20 -08:00
James Taylor
b4aa7cecbc _login: Add youtube-dl standard headers to requests 2018-12-26 02:12:05 -08:00
James Taylor
f8c51bdfd8 fetch_url: fix cookie sending/receiving not working 2018-12-26 02:05:56 -08:00
James Taylor
d5e2e3ee8a Added account login page 2018-12-25 01:26:23 -08:00
James Taylor
fef272af4f Use new cookiejar system for comment posting 2018-12-25 00:43:49 -08:00
James Taylor
5ffe9a4030 Function to produce LWPCookieJar from lwp string 2018-12-25 00:13:52 -08:00
James Taylor
8f5edfe6f9 Accounts: use dictionary based on username instead of list 2018-12-24 23:55:43 -08:00
James Taylor
dda06bd860 add_account function 2018-12-24 23:50:39 -08:00
James Taylor
3d1a1189e7 Reorganized account and commenting functions into different files 2018-12-24 23:39:09 -08:00
James Taylor
888a850dbf Loading/saving of accounts 2018-12-24 23:29:35 -08:00
James Taylor
59c0d76424 Initial port of _login method 2018-12-24 03:00:42 -08:00
James Taylor
b61865beb1 Added cookie-handling ability to fetch_url 2018-12-24 00:42:15 -08:00
James Taylor
b1fff10065 common: support for POST data in fetch_url 2018-12-23 02:16:15 -08:00
James Taylor
6217e6f558 Properly handle case of non-existent channel tab 2018-12-21 02:13:52 -08:00
James Taylor
f74447bc5c Fix channel title out-of-place in channel search results 2018-12-21 02:05:41 -08:00
James Taylor
dca25bd4cc Properly handle terminated channel on channel's playlist and about page 2018-12-21 01:59:33 -08:00