Commit Graph

4590 Commits

Author SHA1 Message Date
Lars Hvam
055d631d75
update deps (#4638)
* update deps

* add ZCL_ABAPGIT_GIT_ADD_PATCH

* upd
2021-03-16 16:56:06 +01:00
Lars Hvam
e31e641f10
overview page, dont display ".git" (#4632)
* overview page, dont display ".git"

dont display ".git" in the urls in the overview page, to save a bit more horizontal space

also see #4539

* dont use regex
2021-03-16 16:51:04 +01:00
Lars Hvam
5a121a2174
perf test, dont look for current package (#4642)
the user can input the package anyhow

decouples the perf test option from gui #4639, plus will make it easier to implement #4641
2021-03-15 15:54:56 +01:00
Lars Hvam
16ca0fef77
ZCL_ABAPGIT_GUI delete unused GO_PAGE (#4640) 2021-03-15 15:30:21 +01:00
Lars Hvam
f108143a90
add ORDER BY (#4629)
* add ORDER BY

* wdcc, add ORDER BY

* wapa add order by

* udmo, add order by

* tobj, add order by

* stvi, add order by

* CHAR, add order by

* CMOD, add order by

* dial, order by
2021-03-15 15:25:02 +01:00
Lars Hvam
70fdc8771e
CTS API: remove unused iv_resolve_task_to_request (#4633) 2021-03-13 13:29:05 +01:00
g-back
72f34f5bdf
Refactor "Object to Files" to html form (#4623)
* start conversion from popup to html form

* replace magic with constants

* revert label

* restructure to gui component


modify export object logic

* adjust whitespace

* remove test_changed_by functionality

* remove popup_object

Co-authored-by: Goran Back <g.back@geringhoff.de>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-12 12:31:17 +01:00
Lars Hvam
a5856a04c7
update npm deps, update abaplint configuration to latest (#4628)
* update deps

* update abaplint config

* update to latest

* upd

* upd
2021-03-12 07:17:05 +01:00
Marc Bernard
a1cc7f8668
CLAS: Fix several issues related to class includes (#4510)
* CLAS: Remove test class include

Once unit tests are disabled, the test class include is now completely removed (before it might have still contains obsolete code).

Closes #4460

* Reverse pp

* Update 6 objects

* Typo

* Typo

* Revert

* Revert

* Revert

* Revert

* Revert

* Lint

* Update zcl_abapgit_oo_class.clas.abap

* Move add_to_activation

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-12 07:05:47 +01:00
Mike Pokraka
bb0591f12e
Update unit test to match changed message (#4631) 2021-03-12 07:02:25 +01:00
g-back
71c4849ae5
Minor Fixes (#4627)
* remove exception from signature, remove comment

* change search help, try fieldname first

* enable lang switch when multiple tcodes are assgnd
2021-03-11 14:51:48 +01:00
Lars Hvam
8dc1156d75
Apack migration, Suppress dialog (#4616)
#4612
2021-03-10 07:31:18 +01:00
Lars Hvam
26c81be9fd
Refactor "Change Remote" to html form (#4617)
* Refactor "Change Remote" to html form

* upd

* cleanup

* less whitespace

* update logic and descriptions
2021-03-10 07:29:13 +01:00
Marc Bernard
f28d3e9441
CI Tests: Small improvements (#4618)
- Allow passing of longer test repo names (len > 4)
- Raise errors after each test phase
2021-03-09 17:00:36 +01:00
yellappam
0f2020b5c1
Unsupported object count in repo statistics (#4601)
* Add unsupported object count in repo statistics

* lint fix: Keep single parameter on one line

* Fix indentation

* Undo changes to TADIR and DEFINITIONS

Undo changes to ZCL_ABAPGIT_TADIR and ZIF_ABAPGIT_DEFINITIONS

* Refactor code

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-09 12:13:10 +01:00
Lars Hvam
f6fe626cbb
update deps + abapmerge, expand unit testing (#4604)
* update deps

* upd

* upd

* update deps

* another file covered

* update deps

* add intf

* add intf

* update to latest

* update

* zcl_abapgit_time covered

* update deps

* zcl_abapgit_html_action_utils done

* add zcl_abapgit_gui_event

* update abapmerge
2021-03-09 07:22:17 +01:00
Christian Günter
d7e43fc0b9
Diff calculation: improve performance (#4603)
* Diff calculation improve performance

* optimize table access

Co-authored-by: Christian Günter <Christian.Guenter@zuerich.ch>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-07 12:25:10 +01:00
Lars Hvam
72f08d64b1
refactor, remove use of CNHT_POST_DATA_LINE (#4607) 2021-03-07 12:18:20 +01:00
Lars Hvam
d7f74bd49c
zif_abapgit_poups cleanup (#4608)
* zif_abapgit_poups cleanup

delete method POPUP_TO_INFORM

* delete method POPUP_PROXY_BYPASS
2021-03-07 12:15:26 +01:00
Jakub Filak
cce8660054
objects: do not consider only native objects as supported (#4611)
After the pull request:
https://github.com/abapGit/abapGit/pull/4589

Objects supported by abapGit-plugins are not deserialized and
all are reported as not supported.

Closes #4610

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-06 22:31:49 +01:00
Lars Hvam
043d8e1ef2
zcl_abapgit_time, rounding not needed (#4609)
changed the type to an integer, then the rounding is not needed

minor change, more simple code
2021-03-06 16:06:33 +01:00
Alexander Tsybulsky
17eac7b6c3
Strip XML details user exit (#4599)
* exit draft

* call exit

* linter fix

* PRE_CALCULATE_REPO_STATUS docs

* settings UI

* wire status calculation and repo settings

* uppercase

* diff rendering fix

* adjust docs

* adjust docs

* Remove settings

* more docs adjustments

* pass repo meta data into the exit

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-06 09:35:35 +01:00
Lars Hvam
a77160e58c
refactor, remove bcs and solix usage (#4605)
* refactor, remove bcs and solix usage

* DEFAULT KEY
2021-03-06 08:56:02 +01:00
Lars Hvam
393771e6ef
allow switching branches in write protected repos (#4595)
* allow switching branches in write protected repos

* fix
2021-03-06 08:43:18 +01:00
Lars Hvam
d071af51cd
docs: ref-exits bugfix (#4600) 2021-03-05 12:12:08 +01:00
Lars Hvam
91446c7ebe
docs: link user exit CHANGE_TADIR example (#4596) 2021-03-04 08:52:27 +01:00
yellappam
1a94c9a0f0
TYPE: Serialize active version (#4593)
* TYPE: Serialize active version

When a new type-pools is created, SAP creates active version by default. SY-SUBRC is always set to 0 for the first function module call as there is always an active version hence, second function will never be called. Remove the second call.

* Multiple changes

Check existence of the object using TADIR entry
If the active object doesn't exist, show proper message

* Existence check using PROGDIR

* Replace SELECT..ENDSELECT

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-04 08:49:44 +01:00
Christian Günter
b3de7a5189
Update README.md (#4598) 2021-03-03 20:10:08 +01:00
yellappam
09353951eb
Group unsupported object type messages (#4589)
* Group unsupported messages per object type

When number of unsupported objects increase in a package, user needs to scroll through the long list of messages. This change groups messages per object type reducing the number of messages. Also, the filtering before serialization is good in terms of effective work process utilization( in parallel mode ).

* Replace LINE_EXISTS with READ TABLE

* Cache the supported object types

* Show object name 

If there is only one object name for the unsupported object type, show the name.

* Spelling: "object(s)" to "objects"

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-03 05:36:21 +01:00
Christian Günter
011dfc6590
Distinguish repo and file diffs to fix d-hotkey (#4591) 2021-03-03 05:30:21 +01:00
Marc Bernard
8a0af2fc67
DDIC: Error message in case of "new" versions (#4584)
In case DDIC objects exist as "new" version only , the system will now raise an error message to alert the user that "No active version was found". 

Note: The log will disappear after some navigation and such objects will not be included in the repo view if they only exist locally (until they are activated).
2021-03-02 17:38:26 +01:00
Alexander Tsybulsky
67822ae13f
docs for i18n features (#4576)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-01 16:02:57 +01:00
Lars Hvam
46670898f1
update deps (#4579) 2021-03-01 12:20:42 +01:00
Alexander Tsybulsky
3df4863feb
LXE langs refactoring (#4494)
* main refactoring part

* linter fix

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-01 07:02:04 +01:00
sandraros
8edc8736f7
Fix pull clasenh "file emxxx not found" #4515 (#4552)
* Fix #4515

Fix #4515 by serializing new TAB_INCLUDES to contain include numbers of new methods of classes.

* Last fix before pull request

* files named "em_<methodname>" instead "emxxx"

* editorder without gaps

* Cleanup commented out line

* fixes abaplint

Co-authored-by: sandra rossi <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-28 19:40:54 +01:00
Marc Bernard
8cdeff8f16
Docs: Fix "Back to User Docs" (#4573)
* Move to img

* Move to img

* Fix "back to docs"
2021-02-28 18:53:42 +01:00
Lars Hvam
02a8c719a0
default branch updates (#4572)
* Update build.yml

* docs updates

* readme and contributing adjusted
2021-02-28 18:07:37 +01:00
Marc Bernard
da43c34fc4
DEVC: Unlock in case of errors (#4561)
* DEVC: Unlock in case of errors

If a package object cannot be deleted or deserialized properly, it remains locked.

The change unlocks the object in these cases.

* Update set_lock

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-28 17:16:33 +01:00
Marc Bernard
0392543ff5
AVAR: Unlock after deserialize (#4560)
* AVAR: Unlock after deserialize

* Dequeue

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-28 17:07:15 +01:00
Lars Hvam
99b3168666
1.106.0 (#4570)
* 1.106.0

* v1.106.0
2021-02-28 11:01:35 +01:00
Marc Bernard
f8076e9ca2
TABL: Remove field position from serialization (#4508)
* TABL: Remove field position from serialization

It's not necessary to serialize field position (`DD03P-POSTION`). Fields can simply be numberred sequentially during deserialize.

This avoid issues with include structures that have different number of fields in original and target systems.

Closes #4506

* Clear tabname, ddlanguage

* Lint

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Clear dd08v-ddlanguage

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-28 10:47:16 +01:00
Lars Hvam
09ce51e646
WDCC fix dump (#4563)
* WDCC fix dump

* Update zcl_abapgit_object_wdcc.clas.abap
2021-02-28 10:09:58 +01:00
Marc Bernard
e9f8a58cba
Docs: Clarify serializing active/inactive objects (#4566)
* Clarify serializing active/inactive objects

* Update serializers.md

* fix typo

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-28 10:07:45 +01:00
Marc Bernard
7da94f396d
Fix jump to objects with special characters (#4558)
Fixes jump to an object in case the object name contains escaped characters

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-24 05:55:23 +01:00
Marc Bernard
db61b57b80
DEVC: Avoid syntax check warning (#4559)
* DEVC: Avoid syntax check warning 

Add pragma

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-24 05:53:34 +01:00
Lars Hvam
7112c4ff3a
WDCC serialization, fix dump (#4557)
in case the xml is empty, skip the pretty print, this will avoid a short dump during pretty printing
2021-02-24 05:51:28 +01:00
Lars Hvam
4a30f00a7e
HTML, minor performance? (#4553)
* HTML, minor performance?

@FreHu can you try this, to see if the performance is a few ms better?

* upd
2021-02-22 06:51:24 +01:00
Frederik Hudák
357203034c
zif_abapgit_persist_repo~update_metadata - don't load all repositories (#4554)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-22 06:49:15 +01:00
Lars Hvam
b7d6870077
parsing git branch list, throw errors (#4547)
* parsing git branch list, throw errors

closes #4523

* downport

* fix whitespace

* bugfix
2021-02-21 16:21:34 +01:00
Frederik Hudák
add83f5b94
Repo overview performance improvements (#4541)
* Repo overview performance improvements

* Rework map_repo_list_to_overview

* Reduce usages of get_key

* Fix inline data

* Don't load package descriptions in repo overview

the select is expensive

* suppress titles for non-favorite repositories

* lint

* Update src/ui/zcl_abapgit_gui_page_repo_over.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* optimize render_repo_palette

* Optimize gui_router

* Update zcl_abapgit_gui_page_repo_over.clas.abap

* Update zcl_abapgit_migrations.clas.abap

* remove unused variable

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-21 11:29:01 +01:00