Peter Pfeufer
9cbabee126
[CHANGE] Language names always start with a capital letter
2022-09-13 21:00:31 +02:00
Peter Pfeufer
4026523a2e
[REMOVED] Unnecessary lambda
statement
...
The `lambda` statement in `base.py` is unnecessary and has no effect.
```py
ugettext = lambda s: s
LANGUAGES = (
("en", ugettext("English")),
("de", ugettext("German")),
("es", ugettext("Spanish")),
("zh-hans", ugettext("Chinese Simplified")),
("ru", ugettext("Russian")),
("ko", ugettext("Korean")),
("fr", ugettext("French")),
("ja", ugettext("Japanese")),
("it", ugettext("Italian")),
)
```
In this case `ugettext = lambda s: s` is pretty much the same as:
```py
def ugettext(s):
return s
```
And would simply return the string the function receives as parameter.
So we can omit this completely and simplify the `LANGUAGES` list to:
```py
LANGUAGES = (
("en", "English"),
("de", "German"),
("es", "Spanish"),
("zh-hans", "Chinese Simplified"),
("ru", "Russian"),
("ko", "Korean"),
("fr", "French"),
("ja", "Japanese"),
("it", "Italian"),
)
```
2022-09-13 20:59:14 +02:00
Ariel Rin
7fbf96623b
Update from Transifex
2022-09-12 11:41:08 +10:00
Ariel Rin
273bda173e
Merge branch '1088-qol-improve-name-handling-for-smf' into 'master'
...
Displayed names for SMF
Closes #1088
See merge request allianceauth/allianceauth!1459
2022-09-11 13:53:25 +00:00
Ariel Rin
b232d9ab17
Merge branch 'use-SITE_URL-in-templates' into 'master'
...
[ADDED] `SITE_URL` usage in templates
See merge request allianceauth/allianceauth!1456
2022-09-11 13:51:21 +00:00
Ariel Rin
117ef63d90
Merge branch 'trailing-slash-it' into 'master'
...
[ADDED] Missing trailing slashes to URLs
See merge request allianceauth/allianceauth!1457
2022-09-11 13:45:50 +00:00
Ariel Rin
1bde3d5672
Merge branch 'esi-related-links-on-login' into 'master'
...
[ADDED] ESI related links in login box
See merge request allianceauth/allianceauth!1455
2022-09-11 13:44:55 +00:00
Ariel Rin
d2355b1ec8
Merge branch 'none-is-not-an-alliance' into 'master'
...
[CHANGE] None is not an alliance name, so don't show `None`
See merge request allianceauth/allianceauth!1460
2022-09-11 13:44:34 +00:00
Ariel Rin
191d474a8e
Merge branch 'task-queue-top-margin-fix' into 'master'
...
[FIX] Top margin on celery task percentage bar
See merge request allianceauth/allianceauth!1461
2022-09-11 13:44:11 +00:00
Peter Pfeufer
ec9a9733be
[FIX] Top margin on celery task percentage bar
2022-09-11 13:44:11 +00:00
Peter Pfeufer
18cbb994d5
[FIX] Use proper markup instead of fighting against Bootstrap
2022-09-08 11:22:40 +02:00
Peter Pfeufer
663388a0c2
[CHANGE] None is not an alliance name, so don't show None
2022-09-08 00:19:41 +02:00
Peter Pfeufer
7a943591ec
[ADDED] Migration to update existing user's displayed names
2022-09-07 23:01:38 +02:00
Peter Pfeufer
cd189927fe
[ADDED] Update displayed name when main is changed
2022-09-07 23:01:07 +02:00
Peter Pfeufer
8772349309
[ADDED] Main character name as displayed name on SMF service activation
2022-09-07 21:14:18 +02:00
Peter Pfeufer
34839e8344
[ADDED] Trailing slahes to URLs
...
URLs in AA usually use a trailing slash, so this was added to the ones that were missing it.
2022-09-07 15:18:06 +02:00
Peter Pfeufer
89ef4f4cbc
[ADDED] SITE_URL usage in templates
...
Instead of {{ request.scheme }}://{{request.get_host}}`
2022-09-07 15:04:25 +02:00
Peter Pfeufer
2cc7f46aae
[ADDED] ESI related links in login box
2022-09-07 14:45:04 +02:00
Ariel Rin
8d255fb720
Merge branch '834-check-if-character-is-online' into 'master'
...
[FIX] Check if character is online before accepting FAT click
Closes #834
See merge request allianceauth/allianceauth!1451
2022-09-07 06:29:19 +00:00
Ariel Rin
67cf68ad87
Merge branch 'no_unique_names' into 'master'
...
Corp and Alliance names are not unique
Closes #1317
See merge request allianceauth/allianceauth!1452
2022-09-07 06:28:01 +00:00
colcrunch
db1971d4c2
Corp and Alliance names are not unique
2022-09-07 06:28:01 +00:00
Ariel Rin
63c1521cba
Merge branch 'add-missing-doctype' into 'master'
...
[FIX] Missing DOCTYPE and padding
See merge request allianceauth/allianceauth!1449
2022-09-07 06:25:45 +00:00
Ariel Rin
ba7ef11505
Merge branch 'fix-deprecated-translation-tags' into 'master'
...
[FIX] Deprecated `{% blocktrans %}` tags to `{% blocktranslate %}`
See merge request allianceauth/allianceauth!1454
2022-09-07 06:22:55 +00:00
Ariel Rin
d2e494b9be
Merge branch 'modernize-css' into 'master'
...
CSS modernized
See merge request allianceauth/allianceauth!1448
2022-09-07 06:21:15 +00:00
Ariel Rin
98bab0b180
Merge branch 'bundle-all-the-things' into 'master'
...
Bundle the remaining static files
See merge request allianceauth/allianceauth!1447
2022-09-07 06:20:41 +00:00
Peter Pfeufer
70eb1b5b50
[CHANGE] Deprecated {% blocktrans %}
tags to {% blocktranslate %}
2022-09-06 23:48:36 +02:00
Peter Pfeufer
714431c932
[FIX] Check if character is online before accepting FAT click
...
Fixes #834
2022-08-07 12:08:57 +02:00
Peter Pfeufer
b026277ab0
[MISC] Clarify URL format
...
Seems his is causing confusion, so add a note that the URL should be without a trailing slash
2022-08-07 02:01:26 +02:00
Peter Pfeufer
11855f0b54
[FIX] Missing DOCTYPE and padding
2022-08-05 19:51:50 +02:00
Ariel Rin
635fbfe2c8
Version Bump v3.1.1
2022-08-05 21:35:51 +10:00
Ariel Rin
b10233daf0
Merge branch 'transifex' of https://gitlab.com/allianceauth/allianceauth
2022-08-05 21:23:58 +10:00
Ariel Rin
59f17a88f0
Update from Transifex
2022-08-05 21:20:32 +10:00
Peter Pfeufer
75db3195d4
CSS modernized
2022-08-02 23:56:47 +02:00
Peter Pfeufer
afe3fea757
Bundle the remaining static files
...
They are used in some template overrides. To prevent missing JS or CSS in the future in those template overrides, it's a good idea to provide HTML templates for these static files.
2022-08-01 14:15:55 +02:00
Ariel Rin
1072c00a28
Version Bump 3.1.0
2022-08-01 20:44:07 +10:00
Peter Pfeufer
d64675a3b0
Added new variable SITE_URL
to ESI_SSO_CALLBACK_URL
2022-07-31 16:57:37 +02:00
Peter Pfeufer
17a6b3225e
Add CSRF_TRUSTED_ORIGINS
to local.py
...
Addresses #1350
2022-07-31 16:55:34 +02:00
Ariel Rin
be2fbe862b
Version Bump 3.0.0
2022-07-30 19:10:07 +10:00
Ariel Rin
74651dd30a
Update from Transifex
2022-07-30 18:21:20 +10:00
Ariel Rin
f40ebbfba4
Merge branch 'v3.x' of https://gitlab.com/allianceauth/allianceauth into v3.x
2022-07-30 16:35:31 +10:00
Ariel Rin
2551a9dd64
Merge branch 'the-big-template-cleanup' into 'v3.x'
...
Big Template Cleanup
See merge request allianceauth/allianceauth!1443
2022-07-29 12:49:58 +00:00
Ariel Rin
267a392945
Merge branch 'timerboard-mandatory-fields' into 'v3.x'
...
[FIX] Set `planet_moon` field as not required
See merge request allianceauth/allianceauth!1441
2022-07-23 05:13:03 +00:00
Ariel Rin
4e8bfba738
Merge branch 'master' of https://gitlab.com/allianceauth/allianceauth into v3.x
2022-07-19 20:46:24 +10:00
Ariel Rin
297f98f046
Version Bump 2.15.1
2022-07-19 19:07:47 +10:00
Erik Kalkoken
697e9dd772
Fix discord update username
2022-07-19 08:48:25 +00:00
Peter Pfeufer
312951ea3f
One search result per user is enough
...
No need to show the same result for each alt ....
2022-07-18 23:02:28 +02:00
Peter Pfeufer
e4bf96cfb6
Deprecated attributes removed
2022-07-18 21:51:07 +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
06e38dcd93
[FIX] Set planet_moon
field as not required
...
It is explicitly set to be not required in the form, so it shouldn't be required in the Django backend
2022-07-18 19:37:25 +02:00
Ariel Rin
0d4cab66b2
Merge branch 'master' of https://gitlab.com/allianceauth/allianceauth into v3.x
2022-07-18 21:25:23 +10:00