Commit Graph

4494 Commits

Author SHA1 Message Date
Christian Günter
9d7212e820
Update other-articles-and-presentations.md (#4246) 2020-11-25 09:26:20 +01:00
Marc Bernard
bdcb725fc9
Replace cl_aunit_assert with cl_abap_unit_assert (#4239)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-24 17:28:43 +01:00
Lars Hvam
0a24986682
update linter configuration to latest (#4241)
* update linter configuration to latest

* rerun

* rerun
2020-11-24 17:07:14 +01:00
Lars Hvam
a3ff1a2e4a
move files logic to serialize class (#4231)
* move apack file build to apack package

* move files logic to serialize class
2020-11-24 15:45:44 +01:00
Constantinos Sourelis
5d8f4d2033
User interface: "Advanced" menu tooltips (#4214)
* User interface, "Advanced" menu

Added tooltips to the "Remove" and "Uninstall" options in the advanced menu. As a new user, I would revisit the [documentation](https://docs.abapgit.org/guide-online-uninstall.html) to distinguish between the two.

The tooltips are passed as "iv_title" parameters to ZCL_ABAPGIT_HTML_TOOLBAR->add

* Update src/ui/zcl_abapgit_gui_page_repo_view.clas.abap

Adjustments from review

* Update src/ui/zcl_abapgit_gui_page_repo_view.clas.abap

Adjustments from review

* Update zcl_abapgit_gui_page_repo_view.clas.abap

Comply with abaplint line length of 120

* Update zcl_abapgit_gui_page_repo_view.clas.abap

Comply with abaplint's no whitespaces at EOL

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-24 15:43:40 +01:00
Lars Hvam
01d968c1f8
show log, remove title parameter (#4234)
* show log, remove title parameter

the log objec already have the title as part of the object, another input is not required

this aligns the code to always use the title from the object

closes #4223

* zif_abapgit_log, change title to csequence input
2020-11-24 15:41:26 +01:00
Lars Hvam
6fe7cf8ec0
delete ZIF_ABAPGIT_GIT_OPERATIONS (#4233)
merge the methods into zif_abapgit_repo_online

#2127
2020-11-24 15:37:01 +01:00
Marc Bernard
c554ff2fc7
Refactor: Version comparison (#4216)
* Refactor: Version comparison

Move version comparison from `zcl_abapgit_news` to `zcl_abapgit_version` and make it public for use in other places

* Lint

* Compare sem versions

* Change supplied

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-24 08:16:50 +01:00
Marc Bernard
9efdae315d
Dialogs: Enhance HTML form with table control (#4230)
* Dialogs: Enhance HTML form with table control

- Adds option to maintain data using a table control
- Extends UTs with several cases that were include in #4172
- Table control to be used by "repo settings" #4171

* Border

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-24 08:11:53 +01:00
Marc Bernard
aa2f4bb8e7
Resolve hotkey conflict (#4228)
"f" is default for vimium-links. Changed "New Offline" to "o".

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-24 08:04:27 +01:00
Lars Hvam
5e2d8de52a
/git/, put method get_length under test (#4224)
* /git/, put method get_length under test

add unit tests for method get_length

the method will probably be refactored sometime in the future, I think the bit manipulation can be replaced with some hex, div and bit-mask magic

* fix tabs
2020-11-24 08:02:39 +01:00
Lars Hvam
20c714889f
ZCL_ABAPGIT_GIT_URL, remove repo usage (#4225)
* ZCL_ABAPGIT_GIT_URL, remove repo usage

https://github.com/abapGit/abapGit/issues/2127#issuecomment-732262897, first part of C

* Update zcl_abapgit_git_url.clas.testclasses.abap

* Update src/git_platform/zcl_abapgit_git_url.clas.testclasses.abap

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-11-24 08:00:36 +01:00
Lars Hvam
53790c3770
log, purge() now returns the log (#4222)
* log, purge() now returns the log

For each action, the log should be returned, then it is up to the UI how or if to show or persist it in the session.

First step of #2821

* li_log not needed anymore
2020-11-24 07:58:22 +01:00
Lars Hvam
6bd3242ecf
dot abapgit file, move file build (#4226)
move responsibility for building the dotabapgit file to the dotabapgit class instead of the repo

https://github.com/abapGit/abapGit/issues/2127#issuecomment-732262897
2020-11-24 07:55:15 +01:00
Lars Hvam
d3b68b8a48
remove broken dynamic call (#4221)
closes #4195

but lets keep #3453 open
2020-11-24 07:52:58 +01:00
Constantinos Sourelis
f9a6f2d514
Documentation updates to the "contributing" section (#4219)
* Update contributing.md

Rephrase and reorganize to make the various concepts clearer, especially to new abapGit adopters

* Update contributing.md

Clarifications on fork requirement

* Update contributing.md

* Update contributing.md

* Update contributing.md

* Update user-owned branch following merge with abapGit master (#2)

* Documentation: Rephrase the "contributing to abapGit" section (#4213)

* Update contributing.md

Rephrase and reorganize to make the various concepts clearer, especially to new abapGit adopters

* Update contributing.md

Clarifications on fork requirement

* Update contributing.md

* Update contributing.md

* Update contributing.md

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

* Fix uncaught exception of zcl_abapgit_repo_srv (#4215)

When repeatedly navigating "back" to the main screen via the "Repository List" [o] button:
If somewhere in this navigation sequence you Remove a repository,
then continue on via "Repository List",
but later you use the GUI's actual "BACK" button, until you have returned to the main screen where that repository still existed,
a short dump occurs as the exception raised by zcl_abapgit_repo_srv=>get in zcl_abapgit_gui_page_repo_view->render_content propagates unhandled

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

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

* Update contributing.md

Fix the ordered list markup for github pages (where numbering was being restarted)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-23 17:30:36 +01:00
Lars Hvam
381d40e35a
ZCL_ABAPGIT_HASH add shorthand methods (#4220)
This adds shorthand methods for the SHA1 calculation of the different git artifacts.
More logic in ZCL_ABAPGIT_HASH, but easier to read and less application logic.
2020-11-23 14:30:31 +01:00
dependabot-preview[bot]
968efd4767
Update @abaplint/cli requirement from ^2.60.8 to ^2.60.9 (#4217)
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-23 10:34:18 +01:00
Constantinos Sourelis
e51ca12eb5
Fix uncaught exception of zcl_abapgit_repo_srv (#4215)
When repeatedly navigating "back" to the main screen via the "Repository List" [o] button:
If somewhere in this navigation sequence you Remove a repository,
then continue on via "Repository List",
but later you use the GUI's actual "BACK" button, until you have returned to the main screen where that repository still existed,
a short dump occurs as the exception raised by zcl_abapgit_repo_srv=>get in zcl_abapgit_gui_page_repo_view->render_content propagates unhandled

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-23 08:31:26 +01:00
Constantinos Sourelis
45a142785b
Documentation: Rephrase the "contributing to abapGit" section (#4213)
* Update contributing.md

Rephrase and reorganize to make the various concepts clearer, especially to new abapGit adopters

* Update contributing.md

Clarifications on fork requirement

* Update contributing.md

* Update contributing.md

* Update contributing.md

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-23 08:26:57 +01:00
Marc Bernard
82668de47b
UI: New pages for global and personal settings (#4192)
* Dialogs: New pages for global and personal setting

Redesign of abapGit settings using HTML forms. Two functional changes to old settings page:
- "Development Internal Settings" are only visible when using the developer version (not in standalone program)
- "User-specific hotkey settings" are not available anymore. The default hotkeys continue to work as before.

Global/Personal settings can be reached using hotkeys "x" and "y".

* Lint

* Hide button

* Change to top menu

* Remove old page

* Remove old page

* fix links

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-23 08:24:17 +01:00
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