Skip to content
Open

2.0 #16

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
30c987f
update dependencies
lenadax Sep 12, 2024
0e6dcda
btn color
lenadax Sep 12, 2024
859f657
layout improvements
lenadax Sep 12, 2024
500397b
Rework users/group layout. More user-friendly navigation
lenadax Sep 13, 2024
17c8e70
form heading styles. Move Add/principal buttons to card header.
lenadax Sep 16, 2024
a449b91
Addform: Working point
lenadax Sep 17, 2024
0b7b0b6
groups forms at working point
lenadax Sep 17, 2024
b02adcc
Fix to_principal buttons
lenadax Sep 17, 2024
d68d652
update translations
lenadax Sep 17, 2024
061d954
Update settings icons and translations
lenadax Sep 17, 2024
fdad410
update gitignore
lenadax Sep 19, 2024
72927b9
update dependencies. remove redundant classnames
lenadax Sep 20, 2024
7033526
style general_settings
lenadax Sep 20, 2024
ebffdb9
update target branches
lenadax Sep 20, 2024
4b9dda2
fix some tests
lenadax Nov 7, 2024
e21dbeb
Fix general settings form test
rnixx Nov 11, 2024
a6895e0
Merge 1.1
rnixx Nov 13, 2024
cfcce30
Update dev branches
rnixx Nov 13, 2024
26c0c7c
store users in var directory instead of parts
rnixx Nov 13, 2024
7039ab9
Users and Groups entry nodes are no longer displayed in main menu. Re…
rnixx Nov 20, 2024
d465e93
Include SCSS targets in Makefile. Run target depends on INSTALL_TARGETS
rnixx Nov 20, 2024
b774dc3
Add @web/test-runner-core to package.json
rnixx Nov 20, 2024
80ef0c3
style ugm forms for mobile
lenadax Dec 2, 2024
6d899d4
style checkboxes. add scrollable to dict widgets for smaller viewports
lenadax Dec 2, 2024
e1b3f78
localmanager settings styling
lenadax Dec 2, 2024
1e6d104
update translations. update package.json
lenadax Mar 21, 2025
d04da96
merge
rnixx Dec 1, 2025
d4e887b
Update mx.ini
rnixx Dec 1, 2025
4cf239e
merge master
rnixx Dec 5, 2025
1bcc811
version madness
rnixx Dec 5, 2025
84139df
merge
rnixx Dec 5, 2025
e45581a
update branches
lenadax Dec 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.python-version
*.egg-info
*.pyc
*.pyo
Expand Down
11 changes: 11 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Changes
=======

2.0.0 (unreleased)
------------------

- Users and Groups entry nodes are no longer displayed in main menu.
[rnix]

- Remove no longer used ``content_grid_width`` and ``sidebar_left_grid_width``
properties from ``UGMLayoutConfig``.
[rnix]


1.1.0 (unreleased)
------------------

Expand Down
34 changes: 32 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#: i18n.lingua
#: js.nodejs
#: js.rollup
#: js.scss
#: js.wtr
#: qa.coverage
#: qa.test
Expand All @@ -27,11 +28,11 @@ DEPLOY_TARGETS?=

# target to be executed when calling `make run`
# No default value.
RUN_TARGET?=
RUN_TARGET?=run-ugm

# Additional files and folders to remove when running clean target
# No default value.
CLEAN_FS?=
CLEAN_FS?=pnpm-lock.yaml

# Optional makefile to include before default targets. This can
# be used to provide custom targets or hook up to existing targets.
Expand Down Expand Up @@ -93,6 +94,24 @@ WTR_CONFIG?=js/wtr.config.mjs
# Default: --coverage
WTR_OPTIONS?=--coverage

## js.scss

# The SCSS root source file.
# Default: scss/styles.scss
SCSS_SOURCE?=scss/ugm.scss

# The target file for the compiles Stylesheet.
# Default: scss/styles.css
SCSS_TARGET?=src/cone/ugm/browser/static/cone.ugm.css

# The target file for the compressed Stylesheet.
# Default: scss/styles.min.css
SCSS_MIN_TARGET?=src/cone/ugm/browser/static/cone.ugm.min.css

# Additional options to be passed to SCSS compiler.
# Default: --no-source-map=none
SCSS_OPTIONS?=--no-source-map=none

## js.rollup

# Rollup config file.
Expand Down Expand Up @@ -336,6 +355,17 @@ NODEJS_DEV_PACKAGES+=\
wtr: $(NODEJS_TARGET)
@web-test-runner $(WTR_OPTIONS) --config $(WTR_CONFIG)

##############################################################################
# scss
##############################################################################

NODEJS_DEV_PACKAGES+=sass

.PHONY: scss
scss: $(NODEJS_TARGET)
@sass $(SCSS_OPTIONS) $(SCSS_SOURCE) $(SCSS_TARGET)
@sass $(SCSS_OPTIONS) --style compressed $(SCSS_SOURCE) $(SCSS_MIN_TARGET)

##############################################################################
# rollup
##############################################################################
Expand Down
8 changes: 4 additions & 4 deletions cfg/ugm.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ ugm.backend = file
ugm.config = %(here)s/ugm.xml
ugm.localmanager_config = %(here)s/localmanager.xml

ugm.users_file = %(here)s/../parts/ugm/users
ugm.groups_file = %(here)s/../parts/ugm/groups
ugm.roles_file = %(here)s/../parts/ugm/roles
ugm.datadir = %(here)s/../parts/ugm/data
ugm.users_file = %(here)s/../var/ugm/users
ugm.groups_file = %(here)s/../var/ugm/groups
ugm.roles_file = %(here)s/../var/ugm/roles
ugm.datadir = %(here)s/../var/ugm/data

[pipeline:main]
pipeline =
Expand Down
6 changes: 3 additions & 3 deletions cfg/ugm.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<properties>
<users_exposed_attributes></users_exposed_attributes>
<users_exposed_attributes/>
<users_account_expiration>False</users_account_expiration>
<user_id_autoincrement>False</user_id_autoincrement>
<user_id_autoincrement>True</user_id_autoincrement>
<user_id_autoincrement_prefix></user_id_autoincrement_prefix>
<user_id_autoincrement_start></user_id_autoincrement_start>
<user_id_autoincrement_start>0</user_id_autoincrement_start>
<users_portrait>True</users_portrait>
<users_portrait_attr>portrait</users_portrait_attr>
<users_portrait_accept>image/jpeg</users_portrait_accept>
Expand Down
3 changes: 3 additions & 0 deletions include.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.PHONY: run-ugm
run-ugm: $(INSTALL_TARGETS)
@$(VENV_FOLDER)/bin/pserve cfg/ugm.ini
40 changes: 18 additions & 22 deletions mx.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ cs_push = git@github.com:conestack
# checkout source packages
checkout_packages = true

# feature branch to checkout
feature_branch = master

# main package
main-package = -e .[test]
main-package = -e .[dev,test]

# fixed dependency package versions
version-overrides =
Expand Down Expand Up @@ -42,15 +39,15 @@ environment = env
use = ${settings:checkout_packages}
url = ${settings:cs}/odict.git
pushurl = ${settings:cs_push}/odict.git
branch = ${settings:feature_branch}
branch = master
mxmake-test-path = tests
mxmake-source-path = src/odict

[plumber]
use = ${settings:checkout_packages}
url = ${settings:cs}/plumber.git
pushurl = ${settings:cs_push}/plumber.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = tests
mxmake-source-path = src/plumber
Expand All @@ -63,15 +60,15 @@ mxmake-source-path = src/plumber
use = ${settings:checkout_packages}
url = ${settings:cs}/node.git
pushurl = ${settings:cs_push}/node.git
branch = ${settings:feature_branch}
branch = master
mxmake-test-path = src
mxmake-source-path = src/node

[node.ext.ugm]
use = ${settings:checkout_packages}
url = ${settings:cs}/node.ext.ugm.git
pushurl = ${settings:cs_push}/node.ext.ugm.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/node/ext/ugm
Expand All @@ -84,7 +81,7 @@ mxmake-source-path = src/node/ext/ugm
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.git
pushurl = ${settings:cs_push}/yafowil.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/yafowil
Expand All @@ -93,39 +90,39 @@ mxmake-source-path = src/yafowil
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.yaml.git
pushurl = ${settings:cs_push}/yafowil.yaml.git
branch = ${settings:feature_branch}
branch = master
mxmake-test-path = src
mxmake-source-path = src/yafowil/yaml

[yafowil.lingua]
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.lingua.git
pushurl = ${settings:cs_push}/yafowil.lingua.git
branch = ${settings:feature_branch}
branch = master
mxmake-test-path = src
mxmake-source-path = src/yafowil/lingua

[yafowil.webob]
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.webob.git
pushurl = ${settings:cs_push}/yafowil.webob.git
branch = ${settings:feature_branch}
branch = master
mxmake-test-path = src
mxmake-source-path = src/yafowil/webob

[yafowil.bootstrap]
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.bootstrap.git
pushurl = ${settings:cs_push}/yafowil.bootstrap.git
branch = ${settings:feature_branch}
branch = master
mxmake-test-path = src
mxmake-source-path = src/yafowil/bootstrap

[yafowil.widget.array]
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.widget.array.git
pushurl = ${settings:cs_push}/yafowil.widget.array.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/yafowil/widget/array
Expand All @@ -135,7 +132,7 @@ mxmake-omit-path = src/yafowil/widget/array/example.py
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.widget.autocomplete.git
pushurl = ${settings:cs_push}/yafowil.widget.autocomplete.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/yafowil/widget/autocomplete
Expand All @@ -145,7 +142,7 @@ mxmake-omit-path = src/yafowil/widget/autocomplete/example.py
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.widget.datetime.git
pushurl = ${settings:cs_push}/yafowil.widget.datetime.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/yafowil/widget/datetime
Expand All @@ -155,7 +152,7 @@ mxmake-omit-path = src/yafowil/widget/datetime/example.py
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.widget.dict.git
pushurl = ${settings:cs_push}/yafowil.widget.dict.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/yafowil/widget/dict
Expand All @@ -165,7 +162,7 @@ mxmake-omit-path = src/yafowil/widget/dict/example.py
use = ${settings:checkout_packages}
url = ${settings:cs}/yafowil.widget.image.git
pushurl = ${settings:cs_push}/yafowil.widget.image.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/yafowil/widget/image
Expand All @@ -179,7 +176,7 @@ mxmake-omit-path = src/yafowil/widget/image/example.py
use = ${settings:checkout_packages}
url = ${settings:cs}/treibstoff.git
pushurl = ${settings:cs_push}/treibstoff.git
branch = ${settings:feature_branch}
branch = 2.0

[webresource]
use = ${settings:checkout_packages}
Expand All @@ -194,7 +191,7 @@ mxmake-source-path = webresource
use = ${settings:checkout_packages}
url = ${settings:cs}/cone.tile.git
pushurl = ${settings:cs_push}/cone.tile.git
branch = ${settings:feature_branch}
branch = master
extras = test
mxmake-test-path = src
mxmake-source-path = src/cone/tile
Expand All @@ -203,7 +200,6 @@ mxmake-source-path = src/cone/tile
use = ${settings:checkout_packages}
url = ${settings:cs}/cone.app.git
pushurl = ${settings:cs_push}/cone.app.git
branch = ${settings:feature_branch}
extras = test
branch = 2.0
mxmake-test-path = src
mxmake-source-path = src/cone/app
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "cone.ugm",
"version": "1.1.0-dev",
"version": "2.0.0-dev",
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@web/dev-server-import-maps": "^0.2.1",
"@web/test-runner-core": "^0.13.4",
"@web/test-runner": "^0.18.3",
"@web/test-runner-core": "^0.13.4",
"install": "^0.13.0",
"jquery": "^4.0.0-rc.1",
"qunit": "^2.20.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup": "^2.79.2",
"sass": "^1.80.6",
"rollup-plugin-cleanup": "^3.2.1",
"sass": "^1.96.0",
"web-test-runner-qunit": "^2.0.0"
},
"packageManager": "pnpm@9.3.0+sha512.ee7b93e0c2bd11409c6424f92b866f31d3ea1bef5fbe47d3c7500cdc3c9668833d2e55681ad66df5b640c61fa9dc25d546efa54d76d7f8bf54b13614ac293631"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "cone.ugm"
version = "1.1.0.dev0"
version = "2.0.0.dev0"
description = "User and group management"
dynamic = ["readme"]
requires-python = ">=3.10"
Expand All @@ -22,7 +22,7 @@ classifiers = [
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dependencies = [
"cone.app[lxml]>1.0.99,<2.0.0",
"cone.app[lxml]>1.99",
"natsort",
"pillow>=10.0.0",
"yafowil.widget.array>1.99",
Expand Down
Loading