Adarnof
a350e175c7
Update to latest ESI routes.
2018-04-18 20:49:05 -04:00
Adarnof
2cd8188ffb
Include a functional market nginx config.
...
Addresses #1021
Thanks @mmolitor87
2018-04-17 21:37:39 -04:00
Adarnof
b8a2d65a1d
Create a separate doc page for upgrade from v1.
2018-04-17 20:59:08 -04:00
Ariel Rin
95f72c854d
Minor Documentation Update ( #1019 )
...
Gunicorn needs to be run whilist in the folder for context, folder path is not enough
Correct static path, note to check nginx user
Capitalization of services and small typos
Service examples updated to their latest versions and download links
Expanded /var/www chowns for Nginx and Apache examples
Add in a troubleshooting note for no images being displayed (permissions issue) and gunicorn not execting (file path context)
Correct formatting. Reword a few parts. Remove "new in 1.15".
2018-04-17 18:55:18 -04:00
Adarnof
cd8bcfbbb5
Build from github to fix tests in py37-dj20
...
py37-dj111 still fails for some reason. The only difference in the problematic method between 1.11.12 and 2.0 is whitespace. It's fine in py37-dj20 which is all we really care about so I'm inclined to ignore that issue. py37-dj111 isn't even tested on Travis CI so its failure won't be a problem.
Both django-celery-beat and adarnauth-esi have put out releases supporting dj20 so it's not necessary to build from their source.
2018-04-17 17:40:08 -04:00
Adarnof
08f89d2844
Stop using task_self in bound tasks.
2018-04-17 16:21:43 -04:00
Adarnof
f3f156bf57
Use Django's cache framework for task keys.
...
Remove depreciated only_one decorator.
Prevent including task_self repr in key name.
Because some tasks are nested in a class, they use a task_self argument instead of the normal self which the celery_once package doesn't recognize to strip out.
2018-04-17 16:21:54 -04:00
Adarnof
73e6f576f4
Use celery_once to prevent repeat task queueing.
...
Prevent group updates from being queued multiple times per user.
Default graceful to prevent raising exceptions.
2018-04-17 16:21:43 -04:00
Adarnof
20236cab8a
Use alliance ticker stored in character table.
2018-04-17 16:18:16 -04:00
Adarnof
6c7b65edad
Record alliance ticker in character model.
...
Closes #1018
2018-04-17 16:18:16 -04:00
Adarnof
21782293ea
Create missing Corp/Alliance models.
...
Thanks @Lof79
2018-04-17 12:08:39 -04:00
Adarnof
e52478c9aa
Correct URL template tag.
...
Thanks @Peggle2K
2018-04-16 19:36:41 -04:00
Adarnof
319cba8653
Allow reconnecting characters to old users.
...
Addresses #1007
2018-04-14 15:13:42 -04:00
Adarnof
df3acccc50
Correct matching start of URL patterns.
...
Thanks @Peggle2k
2018-04-14 14:12:39 -04:00
Adarnof
19282cac60
Log messages from esi package.
2018-04-14 13:53:41 -04:00
Adarnof
933c12b48d
Increase telnet timeout
...
Should help tolerate slower responses from remote servers.
Closes #751
Thanks @namenmalkav
2018-04-09 22:14:21 -04:00
Adarnof
8a73890646
Ensure ticker is fetched if alliance_or_corp used.
...
Closes #1011
2018-04-09 21:53:41 -04:00
Ariel Rin
d6df5184a6
Set minute for Cron to stop mass task creation ( #1010 )
2018-04-08 23:22:06 -04:00
Adarnof
91e1a374b4
Merge pull request #1009 from kormat/corpstats_comma
...
Remove trailing , from CELERYBEAT_SCHEDULE example.
2018-04-08 10:39:59 -04:00
Stephen Shirley
c725de7b5b
Remove trailing , from CELERYBEAT_SCHEDULE example.
...
If a user copies the example verbatim, celery logs this error:
```
[2018-04-07 14:57:29,930: ERROR/MainProcess] Cannot add entry 'update_all_corpstats' to database schedule: TypeE rror('from_entry() argument after ** must be a mapping, not tuple',). Contents: ({'task': 'allianceauth.corputil s.tasks.update_all_corpstats', 'schedule': <crontab: 0 */6 * * * (m/h/d/dM/MY)>},)
```
2018-04-08 11:42:18 +02:00
Adarnof
ad1fd633b1
Ensure autogroups are removed if new state has config
2018-04-07 20:59:45 -04:00
Adarnof
ef9284030b
Remove autogroups if no config for state.
2018-04-07 20:59:45 -04:00
Adarnof
89e5740027
Update autogroups on main character save
...
Closes #997
2018-04-07 20:59:45 -04:00
Adarnof
106f6bbcea
Fix test user creation.
2018-04-07 20:59:45 -04:00
Adarnof
b53c7a624b
Use queryset delete to purge non-refreshable tokens.
2018-04-07 20:49:14 -04:00
Adarnof
6fa788a8f9
Use libmysqlclient-dev on Ubuntu
...
`libmariadbclient-dev` is unavailable on Xenial (and the suggested replacement `libmariadb-client-lgpl-dev-compat` doesn't have the `mysql_config` symlink patch for whatever reason).
https://bugs.launchpad.net/ubuntu/+source/mariadb-client-lgpl/+bug/1575968
https://bugs.launchpad.net/ubuntu/+source/mariadb-client-lgpl/+bug/1546923
https://anonscm.debian.org/cgit/pkg-mysql/mariadb-client-lgpl.git/commit/debian/libmariadb-dev-compat.links?id=0bbbb8ea0bbeab4a6ebb1e62b92c1ca347061be4
Thanks @kormat
2018-04-07 13:39:20 -04:00
Adarnof
19f0788f47
Merge pull request #1002 from randomic/verify-email-option
...
Add setting for skipping email requirement
2018-04-03 21:15:38 -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
randomic
4eb6b73903
Nameformat configs which default to corp where alliance is None ( #1003 )
...
Add nameconfig format for alliance_or_corp_ticker
Add nameconfig format for alliance_or_corp_name
Update docs for new nameformats
Correct missing dict key if no alliance.
2018-04-03 19:25:47 -04:00
Adarnof
cb46ecb002
Correct mysql packages to mariadb on Ubuntu
...
Thanks @kormat
2018-04-03 15:11:05 -04:00
Adarnof
e694921fe6
Include mandatory DB package notice.
...
Thanks @zuiji
2018-04-03 13:57:26 -04:00
Adarnof
8266661855
Sanitize username on Discord user join.
...
Thanks @iakopo
2018-04-02 20:38:12 -04:00
Adarnof
cf7ddbe0e1
Set hostname to domain, not localhost.
...
Stop using sudo commands. Trust the user to handle permissions.
Closes #994
2018-03-23 11:16:59 -04:00
Adarnof
bdb3ab366f
Group list API endpoint has moved.
...
Allow infinite group cache age.
Thanks @TargetZ3R0
2018-03-22 17:59:24 -04:00
colcrunch
1fc71a0738
Fix celerybeat task in ts3 config. ( #998 )
2018-03-22 15:43:50 -04:00
colcrunch
0b7520e3b1
Fix celerybeat task in ts3 config.
2018-03-22 15:23:52 -04:00
colcrunch
48c8ccfe97
Merge pull request #1 from allianceauth/master
...
sync
2018-03-22 15:20:48 -04:00
Adarnof
ad79b4f77c
Correct logging string formatting.
2018-03-20 15:51:37 -04:00
Adarnof
fd876b8636
Correct model import.
...
Thanks @TargetZ3R0
2018-03-19 18:25:47 -04:00
Adarnof
21e896642a
Stop using the patch method for setting roles.
...
Switch to dedicated add/remove endpoints.
Allow setting max cache age to None for infinite.
Apparently patch has issues.
Thanks @TargetZ3R0 and Discord devs <3
2018-03-19 18:08:24 -04:00
Adarnof
b4c395f116
Don't force token updates on main character checks.
2018-03-15 19:41:11 -04:00
Adarnof
a38116014d
PyCharm defaults to venv
2018-03-15 19:38:52 -04:00
Adarnof
54223db1e9
Merge remote-tracking branch 'origin/patch1'
2018-03-15 19:36:49 -04:00
Adarnof
8a897abc7b
Ensure service URL has protocol.
...
Thanks @jdrc
2018-03-11 01:08:02 -05: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
ce66bdcbd4
Copy v1 database after creating new one for v2 if updating.
v2.0b3
2018-03-02 20:18:23 -05:00
Adarnof
f65e563c0c
Update project setup description to match repo and docs.
...
Thanks @soratidus999
2018-03-02 11:26:35 -05:00
Adarnof
e860ba6c22
Remove pre-v1.13 changelog. It's on the wiki.
2018-03-02 04:03:01 -05:00
Adarnof
50b6605a43
Set folder permissions once user is created.
...
Remove redundant gunicorn webserver config.
Closes #984
2018-03-02 03:37:14 -05:00
Adarnof
d181200642
Mention Discord bot will never come online.
...
Update phpbb3 version.
2018-03-02 03:12:36 -05:00