Commit Graph

930 Commits

Author SHA1 Message Date
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
5fd29fbc39
Added test for CheckoutRefUseCase 2023-04-21 00:05:00 +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
7b7e5cbe82
Fixed build for tests 2023-04-17 17:07:51 +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
Abdelilah El Aissaoui
96cbdba8d9 Moved amend previous commit to be a checkbox
Fixes #63
2023-01-28 15:55:07 +01:00
Abdelilah El Aissaoui
b5d352e946
Merge pull request #59 from ProjectInfinity/mac-native-filepicker
Add native macOS filepicker
2023-01-27 07:56:45 +01:00
Abdelilah El Aissaoui
d0442abd0c Added windows CI 2023-01-23 22:33:35 +01:00
Abdelilah El Aissaoui
ff337763b4 Fixed build issues 2023-01-20 11:11:25 +01:00
Abdelilah El Aissaoui
24eac6c2b3 Added error handling for libssh 2023-01-15 21:44:31 +01:00
Abdelilah El Aissaoui
193755454e Organized libssh code 2023-01-15 21:44:31 +01:00
Abdelilah El Aissaoui
944f4e9955 Added first version of libssh implementation 2023-01-15 21:44:31 +01:00
Abdelilah El Aissaoui
1d5085b689 Tweaked light theme color 2023-01-15 21:44:01 +01:00
Philipp Keck
6748f5288c Fix broken unit test with manual dependency injection 2022-12-29 18:23:38 +01:00
ProjectInfinity
182cd146df Add native macOS filepicker 2022-12-17 22:42:31 +01:00
Abdelilah El Aissaoui
52539c2692 Added option to open repository from command line
Fixes https://github.com/JetpackDuba/Gitnuro/issues/51
2022-12-17 03:54:31 +01:00
Abdelilah El Aissaoui
f8d3c71812 Fixed log splitter over-dragging when having density higher than 100% 2022-11-15 14:08:04 +01:00
Abdelilah El Aissaoui
4bad3a941c Removed unnecessary check 2022-11-12 21:42:30 +01:00
Abdelilah El Aissaoui
76e5237cd5 Fixed log not refreshing when changing commits limit 2022-11-12 19:53:18 +01:00
Abdelilah El Aissaoui
af3054342f Changed version to 1.1.1 2022-11-12 19:33:34 +01:00
Abdelilah El Aissaoui
1bfa65b740 Fixed images viewing in system default image viewer not working 2022-11-10 18:27:48 +01:00
Abdelilah El Aissaoui
1597733d43 Added noto sans to be the default mono font 2022-11-06 23:30:09 +01:00
Abdelilah El Aissaoui
69089c9910 Fixed repo state not refreshing if branch checkout has failed after creation 2022-11-06 23:30:09 +01:00
Abdelilah El Aissaoui
dcf9ceb6a3 Fixed clicking on empty diff wouldn't change the focus 2022-11-06 23:30:09 +01:00
Abdelilah El Aissaoui
4a90e1c757 Improved graph visualization 2022-11-06 23:30:09 +01:00
Abdelilah El Aissaoui
113ff9339f Fixed tabs scrollbar handling clicks when it isn't visible 2022-11-06 23:30:09 +01:00
Abdelilah El Aissaoui
a665af4051 Remove unused annotation 2022-11-06 23:30:09 +01:00
Abdelilah El Aissaoui
f2b0c40ff0 Fixed user+password dialog 2022-10-29 22:24:00 +02:00
Abdelilah El Aissaoui
a68f6cdb96 Restored scroll to top button 2022-10-29 17:54:39 +02:00
Abdelilah El Aissaoui
6be8d49654 Fixed opening a new repository would still show info from the previous instance 2022-10-29 16:45:13 +02:00
Abdelilah El Aissaoui
a7134a31dd Removed unnecessary padding 2022-10-29 00:27:39 +02:00
Abdelilah El Aissaoui
6f2e10c400 Applied workaround for Ctrl+C copying both side on split diff 2022-10-27 21:55:58 +02:00
Abdelilah El Aissaoui
31712cd846 Moved fetch button back to dropdown 2022-10-27 20:57:35 +02:00
Abdelilah El Aissaoui
31d5a98f2e Removed automatic resume on rebase interactive 2022-10-27 20:53:02 +02:00
Abdelilah El Aissaoui
7a2692202d Changed fetch icon 2022-10-27 20:32:17 +02:00
Abdelilah El Aissaoui
7449bdf446 Fixed clone button and added settings option 2022-10-27 20:29:35 +02:00
Abdelilah El Aissaoui
c4ce272359 / before file is always shown even if the path is being cut 2022-10-27 20:20:39 +02:00
Abdelilah El Aissaoui
315387fafc Added error message when revert commit or start rebase interactive have failed 2022-10-27 20:19:50 +02:00
Abdelilah El Aissaoui
b4c304371c Improved menu bar 2022-10-27 20:05:45 +02:00
Abdelilah El Aissaoui
bf6afc82c6 Fixed clicking on a log line being unresponsive
Happens when having 2 repositories with commits in common (same SHA). Instead of making fast clickable being based only on the hash, take also in consideration the viewmodel to differentiate between tabs
2022-10-27 20:05:27 +02:00
Abdelilah El Aissaoui
1d98491f71 Changed menu UI 2022-10-27 17:23:12 +02:00
Abdelilah El Aissaoui
94be23b872 Fixed uncommited changes line not refreshing in log changed "open repo" string 2022-10-27 13:04:02 +02:00
Abdelilah El Aissaoui
4196319203 Changed settings button design 2022-10-27 13:03:06 +02:00
Abdelilah El Aissaoui
1847eb42e9 Reduced size of buttons in menu 2022-10-25 19:56:55 +02:00
Abdelilah El Aissaoui
f2412616af Fixed multiline text field in rebase interactive 2022-10-25 19:56:23 +02:00
Abdelilah El Aissaoui
d934b83c4e Fixed rebase interactive layout 2022-10-24 17:57:46 +02:00
Abdelilah El Aissaoui
5d7d1d6f8b Removed use of keys in graph commits list 2022-10-23 18:05:20 +02:00
Abdelilah El Aissaoui
2e0e616dc2 Fixed uncommited changes graph line not being drawn when having conflicts 2022-10-23 18:01:23 +02:00
Abdelilah El Aissaoui
90a516f5af Added hint to quick actions dialog 2022-10-23 17:35:19 +02:00
Abdelilah El Aissaoui
302376a23e Fixed edit remotes dialog buttons 2022-10-23 16:15:30 +02:00
Abdelilah El Aissaoui
a0383b2781 Fixed commits limit toggle not working 2022-10-23 02:39:46 +02:00
Abdelilah El Aissaoui
4944c7c23c Adjusted search dir button height in clone dialog 2022-10-23 02:10:40 +02:00
Abdelilah El Aissaoui
27b9416598 Replaced side bar 2022-10-23 01:41:04 +02:00
Abdelilah El Aissaoui
47d1e89af2 Renamed colors properties 2022-10-22 22:19:37 +02:00
Abdelilah El Aissaoui
44774c2635 Increased diff header font weight 2022-10-22 20:40:07 +02:00
Abdelilah El Aissaoui
28c7ef0ac8 Changed extended menu button separator design 2022-10-22 15:53:56 +02:00
Abdelilah El Aissaoui
039b6b2f76 Fixed diff header using wrong spacing when file path is shown 2022-10-22 15:51:06 +02:00
Abdelilah El Aissaoui
f0ef6da660 Reformated whole project 2022-10-22 15:35:32 +02:00
Abdelilah El Aissaoui
87ec5e8f65 Changed "reset" string to "discard file changes" 2022-10-22 15:28:39 +02:00
Abdelilah El Aissaoui
34652ecc07 Added end padding to files changes 2022-10-22 15:28:39 +02:00
Abdelilah El Aissaoui
03a52cb4ce Removed submodules component 2022-10-22 15:28:39 +02:00
Abdelilah El Aissaoui
3ff18edaad Diff header now shrinks path to fit other ui elements if needed (like changed files in a commit) 2022-10-22 01:38:23 +02:00
Abdelilah El Aissaoui
096f4128b2 Fixed filename being cut in uncommited/commit changes 2022-10-22 01:15:54 +02:00
Abdelilah El Aissaoui
3554c7ebcf Code cleanup 2022-10-22 01:12:48 +02:00
Abdelilah El Aissaoui
d5e831b3bf Reduced min size of commit changes & side panel components while adding default percentage 2022-10-21 22:03:18 +02:00
Abdelilah El Aissaoui
b68461fb95 Changed dark theme primary color to a darker shade 2022-10-21 22:02:37 +02:00
Abdelilah El Aissaoui
c8d8c162a2 Adjusted commit changes design 2022-10-21 22:02:19 +02:00
Abdelilah El Aissaoui
f517f62426 Increased graph line width 2022-10-21 18:47:24 +02:00
Abdelilah El Aissaoui
d69bdb260d Fixed scrolling to a tag/branch not working as expected 2022-10-21 18:47:16 +02:00
Abdelilah El Aissaoui
a65b990a49 Fixed fetch not working for newly added remotes 2022-10-21 18:35:13 +02:00
Abdelilah El Aissaoui
6d6cf3ffda Changed stash with message design 2022-10-19 23:35:56 +02:00
Abdelilah El Aissaoui
0d5c83d92f Adjusted light theme colors 2022-10-19 23:24:02 +02:00
Abdelilah El Aissaoui
b2812648d3 Fixed welcome page buttons colors in light theme 2022-10-19 23:22:12 +02:00
Abdelilah El Aissaoui
fdbf92083a Tabs now can be scrolled with a scrollbar or shift+mouse wheel 2022-10-19 23:16:22 +02:00
Abdelilah El Aissaoui
325420bf47 Limited top menu buttons lines to 1 2022-10-19 22:21:03 +02:00
Abdelilah El Aissaoui
438bea4788 Changed design of uncommited changes 2022-10-18 23:47:18 +02:00
Abdelilah El Aissaoui
ad1cdb884b Fixed grammar error 2022-10-18 23:28:07 +02:00
Abdelilah El Aissaoui
2162191fe0 Fixed stashes list not being updated when stashing/drop stashes 2022-10-18 23:22:16 +02:00
Abdelilah El Aissaoui
6d2fadb437 Changed commit changes design 2022-10-18 23:12:30 +02:00
Abdelilah El Aissaoui
eebf16f707 Removed unnecessary logging 2022-10-18 22:45:02 +02:00
Abdelilah El Aissaoui
095c451aa4 Reduced font size by 1 dp 2022-10-18 22:40:42 +02:00
Abdelilah El Aissaoui
fceb559661 Added fixed size to image diff 2022-10-17 19:07:02 +02:00
Abdelilah El Aissaoui
40e9b042e5 Fixed flows being cancelled if component refresh failed 2022-10-17 10:32:44 +02:00
Abdelilah El Aissaoui
f293e9428c Improved events notifications. Removed GIt dir changes detection temporarily 2022-10-16 16:00:42 +02:00
Abdelilah El Aissaoui
453df1b6d4 Started refactor to remove nested ViewModels 2022-10-16 02:17:37 +02:00
Abdelilah El Aissaoui
578f30b7c9 Replaced custom clipboard method by the built-in 2022-10-15 19:06:12 +02:00
Abdelilah El Aissaoui
7203ee162b Disabled keyboard events during processing screen 2022-10-15 18:38:03 +02:00
Abdelilah El Aissaoui
5ba57f58b6 Increased number of recent repositories to 10 2022-10-15 18:15:20 +02:00
Abdelilah El Aissaoui
38a1b60e91 Fixed message-only amend would not be allowed 2022-10-15 18:11:01 +02:00
Abdelilah El Aissaoui
3be15ddc0c Revert "Divider will not be shown for the last file changed"
This reverts commit 65fbab2bd8.
2022-10-15 18:00:29 +02:00
Abdelilah El Aissaoui
17a285fcb4 Changed processing to be full screen 2022-10-15 17:54:17 +02:00
Abdelilah El Aissaoui
8ebcc10dde Started addition of "Quick actions" dialog 2022-10-15 01:18:52 +02:00
Abdelilah El Aissaoui
7fd3c1fdc2 Reduced log header height to match other headers 2022-10-15 00:31:54 +02:00
Abdelilah El Aissaoui
ff3adee916 Unified buttons styles 2022-10-15 00:27:15 +02:00
Abdelilah El Aissaoui
65fbab2bd8 Divider will not be shown for the last file changed 2022-10-14 23:44:38 +02:00
Abdelilah El Aissaoui
0f70c9a8cc Open "uncommited changes" by default 2022-10-14 23:44:01 +02:00
Abdelilah El Aissaoui
eaf8a52cd7 Redesigned tag dialog 2022-10-13 00:02:28 +02:00
Abdelilah El Aissaoui
1cf9cb5367 Added unstage by line feature 2022-10-11 13:17:25 +02:00
Abdelilah El Aissaoui
4f019ca8ed Fixed fast clickable for lists & added hover effect to it 2022-10-10 18:01:06 +02:00
Abdelilah El Aissaoui
add5666d89 Fixed unstage hunk regression in commit 3b1486e 2022-10-10 18:00:32 +02:00
Abdelilah El Aissaoui
eafebd2221 Added option to stage by line individually 2022-10-09 23:44:50 +02:00
Abdelilah El Aissaoui
871264722a Removed unnecessary log 2022-10-09 23:14:09 +02:00
Abdelilah El Aissaoui
5eada2e2a6 Replaced compose clickable modifier with custom pointerInput implementation
Should improve scrolling performance greatly while this issue still persists https://issuetracker.google.com/issues/228995735
2022-10-09 20:57:12 +02:00
Abdelilah El Aissaoui
9109f179df Added explanatory message for unsupported "manager-core" 2022-10-08 20:04:25 +02:00
Abdelilah El Aissaoui
7bdc2c4cf5 Added support for external git credentials helper [BETA]
Fixes https://github.com/JetpackDuba/Gitnuro/issues/16
2022-10-08 19:43:23 +02:00
Abdelilah El Aissaoui
c597624354 Replaced object with dagger singleton 2022-10-08 15:37:43 +02:00
Abdelilah El Aissaoui
21e1513d20 Redesigned reset branch dialog 2022-10-08 01:28:48 +02:00
Abdelilah El Aissaoui
e3c2a319ed Removed unnecessary logging 2022-10-08 01:26:47 +02:00
Abdelilah El Aissaoui
c2ebd0a038 Moved refresh button to bottom of side menu 2022-10-06 22:13:40 +02:00
Abdelilah El Aissaoui
9971e410db Added new branch dialog design & fixed fonts colors 2022-10-06 22:09:35 +02:00
Abdelilah El Aissaoui
76b3526aed Replaced primaryTextColor with onBackground & added new ssh pwd dialog 2022-10-06 21:56:24 +02:00
Abdelilah El Aissaoui
08536b2caa Removed scroll to top in favor of workspace button 2022-10-05 21:27:55 +02:00
Abdelilah El Aissaoui
2ffb8d9038 Added new side bar 2022-10-05 18:56:13 +02:00
Abdelilah El Aissaoui
e0bdc52409 Close tab button is hidden if the tab is not selected or hovered 2022-10-03 22:29:25 +02:00
Abdelilah El Aissaoui
fad8a2779e Changed tabs' design 2022-10-03 20:09:52 +02:00
Abdelilah El Aissaoui
87a701b4a5 Changed top menu design 2022-10-03 19:44:47 +02:00
Abdelilah El Aissaoui
3d5bc35c07 Added new side menu 2022-10-02 23:30:07 +02:00
Abdelilah El Aissaoui
125329a3aa Removed unnecessary logging 2022-10-02 23:28:35 +02:00
Abdelilah El Aissaoui
65f48a70b4 Adjusted themes colors 2022-10-02 23:28:21 +02:00
Abdelilah El Aissaoui
527d78229e Added support for GIFs & animated WebP
Fixes #2
2022-10-02 23:27:52 +02:00
Abdelilah El Aissaoui
115a195a61 Improved design of Settings dialog 2022-10-02 04:04:20 +02:00
Abdelilah El Aissaoui
71f336533a Removed proguard config and updated dependencies 2022-09-30 17:28:42 +02:00
Abdelilah El Aissaoui
1e0f54cd36 Fixed bug where enter key would trigger pull/push operations if a dialog was shown 2022-09-30 14:48:23 +02:00
Abdelilah El Aissaoui
acb5d07479 Added file history icon 2022-09-29 17:50:26 +02:00
Abdelilah El Aissaoui
876a3265fe Adjusted dialog colors to use surface color 2022-09-29 17:48:47 +02:00
Abdelilah El Aissaoui
9f6f16b16d Changed pull/push icons for new outlined 2022-09-29 10:15:10 +02:00
Abdelilah El Aissaoui
bfeaf717b7 Improved light theme and removed unused property 2022-09-29 10:14:51 +02:00
Abdelilah El Aissaoui
8c3e11ef38 Fixed crash when resetting uncommited file 2022-09-29 10:13:55 +02:00
Abdelilah El Aissaoui
e7c36c6e90 Created custom implementation of context menu and added new icons 2022-09-28 15:08:17 +02:00
Abdelilah El Aissaoui
8df62ef2b7 Moved classes to match the package name 2022-09-28 01:56:21 +02:00
Abdelilah El Aissaoui
b7ece2e051 Added submodules init option 2022-09-22 13:10:46 +02:00
Abdelilah El Aissaoui
fd98fcfd05 Fixed "stage" and "unstage" not showing an error if failed 2022-09-09 22:26:48 +02:00
Abdelilah El Aissaoui
4c6b45537b Increased clone dialog height 2022-09-09 22:26:26 +02:00
Abdelilah El Aissaoui
1217d401ed Added submodules listing support 2022-09-06 02:36:15 +02:00
Abdelilah El Aissaoui
7cc3c069b6 Improved clone dialog UI 2022-09-06 02:35:58 +02:00
Abdelilah El Aissaoui
29418a0dbc Updated readme 2022-09-06 02:08:24 +02:00
Abdelilah El Aissaoui
d2608f8f60 Changed clone dialog design and improved text field behavior with long text 2022-09-03 18:30:26 +02:00
Abdelilah El Aissaoui
7148e59eeb Removed repository & remotes managers in favor of use cases 2022-09-03 17:15:44 +02:00
Abdelilah El Aissaoui
32b2c1df11 Removed tag & rebase managers in favor of use cases 2022-08-30 05:05:57 +02:00
Abdelilah El Aissaoui
4e387951e1 Removed log manager in favor of use casess 2022-08-27 04:01:26 +02:00
Abdelilah El Aissaoui
7b1ce8b17a Removed stash manager in favor of use casess 2022-08-26 05:46:03 +02:00
Abdelilah El Aissaoui
3b1486efb6 Refactored status manager into use cases 2022-08-26 05:35:58 +02:00
Abdelilah El Aissaoui
d3f2b4a23f Removed diff manager in favor of use cases
Also simplified hunk generator and raw file manager
2022-08-24 05:17:18 +02:00
Abdelilah El Aissaoui
270951fe66 Started arch refactor 2022-08-24 04:43:31 +02:00
Abdelilah El Aissaoui
cbcb13d730 Fixed text selection when using split diff 2022-08-24 04:43:05 +02:00
Abdelilah El Aissaoui
81261e42c7 Moved generate split hunk use case 2022-08-24 03:26:11 +02:00
Abdelilah El Aissaoui
d76fb85373 Updated compose to 1.2.0-alpha01-dev755 2022-08-22 20:42:15 +02:00
Abdelilah El Aissaoui
07502a1ce2 Removed background from diff number 2022-08-21 03:04:50 +02:00
Abdelilah El Aissaoui
efcfce0f18 Refactored split diff to fix issues
Added new test case
2022-08-21 01:57:58 +02:00
Abdelilah El Aissaoui
ef6e6d7d69 Increased version to 1.1.0 2022-08-16 14:17:48 +02:00
Abdelilah El Aissaoui
1eeed3f243 Added array extensions test 2022-08-15 16:24:25 +02:00
Abdelilah El Aissaoui
31a3ef5aa2 Added tests for split hunk generation 2022-08-15 05:08:43 +02:00
Abdelilah El Aissaoui
7506c79b63 Simplified split hunk generation & added to file history diff 2022-08-15 03:52:36 +02:00
Abdelilah El Aissaoui
e550a6289c Clicking an image diff will now open ir with the default image viewer 2022-08-14 20:26:42 +02:00
Abdelilah El Aissaoui
5659bf8918 Added basic split diff 2022-08-14 20:25:51 +02:00
Abdelilah El Aissaoui
c04fc09247 Unified OS checking calls 2022-08-07 17:37:08 +02:00
Abdelilah El Aissaoui
8e65bff8e9 Replaced java calls for dialogs by native OS calls 2022-08-07 17:24:48 +02:00
Abdelilah El Aissaoui
975b0730d9 Fixed color scheme for light theme 2022-08-07 17:24:21 +02:00
Abdelilah El Aissaoui
4de4c5f76a Increased version to 1.0.1 2022-08-07 16:41:41 +02:00
Abdelilah El Aissaoui
71265998dc Fixed settings entry padding 2022-08-06 21:23:00 +02:00
Abdelilah El Aissaoui
74f4d22856 Removed unnecessary opt-in annotations 2022-08-06 21:06:36 +02:00
Abdelilah El Aissaoui
2e839a284f Fixed enter not working to accept tag name 2022-08-06 21:06:22 +02:00
Abdelilah El Aissaoui
00d95b6feb Project code cleanup 2022-08-06 21:03:45 +02:00
Abdelilah El Aissaoui
8db0313eb9 Increased default graph width & now graph width is saved across tabs 2022-08-06 04:03:24 +02:00
Abdelilah El Aissaoui
dc31181387 Improved avatar loading
Now avatar loading checks first if there is a cached avatar and before showing the placeholder, to avoid showing the placeholder for a moment when a cached version is available.

This will reduce CPU usage by a tiny bit since the placeholder won't have to be rendered.
2022-08-06 03:46:09 +02:00
Abdelilah El Aissaoui
20e23a9750 Fixed inverted colors of scrollbars 2022-08-06 03:22:54 +02:00
Abdelilah El Aissaoui
3c5b8f7ae6 Fixed multiple lines shown in changed lines
Also fixed copying not copying line endings of unchanged lines
2022-08-06 03:07:32 +02:00
Abdelilah El Aissaoui
6398244895 Reduced titles sizes and limited secondary button lines to 1 2022-08-06 02:26:30 +02:00
Abdelilah El Aissaoui
914edc9aa7 Removed decimals from calculated scale 2022-08-06 02:14:19 +02:00
Abdelilah El Aissaoui
ef384007d3 Fixed diff lines being cut 2022-08-05 01:51:53 +02:00
Abdelilah El Aissaoui
b950dc13fc Reduced tab title font size 2022-08-05 01:34:45 +02:00
Abdelilah El Aissaoui
d7a728c684 Text box label changed when rebasing to remark it as read only 2022-08-05 00:00:22 +02:00
Abdelilah El Aissaoui
b9fff2dc43 Remote edit dialog UI improved 2022-08-04 23:59:58 +02:00
Abdelilah El Aissaoui
7f42548b53 Fixed settings dialog title paddings 2022-08-04 23:59:27 +02:00
Abdelilah El Aissaoui
f0a4fd379f Added option to have a scale different than the ones predefined 2022-08-04 15:11:45 +02:00
Abdelilah El Aissaoui
83e0030b1c Changed scale slider to dropdown 2022-08-04 02:50:07 +02:00
Abdelilah El Aissaoui
884d5f1aa4 Changed switch toggle color when unchecked 2022-08-04 02:30:38 +02:00
Abdelilah El Aissaoui
491ed8e5c4 Fixed "Discard changes" button colors 2022-08-04 02:30:21 +02:00
Abdelilah El Aissaoui
3de4339860 Fixed colors scheme of remotes and settings dialogs 2022-08-04 00:52:19 +02:00
Abdelilah El Aissaoui
d5359effb6 Added management state when the repository is in "reverting" state 2022-08-04 00:39:11 +02:00
Abdelilah El Aissaoui
591fa98508 Added scaling setting 2022-08-04 00:38:46 +02:00
Abdelilah El Aissaoui
02906a253d Implemented keybinding management
This feature allows to easily add new keybindings (programmatically) to features accross the app.

Should also fix the issue that https://github.com/JetpackDuba/Gitnuro/pull/13 tried to solve
2022-07-22 20:34:36 +02:00
Abdelilah El Aissaoui
57e8482218 Added option to copy git ID to clipboard 2022-07-20 12:08:30 +02:00
Abdelilah El Aissaoui
fe77505e7d Reduced font size for commit message and fixed issue in settings dialog when switching between themes 2022-07-14 22:32:13 +02:00
Abdelilah El Aissaoui
7164bd3e71 Increased font units by 1 for the smallest text 2022-07-10 19:50:03 +02:00
Abdelilah El Aissaoui
1221085374 Graph separator takes in consideration screen density 2022-07-10 16:21:25 +02:00
Abdelilah El Aissaoui
e28033f951 Reduced size of message box label 2022-07-10 16:19:03 +02:00
Abdelilah El Aissaoui
d6a8b93026 Removed mutex from tab state
Workaround to make rebase interactive work again as it runs simultaneous operations
2022-07-10 16:18:25 +02:00
Abdelilah El Aissaoui
d93e634a5c Unified fonts styles 2022-07-10 16:04:03 +02:00
Abdelilah El Aissaoui
4c48cd995e Implemented manual refresh with F5 2022-06-27 20:36:24 +02:00
Abdelilah El Aissaoui
0f835edc35 Current branch now shows HEAD instead of a dot and bold text
This and the previous commit fix the scroll overlap of https://github.com/JetpackDuba/Gitnuro/issues/12
2022-06-27 19:32:28 +02:00
Abdelilah El Aissaoui
4ef18cf84b Increased items count padding in left panel to match the scrollbar 2022-06-27 19:21:40 +02:00
Abdelilah El Aissaoui
6599f2f861 Side panel now is a single big list with local branches and stashes expanded by default 2022-06-26 18:46:48 +02:00
Abdelilah El Aissaoui
64764c556d Changed app version to 1.0.0 2022-06-25 04:47:53 +02:00
Abdelilah El Aissaoui
42e6b32ba3 Fixed tag button being disabled when setting a name 2022-06-24 19:59:03 +02:00
Abdelilah El Aissaoui
befc7d1740 Removed merge dialog. Fast forward config is now in the settings 2022-06-24 19:42:01 +02:00
Abdelilah El Aissaoui
7ce311d9b5 Fixed commit message being shared between tabs 2022-06-24 01:58:46 +02:00
Abdelilah El Aissaoui
5c879961ac Removed rebase dialog 2022-06-24 01:58:29 +02:00
Abdelilah El Aissaoui
cbedb0e82c Unified components from settings and changed subtitle to secondary color 2022-06-23 22:30:11 +02:00
Abdelilah El Aissaoui
32fae01e6e Improved rebase interactive design 2022-06-23 19:28:21 +02:00
Abdelilah El Aissaoui
17c0f50360 Fixed graph not refreshing branches when branch checkout failed after creation 2022-06-23 14:46:37 +02:00
Abdelilah El Aissaoui
0186a3ac90 Implemented rebase interactive resuming 2022-06-23 14:04:38 +02:00
Abdelilah El Aissaoui
6501a9c98e Reduced icon's size of "Scroll to top" button 2022-06-23 13:42:32 +02:00
Abdelilah El Aissaoui
8d6df8a9e0 Added color around dialogs to improve contrast 2022-06-23 13:32:07 +02:00
Abdelilah El Aissaoui
6a44e8f958 Multiple UI improvements
- Added custom resizable outlined text field.
- Reduced size of "scroll to top" button text
2022-06-23 13:20:46 +02:00
Abdelilah El Aissaoui
2975059bd2 Graph horizontal scroll state is preserved when changing between tabs 2022-06-23 10:35:47 +02:00
Abdelilah El Aissaoui
02e37583f9 Added scroll to top button in the log 2022-06-23 10:24:58 +02:00
Abdelilah El Aissaoui
a86d1f7c1b Added option to abort cherry-pick.
Uncommited changes line will be shown now even when the status is empty if the repo is rebasing, merging or cherry-picking. This will allow the user to abort the operation if required.
2022-06-23 09:46:26 +02:00
Abdelilah El Aissaoui
765d0e9d96 Fixed cherry-pick not refreshing status.
Required when the cherry-pick has conflicts.
2022-06-22 18:42:38 +02:00
Abdelilah El Aissaoui
f1c8036342 Increased paddings in author dialog 2022-06-22 10:58:29 +02:00
Abdelilah El Aissaoui
1f889aca1c Fixed reset on conflicted files 2022-06-22 10:40:41 +02:00
Abdelilah El Aissaoui
ab8e8c7dbe Added dialog to edit author info 2022-06-22 00:53:10 +02:00
Abdelilah El Aissaoui
43330eb3c4 Added option to load custom themes.
Fixes https://github.com/JetpackDuba/Gitnuro/issues/3
2022-06-19 22:49:41 +02:00
Abdelilah El Aissaoui
15827d119a Added option to discard hunks 2022-06-19 19:52:53 +02:00
Abdelilah El Aissaoui
1835ff748d Added new tooltip component 2022-06-19 16:36:40 +02:00
Abdelilah El Aissaoui
55ebd9ee0d Removed no longer valid TODOs 2022-06-19 16:35:09 +02:00
Abdelilah El Aissaoui
3bea4f22e8 Added bottom status bar 2022-06-19 16:10:57 +02:00
Abdelilah El Aissaoui
ca32f7c551 Fixed padding of merge/rebase buttons when having conflicts 2022-06-17 17:47:25 +02:00
Abdelilah El Aissaoui
86a7f85e74 Rebase conflict now shows current commit message as read-only 2022-06-17 17:45:18 +02:00
Abdelilah El Aissaoui
dc45551259 Fixed uncommited changes node size on density > 1 2022-06-17 14:08:21 +02:00
Abdelilah El Aissaoui
656ac42d17 Fixed diff inconsistencies and cleared diffViewModel when not used
Weird bug where clicking on an entry to diff after staging a file that was being displayed would end up in the diff being completly closed. Clearing the previous viewmodel from memory fixes the issue.
2022-06-17 04:19:47 +02:00
Abdelilah El Aissaoui
a43c13462a The app now remembers the window state.
The resolution won't be saved to avoid issues when adding or removing screens with different resolution.

Fixes https://github.com/JetpackDuba/Gitnuro/issues/8
2022-06-17 03:14:21 +02:00
Abdelilah El Aissaoui
d79095533d Added option to delete remote branch from log 2022-06-11 23:54:43 +02:00
Abdelilah El Aissaoui
27d28cfdce OnClick is now null on default for SideMenuSubentry.
Implementing an empty callback would break the behavior of the VerticalExpandable.
2022-06-11 23:46:56 +02:00
Abdelilah El Aissaoui
bc56ad834a Added secondary surface color 2022-06-11 16:46:45 +02:00
Abdelilah El Aissaoui
9b876f05f0 Added alphabetical sorting to status entries 2022-06-11 16:33:02 +02:00
Abdelilah El Aissaoui
f57294c886 Moved "Files changed" alignment to the left 2022-06-11 14:36:24 +02:00
Abdelilah El Aissaoui
4bda2eb681 Fixed click not working for non-local branches items on side panel
Regression of change https://github.com/JetpackDuba/Gitnuro/pull/11
2022-06-11 14:17:21 +02:00