Commit Graph

3922 Commits

Author SHA1 Message Date
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
9ad6fa8afb
Diff/Patch: Improve beacons (#5914) 2022-12-06 09:02:48 -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
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
Marc Bernard
b250edc8f7
WDYN: Fix dump if no components exist (#5749) 2022-09-08 08:01:04 +02:00
Marc Bernard
be967a4e8a
G4xx, IWxx: Changed by (#5747)
* G4xx, IWxx: Changed by

* Empty block
2022-09-08 07:32:35 +02: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
Marc Bernard
df62cb6ff4
DEVC: Fix dump if package has been delete (#5741)
If a package is deleted in a different session while viewing a repository, refreshing the repo view will dump.
2022-09-06 14:36:56 -04:00
Jorge Sancho
efb42650e0
new SOBJ serializer (#5724)
* 1st version of abapGit - SOBJ serializer

- added class 1st version of zcl_abapgit_object_sobj
- pending more testing

* refactoring to comply with abapGit conventions

* downporting to 7.02

* refactoring as abaplint suggests

'data' keyword in cappital letters

* more abaplint fixing

* changes for PR merging

- changed ABAP class title
- deleted commented code

* changes for PR merging (2)

- fixing abaplint

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-05 12:58:48 -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
github-actions[bot]
fbd0b7cc9d
ajson, Automatic Update (#5738) 2022-09-05 09:20:46 +02: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
Marc Bernard
ae8d471d4a
Check logon language during uninstall (#5731) 2022-08-29 21:59:51 -04:00
Lars Hvam
ac982560aa
Data serialization, add WHERE condition based on transport (#5720) 2022-08-26 08:33:22 +02:00
Marc Bernard
1737957b34
Fix regression in non-Unicode systems (#5732) 2022-08-26 08:19:24 +02:00
Lars Hvam
c90ec52c42
fix some background colors (#5716) 2022-08-23 07:40:43 +02:00
Albert Mink
26f93a18bf
Fix language conversion, now 7.02 compatible (#5727)
solves #5726
2022-08-22 17:24:24 +02:00
Lars Hvam
ded64f98da
advanced dropdown: add separators (#5717) 2022-08-20 12:02:51 +02:00
Lars Hvam
7ac80cebf3
zlib/deflate decompression, bugfix (#5723)
zlib, bugfix
2022-08-18 06:00:46 +02:00
Vanessa
1c8bb3bfd6
New Object EVTB based on AFF (#5707) 2022-08-16 07:44:51 +02:00
Albert Mink
96dd561a3c
[AFF] deserialize INTF metadata as JSON (#5704) 2022-08-11 06:55:39 +02:00
Katharina Wurz
111656b7b1
Deal with empty active version (object was never activated) (#5714)
* Deal with empty active version

* Put if condition into method
2022-08-09 17:21:46 +02:00
github-actions[bot]
a09f9871b7
ajson, Automatic Update (#5713) 2022-08-08 07:04:15 +02:00
Katharina Wurz
fba53633b4
Improvements for CHK* classes (#5712) 2022-08-07 08:38:34 +02:00
Bo Larsson
284f056f60
downport assert_true() (#5711)
closes #5710
2022-08-05 13:18:55 +02:00
Albert Mink
bef09c48cb
[AFF] More detailed error msg (#5709) 2022-08-04 13:28:33 +02:00
Lars Hvam
2e879323c3
downport, temporary workaround, if_adt_lock_handle (#5706) 2022-08-04 10:03:54 +02:00
marcushoepfner
61e7d13cd0
INTF Refactor deserialize (#5698) 2022-08-03 17:16:02 +02:00
Lars Hvam
ffd3c95d4a
disable dependabot, unit testing (#5699) 2022-08-01 10:07:42 +02:00
marcushoepfner
fd7d4771d8
started unit tests for intf deserialize (#5697) 2022-07-26 14:54:42 +02:00
Albert Mink
d266f13415
[AFF] Custom AJSON filter for INTF serialization (#5675) 2022-07-26 07:53:55 +02:00
github-actions[bot]
229548a208
ajson, Automatic Update (#5695) 2022-07-25 10:34:08 +02:00
Lars Hvam
9ce3b76d54
refactor call to 'TR_READ_NAMESPACE (#5693) 2022-07-25 10:29:43 +02:00
Katharina Wurz
863f7d7088
Exception handling small improvement (#5691) 2022-07-21 07:38:01 +02:00
github-actions[bot]
15df1fd539
ajson, Automatic Update (#5689) 2022-07-20 08:10:52 +02:00
Albert Mink
0bf8388a6e
Use sy-uname instead cl_abap_syst->get_user_name (#5685) 2022-07-13 09:13:41 +02:00
Marc Bernard
bdfe982ee8
Improve package / sub-package check (#5628)
If a sub-package is removed from the package hierarchy, instead of an exception, abapGit now shows a detailed warning message in the log.

This allows to remedy the situation either by adding the sub-package to the package hierarchy or by removing the sub-package from the repository (via push).
2022-07-12 11:14:02 +02:00
github-actions[bot]
b6de2d0dc8
ajson, Automatic Update (#5682) 2022-07-11 12:17:51 +02:00
Lars Hvam
2f5d44de3e
IWSG: implement CHANGED_BY (#5680) 2022-07-08 11:11:46 +02:00
Christian Günter
5af8cf8862
AFF: Downport (#5679)
* AFF: Downport

* fix lint
2022-07-06 17:15:42 +02:00
Marc Bernard
89103ce49c
Repo view: Fix "View > Changes only" for offline (#5641)
Closes #4266
2022-07-06 10:23:28 +02:00
Albert Mink
96cd546c7e
[AFF] Get data for serialization from the DB (#5670)
* [AFF] Get data for serialization from the DB

This is definitely not 7.02 syntax.

Contributes to #5658

* is this 7.02 syntax?

* WIP: inlide data declaration

* declare locale variable FIELD-SYMBOL

* multiple statements -> line break; local variable

* one more FIELD0-SYMBOL

* fix redundant `this`

* WIP: streamline data types

* WIP: streamline data types and typos

* add const to abaplint config

* rm commended code line

* add const to abaplint config

* WIP: SELECT follows 7.02 syntax

* space before dot

* WIP: SELECT 7.02

* linter constants

* WIP: finish SELECT 7.02

* Update src/objects/zcl_abapgit_object_intf.clas.locals_imp.abap

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

* add ci/abaplint CONST

* more CONST to ci/abaplint

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2022-07-05 08:54:47 +02:00
Marc Bernard
d427c6cfe7
Skipping serialization for ignored objects (#5648)
* Skipping serialization for ignored objects 

Serialization now evaluates the ignore list and skips matching objects. Note: The match is using the ABAP `cp` operator.

Example:
```
*ztest.prog.*         Ignore individual program
*.ectd.*                 Ignore all objects of a given type
*/subpack/*           Ignore all objects in a sub-package
```
2022-07-01 08:16:44 +02:00
Albert Mink
89090b5c00
[AFF] Allow object handler to serialize JSON via experimental feature (#5660)
* [AFF] Object handler for INTF

* Add JSON handler

* hard coded language

* adopt to abapLint rules

* wip: abaplint

* wip: abapLint

* adjust to naming conventions

* AJSON filtering abapLanguageVersion for serializat

* SELECT 7.02; UPPER

* abapLint params

* filter/remove the empty arrays

* reset obj handler to origin/main

* add experimental feature to enable AFF serializati

* typos, indentation and more

* move code to local clas

* Update src/objects/zcl_abapgit_object_intf.clas.abap

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

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-30 16:06:55 +02:00
Albert Mink
eb2ae98c6d
[Refac] Object handler for INTF (serialize) (#5668) 2022-06-30 11:51:41 +02:00
Marc Bernard
01297df9a5
Avoid duplicate key error (#5663)
Follow-up #5652

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-29 14:39:10 +02:00
Marc Bernard
394212630d
1.116.0 (#5653)
See [changelog](https://github.com/abapGit/abapGit/blob/main/changelog.txt)
2022-06-29 12:29:06 +02:00
Marc Bernard
3e4c684815
Rename repo interface method implementations (#5667)
Renames methods after changing to interface. Interface methods are now properly named `<interface>~<method>` (instead of `<alias>`). This also fixes warnings and navigation issues in `SE24/SE80`.
2022-06-28 09:24:47 +02:00
Christian Günter
2d178b650a
Improve folder logic popup (#5662) 2022-06-27 13:20:35 +02:00
Katharina Wurz
a9f7562d82
Change type assignment (#5661)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-27 13:16:34 +02:00
Christian Günter
bfdbee9990
SSST: Suppress list output for warnings (#5666)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-27 13:09:38 +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
Christian Günter
d145837d96
DDLX: implement changed_by (#5655)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-27 10:15:44 +02:00
Albert Mink
b667532004
[AFF] Add the type for INTF (manually) (#5639)
* [AFF] Add the types for INTF manually

* Add the types

* [AFF] JSON handler based on AJSON: deserialize

Minimal example in UT.
UT is RED, since AJSON does not yet match the ST behavior

// the change might be cherry-picked when AFF types are provided in abapGit

* Revert "[AFF] JSON handler based on AJSON: deserialize"

This reverts commit 149d2a86c3.

* Update zif_abapgit_aff_intf_v1.intf.xml

* Update zif_abapgit_aff_oo_types_v1.intf.xml

* Update zif_abapgit_aff_types_v1.intf.xml

* BOM

* Update zif_abapgit_aff_oo_types_v1.intf.xml

* Update zif_abapgit_aff_types_v1.intf.xml

* [abaplint] skip folder aff_types

* Revert "[abaplint] skip folder aff_types"

This reverts commit f63b601a3d.

* [abaplint] exclude aff_types for unused check

* mv AFF types to src/objects/aff_types

* Update zif_abapgit_aff_oo_types_v1.intf.xml

* Update zif_abapgit_aff_types_v1.intf.xml

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-27 08:59:34 +02:00
Marc Bernard
8555d1a0da
Remove aliases - Repo services (#5640) 2022-06-23 14:49:06 +02:00
Marc Bernard
8baf69ed98
Diff: Properly show diffs for whitespace (#5643) 2022-06-23 14:35:31 +02:00
yellappam
ef29fa7411
Clear IWVB metadata fields (#5647)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-23 13:16:20 +02:00
Marc Bernard
787bc605b0
Propagate codepage conversion errors (#5638) 2022-06-23 07:12:25 +02:00
github-actions[bot]
7730d37d1b
ajson, Automatic Update (#5631) 2022-06-22 17:52:28 +02:00
yellappam
c63cc7a9d2
Clear IWPR and IWSV metadata fields (#5637)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-21 13:05:31 +02:00
Christian Günter
f386846858
New Offline: Auto create package if non-existing (#5634)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-21 12:44:51 +02:00
yellappam
402c970b5e
Clear IWOM/IWMO object metadata (#5635)
* Clear IWOM/IWMO object metadata

It clears metadata related to object types IWOM and IWMO

* change keyword 'value' to upper case
2022-06-21 11:04:55 +02:00
Christian Günter
80b60e9cde
Fix variant maintainance for abapGit report (#5627) 2022-06-20 17:30:54 +02:00
Lars Hvam
ddf1c048a0
add authorization exit on startup (#5630)
#5629
2022-06-17 11:49:53 +02:00
Alexander Tsybulsky
380508d72c
FUGR: Better maintenance view auto comments cleanups (#5622) 2022-06-13 12:00:09 +02:00
Marc Bernard
20e15a19c2
Adjust screen element naming (#5625)
Prep for additional abaplint rule
2022-06-08 19:16: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
github-actions[bot]
3131fc6cf8
ajson, Automatic Update (#5620) 2022-06-06 15:30:14 +02:00
Marc Bernard
6e5f41277f
W3xx: Replace call with TADIR_INSERT (#5618) 2022-06-06 07:48:10 +02:00
Marc Bernard
7ba88d4345
Remove aliases - Common AFF (#5619)
Continue #5580
2022-06-05 21:45:38 +02:00
Marc Bernard
bb13a1ff10
Add exceptions to TR_TADIR_INTERFACE (#5617)
Better support for debugging
2022-06-05 21:29:04 +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
Marc Bernard
2855e7e7bf
Small git utils improvements (#5611)
* Small git utils improvements

- Saves ~20ms per call of `length_uft8_hex`
- Improve test coverage

* Update test

* Update abap_transpile.json

* no skip, fixed

* Update test

* Update abap_transpile.json

* update

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-05 14:37:57 +02:00
Marc Bernard
2415a5c0c0
SOTR: Fix uninstall (#5558)
After all OTR usage has been removed, uninstall will now also delete the TADIR entry for SOTR. This is necessary in order to delete the corresponding package.
2022-06-04 13:41:50 +02:00
Marc Bernard
0ab3ee0a06
Remove aliases from object classes (#5588) 2022-06-04 10:33:42 +02:00
Marc Bernard
c88e1aba5d
AFF: Fix exception handling (#5609)
Catch exceptions when calling `TADIR` deletion

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-02 10:06:01 +02:00
Marc Bernard
380f297bc7
DSYS: Fix exceptions (#5608)
Replace exceptions with correct names
2022-06-01 11:18:22 +02:00
Marc Bernard
1a394ff173
INTF: Remove syntax warning (#5607)
Replaces with exception with parent
2022-06-01 10:33:57 +02:00
Fabian Lupa
799334dfe2
Add exposure to workflow class attributes (#5603)
* Add exposure to workflow class attributes

* Add constant seoc_state_implemented to abaplint

* Also add seoc_state_implemented to ci/abaplint

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-31 20:33:17 +02:00
Fabian Lupa
c04f7b8d7f
Show installation flavour in footer (#5604) 2022-05-31 18:02:02 +02:00
Marc Bernard
a0bd3a903c
INTF: Add to deletion transport and fix locking (#5562)
- Add object to transport on deletion
- Unlock object (proxy interface) in case of errors
2022-05-31 17:42:58 +02:00
Marc Bernard
36ce3944ae
Repo view: Source system not part of item sig (#5599)
Source system is not part of item signature but supplemental info for item.

Follow-up to #5514
2022-05-31 13:40:41 +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
Gregor Wolf
276ad4e808
Exclude technical language from intf, clas, prog, dtel, doma and tabl (#5598)
* exclude technical language from DOMA

* exclude technical language from DTEL

* exclude technical language from TABL

* exclude technical language from CLAS

* exclude technical language from PROG

* exclude technical language from INTF

* fix abaplint issue: Place pragma at end of statem.

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-05-30 12:18:32 +02:00
Christian Günter
5e7cf0b27e
LXE: Downport (#5597)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-30 10:12:26 +02:00
Fabian Lupa
cbaf3711b4
Exclude technical languages (#5601)
from get_installed_languages in lxe_texts
2022-05-29 14:50:28 +02:00
Marc Bernard
e149594dae
Refactor: is_active logic (#5557)
- Move `is_active` from `zcl_abapgit_objects_super` to `zcl_abapgit_objects_activation`
- Consolidate `is_ddic_type` logic
- Add unit tests for `zcl_abapgit_objects_activation`
2022-05-29 09:47:39 +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
Gregor Wolf
143f7d4d3b
fix: exclude Translation Object Detective language for MSAG objects (#5596)
* fix: exclude Translation Object Detective language

Excludes Translation Object Detective language from serialization
Provides a solution for object type MSAG in issue #5595

* fix: Contains non 7 bit ascii character

* fix: exclude also Pseudo Translation

* refactoring based on the PR suggestion

* fix abaplint issues

* fix further abaplint issues
2022-05-28 12:00:15 +02:00