Compare commits

...

3 commits

Author SHA1 Message Date
dece a65f7ceb39 board: prep next batch of tasks before release 2021-05-16 01:51:03 +02:00
dece acf8147fa1 linting 2021-05-16 01:30:00 +02:00
dece 1d92b52379 external: fix issues with coming back from vim 2021-05-16 01:28:47 +02:00
5 changed files with 43 additions and 38 deletions

View file

@ -1,39 +1,22 @@
TODO DONE TODO
-------------------------------------------------------------------------------- ----------------------------------------
browsing bug: can't input unicode
links bug: xterm is borked
redirections dumb rendering mode per site
web links well, preferences per site maybe?
history (back) does encoding really work? cf. egsam
simple caching get/set config using command-line
simple text files more UT
encodings setup.py
bookmarks
view/edit sources
downloads
configuration
help page
TOFU
view history
open last download
media files
identity management
logging
home page
BACKLOG BACKLOG
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
bug: can't input unicode
click on links to open them click on links to open them
bug: exiting editor breaks curses
dumb rendering mode per site
well, preferences per site maybe?
download without memory buffer download without memory buffer
download in the background download in the background
download view instead of last download download view instead of last download
does encoding really work? cf. egsam
margins / centering margins / centering
pre blocks folding pre blocks folding
buffers (tabs) buffers (tabs)
@ -46,6 +29,28 @@ gopher?
opt. maintain history between sessions opt. maintain history between sessions
history (forward) (useful?) history (forward) (useful?)
search in page (ugh) search in page (ugh)
get/set config using command-line
bug: xterm is borked
more UT
DONE
--------------------------------------------------------------------------------
browsing
links
redirections
web links
history (back)
simple caching
simple text files
encodings
bookmarks
view/edit sources
downloads
configuration
help page
TOFU
view history
open last download
media files
identity management
logging
home page

View file

@ -9,7 +9,7 @@ import subprocess
import tempfile import tempfile
from math import inf from math import inf
from pathlib import Path from pathlib import Path
from typing import Dict, Optional, Tuple from typing import Optional, Tuple
from bebop.bookmarks import ( from bebop.bookmarks import (
get_bookmarks_path, get_bookmarks_path,

View file

@ -6,9 +6,7 @@ from typing import Optional
from bebop.browser.browser import Browser from bebop.browser.browser import Browser
from bebop.command_line import CommandLine from bebop.command_line import CommandLine
from bebop.fs import ( from bebop.fs import get_downloads_path, get_identities_list_path
get_downloads_path, get_identities_path, get_identities_list_path
)
from bebop.identity import ( from bebop.identity import (
ClientCertificateException, create_certificate, get_cert_and_key, ClientCertificateException, create_certificate, get_cert_and_key,
get_identities_for_url, load_identities, save_identities get_identities_for_url, load_identities, save_identities
@ -295,7 +293,7 @@ def _handle_cert_required(
""" """
identities = load_identities(get_identities_list_path()) identities = load_identities(get_identities_list_path())
if not identities: if not identities:
browser.set_status_error(f"Can't load identities.") browser.set_status_error("Can't load identities.")
return None return None
browser.identities = identities browser.identities = identities

View file

@ -12,6 +12,9 @@ def open_external_program(command):
""" """
curses.nocbreak() curses.nocbreak()
curses.echo() curses.echo()
curses.curs_set(1)
subprocess.run(command) subprocess.run(command)
curses.mousemask(curses.ALL_MOUSE_EVENTS)
curses.curs_set(0)
curses.noecho() curses.noecho()
curses.cbreak() curses.cbreak()

View file

@ -26,12 +26,11 @@ import hashlib
import json import json
import logging import logging
import secrets import secrets
import string
import subprocess import subprocess
from pathlib import Path from pathlib import Path
from typing import Optional, Union from typing import Optional
from bebop.fs import get_identities_path, get_user_data_path from bebop.fs import get_identities_path
def load_identities(identities_path: Path) -> Optional[dict]: def load_identities(identities_path: Path) -> Optional[dict]: