Skip to content

Commit a855402

Browse files
2.2.0
##### Changelog: * Feature: Create plugins system which allows to execute custom command from Polemarch. * Fix: Fix FK inventory field showing id instead of name (vstutils>=5.2.0). * Fix: Add patch to `setup.py` which raises compile error if frontend hasn't built. * Refactor: Use `BaseEnum.LOWER` in enums. * Refactor: `test_community_templates` now uses `MockServer` and doesn't make calls outside. * Refactor: Get rid of weird template execution approach with test client and use PLUGIN_HANDLERS instead. * Chore: Update vstutils to 5.1.11. * Chore: Add `openssh-client` dependency to production docker build. See merge request polemarch/ce!284
2 parents edd4d27 + 7e38b80 commit a855402

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1630
-830
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ release_pypi:
148148
variables:
149149
TOX_ARGS: ""
150150
script:
151-
- tox -c tox_build.ini $TOX_ARGS -e py37-build,py37-wheel
151+
- tox -c tox_build.ini $TOX_ARGS
152152
- twine upload -u ${PYPI_UPLOAD_NAME} -p ${PYPI_UPLOAD_PASSWORD} $(find dist/*.{tar.gz,whl})
153153
artifacts:
154154
name: "release-packages-${CI_BUILD_REF_NAME}.${CI_BUILD_ID}"

Dockerfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,16 @@ RUN --mount=type=cache,target=/var/cache/apt \
5353
--mount=type=bind,from=build,source=/usr/local/polemarch/,target=/polemarch_env \
5454
apt update && \
5555
apt -y install --no-install-recommends \
56-
git \
57-
sudo \
58-
sshpass \
59-
libmysqlclient21 \
60-
libpcre3 \
61-
libldap-2.4-2 \
62-
libsasl2-2 \
63-
libffi7 \
64-
libssl1.1 && \
56+
git \
57+
sudo \
58+
sshpass \
59+
libmysqlclient21 \
60+
libpcre3 \
61+
libldap-2.4-2 \
62+
libsasl2-2 \
63+
libffi7 \
64+
libssl1.1 \
65+
openssh-client && \
6566
python3.8 -m pip install cryptography paramiko 'pip<22' && \
6667
ln -s /usr/bin/python3.8 /usr/bin/python && \
6768
mkdir -p /projects /hooks /run/openldap /etc/polemarch/hooks /var/lib/polemarch && \

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include polemarch/web.ini setup.cfg
22
include README.rst LICENSE LICENSE_NAME
3-
include polemarch/main/settings.ini
3+
include polemarch/settings.ini
44
include requirements.txt
55
include requirements-git.txt
66
include requirements-test.txt

doc/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ In Polemarch we have some entities that can be nested to another entities. Below
2424
**User** can be nested into **Team**
2525

2626

27-
For add entities into another, you only need send ``[{"id": [instance_id]}, ...]`` to subpath. Also you can insert instead of data results of bulk request, inner mechanism add all entities in result to parent entity.
27+
To add entities into another, you only need send ``[{"id": [instance_id]}, ...]`` to subpath. Also you can insert instead of data results of bulk request, inner mechanism add all entities in result to parent entity.
2828

2929
.. vst_openapi:: ./api_schema.yaml

0 commit comments

Comments
 (0)