Commit Graph

4148 Commits

Author SHA1 Message Date
Marc Bernard
b2790bc1a2
XSLT: Fix activation sequence (#4017)
* XSLT: Fix activation sequence

Save first, then activate (and no need for activation queue)

* Add error handling
2020-10-13 10:43:23 +02:00
Alexander Tsybulsky
19c49fd960
Bugfixes in html_form and Finetune add pages to new event (#4011)
* refactor validation in html_form + UT

* minor UT tweak

* subtle form bugfix (boolc return space string)

* cleanup add forms

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-12 16:40:24 +02:00
dependabot-preview[bot]
4ea315f071
Update eslint requirement from ^7.10.0 to ^7.11.0 (#4015)
Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.10.0...v7.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-12 16:25:31 +02:00
dependabot-preview[bot]
6255437f74
Update @abaplint/cli requirement from ^2.54.0 to ^2.57.1 (#4014)
Updates the requirements on [@abaplint/cli](https://github.com/abaplint/abaplint) to permit the latest version.
- [Release notes](https://github.com/abaplint/abaplint/releases)
- [Commits](https://github.com/abaplint/abaplint/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-12 10:15:37 +02:00
Alexander Tsybulsky
4b6c424465
html event abstraction, phase 5 - case insensitive query and form_data (#4007)
* case-insensitive string map

* refactor gui_event and its UTs

* remove query uppercased in pages

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-11 10:47:37 +02:00
Lars Hvam
45bc9ed91d
update linter configuration (#4008) 2020-10-11 10:40:18 +02:00
Marc Bernard
47a47c55a2
Update docs for upgrading (#4009) 2020-10-11 10:38:27 +02:00
Marc Bernard
c27a0c0b38
Update ZCL_ABAPGIT_USER_MASTER_RECORD (#3994)
* Update ZCL_ABAPGIT_USER_MASTER_RECORD

- Issue: If the user does not exist in the system, the BAPI will fail but still the user still will be added to the gt_user.
- Fixed the issue, if user is invalid it wont be added to the list.
- Refactored the class and added check_user_exist method.
- Added unit tests.

* Sy-uname

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-10 07:52:57 +02:00
Marc Bernard
5a0acf7a5a
SHMA: Auto generate (#4005)
Automatically generate area class after deserializing. Closes https://github.com/abapGit/abapGit/issues/1201

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-09 13:13:22 +02:00
Marc Bernard
c0192df9ec
Close some minor ToDos (#3995)
* Close some todos 

FUGR does not have any class includes

* Remove huh?

* Move WDYN activation to serializer

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-09 13:11:24 +02:00
Marc Bernard
784975fefc
Update object serializer descriptions (#4006)
Helps to identify the object type of a serializer class

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-09 12:58:31 +02:00
Marc Bernard
0adb9dec58
Add Offline: Uppercase package name (#4002) 2020-10-09 12:30:07 +02:00
Marc Bernard
b7b5c2e62e
Change ESCAPE key to work like BACK (#3989)
Pressing ESC used to exit abapGit completely. Changed it to work like F3 (BACK), which makes more sense especially in HTML form. You can still exit from anywhere using SHIFT+F3.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-07 09:14:10 +02:00
Lars Hvam
f9d064829a
remove more ALIASes (#3986)
most of these are not in use, but was also public
2020-10-07 09:05:28 +02:00
Lars Hvam
7339e0ec47
delete ltcl_dangerous (#3984) 2020-10-07 09:02:36 +02:00
Lars Hvam
4e96acd4be
use HEAD symref as default branch (#3983)
* use HEAD symref as default branch

closes #3974

* autodetect
2020-10-07 08:59:30 +02:00
Jacques Nomssi
06ad84d76d
Update index.md (#3992)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-07 08:57:10 +02:00
Marc Bernard
9672f5b030
Adjust name prefix for types (#3991)
* Part 1

* Part 2

* Part 3

* Lint

* Part 5

* Part 6

* Part 7

* Part 8

* Part 9

* Enforce type naming prefix

All types need to start with TY_...

* Fix local types
2020-10-07 08:54:15 +02:00
Clemens Prill
ced131e55b
added abat AG as consulting and SAP partner who uses abapGit (#3987) 2020-10-06 15:13:09 +02:00
g-back
419bbfc24d
ZCL_ABAPGIT_HASH: Change FM call to method call (#3980)
* change function module call to method call

* add test case for valid XSTRING value

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-06 08:40:48 +02:00
Alexander Tsybulsky
7c0ec067a1
rename repo related pages (#3982) 2020-10-06 08:22:22 +02:00
Marc Bernard
19916a5909
Remove reference to helper (#3981) 2020-10-05 17:34:57 +02:00
Lars Hvam
bdfa168ba2
update links (#3979)
* update links

* update links

* Update package.json

* Update guide-authentication.md
2020-10-05 16:53:30 +02:00
Marc Bernard
42c909e688
Refactor: Remove dynamic instantiation of ZCL_ABAPGIT_MESSAGE_HELPER (#3966)
* Refactor: Remove dynamic instantiation of ZCL_ABAPGIT_MESSAGE_HELPER

Consolidate `ZCL_ABAPGIT_MESSAGE_HELPER` features into `ZCX_ABAPGIT_EXCEPTION` and removes helper.

* Remove helper

* Pretty

* Update chunk_lib

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-05 16:50:36 +02:00
Harry Abrahams
6360ccd08a
Fix for SFPF Clear CACHE_INFO (#3954)
* Clear CACHE_INFO

#3868

* Indentation corrections

* Add Spaces for Parameters

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-05 16:44:28 +02:00
dependabot-preview[bot]
94c0246442
Update @abaplint/cli requirement from ^2.52.6 to ^2.54.0 (#3978)
Updates the requirements on [@abaplint/cli](https://github.com/abaplint/abaplint) to permit the latest version.
- [Release notes](https://github.com/abaplint/abaplint/releases)
- [Commits](https://github.com/abaplint/abaplint/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-05 10:04:20 +02:00
Alexander Tsybulsky
6941d9824a
html event abstraction, phase 4 - form_data (#3975)
* event->post_data logic

* part of pages, commit test

this is also long text
to test

* string_map: port strict() feature

* pages refactoring part 2

* linter

* docs

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-05 09:33:01 +02:00
Lars Hvam
c573b94a57
ZCL_ABAPGIT_CONVERT additional unit tests (#3976) 2020-10-05 09:30:43 +02:00
Marc Bernard
25774396e6
Dialogs: add offline repo HTML form (#3960)
* Dialogs: add offline repo HTML form

* Dialogs: add offline repo HTML form

* Dialogs: add offline repo HTML form

* Lint

* Lint

* Chaining

* Set required attribute

* Check for empty display name

* Change validation

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-03 10:18:45 +02:00
Marc Bernard
24436879b6
Improvements for uninstall (#3959)
* Improvements for uninstall

Uninstall now catches exceptions and tries up to 3 times to remove an object. Exceptions are only raised if after 3 tries some objects still remain. 

Tested with https://github.com/larshp/abapPGP

Closes https://github.com/abapGit/abapGit/issues/379 and https://github.com/abapGit/abapGit/issues/3949, and probably #3228

* Add SHLP

also ordered when by priority

* Conflict

* Move counter

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-03 09:17:11 +02:00
Marc Bernard
a49b68efa7
Update Serializer Documentation (#3972)
* Update Serializer Documentation

* Update serializers.md

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-02 10:26:48 +02:00
Marc Bernard
9704ce6708
Fix ZIF_ABAPGIT_OBJECT~EXISTS methods (#3967)
* Fix ZIF_ABAPGIT_OBJECT~EXISTS methods

* Fix EXISTS

* CMPT

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-10-02 10:23:00 +02:00
Lars Hvam
37ae397853
1.100.0 (#3970)
* 1.100.0

* v1.100.0
2020-10-01 11:08:01 +02:00
dependabot-preview[bot]
578d0c28d2
Update eslint requirement from ^7.9.0 to ^7.10.0 (#3969)
Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.9.0...v7.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-01 11:00:36 +02:00
dependabot-preview[bot]
5dd26c1378
Update @abaplint/cli requirement from ^2.48.0 to ^2.52.6 (#3968)
Updates the requirements on [@abaplint/cli](https://github.com/abaplint/abaplint) to permit the latest version.
- [Release notes](https://github.com/abaplint/abaplint/releases)
- [Commits](https://github.com/abaplint/abaplint/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-01 10:57:20 +02:00
Marc Bernard
ef234a20fb
New object type CMOD - Customer Enhancement Project (#3947)
* New object type CMOD - Customer Enhancement Project

Test repo https://github.com/abapGit-tests/CMOD

* CMOD

* boolc

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

* Update src/objects/zcl_abapgit_object_cmod.clas.abap

Co-authored-by: g-back <27279305+g-back@users.noreply.github.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: g-back <27279305+g-back@users.noreply.github.com>
2020-10-01 09:49:48 +02:00
Marc Bernard
ecaa58beaf
Add anchor script for developer docs (#3963) 2020-10-01 09:46:15 +02:00
Marc Bernard
1e93c1d3d3
Fix syntax errors in 702 (#3962)
Only relevant if trying to run dev version in 702
2020-09-29 19:28:42 +02:00
Marc Bernard
c9da76b3ee
Fix error from CL_PACKAGE_FACTORY=>LOAD_PACKAGE (#3958)
* Fix error from CL_PACKAGE_FACTORY=>LOAD_PACKAGE

* Variable

* Change to T100 messages

* super->constructor( )

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-29 17:29:02 +02:00
pokrakam
00e01c7232
Extend unit tests to handle edge cases (#3952)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-29 07:46:25 +02:00
pokrakam
85fe733171
Object type PDTS - Workflow Task (#3711)
* Adapt trial code from christianguenter2

* Add changed_by

* Adapt trial code from christianguenter2

* Add changed_by

* Add unit test mock class

* Update unit tests

* Unit tests %26 lint fixes

* De-Linting

* More lint fixes

* More lint experimenting

* More de-linting

* Update unit tests

* Turnaround test (WIP)

* More XML turnaround testing

* Turnaround test now working

* Clean up code

* Enable experimental mode

If we want to merge into master, it will only run for daredevil experimentalists

* Update src/objects/zcl_abapgit_object_pdts.clas.testclasses.abap

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

* Update src/objects/zcl_abapgit_object_pdts.clas.abap

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

* 702 compatibility

* More 702 compatibility

* Removed container texts and system elements

Temporary(?) measure as they are being too troublesome, changing XML on successive serializations and suchlike.

* Caught exception

* General refactoring

* Remove NOTEXT pragmas and directives

* De-linting

* Remove diff in transport class

* Refactoring WIP

* Refactoring - WIP

* Refactor serialization

* De-lint

* Update container serialization

* Refactor deserialization WIP

* Object type PDTS - Workflow Task (experimental)

* Object PDTS Alpha version

* De-lint

* Correct CI dependency issues

* Check for critical unit test setting

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-29 07:41:35 +02:00
Marc Bernard
404a08fdb2
New object type WDCA - Web Dynpro Application Configuration (#3941)
* WDCA

* WDCA

* Dependencies

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-29 07:35:32 +02:00
Marc Bernard
5bde9bd549
Fix syntax errors in 702 (#3955)
* Fix syntax errors in 702

* Fix syntax errors in 702
2020-09-28 19:58:31 +02:00
Alexander Tsybulsky
e95b6f7806
html event abstraction, phase 3 - query (#3903)
* event->query

* page db refactoring

* linter fix

* linter fix

* address repo via key= param

* linter

* mv_getdata WIP

* mv_getdata - finish

* cleanup action utils

* linter fix

* another linter fix

* docs for event->query
2020-09-28 16:41:59 +02:00
Marc Bernard
1f3abfd8ec
New object type AVAR - Activation Variant (#3944)
* AVAR

* AVAR

* Delete zcl_abapgit_object_avar.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-27 11:15:29 +02:00
Marc Bernard
b940572f2a
Fix deserialize of TABL with foreign keys (#3945)
Activation of foreign keys now uses with same logic as #3545:
- remove keys during DDIC phase
- add keys during LATE phase

Closes #3867

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-27 11:12:15 +02:00
Marc Bernard
dc9773bee9
Fix handling of T100 exceptions (#3943)
* Fix errors raised during deletion

* Fix error handler

* Harmonize top and bottom message banners

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-27 10:56:08 +02:00
Lars Hvam
1c1b04fbe9
update lint config, minor refactors (#3948) 2020-09-27 09:24:31 +02:00
Fabian Lupa
0edcd79335
Fix link in docs (#3950) 2020-09-26 08:27:42 +02:00
Marc Bernard
a4c25cf545
Major update of API documentation (#3938)
* Major update of API documentation

Filled in many details and closed todos. 
Closes https://github.com/abapGit/abapGit/issues/3926

* Correction

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

* Corrections

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-25 07:49:51 +02:00