Commit Graph

134 Commits

Author SHA1 Message Date
Felipe Martín 718c3729f6 Added blocks header and footer to the main layout, also container div is now inside the content block, so it's optional 2013-05-30 11:49:51 +02:00
Felipe Martín 46244b9add Fixed user.is_authenticated() in template being a function and not a variable (django tmpl -> jinja) 2013-05-30 11:01:32 +02:00
Felipe Martín c0bc749213 Fixed 404 error using request context variable that wasn't set 2013-05-30 11:00:50 +02:00
Felipe Martín afcd702cec Added django debug toolbar to development settings 2013-05-30 11:00:30 +02:00
Felipe Martin 4d41db4192 Block rotation is now correct 2013-05-29 23:18:57 +02:00
Felipe Martin 89b405d49a Added base block renderer javascript.
Added block renderer to block detail template only for logged in users
2013-05-29 22:11:07 +02:00
Felipe Martin 40e8fec52b Fixed block showing wrong data value 2013-05-29 22:10:29 +02:00
Felipe Martin 217dcf79a3 Navbar is no loger responsive 2013-05-29 20:21:06 +02:00
Felipe Martín 45f37ecf2a Using fixed data_value instead of adding 256 to its value 2013-05-29 18:02:44 +02:00
Felipe Martín 680de44cdf Added draft and user attributes to BlogEntry. 2013-05-29 17:54:01 +02:00
Felipe Martín 24c54e50e5 Added item/block details only to logged in users 2013-05-29 17:38:36 +02:00
Felipe Martín 199dae3695 Added internal_id attribute to blocks and models to store the mined id from java files 2013-05-29 17:06:08 +02:00
Felipe Martín b9ab39991c Improved blocks and items listing layout a lot. Added details URL only viewable by admins 2013-05-29 14:33:33 +02:00
Felipe Martín c2f2588331 Added variables.sass 2013-05-29 14:33:04 +02:00
Felipe Martín 9017bbcb31 Added helper to admin that match items and blocks with a minecraftwiki URL based on their translation name 2013-05-29 14:32:52 +02:00
Felipe Martín 0302aa73e1 Added CSS helper to style links in black instead of their original colour 2013-05-29 14:32:21 +02:00
Felipe Martín ade7ec2284 Added custom action to fix icons matching not only name but also class name with texture type 2013-05-29 13:14:43 +02:00
Felipe Martín b8a1aa33d5 Fixed null fields 2013-05-29 12:42:05 +02:00
Felipe Martín ba908ba0e9 Added version field to Items and blocks.
Added ModelAttributes to admin
2013-05-29 12:39:39 +02:00
Felipe Martín c007605f1f Added ModelAttribute model 2013-05-29 12:29:58 +02:00
Felipe Martín 13a44293e5 Merge branch 'master' into develop
* master:
  Fixed deploy script
2013-05-29 12:24:53 +02:00
Felipe Martín 19db8c9f7d Added SASS thingies to install.sh script 2013-05-29 12:24:39 +02:00
Felipe Martín 21624f14b8 Fixed deploy script 2013-05-29 11:58:24 +02:00
Felipe Martín c9eeb45025 Migrated LESS to SASS 2013-05-29 11:55:06 +02:00
Felipe Martín 6260faf47b Improved sentry error logging.
Minimun logging is now WARNING (up from DEBUG)
Using sentry_id for 500 errors.
Using custom 404 template & view: added sentry logger there.
2013-05-29 11:36:19 +02:00
Felipe Martín 6b78bf286a Updated gitignore file 2013-05-28 17:55:28 +02:00
Felipe Martín 4be098dd2d Added LESS files to controls icons appearance on the site. 2013-05-28 17:54:30 +02:00
Felipe Martín 92fe0f6ba8 Fix: LanguageString.content is now a TextField (up from a Char(512)) - Fixes unicode length problems 2013-05-28 17:04:44 +02:00
Felipe Martín f3c034efb9 Merge branch 'miner-languages' into develop
* miner-languages:
  Blocks and Items now have a name() method who searches for the correct key to obtain its name. Default to ID 14 = English US
  Finished languages miner
  Added Language and LanguageString models
  Added language step to the miner! KEEP IN MIND THAT SNAPSHOT ONLY HAVE ENGLISH!
2013-05-28 16:51:42 +02:00
Felipe Martín a19b8501be Blog finished:
+ Added RedactorJS to the admin (with jquery 2.0 under libs)
+ Added custom styling for default images (centred)
+ Re-sorted less files (shit happens)
+ Added a js script to load redactor under .redactor-editor classname
2013-05-28 16:49:57 +02:00
Felipe Martín 301686a7f3 Blocks and Items now have a name() method who searches for the correct key to obtain its name. Default to ID 14 = English US 2013-05-28 15:45:49 +02:00
Felipe Martín 5b0d0601fc Finished languages miner 2013-05-28 15:45:10 +02:00
Felipe Martín 60b867cf9c Added Language and LanguageString models 2013-05-28 15:44:47 +02:00
Felipe Martín ae7843f9c2 TIME_ZONE is not UTC (from Europe/Madrid)
Added blog app urls to urls.py
Added blog link to navigation menu
Added timezone info to footer
2013-05-28 15:17:29 +02:00
Felipe Martín ffea80c049 Added blog app:
+ BlogEntry model
+ Views for news lists and news detail
+ Migrations
+ Custom date time filter based on settings timezone
2013-05-28 15:15:12 +02:00
Felipe Martín 513946e6fe Added pytz to requirements 2013-05-28 14:38:43 +02:00
Felipe Martín ae475f0dcd Added language step to the miner! KEEP IN MIND THAT SNAPSHOT ONLY HAVE ENGLISH! 2013-05-28 14:02:20 +02:00
Felipe Martín 57a9cee9ba Added blocks to miner, url, views and template (start work) 2013-05-27 17:38:47 +02:00
Felipe Martín e89dd7c12d Added Items mining and saving, views, urls and templates (start work) 2013-05-27 17:30:02 +02:00
Felipe Martín d63c07efd8 Fixed paginator on versions list 2013-05-27 17:27:22 +02:00
Felipe Martín 15a39dbbe8 Ignoring custom CSS 2013-05-27 17:02:58 +02:00
Felipe Martín 53f6fb2281 Added textures up to 1.6_13w21a 2013-05-27 17:01:57 +02:00
Felipe Martín 828fffc589 Added rsanchezbalo to about page 2013-05-27 17:00:46 +02:00
Felipe Martín 3087443dc8 Added html comment at the top of the layout 2013-05-27 16:51:55 +02:00
Felipe Martín 9e87367acb HTMLCleaner middleware only removes comments with an space after the two colons 2013-05-27 16:48:29 +02:00
Felipe Martín 2b588786fe Added a top bar information saying that we are in alpha and there's poor data :) 2013-05-27 16:47:56 +02:00
Felipe Martín 270bf8ee30 Modified design: Added custom LESS files and base border radius (for bootstrap) is now zero. 2013-05-27 16:47:29 +02:00
Felipe Martín 1c94d6883e Added ALLOWED_HOSTS variable to development settings if you wan't to text without debug = true 2013-05-27 16:29:04 +02:00
Felipe Martín d2e0fb1f4e Added custom 404 & 500 error templates 2013-05-27 16:28:40 +02:00
Felipe Martín 95fe6a55d0 TextureAdmin: Added search params 2013-05-27 16:15:42 +02:00