ErikKalkoken
81f9211098
Fix update_main_character_model() bug
2020-02-20 17:16:28 +01:00
ErikKalkoken
8290081365
Fix missing import bug in UserAdmin, StateAdmin, add tests for those cases
2020-02-20 15:29:54 +01:00
ErikKalkoken
81af610c11
Add sorting to characters and groups and remove auto groups
2020-02-19 01:29:14 +01:00
ErikKalkoken
cfa2cf58f3
Fix issue #1219
2020-02-18 20:35:34 +01:00
Ariel Rin
c437b00727
Merge branch 'feature_admin_update' into 'master'
...
Improve admin site lists for users, groups and service users
See merge request allianceauth/allianceauth!1164
2020-02-18 08:34:19 +00:00
ErikKalkoken
f2ba741499
Add sorting to user for group, state for character, corporation, alliance and group for group user leaders, group group leaders
2020-02-18 01:35:17 +01:00
ErikKalkoken
0f9927686b
Add new standard table style, improve UI for group management
2020-02-17 23:45:00 +01:00
ErikKalkoken
59855a71ef
Fix layout bug and improve UI for permission tool, add filterDropDown JS
2020-02-17 20:16:30 +01:00
ErikKalkoken
55a5070691
Fix group management, improve dashboard
2020-02-15 22:49:48 +01:00
ErikKalkoken
9976ecc2aa
Fix login and dashboard for display on mobiles
2020-02-15 20:10:30 +01:00
ErikKalkoken
80729b6b06
Performance improve admin tests, test w/o auto groups
2020-02-13 01:14:46 +01:00
ErikKalkoken
ff168d1c9e
Add admin tests, some fixes
2020-02-13 00:40:41 +01:00
ErikKalkoken
47babf2ed7
Refactor common functions for creating admin user list, peformance tweaks
2020-02-08 00:51:13 +01:00
ErikKalkoken
c1388bf23f
Adopt all services user and auth user lists to new format
2020-02-07 23:01:13 +01:00
ErikKalkoken
0caac20d77
Adding settings for users lists, showing all auto groups in groups
2020-02-07 17:21:33 +01:00
ErikKalkoken
9d0a65a516
Add tooltips to users, add CSS
2020-02-07 14:38:36 +01:00
ErikKalkoken
ab061ba7a6
Further improvements to admin site
2020-02-07 14:38:36 +01:00
ErikKalkoken
2d24d064d5
Improve admin site
2020-02-07 14:38:36 +01:00
ErikKalkoken
458685026b
Add fields to discord and ts3 admin
2020-02-07 14:38:36 +01:00
ErikKalkoken
b0448a4565
Further improvements
2020-02-07 14:38:36 +01:00
ErikKalkoken
f902f59b31
Improve user and group admin lists
2020-02-07 14:38:36 +01:00
ErikKalkoken
2b8bfbe544
Improve user and group admin
2020-02-07 14:38:36 +01:00
Ariel Rin
26566d9ce0
Merge branch 'issue_1200' into 'master'
...
Fix activation link shown trunctated in some mail clients
Closes #1200
See merge request allianceauth/allianceauth!1160
2020-02-07 04:58:52 +00:00
Aaron Kable
36af471c3c
passthrough the redirect url
2020-02-07 04:50:31 +00:00
ErikKalkoken
d3fbc133a2
Fix issue #1200
2020-02-03 16:08:33 +01:00
colcrunch
46d46ac90b
Fleetup removal
2020-01-16 03:54:18 +00:00
Erik Kalkoken
0bfec36983
Fix issue #1172 : Replace deprecated eve image URLs in apps and services
2020-01-16 03:51:16 +00:00
colcrunch
287da73a4f
Update StateBackend.authenticate to match ModelBackend
...
Also, change setup to no longer include Django 1.11
2019-03-12 10:05:05 +00:00
Col Crunch
adb982114a
Actually use srp.add_srpfleetmain permission
...
Also adds a new @permissions_required decorator.
2018-08-01 22:38:54 -04:00
Adarnof
f6b1b7b6bb
Do not check mains when user has no profile.
...
This can occur when a user is being deleted: Django deletes the UserProfile, followed by the CharacterOwnerships which triggers the main check. As the user doesn't have a profile it explodes.
Thanks @Slevinator
2018-04-30 17:29:06 -04:00
Adarnof
53a9d72c4a
Correct reversing states back to groups.
2018-04-30 17:24:31 -04:00
Adarnof
ca10fbcde5
Translate Member/Blue to custom state names.
...
Closes #1037
2018-04-25 17:20:28 -04:00
Adarnof
cbe67e9ebc
Command to reset unverifiable main characters.
...
Include section in upgrade docs to run this command and the service account validation one.
2018-04-21 20:28:27 -04:00
Adarnof
98230d0ee3
Log but don't deal with problems refreshing tokens.
2018-04-20 14:15:19 -04:00
Adarnof
b65ccac58f
Revoke CharacterOwnership on token deletion.
...
I'm pretty sure this is what I meant to do initially. I created the OwnershipRecord system under the assumption that CharacterOwnership models were being deleted when they could no longer be validated. That turned out not to be the case - only main characters were rest. This ensures they are deleted when they can no longer be validated.
2018-04-19 17:13:07 -04:00
Adarnof
bee69cc250
User is created inactive.
...
When users were created they started active, then were changed to inactive and saved. This triggered service account validation logic which is silly to be running on brand new users. I hated seeing those logging messages so now it doesn't happen.
At the same time I do love logging messages so I added some to the authentication process.
2018-04-19 17:10:38 -04:00
Adarnof
319cba8653
Allow reconnecting characters to old users.
...
Addresses #1007
2018-04-14 15:13:42 -04:00
Adarnof
b53c7a624b
Use queryset delete to purge non-refreshable tokens.
2018-04-07 20:49:14 -04:00
Adarnof
7767226000
Still collect emails from newly registered users.
...
Log in users immediately if no validation required.
Document new optional setting in project template settings file.
2018-04-03 21:09:43 -04:00
Adarnof
b4c395f116
Don't force token updates on main character checks.
2018-03-15 19:41:11 -04:00
Adarnof
fe7b078ec8
Wait until token is deleted before assessing ownerships.
...
Hopefully this will fix the infinite recursion.
Elevate logging messages to Info so they appear in logs with the default configuration.
2018-03-09 11:47:28 -05:00
Adarnof
cc8a7a18d2
Hook URLs require logged in user with a main character.
...
Should prevent anything else like #983
Heavily inspired by https://gist.github.com/garrypolley/3762045#gistcomment-2089316
2018-02-26 22:50:58 -05:00
Adarnof
6b1da3b18a
Briefly document the state system.
...
Ensure add and delete permissions are created. Not sure why I prevented them - maybe a holdover from an earlier iteration of the state system?
2018-02-23 21:34:48 -05:00
Adarnof
539295c1b7
Remove unpopulated first/last name fields from list display.
...
Include only useful information in list display.
2018-02-23 20:33:07 -05:00
Adarnof
54f91a5bfb
Simplify admin inline titles.
...
More descriptive name format config admin list.
2018-02-23 20:25:59 -05:00
Adarnof
9f9cc7ed42
Embed profile into user admin.
...
Restrict main character choices to non-main characters or current main.
If superuser, allow choosing any non-main character.
Proxy user permissions to base model.
Allow all staff to see permission list but not edit.
2018-02-23 17:58:14 -05:00
Adarnof
814b2da0ca
Redirect all signals from admin proxy models.
2018-02-23 14:44:12 -05:00
Adarnof
7a9bb0c84b
Centralize portrait/logo URL creation.
2018-02-23 12:54:21 -05:00
Adarnof
36ae2af29b
Deduplicate login tokens.
2018-02-23 12:25:06 -05:00
Adarnof
3ed0f873f3
Capture signals sent by admin proxy models.
...
This will prevent those weird missing UserProfile and AuthGroup errors.
Add logging to authentication signals.
Correct reverse migration authservicesinfo creation.
Rename proxy models so they look better on the admin site.
2018-02-22 14:25:43 -05:00