micro-users 1.8.6__tar.gz → 1.8.7__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.6 → micro_users-1.8.7}/PKG-INFO +5 -19
- {micro_users-1.8.6 → micro_users-1.8.7}/README.md +5 -19
- {micro_users-1.8.6 → micro_users-1.8.7}/micro_users.egg-info/PKG-INFO +5 -19
- {micro_users-1.8.6 → micro_users-1.8.7}/pyproject.toml +1 -1
- {micro_users-1.8.6 → micro_users-1.8.7}/setup.py +1 -1
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/manage_users.html +1 -1
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/user_activity_log.html +1 -1
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/user_detail.html +1 -1
- {micro_users-1.8.6 → micro_users-1.8.7}/LICENSE +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/MANIFEST.in +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/micro_users.egg-info/SOURCES.txt +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/micro_users.egg-info/dependency_links.txt +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/micro_users.egg-info/requires.txt +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/micro_users.egg-info/top_level.txt +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/setup.cfg +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/__init__.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/admin.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/apps.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/context_processors.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/filters.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/forms.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/middleware.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/migrations/0001_initial.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/migrations/0002_alter_useractivitylog_action.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/migrations/0003_scope_alter_customuser_options_and_more.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/migrations/0004_scopesettings.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/migrations/__init__.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/models.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/signals.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/img/default_profile.webp +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/img/login_logo.webp +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/css/detail.css +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/css/login.css +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/css/permissions.css +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/css/profile.css +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/css/style.css +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/js/login.js +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/js/manage_users.js +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/static/users/js/permissions.js +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/tables.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/registration/login.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/partials/scope_actions.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/partials/scope_form.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/partials/scope_manager.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/partials/user_actions.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/profile/profile.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/profile/profile_edit.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/user_form.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/widgets/grouped_permissions.html +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/urls.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/users/utils.py +0 -0
- {micro_users-1.8.6 → micro_users-1.8.7}/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.7
|
|
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
|
|
@@ -107,12 +107,12 @@ TEMPLATES = [
|
|
|
107
107
|
]
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
4. Set custom user model in `settings.py`:
|
|
111
111
|
```python
|
|
112
112
|
AUTH_USER_MODEL = 'users.CustomUser'
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
5. Include URLs in your main project folder `urls.py`:
|
|
116
116
|
```python
|
|
117
117
|
urlpatterns = [
|
|
118
118
|
...
|
|
@@ -120,7 +120,7 @@ urlpatterns = [
|
|
|
120
120
|
]
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
6. Run migrations:
|
|
124
124
|
```bash
|
|
125
125
|
python manage.py migrate users
|
|
126
126
|
```
|
|
@@ -183,21 +183,6 @@ users/
|
|
|
183
183
|
### Replacing Login Logo
|
|
184
184
|
To replace the default login logo, simply place your own `login_logo.webp` image in your project's static directory at `static/img/login_logo.webp`.
|
|
185
185
|
|
|
186
|
-
### Theme Configuration
|
|
187
|
-
You can configure the login page colors by defining `MICRO_USERS_THEME` in your project's `settings.py`. This dictionary overrides the default CSS variables.
|
|
188
|
-
|
|
189
|
-
```python
|
|
190
|
-
MICRO_USERS_THEME = {
|
|
191
|
-
'right_bg': '#474745',
|
|
192
|
-
'left_bg': 'white',
|
|
193
|
-
'selection_bg': '#dbdbdb',
|
|
194
|
-
'gradient_start': '#a2a2a7',
|
|
195
|
-
'gradient_end': '#474745',
|
|
196
|
-
# Additional keys supported:
|
|
197
|
-
# 'selection_moz_bg', 'left_shadow', 'right_shadow', 'right_text',
|
|
198
|
-
# 'label_color', 'input_text', 'submit_color', 'submit_focus', 'submit_active'
|
|
199
|
-
}
|
|
200
|
-
```
|
|
201
186
|
|
|
202
187
|
## Version History
|
|
203
188
|
|
|
@@ -233,3 +218,4 @@ MICRO_USERS_THEME = {
|
|
|
233
218
|
| v1.8.4 | • **Strict CSP**: Refactored inline JS event handlers to use Event Listeners, fully resolving CSP violation errors |
|
|
234
219
|
| v1.8.5 | • **Optional Scopes**: Added ability for Superusers to toggle Scope system ON/OFF via User Management interface |
|
|
235
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 |
|
|
@@ -75,12 +75,12 @@ TEMPLATES = [
|
|
|
75
75
|
]
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
4. Set custom user model in `settings.py`:
|
|
79
79
|
```python
|
|
80
80
|
AUTH_USER_MODEL = 'users.CustomUser'
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
5. Include URLs in your main project folder `urls.py`:
|
|
84
84
|
```python
|
|
85
85
|
urlpatterns = [
|
|
86
86
|
...
|
|
@@ -88,7 +88,7 @@ urlpatterns = [
|
|
|
88
88
|
]
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
6. Run migrations:
|
|
92
92
|
```bash
|
|
93
93
|
python manage.py migrate users
|
|
94
94
|
```
|
|
@@ -151,21 +151,6 @@ users/
|
|
|
151
151
|
### Replacing Login Logo
|
|
152
152
|
To replace the default login logo, simply place your own `login_logo.webp` image in your project's static directory at `static/img/login_logo.webp`.
|
|
153
153
|
|
|
154
|
-
### Theme Configuration
|
|
155
|
-
You can configure the login page colors by defining `MICRO_USERS_THEME` in your project's `settings.py`. This dictionary overrides the default CSS variables.
|
|
156
|
-
|
|
157
|
-
```python
|
|
158
|
-
MICRO_USERS_THEME = {
|
|
159
|
-
'right_bg': '#474745',
|
|
160
|
-
'left_bg': 'white',
|
|
161
|
-
'selection_bg': '#dbdbdb',
|
|
162
|
-
'gradient_start': '#a2a2a7',
|
|
163
|
-
'gradient_end': '#474745',
|
|
164
|
-
# Additional keys supported:
|
|
165
|
-
# 'selection_moz_bg', 'left_shadow', 'right_shadow', 'right_text',
|
|
166
|
-
# 'label_color', 'input_text', 'submit_color', 'submit_focus', 'submit_active'
|
|
167
|
-
}
|
|
168
|
-
```
|
|
169
154
|
|
|
170
155
|
## Version History
|
|
171
156
|
|
|
@@ -200,4 +185,5 @@ MICRO_USERS_THEME = {
|
|
|
200
185
|
| v1.8.3 | • **CSP Compliance**: Added `nonce` attribute support to all inline and external script tags (Login, Permissions, Manage Users) for Content Security Policy compliance |
|
|
201
186
|
| v1.8.4 | • **Strict CSP**: Refactored inline JS event handlers to use Event Listeners, fully resolving CSP violation errors |
|
|
202
187
|
| v1.8.5 | • **Optional Scopes**: Added ability for Superusers to toggle Scope system ON/OFF via User Management interface |
|
|
203
|
-
| 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` |
|
|
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 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: micro-users
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.7
|
|
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
|
|
@@ -107,12 +107,12 @@ TEMPLATES = [
|
|
|
107
107
|
]
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
4. Set custom user model in `settings.py`:
|
|
111
111
|
```python
|
|
112
112
|
AUTH_USER_MODEL = 'users.CustomUser'
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
5. Include URLs in your main project folder `urls.py`:
|
|
116
116
|
```python
|
|
117
117
|
urlpatterns = [
|
|
118
118
|
...
|
|
@@ -120,7 +120,7 @@ urlpatterns = [
|
|
|
120
120
|
]
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
6. Run migrations:
|
|
124
124
|
```bash
|
|
125
125
|
python manage.py migrate users
|
|
126
126
|
```
|
|
@@ -183,21 +183,6 @@ users/
|
|
|
183
183
|
### Replacing Login Logo
|
|
184
184
|
To replace the default login logo, simply place your own `login_logo.webp` image in your project's static directory at `static/img/login_logo.webp`.
|
|
185
185
|
|
|
186
|
-
### Theme Configuration
|
|
187
|
-
You can configure the login page colors by defining `MICRO_USERS_THEME` in your project's `settings.py`. This dictionary overrides the default CSS variables.
|
|
188
|
-
|
|
189
|
-
```python
|
|
190
|
-
MICRO_USERS_THEME = {
|
|
191
|
-
'right_bg': '#474745',
|
|
192
|
-
'left_bg': 'white',
|
|
193
|
-
'selection_bg': '#dbdbdb',
|
|
194
|
-
'gradient_start': '#a2a2a7',
|
|
195
|
-
'gradient_end': '#474745',
|
|
196
|
-
# Additional keys supported:
|
|
197
|
-
# 'selection_moz_bg', 'left_shadow', 'right_shadow', 'right_text',
|
|
198
|
-
# 'label_color', 'input_text', 'submit_color', 'submit_focus', 'submit_active'
|
|
199
|
-
}
|
|
200
|
-
```
|
|
201
186
|
|
|
202
187
|
## Version History
|
|
203
188
|
|
|
@@ -233,3 +218,4 @@ MICRO_USERS_THEME = {
|
|
|
233
218
|
| v1.8.4 | • **Strict CSP**: Refactored inline JS event handlers to use Event Listeners, fully resolving CSP violation errors |
|
|
234
219
|
| v1.8.5 | • **Optional Scopes**: Added ability for Superusers to toggle Scope system ON/OFF via User Management interface |
|
|
235
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 |
|
|
@@ -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.7"
|
|
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.7",
|
|
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",
|
|
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.6 → micro_users-1.8.7}/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
|
{micro_users-1.8.6 → micro_users-1.8.7}/users/templates/users/widgets/grouped_permissions.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|