Commit Graph

3524 Commits

Author SHA1 Message Date
larshp
4169d1045a generic serializer: order by primary key #2682 2019-05-29 23:53:50 -07:00
larshp
939d30ed3b odatav4 first draft, #2704 2019-05-29 23:53:19 -07:00
Martin Fuchs
42a3e7dfbb
fix_log_get_status (#2715)
Fix error in status calculation for ZCL_ABAPGIT_LOG for whole log and message table.
This PR belongs to #2694.
2019-05-29 09:10:06 +02:00
TimoJohn
7c104aa443 Update other-where-used.md 2019-05-27 07:43:58 -07:00
Lars Hvam
0f7fb3658a
Align code, compare operators #2670 (#2702)
* Update abaplint.json

* UDMO change compare operator
2019-05-26 03:38:54 -07:00
Lars Hvam
35393675e1
docs: supported, add odata v4, #2704 2019-05-26 12:37:14 +02:00
arcanist
9f11c3d563 enabling the overwrite for WEBI
BEFORE:
In case the webi already existed in the receiving system a dump occured that prevent the import from happening
AFTER
The old webi object will be overwritten with the new changes.
2019-05-26 03:26:24 -07:00
Martin Fuchs
2e781b316a ZIF_ABAPGIT_LOG: extend and move UI methods to new class (#2694)
* log: move show functions to new class

Enhance ZIF_ABAPGIT_LOG
- add IS_ITEM structure (object) to message adding functions
- add method "add_exception"
- add method "add_info"
- relocate methods "show", "to_html" and "write" to new class ZCL_ABAPGIT_LOG_VIEWER
Introduction of new log viewer class ZCL_ABAPGIT_LOG_VIEWER
Replacement of relocated methods where used
-> This is the next step providing a log for serialzation/de-serialization (see #2534)

* fix abaplint issues

fix abaplint issues

* fix abaplint issues (2)

fix abaplint issues
2019-05-26 03:16:03 -07:00
Domi Bigl
b6b3551238 downport assert_true()/false() #2698
702 don't know cl_abap_unit_assert%3D>assert_true() and assert_false()
2019-05-25 22:44:28 -07:00
Srinivasu Reddy
2f43ee4591 Changes to compare operators to align code 2019-05-24 06:50:15 -07:00
Christian Guenter
d10d922c06 Patch refactoring: remove duplication + meth order 2019-05-24 03:03:36 -07:00
Christian Guenter
cc501d1f9f Branch Overview: Fix author regex 2019-05-21 07:20:18 -07:00
Christian Günter
9429a3e13b Patch: make cell around checkbox clickable (#2687)
* Patch: make cell around checkbox clickable

* Fixed minor cursor issue
2019-05-21 07:19:27 -07:00
Damir Majer
1a87f22a16 Update other-where-used.md
Added majcon as company and consultancy which uses abapgit
2019-05-21 07:19:02 -07:00
Christian Günter
53dd60c07b Patch: replace links with checkboxes #2673 (#2684)
* Patch: replace links with checkboxes

With this commit we replace the links on the patch page
with checkboxes.
This has several advantages:
- better performance
- simplified and less cluttered UI
- less and easier to understand code

* refactor

* refactoring: introduce new method add_checkbox

* fix linter

* enable link hint navigation

* Refactoring: remove duplication

* refactor: remove duplication

* fix: link hint activate section/lines
2019-05-20 08:44:49 -07:00
Christian Guenter
c61b3f9138 some UI cleanup 2019-05-20 08:43:52 -07:00
Christian Guenter
0d54997b44 Fix jump for VIEW and TOBJ 2019-05-16 23:20:23 -07:00
Lars Hvam
9fade89856
change constructors to public (#2677)
* enable abaplint constructor check

* change constructor to public

* change constructor to public

* change constructors to public
2019-05-16 23:20:10 -07:00
Frederik Hudák
5cfb166d87 Change how table maintenance includes are excluded from serialization
Non-generated includes can also have author 'SAP'. Fixes #2674.
2019-05-16 23:19:54 -07:00
Srinivasu Reddy
d1c5e332d4 Added client check to add the ability to run abapGit in production/QA environments (#2668)
* Added client check 

Check if repository objects are modifiable in client. If not make write_protected setting active for all repos and make this setting disabled in repo setting page.

* fix abaplint errors

fix for abaplint errors

* code changes as suggested in review

1) Remove zcl_abapgit_client_check class
2) Add is_repo_object_changes_allowed method to zcl_abapgit_environment class

* Delete zcl_abapgit_client_check class

Delete zcl_abapgit_client_check class
2019-05-15 11:32:56 -07:00
larshp
76c91e0cc5 update to latest abaplint config 2019-05-14 15:43:47 +02:00
Hector Martinez
a41382352c Activation on ABAP 7.02 ( #2665) (#2666)
* fixed error when activating on ABAP 7.02

* implemented suggestion, direct assignment instead of casting

* implemented suggestion (now using the interface)

* changed lr_popups to li_popups
2019-05-13 23:49:11 -07:00
Lars Hvam
b5c45eebe5
docs: add link to Microsoft presentation 2019-05-10 07:29:54 +02:00
Frederik Hudák
02a1a27178 Fix diff filter
@sbcgua  Fixes #2613
2019-05-07 08:02:00 -07:00
Lars Hvam
3217ef2348
docs: add link 2019-05-06 20:05:47 +02:00
Martin Fuchs
9f2db446b1 simplified GET_DESERIALIZE_STEPS
Since all object handler contains exactly the same CASE statement for STEP definition, I would recommend that each object handler simply returns the STEP he belongs to.
This fix should "simply" issue #2499.
2019-05-05 00:57:52 -07:00
larshp
38a127caee parallel serialization: show errors #2657 2019-04-30 23:06:27 -07:00
Lars Hvam
5bfbe8d97d
docs: add link in supported 2019-04-30 07:36:26 +02:00
Lars Hvam
e36b907d03
v1.87.0 (#2659)
* 1.87.0

* v1.87.0
2019-04-28 01:44:41 -07:00
Thomas B
76b48e63a7 RS_CUA_INTERNAL_WRITE another fix (#2656)
* Update zcl_abapgit_objects_program.clas.abap

Found a situation on my project where on pulling code from a zip file, the error RS_CUA_INTERNAL_WRITE sy-subrc = 2 popped.
The error was due to the content of XML file exported : <CUA><ADM>ACTCODE was containing an 'X' value for a single file. I corrected the file putting it blank and it worked. But it's a fastidious task so I fixed the method ZCL_ABAPGIT_OBJECTS_PROGRAM->auto_correct_cua_adm in order to fix this field also when it contains only an 'X'. Tested ok on my system so I propose this small change.

* Update zcl_abapgit_objects_program.clas.abap

* Update zcl_abapgit_objects_program.clas.abap

Use the same check SAP does in form check_adm of include LSMPIF03 for the CUA values.
2019-04-28 01:09:49 -07:00
Alexander Tsybulsky
2fdff035be unify convert utils, part1 2019-04-24 07:59:06 -07:00
larshp
4a4f556e21 Generic: only unique tables 2019-04-24 07:58:07 -07:00
larshp
73b5ddc276 downport 2019-04-23 03:48:34 -07:00
Christian Guenter
7050093986 Downport xstring_to_string conversion 2019-04-23 00:35:58 -07:00
Christian Guenter
4799230514 XINX delete: remove UI call 2019-04-22 22:46:51 -07:00
Srinivasu Reddy
94604a7db5 syntax page "no errors" more neat
Display no errors message in syntax check with green check and no syntax errors message
2019-04-22 22:45:59 -07:00
larshp
3084bb2c60 SSFO fixes for leading spaces #2640 2019-04-22 22:45:33 -07:00
Lars Hvam
2b7bb5da38
docs: fix links 2019-04-22 13:26:30 +02:00
Christian Guenter
b7a80b0aa7 Downport string template in FM call 2019-04-22 01:45:19 -07:00
sandraros
5a6e6ee2f6 Leading spaces are lost when pulling bug #2571 (#2597)
* Leading spaces are lost when pulling bug #2571

Reason: during the pull (deserialization), the method `PARSE` of `ZCL_ABAPGIT_XML` does a `li_parser->set_normalizing( iv_normalize )` whose parameter has the default value "true", which strips leading and trailing spaces.

Solution: use `li_parser->add_strip_space_element( )` instead of using the normalization, which seems to work in elementary objects (clas, devc, doma, dtel, enho, enqu, fugr, intf, prog, scp1, tabl, tran, ttyp), but I fear of side effects throughout all abapGit features.

* #2571 zcl_abapgit_xml iv_normalize removed+AU

- Removal of useless parameter IV_NORMALIZE of method PARSE
- Abap Unit test added for testing the method PARSE for an XML valuecontaining leading and trailing spaces

* renaming attribute lo_xml to mo_xml
2019-04-19 02:49:15 -07:00
Lars Hvam
c9609b2ac6 docs: logos 2019-04-19 00:54:24 -07:00
Christian Günter
02647d77c6 Hotkeys no longer depend on abapGit installation #2629 (#2633)
* Hotkeys no longer depend on abapGit installation

When this commit is applied hotkeys also work with
the single abapGit report. Limitation is still that users
only can override hotkeys with the installed abapGit repo.

* Fix hotkey display when no user def. hotkeys

* New: Override hotkeys within one file abapGit report

When this commit is applied it's possible to override the default
shortcut also in the one file abapGit report. It's no longer necessary
to installe the full abapGit repo to use this feature

* Extract is_merged + check in hotkey logic
2019-04-19 00:21:36 -07:00
Christian Guenter
e246ae7ac1 Code Inspector: Downport 2019-04-19 00:21:10 -07:00
Martin Fuchs
1d58d5a0ed Allow access to private repos when using ADT (#2635)
* Allow access to private repos when using ADT

In case of using a private repository in ADT (aka ABAP in Eclipse), username and password are passed to the backend system. The ADT backend coding currently handles this via class ZCL_ABAPGIT_DEFAULT_AUTH_INFO. To avoid sending a password dialog in the backend system, class CL_ABAPGIT_PASSWORD_DIALOG needs to be adjusted to take over user/pw from ZCL_ABAPGIT_DEFAULT_AUTH_INFO in a generic way. I know this is not nice and it would be better to have ZCL_ABAPGIT_DEFAULT_AUTH_INFO in ZABAPGIT. Even the best solution would be to re-use ZCL_ABAPGIT_LOGIN_MANAGER instead, but I would recommend to refactor this in a new pull request later on...

* Add comment

Add comment for temporary solution and link to PR#2635
2019-04-19 00:20:54 -07:00
Lars Hvam
61a34f978d
docs: fix 2019-04-17 15:04:46 +02:00
Martin Fuchs
6e860f53da Avoid DYNPRO_SEND_IN_BACKGROUND while ADT Pull (#2634)
* Avoid DYNPRO_SEND_IN_BACKGROUND while ADT Pull

When ADT (aka ABAP in Eclipse) is used to trigger a pull request, there is no SAPGUI available in the backend system. Whenever a dynpro is called, a DYNPRO_SEND_IN_BACKGROUND short dump occurs.
This commit fixes issue #2632.
Additional remark: In case of a private repository, username and password are passed to the backend system. The ADT backend coding handles this via class ZCL_ABAPGIT_DEFAULT_AUTH_INFO. To avoid sending a password dialog in the backend system (class CL_ABAPGIT_PASSWORD_DIALOG), ZABAPGIT coding needs to be adjusted to take over user/pw from ZCL_ABAPGIT_DEFAULT_AUTH_INFO. I know this is not nice and it would be better to have ZCL_ABAPGIT_DEFAULT_AUTH_INFO in ZABAPGIT. Even the best solution would be to re-use ZCL_ABAPGIT_LOGIN_MANAGER, but I would recommend to refactor this in a new pull request later on...

* Fix abaplint identiation failure 

Fix abaplint identiation failure

* Rest ZCL_ABAPGIT_PASSWORD_DIALOG

Rest ZCL_ABAPGIT_PASSWORD_DIALOG to prelimiary version. 
To be changed in a different pull request....
2019-04-16 22:21:46 -07:00
Fabian Lupa
d6dfa424ae Add exit for CLAS CLIF source serialization (#2630)
* Add user exit for serialize_abap_clif_source

* Document CLIF serializer exit

* Add exit redirection for CLIF serializer

* Add link to example for CLIF serialization exit
2019-04-16 05:14:15 -07:00
Srinivasu Reddy
36737331f0 docs: Added CHS Inc (#2631)
Added CHS Inc to Customer list
2019-04-15 07:18:08 -07:00
larshp
2dd157570d fix syntax error 2019-04-14 07:30:22 +00:00
Martin Fuchs
6560cbe539 report name of xml file in case of format error (#2626)
* report name of xml file in case of format error

In case of an error in the XML file, for support reason I want to know which file causes the error. The file name is mentioned if the XML itself is corrupt or if there is an XML version mismatch.
This PR fixes issue #2619.

* fix abaplint issues

fix abaplint issues
2019-04-14 00:14:22 -07:00