40 Commits

Author SHA1 Message Date
Joel Falknau
1b1bb65d59
add typehints to object manager to encourage type checkers to follow it 2025-04-09 10:47:00 +10:00
Joel Falknau
f342ccbc6a
Revert "[REMOVE] Unused imports"
This reverts commit f497c18e5b5f6cd504ff57913a88beb5818ffdcb.
2025-03-03 11:47:19 +10:00
Peter Pfeufer
f497c18e5b
[REMOVE] Unused imports 2025-02-16 23:20:36 +01:00
r0kym
07c62ed32a Add an example to the notification documentation 2024-09-23 13:15:19 +02:00
Peter Pfeufer
00fcebd8e3
[CHANGE] Some minor cleanups 2023-12-11 11:59:32 +01:00
Peter Pfeufer
f0fe3929d4
[CHANGE] Update FA icons to new classes
Base Classes:
- `far` => `fa-regular`
- `fas` => `fa-solid`
- `fab` => `fa-brand`
2023-12-10 13:44:32 +01:00
Peter Pfeufer
9a62c729eb
[CHANGE] Using the same FA icon for delete/remove
`<i class="fa-solid fa-trash-can"></i>`
2023-12-10 13:15:26 +01:00
Peter Pfeufer
b12471e775
[CHANGE] Bring back the level colors to the notification list 2023-10-26 15:30:54 +02:00
Peter Pfeufer
ee24706e43 v4 Template fixes 2023-10-24 02:04:49 +00:00
Aaron Kable
2e78aa5f26 BS5 Theme 2023-10-07 08:20:22 +00:00
Peter Pfeufer
7075ccdf7a
[CHANGE] Django Upgrade checks applied 2023-08-01 12:52:05 +02:00
Peter Pfeufer
d57ab01ff3
[FIX] Use of deprecated logger.warn() function calls 2023-07-07 17:51:55 +02:00
Peter Pfeufer
3bd6baa8f9
Templates cleaned up / fixed
- Deprecated CSS atrributes removed
- HTML fixes
    - Mandatory attributes added
    - Missing semicolons added
    - Missing closing tags added
    - Missing label association in forms added/fixed
    - Missing quotes added
    - Closing tags that have no opening tag removed
- Bootstrap fixes
- Unused template tags removed
2022-07-18 21:39:20 +02:00
Peter Pfeufer
0851a6d085
[Cleanup] Removed {% load static %} when no static files are loaded 2022-06-25 13:51:10 +02:00
Ariel Rin
9e139495ac Merge branch 'master' of https://gitlab.com/allianceauth/allianceauth into v3.x 2022-05-12 20:50:41 +10:00
Erik Kalkoken
75bccf1b0f Improve notifications 2022-05-12 04:02:17 +00:00
Peter Pfeufer
1d240a40dd
Remove deprecated settings
Examples:

RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
  warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)

RemovedInDjango41Warning: 'allianceauth' defines default_app_config = 'allianceauth.apps.AllianceAuthConfig'. Django now detects this configuration automatically. You can remove default_app_config.
  app_config = AppConfig.create(entry)
2022-03-03 12:06:16 +01:00
Peter Pfeufer
640a21e4db
Switch to path, use re_path only when really needed 2022-02-02 15:09:48 +01:00
Ariel Rin
fd442a5735 django.conf.urls.url is deprecated 2022-02-02 21:56:01 +10:00
ErikKalkoken
7d929cb6e2 Fix: NOTIFICATIONS_MAX_PER_USER warning when not set 2021-12-09 18:12:18 +01:00
Peter Pfeufer
cdcf65cb52
fixed old Django 2 translation template tags 2021-10-19 12:05:45 +02:00
Peter Pfeufer
a6b340c179
update code to reflect the new minimum python version 3.7
- update string format method
- remove redundant default arguments from function  calls
- remove unused imports
- remove unicode identifier from strings, it's default in py3 (see: https://stackoverflow.com/a/4182635/12201331)
2021-10-18 11:59:05 +02:00
Joel Falknau
dc97fb1cc5 Forgot pre-commit for master > 2.9.x 2021-08-20 14:50:44 +10:00
Joel Falknau
392a0c4dcb Merge remote-tracking branch 'upstream/master' into v2.9.x 2021-08-20 14:41:38 +10:00
Erik Kalkoken
a0db8e8e2c Fix logging notifications 2021-08-20 04:03:48 +00:00
Erik Kalkoken
1e133b7c5d Improve notifications 2021-08-11 06:06:23 +00:00
Peter Pfeufer
e6a4cea4de
editorconfig applied 2021-05-17 11:42:28 +02:00
Peter Pfeufer
2697fb5317
remove coding pragma. it's not needed since python 3.x 2021-05-17 09:51:09 +02:00
Peter Pfeufer
8c3df89d52
remove trailing whitespaces 2021-05-17 09:46:11 +02:00
Peter Pfeufer
3630812b92
revert migrations & set DEFAULT_AUTO_FIELD to django.db.models.AutoField 2021-05-10 13:35:40 +02:00
Peter Pfeufer
e04138bced
migrations 2021-04-07 18:40:39 +02:00
Aaron Kable
2fd2af793e Use default by defaut in notification system 2021-02-21 18:14:42 +08:00
Erik Kalkoken
4394d25961 Notifications refresh v2 and session caching 2021-01-16 00:09:49 +00:00
AaronKable
ded9301527 initial django3 bringup 2020-09-18 11:45:37 +08:00
AaronKable
28c1343f3e make tests less order dependant 2020-05-23 12:54:09 +08:00
AaronKable
3ae5ffa3f6 tests 2020-05-23 12:04:06 +08:00
Aaron Kable
1ce0dbde0e stop the notification context profider from hitting the database for each menu hook 2020-03-16 02:09:24 +00:00
Basraah
47b5b286d8 Uniform page titles 2017-10-12 10:20:40 +10:00
Basraah
7beec38881 Move templates and fix namespacing
Move base template

    Refactor services urls and templates

    Refactor groupmanagement urls and templates

    Refactor notifications urls and templates
2017-09-23 06:48:51 +10:00
Basraah
786859294d Restructure Alliance Auth package (#867)
* Refactor allianceauth into its own package

* Add setup

* Add missing default_app_config declarations

* Fix timerboard namespacing

* Remove obsolete future imports

* Remove py2 mock support

* Remove six

* Add experimental 3.7 support and multiple Dj versions

* Remove python_2_unicode_compatible

* Add navhelper as local package

* Update requirements
2017-09-19 09:46:40 +10:00