Commit Graph

4616 Commits

Author SHA1 Message Date
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
Frederik Hudák
bbeb1e7a58
Remove user setting migration (#4551) 2021-02-21 09:26:31 +01:00
Lars Hvam
155044e2a6
GET_REPO_SHOW dont lookup empty key (#4550)
if the key is empty, dont try looking it up
2021-02-20 20:22:54 +01:00
Frederik Hudák
e68feff2e1
Main page - disable hover info for package/user links (#4545)
* Main page - Only show hover info for favorites

in package, user links

suppress titles for non-favorite repositories

* always suppress loading titles in repo overview

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-20 17:22:25 +01:00
Frederik Hudák
982679b40d
Remove local_dot_abapgit migration (#4543)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-20 17:18:34 +01:00
Frederik Hudák
c3012513b3
Optimize performance of switching branches (#4548) 2021-02-20 17:16:50 +01:00
Lars Hvam
3c34b8b678
update deps in package.json to latest (#4546) 2021-02-20 14:47:26 +01:00
Lars Hvam
38854d54d6
docs: API documentation updates (#4535)
* docs: API documentation updates

* remove broken link

* add note regarding branch creation

* fix typo

* Update api.md
2021-02-20 13:08:28 +01:00
Lars Hvam
40cd29297d
overview page, dont display "https://" (#4539)
* overview page, dont display "https://"

dont display "https://" or "http://" in overview page

delete unused method HAS_FAVORITES

* add title
2021-02-20 10:28:02 +01:00
yellappam
338cf6a358
Background logic to log exception and continue (#4534)
When executing the background logic if a repo processing fails, then log the error and continue processing with next repository.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-20 10:17:43 +01:00
Lars Hvam
f01182a91a
zcl_abapgit_pr_enumerator cleanup (#4536)
* zcl_abapgit_pr_enumerator cleanup

* Update zcl_abapgit_pr_enumerator.clas.abap
2021-02-20 10:15:28 +01:00
Lars Hvam
312259a2d7
docs: Update guide-regular-backup.md (#4533)
* Update guide-regular-backup.md

* contributing, add links

* Update abaplint.json
2021-02-19 05:17:37 +01:00
Lars Hvam
d0a7f97dda
additional forbidden void types (#4532) 2021-02-18 15:53:59 +01:00
Lars Hvam
ed89d2dd7c
update abaplint.json, dont define the same constant twice (#4531) 2021-02-18 14:55:11 +01:00
Marc Bernard
eea7f2527a
PARA: Unlock in case of errors (#4526)
If a PARA object cannot be deleted, it remains locked.



The change unlocks the object in this case.
2021-02-18 06:29:42 +01:00
Christian Günter
5d1aaa4eba
SUSH - raise error if not supported (#4521) 2021-02-17 06:37:31 +01:00
Ludwig Stockbauer-Muhr
f7de72c2aa
fixes deserialization issue of FUGR includes (#4518)
Closes #4517
2021-02-16 19:12:50 +01:00
Lars Hvam
5efc7a63ab
update deps in package.json (#4514)
* update deps in package.json

* enable rule max_one_method_parameter_per_line
2021-02-15 14:16:16 +01:00
Marc Bernard
7e0b75d2a8
Deserialize: Commit changes before activation (#4509)
* Deserialize: Commit changes before activation

Some objects (like `prog` or `intf`) are deserialized as inactive objects i.e. uncommitted changes. Usually, these changes are committed to the database after the activation process (end of the session). However, if there are any errors during activation, an exception is raised which will automatically do a `rollback work`. 

This change will make sure that inactive objects are preserved even if the activation fails. One can then analyze the inactive objects, make necessary corrections, and activate them manually.

Closes #4500

* Replace with standard function

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-14 09:29:50 +01:00
Marc Bernard
21751c622c
Tweak HTTP error messages (#4511)
* Tweak HTTP error messages

- Minor changes to error texts
- Add HTTP 422 which can happen on gitlab if you ommit ".git" in the URL

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-13 17:12:07 +01:00
Marc Bernard
b4cd1695ab
XSLT: Unlock in case of errors (#4512)
If an XSLT object has for example syntax errors, it remains locked and can't be edited:

The change unlocks the object in this case.
2021-02-13 17:09:29 +01:00
Lars Hvam
da53a04abb
zif_abapgit_html_viewer: refactor CNHT_POST_DATA_TAB & CNHT_QUERY_TABLE (#4499)
* zif_abapgit_html_viewer

* fix syntax
2021-02-12 11:05:46 +01:00
Lars Hvam
fc3fbbaba8
remove install abapgit option from debug page (#4501)
* remove install abapgit from debug page

* fix
2021-02-11 06:51:21 +01:00
nesl9
401a52da4e
Fixes issue referenced in #4487 (#4504) 2021-02-11 06:42:20 +01:00
Lars Hvam
8e07d46f4b
jump_se11, remove unused parameters (#4498) 2021-02-09 15:50:27 +01:00