Griatch
0d3c9ebea3
Fix no-location issues for istart ( resolves #1662 ).
2018-09-23 23:29:23 +02:00
Griatch
42038737ff
Add interactive server-start mode.
2018-08-19 21:40:19 +02:00
Griatch
2a6e914161
Restart server, run collectstatic at init.
...
Fix tintin++ default. Resolves #1593 .
2018-08-18 10:38:20 +02:00
Griatch
4376058ee9
Merge branch 'master' into develop
2018-01-27 14:20:13 +01:00
Griatch
c0fe8a92ee
Make pid handling more stable, also internally
2018-01-27 00:33:09 +01:00
Griatch
607741872c
Remove debug print
2018-01-23 18:12:11 +01:00
Griatch
dd457ef695
Re-add regular database-connection drops to address MySQL timeouts. Resolves #1376 .
2018-01-23 18:08:34 +01:00
Griatch
b1e68b9138
Add support for running tests from menu, fix bug in kill
2018-01-20 15:50:24 +01:00
Griatch
9422c6314d
Prevent server from reconnecting to Portal mid-shutdown
2018-01-20 13:19:06 +01:00
Griatch
d6105f6d6c
Remove dependence on .restart file, add reboot option to launcher
2018-01-20 12:41:27 +01:00
Griatch
a2d63c9582
Add log-tailing to launcher options
2018-01-19 23:47:14 +01:00
Griatch
713766b33a
Change log format, rename, join server/portal logs
2018-01-19 01:27:52 +01:00
Griatch
76f27f9bc2
Add proper status reporting and stability fixes
2018-01-17 00:42:40 +01:00
Griatch
5133034b4b
Working start/reload/reset/stop from launcher
2018-01-14 22:53:36 +01:00
Griatch
ff887a07ab
Further work on controlling the portal with AMP
2018-01-14 00:30:13 +01:00
Griatch
b0d545a086
Refactor amp into three modules, separating clients/server better
2018-01-11 23:43:58 +01:00
Griatch
82fd9ff698
Swap so Server is the AMP-client and Portal the AMP-server
2018-01-11 22:09:01 +01:00
Griatch
6f56ba71ce
Make internal/external ports clearer in wake of port changes
2017-09-23 13:55:01 +02:00
Griatch
ceb66568b1
Fix error in new idle timeout, causing it not to deactivate properly.
2017-08-27 18:32:05 +02:00
Griatch
72e3498785
Change idle-timeout lock to 'noidletimeout' and add default lock to new Accounts
2017-08-20 23:24:19 +02:00
Griatch
8a2e362b7c
Make IDLE_TIMEOUT avoidable with account-lock.
...
Resolves #701 . Check the Account-lock 'no_idle_disconnect before kicking an idle
session. This also means superusers will never be kicked. Move the
idle task to the Server to avoid lock imports in Portal. Make the
'lock' command also able to target Accounts. Also some other fixes.
2017-08-20 23:11:33 +02:00
Griatch
b278337172
Make PEP8 cleanup of line spaces and character distances as well as indents
2017-08-19 23:16:36 +02:00
Griatch
7ff783fea1
Resolve merge conflicts with master.
2017-08-19 21:30:42 +02:00
Vincent Le Goff
37c9d65a9d
Place the persistent task in a task handler
2017-08-08 19:47:22 +02:00
Vincent Le Goff
87b6cee596
Add the persistent utils.delay
2017-07-20 21:37:34 +02:00
Griatch
5590ee2258
Rename all instances of Player->Account.
2017-07-07 23:47:21 +02:00
Griatch
7e416e0cd6
Start fixing things for django 1.10.
2017-06-06 14:56:13 +02:00
Griatch
90bd1a77dd
Fix typo webroot->web_root
2017-06-04 23:21:24 +02:00
Griatch
167d09b4cd
Add secret_settings and mechanisms for managing it. This allows for easier hiding game- and server-specific settings when sharing the game dir with others.
2017-06-04 22:55:28 +02:00
Tehom
ccfbe06ded
Fix AttributeError when webserver isn't enabled.
2017-06-03 21:57:11 -04:00
Griatch
d73a2876cf
Add support for cmdline reloading when requests are blocked.
2017-06-04 00:35:55 +02:00
Griatch
00f71667ba
Further refactoring.
2017-06-03 19:03:37 +02:00
Griatch
7be82159f4
Add LockableThreadPool class.
2017-06-03 18:41:21 +02:00
Tehom
96ab620618
Add extra checking for additional requests made while we were in the process of stopping reactor, change from callLater to deferLater to be compliant with inlinecallbacks.
2017-05-31 07:14:25 -04:00
Tehom
4b5ee77292
Attempt to address crash bug when stopping threadpool if there are pending web requests. Return a DeferredList to be checked in server shutdown.
2017-05-30 03:45:55 -04:00
Vincent Le Goff
95c8bf348b
Save the game time before shutting down the server (avoids drfts)
2017-02-15 23:43:49 +01:00
Griatch
a9f08760cc
Further refactoring towards #1176 .
2017-02-02 00:02:58 +01:00
Griatch
052e1845a2
Fix error in MonitorHandler recovering a saved Session across a reload. This probably affected the TickerHandler as well. Add a new hook to the server object that gets called once the portal has synced, and run the monitorhandler/tickerhandler restores there. Also some changes to the serialization of Sessions. Resolves #1164 .
2017-01-15 19:55:51 +01:00
Griatch
19e8528b04
Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153 .
2017-01-11 23:42:09 +01:00
Greg Taylor
4424dec668
Remove broken and un-maintained IMC2 support.
...
As discussed with @Griatch, IMC2 is now rarely seen in the wild. Also, this
feature hasn't worked in ages. Time to de-clutter.
2016-10-28 22:53:43 -07:00
Griatch
86c970eb62
Add sessionhandler.portal_disconnect_all to remove another needless call between server and portal on logout. This means logout from either side will clean up on the respective side and then inform the other side once, rather than triggering a return call.
2016-09-13 21:48:43 +02:00
Griatch
58a771f85c
Turn off http request logging unless settings.DEBUG is set. Relates to #983 .
2016-06-15 23:08:42 +02:00
Griatch
25e1126809
Make a missing web_plugins.py module error more gracefully.
2016-06-12 22:55:05 +02:00
Griatch
64c74c41a1
Add a plugin mechanism for the webserver with settings.WEB_PLUGIN_MODULE.
2016-06-12 18:00:28 +02:00
Griatch
e09a172854
Fixed a regression that had non-persistent Scripts not being deleted as they should on server reload. Also prepared for the same functionality for tickerhandler tickers.
2016-05-22 20:45:40 +02:00
Griatch
166189a7a5
Made ajax/comet client fallback work correctly in the new framework.
2016-05-22 20:45:38 +02:00
Griatch
2427db7f9f
Fixed a lingering docstring reference to game/server.py.
2015-12-18 11:14:24 +01:00
Griatch
161383f9ae
Fixed a repeat error in Scripts ( resolves #890 ). Added separation between calling script.pause() deliberately and it being called automatically by the reset/reload, in order to preserve manual pauses across server reloads ( resolves #891 ).
2015-12-17 00:12:07 +01:00
Ahmed Charles
b9bdeb3e9c
Replace filter with if/comprehension.
2015-11-09 10:11:34 +01:00
Ahmed Charles
11b61fe335
Import python3 compatible object.
2015-11-02 00:19:04 +01:00