Commit graph

811 commits

Author SHA1 Message Date
e6097931b2 webserver: Add a cursor. 2021-11-18 08:07:39 +10:00
b4a7178ea2 webserver: Improve interface.
- Put the listing on the same page, like in the tui.
2021-11-17 10:05:25 +10:00
b3ac69e0aa webserver: Results look better without the border. 2021-11-16 23:30:57 +10:00
64b3221daa webserver: Coding style.
- Don't sort unnecessarily.
2021-11-16 16:11:32 +10:00
b862b484ac webserver: Prefer sorting by file type. 2021-11-16 15:50:15 +10:00
377f74c471 webserver: Fix it.
- Should add tests for as_html methods.
2021-11-16 11:25:40 +10:00
c98f3260a9 webserver: Allow running without root permission.
- Change default port to 8080.
- Port 80 needs root permission to open.
2021-11-16 11:00:42 +10:00
9ecc65bd12 Generate correct html from xterm colors. 2021-11-15 22:18:07 +10:00
28b2c9bae9 Show italic file types correctly.
- Some file types have italic lscolors style, e.g. pem files.
- Using TermStr.from_term to parse lscodes now it exists.
2021-11-15 09:51:02 +10:00
06fc1be36d Add LICENSE files to the subprojects. 2021-11-14 09:55:21 +10:00
032b2ac7a1 Coding style.
- Consistently use "/usr/bin/env".
2021-11-11 19:39:25 +10:00
f98d3ce416 termstr: Stop tests depending on fill3. 2021-11-11 17:33:17 +10:00
33616d3f37 termstr: Coding style.
- Add tests for xterm_colors and closest_color_index.
2021-11-11 17:22:07 +10:00
2b5d14b87d Coding style.
- Change termstr from a package to a single module, since ColorMap
  no longer exists.
2021-11-11 00:08:32 +10:00
27fc9a433c Coding style.
- Add xterm colors, and func for finding closest color, to
  termstr.py.
- Remove termstr's dependencies on pygments and ColorMap.py.
2021-11-10 23:58:59 +10:00
b62afb5e69 Termstr currently depends on pygments. 2021-11-07 10:49:58 +10:00
38b0b9ead0 Add author email to setup.pys. 2021-11-07 00:01:49 +10:00
a724d234c3 Extract lscolors into its own python project. 2021-11-06 23:58:17 +10:00
895470b01b Coding style.
- Comment tools.py's main.
2021-11-06 13:55:14 +10:00
90078f5d32 Coding style.
- Minor shortening of python_gut.
2021-11-06 13:41:04 +10:00
b4b237ec1f Move tests into their projects. 2021-11-04 23:04:41 +10:00
2d7ce4a2de Move LS_COLORS into the eris project. 2021-11-04 22:46:11 +10:00
240e908634 Extracted fill3 into its own python project. 2021-11-04 22:40:15 +10:00
c018e9f7d4 Extracted termstr into its own python project. 2021-11-04 21:37:38 +10:00
31d8cbf4e3 Coding Style.
- Move the eris source into a subdirectory.
  - Including the setup.py and requirements files.
- This repo will hold more than one python project.
2021-11-04 21:18:44 +10:00
09ec5fb009 Coding Style.
- Remove unnecessary 'from import'.
2021-11-03 22:29:57 +10:00
58b78e9ce4 Move packaging scripts for docker and appimage into subdirectory.
- De-clutter the project root directory.
2021-11-03 21:23:15 +10:00
0f59e43395 Removed failing golden tests.
- Some tests weren't position independant, and were only working
  for me.
- Don't need to keep these, not all tools have integration tests.
2021-11-03 14:39:40 +10:00
a74633e087 Coding Style.
- Move terminal.py from termstr package to fill3 package.
- Terminal was no longer used by termstr.
- Terminal could be in its own package in future.
2021-11-03 14:26:07 +10:00
f44afb5b5d Coding Style.
- Turn fill3 module into a package.
2021-11-03 14:22:52 +10:00
c2b7a8ce64 Coding Style.
- Allow 'import termstr' instead of 'import termstr.termstr'.
2021-11-03 14:13:04 +10:00
5341d91592 Coding style.
- termstr no longer depends on terminal.
  - Moved some code from terminal to termstr.
2021-11-03 01:26:06 +10:00
d540636fd5 Create an install script. 2021-10-31 22:49:13 +10:00
c181ab9de9 Coding style.
- Remove all dead code from tests.
2021-10-31 22:22:52 +10:00
4174f10526 Drop install-dependencies script.
- Do a standard install with pip.
- Run install-tools afterwards.
- util-linux was needed for what?
2021-10-31 21:41:32 +10:00
170597d6d2 Coding style.
- Removed dead code.
2021-10-31 17:52:41 +10:00
04e35c6274 Pin python dependencies to the latest versions. 2021-10-31 16:23:02 +10:00
ba1d6b62bb Coding style.
- Use a standard requirements.txt file for python dependencies.
2021-10-31 16:12:57 +10:00
2335dec922 Coding style.
- Break out termstr, fill3, sorted_collection and lscolors into
  seperate packages and modules.
2021-10-31 02:21:09 +10:00
8746f578da release: Bring version number up to date. 2021-10-24 01:52:53 +10:00
7415b2af7d Add missing golden file. 2021-10-19 17:48:41 +10:00
ca52101b4f Added a releases file that matches the github page. 2021-10-18 20:14:28 +10:00
95349470c3 release: appimage: Needed cc1 afterall. 2021-10-18 19:07:55 +10:00
1085385f39 release: appimage: Make an appimage from 21.10.
- appimagetool 12 -> 13.
- Pare down gcc.
- Appimage needs pexpect.
2021-10-18 18:51:24 +10:00
e6cf2cfcc9 release: docker: Bring Dockerfile up to date. 2021-10-18 11:38:12 +10:00
d83bea2ba8 release: Move eris to ubuntu 21.10.
- Update readme.
- php7 -> php8.
- Fix python-coverage.
- Also need python decorator module.
- Replaced Mcrt1 with rotatingtree since Mcrt1 started raising
  a new warning.
2021-10-18 01:40:39 +10:00
42bf4d2582 Rename 'xdg-open' action to 'open'.
- Debian is renaming xdg-open to open.
- Rename 'orient' to 'turn'.
2021-09-23 23:17:04 +10:00
e76d0bd03d release: Drop flatpak releases.
- Too much effort required to maintain the manifest file.
- Still have appimage and docker, which are both much easier to
  keep working.
2021-09-15 22:13:55 +10:00
a963dd7377 Make running status color stand out.
- Lime stands out better than blue on a green background.
2021-08-11 14:25:37 +10:00
4ca4d3a2ba Make wide-characters display correctly in other terminals.
- Was only working kitty. Now tested working in xterm,
  gnome-terminal and alacritty.
- Use the standard zero width space not some other
  character with zero width.
2021-08-06 00:46:02 +10:00