micro-users 1.8.7__tar.gz → 1.8.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of micro-users might be problematic. Click here for more details.
- {micro_users-1.8.7 → micro_users-1.8.8}/PKG-INFO +3 -2
- {micro_users-1.8.7 → micro_users-1.8.8}/README.md +2 -1
- {micro_users-1.8.7 → micro_users-1.8.8}/micro_users.egg-info/PKG-INFO +3 -2
- {micro_users-1.8.7 → micro_users-1.8.8}/pyproject.toml +1 -1
- {micro_users-1.8.7 → micro_users-1.8.8}/setup.py +1 -1
- {micro_users-1.8.7 → micro_users-1.8.8}/users/filters.py +4 -4
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/manage_users.html +9 -2
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/user_activity_log.html +8 -2
- {micro_users-1.8.7 → micro_users-1.8.8}/LICENSE +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/MANIFEST.in +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/micro_users.egg-info/SOURCES.txt +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/micro_users.egg-info/dependency_links.txt +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/micro_users.egg-info/requires.txt +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/micro_users.egg-info/top_level.txt +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/setup.cfg +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/__init__.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/admin.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/apps.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/context_processors.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/forms.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/middleware.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/migrations/0001_initial.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/migrations/0002_alter_useractivitylog_action.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/migrations/0003_scope_alter_customuser_options_and_more.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/migrations/0004_scopesettings.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/migrations/__init__.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/models.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/signals.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/img/default_profile.webp +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/img/login_logo.webp +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/css/detail.css +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/css/login.css +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/css/permissions.css +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/css/profile.css +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/css/style.css +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/js/login.js +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/js/manage_users.js +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/static/users/js/permissions.js +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/tables.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/registration/login.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/partials/scope_actions.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/partials/scope_form.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/partials/scope_manager.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/partials/user_actions.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/profile/profile.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/profile/profile_edit.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/user_detail.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/user_form.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/widgets/grouped_permissions.html +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/urls.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/utils.py +0 -0
- {micro_users-1.8.7 → micro_users-1.8.8}/users/views.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: micro_users
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.8
|
|
4
4
|
Summary: Arabic Django user management app with abstract user, permissions, and activity logging
|
|
5
5
|
Home-page: https://github.com/debeski/micro-users
|
|
6
6
|
Author: DeBeski
|
|
@@ -218,4 +218,5 @@ To replace the default login logo, simply place your own `login_logo.webp` image
|
|
|
218
218
|
| v1.8.4 | • **Strict CSP**: Refactored inline JS event handlers to use Event Listeners, fully resolving CSP violation errors |
|
|
219
219
|
| v1.8.5 | • **Optional Scopes**: Added ability for Superusers to toggle Scope system ON/OFF via User Management interface |
|
|
220
220
|
| v1.8.6 | • **Strict CSP Repair**: Fixed remaining inline event handlers in User Management pages (`manage_users`, `scope_form`) that were violating CSP directives, moving all logic to external `manage_users.js` |
|
|
221
|
-
| v1.8.7 | • Fixed a couple of template title mismatches |
|
|
221
|
+
| v1.8.7 | • Fixed a couple of template tab title mismatches |
|
|
222
|
+
| v1.8.8 | • Fixed a couple of template content title mismatches and classes |
|
|
@@ -186,4 +186,5 @@ To replace the default login logo, simply place your own `login_logo.webp` image
|
|
|
186
186
|
| v1.8.4 | • **Strict CSP**: Refactored inline JS event handlers to use Event Listeners, fully resolving CSP violation errors |
|
|
187
187
|
| v1.8.5 | • **Optional Scopes**: Added ability for Superusers to toggle Scope system ON/OFF via User Management interface |
|
|
188
188
|
| v1.8.6 | • **Strict CSP Repair**: Fixed remaining inline event handlers in User Management pages (`manage_users`, `scope_form`) that were violating CSP directives, moving all logic to external `manage_users.js` |
|
|
189
|
-
| v1.8.7 | • Fixed a couple of template title mismatches |
|
|
189
|
+
| v1.8.7 | • Fixed a couple of template tab title mismatches |
|
|
190
|
+
| v1.8.8 | • Fixed a couple of template content title mismatches and classes |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: micro-users
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.8
|
|
4
4
|
Summary: Arabic Django user management app with abstract user, permissions, and activity logging
|
|
5
5
|
Home-page: https://github.com/debeski/micro-users
|
|
6
6
|
Author: DeBeski
|
|
@@ -218,4 +218,5 @@ To replace the default login logo, simply place your own `login_logo.webp` image
|
|
|
218
218
|
| v1.8.4 | • **Strict CSP**: Refactored inline JS event handlers to use Event Listeners, fully resolving CSP violation errors |
|
|
219
219
|
| v1.8.5 | • **Optional Scopes**: Added ability for Superusers to toggle Scope system ON/OFF via User Management interface |
|
|
220
220
|
| v1.8.6 | • **Strict CSP Repair**: Fixed remaining inline event handlers in User Management pages (`manage_users`, `scope_form`) that were violating CSP directives, moving all logic to external `manage_users.js` |
|
|
221
|
-
| v1.8.7 | • Fixed a couple of template title mismatches |
|
|
221
|
+
| v1.8.7 | • Fixed a couple of template tab title mismatches |
|
|
222
|
+
| v1.8.8 | • Fixed a couple of template content title mismatches and classes |
|
|
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
|
|
|
8
8
|
|
|
9
9
|
[project]
|
|
10
10
|
name = "micro_users"
|
|
11
|
-
version = "1.8.
|
|
11
|
+
version = "1.8.8"
|
|
12
12
|
description = "Arabic Django user management app with abstract user, permissions, and activity logging"
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
requires-python = ">=3.11"
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="micro_users",
|
|
8
|
-
version="1.8.
|
|
8
|
+
version="1.8.8",
|
|
9
9
|
author="DeBeski",
|
|
10
10
|
author_email="debeski1@gmail.com",
|
|
11
11
|
description="Arabic django user management app with abstract user, permissions, and activity logging",
|
|
@@ -6,7 +6,7 @@ from crispy_forms.helper import FormHelper
|
|
|
6
6
|
from crispy_forms.layout import Layout, Row, Column, Field, HTML, Hidden
|
|
7
7
|
from django.db.models import Q
|
|
8
8
|
from django.apps import apps # Import apps
|
|
9
|
-
|
|
9
|
+
from users.utils import is_scope_enabled
|
|
10
10
|
User = get_user_model() # Use custom user model
|
|
11
11
|
|
|
12
12
|
class UserFilter(django_filters.FilterSet):
|
|
@@ -104,9 +104,9 @@ class UserActivityLogFilter(django_filters.FilterSet):
|
|
|
104
104
|
row_fields = [
|
|
105
105
|
Column(Field('keyword', placeholder="البحث"), css_class='form-group col-auto flex-fill'),
|
|
106
106
|
]
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
if is_scope_enabled():
|
|
108
|
+
if not (self.request and self.request.user.scope):
|
|
109
|
+
row_fields.append(Column(Field('scope', placeholder="النطاق", dir="rtl"), css_class='form-group col-auto'))
|
|
110
110
|
|
|
111
111
|
# Prepare clear button URL with sort parameter if exists
|
|
112
112
|
clear_url = '{% url "user_activity_log" %}'
|
|
@@ -8,11 +8,18 @@
|
|
|
8
8
|
{% block content %}
|
|
9
9
|
<link rel="stylesheet" href="{% static 'users/css/style.css' %}">
|
|
10
10
|
|
|
11
|
-
<
|
|
11
|
+
<div class="row">
|
|
12
|
+
<div class="col-12">
|
|
13
|
+
<h2 class="page-title"><i class="bi bi-people me-2"></i> إدارة المستخدمين</h2>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<form method="get" class="py-1 g-2 no-print">
|
|
12
19
|
{% crispy filter.form %}
|
|
13
20
|
</form>
|
|
14
21
|
|
|
15
|
-
<div class="card border-light shadow">
|
|
22
|
+
<div class="card border-light shadow-sm">
|
|
16
23
|
<div class="card-body p-0 table-responsive-lg">
|
|
17
24
|
<!-- Render the table -->
|
|
18
25
|
{% render_table table %}
|
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
{% load static %}
|
|
4
4
|
{% load crispy_forms_tags %}
|
|
5
5
|
|
|
6
|
-
{% block title %}سجل
|
|
6
|
+
{% block title %}سجل{% endblock %}
|
|
7
7
|
|
|
8
8
|
{% block content %}
|
|
9
9
|
<link rel="stylesheet" href="{% static 'users/css/style.css' %}">
|
|
10
10
|
|
|
11
|
-
<
|
|
11
|
+
<div class="row">
|
|
12
|
+
<div class="col-12">
|
|
13
|
+
<h2 class="page-title"><i class="bi bi-clock-history me-2"></i> سجل النشاط</h2>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<form method="get" class="py-1 g-2 no-print m-0">
|
|
12
18
|
{% crispy filter.form %}
|
|
13
19
|
</form>
|
|
14
20
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{micro_users-1.8.7 → micro_users-1.8.8}/users/migrations/0002_alter_useractivitylog_action.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{micro_users-1.8.7 → micro_users-1.8.8}/users/templates/users/widgets/grouped_permissions.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|