Commit e17e2fc
feat(git): add “Share to GitHub” flow (#13677)
* feat(git): add “Share to GitHub” flow
* add module-info
* Resolve conflicts
* fix(git): add missing imports
* test: init repo in SlrGitHandlerTest; fix localization keys
* fix: fail fast on null/blank parameters
* fix: Avoid silent failure in GitPreferences
* refactor: avoid null init
* add GitHandler class
* fix: keep RuntimeException catch but using log WARN
* Test Stacked branch
* fix: checkstyle error
* fix: add missing imports
* Use BackgroundTask and field Validator
* Refactor GitPreferences align with ProxyPreferences
* Add https-only validator
* Add TODOs and usage of StringUtil.isBlank
* WIP - save intermediate GitPreferences refactor
* WIP - save intermediate GitPreferences refactor
* WIP
* refactor: GitHub share dialog
- Moved setValues() call to View.initialize()
- Cleaned up typos and unused methods
- Renamed packages for consistency
- Switched from boxed to primitive types
* Compile fix
* Convert GitPreferences to record (as suggested by IntelliJ)
* Fix git PAT storage
* Add TODO note
* Changes by subhr
Co-authored-by: Subhramit Basu Bhowmick <[email protected]>
* Changes by fwl
Co-authored-by: Wanling Fu <[email protected]>
* Revert "Convert GitPreferences to record (as suggested by IntelliJ)"
This reverts commit f3bf354.
* Compile fix
* Disable non-working test
* Add ing to ADR-0016
Co-authored-by: Carl Christian Snethlage <[email protected]>
Co-authored-by: Ruslan <[email protected]>
* Rewrite Optional to ""
Co-authored-by: Carl Christian Snethlage <[email protected]>
Co-authored-by: Ruslan <[email protected]>
Co-authored-by: Subhramit Basu Bhowmick <[email protected]>
Co-authored-by: Christoph <[email protected]>
Co-authored-by: Wanling Fu <[email protected]>
* Fix markdown lint
* Link to ADR-0016
* Fix casing
* Fix architecture
Co-authored-by: Carl Christian Snethlage <[email protected]>
* Fix typo
Co-authored-by: Wanling Fu <[email protected]>
* Refine comments
Co-authored-by: Carl Christian Snethlage
<[email protected]>
* Remove TODO
* More language cleanup
* Fix empty line
* Cleanup language again
* Remove TODO
* Fix localization
* Remove separator
* Git is first
* Fix conversion
* Use "notify" instead of a popup
* Remove obsolete string
---------
Co-authored-by: Oliver Kopp <[email protected]>
Co-authored-by: Subhramit Basu Bhowmick <[email protected]>
Co-authored-by: Carl Christian Snethlage <[email protected]>
Co-authored-by: Ruslan <[email protected]>
Co-authored-by: Christoph <[email protected]>1 parent 80d5dac commit e17e2fc
File tree
31 files changed
+1142
-71
lines changed- docs/decisions
- jabgui/src/main
- java/org/jabref/gui
- actions
- frame
- git
- help
- icon
- preferences/network
- slr
- resources/org/jabref/gui/git
- jabkit/src/test/java/org/jabref/cli
- jablib/src
- main
- java
- org/jabref
- logic
- crawler
- git
- preferences
- status
- util
- preferences
- model/strings
- resources
- l10n
- org/jabref/logic/git
- test/java/org/jabref/logic
- crawler
- git
31 files changed
+1142
-71
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
221 | 227 | | |
222 | 228 | | |
223 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
183 | 191 | | |
184 | 192 | | |
185 | 193 | | |
186 | 194 | | |
| 195 | + | |
| 196 | + | |
187 | 197 | | |
188 | 198 | | |
189 | 199 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
Lines changed: 129 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
0 commit comments