Commit Graph

4546 Commits

Author SHA1 Message Date
Marc Bernard
cfb813f3cd
Update "Adding Icons" documentation (#4314)
Update after https://github.com/abapGit/icon-font/pull/12

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-14 14:43:44 +01:00
Lars Hvam
1643bdabe5
unit testing test (#4298)
* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps
2020-12-14 09:27:42 +01:00
Marc Bernard
ac1c3baa0d
Fix typo "odd" > "of" (#4316) 2020-12-13 08:29:28 +01:00
Lars Hvam
260af61407
ecatt exceptions, test (#4312) 2020-12-12 08:51:49 +01:00
Jaime Rodriguez Capote
6c87fa3f05
Several repos for same URL (#4313)
* Check URL repo before add

* Unit tests

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-12 08:49:38 +01:00
Marc Bernard
d0983cf386
Dialogs: HTML form enhancements (#4264)
* Dialogs: HTML form tweaks

- Minor increase of contrast for background, input- and readonly fields
- Add read-only option for columns of table control

* Add is_empty

* Add init and hidden

* Render

* Remove init

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-12 08:45:47 +01:00
Marc Bernard
869c0bccb5
WDYN: Improve error messages (#4310)
Pass exception text to UI/log

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-11 07:54:19 +01:00
Marc Bernard
46e2dd827b
Package Structure - Part 4 (#4305)
* Package Structure - Part 4

$ABAPGIT_OBJECTS_CORE:

ZCL_ABAPGIT_DEPENDENCIES
ZCL_ABAPGIT_FILE_STATUS
ZCL_ABAPGIT_FOLDER_LOGIC
ZCL_ABAPGIT_OBJECTS
ZCL_ABAPGIT_OBJECTS_ACTIVATION
ZCL_ABAPGIT_OBJECTS_FILES
ZCL_ABAPGIT_SERIALIZE
ZCL_ABAPGIT_TADIR
ZIF_ABAPGIT_COMPARATOR
ZIF_ABAPGIT_OBJECT
ZIF_ABAPGIT_OBJECTS
ZIF_ABAPGIT_TADIR
ZCL_ABAPGIT_SKIP_OBJECTS

$ABAPGIT_OBJECTS_TEXTS:

ZIF_ABAPGIT_LANG_DEFINITIONS

#4253

* ZIF_ABAPGIT_LANG_DEFINITIONS

* Sync

* Sync

* Sync

* Sync

* Move objects

* Sync

* always upload build artifact

* Move type to interface

* Types

* Add package

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-11 07:50:10 +01:00
Lars Hvam
efaa0e65c0
more generic exception catching (#4307) 2020-12-11 07:46:07 +01:00
jan-jezek
c6a54b9912
Fix master language only, duplicate entries for shi3 objects (#4308)
* Fix master language only for shi3 objects

* Fix abaplint

* Fix duplicates in shi3

* Abaplint

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2020-12-11 07:43:52 +01:00
Marc Bernard
8fcc5c2f95
DSYS: Get changed by (#4303)
Get "changed by" user

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-09 09:27:11 +01:00
Marc Bernard
8118ab836d
SMIM: Improve error messages (#4304)
Pass T100 messages to UI/log

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-09 08:02:55 +01:00
Marc Bernard
eb1a6fab90
SOTS: Get changed by (#4302)
Get "changed by" user
2020-12-09 05:27:13 +01:00
Marc Bernard
b31885796d
Fix pull errors related to files deleted remotely (#4281)
In case files are deleted remotely, the files are now ignored during a pull. In other words, "pull" will not touch objects that exist only locally and not remotely.

To delete such objects locally, use "reset local (forced pull)" which will show a popup for these objects and let you delete them.

Closes #4277

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-08 17:16:04 +01:00
Marc Bernard
3c598bbf60
Improve "Cannot find .abapgit.xml" situation (#4240)
* Improve ""Cannot find .abapgit.xml" situation

Skip check during creating of repo and increase file count.

Closes #4174

* New online

* Add UT

* Move check to content list

* Update zcl_abapgit_repo_srv.clas.abap

* Lint

* Rename to check_repo_size

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-08 15:35:31 +01:00
Fabian Lupa
97671a8889
Adjust image URLs in readme (#4301)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-08 15:26:10 +01:00
Marc Bernard
74cedd459c
Fix unit test for user records (#4300)
* Fix unit test for user records

Perform unit test only if a user with an email address exists

Closes #4247

* Remove test

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-08 15:09:49 +01:00
Marc Bernard
ed2898240e
Update README.md (#4299)
- Added abapGit logo
- Updated sloc count
- Updated remarks about installation issues
2020-12-08 05:06:38 +01:00
dependabot-preview[bot]
83d83d16e5
Update @abaplint/cli requirement from ^2.61.10 to ^2.62.0 (#4296)
Updates the requirements on [@abaplint/cli](https://github.com/abaplint/abaplint) to permit the latest version.
- [Release notes](https://github.com/abaplint/abaplint/releases)
- [Commits](https://github.com/abaplint/abaplint/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-07 10:39:24 +01:00
Marc Bernard
0fc7b43a35
PROG: Fix transport and work area (#4242)
* PROG: Remove objects from work area 

Fixes issue with incomplete deletion of inactive objects

Closes #4151

* Lint

* Add correction

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-07 09:38:56 +01:00
Lars Hvam
297a579757
github actions: save build artifact (#4295)
* save build artifact

* upd
2020-12-07 09:28:35 +01:00
Marc Bernard
07cdc0e0e8
Resolve circular reference in /syntax/ (#4292)
Closes #4258

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-07 09:13:58 +01:00
dependabot-preview[bot]
88372f0430
Update @abaplint/runtime requirement from ^0.8.19 to ^0.8.21 (#4294)
Updates the requirements on [@abaplint/runtime](https://github.com/abaplint/transpiler) to permit the latest version.
- [Release notes](https://github.com/abaplint/transpiler/releases)
- [Commits](https://github.com/abaplint/transpiler/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-07 09:09:37 +01:00
dependabot-preview[bot]
d5f2fcfbd7
Update @abaplint/transpiler-cli requirement from ^0.8.19 to ^0.8.21 (#4293)
Updates the requirements on [@abaplint/transpiler-cli](https://github.com/abaplint/transpiler) to permit the latest version.
- [Release notes](https://github.com/abaplint/transpiler/releases)
- [Commits](https://github.com/abaplint/transpiler/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-07 09:06:57 +01:00
Lars Hvam
fa97ded1dc
unit testing test (#4256)
* update deps

* add some interfaces

* update deps

* update deps

* add zif_abapgit_auth

* add zif_abapgit_environment

* update deps

* add interfaces

* update deps

* update deps

* update deps

* update deps
2020-12-06 15:26:06 +01:00
Fabian Lupa
ca51d8b0c7
Ensure open in main language opens same abapGit version (#4291)
Fixes #4276

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-06 06:36:45 +01:00
Fabian Lupa
2788e5f0f3
Fix adjust_display_commit_url markdown table (#4290)
* Fix adjust_display_commit_url markdown table

Fixes #4289

* Fix table spacing
2020-12-05 17:21:26 +01:00
Marc Bernard
21432e8538
Fix dump when using abapGit for more than 50 navigation steps (#4288)
Reverting back to a proper exit of screens using `LEAVE TO SCREEN` and avoid increasing the size of the callstack. 

Closes #4279 

PS: The crash mentioned in #4027 was prevented by removing the commit hash from the check screen. It works also with `LEAVE TO SCREEN`.
2020-12-05 09:48:21 +01:00
Marc Bernard
5ed2f5bb22
DOMA: Fix serialize for missing translations (#4283)
Closes #4278

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-04 09:01:24 +01:00
Marc Bernard
1c8f8038c5
Package Structure - Part 3 (#4286)
$ABAPGIT_OBJECTS_OO:

ZCL_ABAPGIT_OO_BASE
ZCL_ABAPGIT_OO_CLASS
ZCL_ABAPGIT_OO_FACTORY
ZCL_ABAPGIT_OO_INTERFACE
ZCL_ABAPGIT_OO_SERIALIZER
ZIF_ABAPGIT_OO_OBJECT_FNC

#4253

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-04 08:51:43 +01:00
Marc Bernard
58024be52e
TRAN: Improve error messages (#4280)
* TRAN: Improve error messages

Pass T100 messages to UI/log

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-04 08:46:08 +01:00
Lars Hvam
bf89ac55f6
uninstall: "including subpackages" (#4287) 2020-12-04 08:44:03 +01:00
Marc Bernard
d11c82148e
Package Structure - Part 2 (#4273)
* Package Structure - Part 2

$ABAPGIT_OBJECTS_TEXTS:

ZCL_ABAPGIT_LONGTEXTS
ZCL_ABAPGIT_SOTR_HANDLER
ZIF_ABAPGIT_LANG_DEFINITIONS
ZIF_ABAPGIT_LONGTEXTS

$ABAPGIT_OBJECTS_ENH:

ZCL_ABAPGIT_OBJECT_ENHO_BADI
ZCL_ABAPGIT_OBJECT_ENHO_CLASS
ZCL_ABAPGIT_OBJECT_ENHO_CLIF
ZCL_ABAPGIT_OBJECT_ENHO_FUGR
ZCL_ABAPGIT_OBJECT_ENHO_HOOK
ZCL_ABAPGIT_OBJECT_ENHO_INTF
ZCL_ABAPGIT_OBJECT_ENHO_WDYC
ZCL_ABAPGIT_OBJECT_ENHO_WDYN
ZCL_ABAPGIT_OBJECT_ENHS_BADI_D
ZCL_ABAPGIT_OBJECT_ENHS_HOOK_D
ZIF_ABAPGIT_OBJECT_ENHO ENHO
ZIF_ABAPGIT_OBJECT_ENHS ENHS

$ABAPGIT_OBJECTS_TEST:

ZCL_ABAPGIT_OBJECTS_CI_TESTS
ZCL_ABAPGIT_PERFORMANCE_TEST
ZCL_ABAPGIT_TEST_SERIALIZE

* Interfaces for ENHx

* Git platform subpackage

* Git_platform, test packages

* Update package.devc.xml

* Update package.devc.xml

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-04 08:41:35 +01:00
Christian Günter
2fcd477e74
New online: Condense repo url to avoid http errors (#4285) 2020-12-04 05:44:05 +01:00
Marc Bernard
3acdcf3534
Optimize status calculation (#4268)
* Optimize status calc 

Avoid status calculation for ignored files. Since files in / are ignored by default, the starting folder for unit tests is set to /.

* Fix if

* Index

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-03 15:15:26 +01:00
Marc Bernard
a3c98afbef
PINF: Missing transport entry (#4275)
* PINF: Missing transport entry

- Added recording into transport for PINF 
- Added description for FTGL "Feature toggle"

* ftgl

* ftgl

* ftlg
2020-12-03 15:12:55 +01:00
Marc Bernard
5ca21a837d
CLIF: Improve error messages (#4271)
Pass T100 messages to UI/log

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-02 13:08:42 +01:00
Marc Bernard
4ba62614eb
Package Structure - Part 1 (#4272)
$ABAPGIT_CTS:

ZCL_ABAPGIT_CTS_API
ZCL_ABAPGIT_DEFAULT_TRANSPORT
ZCL_ABAPGIT_TRANSPORT
ZCL_ABAPGIT_TRANSPORT_2_BRANCH
ZCL_ABAPGIT_TRANSPORT_MASS
ZCL_ABAPGIT_TRANSPORT_OBJECTS
ZIF_ABAPGIT_CTS_API
2020-12-02 12:57:42 +01:00
Lars Hvam
f782190b3a
class ZCL_ABAPGIT_XML_PRETTY add unit tests (#4263)
* class ZCL_ABAPGIT_XML_PRETTY add unit tests

closes #4260

* Update zcl_abapgit_xml_pretty.clas.testclasses.abap

* fix for byte order mark
2020-12-01 05:09:02 +01:00
Lars Hvam
abaac4ab9b
ZCL_ABAPGIT_AUTH add basic unit test (#4261) 2020-12-01 05:05:22 +01:00
Lars Hvam
a0a9eb1771
REPO online: change get_objects to private (#4262)
#2127
2020-12-01 05:00:55 +01:00
Lars Hvam
d92e313c32
string map, remove reference to cl_abap_structdesc (#4257)
the reference is not used, plus it is already validated that input is a structure
2020-12-01 04:54:16 +01:00
Lars Hvam
efa6aa9347
Remove two places wih repo class insantiation (#4250)
* zip, method encode_files as public

* refactor instantiation

* remove filter input parameter
2020-11-30 11:23:36 +01:00
Lars Hvam
0f8a40aa81
unit testing test (#4254)
* update deps

* update deps

* update

* skip exception tests

* update runtime

* update deps

* update deps

* skip invalid

* adler32 running

* update deps

* run for URL class

* update deps
2020-11-29 16:18:11 +01:00
Marc Bernard
7f61ebd645
UI: Clear progress bar (#4249)
* UI: Clear progress bar

Clears status/progress bar at end of process and removes leftover messages. 

Closes #3505

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-27 10:18:52 +01:00
Lars Hvam
846e0a0e1b
ZCL_ABAPGIT_TRANSPORT sort methods (#4251) 2020-11-26 12:33:18 +01:00
Marc Bernard
552024ac3f
UI: Improvements for setting pages (#4229)
* UI: Improvements for setting pages

- Better navigation between settings pages
After jumping between setting pages, the back button will go to last page before navigating to the settings (ie "back with bookmark")
- Add commit work

* Lint + router

* Jump repo view to settings

* Lint

* Conflict

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-26 11:54:49 +01:00
Philipp R
45770773f5
unify rebuild_local_checksums method (#4237)
* unify rebuild_local_checksums method

redefinition of rebuild local checksums is reduced to redefinition of "get_remotes"

* fix formatting

* remove duplicate method implementations

* remove duplicate method implementation

* update zcl_abapgit_repo_online

Co-authored-by: Rembold Rembold <philipp.rebold@sap.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Philipp Rembold <Philipp.Rembold@sap.com>
2020-11-26 11:48:05 +01:00
Marc Bernard
ca0ff368c3
Remove obsolete late_deser from metadata (#4243)
* Remove obsolete late_deser from metadata

Final part to remove late_deser flag. Solution remains compatible with old bridge class which still uses the flag.

* Call

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-25 09:59:33 +01:00
Marc Bernard
e36486901d
Check objects when installing into main package (#4244)
* Check objects when installing into main package

Closes https://github.com/abapGit/abapGit/issues/2273

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-25 09:53:56 +01:00