Commit Graph

3812 Commits

Author SHA1 Message Date
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
Michael Schneider
9d0914675f
Remove static references to cl_oo_source (#5897)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-01 16:33:05 -05:00
Marc Bernard
7ecea07572
Repo Settings: Fix dump in 702 (#5906) 2022-12-01 16:29:44 -05:00
Michael Schneider
21ed40e4d8
Remove references to cx_oo_clif_scan_error (#5905)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-01 12:13: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
Marc Bernard
258e6488b4
Fix file to object mapping (#5902)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-12-01 09:03:47 +01:00
Lars Hvam
498f31f191
unit testing updates (#5876)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-01 08:44:44 +01: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
Fabian
ab7c17240c
Submodules support (#5883)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-11-22 15:01:03 -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
a6ec3e0c3e
Refactor: BOM handling (#5878)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-22 13:14:07 -05:00
Marc Bernard
ba3d9e43cb
Fix type for data config serialize (#5880)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-22 12:17:18 -05:00
Marc Bernard
d151c64c69
Add a couple icons (#5881) 2022-11-22 11:15:41 +01:00
Lars Hvam
d25f19210e
update to latest npm packages (#5874) 2022-11-19 16:07:44 +01:00
Marc Bernard
b958377279
TOBJ: Deletion of logical transport objects (#5873) 2022-11-17 10:19:26 -05:00
Marc Bernard
4b4bd0ddad
1.119.0 (#5868)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-14 11:55:10 -05: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
Lars Hvam
004597aea6
additional unit testing via transpiler (#5858) 2022-11-14 08:58:09 +01: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
Vanessa
5c2e41c488
AFF object NONT (#5866) 2022-11-12 10:47:56 -05:00
Vanessa
bf8c3590a8
AFF object RONT (#5862)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-09 11:11:45 -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
1c236e042d
Remove unnecessary exception (#5856) 2022-11-06 16:57:16 +01:00
Marc Bernard
754fe5b5a8
DOCV: Fix dump for namespaced documents (#5855)
* DOCV: Fix dump for namespaced documents

Fix handing of documents in classes UO and UP which use a different namespace logic than DT, IN, MO. 

Regression #5756

Closes #5854

* Doc classes
2022-11-04 12:34:43 -04: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
Marc Bernard
ff573fd4d6
Fix syntax highlighting for xml and html (#5851)
* Fix syntax highlight for xml and html

The parsing was not correct if an xml/html attribute value contains one or more `=` sign.

Before:


After:

* Unit test
2022-11-04 08:35:35 -04:00
Alexander Tsybulsky
1fe63ac80e
Local organization/grouping/labeling of repos (#5814) 2022-11-03 09:03:51 +01:00
Marc Bernard
b03a70228f
Improve error message for where-used list update (#5849)
* Improve error message for where-used list update

* Update zcl_abapgit_objects_activation.clas.abap
2022-11-02 09:35:57 -04:00
Marc Bernard
93c8fcfb4f
DOCV: Add object to tadir and transports (#5845)
Fix errors found in CI test
2022-11-01 14:10:06 -04: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
8e7c79261d
CLAS,INTF: Catch runtime error during update (#5841)
Prevent dump when deserializing classes and interfaces in case a sub component was changed in a way that standard SAP code does not handle.

References: 
- message `OO_SOURCE_BASED 019`
- SAP Note [2166231](https://launchpad.support.sap.com/#/notes/2166231)
- https://github.com/abapGit/abapGit/issues/5836

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-31 08:49:46 -04:00
github-actions[bot]
8add5d6391
ajson, Automatic Update (#5837) 2022-10-24 08:16:51 +02:00
Katharina Wurz
e4aeff4f04
Small refactoring of zcl_abapgit_aff_registry (#5835) 2022-10-23 14:59:05 +02:00
Jaime Rodriguez Capote
976dd0f768
Skip Project piece list request (#5834) 2022-10-20 16:56:41 +02: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
Marc Bernard
9bcbebb46b
Disable "experimental" feature for stand-alone version (#5828)
Closes #5827
2022-10-17 10:13:54 -04:00
Lars Hvam
e539fc30e2
update AFF types to latest (#5824) 2022-10-17 16:05:40 +02:00
Lars Hvam
9af402ff9f
INTF cleanup: delete unused methods (#5823) 2022-10-17 15:48:01 +02:00
Lars Hvam
cb66e18738
housekeeping, delete some unused variables (#5825) 2022-10-17 15:25:00 +02:00
Lars Hvam
188c9ed903
dont use I18_A_LANGISO2, its not released (#5822)
* dont use I18_A_LANGISO2, its not released

* use LAISO

* use LAISO
2022-10-14 15:17:44 -04:00
Albert Mink
22214428d7
AFF: More UT for testing deserializing (#5821)
more details in UT
2022-10-13 19:41:26 +02:00
Marc Bernard
302ac77c44
UI: Add hint for "icon scaling" setting (#5819) 2022-10-12 12:50:57 -04:00
Uenal Akkaya
763fbad76c
DRUL: Use CL_BLUE_SOURCE_OBJECT_DATA instead of CL_DRUL_WB_OBJECT_DATA (#5818)
* Update zcl_abapgit_object_drul.clas.abap

Use in class ZCL_ABAPGIT_OBJECT_DRUL the more generic type CL_BLUE_SOURCE_OBJECT_DATA instead of CL_DRUL_WB_OBJECT_DATA

* Update zcl_abapgit_object_drul.clas.abap

Use in class ZCL_ABAPGIT_OBJECT_DRUL the more generic, similar type CL_BLUE_SOURCE_OBJECT_DATA instead of CL_DRUL_WB_OBJECT_DATA
2022-10-12 09:56:30 -04:00
Albert Mink
27bec52c8a
AFF with namespaces (#5779) 2022-10-10 11:38:47 -04:00
Marc Bernard
67093085f6
CLAS,ENHO: Fix inactive enhancements (#5810)
* CLAS,ENHO: Fix inactive enhancements

When pulling a change to an existing class, existing enhancement where inactivated and the enhancement code deleted. 

This was caused by unnecessarily calling `CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE'` in `zcl_abapgit_oo_class->create`, twice.

The change avoids the second call if the class properties and attributes have *not* been changed. Interfaces are handled the same way. 

Tested with CI tests for classes and interfaces:


Closes #5809

* Clear

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-07 15:00:31 -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
Patrick Winkler
cda541692f
SMBC: Business Configuration Maintenance Objects (#5812)
* enable SMBC for abapGit

* fix abapLint issues
2022-10-06 09:11:37 -04:00
Marc Bernard
fbeabd6220
ENHO: Unlock objects in cases of errors (#5811) 2022-10-06 10:17:22 +02:00
Christian Günter
86751b6961
VIEW: Add translation support (#5806)
fix linter
2022-10-05 20:11:46 -04:00
Christian Günter
f8564cb679
AFF: Fix existence check (#5803)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-10-04 17:48:11 -04:00
Marc Bernard
0437fc4e95
1.118.0 (#5802)
* v1.118.0

* 1.118.0

* Update changelog.txt

* Update changelog.txt
2022-10-04 10:33:39 -04:00
Christian Günter
1be856d23a
Fix failing unit test for SAP_BASIS SP00 (#5801)
* Fix failing unit test for SAP_BASIS SP00

before this fix ls_requirement-min_patch gets negative for SP00 and therefore failing

* fix linter

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-10-04 09:53:42 -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
Marc Bernard
004885fcc0
FUGR: Add documentation (longtexts) (#5795)
After #5786, Ref #5774

Serialize and deserialize documentation of function group, function modules, and parameters. 

Test case: 
https://github.com/abapGit-tests/FUGR_docu

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 09:44:03 -04:00
Jon Friesen
954d913191
CLAS,INTF: Support for component documentation (#5575)
* serialization

* full sotr class serialization

* nw 7.02 compatibility

* ensure consistent order

* Second attempt to stage support for CLAS and INTF 

Second attempt to stage support for CLAS and INTF, first attempt did not have changes

* Pretty printed

* Lint compliance part 1

* Lint compliance part 2

* code review remediation plus one bugfix

includes one bugfix - do not write entries in <DOCU_CAT> if there are no lines of text

* Update src/objects/zcl_abapgit_objects_program.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>

* Switch to new method

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Marc Bernard <marc@marcbernardtools.com>
2022-10-04 09:33:38 -04:00
Marc Bernard
e0e3b442a0
Various objects: Add documentation (longtexts) (#5796)
Add documentation (longtexts)

After #5786, Ref #5774

Serialize and deserialize documentation of CHAR, DTEL supplements, SFBF, SFBS, SFSW, TTYP, VIEW, WDYA, XINX

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 09:18:28 -04:00
Christian Günter
ee4320db6b
fix language dependent unit test (#5799)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-10-04 09:06:41 -04:00
marcushoepfner
3060254d10
Fix subcomponent text deserialization (json) (#5783)
* fix

* Take linters recommendations

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* adapted missing call; fix syntax issue

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 11:17:04 +02:00
Christian Günter
cbec754b65
Downport, version unit tests (#5797) 2022-10-04 08:58:18 +02:00
Marc Bernard
d936b8dc0b
Prepare processing longtexts for sub components (#5786) 2022-10-04 08:09:56 +02:00
Fabian Lupa
125b529583
Allow use of changelog feature without APACK (#5739) 2022-10-04 07:50:37 +02:00
Marc Bernard
fcdb07a7a6
TABL: Fix deserialize if foreign key exists (#5773) 2022-10-02 09:19:33 +02:00
Marc Bernard
16656d8141
CLAS: Fix pull for deleted interface methods (#5768)
* CLAS: Fix pull for deleted interface methods

In case an interface method was deleted, pulling a class that had implemented such method would not delete the implementation. This resulted in a diff and manual effort to remove the method (or repair the class).

The fix will compare the implemented methods and trigger the repair if necessary.

Closes #5578

* Update zcl_abapgit_oo_class.clas.abap

* return all includes

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-26 11:20:17 -04:00
Fabian Lupa
77fea02b45
Force usage of local object handler classes (#5778) 2022-09-26 06:50:16 -04:00
github-actions[bot]
86e88991e5
ajson, Automatic Update (#5776) 2022-09-24 13:38:15 +02:00
Marc Bernard
f1c1aad740
Delete obsolete longtexts on pull (#5751)
* Delete obsolete longtexts on pull

Longtexts that exist in the system but not in the remote repository are deleted when pulling.

Closes #5202

* Refactor

* Constant

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-23 09:57:44 -04:00
github-actions[bot]
c1a631fba3
ajson, Automatic Update (#5771) 2022-09-22 07:11:17 +02:00
Lars Hvam
ec83d1de35
Data: downport (#5770)
#5769
2022-09-22 06:59:19 +02:00
Marc Bernard
7db0c6082e
1.117.0 (#5765)
* 1.117.0

* Update version

* Update changelog.txt
2022-09-19 13:48:55 -04:00
Marc Bernard
aa1748ab28
Fix unit test for user persistence (#5763)
* Fix unit test for user persistence

Test fails if no repo exists with key `REPO/000000000001`

* Use existing constants

* Update src/persist/zcl_abapgit_persistence_user.clas.testclasses.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2022-09-19 11:49:56 -04:00
github-actions[bot]
b60007c752
ajson, Automatic Update (#5764) 2022-09-19 07:20:50 +02:00
Lars Hvam
29622bdf7b
TABU data: refactor some unit tests (#5758) 2022-09-19 06:44:04 +02:00
Marc Bernard
b18586ba32
CLAS,INTF: Add missing shorttexts (#5755)
* CLAS,INTF: Add missing shorttexts

Serializes shorttexts for sub components (like method and event parameters).

Preparation for https://github.com/abapGit/abapGit/pull/5718

New test cases:

https://github.com/abapGit-tests/INTF_docu
https://github.com/abapGit-tests/CLAS_docu

* Clear/set class/interface name for shorttexts

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-15 11:34:32 -04: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
0be78203d5
SOTR: Fix handling of alias names (#5750) 2022-09-13 16:39:33 +02:00
Marc Bernard
16d69e8ab9
DOCV: Handle namespaces (#5756) 2022-09-13 10:03:37 +02:00
Marc Bernard
ee3f5f4cb1
DSYS: Simplify namespace split (#5757) 2022-09-13 07:38:25 +02:00
Marc Bernard
471b155bc4
SUSH,SUSC: Fix deletion (#5748) 2022-09-09 14:24:52 +02:00
Marc Bernard
f9b0cc16ea
W3XX: Sort parameters to avoid diffs (#5746) 2022-09-08 08:14:33 +02:00
Marc Bernard
24340fce32
SCVI: Sort tables to avoid diffs (#5745) 2022-09-08 08:04:19 +02:00