Commit Graph

4026 Commits

Author SHA1 Message Date
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
Lars Hvam
1433fe2fe9
DTEL and TABL EXISTS performance (#3748) 2020-08-19 09:00:28 +02:00
pokrakam
b20a020637
Allow naming of different test class types (#3771)
* Allow naming of different test class types

Propose to use the more commonly used naming conventions for test classes rather than naming everything ltcl_. These are used by SAP and also referenced in the style guides e.g. the section on [Helper Methods](https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#put-help-methods-in-help-classes) and used in the ABAP unit testing book.

ltc_: test class
lth_: test helper
ltd_: test double
lts_: test suite

Oh, and also corrected bug in exception class name that I spotted when editing

* Update with generic naming suggestions

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

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-19 08:41:55 +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
pokrakam
138172ffda
Exclude test class with XML from line length check (#3755)
* Exclude test class with XML from line length check

We could also exclude all zcl_abapgit_object*testclasses or even test classes in general.

* Correct syntax

* Update abaplint.json

* Update abaplint.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-17 20:37:18 +02:00
Marc Bernard
5c53211219
Fix dump in Repo Overview for offline repos (#3746) 2020-08-17 17:22:04 +02:00
dependabot-preview[bot]
901ac09265
Update eslint requirement from ^7.6.0 to ^7.7.0 (#3744) 2020-08-17 05:53:05 +00:00