Commit Graph

4704 Commits

Author SHA1 Message Date
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
Marc Bernard
8c9bca3a4f
Fix display of log after uninstall (#4490)
The uninstall log was dropped too early during refresh of repo. Now it's passed properly to the UI.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-09 07:37:04 +01:00
Marc Bernard
3766260312
Correct statistics for offline repos (#4489)
* Correct statistics for offline repos

- Adjust labels: "Remote" to "ZIP"
- Fix some file counts

* ZIP

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-09 07:33:17 +01:00
Jan Ježek
901d877206
Serialise only main language for shi3 objects (#4497) 2021-02-09 07:31:16 +01:00
Marc Bernard
3db8c950b8
Adjust "ZIP" spelling (#4495)
* ZIP

* ZIP

* ZIP

* ZIP

* ZIP
2021-02-08 14:46:05 +01:00
Marc Bernard
c26d2158a1
Fix minor CSS issues (#4492)
Fix the following issues to make it CSS3 compliant:
- Font-style bold is not a font-style value
- Family names containing whitespace should be quoted
- Same color for background-color and border-color

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-06 09:39:03 +01:00
Marc Bernard
30201d4329
I18N: Catch exceptions (#4491)
* I18N: Catch exceptions

Handle exceptions properly and avoid unnecessary serializations

* Remove pragma

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-06 09:36:29 +01:00
Marc Bernard
a15ca2a801
Remove packages from duplicate file check (#4488)
* Remove packages from duplicate file check 

Closes #4485

* Lint
2021-02-05 07:18:38 +01:00
Christian Günter
3674fa55fc
fix sapevents for chromium based browser control (#4478)
* fix sapevents for chromium based browser control

* Fix tooltip hotkey + remove duplication

* fix eslint errors

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-04 15:18:10 +01:00
Marc Bernard
73576ee60e
Improve error messages (#4472)
* Improve error messages

Pass T100 messages to UI/log

* T100 errors

* APACK

* OO

* DEVC

* DRUL

* DTDC

* SRVB

* OBJS

* Program

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-03 16:31:55 +01:00
Marc Bernard
13d3d0aac1
Replace void types (#4484) 2021-02-03 05:53:50 +01:00
Marc Bernard
dd813ed807
DEVC: Fix check if package is empty (#4466)
* DEVC: Fix check if package is empty

SOTR object is linked to SAP package and removed together with the package on uninstall. Therefore, it should not be taken into account when checking if a package is empty.

* Update comment

Co-authored-by: Lars Hvam <larshp@hotmail.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-02 21:01:48 +01:00
Marc Bernard
0cd25ce331
SICF: Fix regression (#4481)
Removed code is part of `adjust_objects` already (https://github.com/abapGit/abapGit/pull/4426)
2021-02-02 07:31:17 +01:00