Commit Graph

951 Commits

Author SHA1 Message Date
0c581d6f5c [+] update oom_firefox
1. add l keybinding
    to change in realtime cgroup max memory limit;
  2. make sure keybindings are not working
    when a dialog is opened;
  3. make sure the app correctly handles Ctrl+C;
  4. improve logging format, include a timestamp
    and line locatin;
2025-12-12 16:41:32 +03:00
c0125914d2 [+] update status
1. make sure it handles properly
    time jumps due to suspend for example;
2025-12-09 13:32:03 +03:00
8633bd0724 [+] update sway config 2025-12-04 11:59:18 +03:00
6410df3326 [+] update status
1. add repeat_interval;
2025-12-04 11:58:41 +03:00
904c77fc29 [+] update textwrap
1. do as in the source code,
    either COLUMNS env variable,
    otherwise 99999
    for no wrap, instead of default 80 width;
2025-12-04 11:29:12 +03:00
67fcefbce0 [+] reformat ruff
1. column width 80;
2025-12-04 11:25:58 +03:00
314426c674 [+] update status
1. move to typed commands;
  2. partially fixed monkey patch
    for format of help;
2025-12-04 11:25:24 +03:00
85139fae81 [+] update config
1. configure for_window in sway config
    to inhibit-idle when they are fullscreen;
    tried idlehack-git, but not sure
    whether it's bugger, stick to for_window for now;
2025-12-04 10:11:44 +03:00
c568d8d9a7 [+] update oom_firefox
1. fix .pid attributes for dict;
  2. reformat;
  3. migrate into pr34 repo;
  4. update Makefile for fetch, deploy;
2025-12-03 17:38:12 +03:00
a8d0f64419 [+] update oom_firefox
1. fix rss being in KiB;
  2. get rid of --slice, use --unit-name;
  3. fix columns strings being cut,
    use two calls to ps,
    to get full cmd and cgroup;
  4. tested manually that it works;
2025-12-01 15:59:36 +03:00
7d5868345b [+] update platform
1. add few random scripts;
  1.1. systemd_gtk, oom_firefox
    are vibe coded initially;
    oom_firefox is useful,
    but migrated to ps subprocess
    manually;
    since psutils is very inefficient,
    puts too much load on CPU;
2025-12-01 13:56:57 +03:00
b50468154f [+] update config
1. update pr34 cpufreq action
  1.1. add support for amd_pstate cpus;
  1.2. add pr34 .whl release;
  2. fetch configs for new platform;
  3. fetch sensitive configs and store gpg encrypted data;
2025-11-30 21:51:48 +03:00
1377fdd9ff [+] update pr34
1. update cli_bootstrap
    to explicitly fetch whl-cache;
2025-11-08 09:56:53 +03:00
7805bad8e7 [+] update makefile
1. make sure vim put respects
    INSTALL_ROOT variable;
2025-11-07 13:46:40 +03:00
938e5a94e6 [+] update pr34
1. make .whl reproducible;
2025-11-06 15:53:03 +03:00
0462559cc6 [+] update pr34
1. backport fixed timestamp
    for zip, .whl; when calling deploy:wheel;
2025-11-06 15:43:42 +03:00
8336a8095d [+] update sway config
1. use shift+mod+q
    to act more like OSX;
2025-11-03 08:56:45 +03:00
e8760c05f9 [+] update sway
1. add $mod + m to toggle light/dark mode;
2025-11-01 21:34:41 +03:00
8a7de59e73 [+] update pr34
1. add dark/light mode
    changing via gsettings
    for GTK, wayland;
2025-11-01 21:30:32 +03:00
169ed5cebc [+] update vim plugins
1. make sure sessions
    uses the directory vim has been opened at;
  2. update git ls-files
    to apply --recurse-submodules
    for choosing a buffer by name;
2025-11-01 16:26:20 +03:00
14f0a66c67 [+] update cli.py, fix assert 2025-10-29 14:57:47 +03:00
680671e34b [+] update tmux config 2025-10-27 10:49:00 +03:00
68d1de72ec [+] improve vim, python plugin
1. add files selection
    from git ls-files;
2025-10-18 12:17:53 +03:00
c3ce3979bb [+] improve tmux status line 2025-10-18 09:58:33 +03:00
067638315b [+] update vim, python plugin
1. fix autosuggest function calling;
2025-10-17 16:04:13 +03:00
6b589c099f [+] update vim, python plugin
1. handle remapping
    after filtering;
2025-10-16 17:26:22 +03:00
2eadc88afc [+] update vim, python plugin
1. fallback
    on_filter_key to
    popup_filter_menu;
    the default callback;
2025-10-16 17:20:21 +03:00
f657d63522 [+] update vim, python3 plugin
1. handle escape character;
  2. handle items filtering
    based on entered letters;
  3. redraw UI when the filter
    changes;
  4. TODO
    handle selection changes via arrows, hjkl;
  5. TODO
    handle selection after Enter has been pressed;
2025-10-16 17:13:50 +03:00
f59e0bbe6c [+] improve vim, beta
1. add filter callback;
  1.1. partially
    added recording of pressed keys;
  1.2. TODO,
    handle esape to close the window;
    handle to select the entry;
    handle hjkl, arrows
    to change the selection;
    handle pressed keys otherwise, ideally
    after i has been pressed,
    or handle hjkl after escape has been presed;
    to restrict entries to the matching pattern
    visualize current filter, and ins/normal mode
    in the popup title;
2025-10-15 21:48:30 +03:00
656464fe38 [+] update FastSelect
1. sort buffers
    based on last access time;
2025-10-15 21:21:41 +03:00
8516fbfcad [+] update beta vim module
1. remove duplicate logic from beta,
    that is present in main;
  2. fix init for FastSelect;
  3. implement last recently
    used ordering for buffers selection;
2025-10-15 21:06:01 +03:00
ecab00f4aa [+] update vim modules
1. use python modules
    for separate logic;
  2. update popup_menu
    parameters for fast select;
2025-10-14 18:13:20 +03:00
3a76eab761 [+] improve vim py3 modules
1. switch to file logging
    with rotation;
  2. test that at 100ms callback
    execution UI looks fast;
  3. test that <C-p> hotkey
    makes the switcher popu;
  3.1. TODO,
    select some better
    switching UI component;
    should support a list of more buffers
    than fit into the screen;
    should support some real time
    filtering via regex;
2025-10-13 18:39:44 +03:00
cf2476ec28 [+] update vim, pydantic
1. refactor python vim module;
  1.1. experiment
    with fast select based on popup in vim,
    and multi threaded app in python;
  1.2. TODO,
    figure out some thread safe way
    to call vim.command from python side threads;
  1.3. update pydantic validate params;
2025-10-12 00:29:01 +03:00
cc4a703bcb [+] update pydantic, validate_params
1. extend to support sync/async methods;
2025-10-11 17:07:45 +03:00
31cd7c35c9 [+] fix relative_to error, vim config 2025-10-11 16:34:14 +03:00
81f3fc494a [+] update vim config
1. add dynamic modeline
    application
    based on .editorconfig,
    vim_modeline key;
    with validation for security;
2025-10-10 13:26:32 +03:00
01e98958a6 [+] update docker-compose
1. use PartOf for proper
    dependency management;
  2. add hard coded subnet,
    with specific ip for app;
    to use in ufw rules;
2025-09-30 07:30:38 +03:00
b9f791fc3d [+] update cpanel
1. add netcat-openbsd,
    for socks5 proxy of ssh connections;
2025-09-25 13:24:10 +03:00
f4ac4c8ff9 [+] update nginx config
1. add ssh, web limits
    on upload/download speed;
2025-09-18 09:42:18 +03:00
ef32d2ae38 [+] update nginx config
1. add drop_by_user_agent section
    for ssl servers;
  1.1. ban traffic from openai.com/gptbot;
2025-09-17 12:47:10 +03:00
aa6b407fe7 [+] update pr34
1. add -U to UV_ARGS,
    ignore it in venv;
  2. generate .whl;
  3. update m.py for pr34;
2025-09-11 13:51:35 +03:00
f4f579b8f1 [+] update Battery service 2025-09-11 13:44:18 +03:00
a666658e0b [+] update nginx config
1. allow http only
    for servers with a flag set;
  1.1. by default revert
    to redirecting to https;
2025-09-03 13:44:24 +03:00
7f2f0cbda3 [+] update checks service
1. make metrics in commands_typed
    be agnostic of fastapi, django;
  2. implement ping wrapper for rest.py in checks;
  3. use env settings to specify hosts to ping;
  4. add pyright, ruff into Makefile;
  5. test in production;
2025-08-29 11:45:23 +03:00
aa927da556 [+] improve checks service 2025-08-27 16:41:44 +03:00
83c9d864da [+] improve checks app
1. partially add simple module for fastapi apps;
  2. update checks rest.py;
2025-08-27 11:36:31 +03:00
c6301b6344 [+] add .whl 0.1.5.24 2025-08-25 19:07:55 +03:00
5df328aec2 [+] update lock
1. fix pip==25.1;
    otherwise custom extensions crash on typing checks;
  2. add tomlq,
    since meson.build requires it;
2025-08-25 19:05:07 +03:00
b3c0dd2703 [+] improve deploy:wheel
1. format with ruff;
  2. use tomlq from venv;
2025-08-25 19:02:09 +03:00