Commit Graph

157 Commits (315a249ef6c730105ab408510e09e8e6e0b18c44)

Author SHA1 Message Date
magical 315a249ef6 check for empty post before asking for confirmation
before this change, BBJ would give the big "You are posting
anonymously!" warning even if the post body was empty (say, because you
accidentally started a post and closed the editor immediately). only
after confirming that you _really_ wanted to post anonymously would it
notice that, hey, the post body is empty and discard the post.

it makes more sense to do the checks the other way around.
2022-08-08 01:51:37 +00:00
magical 92bdd7b660 improve wipe_screen 2022-08-07 01:39:18 +00:00
magical 77d38011b5 quote file path in shell command 2022-08-07 01:25:14 +00:00
magical 4364c16625 set env in subprocess a little more cleanly 2022-08-07 01:25:14 +00:00
magical deb8d3ba4b remove unnecessary shell=True's 2022-08-07 01:25:14 +00:00
magical f63233dbb7 don't use network.request 2022-08-07 01:25:14 +00:00
magical ab42b4a27d use network.request 2022-08-07 01:25:14 +00:00
magical 8ae384b1cd make sane_value validation a little more general 2022-08-06 06:42:20 +00:00
magical 5e7168c848 rewrite some tail call loops as normal loops 2022-08-06 06:20:16 +00:00
magical 2e54939345 remove global network value 2022-08-06 06:01:25 +00:00
magical ceb4937c60 remove relog parameter 2022-08-06 05:40:25 +00:00
magical 3e4f3de2a8 pass the initial username and password to log_in explicitly 2022-08-06 05:20:39 +00:00
magical b1d1de659d import exit
The builtin exit function is added by the site package "for the
interactive interpreter" and "should not be used in programs", according
to the manual.

We want sys.exit instead. (I didn't know you could pass it a string
value, but it turns out you can.)
2022-08-06 05:10:14 +00:00
magical df9d419919 move some global code into main 2022-08-06 05:09:57 +00:00
desvox 1c296cc500 Allow admins to set server pins from client. 2018-08-05 22:25:02 -05:00
desvox cba92412a8 Allow setting server admins from server's config.json 2018-08-05 19:13:41 -05:00
desvox 826c13db98 Improve developer console. 2018-08-05 18:19:29 -05:00
desvox 33efb379ad Add basic urwid frame and divider theming support. 2018-08-05 13:14:57 -05:00
desvox aaf57cfd56 Make content refresh notification shorter. 2018-08-04 08:32:13 -05:00
desvox 7b9b49c320 Add note about environment variable usage and security. 2018-08-04 08:31:11 -05:00
desvox be24ae9dc2 Allow server to share configuration info with clients. 2018-08-04 08:21:01 -05:00
desvox 504ee3fc04 Added option to warn when posting anonymously. 2018-07-30 12:13:13 -05:00
desvox f5b06cca18 Added client-side thread pinning. 2018-07-27 22:57:48 -05:00
desvox 8044468f8b I CANNOT TYPE 2018-07-27 19:12:23 -05:00
desvox 7665d19d2f Added enviroment variable info to --help 2018-07-27 19:10:12 -05:00
desvox 92c4f4c1ae Added environment variable support for logging in. 2018-07-27 19:00:23 -05:00
desvox 6d0d10b9a7 Fix out-of-bounds crashes and added help text for thread searching. 2018-07-27 18:30:46 -05:00
desvox 22b4a5d5a5 Add basic search support (needs a little work, btw HI MODS) 2018-07-27 17:28:34 -05:00
desvox 4177c6080c Update formatting help text. 2018-07-27 07:07:53 -05:00
desvox ed8831c728 add a --help option 2018-07-27 06:57:54 -05:00
Blake DeMarcy 33dd0a361d basic ass https support 2018-02-13 22:12:56 -06:00
Blake DeMarcy e0f83592dc made linequote spacing less fucky 2017-10-11 15:13:13 +00:00
Blake DeMarcy 18426796b7 allow setting escape keys for the composers 2017-09-10 14:16:58 -05:00
Blake DeMarcy 41b7311d70 preliminary custom escape key handling in the composer 2017-09-10 13:18:26 -05:00
Blake DeMarcy 1ab36bd984 until thread searches are supported, do not show prompt on [/] 2017-09-09 18:41:09 -05:00
Blake DeMarcy a38d93edef add note to search prompt on how to reset search 2017-09-09 18:34:36 -05:00
Blake DeMarcy 30c057e6da update usermap on search; show in headerline when searching 2017-09-09 17:58:49 -05:00
Blake DeMarcy fa006d6d69 add [/]Search to index footer 2017-09-09 16:47:46 -05:00
Blake DeMarcy ea45451c4a fuckup: Merge branch 'master' of github.com:desvox/bbj 2017-09-09 16:44:38 -05:00
Blake DeMarcy f89f07432b add extremely basic thread index searching 2017-09-09 16:43:16 -05:00
Blake DeMarcy fa4174e101 fix for loop for 3.4 compat 2017-09-08 23:31:51 -05:00
Blake DeMarcy ab8d530677 remove star expansion statements (3.4 compat) 2017-09-06 16:54:29 -05:00
jmdejong 97e67388cc format .bbjrc
add indentation to .bbjrc so it will become much more readable
2017-06-01 11:54:29 +02:00
Blake DeMarcy b440bc41f9 tweak help bars 2017-05-24 21:44:57 -05:00
Blake DeMarcy bbe7dc0d41 allow specification of username on the commandline 2017-05-05 10:20:11 -05:00
Blake DeMarcy e673706ae5 add option to include ops with index (or only ops with gets) 2017-04-29 20:48:38 -05:00
Blake DeMarcy 59404cfe87 add more keys for jump setting 2017-04-28 22:16:30 -05:00
Blake DeMarcy 7267a700f8 add new host options for server and urwid client 2017-04-26 22:08:24 -05:00
Blake DeMarcy 7346a9410f more sizing tweaks on the format help window 2017-04-26 20:26:38 -05:00
Blake DeMarcy 5af39825d3 change format help height when editing 2017-04-26 20:22:05 -05:00