Commit Graph

4523 Commits

Author SHA1 Message Date
Lars Hvam
c6573701cb
update deps (#4200)
* unit testing test

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update deps

* update eslint to latest

* update deps

* update deps

* update deps

* update deps

* update deps
2020-11-22 14:48:55 +01:00
Lars Hvam
18900789a3
1.103.0 (#4212)
* 1.103.0

* v1.103.0
2020-11-22 09:53:55 +01:00
Jaime Rodriguez Capote
9ef961cc8a
DDLS newline serialization in 750 and lower (#4143)
* DDLS: Empty line at serialization

Change included in 751+

* Newline serialization remove spaces

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-22 09:47:20 +01:00
Lars Hvam
4a30a3c079
VIEW file format updates (#4010) 2020-11-22 09:45:34 +01:00
Fabian Lupa
6c0df0f5bd
Support JUMP in SHI3 for GHIER (#4209) 2020-11-20 16:51:26 +01:00
Lars Hvam
725d92f98e
bugfix, PR popup sorting (#4206) 2020-11-20 08:51:01 +01:00
Fabian Lupa
123de8fd68
Allow html viewer to be hidden (#4203)
* Allow html viewer to be hidden

for CALL SCREEN in the same session to work

* Move html viewer hiding to router
2020-11-20 08:38:37 +01:00
Lars Hvam
7c1753613a
remove use of cl_message_helper (#4205) 2020-11-19 15:22:36 +01:00
Philipp R
b6afd31d6a
Create an interface for online repo functions (#4201)
* Create an interface for online repo functions

To make my own code calling online repo functions testable, I need some functions behind an interface. Using aliases, this is a safe refactoring. Please pull :)

* Update src/zif_abapgit_repo_online.intf.abap

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

* Update src/zif_abapgit_repo_online.intf.abap

Commit abaplint recommendation

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

* update formatting

Co-authored-by: Rembold Rembold <philipp.rebold@sap.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2020-11-19 12:38:02 +01:00
Marc Bernard
46470da59d
Improvements for uninstall (#4198)
* Improvements for uninstall

- Improve error handling on deletion collecting errors in log
Closes #4197

- Remove limit of 3 loops which allows deleting objects with deeper dependencies
(Follow-up https://github.com/abapGit/abapGit/issues/3228#issuecomment-728800249)

* Exception

* Error msg

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-19 09:31:31 +01:00
Fabian Lupa
cac7cd42fb
Implement JUMP for SHI5 (#4202) 2020-11-18 18:27:53 +01:00
Marc Bernard
9e385c264e
UI: Add help buttons to "New Online/Offline" (#4189)
* UI: Add help buttons to "New Online/Offline"

- Add help button to both dialogs linking to docs.abapgit.org
- Clicking the button brings up the documentation inside the GUI HTML viewer
- Enhancement to `zcl_abapgit_gui` and `zcl_abapgit_html_viewer_gui` to properly handle 'Back' when navigating through Internet pages

* Open help in external browser

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-18 07:33:00 +01:00
Lars Hvam
59136bd06a
docs: add link to blog "abapGit and namespace" by @Keller-Michael (#4199) 2020-11-18 07:29:15 +01:00
Fabian Lupa
267f7a0a6e
Fix reset for deletions (#4194)
* Fix reset local not deleting objects

Fixes #4186

* Fix typo

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-17 17:59:01 +01:00
Lars Hvam
5e629f19a7
fix pages build (#4196) 2020-11-17 13:56:24 +01:00
Marc Bernard
24649f4b71
Update docs for "Settings" (#4191)
* Update docs for "Settings"

New pages for "Global Settings" and "Personal Settings" (to be linked via help buttons in new forms)

* Screenshots

* Screenshots

* Personal settings

* Vimium

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-17 13:26:15 +01:00
Fabian Lupa
a042442e64
Fix missing td for offline repos (#4193)
Fixes #4190
2020-11-17 10:48:27 +01:00
Marc Bernard
1f65d6ba04
Update docs for "New Online/Offline" (#4188)
* Update screen shots

* Add offline install

* Screenshots
2020-11-17 07:34:56 +01:00
Marc Bernard
3503d22bed
UI: Fix scaling of abapGit logo (#4183)
Adding viewBox attribute

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-16 15:08:32 +01:00
Marc Bernard
e93cbc5a1f
Move ty_deserialization, ty_step_data, ty_repo_ref_tt (#4181)
* Move ty_deserialization, ty_step_data

Remove dependencies from `zif_abapgit_definitions` (see https://github.com/abapGit/abapGit/issues/4179)

* Move to interface

* Move ty_repo_ref_tt
2020-11-16 08:34:29 +01:00
Lars Hvam
26e8dcbde2
unit testing test (#4169)
* minor unit testing updates

* update deps

* update deps

* update deps

* start with cleanup

* update deps

* update deps

* gitignore allure-report directory

* update deps

* update deps

* update deps

* fix whitespace

* update deps

* update deps
2020-11-15 12:09:41 +01:00
Marc Bernard
2f31cc6173
UI: Fix HTML validation warnings and error (#4173)
* UI: Fix HTML validation warnings and error

* Back to previous ie=

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-14 16:19:29 +01:00
Lars Hvam
a119c617d3
ALPHA downport, refactor XSTRING_TO_INT (#4177)
* Refactor XSTRING_TO_INT

this will use the built-in type conversion, its less code and most likely also runs faster

* delete METHOD alpha_output

it is only used in one place, and its a simple NUMC that is converted
2020-11-14 16:03:33 +01:00
Marc Bernard
16e8f3d02d
Dialogs: HTML form enhancements (#4172)
* Dialogs: HTML form enhancements

In preparation for https://github.com/abapGit/abapGit/issues/4171, HTML forms were enhanced as follows:

- New integer fields (type "number") with min/max, https://github.com/abapGit/abapGit/issues/3559
- Added support for minlength/maxlength for text fields
- Added support for read-only fields
- Added support for password fields
- New option for adding a help button to the form (with URL link)
- Moved HTML snippets to render method
- Changed parameters to csequence to also accept char variables (like abap_true)
- Minor adjustments to styles

* Lint and fix ul/fieldgroup

* Min/max validation, textarea

* Close textarea tag

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-14 11:28:19 +01:00
Marc Bernard
61599d8225
Dialogs: Change UI texts to title case (#4176)
* Dialogs: Change ui texts to title case

Adjust texts of "New Online" and "New Offline" pages to title case

* Clone
2020-11-14 08:40:50 +01:00
Marc Bernard
dc629d0d69
Fix dump in status calculation (#4162)
* Fix dump in status calculation

Happened when switching a repo from offline to online, which incorrectly set the branch to "master" (separate issue), and then trying to switch branch to "main".

* Add testcase

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-13 14:57:18 +01:00
Lars Hvam
95e427b970
Move type ty_seocompotx_tt (#4168) 2020-11-12 14:29:42 +01:00
Lars Hvam
8690ed02c5
v1.102.0 (#4167)
* v1.102.0

* v1.102.0
2020-11-12 09:17:34 +01:00
Lars Hvam
c4f75fc5a8
ZCL_ABAPGIT_CONVERT refactor (#4161)
* ZCL_ABAPGIT_CONVERT  refactor

this removes calls to function modules, replacing with class based equivalents, or all custom ABAP implementations

* rename local variables
2020-11-12 09:00:32 +01:00
Lars Hvam
8226aefcfe
add interface ZIF_ABAPGIT_MERGE (#4160)
* move merge types to merge class

this will make the God interface defintions smaller

also reducing INTF -> CLAS references

and making it easier to add an interface for the merge class in the future

* add interface ZIF_ABAPGIT_MERGE
2020-11-12 08:57:34 +01:00
Marc Bernard
3d26041779
DEVC: Remove obsolete TADIR entries during uninstall (#4150)
* DEVC: Remove obsolete TADIR entries 

In case a package is local (ie no transports), abapGit will now check if objects still exist in the package. In case an object does not exist anymore, the corresponding TADIR entry will be removed. This allows empty local packages to be uninstalled automatically.

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-12 08:55:18 +01:00
Marc Bernard
cc6a207926
DDLS: Uninstall CDS views even if references exist (#4149)
Uninstall will now remove CDS views even if they are referenced in other views.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-12 08:48:48 +01:00
Marc Bernard
baed78c6bd
Update icon legend (#4165) 2020-11-12 08:40:06 +01:00
Marc Bernard
b25a67acea
Terminology: Inclusive Language - Part 2 (#4159)
* Terminology: Inclusive Language - Part 2

Change "Master Language" to "Main Language" in UI and comments (documentation and variables next)

* Docs

* Docs

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-11 10:36:38 +01:00
Lars Hvam
7addbcb501
add transpile configuration (#4156)
* add transpile configuration

* ignore output folder

* update deps
2020-11-11 10:27:05 +01:00
Marc Bernard
b5ba5092bf
Terminology: Inclusive Language - Part 1 (#4158)
Changing "User Master Record" to "User Record"
2020-11-10 15:16:41 +01:00
Lars Hvam
7960c90c87
ZCL_ABAPGIT_CONVERT additional tests (#4157)
class ZCL_ABAPGIT_CONVERT, add tests for following methods
BINTAB_TO_XSTRING
STRING_TO_TAB
STRING_TO_XSTRING
XSTRING_TO_BINTAB
2020-11-10 14:23:56 +01:00
Lars Hvam
e35df57646
Change TY_SVAL_TT location (#4155) 2020-11-10 14:21:42 +01:00
Lars Hvam
8d4e60e990
Move PR enum classes to new package (#4154)
closes #4085
2020-11-10 14:19:23 +01:00
Lars Hvam
20a8acde44
Fix dump after moving files (#4153)
* Fix dump after moving files

#4152

* single parameter on single line
2020-11-10 14:14:54 +01:00
Marc Bernard
b519f7c989
Optimize order of uninstalling objects (#4148)
- Add FUGR, CLAS, INTF into existing order of object types
- Also fixes BINARY search for DDLS dependencies

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-10 06:36:22 +01:00
Lars Hvam
3162b23c39
Move git url repo methods (#4147)
* Move git url repo methods

This moves methods GET_COMMIT_DISPLAY_URL and GET_DEFAULT_COMMIT_DISPLAY_URL from the repo class to new class in new package GIT_PLATFORM.

we want to keep the repo class small, as its quite complex and central

#4085

* fix line length
2020-11-10 06:34:16 +01:00
dependabot-preview[bot]
443850751a
Update eslint requirement from ^7.12.1 to ^7.13.0 (#4146)
Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.13.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-09 09:26:18 +01:00
dependabot-preview[bot]
e1e87dc06e
Update @abaplint/cli requirement from ^2.59.0 to ^2.59.4 (#4145)
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-11-09 09:24:39 +01:00
Marc Bernard
5df956a37a
Toggle display of hidden characters on diff page (#4136)
* Toggle display of hidden characters on diff page

Time for something new...

I added a toggle switch to the diff page that allows you to show otherwise hidden characters.
- CR end-of-line 
- Spaces
- Tabs
- Byte-order-mark

Closes https://github.com/abapGit/abapGit/issues/2124
Closes https://github.com/abapGit/abapGit/issues/3676
Improves https://github.com/abapGit/abapGit/issues/2804

* Add ini

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-07 09:54:38 +01:00
Lars Hvam
85404ce72f
Refactor ZCL_ABAPGIT_PERSIST_BACKGROUND (#4123)
+ remove MT_JOBS
+ add GET_BY_KEY that can be used instead of LIST

closes #1455
2020-11-07 09:52:00 +01:00
Marc Bernard
098682dcbb
PROG: Remove inactive sources during uninstall (#4141) 2020-11-07 09:24:34 +01:00
Lars Hvam
e9e90a4ff1
Update other-articles-and-presentations.md (#4139) 2020-11-05 10:52:40 +01:00
Marc Bernard
5c1298697d
Trigger main command when pressing enter in form (#4102)
* Triggers main command when pressing enter in form

Adds hidden button that triggers main command when pressing the enter key

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-05 09:46:21 +01:00
Marc Bernard
b408cad115
Backup and restore for abapGit persistency (#4137)
* Backup and restore for abapGit persistency

Backup complete content of abapGit persistency to a ZIP file and restore when necessary.

* Messages

* 702

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-05 09:28:48 +01:00