Commit Graph

1199 Commits

Author SHA1 Message Date
Marc Bernard
62d5d4659e
Include deletions in "Transport to Branch" (#6291)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-05-22 09:36:53 +02:00
Alexander Tsybulsky
a660f0114e
Modals unification, in-page, own page, better abstraction, on example of settings_remote page (#6277)
Co-authored-by: Marc Bernard <marc@marcbernardtools.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: lars <larshp@hotmail.com>
2023-05-21 14:44:04 +02:00
Marc Bernard
c04eadb0e3
Add fallback for ADT transport link (#6283) 2023-05-15 12:18:06 +02:00
Marc Bernard
75ed45ca04
Remove unused class (#6284) 2023-05-15 12:08:37 +02:00
Marc Bernard
5e297630d7
FUGR, CLAS: Enhance "changed by" (#6274) 2023-05-14 09:06:26 +02:00
Marc Bernard
dc256de4d8
Ensure unique form ids (#6271) 2023-05-11 18:07:54 +02:00
Marc Bernard
170b03cf5d
Add GUI and HTML control info to page footer (#6261)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-05-11 16:38:13 +02:00
Marc Bernard
5d44df51ba
NSPC: Automatic creation of namespaces (#6210) 2023-05-09 11:11:45 +02:00
Christian Günter
3c9674a213
Run unit tests: Fallback to code inspector (#6264) 2023-05-07 12:50:48 +02:00
Christian Günter
81cf14d4d7
Add warning banner if wrong browser control is used (#6260) 2023-05-05 13:20:08 +02:00
Jorge Sancho
04a0d256b0
New UserExit at REPO TOOLBAR for adding custom repo settings (#6249)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-05-04 09:08:05 +02:00
Marc Bernard
4c9d477882
FUGR,CLAS: Enhance "jump to" (#6250)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-05-03 17:35:00 +02:00
Marc Bernard
d23fdfd233
Add debug option to show href-links on hover (#6239) 2023-04-22 13:17:49 +02:00
Marc Bernard
5f1dc6d5e0
Enhance Serializer Interface (#6229) 2023-04-20 16:20:01 +02:00
Lars Hvam
90c2f40899
extract jump to zcl_abapgit_gui_jumper (#6227) 2023-04-17 18:47:32 +02:00
Marc Bernard
d75a9c40bb
Add some icons (#6226) 2023-04-17 16:54:12 +02:00
Lars Hvam
22c84b6ea3
run unit page: fix back button (#6223)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-04-17 12:30:34 +02:00
Marc Bernard
b3ecd13639
Improve copy&paste on diff page (#6218) 2023-04-17 00:06:30 +02:00
Lars Hvam
b0abad47a7
asset manager: fix return type to interface (#6220) 2023-04-16 11:25:25 +02:00
Marc Bernard
da96f7de23
Improve "Advanced > Unit Tests" (#6213) 2023-04-16 10:48:10 +02:00
Lars Hvam
3a1403cece
move SCI result type to interface (#6208)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-04-12 14:37:33 +02:00
Lars Hvam
80b3c74ce7
extract calls to SUSR_USER_ADDRESS_READ (#6204)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-04-12 07:06:39 +02:00
Lars Hvam
c2d74685d5
remove call to CONVERSION_EXIT_TIMES_OUTPUT (#6203) 2023-04-11 20:34:21 +02:00
Lars Hvam
17a23a7794
replace DESCRIBE FIELD (#6205) 2023-04-11 15:11:11 +02:00
Lars Hvam
3df7b9e58a
refactor ADT transport link building (#6207) 2023-04-10 11:50:24 +02:00
Marc Bernard
cf528c5413
TABU: Several enhancements (#6191) 2023-04-06 10:13:27 +02:00
Marc Bernard
9b4b567946
Refactor Unit Test Page (#6196) 2023-04-06 10:03:09 +02:00
Lars Hvam
0a61914124
get system timezone (#6193)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-04-05 17:04:43 +02:00
Alexander Tsybulsky
018e56cfcf
USE_LXE settings and serialization of selected languages (in old format) (#6168)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-30 15:17:18 +02:00
Alexander Tsybulsky
5057386e2b
Improve pull dialog button logic (#6169) 2023-03-26 09:28:26 +02:00
Christian Günter
5e8fbabb9e
Improve error handling for password_dialog (#6163) 2023-03-24 10:06:41 +01:00
Marc Bernard
b6beda19f1
Show performance metrics for long-running ops (#6148)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-16 16:53:20 +01:00
Marc Bernard
b52e82da87
Remove alias - asset manager (#6149)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-15 09:28:10 +01:00
Marc Bernard
04e8294d3f
Rename "Repository Overview" to "Repository List" (#6150) 2023-03-15 07:28:04 +01:00
Alexander Tsybulsky
abf5bd268b
Refactoring of DB pages, and new UI features (#6134) 2023-03-14 18:04:30 +01:00
Marc Bernard
d4cbcc32b2
Fix check for unsaved data in local settings (#6139) 2023-03-09 16:51:45 +01:00
Lars Hvam
06443c1908
bugfix, unescape colon (#6132) 2023-03-05 14:56:52 +01:00
Lars Hvam
e9ff0b1d62
stats page: remove use of abaptxt255_tab (#6118)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-03-02 13:57:45 +01:00
Lars Hvam
bad06fd594
zcl_abapgit_cts_api: extract E070 select to CTS api (#6116) 2023-03-02 13:55:41 +01:00
Lars Hvam
ae98ec4da6
commit page: refactor WRITE to string template (#6111)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-03-02 10:20:48 +01:00
Alexander Tsybulsky
e729c09901
Better pull dialog, Screen status (#6093)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-03-01 20:17:36 +01:00
Lars Hvam
b6470787ff
move validate_name() to interface (#6106) 2023-02-28 17:53:01 +01:00
Marc Bernard
c43b8ccda4
Improve visualization of tags (#6098) 2023-02-27 08:45:35 +01:00
Marc Bernard
6b813569e8
JavaScript lint/format (#6052)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-02-26 19:31:13 +01:00
Marc Bernard
6c06750935
Fix tag deletion (#6095)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2023-02-26 18:07:24 +01:00
Marc Bernard
87a7d8b627
Add icon for tags (#6096)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-02-26 17:37:28 +01:00
Lars Hvam
6e0f600dfd
cleanup: remove some unused variables (#6099) 2023-02-26 17:17:35 +01:00
Marc Bernard
19b0312e43
JavaScript update comments (#6094) 2023-02-26 15:55:05 +01:00
Alexander Tsybulsky
c0a5fadfee
Refactor popup_to_select_from_list (#6089)
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-02-26 13:02:31 +01:00
Marc Bernard
c162e222e8
JavaScript clean-up: Remove obsolete parts (#6092) 2023-02-25 16:07:43 +01:00
Alexander Tsybulsky
12ea72e972
Fix zip diff command visibility (#6087)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-02-25 10:21:01 +01:00
Lars Hvam
35f9a05e8c
Refactor: package, add read_responsible() (#6083) 2023-02-24 15:58:25 +01:00
Lars Hvam
9ffec8c306
Refactor: SELECT e07t to CTS INTF (#6082) 2023-02-24 15:22:38 +01:00
Alexander Tsybulsky
826f7fd8ef
Gui component: Simplify handlers registration (#6068)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-02-23 14:14:30 +01:00
Lars Hvam
17ba24e72a
refactor TDEVCT SELECT to SAP package class (#6081) 2023-02-23 07:38:56 +01:00
Lars Hvam
86d79f2c29
refactor to avoid T100 SELECT (#6080) 2023-02-23 07:33:17 +01:00
Lars Hvam
c79e0e2dd2
run more unit tests via transpiler (#6061) 2023-02-22 07:31:10 +01:00
Lars Hvam
0e2063aa34
router: use interfaced factory method (#6077) 2023-02-18 10:49:11 +01:00
Lars Hvam
e325a4ba92
refactor: remove use of w3htmltab (#6063) 2023-02-13 07:27:38 +01:00
Marc Bernard
db7e5ac19f
Prevent dump if too many requests are selected (#6064) 2023-02-10 18:51:06 +01:00
Marc Bernard
049c045d95
Fix hotkeys repo list (#6062) 2023-02-10 14:35:26 +01:00
Marc Bernard
13876551d8
Fix error handling in "Stage by Transport" (#6060) 2023-02-10 09:50:02 +01:00
Marc Bernard
1ca12015eb
Refactor: replace newline/crlf with built-in (#6057) 2023-02-09 20:03:07 +01:00
Marc Bernard
dc9d6a9186
Fix hotkeys in repo view (#6054) 2023-02-08 15:15:02 +01:00
Marc Bernard
41dac12d2f
Visualize when experimental features are enabled (#6050)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-02-08 13:01:06 +01:00
Marc Bernard
2e7c2df8eb
Update object descriptions - Part 4 (#6043) 2023-02-06 18:48:47 +01:00
Marc Bernard
a3a5032c41
Update object descriptions - Part 3 (#6042) 2023-02-06 15:38:22 +01:00
Lars Hvam
5e070bdc24
zif_abapgit_html_viewer do abstraction (#6037) 2023-02-04 09:57:30 +01:00
Lars Hvam
a7c20da7a2
move ALV type defintion to intf popups (#6034)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-02-03 16:37:47 +01:00
Lars Hvam
773f2f7749
refactor, extract git definitions to git (#6029)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-02-03 11:46:00 +01:00
Marc Bernard
3d6dffc1af
Add icon for experimental features (#6030) 2023-02-03 07:19:18 +01:00
Marc Bernard
64fbe18541
Enhance login popup (#6022)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-02-02 13:23:46 +01:00
Lars Hvam
7382459a23
rename and move time class (#6024) 2023-02-02 09:28:13 +01:00
Jorge Sancho
49c063998b
new user-exit for validating before pushing into remote (#6013)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-02-01 09:46:45 +01:00
Marc Bernard
0f87b87003
Enhancement for Object Selector (#6009)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-31 11:50:44 +01:00
Marc Bernard
04ca136cdb
Repo View: Activate objects (#5994)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-16 17:42:40 +01:00
Marc Bernard
0d4e8abfd8
Repo View: Selectively add objects on pull (#5985)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-16 17:40:28 +01:00
Marc Bernard
7b5d9ba4bb
Uninstall log: Show only if there are errors (#5996) 2023-01-16 14:33:03 +01:00
Marc Bernard
4e65660605
Debug Info: Display of Deserialization Step (#5988) 2023-01-13 11:26:42 +01:00
Marc Bernard
dc00690542
Refactor: CSS clean-up (#5980) 2023-01-11 08:44:44 +01:00
Marc Bernard
3016ae68be
Pull log: Show deletion of unnecessary objects (#5974) 2023-01-10 19:21:44 +01:00
Marc Bernard
f009ec0f6f
Page diff/patch: Follow-up for small files (#5976) 2023-01-06 20:04:00 +01:00
Marc Bernard
25bbbf89cd
Refactor: Remove delete_tadir flag (#5949)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-06 15:56:12 +01:00
Marc Bernard
2f1866131f
Fix menus with many items (#5972) 2023-01-05 20:52:52 +01:00
Christian Günter
b3c932c03a
Page diff/patch: Fix dump for small files/diffs (#5956) 2022-12-23 09:58:32 -05:00
Lars Hvam
e7b8ed7dff
TABU: add option to skip initial values/columns (#5922)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-22 10:33:32 -05:00
Marc Bernard
f87073e606
Repo View: Consolidate "Pull" and "Selective Pull" (#5951) 2022-12-22 10:30:58 -05:00
Marc Bernard
b69ce81f1b
Add "ignore sub-packages" option for offline repos (#5948) 2022-12-15 12:43:55 -05:00
Marc Bernard
d73452d0f2
Add status message after pulls (#5947) 2022-12-15 12:21:55 -05:00
Marc Bernard
323dfbd235
Reorg: Package hierarchy (#5946)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-12-15 12:07:02 -05:00
Alexander Tsybulsky
ca02b3d4aa
Reorg: Move UI classes around (#5945) 2022-12-15 11:48:21 -05:00
Lars Hvam
1bcf259a41
export object page: allow exporting list of objs (#5936)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-15 11:54:36 +01:00
Marc Bernard
fefa5e1cee
UI: Fix dark theme buttons for Chrome (#5931) 2022-12-13 11:32:49 -05:00
Marc Bernard
6d55edea6c
Update to Hotkeys (#5929) 2022-12-13 10:30:18 -05:00
Marc Bernard
95eff62dd3
Diff/Patch: Improve beacons follow-up (#5933) 2022-12-13 09:18:56 -05:00
Marc Bernard
533c9fbdaf
Improve repository URL validation (#5927) 2022-12-12 10:22:18 -05:00
Marc Bernard
1b11487a2b
Repo View: Fallback to main if branch doesn't exist (#5925) 2022-12-09 15:04:16 -05:00
Christian Günter
97f357f107
Set transport request in local repo settings or user exit (#5916) 2022-12-08 08:45:16 -05:00
Marc Bernard
87256f29c7
Diff/Patch: Improve beacons (#5918) 2022-12-06 16:44:23 -05:00
Christian Günter
f13d7c235f
Copy (yank) link texts with y+LinkHints (#5915) 2022-12-06 09:50:04 -05:00
Marc Bernard
e265afde87
Repo View: Refactor menu cross-out logic (#5900)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2022-12-06 09:00:08 -05:00
Marc Bernard
20e7c5f910
Fix detection of SAP GUI for Windows (#5913) 2022-12-03 10:58:25 -05:00
Alexander Tsybulsky
54168655b5
All/none label filter (#5911) 2022-12-02 11:28:30 -05:00
Christian Günter
0c343c17c7
Command pallette: remove duplicate header links (#5909) 2022-12-02 11:23:28 -05:00
Christian Günter
2b5211a778
Local settings: add F4 value help for check varint (#5910) 2022-12-02 11:15:30 -05:00
Marc Bernard
caf282871e
Remove aliases - HTML class (#5907) 2022-12-02 10:53:19 -05:00
Marc Bernard
7ecea07572
Repo Settings: Fix dump in 702 (#5906) 2022-12-01 16:29:44 -05:00
Marc Bernard
e8d15fe5ec
Fix JS init error on Diff/Patch page (#5901)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-12-01 09:27:46 -05:00
Christian Günter
c40406930a
add label F4 value help (#5891)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-30 12:29:40 -05:00
Christian Günter
693a264d70
page code inspector: add actions to command palette (#5899) 2022-11-29 16:31:13 -05:00
Christian Günter
9e55f2cbf5
page repo: add patch function (#5896) 2022-11-29 10:41:26 -05:00
Christian Günter
27f4331652
Enable Command Palette for radio buttons (#5894)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-29 08:53:42 -05:00
Marc Bernard
7190cab413
Repo View: Consolidate "Stage" and "Force Stage" (#5889)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2022-11-29 08:49:44 -05:00
Marc Bernard
3054b2fa18
Repo View: Fix cross-out for menu items (#5890) 2022-11-29 08:39:36 -05:00
Christian Günter
ed5dbcdfc4
Fix command palette form submit (#5893) 2022-11-28 17:06:30 -05:00
Christian Günter
2fc5faa824
Fix initial focus for link hints (#5892) 2022-11-27 08:36:38 -05:00
Christian Günter
23fb33c86a
New Online/Offline: Add labels form input (#5888) 2022-11-27 09:23:45 +01:00
Christian Günter
8c1752f13c
Disable 'FocusFilter'-Hotkey if command palette is visible (#5887)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-25 08:42:06 -05:00
Marc Bernard
9c4ebba400
Open "Sponsor us" in new browser window (#5885) 2022-11-25 08:33:33 -05:00
Marc Bernard
613a5eaa8b
Add "Sponsor us" to page footer (#5882)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-22 14:54:56 -05:00
Marc Bernard
d151c64c69
Add a couple icons (#5881) 2022-11-22 11:15:41 +01:00
Alexander Tsybulsky
969d00b482
Repo overview page, Polishing (#5859)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-14 10:13:47 -05:00
Christian Günter
613a269207
Command palette refactoring (#5865)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-12 10:56:59 -05:00
Christian Günter
7b20e4a9e7
Repo view: Render labels (#5864)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-12 10:54:32 -05:00
Christian Günter
e2dbcf6308
Add "Show Hotkeys" to Help Menu (#5863)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-08 10:52:41 -05:00
Christian Günter
3a4396fdb6
Repo overview: Add labels and links to command palette (#5861) 2022-11-08 10:00:19 +01:00
Alexander Tsybulsky
503bb2ec50
Page menu provider for GUI page (and HOC) (#5860)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-07 11:31:41 -05:00
Marc Bernard
f8ac419f29
Fix "Unexpected package naming" error (#5805)
* Fix "Unexpected package naming" error

Previously, when an object existed in the repo and locally but was *not* included in the package hierarchy of the repository, you would get the following error (when opening the repo):

...

With this PR, log messages will list all objects that are not included in the package hierarchy. When pulling, the popup will show these objects and ask for confirmation to overwrite. I added an icon and description to the "package overwrite" popup similar to the "object selection" popup.

Closes #5728

* Update unit tests

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-04 08:56:31 -04:00
Alexander Tsybulsky
1fe63ac80e
Local organization/grouping/labeling of repos (#5814) 2022-11-03 09:03:51 +01:00
Kjetil Kilhavn
c821d66b39
Reset sort order to ascending in repo overview (#5840)
Reset mv_order_by_descending to abap_false for action change-order-by in event handler
2022-10-31 10:04:14 -04:00
Marc Bernard
34c07b6f98
Avoid overwriting built-in functions (#5832) 2022-10-20 16:45:31 +02:00
Marc Bernard
24b1bcffa7
Remove cases of modifying syst fields (#5831)
Remove cases of modifying `syst` structure
2022-10-20 16:43:03 +02:00
Alexander Tsybulsky
d2ba4af805
UI repo over tweaks (#5790)
* bugfix remove command

* bugfix diff shortcut

* wip

* working

* css clean ups

* linter fix

* css improvements

* font 90%

* css cleanups
2022-10-17 15:17:22 -04:00
Lars Hvam
cb66e18738
housekeeping, delete some unused variables (#5825) 2022-10-17 15:25:00 +02:00
Marc Bernard
302ac77c44
UI: Add hint for "icon scaling" setting (#5819) 2022-10-12 12:50:57 -04:00
Alexander Tsybulsky
3ecf82777c
UI repo over view page refactoring (#5789)
* improvements in abapgit_html

* linter fix

* repo over code styling

* repo overview refactoring part 1

* move universal cod to chunks

* cleanup new code temporarily

* more clean ups

* ui_component register_hotkeys helper

* move relevant hotkeys to repo overview

* forgotten part

* move event handling to repo over

* reuse td

* move render_repo_url to chunks

* minor

* linter fix

* new > create

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-10-07 14:46:43 -04:00
Alexander Tsybulsky
3e4e631cdb
Improvements in html engine (#5788)
* improvements in abapgit_html

* linter fix

* Try to workaround transpiler bug

* exclude uts from transpiler

* new -> create

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-10-06 16:34:01 -04:00
Marc Bernard
35718fbf77
W3xx: Remove unnecessary metadata (#5780)
* W3xx: Remove unnecessary metadata

* Clear metadata

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 09:47:05 -04:00
Fabian Lupa
125b529583
Allow use of changelog feature without APACK (#5739) 2022-10-04 07:50:37 +02:00
Marc Bernard
b9bb9a8094
Add uninstall option to repository overview (#5753)
* Add uninstall option to repository overview

* Hover + Remove

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-15 09:08:23 -04:00
Marc Bernard
e1f78f733b
Remove unused branch popup (#5742)
`branch_popup_callback` and `POPUP_GET_VALUES_USER_BUTTONS` are not used anymore and leftovers from previous refactoring.
2022-09-07 09:47:44 -04:00
Marc Bernard
dd58dac4c3
Fix dump when deleting repo with DB utility (#5740)
* Fix dump when deleting repo with DB utility

Ref #5612

- Avoid dump when manually deleting entries with DB Utility
- Avoid inconsistency when deleting repo entry but not repo checksums
- Improve warning popup and error message

* Fix warning

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-07 08:41:41 -04:00
thorsten-wolf-neptune
e58138e4f9
Fixed "Add via Transport" short keys (#5736)
* fixed "Add via Transport" short keys

* replace trobj_name with TYPE C LENTH 120

* Pretty Printer (VALUE uppercase)

* add skip

* add skip

* removed pretty printer comments

* running

* Replace with dtel

Works should SAP change the max key length

* Replace dtel 

For abaplint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-09-05 12:24:56 -04:00
Lars Hvam
366a30a0e0
export object page: add setting for only main language (#5735) 2022-09-02 08:54:00 +02:00
Lars Hvam
6743ac5fda
add page for running unit tests (#5719) 2022-09-02 08:43:28 +02:00
Lars Hvam
ac982560aa
Data serialization, add WHERE condition based on transport (#5720) 2022-08-26 08:33:22 +02:00
Lars Hvam
c90ec52c42
fix some background colors (#5716) 2022-08-23 07:40:43 +02:00
Lars Hvam
ded64f98da
advanced dropdown: add separators (#5717) 2022-08-20 12:02:51 +02:00
Marc Bernard
89103ce49c
Repo view: Fix "View > Changes only" for offline (#5641)
Closes #4266
2022-07-06 10:23:28 +02:00
Christian Günter
2d178b650a
Improve folder logic popup (#5662) 2022-06-27 13:20:35 +02:00
Marc Bernard
2857f5f3fb
Downport: GUI HTML Viewer (#5664)
Closes #5654
2022-06-27 12:31:10 +02:00
Marc Bernard
e3cbb7dcf1
Fix repo settings dialog (#5649)
* Fix repo settings dialog

Fixes handling of textarea field

Closes #5484

* Lint
2022-06-27 10:44:44 +02:00
Christian Günter
7f80845308
LinkHints: enable radio button (#5656) 2022-06-27 10:38:36 +02:00
Marc Bernard
8baf69ed98
Diff: Properly show diffs for whitespace (#5643) 2022-06-23 14:35:31 +02:00
Marc Bernard
787bc605b0
Propagate codepage conversion errors (#5638) 2022-06-23 07:12:25 +02:00
Marc Bernard
188996e417
UI: Message box improvements (#5616)
- Align width of message box to width of abapGit div (instead of full window width)
- Don't render "Message (00/001)" for generic messages

Closes #5614
2022-06-08 07:54:29 +02:00
Marc Bernard
da24dba592
Fix dump when switching repo to offline (#5613) 2022-06-05 18:46:31 +02:00
Fabian Lupa
1052ce6e85
Support direct longtexts in exceptions (#5592)
* Support direct longtexts in exceptions

as opposed to already supported indirect T100-based longtexts

* Lint

* Remove direct longtext variable support

* Add unit tests for exception longtext

* Add longtext message to language mismatch error

* Fix missing preserve_newline handling

* Adjust longtext display in error message box

- Convert newlines to html line breaks
- Indicate if a longtext is available on hover

* Fix duplicate preserve newline handling

* Adjust exception longtext rendering

Render linebreaks as html paragraphs

* Align error message box buttons to bottom right

so they do not move on hover when a longtext is available

* Refactor exception unit tests

* Skip failing transpiled tests

* Adjust longtext indicator for error message

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-05 18:40:34 +02:00
Fabian Lupa
c04f7b8d7f
Show installation flavour in footer (#5604) 2022-05-31 18:02:02 +02:00
Marc Bernard
bcf01fbfb0
Refactor: Create Tag (#5591)
* Refactor: Create Tag 

Replaces the old style page with a nice HTML form for creating a new tag.

* Update validation

* Allow empty comment and tagger

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-31 09:48:03 +02:00
Fabian Lupa
288e1008dd
Fix object deletions not working (#5594)
Package is now required for CLAS deletion for RS_CORR_INSERT but was not correctly determined for object deletions because of different field names when using MOVE-CORRESPONDING and another missing assignment.

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-05-28 16:52:33 +02:00
Marc Bernard
ddd7e47425
Refactor: Commit list popup (#5569)
* Refactor: Commit list popup

- Move popup for selecting a commit to `zcl_abapgit_popup`
- Allow to skip sorting of commits in `zcl_abapgit_git_commit` which often led to "too many commits" error (on GitHub you get the 300 most recent commits)

Popup will be used in `zcl_abapgit_gui_page_sett_remo` and `zcl_abapgit_gui_page_tags` (separate PR)

* Fix test classes

* Replace popup in remote settings

* Remove type

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-24 16:43:46 +02:00
Marc Bernard
7258fdc315
Repo view: Show icon for different source system (#5514)
In case an objects originates from a different system (`<> sy-sysid`), an icon will be shown after the object. On hover, you can see the id of the original system. 

Closes https://github.com/abapGit/abapGit/issues/3865
2022-05-21 08:13:41 +02:00
Marc Bernard
ba425e0318
Repo stats: don't count lines of ignored files (#5576)
Size and lines of code incorrectly included files that are ignored (outside of `/src/`).
2022-05-19 19:35:13 +02:00
Marc Bernard
297708b054
Repo view: fix "order by transport" dump (#5571)
* Repo view: fix "order by transport"

Partly regression of #5323

Closes #5570

* Add flag

* Improve sort
2022-05-18 21:25:43 +02:00
Marc Bernard
6d2510c84e
Fix tag popup message (#5567)
Tag popup is used for delete and switch therefore the message must be moved to the switch method.
2022-05-18 17:54:15 +02:00
Marc Bernard
ee2c77e6af
Refactor: Email validation (#5568)
Move `is_valid_email` to utitlity class for reuse
2022-05-18 17:42:45 +02:00
Christian Günter
722a954c43
Improve error message for language mismatch (#5544)
* Improve error message for language mismatch

* refactor

* refactor

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-17 13:31:25 +02:00
Marc Bernard
1b4582bc03
Fix commit message encoding (#5508)
* Fix commit message encoding

- Properly encode % and & symbols
- Add unit test for special characters

Closes https://github.com/abapGit/abapGit/issues/2448

* Exclude testclass

* Comment

* update to 2.0.17

* update to 2.0.18

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-05 15:29:38 +02:00
Fabian Lupa
872339dfe8
Refactor remote settings (#5483)
* Add get_switched_origin to repo_online

* Add onclick action for radiobuttons

* Refactor remote settings to allow for direct input

without using value helps

* Adjust branch overview error message

Inform the user about the possibility of changing HEAD directly without using the value help (that failed to show up).

* Fix hidden form fields taking up vertical space

* Add min/max restriction to commit field

on remote settings page

* Implement basic validation for commit id

on remote settings page

* Load previous branch/tag when PR is selected

in remote settings page to be able to switch back to it more easily

* Use current form data in PR and tag selection

on remote settings page, where possible. Otherwise check the form values are the same as the repo instance values.

* Fix issue when changing URL and switching from PR

at the same time

* Remove repo dependency in PR enumerator

to be able to list PRs for the current url on the repo remote settings page

* Update zcl_abapgit_branch_overview.clas.abap

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-05-02 13:22:23 +02:00
Marc Bernard
8888256eed
Fix ignore count in repo statistics (#5505) 2022-04-30 14:54:37 +02:00
Marc Bernard
79da4eb385
Refactor: Database Utility (#5487)
- Update and harmonize description of DB entries
- Fix description for repo checksums
- Increase width of display and edit areas
- Split long method
2022-04-26 07:54:00 +02:00
Marc Bernard
0fea49b74c
Remove "Tag Overview" popup (#5463)
* Remove "Tag Overview" popup

- The "Tag > Overview" feature has been removed (because of bad performance and low value)
- The tag select popup has been refactored. The code has been moved to `zcl/if_abapgit_popups`. Only change is that the popup is now centered like the others.
- Therefore, class `zcl_abapgit_tag_popups` has been removed

* Update injectors

* Remove interface

* Secondary key
2022-04-25 07:28:07 +02:00
Marc Bernard
3742f2b0d6
UI: Transport popup (#5453) 2022-04-22 07:37:15 +02:00
Alexander Tsybulsky
2cc3f53fc5
Rework checksums (#5328) 2022-04-13 11:29:23 +02:00
Marc Bernard
985dbf1116
Remove "Branch Overview" page (#5428)
* Remove "Branch Overview" page

- The "Branch > Overview" feature has been removed (see #5411 for reasoning). 
- The merge feature has been refactored into a new HTML page under "Branch > Merge" (#5402)

Closes #5411

* Remove old page

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-04-11 16:34:14 +02:00
Marc Bernard
63a87fa6e7
TABU: Add "jump" to SE16 (#5459)
* TABU: Add "jump" to SE16

When using "Data Cofiguration" you can now jump from the repo view to the data browser (`se16`).

* Simplify

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-04-08 15:39:03 +02:00
Marc Bernard
de39745541
UI: Fix escaping of textarea input (#5456) 2022-04-07 16:08:19 +02:00
Marc Bernard
ef502d8275
UI: Transport popup (#5452)
Add parameter for new logic
2022-04-06 15:55:48 +02:00
Marc Bernard
7e7104e050
UI: Word-wrap long filenames in repo/stage views (#5424)
Closes #5418

Before

After

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-04-05 17:17:55 +02:00
Marc Bernard
daa35ab666
UI: Transport popup (#5438)
If default transport is set and its type matches to what is required, then use it as default for the transport popup.

This will make it easier for example if a pull or uninstall failed and needs to be repeated since you want to continue using the same transport.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-04-05 16:15:08 +02:00
Marc Bernard
f712eb17a5
Folder logic "mixed" (#5413)
* Folder logic "mixed"

Introduces a new folder logic named `mixed` which combines `prefix` and `full`. The root package name will be used as prefix for all sub-packages but the package names are *not* concatenated recursively. This will allow for using significantly logic package names.

Also includes several new unit tests especially for nested packages which had not been tested before.

Closes #5410

Todo: Update docs

* Add constant

* Add options to UI

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-03-31 13:35:34 +02:00
Christian Günter
7992625644
Repo List: fix sort (#5397)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-03-15 18:56:55 +01:00
Lars Hvam
e5eb8d0d0a
icon, fix short dump (#5386)
#5385
2022-03-01 08:02:32 +01:00
Frederik Hudák
adb529152b
minor css adjustments (#5372)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-02-21 17:37:40 +01:00
Marc Bernard
6a85f93312
Update CSS for password fields and buttons (#5364)
Minor addition to CSS

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-02-21 16:38:45 +01:00
Alexander Tsybulsky
91cd4c3653
Separate zif_abapgit_repo (#5329)
* zif_repo basis

* all but zcl_abapgit_repo_srv

* fix zcl_abapgit_repo_srv

* remove create_new_log from interface

* "hack" -> "TODO"

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-02-19 09:22:46 +01:00
Lars Hvam
4ac0183df2
unit testing updates (#5354) 2022-02-19 09:02:13 +01:00
g-back
cce8be5f1b
persist "show folder view" option (#5343)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-02-10 12:01:54 +01:00
Frederik Hudák
baa09083e6
Repo view - show paths below object name (#5323)
* Repo view - show paths below object name

* rework table rows

* fix syntax

* remove old comment
2022-02-09 08:48:12 +01:00
Christian Günter
a4a13e56f7
Repo page: remove orphaned hotkey 'x' aG settings (#5334)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-02-07 12:10:52 -05:00
Fabian Lupa
42a642ccd0
Set window title for log viewer (#5300) 2022-01-30 14:19:13 -05:00
Marc Bernard
6efaa0e0b4
Refactor: Remove ddic flag (#5295)
Closes #5264

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-01-30 16:37:56 +01:00
Marc Bernard
884a71e00e
Forms: Radio options and minor fixes (#5291)
- Allow for radio options to be arranged in column (instead of side-by-side)
- Render maxlength for text fields only when provided

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-01-26 19:54:09 +01:00
Marc Bernard
254e6d51e3
UI: Center Popups - Part 2 (#5290)
* UI: Center Popups - Part 2

Adjusting more popups #5275

* Refactor for method length

* Lint indent
2022-01-25 18:40:20 +01:00
Frank Müller
c932426b44
Pre Filter Backend and GUI Logic (#5227)
* Initial

* Adjustments

* Router

* Abaplint

* abaplint

* diff between eclipse and vscode

* Multiple Adjustments

* Split Backend And GUI Logic

* Multiple Adjustments

* No Unit Tests

* abaplint

* Rename ZCL_ABAPGIT_REPO_PRE_FILTER to ...TR

* Multiple Adjustments

* Refactor the OVP action links into a toolbar

* abaplint

* Replace BAPI_MSG by STRING

* Rename Pre Filter to Object Filter

* Rename Pre Filter also in abap_transpile.json

* restore from main

* Check if <ls_item>-li_class is filled in Toolbar

* Adj. toolbars and move TR Req to zif_abapgit_popup

* abaplint

* Move  ty_trrngtrkor_tt to zif_abapgit_definitions

* abaplint

* Move and rename filter menu entries

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: IBM <mbox-060-sap-extern-tbom@daimler.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-01-25 10:00:09 +01:00
Marc Bernard
d7cdb65243
Forms: Minimum text field length (#5287) 2022-01-24 17:10:40 +01:00
Marc Bernard
656e94c612
Change icon for user settings (#5282)
* Change icon for user settings

Reduce confusion because of same icon for different settings.

Closes https://github.com/abapGit/abapGit/issues/5088

* Icon

* Update toolbars

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-01-24 14:21:02 +01:00
Marc Bernard
cf9ede7d7c
UI: Center Popups (#5274)
* UI: Center Popups

GUI popups were showing up all over the screen. On bigger screens, they often display outside the abapGit HTML frame.

With this change, most popups will show nicely centered or close to it (some fine tuning might still be required).

Notes: 
- Some popups like the one prompting for a transport request do not allow to influence the screen position. 
- Follow-up: Consolidate "Tag Popups" from `ZCL_ABAPGIT_TAG_POPUPS` to `ZCL_ABAPGIT_POPUPS` and adjust accordingly.

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-01-23 08:50:11 +01:00
Christian Günter
a416de1cf9
Enable clickable icons for link lints (#5271)
* Enable icon for link lints

* Enable clickable icons for link lints
2022-01-17 12:10:00 +01:00
Christian Günter
e74076c0bb
Repo View: 'Order by path' considers object name (#5261)
+ sort files

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-01-10 21:16:32 +01:00
Marc Bernard
074ae5a69b
Refactor: Calling batch input (#5252)
* Refactor: Calling batch input

Standardizes calling batch input API and handling errors.

* Fix indent

* Add new window

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-01-10 09:27:17 +01:00
Fabian Lupa
a586e5c9ed
Save additional repo view settings (#5257)
* Save additional repo view settings

* Fix formatting
2022-01-10 07:29:11 +01:00
Lars Hvam
c3b9980486
replace XUBNAME with SYUNAME (#5248) 2022-01-06 08:18:45 +01:00
Lars Hvam
1387128719
unit testing updates (#5246)
* unit testing updates

* fix

* split unit test method, ZCL_ABAPGIT_HTML_FORM_UTIL

* run is_empty

* type changes

* update notes

* update

* upd

* update notes

* run check_author_regex

* run parse_commits

* update notes

* add notes

* update

* run extract_author_data1

* run extract_author_data2

* run extract_author_data9

* update notes
2022-01-06 08:14:43 +01:00
Marc Bernard
b2f62e91d5
Repo View: Improve view with folders (#5215)
* Repo View: Improve view with folders 

I made some improvements to the folder view:
- Boxed display of path
- Separate links for folders within path
- Remove leading/trailing `/` in folder display
- Better alignment of `..` parent folder 
- Fix incorrect HTML since `%26lt;tr%26gt;` was before `%26lt;thead%26gt;`

Ref https://github.com/abapGit/abapGit/pull/5159#issuecomment-976124592

* Update CSS

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2021-12-22 10:31:44 -05:00
Marc Bernard
4f1a4a2b01
Commit page: Add description to links (#5214)
Add some text to clarify links between "Summary" and "Detail" 
https://github.com/abapGit/abapGit/pull/5087#issuecomment-991951078
2021-12-13 15:31:03 -05:00
Marc Bernard
9d5018e39e
Fix code inspection output (#5211)
Fix typo in comparison of object and sub-object
2021-12-13 15:16:07 -05:00
Christian Günter
fe363f7b0a
Downport clipboard_export (#5206)
* Downport clipboard_export

* add transpile filter

* undo
2021-12-13 08:02:19 +01:00
Christian Günter
53a314d946
Command palette: auto close if other palette opens (#5192) 2021-12-09 14:38:10 +01:00
Marc Bernard
b46c8b4599
Refactor: Consolidate front-end classes (#5172)
* Refactor: Consolidate front-end classes

There's no need for two "front-end classes". Moves all of ZCL_ABAPGIT_GUI_FUNCTIONS to ZCL_ABAPGIT_FRONTEND_SERVICES. Now all front-end calls are nicely together.

No functional change, some method reordering. 

Ref #2510, #5145

* Add missing interface

Co-authored-by: Christian Günter <christianguenter@googlemail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-12-09 06:49:43 +01:00
Marc Bernard
1bed7ae318
Repo view: Set minimum width of status column (#5180)
* Repo view: Set minimum width of status column

As seen in https://github.com/abapGit/abapGit/issues/5178, if the repo view table is very wide, the status column might not wide enough and be wrapped. 

Change ensures a minimum width of the column.

* Reduce

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-12-08 11:57:25 -05:00
Marc Bernard
97821c8428
Add user exit for adjusting display of filenames (#5185)
The filenames can become very long, for example, usage of many sub-packages, namespaces, objects like function groups, or BSP/Fiori apps with many sub-objects, or a long paths as starting folder. This can make the repository view very busy or render the output as a very wide table (see #5169, #5178).

This exit allows to adjust the filename according to your own rules. 

Here's an example for shortening the display of files for sub-objects:

```abap
  METHOD zif_abapgit_exit~adjust_display_filename.

    DATA:
      lv_path TYPE string,
      lv_name TYPE string,
      lv_ext1 TYPE string,
      lv_ext2 TYPE string.

    SPLIT iv_filename AT '.' INTO lv_path lv_name lv_ext1 lv_ext2.

    IF lv_ext2 IS INITIAL.
      " Main object
      rv_filename = iv_filename.
    ELSE.
      " Sub object
      rv_filename = |…{ lv_ext1 }.{ lv_ext2 }|.
    ENDIF.

  ENDMETHOD.
```
2021-12-08 08:07:45 +01:00
Christian Günter
451ab7cadf
WebGUI: Disable jump (#5184)
Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
2021-12-06 16:13:24 -05:00
Christian Günter
ad5bad77cb
Webgui: fix path + file encoding issue (#5182)
Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
2021-12-06 15:34:30 -05:00
Marc Bernard
b5af548ed8
Fix "Remove" button for data tables (#5177)
The remove button was not working because it was defined as a second `main` button.
2021-12-03 22:02:46 -05:00
Christian Günter
94e6bdc20b
Patch: Fix link hints (#5176) 2021-12-03 09:10:04 -05:00
Marc Bernard
4910506b35
Fix vimium links (#5175)
* Fix vimium links

* Lint
2021-12-02 07:52:58 +01:00
Christian Günter
29f35b0d47
remove superfluous function name (#5174)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2021-12-01 09:30:18 -05:00
Marc Bernard
29a9201a3b
Commit page: option to hide author fields (#5171)
* Commit page: option to hide author fields

The vast majority of time the committer is the same as the author (I assume). This adds an option to hide the author name and email fields on the commit form.

* Update docs

* Update docs

Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2021-12-01 09:27:30 -05:00
Marc Bernard
3fa3323b2e
Refactor: Jump to Object Logic (#5158)
* Refactor: Jump to Object Logic

Continue #5114

- Removes jump_adt and jump_se11 from zcl_abapgit_objects_super
- Remove almost all object-specific jump handlers (zif_abapgit_object~jump) since they are covered by GUI Jumper now

* Remove ZCL_ABAPGIT_OBJECT_SICF

* Remove obsolete RS_TOOL_ACCESS

* FUGR

* IATU

* PDXX

* SRVD

* XINX

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2021-11-29 15:52:13 -05:00
Marc Bernard
9778ec5258
Diff/Patch: Adjust view menu (#5168)
"Ignore Indentation" was not accurate. Renamed it to "Ignore Whitespace".
2021-11-26 10:10:14 -05:00
Christian Günter
13c4d57dd3
Patch: enable new view options similar to Diff (#5162)
* enable new view options on patch page

* add unit test

* new constant for unchanged lines
2021-11-26 07:41:57 +01:00
Marc Bernard
095c35f49b
Diff: Add options to ignore indent, comments, case (#5146)
* Diff: Add options to ignore indent, comments, case

Continuing on #2804

Enjoy!

* Skip new tests

* Trigger actions

* Trigger action

* Trigger action

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-25 07:33:48 +01:00
g-back
510441d486
Decouple last direct usage of CL_GUI_FRONTEND_SERVICES (#5145)
* Add new methods 


directory_create and directory_exis

* clean up whitespace

* normalize whitespace, formatting, comments

* decouple direct usage of cl_gui_frontend_services

* downport + concatenate to string template

* move param to single line

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-23 09:09:38 -05:00
Marc Bernard
928300a5c2
Repo View: Remove file path in folder view (#5159)
No need to show path when in folder view.

Before:

After:
2021-11-22 19:21:29 -05:00
Christian Günter
b6b0aef3b6
add links inside forms to command palette (#5144) 2021-11-18 15:32:19 -05:00
Christian Günter
2dc5626e70
add form actions to command palette (#5141)
* add form actions to command palette

* fix attribute

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2021-11-18 14:17:52 -05:00
Marc Bernard
543969e870
Fix icon hover in repo bar (#5143)
Closes #5142
2021-11-18 12:12:26 -05:00
Christian Günter
9d0e19feb9
add more toolbars to CommandPalette (#5136) 2021-11-17 07:52:47 +01:00
Marc Bernard
86262f4e54
Diff/Patch: Add "Filter by Object Type" (#5129)
* Diff/Patch: Add "Filter by Object Type"

Enhancement of filter options:

- Renamed "Type" to "Extension"
- Added "Object Type" 

Closes #3249

* Switch to INSERT

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2021-11-15 16:48:19 +01:00
Christian Günter
500d7eeb9f
hotkeys for form actions (#5133) 2021-11-14 14:55:38 +01:00
Christian Günter
e4b29954a4
Show implicit form hotkeys (#5132)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-14 07:45:44 +01:00
Marc Bernard
060abb8635
Make exceptions compatible with 702 (#5116)
* Make exceptions compatible with 702

702 does not deserialize exception classes correctly that have a constructor in a super class (see #1273). Adding an explicit constructor that calls the super-constructor, the issue is avoided.

* Pretty

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-14 07:28:38 +01:00
g-back
289f22d79d
Add Feature: Create New Branch for Commit (#5123)
* add feature: create new branch for commit

* add clarifying comments

* add check for empty branch name

* remove check box, add condense to new branch name

* add duplicate check for branch name

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2021-11-10 09:19:47 -05:00
Marc Bernard
51aeea2bc5
Update descriptions of MIME objects (#5124) 2021-11-09 17:22:25 -05:00
Marc Bernard
53951dc2ad
Remove more unused variables (#5112)
* Remove more unused variables

* rm

* rm

* rm

* rm

* needed for refactor later

* rm

* Needed for callback

* rm

* rm

* Pragma

* rm enho

* rm

* rm

* Setting unused_variables

* Revert unused_variables setting

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-09 16:22:29 +01:00
Derby
0ee847e383
bug: When Imoprt ZIP does not display error log. (#5121)
In case of offline + Import ZIP, error log is not showed.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-09 16:14:49 +01:00
Christian Günter
4c919b2aa6
Hotkey overview: Show link hint activation key (#5122) 2021-11-09 08:34:09 -05:00
Christian Günter
02a06cae8f
LinkHints/Hotkey: Unify activation (#5108)
Use hotkey activation logic also for link hints. Previously it was possble to activate link hints on some input fields (e.g. search on stage page). This is now fixed.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-09 05:45:57 +01:00
Marc Bernard
a37cf58e01
Refactor: Jump to Object Logic (#5114)
* Refactor: Jump to Object Logic

The goal is to greatly simplify the code to jump to an object, and to separate UI and object layers some more.

This PR introduces GUI Jumper (`zcl/if_abapgit_gui_jumper`), which covers all generic options to show an object. It tries the following options in order:
- ADT (if enabled)
- Workbench with line number
- Workbench without line number
- Transport System (new)

Only if all fail, abapGit will call the object-specific handler. 

Next steps:

- Remove `jump_adt` and `jump_se11` from `zcl_abapgit_objects_super` and replace by GUI Jumper
- Remove almost all object-specific jump handler since they are covered by GUI Jumper now

* Add class

* Lint

* Misleading name
2021-11-07 08:15:08 +01:00
Marc Bernard
9f689e4e4f
Title case for hotkey descriptions (#5113)
Closes #5089
2021-11-05 17:22:37 +01:00
Lars Hvam
2bee3c8253
remove unused variables (#5107)
* remove unused variables

* rm

* rm

* rm

* rm

* rm
2021-11-05 15:20:56 +01:00
Christian Günter
53343a98d6
Files: Introduce secondary keys (#5101)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-05 05:32:39 +01:00
Christian Günter
663320cfee
Commit page: limit comment input length (#5100)
As comment length is limited, we should only allow inputs up to that limit.
2021-11-04 06:40:19 +01:00
Marc Bernard
ffbd178318
UI: Sticky Top (#5061)
* UI: Sticky Top

With this change, the top bar will become sticky. Meaning, it remains on the top of the page when scrolling down.

It's CSS + JS since IE does not support the "sticky" CSS feature.

There's a bit of a "wiggle" when scrolling begins and alignment is not the best on the diff page (which has full width). Maybe some of you CSS wizards can figure these things out.

Closes #5035

* Upload with LF + UTF8

* Remove todo

- already includes changes of 5083

Co-authored-by: Christian Günter <christianguenter@googlemail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-02 16:57:33 +01:00
Lars Hvam
e45bdfc4e4
unit testing updates (#5080)
* wip, unit testing

* refactor popup

* update abaplint

* transpile additional classes

* all data classes

* all git

* update

* fix

* change type

* all gui

* all http

* ZCL_ABAPGIT_USER_RECORD

* all zlib

* all exceptions

* all xml

* all html

* all html zif

* all gui zif

* all xml zif

* all repo zif

* more generic

* star

* zif_abapgit_longtexts

* sort

* zcl_abapgit_news

* zcl_abapgit_adt_link

* ZCL_ABAPGIT_DIFF

* more

* add zcl_abapgit_services_git
2021-11-02 16:50:30 +01:00
Marc Bernard
9fa3579739
Commit Page: Repo Header and Summary (#5087)
* Commit Page: Repo Header and Summary

- Added repo header back
- Changed summary as suggested by @sbcgua
- Adjusted display of details accordingly

* Remove var

* Revert color on details

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-02 14:12:53 +01:00
Christian Günter
882ef7dc8d
New hotkeys for remote settings page (#5083)
* New hotkeys for remote settings page

* Enable hotkeys for non-input fields

* Prioritize link hint activation key over hotkey

* cleanup

* resolve 2

* resolve 3

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2021-11-02 14:09:23 +01:00
Alexander Tsybulsky
aa6bd86e9b
.gitattributes (#5081)
* git attributes

* renormalize endings

* text auto

* add shell scripts
2021-11-02 06:08:13 +01:00