Commit Graph

2638 Commits

Author SHA1 Message Date
Marc Bernard
cfc900a2b1
DCLS/DDLS: Fix uninstall dependencies (#3726)
* DCLS/DDLS: Fix uninstall dependencies 

Closes https://github.com/larshp/abapGit/issues/2467

* Move DDLS before other DDIC

DDLS must be deleted before TABL (which is used in DDLS)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-13 08:52:50 +02:00
Christian Günter
dfc19fe718
Patch for staged files only (#3730)
* Allow Hotkeys on helper object

* Patch for staged files only

* cleanup

* fix linter

* Fix: refresh on page patch keeps sel. files

* Fix: Diff and Patch shd appear when only rem. Chg.

* fix linter

* clarify stage helper object in JS
2020-08-13 08:48:27 +02:00
Lars Hvam
17b6411cdb
remove unused variables (#3721)
* remove unused

* remove fstate

* remove

* false

* AVAS, delete method insert_links

* fstate

* sotr

* WAPA

* ssfo

* ddls mock
2020-08-11 18:11:39 +02:00
Harry Abrahams
32ec5430a7
Web DynPro Component Configuration Support (#3665)
* Web DynPro Component Configuration Support

Web DynPro Component Configuration Support Class

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support 

Syntax Corrrections

* TADIR Object Name Concatenation Change/Removal

TADIR Object Name Concatenation Change/Removal

As ms_item-obj_name hold complete TADIR name, concatenation with ..00 is not necessary.

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support

-Remove dynamic coding
-Remove explicit commit/roll back
-Use Tadir functionality of base class

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support

-The EXPORTING keyword can be omitted (exporting))

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support

-Removal of HJA comments
-Removal of me->

* Removal of Component Config XML in main object fil

Removal of Component Config XML in main object file

-Component Configuration raw XML added to additional comp_conf.xml file

* Additional xml file pretty printed as string

Additional file contents now pretty printed and added as string for easy diff.
Serialisation / Derialisation now working with pretty printing and un-pretty printing.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-11 05:31:49 +02:00
Christian Günter
e3c1623275
Fix dump in Code Insp. Display for exception class (#3724) 2020-08-10 17:14:09 +02:00
Lars Hvam
867c74701f
remove some unused variables (#3719)
* remove some unused variables

* more unused
2020-08-09 08:44:54 +02:00
Marc Bernard
0ea7b702ce
Refactor and enhance OTR support (#3681)
* WDYN: Fix missing texts

Texts were missing if more than one concept existed per WebDynpro component. Also fixes unit tests which were not working properly before and adds anew test.

* Pretty print

* Refactor and enhance SOTR support

Now supports all objects that use OTR: CLAS (LIMU/CPUB), ENHC, ENHO, ENHS, ENSC, WAPA (LIMU/WAPP) WDYA, WDYN (LIMU/WDYV), WEBI

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-09 08:41:47 +02:00
Marc Bernard
b7e0f15448
Fix status calculation (#3698)
Return checksum only if local item exists

Co-authored-by: Frederik Hudák <frederik.hudak@sap.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-09 08:38:50 +02:00
Lars Hvam
0052664c7c
optimize TADIR select (#3718) 2020-08-08 10:30:01 +02:00
Marc Bernard
324db52335
Enhance result view of Code Inspector/Syntax Check (#3717)
* Enhance result view of Code Inspector/Syntax Check

* Enhance result view of Code Inspector/Syntax Check

* Enhance result view of Code Inspector/Syntax Check

* Lint

* Move sort
2020-08-07 07:17:42 +02:00
Marc Bernard
c026ee89b0
Downport: Fix syntax errors in 702 (#3674)
* Downport: Fix syntax error in 702

Method "ASSERT_TRUE" does not exist in 702

* Downport: Fix syntax error in 702

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-06 13:50:53 +02:00
Marc Bernard
49f8ac48c0
DOMA: Fix translation of domain values (#3692)
* DOMA: Fix translations

* DOMA: Fix translations

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-06 13:46:07 +02:00
Christian Günter
4af7026e15
Fix: Open repo in master lang. opens repo (#3710)
After this fix is applied the menu "advanced > open in master language" opens the repo directly and doesn't open the repo list.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-06 13:37:48 +02:00
antonioyanez
a98ba1dfe1
fix bug of ignore subpackages flag (#3715)
Closes #3712
2020-08-06 11:53:58 +02:00
pokrakam
408f127b4a
Add exception instead of popup for background XML errors (#3708)
* Add exception/message logic, refactoring

* De-lint

* More de-linting

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-05 07:51:55 +02:00
Alexander Tsybulsky
8bc12fef01
tutorial to component (#3704) 2020-08-05 07:47:10 +02:00
Marc Bernard
3cb70cce20
TABL: Add translations (#3691)
* TABL: Add translations

* TABL: Add translations

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-01 15:03:35 +02:00
Alexander Tsybulsky
c6b4cb1a70
String map improvements (#3696)
* string map freeze and UT

* linter

* linter

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-01 14:52:59 +02:00
Frederik Hudák
b34f5c36b5
Remember repo list filter (#3671)
* Remember repo list filter

resolves #3552 

Changes:
- store filter in local storage instead of session storage, so it is remembered on abapgit restart
- filter is saved whenever it is changed instead of page unload
- removed debug output, it doesn't need to clutter the main page

* Don't resave on page load

* Add semicolons

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-01 12:42:20 +02:00
Christian Günter
679bef9ce0
Fix Warning - ABAP doc param is not part of meth (#3697) 2020-08-01 12:32:56 +02:00
Marc Bernard
67928912c6
SHMA: Return last changed by (#3693) 2020-08-01 12:06:29 +02:00
Lars Hvam
9180d0986d
FUGR table maintenance, solve diffs (#3659)
* update SQLX

* helpful error message for EU522

* add comment

* and UCCHECK
2020-07-31 06:38:31 +02:00
germanysources
1efb62feda
Testing class zcl_abapgit_objects_files (#3678)
* Support all kinds of line-breaks

* Unit-Tests for class zcl_abapgit_objects_files

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-31 06:29:22 +02:00
Frederik Hudák
b93b76a0f7
Fix master language serialization - DSYS (#3687)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-31 06:27:28 +02:00
Frederik Hudák
68ec17a5dd
Fix dump when pulling dsys (#3686)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-31 06:24:52 +02:00
Lars Hvam
837d45bc83
fix whitespace (#3690) 2020-07-31 06:22:01 +02:00
Frederik Hudák
a1ecc65ecc
Improved branching messages (#3685)
* Improvements to branch messages

* Names without refs/heads
2020-07-31 06:15:56 +02:00
Lars Hvam
6d9320505c
Codespaces setup (#3666)
* default ignore devcontainer.json

* abapgit, ignore devcontainer.json

* add devcontainer.json

* rename

* fix byte order mark
2020-07-28 09:20:02 +02:00
Domi Bigl
395116e481
add TABL authorization group handling (#3621)
* add TABL authorization group handling 

fixes #1328
test repo https://github.com/abapGit-tests/TABL-AuthorizationGroup.git
Authorization Group (TDDAT) is handled with TABL and TOBJ now

* fix linter errors

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-25 17:36:14 +02:00
Alexander Tsybulsky
525634e42b
page hoc concept (#3626)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-23 15:10:40 +02:00
Michael Käsemann
04e71feabe
Improved staging robustness (#3625)
* Improved staging robustness

- Skipped any objects in the changelist that are not marked for staging prior to processing them , to avoid that they keep other objects without errors from being staged if the user wants to stage parts of the changes

* Reduced line length

* Removed missed whitespace

* Update abaplint.json

* Update abaplint.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-23 14:59:22 +02:00
Lars Hvam
b78dab85db
1.98.0 (#3657)
* 1.98.0

* v1.98.0

* Update changelog.txt
2020-07-21 08:11:39 +02:00
Frederik Hudák
144e53608d
Add action column to repo overview (#3645)
* Add stage, patch buttons to repo overview

* Fix abaplint

* Add syntax check, code inspector

* Add pull

* constant naming

* Last changes

* lint

* lint

* Update abaplint.json

* Update abaplint.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-21 07:24:38 +02:00
ed-holland
ae30875b21
ENHS: Enhance exceptions (#3651)
* Enhanced Exception Message

* Fix Linter

* Implemented example

Co-authored-by: Ed Wenmakers <ed.wenmakers@redwood.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-21 06:40:01 +02:00
Lars Hvam
1006105a09
bridge, no need to lookup in view (#3653)
lookup in the transparent table, note it has an index
2020-07-19 20:59:12 +02:00
ed-holland
2871914578
Ensure no duplicates of functions are found (#3652)
* Ensure no duplicates of functions are found

* remove modify

Co-authored-by: Ed Wenmakers <ed.wenmakers@redwood.com>
2020-07-19 07:05:17 +02:00
Marc Bernard
67cd9d12ab
TOBJ: Clear package (#3632)
Closes https://github.com/larshp/abapGit/issues/3627

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-18 07:48:58 +02:00
Marc Bernard
c3e09f78d9
PARA: Dequeue parameter after deletion (#3644)
Closes https://github.com/larshp/abapGit/issues/3643

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-17 10:21:02 +02:00
Marc Bernard
178e23e639
Uninstall: Resolve DDIC dependencies of VIEW (#3630)
Fix uninstall if table/structure references a view (ex https://github.com/abapGit-tests/TABL_include_VIEW)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-17 07:10:12 +02:00
Marc Bernard
888d49f702
IOBJ: Remove number range objects and return error during delete (#3631)
* IOBJ: Remove number range objects

Number ranges for BW objects are local to a system and will cause errors when duplicates occur.

* Fix spelling

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-17 07:07:25 +02:00
Michael Käsemann
72ccc986c7
Faulty handling of post data (#3624)
* Fixed faulty translation of post data to parsable string

- Added method TRANSLATE_POSTDATA to ZCL_ABAPGIT_UTILS as a centralized place to translate post data to a string
- Replaced all post data string concatenations with the translation helper method to correctly parse spaces that fall to the end of a table line (this should solve #3073 as well as any other random crash caused by accidental misalignment of the post data)

* Backport ABAP statement to 7.02

* Code cleanup for linter checks

* Code cleanup for linter checks

* Fixed a possible error in parsing

If it_postdata contains an empty last line, the staging fails, because the string may contain a lot of soaces at the end of the previous to last line.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-16 15:51:36 +02:00
Marc Bernard
3183f95bb6
SUSO: Improve error message when deleting auth.object (#3642)
Reference to transaction SU21, which can be used to find out where auth.object is still used.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-16 10:33:21 +02:00
Marc Bernard
6cd192e86f
Improved HTTP error messages (#3638)
Just a bit more user-friendly texts

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-16 10:29:53 +02:00
Marc Bernard
3a48d01201
Remove repo from favorites at delete/purge (#3641)
Closes https://github.com/larshp/abapGit/issues/3640
2020-07-16 08:38:32 +02:00
Alexander Tsybulsky
07e1f787c6
gui_page cleanups (#3615)
* move test_changed_by from gui_page to services

* kind of linter fix

* move more action to router

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-13 17:42:40 +02:00
Alexander Tsybulsky
144cb8822c
improve missing branch styling (#3619)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-13 11:34:39 +02:00
Lars Hvam
0feae7c1b2
ZCL_ABAPGIT_FRONTEND_SERVICES private (#3617)
private instantiation
2020-07-13 11:17:21 +02:00
Lars Hvam
f579dfb7a0
allow dependency injection from anywhere (#3614) 2020-07-12 13:06:38 +02:00
Alexander Tsybulsky
d18d4c798e
Fix #3609 (clone uppercase pkg name) (#3613) 2020-07-12 08:56:44 +02:00
Lars Hvam
5139ef8507
move longtexts under interface (#3607)
* move longtexts under interface

adds interface for the longtext class

* fix

* longtexts, remove the constructor

* add injector method for longtexts
2020-07-12 08:39:53 +02:00