Commit Graph

272 Commits

Author SHA1 Message Date
Abdelilah El Aissaoui
f1b3b73901
Added show password to http auth dialog & fixed text fields' size consistency across dialogs 2023-05-14 14:31:02 +02:00
Abdelilah El Aissaoui
133b4c51b9
Version bump to v1.2.1 2023-05-14 14:22:00 +02:00
Abdelilah El Aissaoui
9c8260eee2
Fixed deleting submodule did not work 2023-05-14 14:20:17 +02:00
Abdelilah El Aissaoui
c75d787945
Fixed scroll state behavior for commit changes scroll
- Scrolls position (both for files and message) was not being reset when changing between commits.

- Scrolls position was not preserved when swapping between tabs.
2023-05-12 10:13:32 +02:00
Abdelilah El Aissaoui
86316fca9f
Fixed scroll position not resetting when selecting different files in diff 2023-05-11 22:01:06 +02:00
Abdelilah El Aissaoui
8b74329fb0
Added temporary directory removal when closing the app 2023-05-10 21:15:47 +02:00
Abdelilah El Aissaoui
4b523e0aed
Added missing LibSSH reference in the list of open source projects 2023-05-10 21:14:43 +02:00
Abdelilah El Aissaoui
181a1f8856
Added SSH support for submodules
Fixes #109
2023-05-09 18:41:50 +02:00
Abdelilah El Aissaoui
905f7805bf
Enabled support by default for all supported formats by libssh
Fixes #108
2023-05-09 18:31:24 +02:00
Abdelilah El Aissaoui
776a76332b
Fixed crash on clicking "show password" button & made it a single line
Fixes #107
2023-05-09 18:27:49 +02:00
Abdelilah El Aissaoui
89befd9c14
Fix open terminal in KDE
Fixes #100
2023-05-04 16:46:16 +02:00
Abdelilah El Aissaoui
33c7db5863
Remove libssh stream logs 2023-05-03 21:25:25 +02:00
Abdelilah El Aissaoui
0a1c812bf9
Added argument to open mac tab always in a new window 2023-05-03 20:19:05 +02:00
Abdelilah El Aissaoui
abec077f23
Fixed wrong path when opening terminal in macos 2023-05-03 15:02:58 +02:00
Abdelilah El Aissaoui
7df6381813
Added pull message 2023-05-02 19:56:12 +02:00
Abdelilah El Aissaoui
b4391880ac
Increased version code to prepare new release 2023-05-02 19:33:17 +02:00
Abdelilah El Aissaoui
e5a2f5b6a7
Fixed inconsistencies with the side panel context menu 2023-05-01 17:10:24 +02:00
Abdelilah El Aissaoui
3752140a22
Fixed crash when discarding line in a file that mixes \r\n and \n 2023-05-01 16:56:42 +02:00
Abdelilah El Aissaoui
0004164b40
Fixed signoff dialog cursor position 2023-05-01 16:20:57 +02:00
Abdelilah El Aissaoui
ddc198a0d7
Added option to sign off commits
Fixes #60
2023-05-01 16:20:11 +02:00
Abdelilah El Aissaoui
07e1bbd4ed
Completed initial support for submodules
Fixes #29
2023-04-30 22:41:50 +02:00
Abdelilah El Aissaoui
c24658952e
Restored directory picker button in clone dialog 2023-04-30 15:59:02 +02:00
Abdelilah El Aissaoui
2e825be44b
Fixed UX issues with clone dialog 2023-04-30 15:45:41 +02:00
Abdelilah El Aissaoui
73816089a6
Double click on remote branch in the side panel now creates a local copy 2023-04-29 00:15:13 +02:00
Abdelilah El Aissaoui
5b5aa136d0
Errors are now saved in the logs 2023-04-28 23:47:00 +02:00
Abdelilah El Aissaoui
4889a8072d
Fixed multiple operation related to the workspace when using submodules 2023-04-28 22:29:48 +02:00
Abdelilah El Aissaoui
9da623f873
Merge pull request #79 from Philipp91/dblclk
Stage/unstage files with double-click
2023-04-27 19:17:35 +02:00
Abdelilah El Aissaoui
1453c6f356
Added option to discard lines individually
Fixes #21
2023-04-27 18:24:49 +02:00
Abdelilah El Aissaoui
07bb331daf
Added event consume when using custom context menu 2023-04-25 23:30:24 +02:00
Abdelilah El Aissaoui
61151e8571
Fixed icon color in compact secondary button 2023-04-25 22:34:13 +02:00
Abdelilah El Aissaoui
35d7b23913
Renamed CloneStatus to CloneState 2023-04-25 22:29:06 +02:00
Abdelilah El Aissaoui
50fff76b1f
Removed unnecessary code 2023-04-25 10:07:29 +02:00
Abdelilah El Aissaoui
6ae68957e3
Fixed crash when opening gitnuro without existing tabs 2023-04-24 22:15:04 +02:00
Abdelilah El Aissaoui
1c079b9b43
Increased line stage button size 2023-04-24 02:20:21 +02:00
Abdelilah El Aissaoui
3ee8163e2d
Pressing esc closes (un)commited changes filter 2023-04-24 02:06:30 +02:00
Abdelilah El Aissaoui
9dfd5073bd
Added option to search files in (un)commited changes
Fixes #44
2023-04-24 01:37:38 +02:00
Abdelilah El Aissaoui
91094a8771
Added change upstream branch option 2023-04-23 03:13:12 +02:00
Abdelilah El Aissaoui
3abfe69d4f
Fixed creating a new branch form a remote branch (equivalent to checkout -b remote_branch_name) wouldn't set upstream properly 2023-04-20 17:53:37 +02:00
Abdelilah El Aissaoui
6fab65cf2c
Removed replacing of whitespaces with dashes in tab name 2023-04-19 23:17:28 +02:00
Abdelilah El Aissaoui
4d32df5717
Fixed ctrl+enter not amending if there are no staged changes 2023-04-19 23:01:19 +02:00
Abdelilah El Aissaoui
29c04dbad3
Implemented custom UI design for compose's context menus 2023-04-19 22:59:33 +02:00
Abdelilah El Aissaoui
343da198b9
Removed unnecessary filter to remote branches 2023-04-17 20:29:45 +02:00
Abdelilah El Aissaoui
0d14396ccf
Removed todo 2023-04-17 18:44:40 +02:00
Abdelilah El Aissaoui
c2b19a04d2
Refactored how commands are executed to support Flatpak properly
Fixes #93
2023-04-17 17:03:06 +02:00
Abdelilah El Aissaoui
a64ee57283
Reduced dialogs corner size 2023-04-17 01:41:55 +02:00
Abdelilah El Aissaoui
552ac17d0e
Added option to clone submodules when cloning a repo 2023-04-16 02:26:05 +02:00
Abdelilah El Aissaoui
8cfc3607c2 Fixed opening terminal with powershell in windows 2023-04-15 20:46:43 +02:00
Abdelilah El Aissaoui
8e9f21beee Replaced printLog with printDebug in clone 2023-04-15 20:35:51 +02:00
Abdelilah El Aissaoui
b27af83ae5 Replaced println with printDebug in clone 2023-04-15 20:35:03 +02:00
Abdelilah El Aissaoui
e16939a6ef
Code cleanup 2023-04-15 16:34:04 +02:00
Abdelilah El Aissaoui
0512510be6
Removed whitespace replace when in a new tab 2023-04-15 16:04:02 +02:00
Abdelilah El Aissaoui
d5aaa1dd30
SSH auth tries to login with simply password if auth with public key failed 2023-04-15 16:03:19 +02:00
Abdelilah El Aissaoui
0bfa91d2a7
Added dynamic size tabs with a label to show the full repository path
Fixes #56
2023-04-14 01:31:57 +02:00
Abdelilah El Aissaoui
025f93320a
Added persistent logging 2023-04-12 22:16:50 +02:00
Abdelilah El Aissaoui
cb88826e0a
Updated JGit and Compose dependencies 2023-04-08 22:33:05 +02:00
Abdelilah El Aissaoui
8e14696bdf
Submodules UI now calls methods to sync, update and deinit 2023-04-08 21:25:32 +02:00
Abdelilah El Aissaoui
5359f58a67
Added progress title and subtitle for push
Also added option to cancel a push
2023-04-08 21:12:40 +02:00
Abdelilah El Aissaoui
03b84ff9c3
Submodules are now also filtered 2023-04-08 21:03:00 +02:00
Abdelilah El Aissaoui
4978af23d8
Implemented option to open submodule in a new tab 2023-04-07 04:34:07 +02:00
Abdelilah El Aissaoui
63df04e3ba
Fixed build error (warning) 2023-04-06 20:10:30 +02:00
Abdelilah El Aissaoui
f54dfbd67b
Completed tabs refactor 2023-04-06 01:18:42 +02:00
Abdelilah El Aissaoui
a55dd755d7
Refactored tab management to its own single file without having to deal with unique IDs or having code to manage the tab scattered around the app 2023-04-05 02:10:17 +02:00
Abdelilah El Aissaoui
0d91ec747a
Processing tasks now can show a title, subtitle and an option to cancel it.
Right now only fetch implements such features but every feature will be migrated  gradually.
2023-04-04 22:00:19 +02:00
Abdelilah El Aissaoui
05a894a1cb
Cancelling on ssh/http authentication will no longer show an error 2023-04-04 21:12:29 +02:00
Abdelilah El Aissaoui
a920e2bb9e
Cancelling coroutines operations such as authentication no longer displays an errors as it's something intentional 2023-04-04 19:05:11 +02:00
Abdelilah El Aissaoui
3b248f10eb
Fixed directory text input shape on clone dialog 2023-04-03 17:23:03 +02:00
Abdelilah El Aissaoui
668cfe7e70
Merge pull request #84 from Philipp91/windowtitle
Allow customizing the window title with an environment variable
2023-03-31 18:57:11 +02:00
Abdelilah El Aissaoui
098d37f983
Added support to opening submodules directly
Fixes #58
2023-03-25 16:08:01 +01:00
Abdelilah El Aissaoui
05852a6034
Added basic UI components for submodules support 2023-03-25 16:07:24 +01:00
Abdelilah El Aissaoui
f9ccf87030
Replaced compose dropdown with a custom implementation based on context menu 2023-03-25 14:07:38 +01:00
Abdelilah El Aissaoui
37348a5dfc
Fixed multiple dialogs/windows were closed in a single press on ESC
Fixed #9
2023-03-25 14:03:51 +01:00
Abdelilah El Aissaoui
6c44679757
Increased font weight of repository title in recents list 2023-03-24 21:26:49 +01:00
Abdelilah El Aissaoui
31491cef9c
Fixed Clone dialog directory search button sizes 2023-03-24 21:25:24 +01:00
Abdelilah El Aissaoui
b9707de7ac
Fixed build error 2023-03-21 01:52:55 +01:00
Abdelilah El Aissaoui
9fdd7fa696
Added basic idea of files search in commited changes 2023-03-21 01:47:28 +01:00
Abdelilah El Aissaoui
f069360e07
Added button to open terminal in current directory
Fixes #36
2023-03-21 01:37:05 +01:00
Abdelilah El Aissaoui
856df1e64a
Added error dialog when trying to load an invalid theme file
Fixes #26
2023-03-18 19:11:26 +01:00
Abdelilah El Aissaoui
3a473142ae
Added option to set default pull with rebase as default
Fixes #34
2023-03-18 18:56:14 +01:00
Abdelilah El Aissaoui
b62684e29d
Removed unnecessary call to getRemoteUseCase 2023-03-18 18:06:58 +01:00
Abdelilah El Aissaoui
97ed94e0bf
Fixed diff not being focused after opening it 2023-03-15 17:45:31 +01:00
Abdelilah El Aissaoui
3de2c6bd55
Hidden rebase interactive on the last commit of the current branch
Fixes #64
2023-03-14 10:53:38 +01:00
Abdelilah El Aissaoui
4388ccb690
Added author info request when doing a new commit if the info is not set previously 2023-03-13 11:36:56 +01:00
Abdelilah El Aissaoui
96599b045c
Fixed dialog icon size and subtitle format 2023-03-13 11:35:43 +01:00
Abdelilah El Aissaoui
07c857304b
Replaced hard coded icons with constants 2023-03-08 01:41:10 +01:00
Abdelilah El Aissaoui
0cbee60427
Reformated proejct's code 2023-03-08 01:07:58 +01:00
Abdelilah El Aissaoui
f67f246d25
Added base to new error design 2023-03-08 01:00:41 +01:00
Abdelilah El Aissaoui
0140da03d4
Re-enabled submodules view 2023-03-08 00:36:04 +01:00
Abdelilah El Aissaoui
ce78df705e
Increased version to 1.2.0 2023-02-26 23:47:47 +01:00
Abdelilah El Aissaoui
1bfa849f01
GPG: Added invalid password handling and caching
This change also introduces:
- Small refactor of credentials request state.
- Improvements to single field password dialog (like the one used in SSH) to be able to show the password as well as to add custom message errors.

Fixes #45
2023-02-26 23:47:03 +01:00
Abdelilah El Aissaoui
e75af0938f
Added trimStart for commit message
Fixes #89
2023-02-23 13:10:49 +01:00
Abdelilah El Aissaoui
c1919c08a0
Replaced TODO() calls with a custom msg 2023-02-19 12:57:42 +01:00
Abdelilah El Aissaoui
5076621ee3
Fixed typo 2023-02-19 01:00:35 +01:00
Philipp Keck
d49e316676 Allow customizing the window title with an environment variable
This allows me to configure `title=GitnuroDEV` in my IDE's run config for the app, to distinguish the dev version that I'm running to test it from the prod version I'm running to stage/commit stuff.
2023-02-05 22:07:42 +01:00
Philipp Keck
f39ffb98c3 Stage/unstage files with double-click 2023-02-05 22:05:58 +01:00
Abdelilah El Aissaoui
2a53a1739c
Added result code to log 2023-01-29 23:22:39 +01:00
Abdelilah El Aissaoui
7edefa3729
Updated JNA 2023-01-29 23:01:49 +01:00
Philipp Keck
8e295770b5 Fix libssh loading on Linux
The file is called `libssh.so`, but JNA already prefixes the `lib` part, so `Native.loadLibrary("ssh", ...)` results in an `liblibssh.so not found` error.
2023-01-29 22:45:41 +01:00
Philipp Keck
70a9331b7b Add key to the StatusEntries list
When clicking around a lot, staging and unstaging some files, it otherwise messed up the association of StatusEntry and file and then didn't do anything when I clicked a certain file, presumably because it thought it was already shown.
2023-01-29 22:29:22 +01:00
Abdelilah El Aissaoui
9d07ac59b7
Implemented search in side panel
Refactored composables to use a lazy column instead of a normal column, as it had performance issues with large repositories.

Fixes #43
2023-01-29 19:27:17 +01:00
Abdelilah El Aissaoui
7de332be87
Added GPG signing support
Fixes #45
2023-01-28 17:39:35 +01:00