Commit Graph

2968 Commits

Author SHA1 Message Date
Christian Guenter
f167adecd2 Fix layout in merge mode 2018-08-28 08:30:23 +02:00
Christian Guenter
46f32e6422 Longtext serialization for DTEL, DOMA and TABL
This commit adds three new methods to ZCL_ABAPGIT_OBJECTS_SUPER:
- SERIALIZE_LONGTEXTS
- DESERIALIZE_LONGTEXTS
- DELETE_LONGTEXTS
They can be called on demand in concrete object type serializers.

In this commit they were called from DTEL, DOMA and TABL
2018-08-28 08:30:13 +02:00
Christian Guenter
98a393f147 CSS: remove horizontal scrollbar 2018-08-28 08:29:54 +02:00
Eduardo Ferrari Copat
de90a9c1b8 Fixes #1229: Enable SAP GUI for Java settings (#1865)
* Insert initial line before bothsequence and action

* Change settings boolean read to support Java GUI

Standard netweaver and Java GUI netweaver parse differently the checkboxes on HTML pages. This commit consider the value on the checkbox aseither "on" or "X".
2018-08-27 10:04:40 +02:00
Christian Guenter
d3f4584d3a MSAG: implement is_locked 2018-08-27 09:53:31 +02:00
Christian Guenter
d28b0fdc97 MSAG: Serialize longtexts in message classes 2018-08-22 06:45:38 +02:00
Christian Guenter
e394966795 FIX: CLAS is_locked read enque
Read enqueue entries instead of enqueueing
2018-08-22 06:34:32 +02:00
Christian Guenter
97c40c8f8f Fix: Impossible to save a dummy variant for backgr 2018-08-22 06:30:48 +02:00
Marcello Urbani
40fd90b14d Release locks/abapGit on pure BASIS system Issue #1826 (#1850)
* abapGit on pure BASIS system #1826

* fixed spacing

* Added fallback to old FM

* fixed spacing
2018-08-21 10:36:26 +02:00
Marcello Urbani
f35c285605 clean up ZCL_ABAPGIT_OBJECT_CLAS_OLD, #1801 (#1846)
* refactor zcl_abapgit_object_clas

removed dependencies from zcl_abapgit_object_clas_old, moved methods

* deleted zcl_abapgit_object_clas_old
2018-08-21 10:34:55 +02:00
Christian Guenter
fbc4896d65 New user exit create_http_client
With this commit one can implement the new user exit method
create_http_client for custom http client instantiation.
E.g. to use RFC destinations.
2018-08-20 18:27:26 +02:00
Christian Guenter
491306ff41 Fix: hotkey overview close key dynamically 2018-08-20 18:27:04 +02:00
sandraros
d4dca7e128 Seems the screen "background" has changed little
...since the wiki has been written
2018-08-20 05:58:28 +02:00
Christian Guenter
98cae2c9fd Introduce global hotkeys
With this commit we are able to define global hotkeys. Which means
that the hotkey is active on all pages. The global hotkeys are
defined in ZCL_ABAPGIT_GUI_PAGE=>GET_HOTKEY_ACTIONS. The first
globally defined hotkey is the hotkey overview with the default
hotkey '?' assigned to it. This was previously hard coded in the js.
2018-08-18 06:57:25 +02:00
Christian Günter
f46e1e1c59 Fix close hotkey overview popup #1833 (#1835)
* Fix close hotkey overview popup

* Add text how to close hotskeys overview
2018-08-17 13:34:09 +02:00
Christian Guenter
d329a2d69f Add switch branch hotkey 2018-08-17 10:47:43 +02:00
Christian Guenter
f0415a22fd More hotkeys
More on page main and code inspector,
plus changed default for settings.
2018-08-17 09:55:09 +02:00
Christian Guenter
e699e7b0c9 Offline repo: make name obligatory 2018-08-17 09:26:55 +02:00
Christian Guenter
5c2a646809 Hotkey overview
After this commit is applied one can open the hotkey overview
with '?'.
2018-08-17 09:26:12 +02:00
Johannes Konings
d25bfaf725 fix some naming conventions
https://github.com/larshp/abapGit/issues/1132
2018-08-17 09:24:22 +02:00
Johannes Konings
c3691622ed fix some naming conventions
https://github.com/larshp/abapGit/issues/1132
2018-08-16 06:32:19 +02:00
Christian Günter
fc1df4b9ee Introduce customizable hotkeys #1728 (#1820)
* Introduce customizable hotkeys

With this commit customizable hotkeys are introduced. They can
be defined in the user specific settings. Currently we support
only one letter keybindigs e.g. 's', 't' or 'x' and no modifiers.

Every page in the UI can decide which actions it offers for the
hotkeys. Therefore we introduce the interface ZIF_ABAPGIT_GUI_PAGE_HOTKEY
with the method GET_HOTKEY_ACTIONS. At this point in time only
the main page offers actions for hotkeys, but the mechanism works
already for all pages. New actions for hotkeys can be defined
easily.

Hotkeys are only available for installed abapGit repositories.
Because we need to detect the classes which implement the above
mentioned interface and it seems that there is no easy way to do
that for local classes. Maybe we can add it later when we know more.

We don't supply default key bindings. So it is totally up to the
user to define them.

* provide default hotkeys
2018-08-16 06:32:03 +02:00
larshp
49ee796fc9 move responsibility for SHA1 calc
move responsibility for SHA1 calculation, in preparation for parallel object serialization move calculation
2018-08-13 18:35:08 +02:00
larshp
6044d3e7b2 move PERSIST_USER behind interface
move PERSIST_USER behind interface

will be moved to instantiate via factory in follow up PR
2018-08-13 18:34:28 +02:00
Lars Hvam
1dbc2195f8
update gitgraph to latest (#1814)
* update gitgraph to latest

* docs: dependencies, update gitgraph to latest
2018-08-13 18:33:45 +02:00
larshp
e3df6fe4c2 PROG: add guard for bad TADIR EIMP entries 2018-08-13 18:33:23 +02:00
Johannes Konings
6a2125652d
Uniform spelling of abapGit 2018-08-13 17:37:07 +02:00
Chris Paine
049a8ae0d1 add URL for Discovery Consulting and Yelcho 2018-08-13 05:52:17 +02:00
first profile
4d79ae35d8 docs: minor link name change (#1818)
'Check' into 'Chech'
2018-08-12 19:36:38 +02:00
Ethan Jewett
9b13419fcf Create other-where-used.md (#1817)
* Create other-where-used.md

* Update to point at dotabap.org for project list
2018-08-12 16:42:19 +02:00
Lars Hvam
a83c5cb878
Version 1.74.1 (#1812)
Refactoring
Downport
Descriptions in new online popup
Optimized git object handling
SSST package popup fixed
PARA popup fixed
Package validations
Diff still shows after pushing
TABL field ROWORCOLST cleared
Staging page optimizations
Correct CUA if needed during pull
2018-08-12 09:52:20 +02:00
sandraros
57d28d124b Always correct rs cua internal write errors (#1810)
* correct xml errors of CUA interfaces

Issue error RS_CUA_INTERNAL_WRITE while pulling an old abapgit repository #1807. Same issue as #562 (error RS_CUA_INTERNAL_WRITE) which is solved by correcting manually the XML of the CUA interfaces (fastidious), or by regenerating the XML (but unfortunately sometimes the abapGit repository is from someone else).
Automatically fix this before RS_CUA_INTERNAL_WRITE is called. It's useless having this as a configuration option.

* refactor: extract code to a new method

* Better refactoring of auto correction CUA
2018-08-12 09:42:08 +02:00
Lars Hvam
45718c353b
add png logo 2018-08-12 08:05:41 +02:00
Jakub Filak
6f6338bc67 repo: skip missing packages in new repo validation
When we try to add a new online repository and we have a repository
whose package does not exist in abapGit we get a short dump caused
by assert in the method zif_abapgit_sap_package~read_parent of
the class zcl_abapgit_sap_pacakge.

This commit makes sure we skip such repositories because we believe it
does not make sense to prevent us from cloning in these cases.

Thank you Petr Benes <petr.benes@sap.com>!
2018-08-10 07:02:46 +02:00
larshp
273947240c interface and factory for persist_repo 2018-08-10 07:02:30 +02:00
larshp
e9a2d30950 optimize ZCL_ABAPGIT_GUI_PAGE_STAGE
optimize performance in ZCL_ABAPGIT_GUI_PAGE_STAGE, it will now only find changed_by once per item instead of per file #1794
2018-08-09 07:28:25 +02:00
Johannes Konings
efda46d4da TABL ROWORCOLST serialize: Delete value C #1722 (#1791)
* TABL ROWORCOLSTserialize: Delete value C

https://github.com/larshp/abapGit/issues/1722

* Changed IF

https://github.com/larshp/abapGit/issues/1722
2018-08-08 15:06:42 +02:00
larshp
b0eef6ab15 ignore abaplint.json 2018-08-08 15:02:20 +02:00
Lars Hvam
65657a831b
Change git PUSH and PULL methods to functional (#1803)
* remove branch list from PULL

* change git push and pull to functional methods
2018-08-08 14:59:16 +02:00
larshp
00f94d3f2e 702 downport 2018-08-08 14:58:53 +02:00
larshp
3a78015f1e fix unit test for ZCL_ABAPGIT_GIT_PACK 2018-08-08 14:58:37 +02:00
larshp
06a16c3a31 abaplint, run for v702 2018-08-08 12:48:20 +00:00
larshp
6978c370c5 add abaplint config 2018-08-08 12:46:40 +00:00
larshp
91a5e05546 diff still shows after pushing #1797 2018-08-08 07:15:33 +02:00
larshp
e49b404b58 delete some unreferenced variables 2018-08-07 16:01:29 +02:00
larshp
578640f844 pretty print code 2018-08-07 16:01:18 +02:00
Christian Guenter
a1e010c0fc downport 702 2018-08-07 14:54:29 +02:00
Christian Guenter
173351c13f downport 702 2018-08-07 13:46:58 +02:00
Johannes Konings
f214fab73d fix some naming convention
https://github.com/larshp/abapGit/issues/1132
2018-08-07 12:03:21 +02:00
Christian Guenter
0fa4ed299e downport 702 2018-08-07 10:26:57 +02:00