Commit Graph

  • 32aa07a098 Update ci_post_clone.sh Nihaal Sharma 2025-07-09 11:29:04 +01:00
  • edefce114c fixed label hidden neon443 2025-07-08 20:35:10 +01:00
  • ab65900c92 cleanup neon443 2025-07-08 19:56:28 +01:00
  • 19d3c495d5 added reloading for edited themes on the fly added a get/set SwiftUI.Color to SwiftTerm.Color overhaul themeeditor's state stuff updated themeeditor to use a binding updated themepreview to use a binding remove the massive subscript - its not needed anymore moved all swifterm color stuff to its own file neon443 2025-07-08 19:48:37 +01:00
  • e5e0a47f4f updated themeeditor to work with teh background color added suiColor as a get/set property on colorcodable trying to fix the wierd jumpiness when shaking the color in the green bit trying to fix the wierd drift when increasing the "brightness" savethemes will clear themes before starting to append updated updatetheme to savethemes aswell modified: ShhShell/Host/HostsManager.swift modified: ShhShell/Themes/ColorCodable.swift modified: ShhShell/Themes/ThemeCodable.swift modified: ShhShell/Views/Themes/ThemeEditorView.swift neon443 2025-07-08 14:27:13 +01:00
  • bcdece3bee themeeditor can now save add an updatetheme remove the frame on the terminalcontroller, it made incorrect sizes neon443 2025-07-08 12:57:23 +01:00
  • c9c78adf7c added a functional theme editor added a long ass subscript to get/set ansi as swiftui.color from a subscript added an init from rgb, and init from SwiftUI.Color to colorcodable added a computed suiColor property to colorcodable more guardrails to swifterm.Color.init(_ colorCodable) themecodable colorcodable conform to hashable and equatable neon443 2025-07-07 17:21:51 +01:00
  • 8a0e009c7a added a themeeditor (really bugged rn) added a convenience init to make a swiftterm color from a swiftui color added a frame to make the terminalcontroller the optimalsize merged extensions neon443 2025-07-07 14:45:16 +01:00
  • 74b81877a9 moved .toolbar to contentview to fix the 4x plus button neon443 2025-07-06 19:44:25 +01:00
  • bc24edd13c added a quick font manager/selector added selectfont, savefont updated loadfonts fix swipeaction tint color for hosts neon443 2025-07-06 19:40:52 +01:00
  • 4a98e3e4c9 axed some of them bc i cba to find italic, bold, bolditalc ones removed the 2nd font enum and switched to a computed property for the font name updated the loadfonts thing removed applyselectedtheme from the sshhandler and the init, moved it to didmovetowindow neon443 2025-07-06 19:13:19 +01:00
  • 0c31a7d7c5 got loading some custom fonts, only ones with one "name" inside the family neon443 2025-07-06 16:24:02 +01:00
  • 0d53ccc3bc added a buncha fonts added a fonts enum added a loadFonts, currently just prints all fonts available neon443 2025-07-06 16:16:30 +01:00
  • 2b3610f827 vbump neon443 2025-07-05 13:59:16 +01:00
  • ad777119c2 added a lil shadow opposite to the color scheme to help tell if u selected white on white for example added bottom padding to the thememanager, remove the top padding neon443 2025-07-05 13:59:05 +01:00
  • 8852117b30 fix disconnect if u leave it idle for a min dont restore scrollback on init neon443 2025-07-05 13:42:32 +01:00
  • 9a5580bff1 acctually fixed the post-minimize input, restoring scrollback, losing first bit of text issues: when initing the terminalview, restore scrollback but dont start the feedloop then when returning an existing view, start the readloop restorescrollback on appear of the view using didmovetowindow re add the fallback 2nd shellview made restorescrollback and startfeedloop non async neon443 2025-07-05 13:06:44 +01:00
  • 12baf81d18 vbump neon443 2025-07-04 18:31:37 +01:00
  • 6eb5845c4f asdflkj;aso;djfghaoeihj FINALLY ok finally fix the issues with keybaird input and restoring sessions neon443 2025-07-04 18:30:45 +01:00
  • 76ed946781 FINALLYYYYY fix wierd keyboard bug neon443 2025-07-04 18:10:29 +01:00
  • 24309725d4 remove 2nd restore neon443 2025-07-04 18:02:19 +01:00
  • edd78c89bc update frameworks curl link cos catbox is down neon443 2025-07-04 17:55:08 +01:00
  • ffd5fc1221 Merge branch 'ervert' Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a topic branch. neon443 2025-07-04 17:40:39 +01:00
  • c9c1d152ca improve restore of scrollback neon443 2025-07-04 17:37:06 +01:00
  • 7c0332427c Merge branch 'ervert' neon443 2025-07-04 17:08:26 +01:00
  • 6ce6f5c823 ok its fixed, but now the scrollback restore at startup causes a biit of text to be missed neon443 2025-07-04 16:57:47 +01:00
  • a495419348 fix calling of scrollback restoration, its not done on init, but only if existing is being returned neon443 2025-07-04 16:51:02 +01:00
  • a85022e351 ok im fucking pissed off the keyboard input issue is back neon443 2025-07-04 16:28:08 +01:00
  • 186c04ce7f ok actually fix the fallback now neon443 2025-07-04 16:01:34 +01:00
  • 27e75285fe re add the fallback thing,its what adds it to container lol neon443 2025-07-04 15:56:16 +01:00
  • 2aa3d4cdfa Merge remote-tracking branch 'refs/remotes/origin/main' neon443 2025-07-04 15:43:48 +01:00
  • 7c85d9d2cc remove fallback, remove border neon443 2025-07-04 15:43:11 +01:00
  • 1f04f6527f remove fallback, remove border neon443 2025-07-04 15:43:11 +01:00
  • 83eb9b8b62 vbump neon443 2025-07-04 15:42:06 +01:00
  • f68b08d45c fixed race condition opening the terminal, as restoring scrollback would restore content already there 🤦 neon443 2025-07-04 15:41:45 +01:00
  • b5f8c4e716 made the titlebar have the host label and hide tab bar when only one tab added a lot of logic fore foreground color calculation, based on luminance of foreground, background and selectedAnsi colors fixed fallback when opening the first session fixed text of unselected tabs being unreadable added tint var to hostsmanager to get accentcolor reduced ios version to ios 16 neon443 2025-07-04 14:51:54 +01:00
  • 70f11579c5 use the accent color as teh tab header color change font sizes neon443 2025-07-04 12:44:31 +01:00
  • a611154c3d simplified the red&yellow traffic lights removed the green one idk what to do w it improved teh lights themselves, they have equal spacing on all sides, including padding fixed background of the titlebar/trafffic light header hide the session title in the tab if its active if not active show it ANIMATIONS! neon443 2025-07-04 12:41:37 +01:00
  • 143e785ca6 ok cl fuck this shit its so long neon443 2025-07-04 12:07:58 +01:00
  • 82af0ac57d ok green is done, now need to finish enabled green neon443 2025-07-04 11:44:13 +01:00
  • ecfd997487 added traffliclights to make the traffic lights perfect, red yellow done green wip clean up on the terminal view: add background and reorg the fiel and add traffic lights add bg to all the terminal related stuff neon443 2025-07-04 10:47:27 +01:00
  • a9df89eae2 added mac-like traffic lights to the top of tabshellview neon443 2025-07-04 09:29:21 +01:00
  • 89669b4596 add minimize button neon443 2025-07-04 08:29:05 +01:00
  • 9dcdd5de41 fixed wierd border issues neon443 2025-07-03 19:32:27 +01:00
  • d5a45d78c4 fix the wierd scaling when tapping an ansi color neon443 2025-07-03 19:11:06 +01:00
  • b9327f993e add a border to ansipicker, and fix the corner radius fix light themes having unreadable text added a luminance property to calculate the brighness of the bg color if its > 0.5, choose a light theme to get black text neon443 2025-07-03 18:19:13 +01:00
  • d71d6199c8 sdfasd neon443 2025-07-03 17:23:46 +01:00
  • 69f2ee7c87 fix ansi picker having fucked up arrangements prettify ui on thememanager neon443 2025-07-03 17:18:23 +01:00
  • fdc5c4c503 added ansipickerview added selectAnsi to select an ansi col neon443 2025-07-03 16:47:16 +01:00
  • 288b37a0d6 added a thingy to select an ansi color (accent color) in thememanger improved ui for tab selector, uses theme colours and close button is in the tab made sshhandler optional for shelltabview implemented the tabbed terminal to sessionlistview in home added selectedAnsi to select an accent color from the 16 ansi colors remove toolbar and navbar in shellview, fix the wierd input issue neon443 2025-07-03 15:31:49 +01:00
  • a58a86acec improved tab ui - now orange if selected, gray if not improved functionality, if disconnected, it switches to the last tab open or if no more, it dismisses remove dialogview neon443 2025-07-03 14:24:41 +01:00
  • c48f01810e TABS!!!! added shelltabview it basically puts tabs at the top, and when tapped the id is updated and so is the shellView var to have a new handler (corresponding to that session) remove @State var shellView from connectionview &other stuff neon443 2025-07-03 13:53:26 +01:00
  • ddad89b0e2 switched while loop out for a guard to break the loop neon443 2025-07-03 12:36:27 +01:00
  • 4f7b948fa4 made it a while loop to not do the rest of the auth methods if one suceeds neon443 2025-07-03 12:35:51 +01:00
  • 0ba1d5091e in go(), auth is now handled by looping over the auth methods the server requests rewrote getauthmethods, returns a [AuthType] added authtype to list all auth types neon443 2025-07-03 12:31:58 +01:00
  • 0e1915cf64 add suthfailed for when auth fails neon443 2025-07-03 11:37:02 +01:00
  • e9dc468a97 add an image computed property to hostsymbol to return the Image so it safely returns an image from an sf symbol or an image from an ImageResource neon443 2025-07-03 11:34:04 +01:00
  • 200e1fd76c added iCloud sync for keys?? reindented all apple sample code neon443 2025-07-03 11:10:54 +01:00
  • 5ef1a51ba8 fix removing one host from keydetailview removes them all added hostsNotUsing(key) to get the opposite result of hostsuign make the hosts icons a tad smaller rename gethostsusingkeys -> hostsUsing(key) neon443 2025-07-03 10:41:40 +01:00
  • c2c74248e2 fix picker on connectionview using trimmingchars whitespaces and newlines to remove any trailing "\n"s added padding to the button publickey data uses a switch now reorganised keymanager and used //MARKs added header into KeyType for easier expansion of key types in the future improved default key comment to use "at" between chunks and exclude time neon443 2025-07-03 10:13:57 +01:00
  • 3d9530f01b simplified logic by saving Keypairs as an array to defaults, but without the privateKey and passphrase for obvious reasons added codingkeys, omitting the sensitive ones like privatekey and keypair added init from decoder to skip privatekey and passphrase removed keyTypes and keyNames, vastly simplifying logic neon443 2025-07-03 09:20:00 +01:00
  • c9d7b06305 improve ui on keydetailview add set(keypair, onHost) to set a keypair on host remove getkeys it always returns [] add delete button to remove rsa from keytype rename symbolpreview ->hostsymbolpreview neon443 2025-07-02 21:55:50 +01:00
  • 6ad8ed22a0 added rename support, it also has the name in the textbox when it spawns added a delete button to the key detail view key name in list will fallback to uuid if no name prevent renaming to an empty name neon443 2025-07-02 21:29:16 +01:00
  • af912f234f add suport for rewritten authwithpubkey in sshhandler added removefromkeychain added renamekey added deletekey updatekymanagerview to add deleting and ui uodates remove publickey and passphrase from host remove key related texboxes in connectionview added a passwordstore instance made keytypes and names published added savekeypairs updatedsavetokeychain to remove and readd if it exists in the keychain update getkeys remove authwithbiometrics from hostmanager trying to add key renaming support remove Key (unused) cleanup neon443 2025-07-02 21:18:48 +01:00
  • 421444b2f8 AUTHWITHPUBKEY!!!! i had to extract the middle base64 bit of the key added computed properties for it added more error logging neon443 2025-07-02 09:23:03 +01:00
  • 8b2cdf910b rewrote authwithpubkey, need to add error checking stuff neon443 2025-07-02 08:50:46 +01:00
  • ce162f437a dependency injection in ShhShellApp via the init added keymanager to sshhandler so it can access keys neon443 2025-07-02 08:19:01 +01:00
  • 935c118d35 add none option for connection viwe add key type picker neon443 2025-07-01 20:43:51 +01:00
  • 97da44e4d5 remove quick connect because it doesnt work :cry neon443 2025-07-01 20:17:39 +01:00
  • 8a37a1464a added keyimporter view to import keys added importkey to import keys and save to keychain added a picker to select a key id in connection view fix publickey and opensshpublickey returning a pubkey when privatekey is empty added generate key button and import button change HostManager.makeLabel() to a computed property on Host neon443 2025-07-01 20:16:55 +01:00
  • 0af64a4efd update getting hosts that use keys to use new key system neon443 2025-07-01 19:40:01 +01:00
  • 93d9636960 fix ssh-ed25519 <key> 32 bytes ----> ssh-ed25519 <key> <comment> neon443 2025-07-01 19:38:01 +01:00
  • ad8e41762a added privateKeyID to select privatekeys in Host added label to Keypair to return an approriate label added ui to display keys from KeyManager neon443 2025-07-01 19:27:41 +01:00
  • 65eef7f29e added support for saving keys in the keychain load and save yk added savetokeychain to save a key to the keychain added getfromkeycahin to get a key from the keychain fix generatekey neon443 2025-07-01 17:41:42 +01:00
  • 15bcd2b7e9 made the functions makeSSH[priv,pub]key take in a Keypair neon443 2025-07-01 16:23:00 +01:00
  • 89cac92d5a improve getKeys key handling, and will importa key if it is just a string make pubkey a computed var from the privkey in Keypair neon443 2025-07-01 16:18:38 +01:00
  • 75ff91d0e4 YES asdkfghjaksdhfjgkjadhfg ASDFJASODJFSDJLFASDILFAH PRIVKEYS CAN BE IMPORTED!!!! added extractField to help with extracting the correct number of bytes (using the length prefix) neon443 2025-07-01 13:26:02 +01:00
  • 19c2e8f912 almost done rewritign import sshprivkey made these static funcitons made keypair have computed openssh format pub/priv variables that are strings neon443 2025-07-01 12:46:32 +01:00
  • 1f3afc9c93 working on privkey importer, but its just crashing added removefield to remove a field added the start of the privkey importer neon443 2025-07-01 10:40:04 +01:00
  • c3332737c4 added importsshpubkey to get the raw key bytes from an openssh format pubkey ssh-ed25519 <b64 blob> <comment> neon443 2025-07-01 09:18:41 +01:00
  • 40f27d3ead YESSSSSSSSSSSSSSSSSSSSSSSSSSSSS OPENSSH PRIVATE KEY EXPORTING neon443 2025-06-30 20:05:00 +01:00
  • 0f646f6fb9 PUBKEY PASSES!! now to fix privkey :( neon443 2025-06-30 19:18:30 +01:00
  • 8bfb8257e5 fix makesshpubkey neon443 2025-06-30 19:08:29 +01:00
  • 497d9b23e4 add makesshprivkey to make a privatekey for openssh stuff addd makesshpubkey to return data for .pub and for installing to hosts generate rsa just returns seckey simplify generateEd25519 add helper encode{str,int,data} functions to return Data with a 4 byte lenght count before it add more buttons neon443 2025-06-30 19:06:18 +01:00
  • 80b83644b4 updated keypair data structure to have an name, passphrase and type added generateKy to generate a key, currently only rsa update generateRSA to return the Data for pub and priv, and take a custom size bell animation better, slightly longer in total and easeinout added new generate button hardcoded to a rsa 4096 added keytype to define key types (duh) update getKeys to use the new keypair structure neon443 2025-06-30 16:28:58 +01:00
  • 94ad2fa661 added a prompt to TextBox fix right alignment in textbox added quick connect fix blank keys being returned from getKeys() safely unwrap keys in keydetailview swap buttons on shellview's titlbar neon443 2025-06-30 14:34:57 +01:00
  • 24bf52ff16 added textbox to make pretty textboxes with label updated connectionview to use nice textboxes with labels put disconnect and minimize on the left neon443 2025-06-30 13:52:24 +01:00
  • 9c32778d01 fix passpharse neon443 2025-06-30 12:16:04 +01:00
  • 463ac768c2 fix theme column being clipped at the trailing edge neon443 2025-06-30 12:13:25 +01:00
  • c877b14ad5 fix servers with no auth improve theme view column calculation neon443 2025-06-30 12:11:33 +01:00
  • 24d4ecbdf0 vbump neon443 2025-06-29 18:52:35 +01:00
  • 1e730582c0 ui background matches theme ui bg is 70% opacity neon443 2025-06-29 18:51:52 +01:00
  • a4a71968fe theme list is now adaptive - it divides the width of the view by 200 to get the columns count each theme preview is 150-250 wide neon443 2025-06-29 17:52:37 +01:00
  • 80ddde3a62 applying themes on the fly!! (to sessions already active) added applySelectedTheme to sshhandler which will run applyselectedtheme on the terminalview if it exists added applyselectedtheme to apply the chosen theme in hostsmanager applying of the chosen theme on appear of any shell view made the tap target for sessions actually the whole list item fix undefined behaivour from modifying published values from background threads neon443 2025-06-29 16:39:03 +01:00
  • 8e69dfc165 terminalViewContainer is now an observable object made the session list view more pretty terminalviewcontaner has a static shared property which is an instance of itself then it has sessions inside with a dict of uuid:terminalcontainer inside hostsview is in the section "hosts" neon443 2025-06-29 16:25:49 +01:00
  • 331a921499 MULTI SESSIONS!!! terminalviewcontainer has a dict of [handler, terminalView] with a uuid key each session gets a new uuid, and on disconnect, the session is removed from terminalviewcontainer sessions list view to reopen sessions remove multiview extracted terminalviewcontainer neon443 2025-06-29 15:40:46 +01:00
  • 870ebb6fcc made the theme picker ui pretty boxes now touch and dont have spacing between vertical layout context menu actually targets correct theme the themebox is flexible and can be smaller/larger doesnt matter neon443 2025-06-29 13:42:05 +01:00
  • 24ca75f8c6 added isSelected property to make isselected checking cleaner neon443 2025-06-29 12:11:31 +01:00
  • af00ab1e7c updated clone script to use a 78% smaller 20mb tar.xz archive instead of a zip it has a compression ratio of 0.1 yayyy - faster xcode cloud builds neon443 2025-06-29 11:52:03 +01:00
  • b8a8b20056 vbump neon443 2025-06-29 11:35:16 +01:00