Compare commits
No commits in common. "a65f7ceb399dc5aebc8a9cc330e049bc9ef69dd2" and "8de79a6e5afd1e469b8d83c278272b732d320e86" have entirely different histories.
a65f7ceb39
...
8de79a6e5a
65
BOARD.txt
65
BOARD.txt
|
@ -1,38 +1,4 @@
|
||||||
TODO
|
TODO DONE
|
||||||
----------------------------------------
|
|
||||||
bug: can't input unicode
|
|
||||||
bug: xterm is borked
|
|
||||||
dumb rendering mode per site
|
|
||||||
well, preferences per site maybe?
|
|
||||||
does encoding really work? cf. egsam
|
|
||||||
get/set config using command-line
|
|
||||||
more UT
|
|
||||||
setup.py
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BACKLOG
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
click on links to open them
|
|
||||||
download without memory buffer
|
|
||||||
download in the background
|
|
||||||
download view instead of last download
|
|
||||||
margins / centering
|
|
||||||
pre blocks folding
|
|
||||||
buffers (tabs)
|
|
||||||
a11y? tts?
|
|
||||||
handle soft-hyphens on wrapping
|
|
||||||
bug: combining chars reduce lengths
|
|
||||||
non shit command-line
|
|
||||||
response code 11 (if still there)
|
|
||||||
gopher?
|
|
||||||
opt. maintain history between sessions
|
|
||||||
history (forward) (useful?)
|
|
||||||
search in page (ugh)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DONE
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
browsing
|
browsing
|
||||||
links
|
links
|
||||||
|
@ -54,3 +20,32 @@ media files
|
||||||
identity management
|
identity management
|
||||||
logging
|
logging
|
||||||
home page
|
home page
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BACKLOG
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
bug: can't input unicode
|
||||||
|
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 in the background
|
||||||
|
download view instead of last download
|
||||||
|
does encoding really work? cf. egsam
|
||||||
|
margins / centering
|
||||||
|
pre blocks folding
|
||||||
|
buffers (tabs)
|
||||||
|
a11y? tts?
|
||||||
|
handle soft-hyphens on wrapping
|
||||||
|
bug: combining chars reduce lengths
|
||||||
|
non shit command-line
|
||||||
|
response code 11 (if still there)
|
||||||
|
gopher?
|
||||||
|
opt. maintain history between sessions
|
||||||
|
history (forward) (useful?)
|
||||||
|
search in page (ugh)
|
||||||
|
get/set config using command-line
|
||||||
|
bug: xterm is borked
|
||||||
|
more UT
|
||||||
|
|
|
@ -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 Optional, Tuple
|
from typing import Dict, Optional, Tuple
|
||||||
|
|
||||||
from bebop.bookmarks import (
|
from bebop.bookmarks import (
|
||||||
get_bookmarks_path,
|
get_bookmarks_path,
|
||||||
|
|
|
@ -6,7 +6,9 @@ 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 get_downloads_path, get_identities_list_path
|
from bebop.fs import (
|
||||||
|
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
|
||||||
|
@ -293,7 +295,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("Can't load identities.")
|
browser.set_status_error(f"Can't load identities.")
|
||||||
return None
|
return None
|
||||||
browser.identities = identities
|
browser.identities = identities
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,6 @@ 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()
|
||||||
|
|
|
@ -26,11 +26,12 @@ 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
|
from typing import Optional, Union
|
||||||
|
|
||||||
from bebop.fs import get_identities_path
|
from bebop.fs import get_identities_path, get_user_data_path
|
||||||
|
|
||||||
|
|
||||||
def load_identities(identities_path: Path) -> Optional[dict]:
|
def load_identities(identities_path: Path) -> Optional[dict]:
|
||||||
|
|
Reference in a new issue