Commit Graph

2837 Commits

Author SHA1 Message Date
Fabian Lupa
8ad4d130d4
Fix sort by created at in repo overview (#3919)
Fixes #3918

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-22 08:56:58 +02:00
Fabian Lupa
a2f57aeb9a
Split up global settings button and utility menu (#3913)
* Split settings and dev utils menu

* Fix missing settings hotkey on repo view

* Revert "Fix missing settings hotkey on repo view"

This reverts commit 1444744a5f.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-22 08:54:40 +02:00
Marc Bernard
df0eaf32ce
SHI3: Deserialized buffermode (#3923) 2020-09-22 08:17:28 +02:00
Lars Hvam
015800b45b
Less DDIC references (#3905)
* remove uses of CHAR30

* Update abaplint.json

* add basic unit test for ZCL_ABAPGIT_MESSAGE_HELPER

* replace uses of char50

* fix name

* Update abaplint.json

* use sy-uname instead of uname

in ZCL_ABAPGIT_USER_MASTER_RECORD
2020-09-21 07:39:22 +02:00
Fabian Lupa
a16a903f57
Show repo list button in tutorial (#3910)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-20 09:43:54 +02:00
Fabian Lupa
bab9b7ba22
Show tutorial if there are no repos (#3907)
Fixes #3553

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-20 09:40:57 +02:00
Alexander Tsybulsky
aae82485e0
html_form chaining (#3908) 2020-09-20 09:29:12 +02:00
Alexander Tsybulsky
6e515e1063
Unified validate and normalize form params in html_form class (#3904)
* html_from - validate and normalize form params

* docs
2020-09-20 07:41:46 +02:00
Alexander Tsybulsky
9574dca828
html event abstraction, phase 2 (action utils usage unification) (#3902)
* action utils improvements

* page unifications

* linter
2020-09-19 11:02:01 +02:00
Marc Bernard
c264588ab2
SHI3: Fix "IMG structure ID still used" (#3901)
Follow-up

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-19 07:59:21 +02:00
Alexander Tsybulsky
555f2f3d0b
html event abstraction, phase 1 (#3900)
* event class, interface and gui

* router adaptation

* rest of the pages

* linter fixes

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-19 07:57:39 +02:00
Fabian Lupa
143a7ccc1c
Downport, fixes #3897 (#3899) 2020-09-19 07:54:36 +02:00
g-back
7871d23fef
XML Input/Output: Remove Aliases (#3898)
* change XML reference to interface

* remove aliases from XML in/out classes

* change XML references to interfaces
2020-09-18 14:01:44 +02:00
Alexander Tsybulsky
d20cdd07c2
syst_title is missing in 731 (#3896)
* syst_title is mising in 731

* adjust type

* Update abaplint.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-17 17:40:38 +02:00
g-back
c05af1163f
XML Refactoring: zif_abapgit_object et al. (#3895)
* change xml references

* change xml reference, remove type definition


deleted type already exists in zif_abapgit_definitions

* change XML references

* change indentation

* fix indentation

* fix ident pt. 3

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-17 17:24:32 +02:00
Marc Bernard
475f67d1d8
Remove trailing spaces in HTML output (#3893)
* Remove trailing spaces from html

* Return string size
2020-09-17 17:07:46 +02:00
Lars Hvam
b4169ff4b6
update lint config, plus remove identical condition (#3892) 2020-09-16 15:51:12 +02:00
g-back
6f8147036e
XML Refactoring: Various Objects (#3891)
* change xml references

* change xml reference
2020-09-16 15:23:14 +02:00
g-back
4dde63360e
XML Refactoring: Comparator/OO_Object_FNC (#3888)
* change xml references to interfaces


changed reference in interfaces:
- zif_abapgit_comparator
- zif_abapgit_oo_object_fnc

* change reference of xml in dependent objects

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-16 12:43:40 +02:00
Lars Hvam
9f396366cd
gui refactoring, for web edition (#3890)
* put cl_gui_html_viewer behind an interface

* cleanup

* injectable html viewer

* method_parameter_names, exclude zif_abapgit_html_viewer

* fix whitespace

* public get_asset_manager

* Update abaplint.json

* add prefixes
2020-09-16 12:39:23 +02:00
g-back
b5b947bfe7
change reference from xml classes to interfaces (#3885)
changed refs in:
- zif_abapgit_longtext
- zif_abapgit_object_enhs

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-15 08:21:32 +02:00
Lars Hvam
5b93872199
reduce existing string templates (#3886) 2020-09-15 08:14:42 +02:00
g-back
c69e045057
change ref of xml class to intf in enho interface (#3884)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-14 12:57:04 +02:00
Marc Bernard
34955f98cb
Performance: Remove double check during deserialize (#3875)
* Performance: Remove double check during deserialize

Closes https://github.com/larshp/abapGit/issues/3757

* check_write_protected check_language

* Add calls to find methods

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-14 12:47:45 +02:00
Lars Hvam
2ff25e27dd
pretty print ZCL_ABAPGIT_HTML_FORM and static (#3880)
pretty print class ZCL_ABAPGIT_HTML_FORM, and change two static methods to instance, this will make future possible changes to the class easier to see in the history
2020-09-12 06:50:31 +02:00
Marc Bernard
53bb303272
SHI3: Fix "IMG structure ID still used" (#3873)
Closes #3869

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-12 05:18:16 +02:00
Lars Hvam
f0208ae883
html, use interfaces (#3871)
* html, use interfaces

#3460

* fix syntax, remove alias

* last one 🎉
2020-09-12 05:16:21 +02:00
Marc Bernard
69fa5655c8
PROG: Add program class to deserialize (#3874)
Closes https://github.com/larshp/abapGit/issues/3870
2020-09-11 16:42:01 +02:00
Marc Bernard
7e4ae44fea
Enhance result view of Code Inspector/Syntax Check (#3861)
Follow-up to #3717: 
- Proper display of public, protected, and private sections
- Add CLAS prefix to be inline with other object types

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-11 11:23:33 +02:00
mariusraht2
4dce10e83c
popup_to_select_from_list can handle element-based tables (#3858)
* popup_to_select_from_list can handle element tabs

popup_to_select_from_list can now handle element-based non-structured tables like a table of url strings

Therefore related to #3639

* Update zcl_abapgit_popups.clas.abap

* Fixed wrong value assigning and added assert
2020-09-11 09:25:21 +02:00
Lars Hvam
42a532b9eb
reduce usage of ddic types (#3859)
* add SAP_BOOL as forbidden void type

* reduce

* Update abaplint.json

* sychar10

* sylangu

* Update abaplint.json
2020-09-10 15:30:25 +02:00
mariusraht2
a8df9c286f
upload_pack_by_branch: Replace deepen with deepen_level (#3835)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Update pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Delete pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Replaced deepen boolean with deepen_level

* Replaced numc2 by n length 2

* Removed restriction of deepen_level

* N alone is of length 1 and not numeric

Co-authored-by: mariusraht1 <mariusraht+1@gmail.com>
Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-09 09:50:00 +02:00
mariusraht2
6f130d0edc
Client must send an empty packfile (#3856) 2020-09-09 08:39:05 +02:00
Fabian Lupa
dc5725b49c
Add performance test (#3847)
* Add performance test

* Fix some linter errors

* Refactor free selections to reduce method length

* Performance test add title to result ALV

* Attempt downport

* Downport

* Pretty Printer VS abaplint

* Undo more changes done by pretty printer

* Adjust performance popup title and ALV layout

* Move free sel dialog to global for abapmerge

* Move some type definitions for abapmerge

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-08 10:39:20 +02:00
Fabian Lupa
1df03232d8
Remove GitHub 2FA implementation (#3839)
* Remove GitHub 2FA implementation

as it relies on a soon to be deprecated authentication mechanism.

Fixes #3150

See https://developer.github.com/changes/2020-02-14-deprecating-password-auth/

* Deprecation warning for found 2FA implementations

* Fix linter issues

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-08 10:35:57 +02:00
g-back
3e4ce7bf73
Offline Repos: add ZIP Import/Export to actions (#3823)
* navigate to repo after ZIP import

* add zip import/export action for offline repos

* rename action labels

* change new state to be dependent on current page


change replacing -> new page if action called from repo list
rerender if in repo view

* add some TODOs, see PR discussion

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-08 10:32:17 +02:00
Lars Hvam
6739b768e9
html refactoring (#3843)
* html refactoring

change A() to instance method
remove ADD_CHECKBOX alias

* removes ICON alias

* more
2020-09-06 09:45:51 +02:00
mariusraht2
24cba9e221
Suppress popup on autostart after update (#3844)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-06 09:28:43 +02:00
Marc Bernard
b0d1d04ade
Automatically repair ZCX_ABAPGIT_EXCEPTION (#3840)
* Automatically repair ZCX_ABAPGIT_EXCEPTION

See #3833

* Add TODO

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-06 09:11:19 +02:00
Lars Hvam
1668a95b53
remove NO_HANDLER pseudo comments when handlers exist (#3846)
* remove NO_HANDLER pseudo comments when handlers exist

* Update zcl_abapgit_url.clas.testclasses.abap
2020-09-06 09:07:23 +02:00
Marc Bernard
c09cc67c83
Fix startup of repo view (#3831)
* Update error msg

* Fix login popup errors and cancelation

* Remove validate/reset methods

* Lint

* Rename iv_repo_online to io_repo_online

* Change to error in status bar

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-04 09:32:38 +02:00
Lars Hvam
428575fb58
1.99.1 (#3832)
* v1.99.1

* 1.99.1

* linter, enable rule line_break_style
2020-09-03 09:30:44 +02:00
Lars Hvam
9c41a2b7d8
remove text pragmas and pseudo comments (#3827)
* remove text pragmas and pseudo comments

* fix whitespace

* fix carriage return

* test

* test

* Update zcl_abapgit_repo.clas.abap
2020-09-03 09:13:47 +02:00
Marc Bernard
e70875879b
Restart abapGit in case of self-update (#3804)
* Restart abapGit in case of self-update

Closes #3358

* Fix abapgit url detection

Old logic incorrectly matched for example https://github.com/abapGit-tests/CHAR

* Github only

* Separate method

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-03 09:07:57 +02:00
Lars Hvam
44d4952d13
class parsing, show line number causing error (#3828)
In case there are errors while parsing the CLAS source code, the line number causing the error will now be shown in the error message
2020-09-03 09:04:28 +02:00
ed-holland
cb851f4ab1
Added Utility method and used it in ENHS (#3658)
* Update zcx_abapgit_exception.clas.abap

* Added Utility class and adjusted exception raises

* Fix Linter

Co-authored-by: Ed Wenmakers <ed.wenmakers@redwood.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Frederik Hudák <frederik.hudak@sap.com>
2020-09-03 09:02:01 +02:00
Lars Hvam
98a261df1b
remove some unused variables (#3825) 2020-09-01 16:32:44 +02:00
Lars Hvam
a16f6f3d17
Cleanup, remove unused TYPEs (#3824) 2020-09-01 16:29:53 +02:00
mariusraht2
3a75ade563
Rename upload_pack to upload_pack_by_branch (#3818)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Update pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Delete pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Rename upload_pack to upload_pack_by_branch

* Renamed missed references

Co-authored-by: mariusraht1 <mariusraht+1@gmail.com>
Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-01 16:23:30 +02:00
Lars Hvam
ca5f6f6d1f
filename encoding of < and > (#3820)
Windows cannot store filenames containing "<" and ">"

These two characters are now uri encoded, same approach as already deployed for some characters

#3817
2020-09-01 09:39:12 +02:00
Marc Bernard
ac26e5b7ab
OTGR: Enable parents (#3806)
* OTGR: Enable parents

* OTGR: Enable parents

* Replace cx_root

* Remove inactivate logic

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-01 09:34:53 +02:00
Lars Hvam
86657cc691
HTML refactoring (#3813)
* HTML refactoring

* removes the ADD_ICON alias

#3460

* remove IS_EMPTY alias

* more

* refactoring
2020-08-31 09:37:36 +02:00
Lars Hvam
c9dbee83b4
XML refactoring (#3814)
* XML refactoring

+ DTEL

* ENHO_CLIF + FUGR

* INTF
2020-08-31 09:35:10 +02:00
Lars Hvam
271e365f06
html, use interfaces (#3811)
* html, use interfaces

* more

* more

* more

* this removes the ADD_A alias
2020-08-29 08:00:56 +02:00
Lars Hvam
6f698c4c8b
fix syntax warning (#3812)
this fixes the following syntax warning raised in local class

"
The exception ZCX_ABAPGIT_EXCEPTION is not caught or declared in the RAISING clause of "HEADERS"
"
2020-08-29 07:57:26 +02:00
Jakub Filak
5468985b57
objects: remove superfluous RSTAT from some class XMLs (#3810)
The removed fields have no real use as no other CLAS object contains
that field.

It was added in the commit:
b0d54f97e3

Besides, it causes me troubles in sapcli when I do checkin.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-28 06:53:15 +02:00
Lars Hvam
8e51b8782f
v1.99.0 (#3807)
* 1.99.0

* v1.99.0
2020-08-27 08:15:28 +02:00
Lars Hvam
84c80a761c
refactoring, use interface for html (#3793)
* refactoring, use interface for html

replace uses of zcl_abapgit_html with zif_abapgit_html

#3460

* replace additional uses of the A alias

* This removes the A alias from the HTML class

This removes the following alias,
"a FOR zif_abapgit_html~a ."

* fix syntax error
2020-08-27 07:51:51 +02:00
Alexander Tsybulsky
a4e6c87985
Switching to PRs (#3695)
* string map: public entries (read only)

* port http agent

* draft wip

* drafting

* fix SSL

* port ajson

* integrate ajson and http_agent

* agent global headers

* github enumerator

* update ajson

* draft wip

* enumerator factory

* http_agent via factory

* proxy

* repo->switch_origin draft

* refactor enum factory

* Revert "refactor enum factory"

This reverts commit bcfef40b38991adfe5f73677919db6bd0c652f7c.

* page wiring draft

* scripts draft

* "let it work!"

* repo setings page draft

* linter

* linter

* linter

* linter

* linter

* better settings page

* finetune page

* cleanups

* change hotkey

* fix ajson_error

* Update src/zcl_abapgit_repo_online.clas.abap

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

* abaplint nesting 6

* remove description

* back to good old popups

* linter

* move commands to branches dropdown

* auth helpers

* move json to separate package

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-27 07:47:27 +02:00
Lars Hvam
681f60a265
background pull: always overwrite all objects (#3802)
* background pull: always overwrite all objects

always choose to overwrite all objects when using the pull in background feature. If the decision is not set the job will fail with a "undecided" error

#3800

* fix page title typo
2020-08-27 07:38:18 +02:00
g-back
8fc08b9c22
Add success messages for repo removal/uninstall (#3797)
* add success messages for repo removal/uninstall

* remove single quotes, add packg name to remove msg

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-27 07:33:55 +02:00
Lars Hvam
bb6785812e
styling, fix background color on background settin (#3801) 2020-08-27 07:30:41 +02:00
Marc Bernard
f1f3673b09
Improve display when there are no changes in repo view (#3803)
* Improve display when there are no changes in repo view

* Update view and remove empty_package method

* Empty package msg

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-27 07:27:24 +02:00
Marc Bernard
5bddba99d4
CHAR: Fix OTGR dependency order and activation (#3805)
* CHAR: Fix OTGR dependency order and activation

* Update order and activation

Also fixes uninstall
2020-08-27 07:15:26 +02:00
Lars Hvam
f582225bf8
start refactoring to use XML interfaces (#3796)
* start refactoring to use XML interfaces

#3531

* TABL + TRAN + UDMO + UENO

start using the interfaces for xml instead of class references
2020-08-26 06:50:47 +02:00
Lars Hvam
978389a070
conversion, add singletons (#3792)
add singletons for string conversions in ZCL_ABAPGIT_CONVERT, in order to try improving performance

closes #3612
2020-08-25 07:36:57 +02:00
Lars Hvam
a9d22356a1
test (#3791) 2020-08-25 07:29:12 +02:00
Frederik Hudák
380857a896
Reposition repo filters (#3779)
* Reposition repo filters

* Remove show order by logic

* Fix diffs first being backwards

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-25 07:14:50 +02:00
Lars Hvam
dcc655eccf
syntax check page, show variant used (#3790)
* syntax check page, show variant used

closes #3660

* unify variant rendering
2020-08-25 07:05:32 +02:00
Lars Hvam
408485dfce
WDCC, fix syntax error in compiled report (#3794)
the PUBLIC keyword was placed in such a way it was not recognized by abapmerge, this should fix the compiled report
2020-08-24 13:51:06 +02:00
Lars Hvam
e88f522e83
OTGR: syntax error, disable parents temporarily (#3787)
* OTGR: syntax error, disable parents temporarily

* Update abaplint.json
2020-08-24 11:36:58 +02:00
Marc Bernard
af5b898a37
Refactor branch constants (#3784)
* Branch constants

* Refactor branch constants

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-24 11:25:46 +02:00
Jakub Filak
65e8522bd1
otgr: initial object support (#3777)
* otgr: initial object support

This commit replaces the generic SOBJ support with native support for
the object type OTGR and the format is not backward compatible,
so repos containing SOBJ serialized objects could not be pulled anymore
(it's necessary to pull them with previous version of abapGit and push
them with the new version of abapGit).

The new OTGR handler supports only master language description because
there is no API which would allow us to maintain other languages and
I am not willing to re-implement parts of ABAP platform just to version
texts which nobody cares about. Also, the texts dealing part is not
that straightforward - one has to think about keeping the texts
in sync which requires lot of code.

I did the following optimizations to the XML format:
- removed the activation state from all elements because we
  always serialize only Active and deserialize as Inactive
- removed the foreign key name from texts and other details
  because we know which object type group is currently being handled
- used short names for root elements of details to avoid redundancy
  because the detail's table name is used for child XML elements -
  e.g. TEXTS vs. CLS_TYPE_GROUPT.

Closes #1515

* Update ref-supported.md

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-24 11:23:36 +02:00
Marc Bernard
e4bafbe715
Validate if branch exists when displaying repo (#3749)
* Validate if branch exists when displaying repo

* Validate if branch exists when displaying repo

* Lint

* Lint and 702

* Lint

* Rename validate_branch to validate

* Fix msg and branch display name

* Move msg to UI layer

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Frederik Hudák <frederik.hudak@sap.com>
2020-08-24 11:15:46 +02:00
Marc Bernard
7657d972e9
WDCC: Downport 702 (#3783)
* WDCC: Downport 702

Closes #3775

* try removing signatures

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-24 11:10:41 +02:00
Frederik Hudák
5c826e5993
Navigate to repo after new online (#3780)
* Navigate to repo after new online

* Update zcl_abapgit_gui_page_addonline.clas.abap
2020-08-22 14:39:39 +02:00
Marc Bernard
fe95dc7e5f
abapGit Emergency Mode (#3756)
* abapGit Emergency Mode

On rare occasions, it is necessary to edit the abapGit settings to overcome an issue (example: https://github.com/larshp/abapGit/issues/3701). 

This enhancement allows you to start abapGit in "emergency mode", which directly shows the "Database Utility" for you to view or edit any setting. 

How to start abapGit in "Emergency Mode":

1. Go to transaction SU3 to maintain your user profile
2. Maintain parameter DBT with value "ZABAPGIT" (all-caps).
3. Start abapGit
4. After exiting abapGit, go back to SU3 and remove parameter DBT

* Update ref-database-util.md

* Add files via upload

* Update ref-database-util.md

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-22 09:55:33 +02:00
Frederik Hudák
a824368a4e
Add top repo menu to more pages (#3764)
* Add top repo menu to more pages

- diff, patch
- syntax check, code inspector
- repo settings

* Add to syntax check page, add margin

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-22 09:53:35 +02:00
Frederik Hudák
f5052cf0b6
Use title case in page titles, menus, forms (#3765)
* Use title case for page titles

Other minor changes:

- patch page is no longer called diff
- "code inspector" in main page action menu renamed to "check"

* Two more

* Update zcl_abapgit_gui_page_db_dis.clas.abap

* Update zcl_abapgit_gui_page_repo_sett.clas.abap

* Repo advanced menu

* Commit form labels

* Repo setting lables

* Settings, repo

* Final ones?

* Database util

* Column name in stage page

* abaplint

* Update zcl_abapgit_gui_page_stage.clas.abap

* Hover texts for stage column, commit settings

* lint
2020-08-22 09:50:10 +02:00
fdupret
511090d63d
Handle "invalid committer" error (#3774) 2020-08-20 17:56:40 +02:00
Lars Hvam
1433fe2fe9
DTEL and TABL EXISTS performance (#3748) 2020-08-19 09:00:28 +02:00
Frederik Hudák
a176682f44
Hide stage and patch action links for offline repo (#3767)
Stage dumps and patch shows an error that this is not possible.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-19 07:06:27 +02:00
Marc Bernard
3846dd96a4
Hide "Action" column when toggling "Details" (#3747)
Turning on "Details" in Repo Overview will now hide the "Action" column to improve display on smaller screens.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-19 07:02:01 +02:00
Marc Bernard
77a002f584
Fix error when using "Advanced > Force Stage" (#3759)
* Fix error when using "Advanced > Force Stage"

Closes https://github.com/larshp/abapGit/issues/3650

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-19 06:49:58 +02:00
Lars Hvam
a3faae9831
SICF serialization performance (#3762)
* SICF serialization performance

closes #3751

* bugfix
2020-08-19 06:46:32 +02:00
Lars Hvam
8e7eea457a
FUGR serialization, performance (#3761)
Instead of calling function module FUNCTION_IMPORT_DOKU, replace with a SELECT SINGLE in buffered table

closes #3753
2020-08-19 06:44:39 +02:00
Lars Hvam
4ec4760a87
RPY_PROGRAM_READ, set WITH_INCLUDELIST to false (#3760)
closes #3754
2020-08-19 06:41:27 +02:00
Lars Hvam
aa46658b65
DSYS, only split namespace if first char is slash (#3745) 2020-08-18 15:47:46 +02:00
Marc Bernard
37b938575e
Fix syntax errors in 702 (#3750)
* Fix syntax errors in 702

* Fix syntax errors in 702

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-18 07:05:52 +02:00
Lars Hvam
d5e5baa7d8
delete method ZCL_ABAPGIT_HTML=>CREATE (#3736) 2020-08-18 06:54:20 +02:00
Marc Bernard
5c53211219
Fix dump in Repo Overview for offline repos (#3746) 2020-08-17 17:22:04 +02:00
Lars Hvam
f878f3b4c3
remove some double spaces (#3740) 2020-08-16 08:24:12 +02:00
Lars Hvam
d1f277365b
create_sotr, remove unused parameters (#3739)
* minor changes

* create_sotr, remove unused parameters
2020-08-16 08:21:49 +02:00
Frederik Hudák
2a0a97bcd7
Add settings action link to main page, style for branch column (#3737)
* Add settings action link to main page

* Add branch styling to main page

* fix width

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-15 09:35:31 +02:00
Lars Hvam
1132dedf85
ZCL_ABAPGIT_APACK_WRITER syntax warnings (#3735)
fix ZCL_ABAPGIT_APACK_WRITER syntax warnings, #3720
2020-08-15 09:32:00 +02:00
Marc Bernard
9c883f2900
PROG,FUGR,ENHO: Remove workaround for leading spaces (#3728)
* ENHO: Remove workaround for leading spaces

* PROG: Remove workaround for leading spaces

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-14 12:24:38 +02:00
Domi Bigl
20f93ff514
show last commit hash with link if possible (#3731)
* show last commit hash w/ link if possible

link to commit is supported for github.com and bitbucket.org

* remove inline data declaration

* add gitlab link support with UT

* add commit icon for non supported provider

* remove inline declaration

* remove new for CRETE OBJECT

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-13 15:41:45 +02:00
Marc Bernard
36248e8a83
DDLS: Improve error handling (#3727)
Closes https://github.com/larshp/abapGit/issues/2614

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-13 08:59:03 +02:00
Marc Bernard
5a56166d6d
Activate objects without popup (#3725)
* Activate objects without popup

* Activate objects without popup

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-13 08:55:10 +02:00
Marc Bernard
cfc900a2b1
DCLS/DDLS: Fix uninstall dependencies (#3726)
* DCLS/DDLS: Fix uninstall dependencies 

Closes https://github.com/larshp/abapGit/issues/2467

* Move DDLS before other DDIC

DDLS must be deleted before TABL (which is used in DDLS)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-13 08:52:50 +02:00
Christian Günter
dfc19fe718
Patch for staged files only (#3730)
* Allow Hotkeys on helper object

* Patch for staged files only

* cleanup

* fix linter

* Fix: refresh on page patch keeps sel. files

* Fix: Diff and Patch shd appear when only rem. Chg.

* fix linter

* clarify stage helper object in JS
2020-08-13 08:48:27 +02:00
Lars Hvam
17b6411cdb
remove unused variables (#3721)
* remove unused

* remove fstate

* remove

* false

* AVAS, delete method insert_links

* fstate

* sotr

* WAPA

* ssfo

* ddls mock
2020-08-11 18:11:39 +02:00
Harry Abrahams
32ec5430a7
Web DynPro Component Configuration Support (#3665)
* Web DynPro Component Configuration Support

Web DynPro Component Configuration Support Class

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support 

Syntax Corrrections

* TADIR Object Name Concatenation Change/Removal

TADIR Object Name Concatenation Change/Removal

As ms_item-obj_name hold complete TADIR name, concatenation with ..00 is not necessary.

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support

-Remove dynamic coding
-Remove explicit commit/roll back
-Use Tadir functionality of base class

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support

-The EXPORTING keyword can be omitted (exporting))

* WDCC Support - Syntax Corrections

Web DynPro Component Configuration Support

-Removal of HJA comments
-Removal of me->

* Removal of Component Config XML in main object fil

Removal of Component Config XML in main object file

-Component Configuration raw XML added to additional comp_conf.xml file

* Additional xml file pretty printed as string

Additional file contents now pretty printed and added as string for easy diff.
Serialisation / Derialisation now working with pretty printing and un-pretty printing.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-11 05:31:49 +02:00
Christian Günter
e3c1623275
Fix dump in Code Insp. Display for exception class (#3724) 2020-08-10 17:14:09 +02:00
Lars Hvam
867c74701f
remove some unused variables (#3719)
* remove some unused variables

* more unused
2020-08-09 08:44:54 +02:00
Marc Bernard
0ea7b702ce
Refactor and enhance OTR support (#3681)
* WDYN: Fix missing texts

Texts were missing if more than one concept existed per WebDynpro component. Also fixes unit tests which were not working properly before and adds anew test.

* Pretty print

* Refactor and enhance SOTR support

Now supports all objects that use OTR: CLAS (LIMU/CPUB), ENHC, ENHO, ENHS, ENSC, WAPA (LIMU/WAPP) WDYA, WDYN (LIMU/WDYV), WEBI

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-09 08:41:47 +02:00
Marc Bernard
b7e0f15448
Fix status calculation (#3698)
Return checksum only if local item exists

Co-authored-by: Frederik Hudák <frederik.hudak@sap.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-09 08:38:50 +02:00
Lars Hvam
0052664c7c
optimize TADIR select (#3718) 2020-08-08 10:30:01 +02:00
Marc Bernard
324db52335
Enhance result view of Code Inspector/Syntax Check (#3717)
* Enhance result view of Code Inspector/Syntax Check

* Enhance result view of Code Inspector/Syntax Check

* Enhance result view of Code Inspector/Syntax Check

* Lint

* Move sort
2020-08-07 07:17:42 +02:00
Marc Bernard
c026ee89b0
Downport: Fix syntax errors in 702 (#3674)
* Downport: Fix syntax error in 702

Method "ASSERT_TRUE" does not exist in 702

* Downport: Fix syntax error in 702

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-06 13:50:53 +02:00
Marc Bernard
49f8ac48c0
DOMA: Fix translation of domain values (#3692)
* DOMA: Fix translations

* DOMA: Fix translations

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-06 13:46:07 +02:00
Christian Günter
4af7026e15
Fix: Open repo in master lang. opens repo (#3710)
After this fix is applied the menu "advanced > open in master language" opens the repo directly and doesn't open the repo list.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-06 13:37:48 +02:00
antonioyanez
a98ba1dfe1
fix bug of ignore subpackages flag (#3715)
Closes #3712
2020-08-06 11:53:58 +02:00
pokrakam
408f127b4a
Add exception instead of popup for background XML errors (#3708)
* Add exception/message logic, refactoring

* De-lint

* More de-linting

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-05 07:51:55 +02:00
Alexander Tsybulsky
8bc12fef01
tutorial to component (#3704) 2020-08-05 07:47:10 +02:00
Marc Bernard
3cb70cce20
TABL: Add translations (#3691)
* TABL: Add translations

* TABL: Add translations

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-01 15:03:35 +02:00
Alexander Tsybulsky
c6b4cb1a70
String map improvements (#3696)
* string map freeze and UT

* linter

* linter

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-01 14:52:59 +02:00
Frederik Hudák
b34f5c36b5
Remember repo list filter (#3671)
* Remember repo list filter

resolves #3552 

Changes:
- store filter in local storage instead of session storage, so it is remembered on abapgit restart
- filter is saved whenever it is changed instead of page unload
- removed debug output, it doesn't need to clutter the main page

* Don't resave on page load

* Add semicolons

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-01 12:42:20 +02:00
Christian Günter
679bef9ce0
Fix Warning - ABAP doc param is not part of meth (#3697) 2020-08-01 12:32:56 +02:00
Marc Bernard
67928912c6
SHMA: Return last changed by (#3693) 2020-08-01 12:06:29 +02:00
Lars Hvam
9180d0986d
FUGR table maintenance, solve diffs (#3659)
* update SQLX

* helpful error message for EU522

* add comment

* and UCCHECK
2020-07-31 06:38:31 +02:00
germanysources
1efb62feda
Testing class zcl_abapgit_objects_files (#3678)
* Support all kinds of line-breaks

* Unit-Tests for class zcl_abapgit_objects_files

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-31 06:29:22 +02:00
Frederik Hudák
b93b76a0f7
Fix master language serialization - DSYS (#3687)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-31 06:27:28 +02:00
Frederik Hudák
68ec17a5dd
Fix dump when pulling dsys (#3686)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-31 06:24:52 +02:00
Lars Hvam
837d45bc83
fix whitespace (#3690) 2020-07-31 06:22:01 +02:00
Frederik Hudák
a1ecc65ecc
Improved branching messages (#3685)
* Improvements to branch messages

* Names without refs/heads
2020-07-31 06:15:56 +02:00
Lars Hvam
6d9320505c
Codespaces setup (#3666)
* default ignore devcontainer.json

* abapgit, ignore devcontainer.json

* add devcontainer.json

* rename

* fix byte order mark
2020-07-28 09:20:02 +02:00
Domi Bigl
395116e481
add TABL authorization group handling (#3621)
* add TABL authorization group handling 

fixes #1328
test repo https://github.com/abapGit-tests/TABL-AuthorizationGroup.git
Authorization Group (TDDAT) is handled with TABL and TOBJ now

* fix linter errors

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-25 17:36:14 +02:00
Alexander Tsybulsky
525634e42b
page hoc concept (#3626)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-23 15:10:40 +02:00
Michael Käsemann
04e71feabe
Improved staging robustness (#3625)
* Improved staging robustness

- Skipped any objects in the changelist that are not marked for staging prior to processing them , to avoid that they keep other objects without errors from being staged if the user wants to stage parts of the changes

* Reduced line length

* Removed missed whitespace

* Update abaplint.json

* Update abaplint.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-23 14:59:22 +02:00
Lars Hvam
b78dab85db
1.98.0 (#3657)
* 1.98.0

* v1.98.0

* Update changelog.txt
2020-07-21 08:11:39 +02:00
Frederik Hudák
144e53608d
Add action column to repo overview (#3645)
* Add stage, patch buttons to repo overview

* Fix abaplint

* Add syntax check, code inspector

* Add pull

* constant naming

* Last changes

* lint

* lint

* Update abaplint.json

* Update abaplint.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-21 07:24:38 +02:00
ed-holland
ae30875b21
ENHS: Enhance exceptions (#3651)
* Enhanced Exception Message

* Fix Linter

* Implemented example

Co-authored-by: Ed Wenmakers <ed.wenmakers@redwood.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-21 06:40:01 +02:00
Lars Hvam
1006105a09
bridge, no need to lookup in view (#3653)
lookup in the transparent table, note it has an index
2020-07-19 20:59:12 +02:00
ed-holland
2871914578
Ensure no duplicates of functions are found (#3652)
* Ensure no duplicates of functions are found

* remove modify

Co-authored-by: Ed Wenmakers <ed.wenmakers@redwood.com>
2020-07-19 07:05:17 +02:00
Marc Bernard
67cd9d12ab
TOBJ: Clear package (#3632)
Closes https://github.com/larshp/abapGit/issues/3627

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-18 07:48:58 +02:00
Marc Bernard
c3e09f78d9
PARA: Dequeue parameter after deletion (#3644)
Closes https://github.com/larshp/abapGit/issues/3643

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-17 10:21:02 +02:00
Marc Bernard
178e23e639
Uninstall: Resolve DDIC dependencies of VIEW (#3630)
Fix uninstall if table/structure references a view (ex https://github.com/abapGit-tests/TABL_include_VIEW)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-17 07:10:12 +02:00
Marc Bernard
888d49f702
IOBJ: Remove number range objects and return error during delete (#3631)
* IOBJ: Remove number range objects

Number ranges for BW objects are local to a system and will cause errors when duplicates occur.

* Fix spelling

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-17 07:07:25 +02:00
Michael Käsemann
72ccc986c7
Faulty handling of post data (#3624)
* Fixed faulty translation of post data to parsable string

- Added method TRANSLATE_POSTDATA to ZCL_ABAPGIT_UTILS as a centralized place to translate post data to a string
- Replaced all post data string concatenations with the translation helper method to correctly parse spaces that fall to the end of a table line (this should solve #3073 as well as any other random crash caused by accidental misalignment of the post data)

* Backport ABAP statement to 7.02

* Code cleanup for linter checks

* Code cleanup for linter checks

* Fixed a possible error in parsing

If it_postdata contains an empty last line, the staging fails, because the string may contain a lot of soaces at the end of the previous to last line.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-16 15:51:36 +02:00
Marc Bernard
3183f95bb6
SUSO: Improve error message when deleting auth.object (#3642)
Reference to transaction SU21, which can be used to find out where auth.object is still used.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-16 10:33:21 +02:00
Marc Bernard
6cd192e86f
Improved HTTP error messages (#3638)
Just a bit more user-friendly texts

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-16 10:29:53 +02:00
Marc Bernard
3a48d01201
Remove repo from favorites at delete/purge (#3641)
Closes https://github.com/larshp/abapGit/issues/3640
2020-07-16 08:38:32 +02:00
Alexander Tsybulsky
07e1f787c6
gui_page cleanups (#3615)
* move test_changed_by from gui_page to services

* kind of linter fix

* move more action to router

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-13 17:42:40 +02:00
Alexander Tsybulsky
144cb8822c
improve missing branch styling (#3619)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-13 11:34:39 +02:00
Lars Hvam
0feae7c1b2
ZCL_ABAPGIT_FRONTEND_SERVICES private (#3617)
private instantiation
2020-07-13 11:17:21 +02:00
Lars Hvam
f579dfb7a0
allow dependency injection from anywhere (#3614) 2020-07-12 13:06:38 +02:00
Alexander Tsybulsky
d18d4c798e
Fix #3609 (clone uppercase pkg name) (#3613) 2020-07-12 08:56:44 +02:00
Lars Hvam
5139ef8507
move longtexts under interface (#3607)
* move longtexts under interface

adds interface for the longtext class

* fix

* longtexts, remove the constructor

* add injector method for longtexts
2020-07-12 08:39:53 +02:00
Lars Hvam
cd9ea97a63
HTML: move add_icon to interface (#3608)
* HTML: move add_icon to interface

* ZCL_ABAPGIT_HTML_TOOLBAR use interface

* ZCL_ABAPGIT_GUI_REPO_OVER use interface

* ZCL_ABAPGIT_GUI_PAGE_VIEW_REPO  use intf
2020-07-12 08:37:15 +02:00