Commit Graph

2832 Commits

Author SHA1 Message Date
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
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
Alexander Tsybulsky
272925fff7 Floating save buttons (#2608)
* floating save buttons

* hover hand cursor
2019-04-09 11:44:52 -07:00
Alexander Tsybulsky
f39aab3244 fix display name in attache/change remote 2019-04-08 07:21:09 -07:00
Martin Fuchs
4029cab9f6 Ignore XTI includes in FUGR
Do not serialize XTI includes (simple transformations) for function groups. In case they exist in the remote repositiory, do not import them.
2019-04-05 03:48:06 -07:00
Christian Günter
860896abd2 SFPI deserialization: delete if exists 2019-04-05 03:47:26 -07:00
Alexander Tsybulsky
3c80012b37 HDPI icon scaling (#2609)
* setting for icon scaling

* enforce icon scaling

* linter fixes
2019-04-05 03:47:09 -07:00
Lars Hvam
604c68200e
1.86.2 (#2606)
* 1.86.2

* Update changelog.txt
2019-03-31 01:31:26 -07:00
Lars Hvam
7bbaf069e2
File format update collection (#2605)
* File format update - changed object handler

I removed the following fields:

CLAS
VSEOCLASS-VERSION

INTF
VSEOINTERF-VERSION

PROG
PROGDIR-STATE

DCLS
AS4LOCAL
ABAP_LANGUAGE_VERSION (if exists)

DDLS
ABAP_LANGUAGE_VERSION (if exists)

DDLX
VERSION
RESPONSIBLE
MASTER_SYSTEM

MSAG
DOKIL-DOKSTATE

ENQU
DD25V-AS4LOCAL
DD25V-AS4VERS

* fix syntax error

* also clear PROG VARCL

* update XML files
2019-03-31 01:17:46 -07:00
sandra rossi
6839f81c93 DIFF shown after pull ENHO of implicit enh. #2579
Issue #2579: diff still shown after pull of ENHO hooks (implicit enhancements i.e. code added at start/end of existing methods, etc.)

Reason: if the author has created and deleted implicit enhancements in the original system, the numbering doesn't start from 1 (this is the numbering we can see for the statement ENHANCEMENT, for instance ENHANCEMENT 1. ... ENDENHANCEMENT.) When pulling in another system, the numbering will start from 1, so it will differ from the source. As this enhancement number is serialized by abapGit in the XML, it will detect a difference.

Correction: the method SERIALIZE of class ZCL_ABAPGIT_OBJECT_ENHO_HOOK is changed so that to not serialize the enhancement number.
2019-03-30 03:23:26 -07:00
sandra rossi
0a84d7c830 #2580 enhancement events+ (NEW)enhancement methods
Three issues are corrected:
- Enhancement events are not serialized at all, nor deserialized (missing feature).
- The codeof new enhancement methods (not the implicit enhancements of existing methods, the code for methods added) are serialized but not deserialized (incomplete feature).
- DIFF may also appear after pulling ENHO objects, concerning attributes (OTR text ID being different) and method parameters (author, date, etc.)

Corrections: 
- Add serialization/deserialization of events in class ZCL_ABAPGIT_OBJECT_ENHO_CLIF
- Add deserialization of method implementations in class ZCL_ABAPGIT_OBJECT_ENHO_CLASS
- I havealso moved the existing method SERIALIZE_INCLUDES from ZCL_ABAPGIT_OBJECT_ENHO_CLIF to ZCL_ABAPGIT_OBJECT_ENHO_CLASS and created DESERIALIZE_INCLUDES in the latter class because method implementations exist only for classes, not for interfaces, so it should be done in "CLASS", not in "CLIF".
- DIFF criteria cleared in method SERIALIZE of class ZCL_ABAPGIT_OBJECT_ENHO_CLIF
2019-03-30 03:22:56 -07:00
sandra rossi
8f681e88dd 2 unit tests in ZCL_ABAPGIT_GUI_PAGE_DIFF failing
#2498 Two unit tests in ZCL_ABAPGIT_GUI_PAGE_DIFF failing

It concerns two test methods which test zcl_abapgit_gui_page_diff%3D>get_patch_data. The parameter IV_PATCH is passed with an incorrect value.

This issue is due to commit 389512f690 on Feb 26, 2019

Correction of method get_patch_data_add: 
- Before: |add_patch_zcl_test_git_add_p.clas.abap_19| 
- After: |patch_line_add_zcl_test_git_add_p.clas.abap_0_19| 

Correction of method get_patch_data_remove:
- Before: |remove_patch_ztest_patch.prog.abap_39| 
- After: |patch_line_remove_ztest_patch.prog.abap_0_39|
2019-03-30 03:20:31 -07:00
sandraros
8e2e2f13fc shortdump ZCL_ABAPGIT_ZLIB->Decompress #2483 (#2600)
* shortdump ZCL_ABAPGIT_ZLIB->Decompress #2483

Short dump ASSERTION_FAILED while pulling from a Git repository.

It's because of block type '00' (variable `lv_btype`) not handled at all.

00 is "non-compressed blocks", see https://www.ietf.org/rfc/rfc1951.txt section 3.2.4

The issue used to happen with Azure DevOps website, for "tree" objects (100644...) but not all tree objects.

Correction : algorithm added to handle non-compressed blocks. Test method added to complete the current test for blocks with fixed Huffman codes (01). Also one test method added for testing blocks with dynamic Huffman codes (10), test data taken from ZAZLIB.

* Lint code alignment issue
2019-03-30 03:19:55 -07:00
larshp
882e104f48 add azure-pipelines.yml to default ignore 2019-03-30 03:18:34 -07:00
Machado
ca1011d107 Solve issue - Error determining the main package #2547 2019-03-30 03:16:25 -07:00
sandra rossi
f603147bd1 #2577 shortdump ENHO object with new type
Short dump GETWA_NOT_ASSIGNED because of stupid copy/paste error in method SERIALIZE of ZCL_ABAPGIT_OBJECT_ENHO_CLIF:

    LOOP AT lt_tab_types ASSIGNING <ls_type>.
      CLEAR: <ls_attr>-author,
             <ls_attr>-createdon,
             <ls_attr>-changedby,
             <ls_attr>-changedon.
    ENDLOOP.

Replace all <ls_attr> with <ls_type>.

+ clearing of <ls_type>-descript_id (OTR text ID) so that the DIFF ignores this field (new OTR texts, with new IDs, are always created while pulling so the ID must not be compared).
2019-03-29 03:32:51 -07:00
Lars Hvam
cbbcd2f5e3
v1.86.1 (#2596)
* 1.86.1

* v1.86.1
2019-03-28 23:49:02 -07:00
Jakub Filak
01b855467a clas: use exception instead of assert for not found file
For easier debugging.
2019-03-28 23:11:41 -07:00
Sdfraga
de8618af32 Fixing Page Branch Overview Hierarchy (#2594)
* Divide determine_branch for simplicity

* Separate Branches and Commits

* Sort branches by Commit Time

* Fixing abaplint errors
2019-03-28 23:10:23 -07:00
Alexander Tsybulsky
f8347636a0 GUI remove zif_abapgit_gui_page (#2582)
* remove usage of zif_abapgit_gui_page

* reorderings

* delete zif_abapgit_gui_page
2019-03-28 23:08:04 -07:00
Alexander Tsybulsky
d22f5af1ab rewrite gui error handler 2019-03-28 22:57:39 -07:00
ThomasPloski
e47eddd353 Renaming method name in environment class (#2589)
* Renaming method name in environment class

* Rework after abaplint check
2019-03-28 22:56:09 -07:00
Jakub Filak
00a378a42b A pair of SFPF and PROG error messages with more details (#2588)
* sfpf: make deserialization errors more verbose

Just to make debugging a little be easier.

* prog: make updating errors more verbose

For simpler debugging.
2019-03-28 22:55:55 -07:00
Kjetil Kilhavn
c7f21c2a5b Unknown action url -- fix for issue #2566 (#2567)
* Handle calls to repository URL on all pages

Call super class' for unhandled events in all classes displaying repository (identified from where-used list for zcl_abapgit_gui_chunk_lib%3D>render_repo_top).

I suppose it should be safe to add the 'super' call everywhere, but for now this will solve the bug.

* Revert "Merge branch 'unknown-action-url' into 'master'"

This reverts merge request !1

* Handle calls to repository URL on all pages

Call super class' for unhandled events in all classes displaying repository to handle URL click.
Relevant classes were identified by the where-used list for method render_repo_top in class zcl_abapgit_gui_chunk_lib.

I suppose it should be safe to add the 'super' call everywhere, but for now this will solve the bug.
2019-03-27 00:03:29 -07:00
Alexander Tsybulsky
ecc1c85ee7 GUI subclass zcx_abapgit_cancel from zcx_abapgit_exception (#2576)
* subclass zcx_abapgit_cancel from zcx_abapgit_excep

* upper case
2019-03-26 23:51:38 -07:00
sandra rossi
578ac4ce17 NEW: enho clif handle "types" 2019-03-25 01:40:18 -07:00
Jakub Filak
21e252b5a4 sfpf: save layout in solo XDP file (#2555)
* objects: add a method checking presence of a file

The method is called 'contains' because then you can write:

  if mo_files->contains( iv_ext = 'abap' ) = abap_true.

In newer system, you can even leave out the suffix '= abap_true'.

I am not sure how to make the logic deciding how to the select
shared with the method read_file.

For future developers: if you change the type of raised exception of the
method read_file when the passed file is not found, you can stop using
the method contains and you can save some time in the cases where it is
highly unexpected that the file is missing. You could also remove the
method contains which will have the benefit of having one place with the
select statement.

* sfpf: save layout in solo XDP file

Manually tested pushing and pulling but it still might cause some
problems.

This commit adds a new file with the suffix XDP for every XFPF object.
The new file contains the form layout which can be edited in Adobe
LiveCycle Designer. During debugging I learned that we put layouts in
all supported languages to the serialized SFPF XML file but the new
layout file contains only the layout of the Form's language.

I am not sure if removing the layout data make sense because thelayout
object contains layout data for all supported languages and the call
set_layout_data changes only the form's language.

--- v2

Removed the statement:

  li_fp_form->get_layout( )->set_layout_data( i_layout_data = conv #('') ).

Because it did not save any space in the SFPF XML file (because there
are layouts for other languages) and the statement instantly removes
the layout from caches and breaks forms.

--- v3

Added a check for the presence of the XDP file to make this change
backward compatible with already existing repositories where the XDP
file does not exist. Pointed out by Lars in the review.

In this version, I also "beautified" the code by a constant for the
layout file extension.

--- v4

Re-added the statement:

  li_fp_form->get_layout( )->set_layout_data( i_layout_data = conv #('')
                                              i_set_xliff_ids = abap_false ).

and added the re-cover layout data statement:

  li_fp_form->get_layout( )->set_layout_data( i_layout_data = lv_layout_bck
                                              i_set_xliff_ids = abap_false ).

The parameter i_set_xliff_ids is required by the layout type 'XFA'. It
is not possible to set layout data to an empty string without that
parameter, if you do, an exception is thrown.

The layout type 'XFA2' uses the parameter by default.
---

Closes #2554
2019-03-25 01:40:01 -07:00
Jakub Filak
77cea9c92a New repo with Folder Logic and Ignore Sub-packages params (#2561)
* repo: do not validate sub-packages when ignored

In our landscape, we often need to version a package which has
sub-packages and those sub-packages have own repositories - the super
package provides framework and the sub-packages provides production
functionality.

When adding a new repository for these "framework" super-packages,
we need want to configure "Ignore sub-packages" because they are
already versioned in standalone repositories.

We also need to turn of the sub-package repo package check which is done
by this patch.

Dependency of #2395

* repo: allow creating with folder logic and ignore package

I need to enable users to add a new online repo with ignored
sub-packages and PREFIX folder logic because we often deal with
framework + implementations packages hierarchies.

Dependency of #2395

* repo: add folder logic and ign. sub.pkg to the new repo popup

This patch adds the parameters Folder logic and Ignore subpackages to
the new online repo popup to help us deal with old package which do not
follow the prefix approach for subpackages and to allow us to version
superpackages (which are shared by many developers) in separate
repositories.

I am not sure how to add a check-box to the popup window. I think I need
to find the right table with the righ column of the type char(1).

Closes #2395
2019-03-22 05:50:46 -07:00
Alexander Tsybulsky
80f86bd005 free, go_page, ext error handler 2019-03-22 05:49:33 -07:00
Frederik Hudák
79905ccd82 Escape slashes in branch overview commit messages 2019-03-20 11:46:45 -07:00
Christian Günter
9e2f7e7caf TABL: Simplify control flow (#2552)
* TABL: Simplify control flow

When this commit is applied the control flow in object serializer TABL
is eased. The idoc check returns now a boolean instead of raising an exception. Main purpose is to ease debugging due to reducing the use of 
zcx_abapgit_exception%3D>raise.

* TABL: fill rv_deleted on early exit
2019-03-19 10:05:15 -07:00
Christian Guenter
a3c69433fb Fix: repo sett. display_name ony for online repos 2019-03-18 08:11:15 -07:00
Alexander Tsybulsky
1248319d82 UI move to core package (#2543)
* move to core package

* zcx_cancel to ui_core
2019-03-18 07:58:48 -07:00
Alexander Tsybulsky
1ad16a03fe SCI page deisgn (#2542)
* codeinsp design, phase 1

* fix alpha_output

* final design
2019-03-18 07:58:34 -07:00
Alexander Tsybulsky
85085b6434 improve list css 2019-03-17 01:42:55 -07:00
Alexander Tsybulsky
2ab4ae9f26 Refactor GUI interfaces (#2540)
* refactor gui interfaces

* delete zif_abapgit_gui_router

* move zif_abapgit_gui_page_hotkey to ui

* linter fixes
2019-03-17 01:42:41 -07:00
larshp
ff6725e759 replace uses of log with interface 2019-03-17 01:39:52 -07:00
Jakub Filak
903b794aa2 ux: help users to get that package is versioned
I was approached by a colleague of mine who was not sure how to deal
with the message:

- 'Package $FOO_BAR already in use'

I thought it was caused by the fact that some super or sub-package was
already watched by abapgit but whenI found the message in source codes I
figured out that there is already a repo for that package.

This patch should make the message easier to understand, so the new
version is:

- 'Package $FOO_BAR already versioned as FOO by DEVELOPER'
2019-03-16 03:52:17 -07:00
Alexander Tsybulsky
17dc2501eb GUI, asset manager refactoring (#2536)
* refactor asset manager

* assets man tests

* linter fixes

* linter fix
2019-03-16 03:44:55 -07:00
Martin Fuchs
a1c626ddce Introduce ZIF_ABAPGIT_LOG (#2534)
* ZIF_ABAPGIT_LOG

Introducing the log interface ZIF_ABAPGIT_LOG

* Add ZIF_ABAPGIT_LOG to ZCL_ABAPGIT_LOG

Add ZIF_ABAPGIT_LOG to ZCL_ABAPGIT_LOG
2019-03-16 03:33:58 -07:00
Lars Hvam
5b6cc04159
use RETURNING instead of EXPORTING (#2533)
* READ_FILE use returning instead of exporting

* PARSE_LINE, use returning instead of exporting
2019-03-16 03:33:17 -07:00
Lars Hvam
f9318305e9
Minor fixes (#2532)
* minor fixes regarding unused variables

* minor code inspector fixes
2019-03-15 05:54:39 -07:00
Lars Hvam
a3b3399a8e
v1.86.0 (#2531) 2019-03-15 04:46:42 -07:00
Alexander Tsybulsky
9b38d79cce GUI CORE, move constants (#2526)
* zcl_abapgit_gui constants

* renames in all classes

* zif_abapgit_html

* zif_abapgit_html related renames

* remove gui->free for now
2019-03-15 02:22:08 -07:00
larshp
dcaf585d47 move file_download to ui package
move file_download to ui package, part of #2510

the zip class should ideally work without frontend interaction, and just provide/parse the raw xstrings, this way it can be reused across different frontend technologies
2019-03-15 01:52:42 -07:00
larshp
6dc56433ab allow injection of progress indicator 2019-03-15 01:14:45 -07:00
larshp
4e780068c7 DTEL, skip TPARA
DTEL, skip TPARA #2520
2019-03-15 01:13:15 -07:00
Sdfraga
7c8b2228fb Branch Overview Page gitGraph Horizontal Top scrollbar (#2492)
* Adding HTML new elements to BOverview Page

* Adding gitGraph CSS propertires

* Adding gitGraph scroller function

* Set gitGraph Scroller css width dynamically

* Initialize Top Horizontal Scroller on GitGraph

* Adding setGitGraphScroller() to BOverview HTML

* Fixed HTML wrong TAG

* Adding some comments

* Fixing abaplint messages

* Refactoring Indentation for Travis

* Refactoring for Travis

* Removing trailing spaces for Travis
2019-03-14 02:52:40 -07:00
larshp
c93998abe0 Add auth check exit for repo creation 2019-03-14 10:45:38 +01:00
Martin Fuchs
31fc55af56 fix filter_files_to_deserialize
in method zcl_abap_objects->filter_files_to_deserialize the object condense is done too early, need to be done at the end
2019-03-14 10:14:49 +01:00
Lars Hvam
48f6cb1bb1
move ZCL_ABAPGIT_FRONTEND_SERVICES to UI (#2516)
* move ZCL_ABAPGIT_FRONTEND_SERVICES to UI

move ZCL_ABAPGIT_FRONTEND_SERVICES to UI package

* move factory and interface

* fix errors found by linter
2019-03-14 01:34:19 -07:00
Lars Hvam
88822bb735
add method to determine if running in cloud (#2515)
* add method to determine if running in cloud

add new class and method to determine if abapGit is running on ABAP cloud/Steampunk systems, part of an effort to align codelines #2511

* fix naming

* add simple unit test
2019-03-14 01:33:39 -07:00
larshp
a0a8131db4 fix syntax warning for missing method impl 2019-03-14 00:21:27 -07:00
Lars Hvam
13213e2f2f
decode object name #2504 (#2507)
* decode object name #2504

* fix

* fix
2019-03-14 00:21:02 -07:00
larshp
d8da05b8bc tutorial, show correct abapgit package
tutorial, show correct abapgit package

#2461
2019-03-12 21:49:36 -07:00
GoWa
21527528c6 call redefined method of IF 2019-03-12 21:49:15 -07:00
larshp
25f6284493 implement GET_DESERIALIZE_STEPS
this is a quick fix, field LATE_DESER will be removed in future
2019-03-12 07:37:56 -07:00
GoWale
6b7b2ba5c5 Implement deserialize steps and swap DDIC/ABAP order (#2449)
* Implement deserialize steps swap DDIC/ÁBAP order

* fix for wapa and abaplint

* bugfix in falback logic and type definition

* fixed constant usage

* fixed abaplint and constant usage

* focus only on design change of deserialze

* focus only on design change of deserialze

* Bugfix for CI because of changes of the order

* cleanup

* cleanup

* minor changes

* move types to IF
2019-03-12 02:08:00 -07:00
Sebastian Wolf
a5de7a8769 Add serialization for APACK manifests (#2485)
* Add serialization for APACK manifests

* Add documentation for APACK serialization

* APACK docs: Add more information about dependency format

* APACK: Some words about transporting ZIF_APACK_MANIFEST

* APACK: Move definitions in own interface

* APACK: Don't build the manifest file twice...
2019-03-11 23:34:32 -07:00
Christian Guenter
c7093e753e Remove "disable octicons" user settings 2019-03-06 22:37:05 -08:00
Alexander Tsybulsky
c03bb681b3 Offline icons (#2454)
* font

* css fix and icon rendering

* assets and font link in html head

* more icons

* more css fixes

* replace icon names

* dev docs

* Fonts update

* icons rename

* doc update

* linter fixes

* fix for abapmerge
2019-03-06 00:49:04 -08:00
Lars Hvam
fc167ff3cd
update abaplint config to latest (#2480)
* update abaplint config to latest

* remove some descriptions

* remove more descriptions

* fixes

* fixes
2019-03-04 07:12:42 -08:00
larshp
9b9417b094 remove empty lines in statements #2474 2019-03-03 02:43:03 -08:00
Gregor Wolf
24486c7d56 Add subrc before the value 2019-03-03 00:23:29 -08:00
Christian Guenter
963ff52dab Link hints: disable when no tooltips are visible
- Disable link hints mode when no tooltips are visible, e.g. when we pressed a non-existing combination.
- Smaller refactorings
2019-03-01 00:06:53 -08:00
Gregor Wolf
b04226e8f1 Add missing sy-subrc to exception 2019-03-01 00:06:41 -08:00
larshp
14beb8cfac refactor nested IF to single IF 2019-03-01 00:06:29 -08:00
larshp
7da7327f36 SPRX downport 2019-02-27 21:56:30 -08:00
Gregor Wolf
06097f9614 Add missing Subrc %3D { sy-subrc } 2019-02-27 21:52:30 -08:00
larshp
afa63c8f3b IWPR basic version #75
IWPR basic version #75

can later be extended with implementations of IS_LOCKED, JUMP, and CHANGED_BY

this uses the generic serializer via OBJH, like abapGit-Plugins
2019-02-27 05:34:39 -08:00
Christian Guenter
8cc6567d40 rename zcl_abapgit_tag to zcl_abapgit_git_tag 2019-02-26 21:29:41 -08:00
Gregor Wolf
c22cacb197 Add sy-subrc to exception 2019-02-26 21:29:01 -08:00
Lars Hvam
af3b59b3f0
v1.85.0 (#2458) 2019-02-25 21:55:05 -08:00
Christian Günter
389512f690 Patch / git add -p: Add and remove sections
After this commit is applied it is possible to add and remove
sections of code on the stage/patch page.
2019-02-25 21:29:24 -08:00
larshp
9225e0ea0d More error information, RS_CORR_INSERT 2019-02-25 21:28:23 -08:00
Christian Guenter
f73e18d587 Online repo "display name" to overrule default name 2019-02-25 07:20:01 -08:00
larshp
2011be5696 SICF fixes
save data to field ICFALTNME

clear ICFALTNME_ORIG as the api sets it automagically
2019-02-24 22:46:23 -08:00
Lars Hvam
34e8e0bb69
Uninstall, fix some error messages (#2451)
* SUSO, fix error message

* DDLS error message

instead of "Object could not be deleted"
2019-02-24 22:46:02 -08:00
larshp
ea40225d1c ZCL_ABAPGIT_REPO_ONLINE add testclass include
add testclass include in order to avoid evil dumps while upgrading/reset local
2019-02-24 09:25:50 +00:00
larshp
452c72d6ce move contents of ZCL_ABAPGIT_OBJECT_TABL_VALID to
move contents of ZCL_ABAPGIT_OBJECT_TABL_VALID to ZCL_ABAPGIT_OBJECT_TABL_COMPAR

#2436
2019-02-21 23:05:12 -08:00
larshp
7ff994dd03 fix VCLS diffs in VCLSTRUDEP_TAB #2432 2019-02-21 23:04:56 -08:00
Christian Guenter
e19c54d3a1 New user setting: Disable parallel processing 2019-02-20 22:20:39 -08:00
Lars Hvam
3213d0c2dd
Deserialization performance, refactor COMPARE_TO_REMOTE_VERSION (#2438)
* core part refactored #2436

* indentation

* fix implementations

* delete ZCL_ABAPGIT_COMPARISON_NULL

* pretty print

* Update serializers.md

* downport
2019-02-20 22:20:24 -08:00
larshp
0c0cf96e9e bugfix 2019-02-21 06:15:05 +00:00
larshp
75ee96bce0 Activate parallel DDIC activation #1055
Activate parallel DDIC activation #1055

With this more activation errors will be shown, plus better performance
2019-02-20 22:01:03 -08:00
larshp
897755a0eb SOTR skip creation if already exists #2209 2019-02-20 22:00:51 -08:00
larshp
5b44d8e89b REPO, remove method RUN_CODE_INSPECTOR
the successful flag is now saved in code inspector class instead
2019-02-20 22:00:36 -08:00
Lars Hvam
3cc38cdf90
SPRX, change serialization logic (#2431)
* SPRX, change serialization logic

* some progress

* delete method dequeue_proxy

* move deserialize_proxy to INTF
2019-02-20 22:00:22 -08:00
Lars Hvam
ae5cf8ccc5
PROG + CLAS, suppress popup (#2428)
* PROG, suppress popup

* CLAS, suppress dialog
2019-02-19 21:38:28 -08:00
Christian Günter
a821944e57 Fix filename constr.: Add ext. only if not initial
With this commit we fix the filename construction so that for
objects without file extension the correct filename is constructed.
Before this commit is applied these objects create file names with
an additional dot at the end.
2019-02-19 21:38:16 -08:00
Lars Hvam
ffcd6c82ed
Refactor code inspector (#2412)
* delete method GET_INSPECTION

delete method GET_INSPECTION, not called from anywhere

* delete class ZCL_ABAPGIT_ABAP_UNIT_TESTS

* delete class ZCL_ABAPGIT_SYNTAX_CHECK

* delete class ZCL_ABAPGIT_ADHOC_CODE_INSP

* move VARIANT to importing in RUN

instead of in the constructor

* one variable containing the name

instaed of 2 with same contents

* linting
2019-02-19 21:37:40 -08:00
Christian Guenter
e91697e4e2 New global user settings 'Disable octicons'
With this commit a new user setting called 'disable octicons' is
introduced. Octicons should be disabled when the client doesn't have
internet access or the abapGit UI hangs sometimes.
By default this option isn't active.
2019-02-18 06:31:06 -08:00
larshp
73c3c787ba tadir, delete unused parameter io_folder_logic 2019-02-18 05:28:31 -08:00
Christian Günter
4cdcb53c2b ENHO: check existence before deletion
With this commit we add an existence check the delete method
of ENHO serializer because some enhancements, like implicit source code
enhancements of classes, are deleted implicitly.
2019-02-18 05:28:12 -08:00
Lars Hvam
d0a721b2cf
Move methods to private (#2416)
* ZCL_ABAPGIT_GUI_CHUNK_LIB move 2 methods private

* HTML_ACTION_UTILS move two methods private

* move calculate_skip_testclass to private

* move BUILD_ASX_NODE to private
2019-02-18 05:27:49 -08:00
larshp
d09b97749f delete type tty_lines, not used anywhere 2019-02-18 01:30:42 -08:00
Lars Hvam
9c38004422
Zip refactoring (#2413)
* move method UNZIP_FILE to private

* use LIKE LINE OF
2019-02-18 01:30:26 -08:00
Christian Günter
b588daf5f7 ECATT: remove dynamic method calls #2407 (#2411)
* ECATT: remove dynamic method calls

This commit introduces two new interfaces to remove dynamic method calls.
- ZIF_ABAPGIT_ECATT_DOWNLOAD
- ZIF_ABAPGIT_ECATT_UPLOAD

* ECATT: Rename method

Rename method z_set_stream_for_upload to set_stream_for_upload
as we now use our own interface and there's no risk that SAP 
standard introduces a method with the same name
2019-02-18 01:30:14 -08:00
larshp
c02aa72e99 move get_local_checksums method to private 2019-02-17 01:29:11 -08:00
Lars Hvam
9d4436822e
Cleanup (#2408)
* delete method CHECK_PROG_CHANGED_SINCE

not in use anymore

* delete method ADD_XML_FROM_PLUGIN

looks like it is not used anywhere, also not in plugins

* naming conventions
2019-02-17 01:28:58 -08:00
Lars Hvam
97ca88e909
1.84.0 (#2405)
* update version

* Update changelog.txt
2019-02-15 07:22:06 -08:00
Mattias Johansson
add9450d37 Ignore files not in local repo (#2404)
* Changed default text in branch popup

* Downgrade to Abap 7.02 syntax

* Reduce line length of commit (for abaplint)

* Ignore files that are not in local repo

Ignore files that are not in local repo when doing transport to branch

* Changed line indent

* More indentation fixes
2019-02-15 06:52:36 -08:00
Lars Hvam
e42fa60841
git minor changes (#2403)
* git minor changes

code inspector changes

* pretty print
2019-02-15 06:52:11 -08:00
Lars Hvam
25d4c9ea07
Remove HAS_CHANGED_SINCE #1021 (#2401)
* core part removed

* remove method implementations
2019-02-15 06:51:57 -08:00
larshp
a58652954f limit max threads to 32 2019-02-15 03:27:14 -08:00
Martin Fuchs
94c95d46cb Refactoring of CORR_INSERT and adjustment for object types (#2392)
* Refactoring of CORR_INSERT and adjustment for object types

* CORR_INSERT without CORR_CHECK

* Z exception
2019-02-15 03:26:42 -08:00
larshp
426f815bee downport #2389 2019-02-14 21:10:07 -08:00
Boris Sachsenberg
6cc5e63dfd Exclude reusable includes in FUGR deserialization
Function groups can use includes that were separately created as programs of type include. Those includes could be reusedin various other programs and function groups. They might even be created in a different package. This type of include is an object of it's own that get serialized with it's package as a separate object. Therefore it should not be included in serialization of any function group that uses it. This fix checks for which includes TADIR entries of type PROG exists and excludes them from serialization in FUGR serializer.
2019-02-14 21:09:32 -08:00
larshp
2a3cab2b78 ACID, delete after where-used objects 2019-02-14 07:18:06 -08:00
larshp
de41791d27 background mode, deletion, fix commit message
the message now lists the deleted files, and not all objects that have previously been updated
2019-02-14 07:17:46 -08:00
p-dmitrij
de4c92fb73 SFPF, SFPI: Error by import (issue #2353) (#2388)
* SFPF, SFPI: Error by import (issue #2353)

The renumbering of the attributes "id" and "href" is reworked

* Pretty printer of the full class source

* indentation
2019-02-13 04:49:35 -08:00
Lars Hvam
4e40705350
Downport (#2390)
* SHI3, remove unused variable

* SUSC, constant, plus no need to pass attributes
2019-02-12 21:46:10 -08:00
larshp
e2e703a0bd DOMA do not serialize texts without language #2311 2019-02-12 21:45:53 -08:00
larshp
01f1af8b7f PINF fix deserialization sequence 2019-02-12 21:45:39 -08:00
Lars Hvam
777fabea14
1.83.0 (#2381)
* SPRX supported

* update version

* Update changelog.txt
2019-02-11 22:31:41 -08:00
Dmitry Pisarev
de7dfea3d3 SCP1: Text tables are not imported #2348
The field "recnumber" of the internal table "cs_scp1-scprvall" is condensed now in xml
2019-02-11 22:17:58 -08:00
larshp
5018eae46c refactor public attributes #2369
refactor public attributes #2369
2019-02-09 23:28:22 -08:00
Lars Hvam
e54cac4bdc
fix for user exit SSL ID (#2373)
* fix for user exit SSL ID

* also pass url to HTTP_CLIENT exit
2019-02-09 23:28:09 -08:00
larshp
82296484d4 allow changing remote and branch for write protect
allow changing remote and branch for write protected repos. In the old days changing remote and branch triggered a pull, this is decoupled, so there should be no changes to the local code when switching remote or branch
2019-02-07 03:08:39 -08:00
Lars Hvam
3e1de36861
PINF downport (#2367)
* PINF downport

PINF downport, #2365

* update
2019-02-07 00:56:13 -08:00
larshp
f68c3c244e SPRX: refactor
SPRX: refactor, issue #2365
2019-02-07 00:55:59 -08:00
larshp
474a4b9051 include "SPRX" in SPRX error description 2019-02-05 23:11:34 -08:00
Lars Hvam
30547792dd
use built in types (#2363)
* replace use of x255

* use same type as field source

* remove use of text25

* remove use of numc4

* remove use of DATUM
2019-02-05 23:08:04 -08:00
larshp
6c3e6b85ed SFPF: Error by pulling of an existing object
SFPF: Error by pulling of an existing object #2352
2019-02-05 23:07:38 -08:00
Lars Hvam
cb4479b95b
Cleanup (#2361)
* pretty print

* move identical code outside IF

* remove space before .

* remove unreferenced variables

* remove unreferenced variables

* remove unreferenced variables

* fix pseudo comment

* remove unreferenced field symbols
2019-02-04 23:08:29 -08:00
GoWale
4dceb54758 Flag SET-/GET_PARAM bug - move fix to deserialize (#2360)
* add missing functions in plugin VCLS

* fix pretty print

* fix check usage for abaplint

* adjust detection of locks

* german type

* move fix to deserialize

* fix syntax for 7.02
2019-02-03 22:06:33 -08:00
Christian Guenter
8219acf73b SPRX: improve exception handling 2019-02-03 21:43:32 -08:00
Christian Guenter
f0c8375dbd SOTS: fix code inspector errors 2019-02-03 21:32:38 -08:00
larshp
c6c45baa90 Additional default ignores
Additional default ignores #2347
2019-02-03 21:32:11 -08:00
Christian Guenter
2c8a3f3b17 SPRX: fix class definition 2019-02-03 21:15:44 +01:00
Mattias Johansson
0467707a5b Changed default text in branch popup (#2344)
* Changed default text in branch popup

* Downgrade to Abap 7.02 syntax

* Reduce line length of commit (for abaplint)
2019-02-02 03:52:14 -08:00
Christian Günter
6cc064d794 SPRX: Proxy Object
Proxy objects are quite complex. With this commit we add basic SPRX support.

Working scenarios are:
- Service Consumer
- Service Provider
2019-02-02 03:06:11 -08:00
GoWale
96edce7e96 fix for serialize view cluster inactive/not exits (#2339)
* add missing functions in plugin VCLS

* fix pretty print

* fix check usage for abaplint

* adjust detection of locks

* german type
2019-01-31 01:41:33 -08:00
Christian Guenter
ad7809e4f2 Offline repo: Folder logic in create popup 2019-01-28 00:57:50 -08:00
Christian Günter
d63686c442
SOTS: Fix class definition (#2332) 2019-01-24 16:07:33 +01:00
Christian Günter
ed54ff43a1
SOTS: remove create public (#2331) 2019-01-24 15:55:39 +01:00
Lars Hvam
158b0185e4
1.82.0 (#2329)
* 1.82.0

* v1.82.0
2019-01-24 15:15:39 +01:00
Christian Günter
262e178407 PINF: Improve error handling #2317 (#2326)
* PINF: Improve error handling

This commit introduces a facade for IF_PACKAGE_INTERFACE which
unifies the exception handling from classic exceptions to
new class based exceptions. Thereby we ensure that all classic
exceptions are catched.

* fix lint errors
2019-01-24 15:01:10 +01:00
Christian Günter
f2e5672678 SOTS: All Concepts (OTR) of a Package - Long Texts #792 (#2323)
* SOTS: All Concepts (OTR) of a Package - Long Texts

* Update supported objects - SOTS
2019-01-24 15:00:37 +01:00
larshp
7313722452 lower case 2019-01-24 14:32:32 +01:00
Christian Günter
7b0a687d4a PINF: Implement is_locked 2019-01-24 08:54:50 +01:00
larshp
263a6a5f13 PINF, set package
single statement 'set_default_package( iv_package ).' added

rest is reordering by SE80
2019-01-23 06:31:34 +01:00
Lars Hvam
e8b6b0020d
Add interface for ZCL_ABAPGIT_PROGRESS #2303 (#2316)
* interface for progress class

* adjust branch overview

* adjust git pack

* adjust diff page

* adjust objects class

* adjust activation class

* adjust repo online class

* adjust serialize class

few methods moved

* adjust tadir class
2019-01-23 06:28:54 +01:00
Lars Hvam
1a60384e84
move method get_unnecessary_local_objs #2127 (#2315)
* move method get_unnecessary_local_objs #2127

move method get_unnecessary_local_objs #2127

* interface for progress class

* oops, rollback previous commit
2019-01-23 06:27:29 +01:00
larshp
46d0bf7298 remove REBUILD_LOCAL_CHECKSUMS_161112 #2127
remove REBUILD_LOCAL_CHECKSUMS_161112 #2127
2019-01-23 06:25:44 +01:00
larshp
57d0d5ff96 move c_version to USCA class
as it is not used anywhere else
2019-01-23 06:17:54 +01:00
larshp
4b3d2334cc rollback #2312 2019-01-21 15:09:12 +01:00
Lars Hvam
3f494f091f
Use built-in types (#2306)
* remove uses of DTEL BOOLEAN

* remove uses of DTEL BOOLE_D

* remove uses of DTEL FLAG

* remove uses of DTEL SAP_BOOL

* remove uses of DTEL XFELD

* Update zcl_abapgit_popups.clas.abap
2019-01-20 07:59:24 +01:00
GoWale
3a20f2cf73 fix dynpro set/get parameter (#2312)
* fix dynpro set/get parameter

* Dynpro Generation - Flag SET-/GET_PARAM

* Update zif_abapgit_definitions.intf.abap

* Update zif_abapgit_definitions.intf.xml

* add byte order mark back

* rename local constant to LC_
2019-01-20 07:52:11 +01:00
Lars Hvam
ba9968123f
limit shown code inspector findings #2271 (#2307)
* codi_base will now render the full list

* limit list to show first 500
2019-01-20 07:51:41 +01:00
larshp
c1bf6bac20 show sy-subrc from SEO_CLASS_CREATE_COMPLETE 2019-01-18 07:07:13 +01:00
larshp
ee76ec1f45 update to latest abaplint 2019-01-18 07:06:55 +01:00
Christian Guenter
4b96b7469d Check if package exists before pack.create popup 2019-01-18 07:06:33 +01:00
Christian Günter
8377759216 Implement SQSC: Database Procedure Proxy 2019-01-17 14:12:35 +01:00
Fabian Lupa
1bef6949f2 Delete missing TVIMF entries on reset local (TOBJ)
Fixes #2267
2019-01-17 13:22:52 +01:00
Christian Guenter
1913b7eaeb AdHoc code inspection: ask user for check variant 2019-01-16 09:33:13 +01:00
larshp
3509df80ae add class descriptions 2019-01-14 20:06:33 +01:00
Lars Hvam
610c48d51f
Remove commented code (#2285)
* delete commented code

* delete commented code

* commented code
2019-01-13 10:28:18 +01:00
Christian Guenter
d4cd7e2639 ZCL_ABAPGIT_OBJECTS: optimize with sec.key 2019-01-13 10:28:06 +01:00
Christian Guenter
67068136e1 UI: Replace 'Overwrite object' popup with sellist 2019-01-13 07:29:01 +01:00
Christian Guenter
0b36ce0c88 move js and css to UI 2019-01-13 07:23:07 +01:00
Andre Becker
da600fa2d3 Improve error handling of ttyp object handler (#2272)
* improve error handling of function modules

* fix abaplint errors

* refactor to hardcoded error strings

* refactor fm error handling to string templates

* removing msag class
2019-01-12 12:44:24 +01:00
Domi Bigl
cb15695570 switch to css class mega-octicon for HiDPI #2275 (#2276)
* switch to css class mega-octicon for HiDPI

* change css repo overview icon
2019-01-12 10:24:11 +01:00
Lars Hvam
7628af4a9f
1.81.1 (#2266)
* 1.81.1

* Update changelog.txt

* Update changelog.txt
2019-01-05 12:05:34 +01:00
Christian Guenter
87e95e454b disable save button 2019-01-05 07:35:23 +01:00
Jan Pascal Tschudy
ef0f6e631a fix remove inline method call 2019-01-04 14:35:47 +01:00
larshp
9a935d2a14 TABL: use sy-subrc instead of syst_subrc 2019-01-04 14:19:33 +01:00
Christian Guenter
ca41c7d783 Better error message when repo isn't opened in ML
Better error message when repo isn't opened in master language
2019-01-04 05:40:24 +01:00
sambarza
2fc8087de1 In the popup for the creation of a new offline project the OK button is missing or better is there but without a text, it's a quite difficult to find it ;-)
Fixed with label "OK"
2019-01-03 06:36:34 +01:00
Christian Guenter
20be1e7eef Page branch overview: skip orphaned commits 2019-01-03 06:36:00 +01:00
Christian Günter
e0c0610bad Group overview page functions + remove window functions 2019-01-03 06:35:48 +01:00
Christian Guenter
1de9456567 Fix TABL regression 2019-01-02 11:50:08 +01:00
Christian Günter
111c4d29cf eslint: fix no-unused-vars warnings 2019-01-02 06:06:29 +01:00
pokrakam
5f694c561f Prevent parallel mode with merged build - #2208 (#2247)
* Prevent parallel mode with merged build - #2208

Reguires abapmerge PR #74

Also renamed gv_max to gv_max_threads

* Prevent parallel mode with merged build - #2208

Reguires abapmerge PR #74

Also renamed gv_max to gv_max_threads
2019-01-02 06:06:14 +01:00
Domi Bigl
311efc0d20 add IDoc Segment support as part of TABL (#2246)
* add IDoc Segement support as part of TABL

IDoc Segement type/definition is just customizing and has no own transport object but it generates a structure and is coupled to it

The segment type/definitions have their own XML at the TABL object

* fix abaplint errors

* move segment type/defintion to TABL xml
2019-01-02 06:05:49 +01:00
sbcgua
95b8120ef0 Repo overview UX/design (#2245)
* reorderings

* moving around disarranged tags

* draft

* toggleDetail js and tuning

* remove unnecessary firstrow

* tunings
2018-12-31 06:30:53 +01:00
Alexander Tsybulsky
dd52f33497 move isola to zcl_abapgit_convert 2018-12-30 08:07:19 +01:00
sbcgua
60bf29dd38 refactor zcl_abapgit_zip (#2241)
* zip->load

* remove import and file_upload

* linter fix

* minor fix
2018-12-30 08:06:16 +01:00
sbcgua
ceb7a6d02a Eslint (#2240)
* configs

* fix lint errors
2018-12-30 08:05:17 +01:00
larshp
f1a0307fa9 VCLS clear CHANGEDATE #2227
VCLS clear CHANGEDATE #2227
2018-12-30 08:03:55 +01:00
larshp
c37ce5ff06 Cleanup classes package assignment #2217 2018-12-30 08:03:38 +01:00
pokrakam
d3e75796ab Fix #2171 - removed dependency on field order (#2226)
* Fix #2171 - removed dependency on field order

* Fix #2171 - removed dependency on field order
2018-12-26 06:36:16 +01:00
larshp
e0841e3bec indentation and se80 reorderings
no logic changes
2018-12-26 06:35:55 +01:00
larshp
f9749776d8 fix naming 2018-12-25 09:10:15 +00:00
larshp
08c6ef3dbb fix names, close #2222 2018-12-24 09:19:01 +01:00
Christian Guenter
66fa31e0aa Fix zcl_abapgit_frontend_services xml - newformat 2018-12-22 11:42:40 +01:00
Alexander Tsybulsky
09e23ce5b4 remove toolbar 2018-12-22 11:36:10 +01:00
sbcgua
2b887bb7c3 Frontend services util (#2219)
* extract file system calls from zip

* fs to utils package

* rename fs to frontend services

* linter fix

* fix zip class

* review fixes
2018-12-22 11:35:49 +01:00
Jakub Filak
11a175d467 stage: remove also ignored local files
Ignored files posses the property that they do not exist in remotes but do exist in local
repositories.

Before this patch, local ignored files were displayed in the Stage.
2018-12-20 09:23:13 +01:00
larshp
6385caade6 fix whitespace and other minor changes 2018-12-20 09:23:01 +01:00
Lars Hvam
5f9df74463
reduce method length, #2146 (#2212)
* TRAN: refactor method SPLIT_PARAMETERS

new method SHIFT_PARAM added

* settings page: refactoring

rename BUILD_SETTINGS to POST
split contents into smaller methods
2018-12-20 09:22:33 +01:00
larshp
d838dce879 align test class naming #2210 2018-12-20 09:21:11 +01:00
Lars Hvam
35f1462d3a
updates to experimental DDIC activation logic (#2206)
* updates to experimental ddic activation logic

* deleted too much

* special handling for INDX

* fixored, this seems to work
2018-12-17 08:17:53 +01:00
Lars Hvam
c9252b1b2a
CLAS cleanup (#2204)
* cleanup old experimental CLAS

* Move ZCL_ABAPGIT_OO_CLASS_NEW to _CLASS
2018-12-17 08:17:07 +01:00
Lars Hvam
79f7a82235
v1.81.0 (#2203)
* 1.81.0

* v1.81.0
2018-12-12 14:57:02 +01:00
Christian Guenter
39ffda345d Fix: Patch querySelector with numeric IDs 2018-12-12 14:32:26 +01:00
Eduardo Ferrari Copat
d47027ad6c Remove redundant class and interface metadata (#2195)
* Remove CLSFINAL from VSEOCLASS serialization

* Remove EXPOSURE from VSEOCLASS serialization

* Remove clsabstrct from VSEOCLASS serialization

* Remove EXPOSURE from VSEOINTERF serialization

* Revert "Remove EXPOSURE from VSEOINTERF serialization"

This reverts commit 4036b7d015.
2018-12-12 14:31:42 +01:00
Christian Guenter
729c009747 Fix: Stage > Patch ignore binary files 2018-12-12 13:11:16 +01:00
Christian Guenter
c7f0576d60 Fix Patch: escape namespaces properly 2018-12-11 11:54:30 +01:00
Christian Günter
d6c063090d Branch overview: show commit details when hover #1821 (#2190)
* Branch overview: show commit details when hover

* update external libraries to gitgraph 1.14.0

* refactor function names

* refactor js + add comments
2018-12-09 07:51:21 +01:00
Alexander Tsybulsky
66c3d0c0b7 zcl_abapgit_string_utils 2018-12-09 07:50:34 +01:00
Alexander Tsybulsky
806b474851 zip matching banner 2018-12-09 07:49:26 +01:00
CCapa
13f84140f4 Sapscript : sequence of Windows in tdlines files (#2191)
* Sapscript : sequence of Windows in tdlines files

Hello Lars,

You can find a code modification in the method _read_form of class zcl_abapgit_object_form related to the issue #2188
I have added a logic to sort by windows name the contains of the internal table ET_LINES . It allows to have always thre same sequence of  windows code in the file (xxxxxxxxxxgit.form.tdlines). Then file comparison will work with all export.

Regards
Christophe

* Sapscript : sequence of Windows in tdlines files

Hello Lars,

I have moved the code to a new private method _sort_tdlines_by_windows
But I don't add 'ASSERT sy-subrc = 0.'. 
The reason is that during my tests I found some windows in the form without elements inside (windows is not used anymore but it sill exists. The devlopper ddin't remove it). In this case the result of the ASSERT is a dump.
Using the loop from SY-TABIX there is no risk. If no entry exists in the internal table then the loop is not executed.

if needed I can add the following condition before doing the loop :
       IF line_exists( lt_lines[ tdformat = lv_elt_windows
                                tdline = ls_form_windows-tdwindow ] ).
Christophe

* Sapscript : sequence of Windows in tdlines files

I have done the adjustments for the CLEAR and to be  compatible with 702

Christophe

* Sapscript : sequence of Windows in tdlines files

Whitespace at end of line removed
2018-12-08 13:26:09 +01:00
sbcgua
4dee27fc1e Gui internals refactoring (#2180)
* GUI internals refactoring

* unify string conversion calls part1
2018-12-04 06:33:35 +01:00
Christian Guenter
746b114223 Initialize ADT context after start with package
- Open abapGit with package from ADT just once
- Initialzie ADT context because it is kept in shared memory
2018-12-03 12:46:43 +01:00
Christian Guenter
0c1a8f745a Package parameter for ADT 2018-12-02 12:14:58 +01:00
Alexander Tsybulsky
64a0ec086d fix #2176, table line type mismatch 2018-12-02 12:13:50 +01:00
sbcgua
e809df8384 repo->set refactoring, disconnect repo from persistence (#2164)
* 1st attempt (events)

* temp stash

* split persistence and repo, beta

* fix

* fix2

* fix3

* linter fixes

* review fixes
2018-12-02 09:10:55 +01:00
Christian Guenter
f2970abc2a Set start repo from package: Downport 2018-12-02 09:02:40 +01:00
Christian Günter
a708f18840 Start abapGit with package and open the #2160 (#2165)
* Start abapGit with package and open the repo

Set parameter 'PACKAGE' to start abapGit for a package

* Fix whitespace + exit loop
2018-11-30 07:10:45 +01:00
Eduardo Ferrari Copat
d4a09c153c Package names validations (#2163)
* Package names validations

validate if package has more than 30 characters name and if root packages does not contain a package with the same name as his.

* Validate grandchildren package names
2018-11-30 07:10:32 +01:00
Christian Günter
b3996f2cfa Fix abapGit repo existence check
Before this commit is applied forked abapGit repos aren't recognized
2018-11-29 06:28:21 +01:00
sbcgua
c465a6b2e8 Offline improvements (#2156)
* local reset in zip-based

* rebuild_local_checksums on new offline
2018-11-28 07:19:27 +01:00
sbcgua
48bb8be737 hotkeys in fixed position 2018-11-28 07:18:03 +01:00
Alexander Tsybulsky
8966f493c9 transport icon improvement 2018-11-28 07:17:41 +01:00
Christian Guenter
505cda20ee Reset sy-langu after open repo in master language 2018-11-28 07:17:29 +01:00
larshp
d68e4e6d4e fix dump regarding hotkeys #2157 2018-11-27 12:26:21 +01:00
larshp
7b2b0a6cd8 make sure the remote .abapgit.xml is found #2113 2018-11-26 18:28:04 +01:00
sbcgua
299ff5d9d5 Hotkey improvements (#2143)
* hotkey improvements

* linter fixes
2018-11-26 18:27:48 +01:00
WurstMitDurst
819ac3940a Fix missing return value
Method determine_max_threads of class zcl_abapgit_serialize did not return a value, when function Z_ABAPGIT_SERIALIZE_PARALLEL is not available. This commit will fix this.
2018-11-26 13:34:36 +01:00
larshp
61087aa131 unit test, one method per case 2018-11-25 09:24:45 +01:00
larshp
79c799dffb SUCU support via generic serializer 2018-11-25 07:29:22 +01:00
Lars Hvam
f3702fc5a4
router: refactor on_event to multiple methods (#2140)
* router: refactor on_event to multiple methods

* bugfix
2018-11-25 07:12:43 +01:00
Fabian Lupa
2a2b30d6eb Backport "open in master language"
#2132
2018-11-23 16:35:57 +01:00
Lars Hvam
fe8df14985
1.80.0 (#2136) 2018-11-23 12:48:53 +01:00
Lars Hvam
17b33c1693
update to latest abaplint (#2135)
* update to latest abaplint

* Update abaplint.json

* keywords upper case
2018-11-23 12:31:44 +01:00
larshp
158d54aceb pretty print: keywords upper case 2018-11-23 12:17:00 +01:00
Lars Hvam
69cd1f5d19
parallel serialization #1714 (#2129)
* parallel serialization #1714

* use latest abaplint

* Update abaplint.json

* add function group

* fallback to sequential

* fix error when running in background mode
2018-11-23 12:16:47 +01:00
larshp
6e9f6b8a45 TABL refactoring, CLEAR_DD03P_FIELDS added #2128 2018-11-23 05:58:04 +01:00
larshp
2fe5b30e4d TRAN refactoring, reduce method length #2128 2018-11-23 05:57:52 +01:00
Alexander Tsybulsky
558ece49c5 2-step zip import 2018-11-23 05:57:42 +01:00
larshp
378e3e0ca1 fix staging screen columns #2120 2018-11-22 05:08:09 +01:00
Lars Hvam
54e0155891
parallel: refactoring, #2121 (#2122)
* parallel: refactoring, #2121

* move cache handling outside of main loop

* fix error found by abaplint
2018-11-22 05:07:49 +01:00
Christian Günter
b96abd8eb4 New repo option 'Open in master language' #2105 (#2117)
* New repo option 'Open in master language'

* Replace sy-langu + conversion exit

* Fix lint error

* Add Success message
2018-11-22 05:06:36 +01:00
Lars Hvam
bfbf44efa5
Parallel: refactoring, cleanup GET_FILES_LOCAL (#2119)
* refactor cache handling to new private method

* refactor building dotabapgit file to separate meth

* refactor filter logic to new method
2018-11-21 06:10:18 +01:00
Christian Guenter
b395132f3b SUSC: Delete tadir 2018-11-20 09:10:38 +01:00
Lars Hvam
db74b1ea52
Move SSL_ID determination to user exit (#2114)
* docs: change id to parameter

* move ssl_id determination to exit #2102

* docs: add new exit

* update abaplint to latest
2018-11-19 07:15:25 +01:00
Christian Guenter
8e8c478a7f SUSC: Fix code inspector errors 2018-11-17 10:27:40 +01:00
Lars Hvam
d30b8467e4
1.79.1 (#2112)
* 1.79.1

* v1.79.1
2018-11-17 06:39:23 +01:00
Fabian Lupa
a45909b044 Change dummy value for TR_CHECK_TYPE
Fixes #2071
2018-11-17 06:25:04 +01:00
Christian Günter
ea29dc8c03 Fix deserialization with unsupported object type 2018-11-17 06:23:30 +01:00
larshp
2fb622e028 fix #2111 2018-11-17 05:21:57 +00:00
larshp
aac3c1b709 rename constants 2018-11-17 06:13:41 +01:00
sbcgua
af86d5b969 Refactor repo class, part1 (#2096)
* repo refactoring

* repo refactoring - part 2

* review fixes

* more review fixes
2018-11-17 06:12:20 +01:00
Sdfraga
af2ac36253 Removed Branch Overview Singleton - issue#2047 (#2048)
* Removed Branch Overview Singleton - issue#2047

* Implement Multiton for Branch Overview

* Removing zabapgit_test_ssl

* Fixes #2047

ZCL_ABAPGIT_FACTORY%3D>GET_BRANCH_OVERVIEW now updates BRANCH_OBERVIEW state if the instance it's already created

* Remove Singleton Logic for Branch Overview

* Remove Setup method
2018-11-15 10:47:29 +01:00
Christian Guenter
e61108511d DDLX: Fix transport request recording + activation 2018-11-15 08:03:48 +01:00
Domi Bigl
ffac70b9c3 TRAN: ignore object not found while delete
If the transaction can't be found in FM RPY_TRANSACTION_DELETE, it's already deleted
2018-11-11 18:41:21 +01:00
Domi Bigl
297112614e SHI3: delete in more direct way - no confirm popup #2035 (#2094)
* SHI3: delete in more direct way - no confirm popup

SHI3 delete is done in a more direct way without confirmation popup

* naming conventions
2018-11-11 17:48:51 +01:00
larshp
aae099b93d naming conventions 2018-11-11 17:45:12 +01:00
Domi Bigl
95287136d6 SUSC: delete in more direct way - no confirm popup #2036 (#2079)
* SUSC: delete in more direct way - no confirm popup

delete needs to be done with a code copy of FM SUSR_DELETE_OBJECT_CLASS
I really hate this but there is no other way

* SUSC: delete in more direct way - no confirm popup

* test

* test

* naming conventions

* PP
2018-11-11 17:44:40 +01:00
Christian Günter
dc173ad906 DCLS: Fix activation error + TADIR handling + late deserialization #2051 (#2085)
* DCLS: Fix activation and move to late deser.

* DCLS: improve tadir handling + activation
2018-11-11 06:32:56 +01:00
Christian Guenter
2a08aca65a SFSW: synchronous deletion 2018-11-11 06:31:42 +01:00
Domi Bigl
b7e5a56080 DEVC: get package from devclass or object name 2018-11-10 08:22:39 +01:00
Christian Günter
36fccd3b52 Fix TADIR handling #2066 (#2078)
* AUTH + FORM: delete tadir

* SFBS + SFBF: delete tadir

* SFSW: synchronous deletion
2018-11-10 08:11:22 +01:00
Christian Guenter
7f312f8634 Patch: fix regression 2018-11-10 08:09:40 +01:00
Christian Guenter
997ca1d139 Fix dupl. deserialization + add unit tests 2018-11-10 08:08:40 +01:00
Christian Günter
74bf1b7e66 SICF: Better errors + is_locked 2018-11-09 11:56:06 +01:00
larshp
9270a58b62 cleanup unreference variables 2018-11-09 11:55:47 +01:00
Lars Hvam
f7dfcb7178
v1.79.0 (#2070)
* v1.79.0
2018-11-09 09:11:32 +01:00
Christian Guenter
fec33acf5f DDLX: add tadir handling 2018-11-09 05:37:26 +01:00
larshp
2b676a54b4 ZCL_ABAPGIT_HTTP allow subclasses 2018-11-09 05:37:13 +01:00
larshp
02a5c78e2c IS REQUESTED is obsolete 2018-11-09 05:37:02 +01:00
Fabian Lupa
b08ee6a498 CTS integration (#2061)
* Implement facade for Change Transport System

* Render lock item in VIEW_REPO

* Add jump to SE01

* Display transport on stage page

* Optimize transport read on stage page

* Error handling CTS

* Fix indentation

* Disable transport column for local packages

* Code review changes
2018-11-09 05:36:44 +01:00
larshp
7cdbbc92b6 remove some unreferenced variables 2018-11-08 16:35:08 +01:00
larshp
6415f9e249 update abaplint to latest 2018-11-08 06:26:32 +01:00
larshp
28ae85e270 naming conventions 2018-11-08 06:15:07 +01:00
Lars Hvam
06616580eb
Naming conventions (#2059)
* fix naming conventions

* naming conventions
2018-11-07 12:50:20 +01:00
Lars Hvam
89e5010fd0
Naming conventions fixes, #2053 (#2058)
* fix more naming conventions

* more naming conventions fixes
2018-11-07 12:05:27 +01:00
larshp
788a7fedb9 naming conventions #2053 2018-11-07 09:00:12 +01:00
Christian Guenter
b1e3fbc4b3 Fix key word order 2018-11-07 08:17:26 +01:00
Christian Guenter
8189d27b80 Code Inspector: new feature run adhoc unit tests
This commit refactors the logic from zcl_abapgit_syntax_check to the new class zcl_abapgit_adhoc_code_insp. Which can be used to run arbitrary code inspections adhoc. zcl_abapgit_syntax_check delegates to zcl_abapgit_adhoc_code_insp.

Additionally the new class zcl_abapgit_abap_unit_tests is introduced to run ABAP unit tests for a particular package (hierarchy). It can be acessed via zcl_abapgit_factory%3D>get_abap_unit_tests.
2018-11-07 07:17:31 +01:00
Christian Guenter
e17d3334ff PARA: implement is_locked 2018-11-05 12:47:44 +01:00
Domi Bigl
e326273f20 SCP1: delete in more direct way - no confirm popup
FM SCPR_PRSET_MN_DELETE has some confirmation popups so the delete is done in a more direct way without popups
2018-11-05 12:47:31 +01:00
Christian Guenter
06c3d69b64 Code Inspector: Fix background processing
This commit enables the code inspector for background processing.
Before this commit is applied code inspection in background resulted in lock errors.
2018-11-05 12:46:58 +01:00
Christian Guenter
8b1cbd4b89 PARA: better error information 2018-11-03 12:48:51 +01:00
Christian Guenter
45a2ba1cd1 add factory for GUI_IS_AVAILABLE
This commit adds an indirection for function module GUI_IS_AVAILABLE
via interface ZIF_ABAPGIT_GUI_FUNCTIONS and factory ZCL_ABAPGIT_UI_FACTORY.

For tests the implementation can be replaced with
ZCL_ABAPGIT_UI_INJECTOR=>SET_GUI_FUNCTIONS
2018-11-03 08:42:32 +01:00
Christian Günter
db6f21f78c ENHO: save dark 2018-11-03 08:41:25 +01:00
Christian Guenter
6c3538a13a PARA: fix error handling 2018-11-03 08:40:46 +01:00
Domi Bigl
95deb3ed57 Add checks for empty class includes CLAS 2018-11-03 08:40:19 +01:00
Domi Bigl
b8ed4589af SSFO: change workarea range_node_code type 2018-11-01 07:16:43 +01:00
larshp
d82b9daf0e SSFO: do not use STTY_SR_STRING_RANGE 2018-11-01 06:23:24 +01:00
larshp
d426fd4540 SAXX: implement is_active 2018-11-01 06:20:53 +01:00
Domi Bigl
6b2b7ada75 ENHC: add implementation is_active 2018-11-01 04:38:10 +01:00
Christian Guenter
4f39cc2971 SUSC: implement is_active 2018-11-01 04:37:14 +01:00
Christian Guenter
a791d7ddaf CLAS: Add checks for empty class includes 2018-10-31 16:00:41 +01:00
Domi Bigl
cf05295170 mark inactive objects in repo list #1943 (#2017)
* mark inactive objects in repo list

Inactive object are marked in the repo list
The sort order for changed files is not changed
unchanged inactive files come right after the changed files

* move acitve check to object interface

* add is_active for objects up to F

* add is_active for objects up to P

* add is_active for objects up to T

* add is_active for objects up to X

all core object implement (except SSFO) the standard active check via FM RS_INACTIVE_OBJECTS_WARNING now

* add is_active to plugins bridge - always active

* finish object interface implementation + objects

* add is_active for offline with object interface

* rename returning to RV_

* use returning for serialize

* cleanup, PP, UT
2018-10-31 15:54:57 +01:00
Domi Bigl
1c396d9f19 add code line attribute for leading spaces #2011 (#2014)
* add code line attribute for leading spaces

Use attribute abapgit-leadig-spaces to store leading spaces of coding lines at serialization. This is used in deserialization to restoreformatting after XML normalization.

* add attribute also for global types and forms

* fix code formatting
2018-10-26 07:11:38 +02:00
Lars Hvam
088f465c13
1.78.1 (#2012)
Diff fixes
Jump only if object exists
IEXT: clear additional fields
TRAN: support OO transactions
SSFO: fix id renumbering
2018-10-19 08:17:01 +02:00
Christian Guenter
cdf3be54c1 SSFO: fix method FX_IDS
Before this commit is applied the FIX_IDS methods was errorneous
and lead to subsequent dump. This commit fixes the algorithm to
replace IDs and IDREFs
2018-10-19 08:00:47 +02:00
Lars Hvam
f405ff9e86 ecatt: remove DEFINITION LOAD of global class 2018-10-19 08:00:20 +02:00
Frederik Hudák
1bb195b344 Removed the rest of endmethod/endclass comments 2018-10-18 07:27:27 +02:00
Christian Guenter
a7e04c02ce JS: fix some eslint errors 2018-10-13 10:00:59 +02:00
Christian Guenter
898efade3e JUMP: check if object exists 2018-10-13 10:00:42 +02:00
Christian Guenter
7d92edec4f TRAN: Support oo transactions 2018-10-13 10:00:27 +02:00
Lars Hvam
fa39fcd43f
Code inspector fixes (#1997)
* pretty print

* definitions to top of routine

* space before .

* omit parameter names where possible

* double space after if

* remove pseudo comments where possible
2018-10-12 07:56:27 +02:00
Alexander Tsybulsky
ef2b90c0a9 Dump on assert rv_user, fix #1960 2018-10-12 07:56:14 +02:00
Alexander Tsybulsky
7be37d4acd Fix diff colors for MM state #1991 2018-10-11 10:16:36 +02:00
Domi Bigl
2644624985 clear PRESP and PWORK in IEXT serialization + cleanup (#1987)
* clear PRESP and PWORK

clear username fields PRESP and PWORK

* remove unused FM exceptions

if sy-subrc is analysed (only <> 0) no detailed FM exceptions are needed, only OTHERS

* set PRESP and PWORK on deserialization

PRESP and PWORK is not set to SY-UNAME by default so set it explicitly
2018-10-09 12:24:26 +02:00
Lars Hvam
2eae0b10f8
version 1.78.0 (#1990)
* 1.78.0

* v1.78.0

* docs: UDMO supported
2018-10-07 11:21:48 +02:00
larshp
e65f55c876 fix whitespace 2018-10-07 09:07:04 +00:00
PCF
b73d90c8c8 Sort dynpros at serialize to get a consistent serialized file 2018-10-07 10:57:47 +02:00
Christian Guenter
9e0161f097 SUSO: Downport delete to 702 2018-10-07 10:56:00 +02:00
Andrew Barnard
4f795f5a88 Object Type UDMO Data Model #1905 (#1966)
* Object Type UDMO Data Model #1905

Support for Object Type UDMO Data Model #1905

* Object Type UDMO Data Model #1905

* Object Type UDMO Data Model #1905

* Object Type UDMO Data Model #1905 Bad formatting correction

* Object Type UDMO Data Model #1905 Bad formatting

* Object Type UDMO Data Model #1905 Reformulation

* Update package.json

* pretty print
2018-10-07 10:55:15 +02:00
Lars Hvam
f8075e77d7
add missing spaces (#1984)
* add missing spaces

* plus change the approach for this unit test
2018-10-02 16:08:43 +02:00
Christian Günter
ef956b9486 Parallelize code inspector 2018-10-02 07:46:57 +02:00
larshp
fdf7fd91d4 PROG: clear resize min + max if no resizing #1907
PROG: clear resize min + max if no resizing #1907
2018-10-02 07:46:40 +02:00
larshp
f9df7c4498 author regex #1957 2018-10-02 07:46:24 +02:00
Christian Guenter
e9affd102a WEBI: Fix multiple service methods 2018-09-30 12:12:33 +02:00
Marcello Urbani
f002715b47 Changed event type, fixed fallback option fixes issue #1980 (#1981)
* UI: Changed event type, fixed fallback option
2018-09-30 09:04:19 +02:00
Christian Günter
44327bf5a1 WEBI: fix package popup 2018-09-29 08:54:50 +02:00
Christian Guenter
2a11522598 DDLS, DCLS, DDLX: Improve Error handling 2018-09-29 08:54:35 +02:00
Domi Bigl
246b943b87 hide current branch and HEAD in delete popup #1908 (#1961)
* hide current branch and HEAD in delete popup

* refactoring and cleanup

* hide also HEAD symref

* throw  branch delete refused
2018-09-29 08:53:55 +02:00
Christian Guenter
910513bbd3 SUSO: Downport to 702 2018-09-28 08:24:33 +02:00
cherifim
cb10996905 Update zcl_abapgit_object_auth.clas.abap
Syntax DATA(dummy)  is not supported by older SAP Systems (like 7.31), it is available only since 7.40
2018-09-27 17:48:11 +02:00
larshp
7b90fccaea PROG: skip bad dynpro numbers #1967 2018-09-27 15:04:17 +02:00
Lars Hvam
10ea325ca8
interface for zcl_abapgit_stage_logic #1955 (#1956)
* interface for zcl_abapgit_stage_logic #1955

* factory, fix injection
2018-09-27 15:03:29 +02:00
larshp
ba787d373e SICF: Decouple from core, #1941
Change calls to static SICF methods to dynamic, in order to be able to support systems which do not have SICF objects.
2018-09-27 15:03:15 +02:00
Marcello Urbani
eb34b7eeec Share output and event handler for code inspector 2018-09-25 16:23:07 +02:00
Fabian Lupa
ce05bb65b1 Serialize additional class component metadata (#1889)
* Serialize additional class component metadata

Fixes #1872

* Improve update_attributes performance

* Update WF attribute handling to use API
2018-09-25 16:11:50 +02:00
Christian Guenter
a78aa521b3 DDLX: Serialzie source code in .asddls file
Before this commit is applied DDLX source code was recorded
in the xml file. We changed this so that now a separte .asddls
file is created. The change is downward compatible. Previously
recorded DDLX objects will show a diff the next time and the new
.asddls file has to be committed.
2018-09-25 16:03:51 +02:00
Christian Günter
f7ce109f86 SUSO Delete: remove popup #1948 (#1949)
* SUSO: Delete remove popup

* Refactor delete document method
2018-09-25 16:02:02 +02:00
Domi Bigl
ab1fce00fe add smart response checks for ref discovery (#1942)
* add smart response checks for ref discovery

Added content-type check and content regex check for reference discovery
see https://github.com/schacon/igithub/blob/master/http-protocol.txt

* move ref check constants to TRANSPORT class

the check constants - content regex and responce Content-Type - don't have to be global right now so moved from zif_abapgit_definitionsto zcl_abapgit_git_transport

* PP and activate
2018-09-25 16:01:43 +02:00
larshp
d21bbb6caa XSLT: show sy-subrc error 2018-09-25 16:01:25 +02:00
Christian Guenter
9bc0a35fc6 Delete DCLS before AUTH 2018-09-24 06:02:28 +02:00
Lars Hvam
0926cf8569
1.77.0 (#1939)
* 1.77.0

* v1.77.0
2018-09-21 09:50:31 +02:00
Christian Guenter
2b4ff9529b Page Stage: Preserve filter value
On page stage the filter value is preserved while navigating
to diff or commit page and navigate back.
2018-09-21 09:20:36 +02:00
Marcello Urbani
3c86342bef Issue#1878 popup deleting msag (#1918)
* removed popup saving msag

* fixed capitalization

* refactored with variable prefixes

* refactored exceptions and split methods

also removed S messages.
Previous code was mostly copy %26 paste of the original

* Cleaned up

* more cleanup
2018-09-21 09:19:44 +02:00
Christian Guenter
46da683d7b AUTH: remove delete popups 2018-09-21 09:13:37 +02:00
Christian Guenter
829a68fcc6 AUTH serialization: fix package popup 2018-09-21 09:12:56 +02:00
Domi Bigl
529bfc478e add handling of deleted branches in branchoverview (#1928)
* add handling of deleted branches in branchoverview

also display deleted branches in branch overview but w/o a branch name

* PP #1823
2018-09-21 09:12:38 +02:00
Christian Günter
aa7a5fd01f FORM: record transport request 2018-09-21 09:12:03 +02:00
Marcello Urbani
af8a7abb9c fixed issue #1799 (dump for < or > in attributes) (#1923)
* fixed issue #1799 (dump for  < or > in attributes)

* added unit tests and extended support
2018-09-16 18:23:52 +02:00
Christian Guenter
c5f7257a06 ENHC Composite Enhancement Implementation 2018-09-16 10:05:54 +02:00
Domi Bigl
f61eb50dbf Code inspector results do not respect 'Jump to ADT first' setting #1892 (#1903)
* enable ADT jump from CI result

* enable ADT jump from CI result for all objects

* cleanup + PP

* cleanup + PP + save/activate in ADT

* remove commented code
2018-09-16 10:05:38 +02:00
Fabian Lupa
24c9d03edc Update 2FA ABAP Doc comments
Fixes #1924
2018-09-15 15:10:45 +02:00
Christian Guenter
69c6854e8e Fix ifinite loop in ZCL_ABAPGIT_BRANCH_OVERVIEW 2018-09-10 18:38:57 +02:00
Domi Bigl
29ce3e8170 handle abapgit_home in CI page 2018-09-10 16:12:00 +02:00
Domi Bigl
29e5e08d8d Dump in ZCL_ABAPGIT_BRANCH_OVERVIEW->DETERMINE_BRANCH #1909 (#1911)
* check 1st line contains LF

* remove add 2
2018-09-10 16:11:36 +02:00
Domi Bigl
9b2e68d06f fix RETURNING with EXPORT/CHANGING <740 SP2 2018-09-10 16:10:20 +02:00
Lars Hvam
937fbc5a21
1.76.0 (#1904)
git patch, added to staging page
serialize all longtexts
ENQU clear redundant fields
suppress SHMA package popup
branch overview sorted by parent instead of time
handle error from RS_CUA_INTERNAL_FETCH
fix problem with branch list from bitbucket.org
allow empty blobs
2018-09-08 09:09:44 +02:00
Christian Günter
0fa50309a1 Staging smaller chunks of code like git add -p (#1842)
* Staging smaller chunks of code like git add -p

With this commit a new feature which works similar to git add -p
is added. We are now able to patch, which means that we can
commit on line basis. And are not restricted anymore to commit
only on file basis.

* move get_page_patch to stage page

* Refactor JS

* Refactor JS
2018-09-08 08:58:25 +02:00
Domi Bigl
93c518a142 Branch OV - Sort by parents instead of time + PP #577 (#1890)
* Branch OV - Sort by parents instead of time #577

* Branch OV - Sort by parents PP #577
2018-09-08 08:30:42 +02:00
larshp
b2f43a04b6 handle error from RS_CUA_INTERNAL_FETCH #1899 2018-09-08 08:04:24 +02:00
Lars Hvam
c3db193efc
parse branch list, skip first pkt-line (#1898)
* add unit tests and fix some code inspector

* branch parsing: skip first pkt-line #1897
2018-09-08 08:04:09 +02:00
Domi Bigl
cd5ff75e85 Assertion failed blob data is initial #1857 2018-09-08 08:03:23 +02:00
Christian Guenter
f4859d179d fix no master language 2018-09-03 18:40:54 +02:00
Christian Guenter
cf8592a2ef Docu Longtexts: Serialize all languages 2018-09-03 18:40:54 +02:00
Domi Bigl
0b3c9970d6
ENQU: clear some more fields #1110 (#1888)
* ENQU: clear fields #1110

* ENQU: clear some more fields #1110
2018-08-31 18:04:47 +02:00
Domi Bigl
1a6f3623b3 ENQU: clear fields #1110 2018-08-31 07:21:39 +02:00
Christian Guenter
491cb6d1e7 FIX SHMA package popup 2018-08-31 07:21:01 +02:00
larshp
a4528290f3 MSAG: skip longtexts if none exist 2018-08-31 07:20:38 +02:00
Jakub Filak
6a01862cd6 Avoid use of the RS package in BASIS systems (#1874)
* objects: use a different constant for 'R3TR'

The constant rs_c_pgmid_r3tr comes from the package RS which is not
available in pure BASIS systems.

The constant seok_pgmid_r3tr comes from the package SEOK and abapGit is
already using another constants from this package - seok_access_*.

Related to #1826

* objects: replace rs_c_true with abap_true

The constant rs_c_true comes from the package RS which is no available
in pure BASIS systems.

I believe that the constant rs_c_true was used by mistake.
The constant was assigned to a variable which is of the type abap_bool
and the variable is initialized with abap_false.

Related to #1826
2018-08-29 12:36:16 +02:00
Christian Guenter
2fa5ba0dcf UI: Change repo urls to hyperlinks
This commit changes the repo urls on the main and overview
pages to hyperlinks.
2018-08-29 12:35:49 +02:00
Christian Guenter
dfb63d16c2 Improved hotkey handling
With this commit the hotkey 'd' for diff always shows the
global diff. Previously only the last file diff was shown.
We changed the implementation so that the first matched href
specified by the hotkey is called.
2018-08-29 12:35:09 +02:00
Lars Hvam
c571e95f61
v1.75.0 (#1873) 2018-08-28 15:02:05 +02:00
Christian Guenter
f167adecd2 Fix layout in merge mode 2018-08-28 08:30:23 +02:00
Christian Guenter
46f32e6422 Longtext serialization for DTEL, DOMA and TABL
This commit adds three new methods to ZCL_ABAPGIT_OBJECTS_SUPER:
- SERIALIZE_LONGTEXTS
- DESERIALIZE_LONGTEXTS
- DELETE_LONGTEXTS
They can be called on demand in concrete object type serializers.

In this commit they were called from DTEL, DOMA and TABL
2018-08-28 08:30:13 +02:00
Christian Guenter
98a393f147 CSS: remove horizontal scrollbar 2018-08-28 08:29:54 +02:00
Eduardo Ferrari Copat
de90a9c1b8 Fixes #1229: Enable SAP GUI for Java settings (#1865)
* Insert initial line before bothsequence and action

* Change settings boolean read to support Java GUI

Standard netweaver and Java GUI netweaver parse differently the checkboxes on HTML pages. This commit consider the value on the checkbox aseither "on" or "X".
2018-08-27 10:04:40 +02:00
Christian Guenter
d3f4584d3a MSAG: implement is_locked 2018-08-27 09:53:31 +02:00
Christian Guenter
d28b0fdc97 MSAG: Serialize longtexts in message classes 2018-08-22 06:45:38 +02:00
Christian Guenter
e394966795 FIX: CLAS is_locked read enque
Read enqueue entries instead of enqueueing
2018-08-22 06:34:32 +02:00
Christian Guenter
97c40c8f8f Fix: Impossible to save a dummy variant for backgr 2018-08-22 06:30:48 +02:00
Marcello Urbani
40fd90b14d Release locks/abapGit on pure BASIS system Issue #1826 (#1850)
* abapGit on pure BASIS system #1826

* fixed spacing

* Added fallback to old FM

* fixed spacing
2018-08-21 10:36:26 +02:00
Marcello Urbani
f35c285605 clean up ZCL_ABAPGIT_OBJECT_CLAS_OLD, #1801 (#1846)
* refactor zcl_abapgit_object_clas

removed dependencies from zcl_abapgit_object_clas_old, moved methods

* deleted zcl_abapgit_object_clas_old
2018-08-21 10:34:55 +02:00
Christian Guenter
fbc4896d65 New user exit create_http_client
With this commit one can implement the new user exit method
create_http_client for custom http client instantiation.
E.g. to use RFC destinations.
2018-08-20 18:27:26 +02:00
Christian Guenter
491306ff41 Fix: hotkey overview close key dynamically 2018-08-20 18:27:04 +02:00
Christian Guenter
98cae2c9fd Introduce global hotkeys
With this commit we are able to define global hotkeys. Which means
that the hotkey is active on all pages. The global hotkeys are
defined in ZCL_ABAPGIT_GUI_PAGE=>GET_HOTKEY_ACTIONS. The first
globally defined hotkey is the hotkey overview with the default
hotkey '?' assigned to it. This was previously hard coded in the js.
2018-08-18 06:57:25 +02:00
Christian Günter
f46e1e1c59 Fix close hotkey overview popup #1833 (#1835)
* Fix close hotkey overview popup

* Add text how to close hotskeys overview
2018-08-17 13:34:09 +02:00
Christian Guenter
d329a2d69f Add switch branch hotkey 2018-08-17 10:47:43 +02:00
Christian Guenter
f0415a22fd More hotkeys
More on page main and code inspector,
plus changed default for settings.
2018-08-17 09:55:09 +02:00
Christian Guenter
e699e7b0c9 Offline repo: make name obligatory 2018-08-17 09:26:55 +02:00
Christian Guenter
5c2a646809 Hotkey overview
After this commit is applied one can open the hotkey overview
with '?'.
2018-08-17 09:26:12 +02:00
Johannes Konings
d25bfaf725 fix some naming conventions
https://github.com/larshp/abapGit/issues/1132
2018-08-17 09:24:22 +02:00
Johannes Konings
c3691622ed fix some naming conventions
https://github.com/larshp/abapGit/issues/1132
2018-08-16 06:32:19 +02:00
Christian Günter
fc1df4b9ee Introduce customizable hotkeys #1728 (#1820)
* Introduce customizable hotkeys

With this commit customizable hotkeys are introduced. They can
be defined in the user specific settings. Currently we support
only one letter keybindigs e.g. 's', 't' or 'x' and no modifiers.

Every page in the UI can decide which actions it offers for the
hotkeys. Therefore we introduce the interface ZIF_ABAPGIT_GUI_PAGE_HOTKEY
with the method GET_HOTKEY_ACTIONS. At this point in time only
the main page offers actions for hotkeys, but the mechanism works
already for all pages. New actions for hotkeys can be defined
easily.

Hotkeys are only available for installed abapGit repositories.
Because we need to detect the classes which implement the above
mentioned interface and it seems that there is no easy way to do
that for local classes. Maybe we can add it later when we know more.

We don't supply default key bindings. So it is totally up to the
user to define them.

* provide default hotkeys
2018-08-16 06:32:03 +02:00
larshp
49ee796fc9 move responsibility for SHA1 calc
move responsibility for SHA1 calculation, in preparation for parallel object serialization move calculation
2018-08-13 18:35:08 +02:00
larshp
6044d3e7b2 move PERSIST_USER behind interface
move PERSIST_USER behind interface

will be moved to instantiate via factory in follow up PR
2018-08-13 18:34:28 +02:00
Lars Hvam
1dbc2195f8
update gitgraph to latest (#1814)
* update gitgraph to latest

* docs: dependencies, update gitgraph to latest
2018-08-13 18:33:45 +02:00
larshp
e3df6fe4c2 PROG: add guard for bad TADIR EIMP entries 2018-08-13 18:33:23 +02:00
Lars Hvam
a83c5cb878
Version 1.74.1 (#1812)
Refactoring
Downport
Descriptions in new online popup
Optimized git object handling
SSST package popup fixed
PARA popup fixed
Package validations
Diff still shows after pushing
TABL field ROWORCOLST cleared
Staging page optimizations
Correct CUA if needed during pull
2018-08-12 09:52:20 +02:00
sandraros
57d28d124b Always correct rs cua internal write errors (#1810)
* correct xml errors of CUA interfaces

Issue error RS_CUA_INTERNAL_WRITE while pulling an old abapgit repository #1807. Same issue as #562 (error RS_CUA_INTERNAL_WRITE) which is solved by correcting manually the XML of the CUA interfaces (fastidious), or by regenerating the XML (but unfortunately sometimes the abapGit repository is from someone else).
Automatically fix this before RS_CUA_INTERNAL_WRITE is called. It's useless having this as a configuration option.

* refactor: extract code to a new method

* Better refactoring of auto correction CUA
2018-08-12 09:42:08 +02:00
Jakub Filak
6f6338bc67 repo: skip missing packages in new repo validation
When we try to add a new online repository and we have a repository
whose package does not exist in abapGit we get a short dump caused
by assert in the method zif_abapgit_sap_package~read_parent of
the class zcl_abapgit_sap_pacakge.

This commit makes sure we skip such repositories because we believe it
does not make sense to prevent us from cloning in these cases.

Thank you Petr Benes <petr.benes@sap.com>!
2018-08-10 07:02:46 +02:00
larshp
273947240c interface and factory for persist_repo 2018-08-10 07:02:30 +02:00
larshp
e9a2d30950 optimize ZCL_ABAPGIT_GUI_PAGE_STAGE
optimize performance in ZCL_ABAPGIT_GUI_PAGE_STAGE, it will now only find changed_by once per item instead of per file #1794
2018-08-09 07:28:25 +02:00
Johannes Konings
efda46d4da TABL ROWORCOLST serialize: Delete value C #1722 (#1791)
* TABL ROWORCOLSTserialize: Delete value C

https://github.com/larshp/abapGit/issues/1722

* Changed IF

https://github.com/larshp/abapGit/issues/1722
2018-08-08 15:06:42 +02:00
Lars Hvam
65657a831b
Change git PUSH and PULL methods to functional (#1803)
* remove branch list from PULL

* change git push and pull to functional methods
2018-08-08 14:59:16 +02:00
larshp
00f94d3f2e 702 downport 2018-08-08 14:58:53 +02:00
larshp
3a78015f1e fix unit test for ZCL_ABAPGIT_GIT_PACK 2018-08-08 14:58:37 +02:00
larshp
91a5e05546 diff still shows after pushing #1797 2018-08-08 07:15:33 +02:00
larshp
e49b404b58 delete some unreferenced variables 2018-08-07 16:01:29 +02:00
larshp
578640f844 pretty print code 2018-08-07 16:01:18 +02:00
Christian Guenter
a1e010c0fc downport 702 2018-08-07 14:54:29 +02:00
Christian Guenter
173351c13f downport 702 2018-08-07 13:46:58 +02:00
Johannes Konings
f214fab73d fix some naming convention
https://github.com/larshp/abapGit/issues/1132
2018-08-07 12:03:21 +02:00
Christian Guenter
0fa4ed299e downport 702 2018-08-07 10:26:57 +02:00
larshp
1f75651f90 validate packages: ignore sub packages if set
validate packages: ignore sub packages if set #1779
2018-08-07 09:31:45 +02:00
larshp
004db9ebc0 fix syntax warnings 2018-08-07 07:30:57 +02:00
larshp
b634f067e2 fix syntax error 2018-08-07 07:27:45 +02:00
Johannes Konings
0a357149a4 PARA Delete without RS_PARAMETER_DELETE
https://github.com/larshp/abapGit/issues/1575
Deletion of PARA caused a popup in FM RS_PARAMETER_DELETE. 
To avoid that, the logic of the FM had to be implemented directly in the delete method.
2018-08-07 07:24:45 +02:00
Johannes Konings
1bbe4b6c1f deserialize SSST: insert_tadir
https://github.com/larshp/abapGit/issues/1755
method insert_tadir avoids "Object Directory Entry" popup
2018-08-07 07:23:05 +02:00
Michael Käsemann
8d51e6eb34 Optimized Git Object Handling (#1734)
* Optimized git object handling

- Introduced secondary indices for ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECTS_TT to allow fast access to git objects by SHA1 and TYPE
- Added a new column INDEX to ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT to allow reconstruction of the correct sort order of git objects when after processing in ZCL_ABAPGIT_GIT_PACK
- Optimized git object accesses in ZCL_ABAPGIT_GIT_PACK, ZCL_ABAPGIT_GIT_PORCELAIN and ZCL_ABAPGIT_MERGE by using the newly introduced indices

* Removed excess fields

Removed excess fields from secondary index definitions of ´ty_objects_tt´, since they are not required.
2018-08-07 07:20:52 +02:00
Johannes Konings
8e556701c3 New online popup, fix descriptions #1752
https://github.com/larshp/abapGit/issues/1752
2018-08-06 20:06:17 +02:00
Christian Guenter
840fe06262 downport 702 2018-08-06 19:59:49 +02:00
Christian Guenter
d82a02cd0e downport 2018-08-06 18:11:09 +02:00
larshp
f0fb0f0470 TADIR performance
TADIR performance #1756

All usages of TADIR aligned to use the same structure. 
DELFLAG added in the structure.
2 identical structure definitions deleted.

todo: test this PR works after abapmerge has run
2018-08-06 15:39:15 +02:00
Christian Günter
400846e036 Downport method call chains to 702 + IF_OO_SOURCE_POS_INDEX_HELPER #1775 (#1776)
* Downport method call chains to 702 + IF_OO_SOURCE_POS_INDEX_HELPER

* catch exception if interfaces doesn't exist

Catch exception if IF_OO_SOURCE_POS_INDEX_HELPER doesn't exist
2018-08-06 15:11:40 +02:00
Christian Guenter
6ef0357795 ecatt downport 2018-08-06 13:31:43 +02:00
Johannes Konings
6ddd20e2b5 fix some naming convention #1132 (#1771)
* fix some naming convention

https://github.com/larshp/abapGit/issues/1132

* fix abaplint Reduce line length

https://github.com/larshp/abapGit/pull/1771
2018-08-06 13:10:03 +02:00
Lars Hvam
18573089e2
Refactor staging + git + online repo (#1769)
* change merge and staging

always push to the top of the currently selected branch

* remove branch and sha1 from stage object #365

* REPO not longer part of GIT_PORCELAIN

SET_OBJECTS moved to private

* and remove fields from constructor
2018-08-06 12:55:13 +02:00
Johannes Konings
09791d0685 Unit test ZCL_ABAPGIT_BRANCH_OVERVIEW for author regex (#1767)
* changed assert to exception

* unit test for author regex added

* Umlauts removed
2018-08-06 12:54:43 +02:00
larshp
02cccf6995 delete method set_new_remote in online repo
delete method set_new_remote in online repo

#1757
2018-08-05 13:12:36 +02:00
larshp
f77b798f4c Interface ZIF_ABAPGIT_GIT_OPERATIONS
Interface ZIF_ABAPGIT_GIT_OPERATIONS for git operations in repo online class
2018-08-05 13:05:08 +02:00
larshp
1d035cf1ab create_branch refactored 2018-08-05 12:47:54 +02:00
larshp
703b1022f5 separate repo from PULL 2018-08-05 12:17:34 +02:00
larshp
28adb2f790 separate repo from DELETE_TAG 2018-08-05 12:17:34 +02:00
larshp
748a32f57c separate repo from DELETE_BRANCH 2018-08-05 12:17:34 +02:00
larshp
71b7f9d788 separate repo from CREATE_TAG 2018-08-05 12:17:34 +02:00
larshp
d431f2d9d0 separate repo from CREATE_BRANCH 2018-08-05 12:17:34 +02:00
larshp
742f3e5e2c Sacrifice HEAD_BRANCH feature in repo
Sacrifice  HEAD_BRANCH feature in repo, suggest instead implementing a branch list cache later

#1757
2018-08-05 11:52:56 +02:00
larshp
d0838c0f54 delete ZCL_ABAPGIT_STAGE_LOGIC method COUNT
delete ZCL_ABAPGIT_STAGE_LOGIC method COUNT, not used anywhere
2018-08-05 11:52:30 +02:00
larshp
48e5a247f2 Online: method INITIALIZE + RESET_STATUS to privat
Change methods INITIALIZE + RESET_STATUS to private in ZCL_ABAPGIT_REPO_ONLINE

One external call of INITIALIZE changed to use REFRESH instead

Part of refactoring for issue #1757
2018-08-05 11:28:50 +02:00
Lars Hvam
c72d04ea80
Refactor background to use log object instead of WRITE (#1753)
* LOG: extra ADD_* methods

Methods ADD_ERROR, ADD_INFO, and ADD_WARNING added to log class

* refactor background to use log object

refactor background to use log object instead of WRITE
2018-08-05 08:08:41 +02:00
Lars Hvam
bca3fd6002
help, rename wiki to documentation (#1751)
* remove ENDMETHOD comments

* help, rename wiki to documentation

help, rename wiki to documentation

remove action from router and action definitions
2018-08-05 08:08:28 +02:00
larshp
de76c32fd3 refactor git length encoding #1741
refactor git length encoding #1741

can now handle larger numbers than 30mb, uses interation and less code
2018-08-05 08:08:09 +02:00
Lars Hvam
2c3b80a2a5
1.74.0 (#1750)
- Stage button in diff screen removed
+ Vimium like link hint navigation, enable in settings
* ecatt downport
* Performance optimizations
* SSFO fix jump to text module
2018-08-04 10:14:49 +02:00
Christian Guenter
a72edf9725 Remove 'Stage' from diff page
After this commit is applied it's no longer possible to stage
at the diff page. This simplifies the screen flow.
2018-08-04 09:49:23 +02:00
Christian Guenter
62506f52bb Default link_hint_key and background color
With this commit link_hint_key and link_hint_backgroun_dcolor
are populated with default values.
2018-08-04 09:13:43 +02:00
Christian Günter
ff4d126856 Vimium like link hint navigation #1706 (#1729)
* Vimium like link hint navigation

After this commit is applied, the link hint navigation can be used.
The feature can be activated and configured in the user settings.
Role model is the link hint navigation in the Google Chrome plugin
Vimium.

* refactoring: introduce KeyNavigation prototype

* refactoring: introduce LinkHints prototype
2018-08-04 07:36:28 +02:00
Frederik Hudák
adacc174bd Removed endmethod and endclass comments - folder git 2018-08-03 14:49:52 +02:00
Christian Günter
a4e670d254 ecatt: downport and fix naming #1737 (#1740)
* ecatt: downport and fix naming

* ecatt downport /2
2018-08-03 14:47:17 +02:00
Frederik Hudák
26c6f4b4dc Removed endmethod and endclass comments - folders syntax, zlib, xml 2018-08-03 13:33:33 +02:00
Frederik Hudák
34a65ba8e4 Removed unnecessary default comments from testclasses 2018-08-03 13:32:57 +02:00
Michael Käsemann
f9746cf199 Optimized ZCL_ABAPGIT_TADIR=>BUILD for better performance (#1725)
* Optimized ZCL_ABAPGIT_TADIR=>BUILD for better performance

- Using the optimizations in ZCL_ABAPGIT_FOLDER_LOGIC (PR #1723) and ZCL_ABAPGIT_SAP_PACKAGE (PR #1724) to optimize the TADIR build method, by first determining all relevant subpackages and then processing them in one go instead of having to recurse and read information from the DB separately.
- Note that the optimization can also be used without the changes in #1723 and #1724, but the effect will be less or worse and the coding requires adaptations.

* Fixes coding artifact of #1723

Removed a coding artifact that makes use of importing parameter ÌO_FOLDER_LOGIC`, which is no longer needed in the flat BUILD processing.

* Adapted for rework in #1724

After adapting PR #1724 to no longer use buffering, but instead select packages with a level-based selection, the buffering parameter in `ZCL_ABAPGIT_SAP_PACKAGE=>LIST_SUBPACKAGES` no longer exists and should not be used in this PR.

* Compressed IF/ELSE construct

* Removed whitespaces

* Fixed auto-merge issue

Removed a double variable declaration resulting from git auto-merge
2018-08-02 06:48:13 +02:00
Frederik Hudák
9d79bc3cc5 Removed endmethod and endclass comments - folder utils 2018-08-01 18:55:31 +02:00
Michael Käsemann
3331a73b86 Optimized Git Type Determination
- Optimized the type determination logic in ZCL_ABAPGIT_GIT_PACK=>GET_TYPE by removing the string conversion and processing the relevant bits directly
2018-08-01 13:11:22 +02:00
Michael Käsemann
aa90f278b7 Added Buffering to ZCL_ABAPGIT_SAP_PACKAGE (#1724)
* Added Buffering to ZCL_ABAPGIT_SAP_PACKAGE

- Added a buffering option to ZCL_ABAPGIT_SAP_PACKAGE=>LIST_SUBPACKAGES, which gives a performance increase in repos with a deep tree structure, because all relevant packages are read from the DB only once and then the determination of subpackages is performed on an internal buffer table.

* Used buffered SAP package information determination in file status processing

* Level-based Subpackage Selection

- Replaced buffered package access with level-based subpackage selection

* Minor fix for select statements to avoid warnings
2018-07-31 17:31:18 +02:00
Christian Guenter
fa61f45886 SSFO: fix jump to text module
After this commit is applied jump to smartforms
text modules works as expected.
2018-07-31 13:46:30 +02:00
Michael Käsemann
b3679f0868 Added Buffering to ZCL_ABAPGIT_FOLDER_LOGIC (#1723)
* Added Buffering to ZCL_ABAPGIT_FOLDER_LOGIC

- Converted ZCL_ABAPGIT_FOLDER_LOGIC=>PACKAGE_TO_PATH and ZCL_ABAPGIT_FOLDER_LOGIC=>PATH_TO_PACKAGE to instance methods, so they can work with buffered data when constructiing path information. This gives a performance advantage in repos with a depp tree structure and multiple leaf packages
- Adapted all calling code to use an instance of ZCL_ABAPGIT_FOLDER_LOGIC instead of the previously available static methods
- Where applicaple PACKAGE_TO_PATH and PATH_TO_PACKAGE were called in an instance of ZCL_ABAPGIT_FOLDER_LOGIC, which was instanced outside of a processing loop and thus profited from the introduced buffering

* Fixed errors

* Removed obsolete coding artifacts

Removed an obsolete parameter, that accidentally got merged into the code when building the pull request

* Forwarded FOLDER_LOGIC instance to recursed calls

Forwarded ZCL_ABAPGIT_FOLDER_LOGIC instance to subsequent BUILD calls to make use of buffering, until the optimizations in #1725 are in place.
2018-07-31 12:19:29 +02:00
larshp
eac0045305 background: fix dump when reconfiguring
fix dump due to old background settings
2018-07-30 16:53:55 +02:00
Lars Hvam
4180373b46
Refactoring, HTML_ACTION_UTILS #1710 (#1720)
* DBCONTENT_DECODE to ZCL_ABAPGIT_GUI_PAGE_DB_EDIT

* PARSE_COMMIT_REQUEST to ZCL_ABAPGIT_GUI_PAGE_COMMI
2018-07-30 16:33:52 +02:00
Lars Hvam
e904130b67
v1.73.0 (#1718)
Background mode must be reconfigured after installing this version
New interface ZIF_ABAPGIT_BACKGROUND for implementing custom handlers
Background mode will now push deletions
2018-07-29 14:11:22 +02:00
larshp
58fa197ed5 Move settings type to background interface 2018-07-29 14:01:45 +02:00
Lars Hvam
4fa485bf96
Remove superfluous spaces (#1712)
* remove spaces

* remove spaces

* remove spaces

* remove double space
2018-07-29 10:08:54 +02:00
Lars Hvam
43da0f819c
Background mode refactoring (#1707)
* move background logic to new package

* background refactored

* background, gui page refactored

* find implementations

and fix code inspector findings

* pretty print interface
2018-07-29 10:08:42 +02:00
Frederik Hudák
c4639f65ce Removed endmethod and endclass comments - objects folder 2018-07-28 10:10:16 +02:00
Lars Hvam
67c76df109
Delete unreferenced types (#1705)
* remove ty_adler32

* remove tt_file_diff
2018-07-28 07:26:14 +02:00
Lars Hvam
62580af494
Omit parameter name where possible (#1704)
* zcl_abapgit_2fa_github_auth omit parameter name

* ecatt omit parameter names

* zcl_abapgit_ecatt_script_downl pretty print

* zcl_abapgit_ecatt_script_downl omit parameter name

* zcl_abapgit_ecatt_val_obj_upl omit parameter name

* zcl_abapgit_file_status omit parameter name

* zcl_abapgit_gui omit parameter name

* zcl_abapgit_gui_page_boverview omit parameter name

* zcl_abapgit_syntax_highlighter omit parameter name
2018-07-28 07:25:28 +02:00
Christian Guenter
7a7587a481 Background: Push deleted objects
Before this commit is applied deletions weren't pushed in background
mode. With this commit the deletions are pushed.
2018-07-28 07:24:57 +02:00
Lars Hvam
d013f34893
1.72.2 (#1703)
* update version

* v1.72.2
2018-07-27 13:34:44 +02:00
larshp
e5c75da12c background: remove unused variables 2018-07-27 13:17:49 +02:00
larshp
06d06e23fe list_subpackages: order by primary key
list_subpackages: order by primary key, to fix HANA warning
2018-07-27 13:17:29 +02:00
larshp
faf2f93197 no need to pass is_checks by value
plus some methods reordered
2018-07-27 13:17:14 +02:00
Lars Hvam
95a8a42c25
Parse commit message in branch overview, fix for PGP signature #1387 (#1698)
* pretty print, trigger reordering of methods

* skip PGP signature

* change PARSE_COMMITS to static

change PARSE_COMMITS to static and add unit tests class

* add simple unit test and fix CI findings
2018-07-27 13:16:34 +02:00
Christian Guenter
8c38e17df6 CHAR: fix copy and paste error
Before this commit is applied we get DBSQL_DUPLICATE_KEY_ERROR
dumps while 'reset local'.
2018-07-27 06:17:32 +02:00
Michael Käsemann
4a51d2845c Small performance improvement in ZCL_ABAPGIT_FILE_STATUS=>CALCULATE_STATUS, where the subpackage information is read only once and then sorted and the sorted information can then be accessed through a binary search read. 2018-07-26 13:38:24 +02:00
Christian Guenter
494cc5a8f8 CHAR: catch exceptions and implement is_locked
Before this commit is applied we get shortdumps when the object
is locked during deserialization or deletions.
2018-07-26 13:37:10 +02:00
Christian Guenter
9966bf4c86 Refactor: SET PARAMETER EUK
After this commit is applied all calls of "SET PARAMETER 'EUK'"
are replaced with the call of objects_super->set_default_package.
The method uses the ABAP memory which is in this case more reliable.
2018-07-25 16:16:28 +02:00
Christian Günter
8572013c7e CHAR: fix package popup during pull #1661 (#1689)
* CHAR: fix package popup during pull

* Remove superfluous ABAP memory clearance

memory is already cleared in RS_CORR_INSERT

* Introduce objects_super set_default_package

Refactor set default package logic to super class
zcl_abapgit_objects_super method set_default_package.
2018-07-25 15:00:52 +02:00
Christian Guenter
335759f741 Store user and time for last deserialize
With this commit after every deserialize operation the user, date and time
are stored in repo xml. The information is shown in repo overview.
2018-07-25 06:50:18 +02:00
Christian Guenter
5d439e3699 Code inspector for offline repositories
Before this commit it wasn't possible to run code inspection
for offline repos. A dump occured.
With this commit it is possible to run code inspections
for offline repos, too.
2018-07-25 06:47:59 +02:00
mkaesemann
e132c17205 Fixed spelling error 2018-07-25 06:44:07 +02:00
Michael Käsemann
a80ae3c4f5 Fixed naming and missing data element definition 2018-07-25 06:44:07 +02:00
Michael Käsemann
9f50c2d59e ZIF_ABAPGIT_SAP_PACKAGE~LIST_SUBPACKAGES in ZCL_ABAPGIT_SAP_PACKAGE returned duplicate entries for subpackages with more than 1 hierarchy level, because the recursion selected all subpackages of a given package and added them to the list and then parsed the added subpackages again, which would in turn again select the subpackages of the subpackage. 2018-07-25 06:44:07 +02:00
Christian Guenter
bb82f2c8bd Refresh online repo: call BRANCH_LIST just once
Before this commit is applied BRANCH_LIST is called twice while
refreshing an online repo. This leads to two identical HTTP calls.
After this commit is applied BRANCH_LIST is only called once and
therefore only one HTTP request is sent.
2018-07-25 06:43:21 +02:00
larshp
d7e90aae60 move version definition to separate interface
moved version from DEFINITIONS interface to new VERSION interface, to avoid possible future merge conflicts, see #960
2018-07-25 06:37:38 +02:00
larshp
640839ad0e Do not delete repo at pull error #1675
Some time ago, the repo was pulled immediately after creation, this has been changed, so we do not need this workaround anymore. Also see #843
2018-07-22 11:55:13 +02:00
Christian Guenter
01c2cfb610 NEWS: Only update last_change_seen if changed 2018-07-22 11:06:38 +02:00
Christian Günter
7ac8dc15b6 Remove local SHA1 from online repository #1485, #1509 (#1666)
* Remove local SHA1 from online repository

In this commit we remove the local SHA1 and all its references from
ZCL_ABAPGIT_REPO_ONLINE. SHA1 is also removed from repo persistency.
SHA1 insn't needed anymore. All where-used places were either migrated to
remote_SHA1 or removed.

* reintroduce logic after push
2018-07-22 10:11:09 +02:00
larshp
45bb5c7405 AVAS: propagate exception to caller
AVAS, propagate exception to caller, this will fix the syntax warning
2018-07-22 09:46:13 +02:00
Christian Guenter
1c368ed80c FUGR: Update short text if already exists
If the short text of the function group has changed in the remote repo,
it's currently not possible to pull that change.
With this commit the short text is pulled properly.
2018-07-22 07:21:06 +02:00
larshp
52758028a7 delete commented unit test code #1189 2018-07-22 07:20:12 +02:00
larshp
60a4f5ed56 FUGR: show error code from RS_FUNCTION_POOL_INSERT
FUGR: show error code from RS_FUNCTION_POOL_INSERT
2018-07-21 11:36:30 +02:00
Lars Hvam
16dcb2ea99
Optimize STATUS performance (#1664)
* Optimize STATUS performance

move list_subpackages() outside of loop

* logic updated
2018-07-21 11:36:15 +02:00
Johannes Konings
b98db9bd7c branch overview: no singleton (#1665)
https://github.com/larshp/abapGit/issues/1647
2018-07-20 11:21:26 +02:00
Johannes Konings
cdf2f5f448 ABAP Unit for ZCL_ABAPGIT_BRANCH_OVERVIEW #1647 (#1654)
branch overview:
* preparation ABAP Unit
* change to key

#1647
2018-07-20 09:29:41 +02:00
Lars Hvam
7079e5ac50
Version 1.72.1 (#1663)
* 1.72.1

* v1.72.1 changelog
2018-07-20 08:10:50 +02:00
larshp
7d622fc495 CHAR: fix dump during pull #1660
Set the activation state to inactive for the values
2018-07-20 07:26:19 +02:00
Christian Guenter
1c2a1f709e CUS1: deserialization add RS_CORR_INSERT
before this commit CUS1 wasn't deserialized properly because no TADIR entry was inserted.
2018-07-20 07:20:33 +02:00
Christian Guenter
25980d80fe SICF: Delete data from ICFAPPLCUST
The data in table ICFAPPLCUST (Application Customizing Data) isn't
deleted by cl_icf_tree=>if_icf_tree~delete_node( ). Before this commit
is applied it's not possible to delete ICF nodes with data in that table.
With this commit we delete the data in the table. It's the same as
transaction SICF does.
2018-07-20 06:45:40 +02:00
Christian Guenter
3ba843ad54 VCLS jump: open view cluster in new window
Before this commit VCLS jump calls VIEWCLUSTER_MAINTENANCE_CALL
which opens inplace. But that's not compatible with abapGit UI
and nothing is visible.

And the semantics changed. The above mentioned FM call the view
cluster for data maintenance and not the development object.
To be aligned with abapGit logic now the transaction SE54 is called.
2018-07-18 18:24:15 +02:00
Christian Guenter
9822822403 VCLS: Fix - replace meth corr_insert( )
Replaces the call of corr_insert( ) with its own call of FM
RS_CORR_INSERT because the parameters used in corr_insert
aren't valid for VCLS
2018-07-18 16:36:31 +02:00
Jakub Filak
b3186e9202 AVAS: report detailed errors (#1652)
Unfortunately, we are versioning AVAS objects that can be instantiated
only in SAP systems but we use the repo also in sandbox Customer
systems.

Whenever I open the repository I get an exception of the type
cx_pak_invalid_data.

Without this commit I see the error message:
"AVAS error".

With this commit I see the error message:
"AVAS $GUID: invalid data: The functionality is not supported in
customer systems"
2018-07-18 15:37:22 +02:00
Christian Günter
495e832882 downport CMPT (#1648) 2018-07-17 13:06:32 +02:00
Christian Günter
394ea52d61 More is_locked: ENHO, FORM, SFPF, SFPI (#1646) 2018-07-17 07:40:01 +02:00
Christian Günter
67b7f74911 Fix: warning package shown twice (#1644) 2018-07-17 07:28:57 +02:00
ThomasPloski
6ea0c465f4 fixes issue #1621 (#1640) 2018-07-14 06:51:20 +02:00
Lars Hvam
4f96d8dbee
show path in diff page #1624 (#1638)
show path in diff page #1624

plus remove some comments after ENDMETHOD
2018-07-14 06:51:07 +02:00
Lars Hvam
f4e9676855
CUS0 handle TADIR (#1636)
* SE80 pretty print

* CUS0 handle TADIR #1565
2018-07-14 06:50:56 +02:00
Lars Hvam
3a5b2b73fb
VCLS handle TADIR #1565 (#1633)
VCLS handle TADIR #1565

Source code reorganized by SE80.

Changes: call to corr_insert() added, plus set rs_metadata-delete_tadir %3D abap_true.
2018-07-14 06:50:44 +02:00
Lars Hvam
1b154ccf7f
list superpackages, fix double entries #1612 (#1632)
list superpackages, fix double entries #1612
2018-07-14 06:50:33 +02:00
ThomasPloski
153606eb7a fixes issue #1630 (#1637) 2018-07-13 13:26:46 +02:00
larshp
48e2549003 1.72.0 2018-07-13 08:17:58 +00:00
Lars Hvam
b7ad2b553f
issue #1630, temporary workaround (#1631) 2018-07-13 10:06:25 +02:00
Johannes Konings
e34d80214e zcl_abapgit_object_form naming convention #1132 (#1628)
* typo corrected "Guide for installing bundle"

* zcl_abapgit_factory naming convention

https://github.com/larshp/abapGit/issues/1132

* zcl_abapgit_object_form naming convention 

https://github.com/larshp/abapGit/issues/1132
2018-07-13 04:30:30 +02:00
Johannes Konings
e74e03f5a5 zcl_abapgit_factory naming convention #1132 (#1619)
* typo corrected "Guide for installing bundle"

* zcl_abapgit_factory naming convention

https://github.com/larshp/abapGit/issues/1132
2018-07-12 16:57:12 +02:00
Lars Hvam
6bdb655435
AVAS support (#1609)
* AVAS #1360

* AVAS support

* fix linter errors
2018-07-12 16:55:46 +02:00
Lars Hvam
bf3e5df77e
start moving unit tests to the right classes (#1610) 2018-07-12 16:40:22 +02:00
Christian Günter
4f9f47cd59 Set transport request if needed during uninstall or reset local (#1596)
* delete checks: set transport request if needed

this ensures that the transport request is set when deleting objects.
E.g. uninstalling the repositoy or reset local.

* separate type for delete checks
2018-07-11 16:18:08 +02:00
ThomasPloski
6ced7c04bb using "#EC CI_GENBUFF (#1618) 2018-07-11 16:16:48 +02:00
Christian Günter
c161b0d5d4 Overview page: initial focus to filter (#1616) 2018-07-11 15:45:56 +02:00
Lars Hvam
23ded859ea
update source index, #1597 (#1598)
* update source index #1597

* remove comment

* fix indentation
2018-07-10 16:41:00 +02:00
Lars Hvam
7d7def95a5
Generic object handler + ASFC support #1578 (#1590)
* scaffolding #1578

* generic object handler #1578

* fix linter errors
2018-07-10 16:39:49 +02:00
ThomasPloski
513fe052bb Consideration of ABAP Language Version (#1567)
* Consideration of ABAP Language Version

* update

* Update zcl_abapgit_object_fugr.clas.abap
2018-07-09 18:51:53 +02:00
Thoralf Hänsel
5e824d7b62 Naming conventions for zcl_abapgit_ecatt_script_downl #1132 (#1604)
* Naming conventions zcl_abapgit_ecatt_script_downl

https://github.com/larshp/abapGit/issues/1132

* Fix indentation.

https://github.com/larshp/abapGit/issues/1132

* Naming conventions zcl_abapgit_ecatt_val_obj_upl

https://github.com/larshp/abapGit/issues/1132
2018-07-09 16:30:46 +02:00
Lars Hvam
9c5c704fad
Merge pull request #1594 from christianguenter2/issue_1558
Do not automatically deserialize last seen repo
2018-07-09 16:28:01 +02:00
Lars Hvam
f54009e65a
Merge pull request #1603 from mkaesemann/feature/BITBYTE_TO_INT_optimization
Performance Improvement in BITBYTE_TO_INT Conversion
2018-07-09 16:23:41 +02:00
Christian Guenter
3f2e9be939 Do not automatically deserialize last seen repo
- new default behaviour is that the last seen repo isn't deserialized automatically. Instead the user has to choose a repo to work with
- old behaviour can be reactivated via user setting
2018-07-09 16:15:36 +02:00
Lars Hvam
58952c15fc
Merge pull request #1599 from christianguenter2/SCP1_jump
SCP1 jump
2018-07-09 14:06:28 +02:00
Michael Käsemann
d2fbceb949 Added unit tests for conversion methods
- Added unit tests for metods BITBYTE_TO_INT and X_TO_BITBYTE of class ZCL_ABAPGIT_CONVERT.
2018-07-09 12:38:26 +02:00
mkaesemann
3ec6188536
Fixed build issues
Removed whitespace at end of empty line caused by the Github editor.
2018-07-09 11:35:57 +02:00
mkaesemann
7dc2dc1af2
Fixed formatting errors
Fixed indentation and linter issues
2018-07-09 11:32:32 +02:00
Michael Käsemann
3294474243 Performance Improvement in BITBYTE_TO_INT Conversion
- Changed: Reduced calculations and processing required to convert a bit string into an integer value to a minimum.
2018-07-09 11:09:53 +02:00
Christian Guenter
f88a95d0d4 New default setting: jump to ABAP in Eclipse 2018-07-08 21:20:36 +02:00
Christian Guenter
6dc1f30cea SCP1 jump 2018-07-08 21:09:04 +02:00
Christian Günter
e98dbffe92
Merge pull request #1595 from larshp/SCP1
Basic SCP1 support #1004
2018-07-08 20:54:53 +02:00
larshp
fdb2483b70 remove breakpoints 2018-07-08 11:12:13 +00:00
larshp
eb86f02a29 basic SCP1 support, #1004 2018-07-08 11:08:46 +00:00
larshp
bb3e092d61 basic SCP1 serialization 2018-07-08 10:02:44 +00:00
Christian Guenter
3ce838269d add timezone to overview page 2018-07-08 09:54:34 +00:00
Christian Guenter
7684e7b2ad merge page: remove duplication 2018-07-08 09:40:00 +00:00
Lars Hvam
290c1109a7
Merge pull request #1588 from JohannesKonings/issue_1585
syntax error in NW 7.31 caused by PARTIALLY IMPLEMENTED #1585
2018-07-08 07:21:01 +02:00
Lars Hvam
c6713e608d
Merge pull request #1587 from JohannesKonings/issue_1586
Embedded Expressions ALPHA cause syntax error on NW 7.31 #1586
2018-07-08 07:19:20 +02:00
Lars Hvam
528f8d7c3c
Merge pull request #1583 from larshp/issue_1449
remove link to plugins #1449
2018-07-08 07:18:51 +02:00
Lars Hvam
997256c0b4
Merge pull request #1577 from larshp/issue_1552
avoid duplicate objects in reset local #1552
2018-07-08 07:18:38 +02:00
Johannes Konings
d605b89090 PARTIALLY IMPLEMENTED removed
https://github.com/larshp/abapGit/issues/1585
2018-07-07 18:31:42 +02:00
Johannes Konings
1f81fd9eff Expressions ALPHA to CONVERSION_EXIT_ALPHA_OUTPUT
https://github.com/larshp/abapGit/issues/1586
2018-07-07 18:03:50 +02:00
larshp
21bd0ec64c remove link to plugins #1449
remove link to plugins #1449
2018-07-07 08:33:52 +00:00
larshp
583397ff31 avoid duplicate objects in reset local #1552
avoid duplicate objects in reset local #1552
2018-07-07 07:56:07 +00:00
larshp
79b6ed0fa5 commit after updating checksums #1562
commit after updating checksums #1562

plus remove some comments
2018-07-07 07:43:19 +00:00
Lars Hvam
0403e29109
Merge pull request #1573 from christianguenter2/issue_1559
run code inspector after conflict resolution
2018-07-07 09:01:14 +02:00
Lars Hvam
3a3c06825b
Merge pull request #1571 from christianguenter2/issue_1544
Add creator and created at to overview page
2018-07-07 08:59:20 +02:00
Lars Hvam
15c2fae36a
Merge pull request #1572 from larshp/issue_1539
PARA as DDIC, #1539
2018-07-07 08:55:55 +02:00
Christian Guenter
c6ebf2be1f run code inspector after conflict resolution 2018-07-06 16:34:16 +02:00
Lars Hvam
20d4605491
Merge pull request #1568 from mkaesemann/feature/X_TO_BITBYTE_optimization
Performance Improvement in X_TO_BITBYTE Conversion
2018-07-06 16:28:07 +02:00
larshp
14683c1aef PARA as DDIC, #1539
this will create the PARA object before the DTEL, tested ok via repo https://github.com/abapGit-tests/DTEL_with_PARA
2018-07-06 13:51:01 +00:00
Christian Guenter
73f2bdd13b Add creator and created at to overview page 2018-07-06 13:46:49 +00:00
Michael Käsemann
f7f78dfc26 Performance Improvement in X_TO_BITBYTE Conversion
- Changed: Since X_TO_BITBYTE only converts a single byte to a bitstring, it is faster to use direct addressing instead of a loop/concatenate pair, since concatenate on characters has to process the whole char array in each run.
2018-07-06 15:39:52 +02:00
Lars Hvam
17d59cc28f
Merge pull request #1563 from mkaesemann/feature/limit_progress_indicator_update
Limit Progress Indicator Updates
2018-07-06 15:23:10 +02:00
mkaesemann
b80a10024b
Moved progress percentage calculation into execution block
Moved the progress percentage calculation into the execution block, because we don't need to calculate the percentage if we are not going to display it.
2018-07-06 15:16:28 +02:00
mkaesemann
7ec692389e
Fixed Date Calculation for Refresh Interval Detection
Forgot to recalculate the date, so we don't run into problems if someone works late at night
2018-07-06 14:54:47 +02:00
larshp
28f1736a41 1.71.0 2018-07-06 12:35:16 +00:00
Lars Hvam
1abce8e84c
Merge pull request #1564 from EduardoCopat/1280
validate sub and super packages from installed repos
2018-07-06 14:29:36 +02:00
larshp
6db1b2fbfa pretty print 2018-07-06 12:20:01 +00:00
Lars Hvam
0fa0c3bfe9
Merge pull request #1534 from christianguenter2/issue_1533
delete empty packages
2018-07-06 14:13:47 +02:00
COPAT
e3676de797 validate sub and super packages from repos
validate sub and super packages from repos
2018-07-05 23:35:29 +02:00
Christian Guenter
ad5ae2a185 delete empty packages 2018-07-05 23:19:32 +02:00
Michael Käsemann
28a1554526 Limit Progress Indicator Updates
Fixed an issue with the progress indicator updates, where updates of the progress indicator would flush the message queue of SAP GUI and cause a GUI crash or hang.
The problem is described in SAP note #2084109 and seems to occur for large repositories (especially after installing SAP GUI 7.50 PL6)
2018-07-05 13:55:59 +02:00
Lars Hvam
6f54a1e9ff
Merge pull request #1553 from flaiker/requirements-ui
Add UI for requirements in repo settings
2018-07-03 07:45:29 +02:00
Lars Hvam
55c77d55f3
Merge pull request #1551 from christianguenter2/issue_1544
add created_by and created_at to repo xml
2018-07-02 19:55:52 +02:00
Lars Hvam
18709bdf74
Merge pull request #1550 from christianguenter2/issue_1543
New repository overview page
2018-07-02 19:50:17 +02:00
Lars Hvam
f1786cb405
Merge pull request #1541 from larshp/issue_1539
Delete PARA after DTEL, #1539
2018-07-02 17:29:53 +02:00
Lars Hvam
b39bab5363
Merge pull request #1538 from larshp/issue_1537
TABL: check existence before SELECTing
2018-07-02 17:29:38 +02:00
Christian Guenter
59128df664 downport code inspector page 2018-07-02 10:38:23 +00:00
Fabian Lupa
127f5a3c9c Remove unused action decode methode 2018-07-02 00:51:38 +02:00
Fabian Lupa
43e91a6296 Add UI for requirements in repo settings
Fixes #1547
2018-07-01 18:27:07 +02:00
Christian Guenter
1c59b131b7 add created_by and created_at to repo xml 2018-07-01 15:53:56 +00:00
Christian Guenter
6dfb6316c6 Repository overview page 2018-07-01 16:47:28 +02:00
Christian Guenter
31fb79f915 Fix naming in file_status 2018-06-30 09:27:46 +00:00
larshp
bd7313b472 Delete PARA after DTEL, #1539 2018-06-28 13:49:32 +00:00
Christian Guenter
10b29556f7 fix bug in run_code_inspection 2018-06-28 13:47:07 +00:00
larshp
dcc765d013 TABL: check existence before SELECTing 2018-06-28 13:11:42 +00:00
larshp
f1ffa6eb26 fix FUGR locking problem
plus show sy-subrc in case of errors from RPY_DYNPRO_INSERT
2018-06-28 12:29:29 +00:00
larshp
eeb07b0e3f 1.70.0 2018-06-28 12:03:30 +00:00
Lars Hvam
52fb9858ff
Merge pull request #1532 from christianguenter2/1460
move db util pages to separate package
2018-06-28 13:41:58 +02:00
Lars Hvam
4e4dac57dc
Merge pull request #1529 from christianguenter2/exp_WAPA_better_diff
WAPA: better delta handling
2018-06-28 13:41:15 +02:00
Lars Hvam
cda961dbe1
Merge pull request #1527 from christianguenter2/tag_popups
tag popups: dependency injection
2018-06-28 13:33:55 +02:00
christianguenter2
ea798193d0 Block commit/push if code inspection has errors
- new local setting to set check variant
- new local setting to block pull if code inspector check fails
- check is executed before staging
- new page to display code inspector results
2018-06-28 13:21:29 +02:00
christianguenter2
557ae3279f move db util pages to separate package 2018-06-28 12:04:25 +02:00
Christian Guenter
a3d26b9901 WAPA: better delta handling 2018-06-26 11:01:42 +02:00
Christian Guenter
fb91909947 tag popups dependency injection 2018-06-25 11:15:46 +02:00
Lars Hvam
307c1395d2
Merge pull request #1523 from christianguenter2/issue_437
Implement IS_LOCKED for W3*, TTYP, TRAN, SSFO, SSST
2018-06-21 14:28:35 +02:00
Lars Hvam
016e66244d
Merge pull request #1522 from christianguenter2/issue_1521
Delete: check if any object is locked
2018-06-21 14:28:01 +02:00
Lars Hvam
f79e4b7f7b
Merge pull request #1520 from christianguenter2/issue_1512
add commit to toggle_favorites
2018-06-21 14:27:44 +02:00
christianguenter2
002f5ba73d Implement IS_LOCKED for W3*, TTYP, TRAN, SSFO, SSST 2018-06-19 18:05:09 +02:00
Christian Guenter
79a0a8fa85 Delete: checks if any object is locked 2018-06-19 13:32:25 +00:00
Christian Guenter
e167464f1d add commit to toggle_favorites 2018-06-19 11:24:00 +00:00
larshp
fa94fa8ea1 unexpected folder structure #1425
treat objects as non existing when outside the starting folder
2018-06-19 08:16:55 +02:00
Lars Hvam
145a82e9ef
Merge pull request #1518 from christianguenter2/issue_1514
Dependency injection for ZCL_ABAPGIT_SAP_PACKAGE
2018-06-18 15:46:34 +02:00
larshp
cac21f2b37 CHAR: implement is_locked 2018-06-18 15:41:13 +02:00
Christian Guenter
36f257f0bb Dependency injection for ZCL_ABAPGIT_SAP_PACKAGE 2018-06-18 15:37:16 +02:00
Lars Hvam
b6894a5e67
Merge pull request #1517 from christianguenter2/issue_437
Block pull if any of deserialized object is locked
2018-06-18 15:32:07 +02:00
Lars Hvam
838769d0bc
Merge pull request #1516 from FreHu/master
Fixed error message when committing without author name
2018-06-18 15:23:47 +02:00
Lars Hvam
b071d6e837
Merge pull request #1513 from larshp/char
CHAR support, #1511
2018-06-18 15:22:49 +02:00
christianguenter2
6521d09470 Block pull if any of deserialized object is locked 2018-06-18 14:18:58 +02:00
Frederik Hudák
7e4285c1a8 Fixed error message when committing 2018-06-18 09:21:51 +02:00
larshp
1290dcec93 CHAR support, #1511 2018-06-17 12:29:29 +00:00
larshp
9f75d6bd2b refresh repo cache after deletion #1482 2018-06-17 08:23:56 +00:00
larshp
a1e23739b2 1.69.1 2018-06-17 07:58:52 +00:00
Lars Hvam
07955081eb
Merge pull request #1508 from larshp/status
file_status, more testing
2018-06-17 09:50:43 +02:00
Lars Hvam
ad0d06e4d0
Merge pull request #1507 from larshp/issue_1502
TABL: consider DD12L in changed_by #1502
2018-06-17 09:50:14 +02:00
Lars Hvam
4ae6a8cabb
Merge pull request #1506 from christianguenter2/popup_interface2
Introduce ZIF_ABAPGIT_POPUPS
2018-06-17 09:50:01 +02:00
christianguenter2
4662883723 Introduce ZIF_ABAPGIT_POPUPS
- create popups with factory ZCL_ABAPGIT_UI_FACTORY
- inject test doubles with injector class ZCL_ABAPGIT_UI_INJECTOR
2018-06-15 11:21:48 +02:00
larshp
a366fed833 file_status, more testing
old broken test removed
2018-06-15 09:20:42 +00:00
larshp
d8a5f395ea TABL: consider DD12L in changed_by #1502 2018-06-15 08:12:42 +00:00
larshp
9352ddbf3f SEO_CS_CACHE downport #1414 2018-06-15 07:29:13 +00:00
Lars Hvam
4f59c42fb4
Merge pull request #1501 from christianguenter2/issue_1390
Introduce injector class
2018-06-15 09:10:03 +02:00
Christian Guenter
6a9acb8a1b add injector class 2018-06-14 20:33:34 +02:00
Christian Guenter
7b9578a11b implement missing interface methods 2018-06-14 18:25:00 +00:00
Lars Hvam
eec7a7d096
refactor file status unit tests (#1499)
* refactor file status unit tests

one method per check
tests in ltcl_file_status2 now successful

* more tests

add helper class
2018-06-14 08:13:37 +02:00
Lars Hvam
602bdf6d96
Merge pull request #1498 from christianguenter2/issue_1494
SSFO deserialization: catch cx_ssf_fb
2018-06-14 06:29:05 +02:00
Lars Hvam
b7fc27cfcf
Merge pull request #1497 from christianguenter2/issue_1493
Pass log object to user exit method change_tadir
2018-06-14 06:28:46 +02:00
Lars Hvam
b71b96fc9f
Merge pull request #1496 from larshp/repo_srv
interface for ZCL_ABAPGIT_REPO_SRV
2018-06-14 06:27:51 +02:00
Lars Hvam
de23d5bf95
Merge pull request #1484 from larshp/issue_1390
first dependency injection, TADIR #1390
2018-06-14 06:27:04 +02:00
Christian Guenter
ce89e75eb9 SSFO deserialization: catch cx_ssf_fb 2018-06-13 19:39:35 +00:00
Christian Guenter
a38d9feaff Pass log object to user exit method change_tadir 2018-06-13 19:15:53 +00:00
larshp
45aa71f2da interface for ZCL_ABAPGIT_REPO_SRV 2018-06-13 17:28:56 +02:00
Lars Hvam
b7c045210b
Merge pull request #1490 from filak-sap/issue_1446
Use the required transport type
2018-06-13 06:53:54 +02:00
Jakub Filak
fb6efabfb9 tp: use the correct transport type in the tr popup
We are developing in an infinity system which is somehow cloned into a
new releases system. When we need to backport a bug fixes we do
cherry-pick the commits and pull them the release system. However, in
those systems we need to use the task type Repair.

Hence, we need to overwrite the default value of the parameter
wi_task_type of the function TRINT_ORDER_CHOICE which is 'S'
(Development/Correction) with the value 'R'.

I use the function TRINT_GET_REQUEST_TYPE and for the sake of simplicity
I assume that it is enough to know the transport type of the repository
package - in other words, it is no necessary to check every deserialized
object.

Related to #1446
2018-06-12 13:33:49 +02:00
Jakub Filak
56c58b7a29 SAP Package: add the method get_transport_type
For the parameters WI_ORDER_TYPE and WI_TASK_TYPE of the function
TRINT_ORDER_CHOICE called from the method popup_transport_request
of the class zcl_abapgit_popups.

Sometimes we need a repair task but the function TRINT_ORDER_CHOICE
searches for Development/Correction tasks.

I hope that we can decide what task type is needed by a package (DEVC).

Related to #1446
2018-06-12 13:33:49 +02:00
Lars Hvam
f846f250a6
Merge pull request #1492 from christianguenter2/1355
disable "no changes" for offline projects
2018-06-12 08:42:20 +02:00
Christian Guenter
a62eae188a disable "no changes" for offline projects 2018-06-11 14:49:20 +00:00
larshp
334ce44c0d DDLS: fix dump #1488 2018-06-11 12:03:59 +02:00
Christian Guenter
3e3cd365a8 Quick fix: duplicate type definition 2018-06-10 17:51:21 +00:00
larshp
4e67e884de first dependency injection #1390
* extract public methods of ZCL_ABAPGIT_TADIR to new interface
* create factory ZCL_ABAPGIT_FACTORY
* refactor existing calls
2018-06-10 12:11:48 +00:00
Lars Hvam
fbadb3537b
Merge pull request #1481 from christianguenter2/tadir_userexit
New exit: change_tadir
2018-06-10 13:57:28 +02:00
larshp
4219c6d162 cl_aunit_assert is obsolete 2018-06-10 11:45:39 +00:00
Christian Guenter
c7179ed509 new exit: change_tadir 2018-06-10 10:59:00 +02:00
larshp
dcf423bc09 main package is also part of repo #1477 2018-06-10 06:24:13 +00:00
larshp
806fbe1a69 1.69.0 2018-06-09 09:54:20 +00:00
Lars Hvam
6af7b9730e
Merge pull request #1476 from christianguenter2/1355
fix gui: show changes only
2018-06-09 11:51:00 +02:00
Lars Hvam
745a10af71
Merge pull request #1474 from christianguenter2/1471
fix checkout annotated tags
2018-06-09 11:50:39 +02:00
Lars Hvam
bd1fefd41d
Merge pull request #1468 from filak-sap/issue_1446_check_ddls
Mass activation: re-check DDIC objs in transport
2018-06-09 11:50:25 +02:00
Lars Hvam
63318afa88
Merge pull request #1465 from christianguenter2/1464
set new remote: supply remote SHA1
2018-06-09 11:49:45 +02:00
Lars Hvam
3e61a0fdfa
Merge pull request #1430 from juancarlosrodriguezf/master
FORM: Error of duplicity because SPRAS is case sensitive
2018-06-09 11:49:19 +02:00
Christian Guenter
8ddeacade5 fix gui show changes only 2018-06-08 08:35:20 +02:00
Christian Guenter
6afa45c5ed fix checkout annotated tags 2018-06-07 21:05:11 +02:00
Lars Hvam
9f5eebf404
Merge pull request #1472 from christianguenter2/1440
Deactivate pull after switching branches and tags
2018-06-07 20:38:45 +02:00
Christian Guenter
8074aa3272 COMMIT WORK AND WAIT after switching tags 2018-06-07 17:30:43 +00:00
Christian Guenter
c32306f54c deactivate pull after switching branches 2018-06-07 17:01:14 +00:00
Jakub Filak
17b808c8a5 Mass activation: re-check DDIC objs in transport
DDLS objects are not cheked in a transport in their deserialize method.
The parallel activation does not call RS_WORKING_OBJECTS_ACTIVATE which
checks in the activated object in a transport.
Therefor, DDLS objecst are never checked in a transport when
the parallel activation is in place (the option experimental features
is enabled - which is enabled by default on all our systems).

I wanted to use TRINT_OBJECTS_CHECK_AND_INSERT because this function
is used by ADT:

CL_WB_ADT_REST_RESOURCE~post
    CL_WB_ADT_REST_RESOURCE_DATA
    ~if_wb_adt_rest_resource_data~get_transport_key
        CL_WB_OBJECT~get_transport_key -> PGMID%3DR3TR, OBJTYPE%3DDDLS
    CL_WB_ADT_REST_RESOURCE~lock
        CL_WB_ADT_REST_RESOURCE~check_obj_in_transport_request
            CL_ADT_CTS_MANAGEMENT~check_objects_in_request
                CL_ADT_CTS_MANAGEMENT~LCL_DB_PERSISTENCE~check_objects
                    CALL FUNCTION CTS_WBO_API_CHECK_OBJECTS
                        CALL FUNCTION TRINT_WBO_IMPL_CHECK_OBJECTS
                            SAPLCTS_WBO_API_IMPL /
                            LCTS_WBO_API_IMPLF06 /
      FORM CALL_OBJECTS_CHECK_AND_INSERT
                                CALL FUNCTION
                                TRINT_OBJECTS_CHECK_AND_INSERT


But it is not enough to call this function, hence, I use RS_CORR_INSERT
which was mentioned by @larshp in our slack conversation. The function
internally use calls TRINT_OBJECTS_CHECK_AND_INSERT.

I tested this patch with modification of a CDS view and also with 
adding a new CDS view.

Closes #1466
2018-06-07 16:10:23 +02:00
juancarlosrodriguezf
857947b03d
Use the 2-character code for language. Downwards compatibility.
Check first the new 2-character file name, if fail, use the old name.
2018-06-07 12:02:24 +02:00
Christian Guenter
41d09125d4 set new remote: supply remote SHA1 2018-06-07 11:01:56 +02:00
larshp
61fb07bffc 1.68.3 2018-06-06 14:44:22 +00:00
Lars Hvam
2f2712d146
Merge pull request #1463 from christianguenter2/1088_01
redesign create tag page
2018-06-06 16:40:00 +02:00
Lars Hvam
21889dddf7
Merge pull request #1462 from filak-sap/issue_1427
TABL: ignore the unused field RESERVEDTE
2018-06-06 16:38:32 +02:00
Lars Hvam
5baeaf070c
Minor changes (#1461)
* remove double space after IF

* remove accesses to table bodies

* remove parameter name where possible

* identical code in conditions
2018-06-06 16:24:15 +02:00
Lars Hvam
12c48ebb50
fix dump #1457 (#1459) 2018-06-06 16:23:36 +02:00
Lars Hvam
41344dec3a
news feature #1450 (#1453)
now works for both "/abapGit" and "/abapGit.git" urls
2018-06-06 16:23:23 +02:00
Lars Hvam
aff81df37e
FUGR: force update of where-used #1441 (#1452)
Updates the where-used after deletion for all includes
2018-06-06 16:23:03 +02:00
Christian Guenter
319abf5b7b redesign create tag page 2018-06-06 14:20:22 +02:00
Jakub Filak
e71358f744 tabl: ignore the unused field RESERVEDTE
The short description contains "(unused)".
For some strange reason, I saw that field set to D in one of our sandbox
systems.

Addresses the issue #1427.
2018-06-06 08:03:51 +02:00
larshp
353c1a15f2 change agent #1432
example "git/2.0 (abapGit 1.68.0)"

removed "v" in front of version number
2018-06-05 07:46:19 +00:00
larshp
ce79d2a841 v1.68.2 2018-06-04 13:27:43 +00:00
Lars Hvam
4417c3257c
Merge pull request #1445 from christianguenter2/1408
fix format empty xml attributes
2018-06-04 15:12:41 +02:00
Lars Hvam
6b42e59afa
Merge pull request #1444 from christianguenter2/1408_ecatt
ECATT: remove empty attributes
2018-06-04 15:12:25 +02:00
Lars Hvam
10dbd74f57
Minor changes (#1442)
* remove try without catch

* reduce nesting

* reduce nesting

* reduce line length
2018-06-04 15:12:03 +02:00
Lars Hvam
71bcc8afac
CLAS: ignore deletion of non-existent objects (#1439)
* CLAS: ignore deletion of non-existent objects
2018-06-04 15:11:41 +02:00
Lars Hvam
f1c15b1e95
fix TOBJ diffs, #1435 (#1437) 2018-06-04 15:11:23 +02:00
Lars Hvam
068cf963d9
ENHO: implement changed_by #1417 (#1436) 2018-06-04 15:10:49 +02:00
Christian Guenter
6812fd56f6 fix format empty xml attributes 2018-06-04 09:38:40 +02:00
Christian Guenter
d5e9506d51 ECATT: remove empty attributes 2018-06-04 09:09:42 +02:00
larshp
71787d74f0 evaluate 2FA implementations alphabetically #1443 2018-06-03 14:14:19 +00:00
larshp
9cecd077da testclass: fix syntax warning, implement method 2018-06-03 12:35:50 +00:00
larshp
d4a96b28f7 v1.68.1 2018-06-03 10:33:33 +00:00
Lars Hvam
c02e6533c8
Merge pull request #1433 from christianguenter2/1431
Fix XSLT diff, 1431
2018-06-02 12:00:13 +02:00
Christian Guenter
ca0b203940 XSLT fix changed by 2018-06-02 07:10:29 +00:00
Christian Guenter
387b8b9cc2 fix xml syntax for sole closing tag 2018-06-02 09:06:41 +02:00
juancarlosrodriguezf
c7224bdc26
Error of duplicity because SPRAS is case sensitive
Old code generate error of duplicity because SPRAS is case sensitive, but the name of files not.

New code use the 2-caracteres code for language.

Examples (T002):

SPRAS: 'C' -> LAISO: CS -> 'Czech'
SPRAS: 'c' -> LAISO: CA -> 'Catalan'
2018-05-31 14:54:13 +02:00
ThomasPloski
3587ff8d39
Delivery class of database table zabapgit changed
Delivery class L offers a table design w/o client field information
2018-05-30 08:11:33 +02:00
Lars Hvam
4974e0c8d8
Merge pull request #1419 from larshp/issue_1418
docs: update SSL test program
2018-05-29 15:56:43 +02:00
Christian Guenter
039eb1e1fa move parse_tag_request to page 2018-05-28 06:37:14 +00:00
larshp
1ff3debbbc v1.68.0 2018-05-27 15:05:02 +00:00
Lars Hvam
b89559eda3
Merge pull request #1416 from christianguenter2/exp_annotated_tags
implement annotated tags
2018-05-27 16:47:44 +02:00
WolfTreak
0aecdf7255 Possible solution to zabapgit merge functionality to resolve conflicts (#1407)
* Merging per Textfile

* Add files via upload

* Delete WolfTreak_ABAPGIT_Merging

* Refactoring vom Coding, Darstellung verbessert

* Merging page changed and also merging class extended to instance and conflict methods added

* Refactoring for Travis

* Refactoring for Travis

* Escaping of merged content functions now correct
2018-05-27 16:20:43 +02:00
larshp
9431a24156 api.github.com SSL error, add comment 2018-05-27 13:54:08 +00:00
Christian Guenter
2c80628de3 implement annotated tags 2018-05-26 22:16:43 +02:00
Christian Guenter
db1f729487 replace commit work with commit work and wait 2018-05-22 16:17:34 +00:00
Lars Hvam
5c7986068a
Merge pull request #1409 from JohannesKonings/issue_1132
ZCL_ABAPGIT_SETTINGS: fix naming convention
2018-05-21 13:50:28 +02:00
larshp
5b3e22c241 v1.67.0 2018-05-19 07:31:11 +00:00
Lars Hvam
b4e90be755
Merge pull request #1401 from christianguenter2/IEXT
IEXT serialization
2018-05-19 09:27:39 +02:00
Lars Hvam
337298091d
Merge pull request #1400 from christianguenter2/IDOC
IDOC serialization
2018-05-19 09:27:10 +02:00
Lars Hvam
9520fb1e52
Merge pull request #1388 from larshp/issue_1378
Moving an object should be a deletion #1378
2018-05-19 09:24:14 +02:00
Lars Hvam
8e06774319
Merge pull request #1383 from larshp/issue_1372
set default starting folder to src, close #1372
2018-05-19 09:23:23 +02:00
Christian Guenter
c57d07851e IEXT serialization 2018-05-14 22:15:00 +02:00
Christian Guenter
e27cf4c452 IDOC serialization 2018-05-14 20:57:11 +02:00
Lars Hvam
6c09d64d39
Merge pull request #1398 from christianguenter2/1391
Package to zip: check if package exists
2018-05-14 16:44:46 +02:00
Lars Hvam
845aeec1c7
Merge pull request #1397 from christianguenter2/1395
DOMA: catch cx_sy_dyn_call_param_not_found
2018-05-14 16:44:34 +02:00
Lars Hvam
72f89f74f5
Merge pull request #1393 from christianguenter2/1392
change assert to exception for invalid folder logic
2018-05-14 16:44:12 +02:00
Lars Hvam
cf48d3964b
Merge pull request #1389 from christianguenter2/703
Log: show ALV popup
2018-05-14 16:43:50 +02:00
Lars Hvam
bb7c8f0ee6
Merge pull request #1386 from JohannesKonings/master
changed author regex
2018-05-14 16:38:00 +02:00
Lars Hvam
e3d20a5068
Merge pull request #1384 from larshp/cancel_list_popup
fix cancel in select from list popup #1050
2018-05-14 16:37:11 +02:00
Christian Guenter
542e290450 Log: show ALV popup 2018-05-14 13:22:33 +02:00
Christian Guenter
8b864df0d0 Package to zip: check if package exists 2018-05-14 13:13:51 +02:00
Christian G#nter
98ee4fdde5 DOMA: catch cx_sy_dyn_call_param_not_found 2018-05-14 10:54:06 +00:00
Lars Hvam
44dea3ab5f
Merge pull request #1396 from christianguenter2/1395
DOMA: revert 82ece0f
2018-05-14 12:21:55 +02:00
Christian G#nter
11256b44e2 DOMA: revert 82ece0f 2018-05-14 10:14:07 +00:00
Jakub Filak
b4956a6ce8 DDLS: fix a syntax error on ABAP <7.4
Introduced in 2f9e46421b
Reported as 2f9e46421b (r28962636)
Thank you, @testitorleaveit
2018-05-14 10:31:24 +02:00
Christian Guenter
1a15300927 change assert to exception for invalid folder log. 2018-05-13 13:01:58 +02:00
Johannes Konings
d172805396 ZCL_ABAPGIT_SETTINGS: fixe naming convention
https://github.com/larshp/abapGit/issues/1132
2018-05-13 12:11:22 +02:00
larshp
cd78d6e8e0 Moving an object should be a deletion #1378 2018-05-13 09:34:33 +00:00
Johannes Konings
e647b3be1d changed author regex
https://github.com/larshp/abapGit/issues/1381
https://github.com/larshp/abapGit/issues/1379

changed (added: '\,\#')
from
'^([\\\w\s\.@\-_1-9\(\) ]+) <(.*)> (\d{10})\s?.\d{4}$'
to
'^([\\\w\s\.\,\#@\-_1-9\(\) ]+) <(.*)> (\d{10})\s?.\d{4}$'
2018-05-13 11:09:43 +02:00
larshp
bd0a6ff34a fix cancel in select from list popup #1050 2018-05-13 08:43:06 +00:00
larshp
9b22d879a0 set default starting folder to src, close #1372 2018-05-13 07:30:28 +00:00
Jakub Filak
2f9e46421b DDLS: ignore ACTFLAG and CHGFLAG
Changes to these components disrupt me for nothing.
I do not believe these components needs to be versioned.
2018-05-11 14:47:43 +02:00
larshp
7f44ab3e89 v1.66.0 2018-05-11 08:20:13 +00:00
Lars Hvam
03f7ce2bc6
Merge pull request #1376 from christianguenter2/1054
DOMA fix delete fix value appends
2018-05-11 10:15:59 +02:00
Lars Hvam
aad449bb15
Merge pull request #1375 from christianguenter2/1259
Only show transport popup when needed
2018-05-11 10:15:43 +02:00
Lars Hvam
55d1007c3e
Merge pull request #1374 from larshp/issue_1373
remove old migrations #1373
2018-05-11 10:15:17 +02:00