Commit Graph

60 Commits

Author SHA1 Message Date
Guenter Christian
fa35dd070d get rid of aliases 2025-04-05 12:27:17 +00:00
Marc Bernard
cb58678c79
Refactor: Types related to object interface (#7096)
Some checks are pending
main-build / build-merged (push) Waiting to run
main-build / auto-tag (push) Waiting to run
main-build / auto-tag-artifact (push) Blocked by required conditions
main-build / coverage (push) Waiting to run
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2024-12-05 18:01:09 +01:00
Alexander Tsybulsky
f0a6532deb
Exclude files from remote (#6942)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2024-06-16 07:34:23 +02:00
Michael Käsemann
c8b3cf0746
Fix Filter Application Bug (#6824) 2024-02-23 12:37:51 +01:00
Marc Bernard
978a8aa65c
Fix APACK issues (#6743)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2024-01-09 12:31:46 +01:00
Marc Bernard
75b6efff09
Rename repository utilities (1) (#6739) 2024-01-08 20:30:54 +01:00
Lars Hvam
60cf845079
ZCL_ABAPGIT_REPO, try prefixing the method (#6724) 2024-01-02 17:56:10 +01:00
Marc Bernard
e86d473140
Repo status: Replace input with repo interface (#6719)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-12-25 20:24:33 +01:00
Lars Hvam
9419a10e87
put zcl_abapgit_default_transport behind interface (#6673) 2023-11-30 07:48:55 +01:00
Marc Bernard
e0f94a4818
Fix deletion/uninstall when using local settings (#6640)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-11-13 06:52:04 +01:00
Marc Bernard
dd63de8294
Consolidate offline and online repo view (#6638)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-11-12 15:24:40 +01:00
Marc Bernard
d243e9ac05
Add "name" to repository settings (2) (#6635) 2023-11-09 14:25:19 -05:00
Marc Bernard
18fadaea7b
Add "name" to repository settings (prep) (#6633)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-11-08 09:49:37 -05:00
Marc Bernard
680d69377a
APACK: Allow overwriting missing dependencies (#6612)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-11-06 14:05:28 -05:00
Lars Hvam
2e24bbe962
refactor repo list files local filter (#6590)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-10-30 14:58:01 +01:00
Marc Bernard
a3291a1e40
Clean-up double_spaces (2) (#6575) 2023-10-26 09:42:51 -04:00
Lars Hvam
f417f8fa18
cleanup: select_add_order_by skip FAE + fix all omit_parameter_name (#6544) 2023-10-15 15:18:31 +02:00
Marc Bernard
02dfc77129
Enhance ABAP Language Version class (#6484)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-09-29 16:29:12 +02:00
Marc Bernard
d5b11d15ab
Move check_for_restart from zcl_abapgit_repo (#6470)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-09-07 08:51:29 -04:00
Marc Bernard
722be0c503
Remove status from zcl_abapgit_repo (#6440)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-08-30 16:54:25 +02:00
Marc Bernard
274f802e8b
Rename zcl_abapgit_file_status (#6413)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-08-23 08:08:30 +02:00
Marc Bernard
43db85ea38
Move check_and_create_package to repo services (#6410)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-08-22 06:41:41 +02:00
ThomasPloski
e177147f10
Introduce ABAP Language Version base functionality (#6346)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-07-23 15:03:46 +02:00
Marc Bernard
26fb5c0d3f
Avoid remote connection for uninstalling repo (#6219) 2023-04-17 12:07:52 +02:00
Alexander Tsybulsky
868cc653b4
Fix checksums on pull with new objects (#6211)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-04-13 18:19:18 +02:00
Marc Bernard
cf528c5413
TABU: Several enhancements (#6191) 2023-04-06 10:13:27 +02:00
Thomas Ergin
8ed3a633db
Pull enabled for customizing tables (#6138)
Co-authored-by: Thomas Ergin <Thomas.Ergin@bmw.de>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Marc Bernard <marc@marcbernardtools.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-03-31 13:25:16 +02:00
Lars Hvam
773f2f7749
refactor, extract git definitions to git (#6029)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-02-03 11:46:00 +01:00
Alexander Tsybulsky
1fe63ac80e
Local organization/grouping/labeling of repos (#5814) 2022-11-03 09:03:51 +01:00
Marc Bernard
ae8d471d4a
Check logon language during uninstall (#5731) 2022-08-29 21:59:51 -04:00
Marc Bernard
3e4c684815
Rename repo interface method implementations (#5667)
Renames methods after changing to interface. Interface methods are now properly named `<interface>~<method>` (instead of `<alias>`). This also fixes warnings and navigation issues in `SE24/SE80`.
2022-06-28 09:24:47 +02:00
Christian Günter
f386846858
New Offline: Auto create package if non-existing (#5634)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-21 12:44:51 +02:00
Fabian Lupa
1052ce6e85
Support direct longtexts in exceptions (#5592)
* Support direct longtexts in exceptions

as opposed to already supported indirect T100-based longtexts

* Lint

* Remove direct longtext variable support

* Add unit tests for exception longtext

* Add longtext message to language mismatch error

* Fix missing preserve_newline handling

* Adjust longtext display in error message box

- Convert newlines to html line breaks
- Indicate if a longtext is available on hover

* Fix duplicate preserve newline handling

* Adjust exception longtext rendering

Render linebreaks as html paragraphs

* Align error message box buttons to bottom right

so they do not move on hover when a longtext is available

* Refactor exception unit tests

* Skip failing transpiled tests

* Adjust longtext indicator for error message

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-05 18:40:34 +02:00
Christian Günter
722a954c43
Improve error message for language mismatch (#5544)
* Improve error message for language mismatch

* refactor

* refactor

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-17 13:31:25 +02:00
Marc Bernard
dd85924244
Properly ignore files during deserialize (#5427)
* Properly ignore files during deserialize

Closes #5426

This moves the ignore logic from `zcl_abapgit_files_status->prepare_remote` to an option of `zcl_abapgit_repo->get_files_remote`. Deserialize can then ignore the files already when getting them via `get_files_remote`.

PS: Required for https://github.com/exercism/abap/pull/82

* Update zcl_abapgit_repo.clas.abap

* Update zcl_abapgit_repo.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2022-04-26 16:52:19 +02:00
Alexander Tsybulsky
2cc3f53fc5
Rework checksums (#5328) 2022-04-13 11:29:23 +02:00
buca92
4d503876a2
Several methods moved from zcl_abapgit_repo to zif_abapgit_repo (#5466) 2022-04-11 13:36:38 +02:00
Marc Bernard
9d9b4327ad
Avoid logon when comparing with remote (#5458)
"Data Config" is persisted on remote side only. Comparison feature reads the local part only and therefore does not support comparing of "data config". Therefore `get_files_remote` is not necessary.

Closes #5189, #5443

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-04-08 17:00:54 +02:00
Alexander Tsybulsky
91cd4c3653
Separate zif_abapgit_repo (#5329)
* zif_repo basis

* all but zcl_abapgit_repo_srv

* fix zcl_abapgit_repo_srv

* remove create_new_log from interface

* "hack" -> "TODO"

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-02-19 09:22:46 +01:00
Marc Bernard
5086b7226d
Add refresh after pull errors (#5312)
* Add refresh after pull errors

Follow-up #5303

* Indent
2022-02-01 16:41:58 +01:00
Frank Müller
b67c06dc2d
Pre Filter Backend Logic (#5226)
* Repo, Repo Online, File Status

* Stage Logic

* Adjustments

* abaplint

* abaplint

* abaplint

* diff between eclipse and vscode

* Centralisation and reuse

* Filter at Get Remote Files instead of Set

* Split Backend And GUI Logic

* abaplint

* abaplint

* Filter Unit Tests

* Missing ,

* remove own type for trobj_name

* Multiple Adjustments

* Rename ZCL_ABAPGIT_REPO_PRE_FILTER to ..._TR

* abaplint

* Replace BAPI_MSG by STRING

* Rename Pre Filter to Object Filter

* Rename Pre Filter also in abap_transpile.json

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-01-04 07:35:57 +01:00
Marc Bernard
c7e4af3be2
Add user exit for serialize postprocessing (#5194)
There are scenarios where you want to serialize objects differently than abapGit. This exit is called at the end of the serialize process and gives an opportunity to change the content of the serialzed files.

One such scenario would be to automatically pretty-print code. This can be achieved by looping over all `.abap` files and processing them accordingly in this exit.

Closes #5050

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-12-11 07:30:50 +01:00
Marc Bernard
b46c8b4599
Refactor: Consolidate front-end classes (#5172)
* Refactor: Consolidate front-end classes

There's no need for two "front-end classes". Moves all of ZCL_ABAPGIT_GUI_FUNCTIONS to ZCL_ABAPGIT_FRONTEND_SERVICES. Now all front-end calls are nicely together.

No functional change, some method reordering. 

Ref #2510, #5145

* Add missing interface

Co-authored-by: Christian Günter <christianguenter@googlemail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-12-09 06:49:43 +01:00
Christian Günter
500d7eeb9f
hotkeys for form actions (#5133) 2021-11-14 14:55:38 +01:00
Christian Günter
53343a98d6
Files: Introduce secondary keys (#5101)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-05 05:32:39 +01:00
Marc Bernard
45806c5a95
Refactor serializer class (#4994)
* Refactor serializer class

- Consolidate i18n parameters
- Move determination of translation languages into serializer class
- Pass translation language setting when parallel processing (was a bug)

* Lint

* Add unit tests

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-10-25 16:01:40 +02:00
Marc Bernard
b331de6bc7
Naming of class constants (#4945)
* Naming of class constants

This is in preparation of enforcing a naming convention for constants in classes/interfaces. At the end, the following lint rule shall be set:

```json
    "class_attribute_names": {
      "constants": "^C_.+$",
...
    },
```

After this, the only remaining constants not following this rule are in `zcl_abapgit_version`.

* Update zif_abapgit_dot_abapgit.intf.abap

* Update zcl_abapgit_gui_chunk_lib.clas.abap

* Update zcl_abapgit_gui_router.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-09-14 16:47:48 +02:00
Lars Hvam
329fd9dc0e
interface and factory for ZCL_ABAPGIT_PERSIST_SETTINGS (#4882)
the old get_instance() method in ZCL_ABAPGIT_PERSIST_SETTINGS has been moved to a method in zcl_abapgit_persist_factory, plus interface added. Added to persist injector
2021-08-03 15:13:16 +02:00
Marc Bernard
ad244abacd
Terminology: Inclusive Language - Part 6 (#4791)
* Terminology: Inclusive Language - Part 6

Change remaining variables and switch setting to main_language. 

Finally closes #4043

* Add todo

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-05-28 13:15:00 +02:00
Marc Bernard
c2e9e58319
Enhance "Force Pull" to become "Selective Pull" (#4733)
* Enhance "Force Pull" to become "Selective Pull"

With this PR you can now peform a selective pull. Yay!

- Changes "Force Pull" to show *all* changed objects in the usual "Overwrite Popup". This allows you to select individual objects to be pulled no matter if they were changed locally or remotely.
- Does *not* change the regular "Pull" logic

Closes #413, #4282

* Combine delete and overwrite popups

* Add icons to abaplint.json

* Change if to case

* Add icons to abaplint.json

* Enhance UTs

* show_icon

* Show icon

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-05-20 06:19:00 +02:00