Commit Graph

4240 Commits

Author SHA1 Message Date
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
Lars Hvam
b14a633a96
docs: fix typo (#3842) 2020-09-04 13:53:43 +02:00
Lars Hvam
cbb35ade88
linter: add numc2 as forbidden void type (#3837) 2020-09-04 09:36:31 +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
g-back
a8f5d7a13e
change full to standalone (#3830) 2020-09-02 15:02:33 +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
Lars Hvam
75b83825ed
update linter config (#3822) 2020-09-01 16:27:16 +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
g-back
4c9a9b0ad9
Update Docs (#3816)
* Update images (v1_99_0)

* Change image to screenshot of latest version

* Add some clarificaitons, use new terminology

* Add page for background mode

* add mention of zabapgit_full

* Add entry for background in db utils

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-01 16:20:09 +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
dependabot-preview[bot]
31537939c2
Update @abaplint/cli requirement from ^2.39.16 to ^2.39.24 (#3815) 2020-08-31 05:06:59 +00: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
Alexander Tsybulsky
9347869d8a
fix ci for autotag (fetch depth 2) #3808 (#3809) 2020-08-28 06:50:47 +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
adc155d199
documentation: set WDCC as supported (#3789) 2020-08-24 11:55:03 +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
dependabot-preview[bot]
6bf6c92f00
Update @abaplint/cli requirement from ^2.39.9 to ^2.39.16 (#3785) 2020-08-24 05:06:06 +00: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