Commit Graph

4671 Commits

Author SHA1 Message Date
Marc Bernard
b4cd1695ab
XSLT: Unlock in case of errors (#4512)
If an XSLT object has for example syntax errors, it remains locked and can't be edited:

The change unlocks the object in this case.
2021-02-13 17:09:29 +01:00
Lars Hvam
da53a04abb
zif_abapgit_html_viewer: refactor CNHT_POST_DATA_TAB & CNHT_QUERY_TABLE (#4499)
* zif_abapgit_html_viewer

* fix syntax
2021-02-12 11:05:46 +01:00
Lars Hvam
fc3fbbaba8
remove install abapgit option from debug page (#4501)
* remove install abapgit from debug page

* fix
2021-02-11 06:51:21 +01:00
nesl9
401a52da4e
Fixes issue referenced in #4487 (#4504) 2021-02-11 06:42:20 +01:00
Lars Hvam
8e07d46f4b
jump_se11, remove unused parameters (#4498) 2021-02-09 15:50:27 +01:00
Marc Bernard
8c9bca3a4f
Fix display of log after uninstall (#4490)
The uninstall log was dropped too early during refresh of repo. Now it's passed properly to the UI.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-09 07:37:04 +01:00
Marc Bernard
3766260312
Correct statistics for offline repos (#4489)
* Correct statistics for offline repos

- Adjust labels: "Remote" to "ZIP"
- Fix some file counts

* ZIP

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-09 07:33:17 +01:00
Jan Ježek
901d877206
Serialise only main language for shi3 objects (#4497) 2021-02-09 07:31:16 +01:00
Marc Bernard
3db8c950b8
Adjust "ZIP" spelling (#4495)
* ZIP

* ZIP

* ZIP

* ZIP

* ZIP
2021-02-08 14:46:05 +01:00
Marc Bernard
c26d2158a1
Fix minor CSS issues (#4492)
Fix the following issues to make it CSS3 compliant:
- Font-style bold is not a font-style value
- Family names containing whitespace should be quoted
- Same color for background-color and border-color

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-06 09:39:03 +01:00
Marc Bernard
30201d4329
I18N: Catch exceptions (#4491)
* I18N: Catch exceptions

Handle exceptions properly and avoid unnecessary serializations

* Remove pragma

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-06 09:36:29 +01:00
Marc Bernard
a15ca2a801
Remove packages from duplicate file check (#4488)
* Remove packages from duplicate file check 

Closes #4485

* Lint
2021-02-05 07:18:38 +01:00
Christian Günter
3674fa55fc
fix sapevents for chromium based browser control (#4478)
* fix sapevents for chromium based browser control

* Fix tooltip hotkey + remove duplication

* fix eslint errors

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-04 15:18:10 +01:00
Marc Bernard
73576ee60e
Improve error messages (#4472)
* Improve error messages

Pass T100 messages to UI/log

* T100 errors

* APACK

* OO

* DEVC

* DRUL

* DTDC

* SRVB

* OBJS

* Program

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-03 16:31:55 +01:00
Marc Bernard
13d3d0aac1
Replace void types (#4484) 2021-02-03 05:53:50 +01:00
Marc Bernard
dd813ed807
DEVC: Fix check if package is empty (#4466)
* DEVC: Fix check if package is empty

SOTR object is linked to SAP package and removed together with the package on uninstall. Therefore, it should not be taken into account when checking if a package is empty.

* Update comment

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

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-02 21:01:48 +01:00
Marc Bernard
0cd25ce331
SICF: Fix regression (#4481)
Removed code is part of `adjust_objects` already (https://github.com/abapGit/abapGit/pull/4426)
2021-02-02 07:31:17 +01:00
Lars Hvam
12e0ad295e
update deps (#4476) 2021-02-01 09:47:46 +01:00
Marc Bernard
f570a6a0a9
Reduce flicker of status bar during deserialize (#4467)
The progress bar should not be turned off after `deserialize_object` (but only at end of `deserialize`).

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-02-01 09:36:00 +01:00
Marc Bernard
0e6a4ab764
W3xx: Remove TADIR entry on uninstall (#4465)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-31 10:43:29 +01:00
JustACasual
bcbc3d527d
I18N: LXE Translations (#4415)
* Issue 2424

https://github.com/abapGit/abapGit/issues/2424

* Issue 2424

https://github.com/abapGit/abapGit/issues/2424

* Update src/objects/zcl_abapgit_object_fugr.clas.abap

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

* Fixing LINT issues

* Fixing LINT issues

* TABL, default ROWORCOLST on deserialize (#4430) (#4)

* Fix for #4425

* Remove whitespace at end of line

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

* Remove whitespace at end of line

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

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

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

* Centralize LXE functionality

* Fix FUGR LXE

* delete issue reference comments

* Delete issue reference comments

* Remove Aliases for LXE types

* Review Changes

* Copy from #4452

Integrate changes from #4452 into #4415

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: DerGuteWolf <DerGuteWolf@users.noreply.github.com>
Co-authored-by: Sebastian Koitka <sebastian.koitka@dematic.com>
Co-authored-by: Marc Bernard <marc@marcbernardtools.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2021-01-31 10:36:28 +01:00
Marc Bernard
1eac7e1f89
ACID: Avoid "no changes found" popup (#4464)
* ACID: Avoid "no changes found" popup

- Fix "no changes found" popup in case identical object is deserialized again
- Change to T100 messages
- Add missing dequeue

* Lint

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-28 08:48:25 +01:00
Lars Hvam
1960e15561
update ajson to latest from mirror (#4462) 2021-01-28 08:45:11 +01:00
Lars Hvam
4616e6f219
v1.105.0 (#4463)
* v1.105.0

* 1.105.0
2021-01-27 12:25:41 +01:00
Marc Bernard
eb4986389e
Adjustments to Debug Info (#4459)
* Adjustments to Debug Info

- Fix display of abapGit installation package (side-effect of changed package assignment)
- Clarify that list of supported objects is relevant for the local system only (since it's release dependent)
- Add link to complete list of supported objects

* Remove pragmas
2021-01-27 09:23:44 +01:00
Marc Bernard
212f9f8da2
Remove obsolete code related to hotkeys (#4456)
Remove code related to user-specific hotkey settings.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-26 19:36:24 +01:00
Marc Bernard
4b34d5743e
Minor adjustment to front-end dialogs (#4458)
- Change extension of ZIP-files to lower case ".zip"
- Adjust error messages

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-26 19:31:33 +01:00
Marc Bernard
6070d27956
Update docs for DB Utility (#4457)
* Update docs for DB Utility

* Update

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-26 19:27:43 +01:00
Marc Bernard
8b367b8068
Update docs for repo install and settings (#4455)
* Update ref-dot-abapgit.md

* Add files via upload

* Update ref-dot-abapgit.md

* Add stats doc

* Update ref-settings-stats.md

* Add files via upload

* Delete repo_settings_stats.png

* Add files via upload

* Delete guide-proxy-configuration.md

Covered in "Global settings"

* Delete guide-development-version.md

Covered under "Installation"

* Update guide-install.md

* Add files via upload

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-26 19:25:45 +01:00
Marc Bernard
02bddf49fb
NSPC: Update docs (#4454)
* NSPC: Update docs

* Image

* Auto-create package

* Update screenshot

* Auto-create package

* Create ref-packages.md

* Update ref-namespaces.md

* Update ref-packages.md

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-26 19:21:55 +01:00
Lars Hvam
faa441ced0
ZCL_ABAPGIT_UTILS refactor unit test (#4451)
one method per test case, this makes it possible to see which unit test fails, if something fails

just numbered methods, because I'm lazy

closes #4441
2021-01-26 06:20:50 +01:00
Ethan Jewett
c89cff6b89
Docker infrastructure (#4445)
* Basic docker compose infrastructure

* Fix port mapping problem

* Move files into test folder

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-25 18:26:18 +01:00
Marc Bernard
c48c030a0c
Fix status calculation on package move (#4447)
* Fix status calculation on package move

If an object is moved to another package *and* changed, the status was "blank". Now the object status is properly shown as "added/deleted". Also the `packmove` flag is *not* set anymore since a simple `tadir` change would not be sufficient. 

Extended unit test to cover this case.

* Split test method

* pretty

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-25 13:55:21 +01:00
Lars Hvam
8ed76d1661
unit testing test (#4429)
* update deps

* update deps

* update deps

* add zcl_abapgit_xml_pretty

* add two interfaces

* add zif_abapgit_branch_overview

* ZCL_ABAPGIT_UTILS

* more interfaces

* add zcl_abapgit_git_tag

* add ZCL_ABAPGIT_ZLIB

* update deps

* add zcl_abapgit_persistence_db

* add zif_abapgit_persist_user

* update deps

* update deps
2021-01-25 12:33:33 +01:00
Lars Hvam
fbdcd47788
docs, update supported (#4450) 2021-01-25 07:35:35 +01:00
Lars Hvam
bcba34daf6
refactor ZCL_ABAPGIT_TIME (#4444)
* refactor ZCL_ABAPGIT_TIME

#4443

can someone help checking if this works on 702? ie. no syntax errors on 702

* fix
2021-01-25 07:28:59 +01:00
Christian Günter
cf28bef8a4
Fix ABAP-Doc warnings (#4439) 2021-01-23 10:42:16 +01:00
Marc Bernard
6d356400f6
Terminology: Inclusive Language - Part 4b (#4436)
Change of terminology (#4043). This time with the missing changes in service_repo.

repo_srv and serializer will be next after #4431.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-23 10:13:42 +01:00
Marc Bernard
40efc567f6
Automatic creation of top repository package (#4431)
* Automatic creation of top repository package

When adding a repository, it is not necessary anymore that the top SAP package assigned to the repository exists. Just enter a package name and clone (works for offline, too). 

The initial diff will now show that the top package exists remotely only. Therefore, when pulling, you will not get the "confirm overwrite package" popup anymore. Yippie!

* Typo

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-23 10:11:54 +01:00
Marc Bernard
cd3b29aac1
NSPC: Add support for namespaces (#4426)
* NSPC: Add support for namespaces

Part 2 of #835

If a repo contains any namespaced object, then this PR will make namespaces part of the repository. So far, serializing and updating an existing namespace is supported.

abapGit can not (yet) create the namespace automatically. This will require a bit of refactoring which will then also support creating the top repo package automatically. Coming soon. 

See readme of test case https://github.com/abapGit-tests/NSPC

* Refactor build

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-23 10:05:58 +01:00
Frederik Hudák
45badeb527
Add refresh button to stage page (#4437) 2021-01-23 09:56:15 +01:00
Lars Hvam
431f7095f4
bugfix, Component MAIN_LANG_ONLY not found in targ (#4435)
#4434

rolls back changes from #4432
2021-01-22 10:17:24 +01:00
Marc Bernard
978b7a4a57
Terminology: Inclusive Language - Part 4 (#4432)
* Terminology: Inclusive Language - Part 4

Continue change of terminology (#4043)

* Service

* Language

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-21 17:18:03 +01:00
DerGuteWolf
4c07c33c21
TABL, default ROWORCOLST on deserialize (#4430)
* Fix for #4425

* Remove whitespace at end of line

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

* Remove whitespace at end of line

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

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2021-01-21 06:21:23 +01:00
Marc Bernard
5c7baae1ab
Refactor CTS API and support additional objects (#4424)
* Refactor CTS API and support additional objects

- Change methods from public to private
- Reduce interface to public methods
- Support objects that can not be locked but can be included in a transport (prep for namespaces)

* Remove lenght check

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-20 18:23:10 +01:00
Jakub Filak
ad0c8cd12e
utils: allow repo names with dots (#4428)
There is no problem with having dots in names - we have these names in
our corporate github.

I don't know how to deal with the non-deterministic regex differently
than first trying with the suffix .git and than without it.

Closes #4427
2021-01-20 12:31:43 +01:00
Marc Bernard
31a550db0f
Refactor I18N settings (#4423)
* Refactor I18N settings

- Consolidate I18N parameters into a structure and pass it to xml and serializer classes (#4415)
- Continue change of terminology (#4043)

* Remove changes to serializer class

* Main lang

* DSYS

* OTGR

* Repo view

* Main langu

* Repo view %26 stage

* Serialize

* Settings

* Repo view

* Defs

* Stage

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-19 14:29:09 +01:00
Marc Bernard
fd86eaa0bc
Repo view: Adjust link to settings & render transport (#4422)
* Repo view: Adjust link to settings & render transport 

- Update link text
- Re-init flag to render transport (in case the package has changed)

* Main langu
2021-01-19 08:11:22 +01:00
Marc Bernard
7d4773ca23
NSPC: Add warning if namespace does not exist (#4420)
* NSPC: Add warning if namespace does not exist

Part 1 of #835

* Limit to xml files

* Unit test

* RC

* Regex

* Refactor checks into methods

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-18 17:55:34 +01:00
Lars Hvam
392562ef22
update ajson to latest (#4417) 2021-01-18 09:37:18 +01:00