Commit Graph

53 Commits

Author SHA1 Message Date
Trever Fischer
f16c7df2d0 Return the item from Item.git, and use Item.material, not Item.item. 2012-11-17 16:02:58 -05:00
Trever Fischer
452b5acbfd Add an 'item' model to minecraft app, and migrate Vault app to use it.
The Item model is meant to be used as a way for other apps to store exceedingly
common data about an item, such as the material ID, data value, and damage
value. Keeping it all in one object allows for the item schema to change later
on without needing to update dozens of other apps.
2012-11-16 15:14:41 -05:00
Trever Fischer
3706219e90 Implement server kicks and updating the server time on the page according to heartbeats 2012-11-12 14:40:32 -05:00
Trever Fischer
f75aebb660 Add command to generate item CSS from minecraft.items.ITEMS 2012-11-09 12:03:01 -05:00
Trever Fischer
be8bb0dc2a Add a script to extract item data from Bukkit 2012-11-09 10:38:57 -05:00
Trever Fischer
4ca5e20e53 Implement a server event queue using beanstalkd 2012-09-03 16:07:09 -04:00
Trever Fischer
603ebe6435 Extract the avatar downloading code to a standalone function 2012-06-10 11:03:22 -04:00
Trever Fischer
a8fada689b debug-- 2012-06-10 02:30:52 -04:00
Trever Fischer
7f3ef568ea Fix bans without expiration 2012-06-10 02:30:40 -04:00
Trever Fischer
c4793874bf Implement playtime badges 2012-06-09 21:14:58 -04:00
Trever Fischer
da2355681c Use get_or_create to fix database inconsistencies 2012-06-08 15:27:30 -04:00
Trever Fischer
798ceb1653 force browsers to cache avatars 2012-04-23 14:22:26 -04:00
Trever Fischer
1c01adbf0d division_by_zero-- 2012-04-21 11:35:24 -04:00
Trever Fischer
418570681e Special calculations for sessions still in progress 2012-04-21 10:45:22 -04:00
Trever Fischer
5a64db3b29 Add average and total playtime stats to user model 2012-04-21 10:11:45 -04:00
Trever Fischer
bbe35995e0 Fix occasional error from non-transparent skins 2012-04-18 11:42:01 -04:00
Trever Fischer
1626161f75 Add support for avatar overlays 2012-04-18 09:56:02 -04:00
Trever Fischer
e72f60596f Fix avatar loading error when loading names with spaces 2012-04-18 09:39:33 -04:00
Trever Fischer
90d47a30b1 Allow for different size minecraft avatars, and fix caching 2012-04-17 00:21:58 -04:00
Trever Fischer
b843140863 Drop pyspy and use sessions for server player listing 2012-04-16 17:37:41 -04:00
Trever Fischer
9a6e98f988 Handle bad avatar fetches from minecraft.net 2012-04-13 11:04:44 -04:00
Trever Fischer
7a4bdbc720 Implement bans 2012-04-03 23:10:21 -04:00
Trever Fischer
5af80612ca Only give out /op if the group has it, regardless of user staff setting 2012-04-03 21:27:29 -04:00
Trever Fischer
24e490e7f8 Allow permission list to be blank 2012-04-03 21:16:06 -04:00
Trever Fischer
478deda980 Add a method to the profile model to get permissions 2012-04-03 21:11:58 -04:00
Trever Fischer
6496eef466 Implement permission assignment via groups 2012-04-03 21:06:57 -04:00
Trever Fischer
8be4c375df Add a "secret" field to server model for API 2012-04-02 14:31:34 -04:00
Trever Fischer
e7ec0e124a Add playersessions to the admin cp 2012-04-02 08:21:14 -04:00
Trever Fischer
f3bdf95858 Disable pyspy for now 2012-04-02 08:19:45 -04:00
Trever Fischer
1095bb4f25 Fix crash in drupal import 2012-03-17 11:48:26 -04:00
Trever Fischer
b4572b2ec3 Fix migrations 2012-03-17 11:48:26 -04:00
Trever Fischer
0ae6369ec2 Import currency accounts from drupal. Fixes #10 2012-03-10 21:46:40 -05:00
Trever Fischer
9ca328dd75 Add API to log player sessions. Fixes #2 2012-03-07 19:00:50 -05:00
Trever Fischer
b13e5fc15f Return default minecraft skin for unknown skins. Fixes #11 2012-03-07 17:08:41 -05:00
Trever Fischer
84d8d70144 Use RequestContext for rules view 2012-03-06 09:55:07 -05:00
Trever Fischer
e127b157f0 Implement rulesets. Fixes #22 2012-03-05 19:43:56 -05:00
Trever Fischer
82222860c9 Merge branch 'master' of dev.camin.us:www
Conflicts:
	profiles/models.py
	profiles/views.py
	templates/base_full.html
2012-03-04 23:22:47 -05:00
Trever Fischer
e0957c2dab Move MinecraftProfile from the profiles app into the minecraft app, and stop using the auth profiles feature.
Might go back to auth profiles if a suitable use can be found.
2012-03-04 23:18:00 -05:00
Trever Fischer
34567bf695 Use minecraft avatars 2012-03-03 22:09:40 -05:00
Trever Fischer
dda78c0711 crack--; reduce cache time from 120s to 10s 2012-03-03 18:29:10 -05:00
Trever Fischer
0d2b9f7c11 Fix password import bug 2012-03-03 16:48:59 -05:00
Trever Fischer
d87095fe2c Move all the player queries into the server model object 2012-03-02 14:51:05 -05:00
Trever Fischer
c2e9eff169 Convert minecraft app to south 2012-03-02 13:24:08 -05:00
Trever Fischer
c23de7051c Add a command to import from drupal 2012-03-02 12:56:20 -05:00
Trever Fischer
faf039a269 crash-- 2012-03-02 10:06:17 -05:00
Trever Fischer
aa15f4d797 Add support for server MOTDs 2012-02-27 11:53:15 -05:00
Trever Fischer
a45a3845da Dont crash if we can't resolve DNS 2012-02-27 11:53:15 -05:00
Trever Fischer
311c26e445 Cache gamespy queries 2012-02-19 22:28:27 -05:00
Trever Fischer
4b8d75ab5e Expose minecraft host to templates 2012-02-19 17:51:49 -05:00
Trever Fischer
f669163855 Implement a context processor to load gamespy query stuff 2012-02-19 17:46:02 -05:00