Commit Graph

93 Commits

Author SHA1 Message Date
Andrew A. Vasilyev
42e59aa660 Merge remote-tracking branch 'upstream/master' 2023-05-25 17:19:25 +03:00
Thomas Lamprecht
0f19a29995 buildsys: improve DSC target & add sbuild convenience target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-25 10:15:11 +02:00
Thomas Lamprecht
735be5366b buildsys: use full DEB_VERSION
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-25 10:14:58 +02:00
Thomas Lamprecht
d7fa9ea42b buildsys: improve resolving package meta info
use the full version for the cache invalidation technique and fall
back to the commit ID and current time.

With that we can drop the exports in the top-level makefile, which
would only work for local direct builds anyway, but not for building
from DSC source package.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-25 10:13:39 +02:00
Thomas Lamprecht
3e13855d21 buildsys: extend clean target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-17 11:47:00 +02:00
Thomas Lamprecht
382756c3ec buildsys: derive upload dist automatically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-17 11:45:24 +02:00
Thomas Lamprecht
c7dca629bb makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-17 11:43:45 +02:00
1721f44613 disable debian include 2022-01-24 18:52:39 +03:00
Thomas Lamprecht
580ccacf1a buildsys: change upload dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-08 09:46:54 +02:00
Thomas Lamprecht
94791efabb buildsys: cleanup variable names/grouping
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-02 16:10:58 +02:00
Dominik Csapak
ed9ae47edd add proxmox-widget-toolkit-dev package
used for various other packages to dev-depend on (e.g. pve-docs)
which only contains the Toolkit.js for now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-02 13:44:37 +02:00
Thomas Lamprecht
16f2ad9717 buildsys: improve clean target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-02 07:41:30 +01:00
Thomas Lamprecht
d2eb74c991 improve passing package version down
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 18:05:20 +02:00
Thomas Lamprecht
ecabd4379c cleanly separate sources from package build, move to own folder
compared result with `diffoscope`, saw now difference

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 17:43:03 +02:00
Thomas Lamprecht
c898b490c7 use eslint and execute as check target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 17:20:50 +02:00
Thomas Lamprecht
ec8c0f111c add pbs to upload target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 17:20:30 +02:00
Dominik Csapak
9a3c1cb408 add pmxRoleSelector
copied+refactored from pve-manager
for use with other projects

also show privs now in the combobox

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-19 21:19:26 +02:00
Dominik Csapak
0391dee1a2 add Realm model and RealmComboBox
copied from pve-manager, with adaptions for modern js
(let, parameter destructuring,...)

and dropped the not needed 'needOTP' method

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-18 17:03:32 +02:00
Dominik Csapak
82014ef6f1 add PMX.image.Logo
copied from pmg-gui, adapted to be able to set a custom url prefix
when we want to use something other than '/pve2'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-18 17:03:32 +02:00
Dominik Csapak
7029d72ad2 add LanguageEditWindow
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-17 16:10:17 +02:00
Thomas Lamprecht
a46c2eb11f form: add Proxmox.form.field.DisplayEdit
This allows to write our often used:

> {
>     xtype: me.isCreate ? 'someEditableField' : 'displayfield',
>     ...
> }

In a more schematic way, as it can now be controlled by either our
CBind mixin or ExtJS native data binding.

Use a Field container to add both, they editable and they display,
variants of a form field. As default use "textfield" for the editable
and "displayfield" xtype for the read only one.

Pass all but the editConfig and editable members of our initial
config to the display field, allow further to configure the editable
field with an editConfig object, which overwrites the config
properties inherited from the displayConfig/parent config.

This gives full control while not enforcing to specify anything extra
for most default cases.

Enforce initial state of the fields even if the databinding would
handle it to avoid glitches after first render for simple boolean expression
cases.

> {
>     xtype: 'pmxDisplayEditField',
>     cbind: {
>         editable: '{isCreate}',
>     },
>     name: 'tokenid',
>     fieldLabel: gettext('Token ID'),
>     value: me.tokenid,
>     allowBlank: false,
> }

Here, cbind could also be a bind or a native boolean expression.

For something else than a texfield one would use the editConfig, e.g.:
> {
>     ....
>     editConfig: {
>         xtype: 'pveUserSelector',
>         allowBlank: false,
>     },
> },

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-16 15:33:18 +02:00
Thomas Lamprecht
4645c3d413 form: add Proxmox.form.field.ExpireDate
Behaves like a 'datefield' but treats the 0/empty value as "never",
and sets all defaults for behaving like one would expect from a date
expire field.

This allows to replaces hacks (e.g. [0]) from our various expire date
fields, mostly in PVE/PMG user accounts, and also for the soon to be
applied API token gui.

[0]: https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/dc/UserEdit.js;h=40c4044fd9364c9bcb8787507068378ed9936f67;hb=806edfe19f049f07db2628c68e4e5702bbedd9d7#l159

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-31 18:13:20 +02:00
Dominik Csapak
28de30b20e add css and image directory to packaging
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-08-13 15:37:26 +02:00
Tim Marx
607c37efd1 add network selector widget
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-12 11:17:44 +02:00
Thomas Lamprecht
464dd619c7 buildsys: switch upload dist over to buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 10:23:21 +02:00
Thomas Lamprecht
72bfd4bd3e buildsys: cleanup before building source package
makes lintian happier and there's no real reason not to do so.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 07:13:26 +02:00
Thomas Lamprecht
63a503c955 buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 07:12:53 +02:00
Thomas Lamprecht
edc6115643 bump version to 1.0-28
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-15 14:28:44 +02:00
Dominik Csapak
a1498508da add panel/JournalView
similar to LogView, but expects the result from the /node/journal api call,
which is an array of strings, with start/endcursor instead of
an array of objects with line numbers

the new api call also does not accept start line numbers and limit,
so it is necessary to handle it differently

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-15 11:44:21 +02:00
Thomas Lamprecht
44b6879934 bump version to 1.0-27
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-07 14:22:42 +00:00
Thomas Lamprecht
9b38808198 bump version to 1.0-26
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-16 05:58:20 +00:00
Thomas Lamprecht
22bb0802e1 bump version to 1.0-25
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 14:01:18 +02:00
Thomas Lamprecht
f2a630d4c6 use <sourcepackage>-<upstreamversion> as build dir, dpkg-source likes it
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 13:00:20 +01:00
Thomas Lamprecht
e62859c5e5 ship commit hash and repo we build from
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:57:19 +01:00
Thomas Lamprecht
f0e4870b4f buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 12:56:57 +01:00
Thomas Lamprecht
60b98983d4 bump version to 1.0-24
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 07:42:09 +01:00
Thomas Lamprecht
f90c941bc6 bump version to 1.0-23
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-28 11:25:52 +01:00
Thomas Lamprecht
2caa58a379 bump version to 1.0-22
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-29 12:59:09 +01:00
Thomas Lamprecht
cbf3acee3a bump version to 1.0-21
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:23:32 +01:00
Dietmar Maurer
7fc8bdf570 bump version to 1.0-20 2018-09-14 12:01:38 +02:00
Dominik Csapak
3cf341e92a add node/HostsView
to show/edit /etc/hosts

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:51:31 +02:00
Thomas Lamprecht
a348814625 bump version to 1.0-19 2018-06-12 16:45:57 +02:00
Fabian Grünbichler
46574d3548 bump version to 1.0-18 2018-05-14 11:07:56 +02:00
Wolfgang Bumiller
bd7c96d053 bump version to 1.0-17
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-05-03 08:26:41 +02:00
Thomas Lamprecht
41670d25b5 bump version to 1.0-16 2018-05-02 13:50:03 +02:00
Dietmar Maurer
bebf81f0ce bump version to 1.0-15 2018-04-06 13:48:36 +02:00
Dietmar Maurer
ba70732c22 bump version to 1.0-14 2018-04-05 12:19:12 +02:00
Dietmar Maurer
36ee012f37 bump version to 1.0-13 2018-03-08 11:38:18 +01:00
Thomas Lamprecht
2e6df526fa bump version to 1.0-12 2018-02-23 11:14:02 +01:00
Fabian Grünbichler
eb1f0d2a37 bump version to 1.0-11 2018-02-16 13:06:57 +01:00