micro-users 1.6.1__py3-none-any.whl → 1.6.2__py3-none-any.whl

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: micro-users
3
- Version: 1.6.1
3
+ Version: 1.6.2
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
@@ -35,7 +35,7 @@ Requires-Dist: babel (>=2.1)
35
35
  [![PyPI version](https://badge.fury.io/py/micro-users.svg)](https://pypi.org/project/micro-users/)
36
36
 
37
37
  <p align="center">
38
- <img src="https://raw.githubusercontent.com/debeski/micro-users/main/users/static/img/login_logo.webp" alt="Micro Users Login Logo" width="200"/>
38
+ <img src="https://raw.githubusercontent.com/debeski/micro-users/main/users/static/img/login_logo.webp" alt="Micro Users Login Logo" width="450"/>
39
39
  </p>
40
40
 
41
41
  **Arabic** lightweight, reusable Django app providing user management with abstract user, permissions, localization, and activity logging.
@@ -52,7 +52,7 @@ Requires-Dist: babel (>=2.1)
52
52
 
53
53
  ## Features
54
54
  - Custom AbstractUser model
55
- - Scope Management System (replaces Department)
55
+ - Scope Management System (Optional)
56
56
  - Custom Grouped User permissions system
57
57
  - Automatic Activity logging (login/logout, CRUD for all models)
58
58
  - Specific User detail and log view
@@ -207,3 +207,4 @@ MICRO_USERS_THEME = {
207
207
  | v1.5.0 | • Department Management (Modal-based CRUD)<br> • Department field implementation<br> • Template refactoring (partials/, profile/, users/ for logs)<br> • Verbose names for models |
208
208
  | v1.6.0 | • **Automated Activity Logging**: dynamic logging for all CREATE/UPDATE/DELETE actions via Middleware & Signals<br> • **Refactor**: Renamed `Department` model to `Scope` (Scope Management)<br> • Removed manual logging requirement<br> • **Architecture**: Decoupled models, forms, and tables using dynamic imports and `apps.get_model` <br> • **Soft Delete**: Users are now marked as inactive with a timestamp instead of being permanently deleted<br> • **Activity Log**: Deleted users appear with a strikethrough<br> • **CSS Refactor**: Extracted and cleaned up styling with CSS variables<br> • **Login**: Refactored login page with separated JS/CSS and a new modern default logo |
209
209
  | v1.6.1 | • **Theme Configuration**: Added `MICRO_USERS_THEME` setting for easy color customization <br> • **Bug Fixes**: Explicitly excluded unwanted columns (id, ip_address, user_agent) from Activity Log table <br> • **UI**: Improved Scope Manager button visibility |
210
+ | v1.6.2 | • **UI**: Improved some tooltips for buttons and descriptions |
@@ -6,7 +6,7 @@ users/forms.py,sha256=4poq6wlFysX_r0KFxUd9I2K9eXhOHV36iSTjncRYHyc,16531
6
6
  users/middleware.py,sha256=CgzmKb6_4TUkwMZ0h7UgQd80DKUXsmzKvsc3V2JIujY,976
7
7
  users/models.py,sha256=XyA4UaRp4DufvgBJKtAGyal3Ci3fZxevyd1fIPqrpEw,2679
8
8
  users/signals.py,sha256=blAx8nHsfmn89hMyRBR0Jf706Z07N81ObQMY_MHaBv8,4543
9
- users/tables.py,sha256=CTUtH72WqMr_VVHCOHOJvDId9QhoanHzpLMgcm-TRM8,2967
9
+ users/tables.py,sha256=wCno7TZM6nqBHwCzkHduPSAvMRd4t349lHRMwXD4AlQ,2997
10
10
  users/urls.py,sha256=hg4fiVkWcQlbZ82SZ_HjeFPQUkmK1Y7c1ho_lWBFDRg,1491
11
11
  users/views.py,sha256=HGa0x8tVY4ltSelOxHdknjsft9fMKfQTKoXvMaMPlbg,14246
12
12
  users/migrations/0001_initial.py,sha256=lx9sSKS-lxHhI6gelVH52NOkwqEMJ32TvOJUn9zaOXM,4709
@@ -20,7 +20,7 @@ users/static/users/css/style.css,sha256=RITpRciSynpYwjC7jpPumPA5BAB993RFyuKN9oDp
20
20
  users/static/users/js/anime.min.js,sha256=pD9KZEZQimTLQOMTT99lBhGT7AXyMPz3g92G1iyd470,17179
21
21
  users/static/users/js/login.js,sha256=ayXC8B5caDNNKL2UDwnDC2BA3lcNHkJu4PPXLDsviDw,1379
22
22
  users/templates/registration/login.html,sha256=2kkQR0TLsZM9gSzMY7J5y3dR7r2al6o_qgc_pGAEENs,3759
23
- users/templates/users/manage_users.html,sha256=ujZWmOLTZVqJJmQp6MU7PoSM-c94hvf059fR8x82D2k,6323
23
+ users/templates/users/manage_users.html,sha256=tIPkdFxm9lC_R184WQlm0UHV7sUS_xNo6f8AjgW18S8,6359
24
24
  users/templates/users/user_activity_log.html,sha256=Ns79XPbNegk_lyLRDZ2yZ0PZD32DFOM_6Qvt2qHlSEY,565
25
25
  users/templates/users/user_detail.html,sha256=yPiuOGF96rV8t2H1Fl2hhIq78N1588ZFbh5gbAezaxw,2053
26
26
  users/templates/users/user_form.html,sha256=jcyI7OQZOY4ue4DajPtfjAt2SmAYO5ZgHNOqTp2-FO0,1352
@@ -30,9 +30,9 @@ users/templates/users/partials/scope_manager.html,sha256=mqhSg2NA2U_Dc5bIf3OUasT
30
30
  users/templates/users/partials/user_actions.html,sha256=J44-sn0fMbLUWjdtlcf5YhgT5OYRykr1mFkeVXoI1ew,1543
31
31
  users/templates/users/profile/profile.html,sha256=Ir8zvYUgDm89BlwVuuCsPJIVvTPa_2wH3HAaitPc4s8,2911
32
32
  users/templates/users/profile/profile_edit.html,sha256=L9DUHlQHG-PmxwxBbSjgPk1dEmy0spPi6wXzT4hQe-U,4218
33
- users/templates/users/widgets/grouped_permissions.html,sha256=q51WO-xMvg0aAqn6Ey8pMINDbFOHap_BgHcMxOvfLBw,9878
34
- micro_users-1.6.1.dist-info/LICENSE,sha256=Fco89ULLSSxKkC2KKnx57SaT0R7WOkZfuk8IYcGiN50,1063
35
- micro_users-1.6.1.dist-info/METADATA,sha256=yNvs2ATDlhoAmzGj2-Yq_YuMAh8QlnNEmIrBTwYngWE,9471
36
- micro_users-1.6.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
37
- micro_users-1.6.1.dist-info/top_level.txt,sha256=tWT24ZcWau2wrlbpU_h3mP2jRukyLaVYiyHBuOezpLQ,6
38
- micro_users-1.6.1.dist-info/RECORD,,
33
+ users/templates/users/widgets/grouped_permissions.html,sha256=VE7Trm1xBdpMmCMLc--YAbjGxDQj6TxDVwpphe8WuQE,9950
34
+ micro_users-1.6.2.dist-info/LICENSE,sha256=Fco89ULLSSxKkC2KKnx57SaT0R7WOkZfuk8IYcGiN50,1063
35
+ micro_users-1.6.2.dist-info/METADATA,sha256=L8Kxga1f4BEUCvCb_l74JjoYe4v3fzbZN4LFD0xIKP8,9539
36
+ micro_users-1.6.2.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
37
+ micro_users-1.6.2.dist-info/top_level.txt,sha256=tWT24ZcWau2wrlbpU_h3mP2jRukyLaVYiyHBuOezpLQ,6
38
+ micro_users-1.6.2.dist-info/RECORD,,
users/tables.py CHANGED
@@ -23,7 +23,8 @@ class UserTable(tables.Table):
23
23
  actions = tables.TemplateColumn(
24
24
  template_name='users/partials/user_actions.html',
25
25
  orderable=False,
26
- verbose_name=''
26
+ verbose_name='',
27
+ title='خيارات'
27
28
  )
28
29
  class Meta:
29
30
  model = User
@@ -21,7 +21,7 @@
21
21
 
22
22
  <div class="mt-3">
23
23
  {% if not request.user.scope %}
24
- <button type="button" class="btn btn-info no-print" onclick="loadScopeManager()">
24
+ <button type="button" class="btn btn-info no-print" title="إدارة النطاقات" onclick="loadScopeManager()">
25
25
  <i class="bi bi-list me-1 h4"></i> إدارة النطاقات
26
26
  </button>
27
27
  {% endif %}
@@ -23,7 +23,7 @@
23
23
 
24
24
  <button type="button" class="btn btn-outline-primary ms-auto" data-bs-toggle="collapse"
25
25
  data-bs-target="#{{ id }}_detailed_list" aria-expanded="false" aria-controls="{{ id }}_detailed_list">
26
- <i class="bi bi-list-check"></i> إظهار كل الصلاحيات
26
+ <i class="bi bi-list-check" title="إظهار قائمة تحتوي على كل الصلاحيات"></i> إظهار كل الصلاحيات
27
27
  </button>
28
28
  </div>
29
29
  </div>