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
Adarnof
5060d3f408
Ensure login tokens always get attached to the user.
2018-02-22 13:40:02 -05:00
Adarnof
6f7cf8805d
Correct background resizing on Firefox
...
https://stackoverflow.com/a/24104710
2018-02-20 15:29:56 -05:00
Adarnof
895a62c475
Include leading http(s) on activation link.
...
Closes #961
2018-02-09 01:11:35 -05:00
Adarnof
b8644d5c93
Remove unnecessary next URL from lang select.
...
This is automatically determined by the lang select view if not specified.
https://docs.djangoproject.com/en/2.0/topics/i18n/translation/#the-set-language-redirect-view
Closes #958
2018-02-02 19:55:59 -05:00
Adarnof
1101572f78
Set token user to allow ownership creation
2017-12-22 12:20:55 -05:00
Adarnof
0cf8836832
Use primary key for FK assignment
2017-12-22 11:32:45 -05:00
Adarnof
6e4562b0e6
Don't rely on manager in migration
2017-12-22 11:19:53 -05:00
Adarnof
5f03e580c2
Make manager available in migrations
...
Thanks @mmolitor87
2017-12-21 15:37:54 -05:00
Adarnof
478f9b9390
Fix typo
...
Thanks @mmolitor87
2017-12-21 15:20:20 -05:00
Adarnof
82ad3821c4
Avoid using model property in migration
...
https://stackoverflow.com/a/3315547
Thanks @mmolitor87
2017-12-21 15:15:01 -05:00
Adarnof
07afaf12d5
Fix bracket.
...
Thanks @mmolitor87
2017-12-21 14:13:16 -05:00
Basraah
f037d7fea6
Change celery tasks to shared task decorator
2017-12-11 00:26:07 +10:00
Basraah
57a26b90cb
Admin status panel for dashboard ( #903 )
2017-10-18 15:46:58 +10:00
Basraah
7fa45fa471
Add favicons and logo
2017-10-12 13:18:51 +10:00
Basraah
47b5b286d8
Uniform page titles
2017-10-12 10:20:40 +10:00
Adarnof
cfad4fa8a6
Pycharm refactor failed me.
2017-10-10 10:41:25 -04:00
Basraah
e5d76cbce8
Add night mode ( #890 )
...
* Split base template menus out
* Add toggle for night mode setting
* Add vertical flexbox row
Makes each col-* expand to fill the space created by the largest column.
* Use flexbox on main character and group panels
* Fix data table sort control clipping
* Build new css
2017-10-05 14:32:58 +10:00
Basraah
8864afd784
Resolve Dj20 compatibility issues
...
Temporarily use latest snapshot for esi for dj20
Correct admin urls include
Manually correct old ts3 table migration
Remove obsolete services migrations
Remove bootstrap pagination package
Fix url namespacing
2017-09-28 14:47:06 +10:00
Basraah
e68c840dad
CSS Fixes and cleanup
...
Improves bootstrap compatibility, allowing for dropping in theme CSS.
Also improves responsive design but still has a ways to go.
2017-09-23 18:03:43 +10:00
Adarnof
1bf8b6079d
Load receivers on ready
2017-09-22 22:49:14 -04: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
f36b038010
Remove EveManager, refactor into model managers
...
Lots of unused methods removed.
Unit tests added for those that are left.
2017-09-21 14:56:40 +10:00