Commit Graph

35 Commits

Author SHA1 Message Date
0fda6f5623 --cache-validity argument added to opnk and netcach (#37) 2024-01-31 17:54:50 +01:00
2faf460f0f close #39: implement --mode in opnk 2024-01-31 16:30:49 +01:00
6484cf3426 less prompts: last line of the screen 2024-01-30 16:21:58 +01:00
79a3f9875f More informative prompt in LESS 2024-01-29 15:15:00 +01:00
c3aff6755e follow redirects everywhere. Should fix #28$
«
2023-12-01 17:14:22 +01:00
5bf84c91fa documentation for ansicat/netcache/opnk 2023-11-09 12:36:32 +01:00
7ffbd1b288 adding a comment to understand what I did 2023-09-25 11:05:55 +02:00
0666aaaa7a fixes opening mailto links 2023-09-11 17:26:57 +02:00
1a2cff83af themes are now applied instantly 2023-09-02 12:41:55 +02:00
2fa2fbc718 support blocking subdomains with * 2023-08-31 21:35:08 +02:00
28d22c4d11 do not try to open files if they dont exist 2023-08-31 20:45:52 +02:00
699fed78b9 Introducing themes
You can now customize the colors of offpunk by using the command
"theme".

See "help theme" or use the autocomplete.
2023-08-31 00:40:35 +02:00
97b02a666f do not use cache for local files 2023-08-30 14:06:07 +02:00
Étienne Mollier
7ad75380a6 Homogenize shebang
Before the change, ansicat, netcache and opnk assume that the
interpreter location is always /bin/python.  While some distributions
do provide python at this location, even as a python3 interpreter,
some others such as Debian do not provide a plain python interpreter
anymore, at least not by default.  There exist packages to provide the
version 2 or the version 3 of the interpreter at that location, but
the three possible configurations (v2, v3 or none) are left at the
discretion of the administrator, so in practice can't really be
predicted in advance.

This change applies the same shebang as offpunk.py and the cache
migration script.  Use of /usr/bin/env has also the side effect of
easing use of python3 interpreters installed at weird locations.

Signed-off-by: Étienne Mollier <emollier@debian.org>
2023-08-30 09:22:08 +02:00
d8bba70fe2 cleanup of the cache should always be full 2023-08-28 14:54:24 +02:00
95c790f69d fix bug #20 due to a stupid line added without testing 2023-08-25 14:14:06 +02:00
392c42ae48 "--images-mode" allow to choose at startup which images should be dowloaded (none,readable,full)
It default to downloading "readable" images.
download_images_first option will also be deprecated
2023-08-24 15:14:49 +02:00
10b3a84be5 Solve the infamous application/javascript bug
Lot of html pages are now recognized as application/javascript. We now
force the HtmlRenderer for application/javascript.

Contact address has also be changed to offpunk2 everywhere
2023-08-22 14:59:20 +02:00
238d4352a9 missed an import in opnk 2023-08-18 12:45:28 +02:00
fe06f17b16 better handling of changing width with opnk 2023-08-17 15:38:47 +02:00
38fcc89193 fixed do_cat and do_shell 2023-08-17 14:16:40 +02:00
462d257c36 implemented grep and better restoring of last mode 2023-08-17 13:42:57 +02:00
392b4c085d inverted logic to restore position in lists 2023-08-17 13:41:41 +02:00
24112ba2b4 fixed opnk with local files 2023-08-17 13:41:41 +02:00
b7286b8039 lists are always displayed in cat 2023-08-17 13:41:41 +02:00
67e7c6d7e7 images are now displayed using chafa 2023-08-17 13:41:41 +02:00
33def82b2a things start to look usable 2023-08-17 13:41:41 +02:00
4e8418541d support for mailto 2023-08-17 13:41:39 +02:00
7464b80e3e awesome progress with caching. Everything starts to make sense 2023-08-17 13:40:18 +02:00
21784dc0d6 debugging --sync 2023-08-17 13:39:29 +02:00
c03a161e56 last_mode is broken, Im confused 2023-08-17 13:39:29 +02:00
1b0c3774b6 Ansirenderer has been renamed to ansicat.
Downloading of images has been moved into netcache.
Offpunk go_to_url starts to be sane and easier.
2023-08-17 13:39:29 +02:00
09c37dee5c opnk seems to be functional. Lists are still missing 2023-08-17 13:39:29 +02:00
323c088683 opnk is now basically working 2023-08-17 13:39:29 +02:00
654f03c53c introducing openk 2023-08-17 13:39:29 +02:00