Commit Graph

2315 Commits

Author SHA1 Message Date
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
Lars Hvam
e2b430779d
clone without pull #832 (#1371)
* create online without pull #832

* update tutorial

* fix indentation
2018-05-11 10:14:51 +02:00
Lars Hvam
70f595e359
Merge pull request #1369 from larshp/issue_1363
error message, #1363
2018-05-11 10:12:25 +02:00
Lars Hvam
b2bc138626
better error message, #1365 (#1367)
* better error message, #1365

* Update zcl_abapgit_popups.clas.abap

* Update zcl_abapgit_popups.clas.abap
2018-05-11 10:10:52 +02:00
Christian Günter
916860315b Table comparison: exclude structures (#1343)
* Table comparison: exclude structure

* structures used in tables

* fix conditionals
2018-05-11 10:10:29 +02:00
Christian Guenter
82ece0ff3c DOMA fix delete fix value appends 2018-05-10 20:10:56 +00:00
Christian Guenter
35ec1085e2 Only show transport popup when needed 2018-05-10 21:48:36 +02:00
larshp
1fa2362a96 remove old migrations #1373 2018-05-10 09:00:36 +00:00
larshp
b6241b3472 error message, #1363 2018-05-10 07:30:09 +00:00
larshp
4657965117 fix dump 2018-05-10 06:17:25 +00:00
Lars Hvam
8846b2d774
Merge pull request #1357 from larshp/issue_1356
set devclass to blank if obj does not exist #1356
2018-05-10 07:53:00 +02:00
Lars Hvam
773a4fefd5
Merge pull request #1351 from larshp/issue_1347_1350
fix #1347 and #1350
2018-05-10 07:52:19 +02:00
Lars Hvam
bbf9ac8c41
Merge pull request #1340 from christianguenter2/1333
refactor transport popup
2018-05-10 07:48:32 +02:00
Lars Hvam
de40ef6702
Merge pull request #1346 from larshp/issue_1344
error parsing xml, #1344
2018-05-08 19:34:26 +02:00
Christian Guenter
582a3ab02a refactor transport popup 2018-05-08 19:09:30 +02:00
Christian Guenter
7d149f3673 downport ECATT 2018-05-08 14:22:53 +02:00
Christian Guenter
0792fd8b64 downport DEVC 2018-05-08 08:29:36 +00:00
Christian Guenter
4e85e2b7a5 ecatt downport 2018-05-08 10:15:37 +02:00