repo
string
commit
string
message
string
diff
string
infonium/scriptty
64a23824098e222b60d5e95b0796d99b2f39639e
Rakefile: Add Jeweler::GemCutterTasks
diff --git a/Rakefile b/Rakefile index 4cc8949..4b14719 100644 --- a/Rakefile +++ b/Rakefile @@ -1,43 +1,44 @@ begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "scriptty" gemspec.summary = "write expect-like script to control full-screen terminal-based applications" gemspec.d...
infonium/scriptty
3c8836a186a36f12ed61d17891acaa0c83222ce5
ScreenPattern::Parser - Fix off-by-one error when specifying fields explicitly
diff --git a/lib/scriptty/screen_pattern/parser.rb b/lib/scriptty/screen_pattern/parser.rb index 2eef1f6..878f2bf 100644 --- a/lib/scriptty/screen_pattern/parser.rb +++ b/lib/scriptty/screen_pattern/parser.rb @@ -1,555 +1,558 @@ # = Parser for screen pattern files # Copyright (C) 2010 Infonium Inc. # # This file i...
infonium/scriptty
323d193661d570528023dbe63a9180c26aaeb8cd
ScripTTY::Expect - Screen matching support & related changes
diff --git a/lib/scriptty/expect.rb b/lib/scriptty/expect.rb index 0b95bdd..143ace4 100644 --- a/lib/scriptty/expect.rb +++ b/lib/scriptty/expect.rb @@ -1,389 +1,392 @@ # = Expect object # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software: you can redistribute it a...
infonium/scriptty
36fa0374fcc86c7ccef68d68bd6f944bc7f6aa8e
ScripTTY::Expect - Make load_screens take a glob or an array of filenames
diff --git a/lib/scriptty/expect.rb b/lib/scriptty/expect.rb index f8c1357..0b95bdd 100644 --- a/lib/scriptty/expect.rb +++ b/lib/scriptty/expect.rb @@ -1,382 +1,389 @@ # = Expect object # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software: you can redistribute it a...
infonium/scriptty
26f6401ed41206605989e63c2b715d7e43158698
ScripTTY::Expect - Screen loading
diff --git a/lib/scriptty/expect.rb b/lib/scriptty/expect.rb index 784dc15..f8c1357 100644 --- a/lib/scriptty/expect.rb +++ b/lib/scriptty/expect.rb @@ -1,372 +1,382 @@ # = Expect object # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software: you can redistribute it a...
infonium/scriptty
09bdbe03cd0f493ee1382c534adbed842abf234c
Fix ScripTTY::ScreenPattern.parse return value
diff --git a/lib/scriptty/screen_pattern.rb b/lib/scriptty/screen_pattern.rb index a5f780c..c65a29b 100644 --- a/lib/scriptty/screen_pattern.rb +++ b/lib/scriptty/screen_pattern.rb @@ -1,101 +1,102 @@ # = Screen pattern object # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is ...
infonium/scriptty
f2775c39d321e9d5f0ed7e333a5b1eaa34381da4
ScripTTY::Term::DG410 - Fix t_proprietary_escape callback
diff --git a/lib/scriptty/term/dg410.rb b/lib/scriptty/term/dg410.rb index 10ff5df..0ec4ed3 100644 --- a/lib/scriptty/term/dg410.rb +++ b/lib/scriptty/term/dg410.rb @@ -1,489 +1,489 @@ # = DG410 terminal emulation # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software...
infonium/scriptty
0120775130dac6758e8d86c13fabc149e2d40985
ScripTTY::ScreenPattern add generate method, and from_term/from_text class methods
diff --git a/lib/scriptty/screen_pattern.rb b/lib/scriptty/screen_pattern.rb index 5299d2b..a5f780c 100644 --- a/lib/scriptty/screen_pattern.rb +++ b/lib/scriptty/screen_pattern.rb @@ -1,78 +1,101 @@ # = Screen pattern object # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is f...
infonium/scriptty
507fb0d83eff936f13c4ea623e37c1fc6e1cca6e
Add telnet negotiation example
diff --git a/examples/telnet-nego.rb b/examples/telnet-nego.rb new file mode 100644 index 0000000..b35590b --- /dev/null +++ b/examples/telnet-nego.rb @@ -0,0 +1,55 @@ +# Telnet negotiation example +# +# NOTE: This would cause an infinite loop if two ends of the connection ran +# this algorithm, but it appears to be sa...
infonium/scriptty
60c7a11488f009b4e88c1f6cab954499d30679af
ScripTTY::Expect - Don't clear the match buffer until a ScreenPattern matches
diff --git a/lib/scriptty/expect.rb b/lib/scriptty/expect.rb index 043d1ba..784dc15 100644 --- a/lib/scriptty/expect.rb +++ b/lib/scriptty/expect.rb @@ -1,371 +1,372 @@ # = Expect object # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software: you can redistribute it a...
infonium/scriptty
19306c0a28b555e08edc61c6e18f091da05e227b
TranscriptParseApp - Add --client option (this may be removed in the future)
diff --git a/lib/scriptty/apps/transcript_parse_app.rb b/lib/scriptty/apps/transcript_parse_app.rb index 274c9e7..0b6e274 100644 --- a/lib/scriptty/apps/transcript_parse_app.rb +++ b/lib/scriptty/apps/transcript_parse_app.rb @@ -1,110 +1,143 @@ # = Transcript parsing app # Copyright (C) 2010 Infonium Inc. # # This...
infonium/scriptty
2852be9fef688908456c7d566c6160eefe77aabf
ScripTTY::Term::DG410 - Add on_proprietary_escape callback support
diff --git a/lib/scriptty/term/dg410.rb b/lib/scriptty/term/dg410.rb index f994a46..10ff5df 100644 --- a/lib/scriptty/term/dg410.rb +++ b/lib/scriptty/term/dg410.rb @@ -1,476 +1,489 @@ # = DG410 terminal emulation # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software...
infonium/scriptty
925dc7ad6a2dca1b70bb5057d3787879640d677c
ScripTTY::Expect - Handle connect errors
diff --git a/lib/scriptty/exception.rb b/lib/scriptty/exception.rb index c22a915..41c1943 100644 --- a/lib/scriptty/exception.rb +++ b/lib/scriptty/exception.rb @@ -1,29 +1,38 @@ # = ScripTTY exceptions # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software: you can r...
infonium/scriptty
7d42ca0c18048272577f2de800e7da3fb5fa2257
ScripTTY::Expect - Add support for writing transcripts
diff --git a/lib/scriptty/expect.rb b/lib/scriptty/expect.rb index 4da1dc1..d0ff88d 100644 --- a/lib/scriptty/expect.rb +++ b/lib/scriptty/expect.rb @@ -1,337 +1,358 @@ # = Expect object # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software: you can redistribute it a...
infonium/scriptty
324e5f38f14fa79414aed4949eb7c2cdf40e87d1
Term::DG410 - Add parsing for TELNET negotiation
diff --git a/lib/scriptty/term/dg410.rb b/lib/scriptty/term/dg410.rb index a2760fc..f994a46 100644 --- a/lib/scriptty/term/dg410.rb +++ b/lib/scriptty/term/dg410.rb @@ -1,470 +1,476 @@ # = DG410 terminal emulation # Copyright (C) 2010 Infonium Inc. # # This file is part of ScripTTY. # # ScripTTY is free software...
infonium/scriptty
60c4fd5873618abe28d88b897d005d42ebcdedac
Transcript::Writer - Fix encode_string when $KCODE is not "none"
diff --git a/lib/scriptty/util/transcript/writer.rb b/lib/scriptty/util/transcript/writer.rb index bf3ea2a..2da686b 100644 --- a/lib/scriptty/util/transcript/writer.rb +++ b/lib/scriptty/util/transcript/writer.rb @@ -1,111 +1,111 @@ # = Transcript writer # Copyright (C) 2010 Infonium Inc. # # This file is part of ...
infonium/scriptty
9e79ea40870f2c39de9db8845cef13992c0ff76d
ScripTTY::Expect - Add timeout support
diff --git a/lib/scriptty/exception.rb b/lib/scriptty/exception.rb new file mode 100644 index 0000000..c22a915 --- /dev/null +++ b/lib/scriptty/exception.rb @@ -0,0 +1,29 @@ +# = ScripTTY exceptions +# Copyright (C) 2010 Infonium Inc. +# +# This file is part of ScripTTY. +# +# ScripTTY is free software: you can redist...
infonium/scriptty
189a6d273b0ae133f94ce22221fa786f35549277
Version bump to 0.0.0
diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..77d6f4c --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.0.0
infonium/scriptty
5cd3586c1cf19c096abc8f9afeb2c3654e215b10
Add Jeweler gemspec to Rakefile
diff --git a/Rakefile b/Rakefile index ff837d4..4cc8949 100644 --- a/Rakefile +++ b/Rakefile @@ -1,22 +1,43 @@ +begin + require 'jeweler' + Jeweler::Tasks.new do |gemspec| + gemspec.name = "scriptty" + gemspec.summary = "write expect-like script to control full-screen terminal-based applications" + gemspec.d...
mmond/photo-gallery
c1c6d321966cc49d77e39d6d46c526650f84738c
First import
diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/.DS_Store differ diff --git a/banner.php b/banner.php new file mode 100644 index 0000000..0c239bf --- /dev/null +++ b/banner.php @@ -0,0 +1,58 @@ +<? +$gall = $_GET[gallerylink]; + +session_start(); +if (!ses...
hiroshi/inventory
a548ba752f089d889b9398ae35470406b57014b2
Separate params_scope.rb as a plugin, using git submodule.
diff --git a/.gitmodules b/.gitmodules index c866009..faee88e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,12 @@ [submodule "vendor/plugins/script-refactor"] path = vendor/plugins/script-refactor url = git://github.com/hiroshi/script-refactor.git [submodule "vendor/plugins/passenger_deploy"] path = ven...
hiroshi/inventory
e1cfc23bfc5d01a076dd54c743aea7f312c8766a
remove garbage
diff --git a/.gitmodules b/.gitmodules index fb70d71..c866009 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,12 +1,9 @@ [submodule "vendor/plugins/script-refactor"] path = vendor/plugins/script-refactor url = git://github.com/hiroshi/script-refactor.git [submodule "vendor/plugins/passenger_deploy"] path = ven...
hiroshi/inventory
a5f85aa88a1c3176b9e5339d6da4e67811e67513
remove garbage
diff --git a/.gitmodules b/.gitmodules index c866009..fb70d71 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,12 @@ [submodule "vendor/plugins/script-refactor"] path = vendor/plugins/script-refactor url = git://github.com/hiroshi/script-refactor.git [submodule "vendor/plugins/passenger_deploy"] path = ven...
hiroshi/inventory
571eb485501d942f7da21066727afc5c5004c259
add filedset and legend to assets#index filter form
diff --git a/app/views/assets/index.html.erb b/app/views/assets/index.html.erb index 4dbfc21..326f9b8 100644 --- a/app/views/assets/index.html.erb +++ b/app/views/assets/index.html.erb @@ -1,13 +1,16 @@ <%= render :partial => "menu" %> <% form_tag "", :method => "get" do %> +<fieldset> + <legend><%= t("filter") %>...
hiroshi/inventory
b1e4ad2f56ff15e51ed87defadc30d08e65cf16b
add cap extention plugins as submodules
diff --git a/.gitmodules b/.gitmodules index 708279d..c866009 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,9 @@ [submodule "vendor/plugins/script-refactor"] path = vendor/plugins/script-refactor url = git://github.com/hiroshi/script-refactor.git +[submodule "vendor/plugins/passenger_deploy"] + path = vend...
hiroshi/inventory
1e9daebb2d4ab0702a0c06f47598f9d8e1baac02
add user_name search combo box, etc
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ac9ef8a..d96e225 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,27 +1,27 @@ # Methods added to this helper will be available to all templates in the application. module ApplicationHel...
hiroshi/inventory
237764325936be5863bc3b2688df607ddc0c2a7b
add coverage directory to be git ignored
diff --git a/.gitignore b/.gitignore index 61e82f2..c085f7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ log/*.log db/development_structure.sql +coverage
hiroshi/inventory
aa94f266fb280b3e4de23499a322431c83505e48
* added rcov_rails plugin * wrote assets_controller_test
diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb index af1cead..64c8a26 100644 --- a/app/controllers/assets_controller.rb +++ b/app/controllers/assets_controller.rb @@ -1,80 +1,79 @@ class AssetsController < ApplicationController before_filter :login_required before_filter...
hiroshi/inventory
4fdbb075d451ac62c4f686011e58a09cf10a632c
* implement params_scope * experimentally implement "auto complete combobox"
diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb index c7f987b..af1cead 100644 --- a/app/controllers/assets_controller.rb +++ b/app/controllers/assets_controller.rb @@ -1,85 +1,80 @@ class AssetsController < ApplicationController before_filter :login_required before_filter...
hiroshi/inventory
e87929280f144608536059d11685286f4184ecfd
split readme for developer from readme for app
diff --git a/doc/README_FOR_APP b/doc/README_FOR_APP index de8333b..8e04b55 100644 --- a/doc/README_FOR_APP +++ b/doc/README_FOR_APP @@ -1,21 +1,8 @@ -= Plugins -This application depends on many plugins. -To update plugins: -script/plugin install --force {URL} += How to get started +== Get home brewed plugins +Some p...
hiroshi/inventory
6bcc8f560420148c262663f69f282c2e99f1ccd1
git submodule add git://github.com/hiroshi/script-refactor.git vendor/plugins/script-refactor git submodule init
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..708279d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/plugins/script-refactor"] + path = vendor/plugins/script-refactor + url = git://github.com/hiroshi/script-refactor.git diff --git a/vendor/plugins/script-refactor b/vend...
hiroshi/inventory
8a28f0ba64548951859741d91823807fd22e0b22
script/plugin install --force git://github.com/hiroshi/script-refactor.git
diff --git a/script/refactor b/script/refactor new file mode 100755 index 0000000..4388ef0 --- /dev/null +++ b/script/refactor @@ -0,0 +1,2 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../vendor/plugins/script-refactor/lib/script_refactor' diff --git a/vendor/plugins/script-refactor/MIT-LICENSE b/vendor/...
hiroshi/inventory
b9eae117f41b5a02982889b610407953af47374d
rename application name from kizai to inventory
diff --git a/app/views/shared/_head.html.erb b/app/views/shared/_head.html.erb index c081721..8efa550 100644 --- a/app/views/shared/_head.html.erb +++ b/app/views/shared/_head.html.erb @@ -1,7 +1,7 @@ <meta content='text/html; charset=utf-8' http-equiv='Content-type' /> - <title><%= t("#{controller_name}.#{acti...
hiroshi/inventory
721b5e39f715ca8ed9ff2a8c57f28064e86fb92d
* implement script/refactor and refactor "computer_asset" to "asset" * drop unusing computer_models
diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 3641f66..15ee4f5 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -1,21 +1,21 @@ # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will ...
hiroshi/inventory
4e37788511b8b46d4545c19091d645cb40093b69
script/destroy computer_model
diff --git a/app/controllers/computer_models_controller.rb b/app/controllers/computer_models_controller.rb deleted file mode 100644 index 7b1c85f..0000000 --- a/app/controllers/computer_models_controller.rb +++ /dev/null @@ -1,2 +0,0 @@ -class ComputerModelsController < ApplicationController -end diff --git a/app/helpe...
hiroshi/inventory
a95e0e943e77aa45f26a5bdfb0be89bd418ceec5
* fix a bug: assets of old utilizations' user appeared in user filtered assets#index * add user_assets route
diff --git a/app/controllers/computer_assets_controller.rb b/app/controllers/computer_assets_controller.rb index 2f40dd8..3b3c99b 100644 --- a/app/controllers/computer_assets_controller.rb +++ b/app/controllers/computer_assets_controller.rb @@ -1,85 +1,85 @@ class ComputerAssetsController < ApplicationController be...
hiroshi/inventory
2781e6819cf5246e43bebd03e5814f309c4e75fa
make an asset has many utilizations.
diff --git a/app/controllers/computer_assets_controller.rb b/app/controllers/computer_assets_controller.rb index 48d0143..2f40dd8 100644 --- a/app/controllers/computer_assets_controller.rb +++ b/app/controllers/computer_assets_controller.rb @@ -1,78 +1,85 @@ class ComputerAssetsController < ApplicationController be...
hiroshi/inventory
88ef820ac03f55791bfd8a5f6fa2ab5ef64768ae
some implementation (i fogot)
diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 4233415..3641f66 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -1,24 +1,21 @@ # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will ...
hiroshi/inventory
de3de476cb84f463da93bb0e498194c14b25f90c
implement utilization.children using acts_as_tree
diff --git a/app/models/group.rb b/app/models/group.rb index 9427085..f2aa75a 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -1,4 +1,5 @@ class Group < ActiveRecord::Base has_many :users has_many :computer_assets + has_many :utilizations end diff --git a/app/models/user.rb b/app/models/user.rb i...
hiroshi/inventory
6eac546b5fb8f6ca2b0efd64234469532186aeda
implement user filter on computer_assets#index
diff --git a/app/controllers/computer_assets_controller.rb b/app/controllers/computer_assets_controller.rb index 1bd8fa4..1f2cb92 100644 --- a/app/controllers/computer_assets_controller.rb +++ b/app/controllers/computer_assets_controller.rb @@ -1,59 +1,65 @@ class ComputerAssetsController < ApplicationController be...
arunthampi/epl.github.com
9d34589d431eba8fe69f998e490de0890c394202
CDATA Fix
diff --git a/.gitignore b/.gitignore index 8b13789..e43b0f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ - +.DS_Store diff --git a/iphone/index.html b/iphone/index.html index dd9165a..094a54b 100644 --- a/iphone/index.html +++ b/iphone/index.html @@ -1,37 +1,38 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 S...
arunthampi/epl.github.com
b7d262d0e821591ad891a18809e1db20c0b7d694
Do not cache AJAX requests
diff --git a/js/models/epl_table.js b/js/models/epl_table.js index 8e0cca6..0194cff 100644 --- a/js/models/epl_table.js +++ b/js/models/epl_table.js @@ -1,114 +1,114 @@ EPL = typeof EPL == 'undefined' || !EPL ? {} : EPL; EPL.Table = function(is_iphone) { this.table = []; this.is_iphone = is_iphone; if(this...
arunthampi/epl.github.com
72c9a99949a9b123ead52ee635619f98d6a80207
Use $.ajax instead of $.getJSON
diff --git a/js/models/epl_table.js b/js/models/epl_table.js index 0ff4a31..8e0cca6 100644 --- a/js/models/epl_table.js +++ b/js/models/epl_table.js @@ -1,102 +1,114 @@ EPL = typeof EPL == 'undefined' || !EPL ? {} : EPL; EPL.Table = function(is_iphone) { this.table = []; this.is_iphone = is_iphone; if(this...
arunthampi/epl.github.com
69e15b627a451a1b473ae692fc3cfe62f061808a
Fixtures details for 29-Jan-2009 1038
diff --git a/js/epl/all_teams.js b/js/epl/all_teams.js index d498b5b..bf05e4d 100644 --- a/js/epl/all_teams.js +++ b/js/epl/all_teams.js @@ -1 +1 @@ -[{"name":"Man Utd","away_lost":2,"home_against":4,"goal_difference":29,"home_for":24,"away_drawn":4,"away_for":15,"home_won":9,"points":50,"total_played":22,"id":"man_utd...
arunthampi/epl.github.com
df10859db307915933288bfe25e63c4e0c25717c
Add plists for iPhone API
diff --git a/.gitignore b/.gitignore index 86042ab..8b13789 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -*.plist + diff --git a/plists/epl/all_teams.plist b/plists/epl/all_teams.plist new file mode 100644 index 0000000..18c4027 --- /dev/null +++ b/plists/epl/all_teams.plist @@ -0,0 +1,646 @@ +<?xml version="1....
arunthampi/epl.github.com
0e1142e323c0fa66a704efd8ee74eab21d3f2efa
Fixtures details for 28-Jan-2009 0830
diff --git a/js/epl/all_teams.js b/js/epl/all_teams.js index 326706a..d498b5b 100644 --- a/js/epl/all_teams.js +++ b/js/epl/all_teams.js @@ -1 +1 @@ -[{"name":"Man Utd","away_lost":2,"home_against":4,"goal_difference":24,"home_for":24,"away_drawn":4,"away_for":10,"home_won":9,"points":47,"total_played":21,"id":"man_utd...
arunthampi/epl.github.com
3f046fe1e7e5cda5feb514107d5a12c7c42433a4
Adding gitignore
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..86042ab --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.plist
arunthampi/epl.github.com
264ceec940583108a90211fe2f16ffb95d0f19b6
Change to 57x57px
diff --git a/iphone/images/apple-touch-icon.png b/iphone/images/apple-touch-icon.png index 07214cd..7d500eb 100644 Binary files a/iphone/images/apple-touch-icon.png and b/iphone/images/apple-touch-icon.png differ
arunthampi/epl.github.com
8154a5896049ff5855ced929438bc7399ea1a421
Add an iPhone/iPod Touch friendly icon
diff --git a/iphone/images/apple-touch-icon.png b/iphone/images/apple-touch-icon.png index 50d8959..07214cd 100644 Binary files a/iphone/images/apple-touch-icon.png and b/iphone/images/apple-touch-icon.png differ diff --git a/iphone/index.html b/iphone/index.html index 2547e58..dd9165a 100644 --- a/iphone/index.html ++...
arunthampi/epl.github.com
dc482fe152f89304abf76f661dfb30f7cc787675
Fix JS bug in the normal HTML version
diff --git a/js/models/epl_table.js b/js/models/epl_table.js index 57353fb..0ff4a31 100644 --- a/js/models/epl_table.js +++ b/js/models/epl_table.js @@ -1,102 +1,102 @@ EPL = typeof EPL == 'undefined' || !EPL ? {} : EPL; EPL.Table = function(is_iphone) { this.table = []; this.is_iphone = is_iphone; if(this...
arunthampi/epl.github.com
e44dee5b002da8cf8397b880cf567eac480bf156
New Fixtures Updated 26-Jan-2009
diff --git a/js/epl/teams/fixtures/arsenal.js b/js/epl/teams/fixtures/arsenal.js index 98896c2..1c71ac1 100644 --- a/js/epl/teams/fixtures/arsenal.js +++ b/js/epl/teams/fixtures/arsenal.js @@ -1 +1 @@ -[{"competition":"The FA Cup sponsored by E.ON","details":"Cardiff v Arsenal","date":"25 January 2009","unix_time":1232...
arunthampi/epl.github.com
ad71fe4ee45ea24ad4359d289a615aa3e16d12e9
Use Javascript redirect for iPhone
diff --git a/index.html b/index.html index 01a1d58..9be328f 100644 --- a/index.html +++ b/index.html @@ -1,34 +1,42 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <he...
arunthampi/epl.github.com
c3ff59e31a32399acfc6f9a4a8417f2b6f72dbb7
Don't do any moving of the viewport
diff --git a/iphone/index.html b/iphone/index.html index 00d4c1e..2547e58 100644 --- a/iphone/index.html +++ b/iphone/index.html @@ -1,42 +1,37 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta h...
arunthampi/epl.github.com
b092c55a8ba3ee24d0cb6c15a49b3255b3d7b95f
Make the entire row clickable
diff --git a/js/models/epl_table.js b/js/models/epl_table.js index 8d6fff8..57353fb 100644 --- a/js/models/epl_table.js +++ b/js/models/epl_table.js @@ -1,101 +1,102 @@ EPL = typeof EPL == 'undefined' || !EPL ? {} : EPL; EPL.Table = function(is_iphone) { this.table = []; this.is_iphone = is_iphone; if(this...
arunthampi/epl.github.com
d03c28871aaf9781efa3cc5640fbafc17f2fad34
Add support to see fixtures in iPhone mode
diff --git a/iphone/index.html b/iphone/index.html index 48857db..00d4c1e 100644 --- a/iphone/index.html +++ b/iphone/index.html @@ -1,41 +1,42 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta h...
arunthampi/epl.github.com
b98f19af33659ee4146771ac40514d4ef7526e80
Some adjustments in the CSS
diff --git a/iphone/stylesheets/table.css b/iphone/stylesheets/table.css index c22a2e6..a3b37d8 100644 --- a/iphone/stylesheets/table.css +++ b/iphone/stylesheets/table.css @@ -1,28 +1,28 @@ span.rank { float: left; width: 8%; } span.name { float: left; width: 50%; } span.played { float: left; ...
arunthampi/epl.github.com
36ba0a3c3573607bbc59eea75ebf9b8365147c3c
Fix paths for stylesheets
diff --git a/iphone/index.html b/iphone/index.html index 4e7fdde..48857db 100644 --- a/iphone/index.html +++ b/iphone/index.html @@ -1,41 +1,41 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta h...
arunthampi/epl.github.com
30c7935e29e7723c543ff74d92c2d40e3011e153
Add support for iPhone
diff --git a/index.html b/index.html index 26efefd..01a1d58 100644 --- a/index.html +++ b/index.html @@ -1,34 +1,34 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <he...
arunthampi/epl.github.com
72a815007c18b526aeb53325564ea6154543ebfe
Remove console.debug
diff --git a/js/models/epl_table.js b/js/models/epl_table.js index b75f505..1e62060 100644 --- a/js/models/epl_table.js +++ b/js/models/epl_table.js @@ -1,63 +1,60 @@ EPL = typeof EPL == 'undefined' || !EPL ? {} : EPL; EPL.Table = function() { this.table = []; }; EPL.Table.prototype.initialize_teams = func...
arunthampi/epl.github.com
5065996596e4a362a887380e33edd9bff57dbb54
Link to fixtures
diff --git a/index.html b/index.html index 643012c..26efefd 100644 --- a/index.html +++ b/index.html @@ -1,34 +1,34 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <he...
arunthampi/epl.github.com
8c174b7f03fc1482e0e1a85b0ecfbfd6b4528499
Add headings for the table
diff --git a/index.html b/index.html index 1b33753..643012c 100644 --- a/index.html +++ b/index.html @@ -1,28 +1,34 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <he...
arunthampi/epl.github.com
1607fbfea3d4c07a2f204b6e8f9c248c4d090cc4
Initialize page using JS
diff --git a/index.html b/index.html index 775151b..1b33753 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,28 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <he...
arunthampi/epl.github.com
895995349848e1622a71345a63ecece8cddf6cf0
Models for getting Table and Team information
diff --git a/js/models/epl_table.js b/js/models/epl_table.js new file mode 100644 index 0000000..3ed9591 --- /dev/null +++ b/js/models/epl_table.js @@ -0,0 +1,30 @@ +EPL = typeof EPL == 'undefined' || !EPL ? {} : EPL; + +EPL.Table = function() { + this.table = []; +}; + + +EPL.Table.prototype.initialize_teams = functi...
stefanfoulis/django-multilingual
9c43fa86723a82ee30b422235d88f1e79410dacb
values and values_list will raise a NotImplementedError until we get around to add those.
diff --git a/multilingual/query.py b/multilingual/query.py index 7cbaf58..72c59cc 100644 --- a/multilingual/query.py +++ b/multilingual/query.py @@ -69,512 +69,518 @@ class MultilingualQuery(Query): defaults = { 'extra_join': self.extra_join, 'include_translation_data': self.include_t...
stefanfoulis/django-multilingual
9a2df3dc815b7005815695d65dee414a63c7e12b
More pep8 cleanup.
diff --git a/multilingual/admin.py b/multilingual/admin.py index fbc7164..ccd35ab 100644 --- a/multilingual/admin.py +++ b/multilingual/admin.py @@ -1,203 +1,211 @@ from django.contrib import admin from django.forms.models import BaseInlineFormSet from django.forms.fields import BooleanField from django.forms.forms...
stefanfoulis/django-multilingual
a39f67e7f30642e886d64d9d4cd02ae45d4473ea
Some pep8 cleanups.
diff --git a/multilingual/context_processors.py b/multilingual/context_processors.py index 46e919d..bcdacb8 100644 --- a/multilingual/context_processors.py +++ b/multilingual/context_processors.py @@ -1,8 +1,10 @@ -from multilingual.languages import get_language_code_list, get_default_language_code +from multilingual.l...
stefanfoulis/django-multilingual
1df576c4e14223f26605ac610ffb12874b273e4b
Fixed issue 100, inlines can be defined both as lists or tuples.
diff --git a/multilingual/admin.py b/multilingual/admin.py index 52e645c..fbc7164 100644 --- a/multilingual/admin.py +++ b/multilingual/admin.py @@ -1,203 +1,203 @@ from django.contrib import admin from django.forms.models import BaseInlineFormSet from django.forms.fields import BooleanField from django.forms.forms...
stefanfoulis/django-multilingual
5e8eec19323f26455f58005ea24ed049791346a7
Fixed issue 94 and 96 - multilingual flatpages are now in sync with the contrib app.
diff --git a/multilingual/flatpages/admin.py b/multilingual/flatpages/admin.py index 5e70ad1..0c954a3 100644 --- a/multilingual/flatpages/admin.py +++ b/multilingual/flatpages/admin.py @@ -1,14 +1,29 @@ +from django import forms from django.contrib import admin -from django.utils.translation import ugettext_lazy as _ ...
stefanfoulis/django-multilingual
a8f885f3611f9308757c39bef72c9c147dd7e8e1
Added a README and INSTALL explanatory files.
diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..7481cc3 --- /dev/null +++ b/INSTALL @@ -0,0 +1,12 @@ +Thanks for downloading django-multilingual. + +To install it, checkout from Subversion: + + svn co http://django-multilingual.googlecode.com/svn/trunk/ multilingual + +and add the included ``multi...
stefanfoulis/django-multilingual
b918fb7bbb8b319ddf5919717ddb88dbc835f0ec
Added basic documentation. Basically it is a move of the googlecode wiki to Sphinx.
diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..fe40e04 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,89 @@ +# Makefile for Sphinx documentation +# + +# You can set these variables from the command line. +SPHINXOPTS = +SPHINXBUILD = sphinx-build +PAPER = +BUILDDIR = _buil...
stefanfoulis/django-multilingual
e2874ff5dacc111c20fe428ce74652609cce63d8
Raise TranslationDoesNotExists in fallback code if the instance has no translation
diff --git a/multilingual/translation.py b/multilingual/translation.py index 00639d6..19ac54d 100644 --- a/multilingual/translation.py +++ b/multilingual/translation.py @@ -1,370 +1,371 @@ """ Support for models' internal Translation class. """ ##TODO: this is messy and needs to be cleaned up from django.core....
stefanfoulis/django-multilingual
74d273d8ec6f1244cf01abc6618360cf67a43ae9
Fixed test assertion
diff --git a/testproject/fallback/tests.py b/testproject/fallback/tests.py index 1fb3b92..9bdca95 100644 --- a/testproject/fallback/tests.py +++ b/testproject/fallback/tests.py @@ -1,55 +1,55 @@ from django.test import TestCase import multilingual from testproject.fallback.models import Article from testproject.f...
stefanfoulis/django-multilingual
68c12835d85d08096e00c439c2a3721b947db301
Added test and model to check fallback errors related to empty translation cache
diff --git a/testproject/fallback/models.py b/testproject/fallback/models.py index b99cdd4..60f1ee4 100644 --- a/testproject/fallback/models.py +++ b/testproject/fallback/models.py @@ -1,12 +1,17 @@ """ Unit tests for the translation fallback feature. """ from django.db import models import multilingual class...
stefanfoulis/django-multilingual
f7c1ad1ea7c21f5e6a6358d526ae5b4d04e2cf55
Fixed FALLBACK_LANGUAGE_IDS initialization
diff --git a/multilingual/languages.py b/multilingual/languages.py index 23157a0..92c5202 100644 --- a/multilingual/languages.py +++ b/multilingual/languages.py @@ -1,127 +1,127 @@ """ Django-multilingual: language-related settings and functions. """ # Note: this file did become a mess and will have to be refacto...
stefanfoulis/django-multilingual
bbbe22dd97560de16e418d41e3d1ecf53201b702
Added translation fallback fields (title_any, title_pl_any etc).
diff --git a/multilingual/__init__.py b/multilingual/__init__.py index 2a31747..04dda91 100644 --- a/multilingual/__init__.py +++ b/multilingual/__init__.py @@ -1,10 +1,13 @@ """ Django-multilingual: multilingual model support for Django. """ from multilingual import models from multilingual.exceptions import Tr...
stefanfoulis/django-multilingual
0ed6d802e158a97a9c1c8373eac5d289124e9b28
Code cleanup, removing some pieces that are no longer necessary.
diff --git a/multilingual/translation.py b/multilingual/translation.py index 374d335..82d2cfe 100644 --- a/multilingual/translation.py +++ b/multilingual/translation.py @@ -1,368 +1,340 @@ """ Support for models' internal Translation class. """ ##TODO: this is messy and needs to be cleaned up from django.core....
stefanfoulis/django-multilingual
a26bdfb96fd790b922565e96a97c92f503bf8b49
Bugfix: the "delete" checkbox would not work correctly in some situations.
diff --git a/multilingual/admin.py b/multilingual/admin.py index 1203dfa..52e645c 100644 --- a/multilingual/admin.py +++ b/multilingual/admin.py @@ -1,204 +1,203 @@ from django.contrib import admin from django.forms.models import BaseInlineFormSet from django.forms.fields import BooleanField from django.forms.forms...
stefanfoulis/django-multilingual
5795426396dcf88bf1246096074e026bdf8d6fb3
Fixing #92: changed the MultilingualFlatPage model to allow empty content.
diff --git a/AUTHORS b/AUTHORS index 73ad4fd..800bf09 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,24 +1,26 @@ django-multilingual was originally created in 2007 by Marcin Kaszynski. Current or former committers: Ashley Camba Joost Cassee Fabio Corneti Marcin Kaszynski Matthias Urlichs Con...
stefanfoulis/django-multilingual
137f2aad6ffde9dfd6c392cdbeafb3a1320a800c
Added a special case for counting, so that the most common COUNT, without any WHEREs, does not do the translation joins.
diff --git a/multilingual/query.py b/multilingual/query.py index f911a2b..adb3d1c 100644 --- a/multilingual/query.py +++ b/multilingual/query.py @@ -1,540 +1,572 @@ """ Django-multilingual: a QuerySet subclass for models with translatable fields. This file contains the implementation for QSRF Django. """ impo...
stefanfoulis/django-multilingual
63bf4a04db38aa7dd3731ee016103cc41c0d20dc
Changed the testproject settings to install the debug toolbar if available.
diff --git a/testproject/settings.py b/testproject/settings.py index f38dba7..8fbbacb 100644 --- a/testproject/settings.py +++ b/testproject/settings.py @@ -1,112 +1,130 @@ # Django settings for testproject project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), )...
stefanfoulis/django-multilingual
fb15beab9828656f08cd3fc11eacf03cbd2a5b62
Changed the multilingual admin UI so that it allows partial translations.
diff --git a/multilingual/admin.py b/multilingual/admin.py index 3d11e0e..1203dfa 100644 --- a/multilingual/admin.py +++ b/multilingual/admin.py @@ -1,136 +1,204 @@ from django.contrib import admin +from django.forms.models import BaseInlineFormSet +from django.forms.fields import BooleanField +from django.forms.forms...
stefanfoulis/django-multilingual
cf6e40133bde8999edc487edf838ddbc1f595293
Added the templates and fixtures to setup.py. Thanks, Jannis Leidel!
diff --git a/AUTHORS b/AUTHORS index c7483ed..73ad4fd 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,23 +1,24 @@ django-multilingual was originally created in 2007 by Marcin Kaszynski. Current or former committers: Ashley Camba Joost Cassee Fabio Corneti Marcin Kaszynski Matthias Urlichs Con...
stefanfoulis/django-multilingual
739a7ae47a0a4352703ea1ca7282155f9188200e
Added a simple setup.py script, as suggested in issue #91. Thanks, JustinLilly!
diff --git a/AUTHORS b/AUTHORS index 3afab00..c7483ed 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,22 +1,23 @@ django-multilingual was originally created in 2007 by Marcin Kaszynski. Current or former committers: Ashley Camba Joost Cassee Fabio Corneti Marcin Kaszynski Matthias Urlichs Con...
stefanfoulis/django-multilingual
7873d5f00060362cb5f80678fe55c2c22bfb2d9a
Added the contributors of recently-used patches to the AUTHORS file. Thanks!
diff --git a/AUTHORS b/AUTHORS index 9ffa253..3afab00 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,19 +1,22 @@ django-multilingual was originally created in 2007 by Marcin Kaszynski. Current or former committers: Ashley Camba Joost Cassee Fabio Corneti Marcin Kaszynski Matthias Urlichs Con...
stefanfoulis/django-multilingual
19394512a74d69d383460369d2094a8bad2793f7
Made the internal Translation class available as (ModelName).Translation.
diff --git a/multilingual/translation.py b/multilingual/translation.py index ced81eb..374d335 100644 --- a/multilingual/translation.py +++ b/multilingual/translation.py @@ -1,367 +1,368 @@ """ Support for models' internal Translation class. """ ##TODO: this is messy and needs to be cleaned up from django.core....
stefanfoulis/django-multilingual
b0c919e2aeba52ae6655096b43fc5fc592ed863a
Bugfix #84, #85, #87: Django rev. 9700 changed the interface of one of the functions DM used for queries. Thanks amit.ramon, m.meylan and gonzalosaavedra!
diff --git a/multilingual/query.py b/multilingual/query.py index bb0bbd0..f911a2b 100644 --- a/multilingual/query.py +++ b/multilingual/query.py @@ -1,528 +1,540 @@ """ Django-multilingual: a QuerySet subclass for models with translatable fields. This file contains the implementation for QSRF Django. """ impo...
stefanfoulis/django-multilingual
195d51848f11968d38c0ae9d9d82f21a8166b0c9
Bugfix: #86, imported a non-existant Count name. Thanks, alberto.paro!
diff --git a/multilingual/query.py b/multilingual/query.py index c699321..bb0bbd0 100644 --- a/multilingual/query.py +++ b/multilingual/query.py @@ -1,527 +1,527 @@ """ Django-multilingual: a QuerySet subclass for models with translatable fields. This file contains the implementation for QSRF Django. """ impo...
stefanfoulis/django-multilingual
f107481480a2dc04ce1be5add18350b10daf55fc
Added AUTHORS and LICENSE files.
diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..9ffa253 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,19 @@ +django-multilingual was originally created in 2007 by Marcin Kaszynski. + +Current or former committers: + + Ashley Camba + Joost Cassee + Fabio Corneti + Marcin Kaszynski + Matthias U...
stefanfoulis/django-multilingual
7b616162ff84a25163dca0a4eccc2a46c0bd9f2c
Added prepopulated_fields validation code (it was disabled for multilingual models). Changed DM behavior when a model is registered with the admin site with a modeladmin not inheriting multilingual.ModelAdmin: it now signals a DeprecationWarning instead of throwing an error.
diff --git a/multilingual/admin.py b/multilingual/admin.py index 2d0d043..3d11e0e 100644 --- a/multilingual/admin.py +++ b/multilingual/admin.py @@ -1,131 +1,136 @@ from django.contrib import admin from multilingual.languages import * +from multilingual.utils import is_multilingual_model class TranslationModelAdmi...
stefanfoulis/django-multilingual
8c2e1276a37243afeb28237b206c8cac409b482e
Prepopulated_fields seems to be working correctly. Also, added missing tests for inline editing classes.
diff --git a/multilingual/admin.py b/multilingual/admin.py index e63e94b..2d0d043 100644 --- a/multilingual/admin.py +++ b/multilingual/admin.py @@ -1,132 +1,131 @@ from django.contrib import admin from multilingual.languages import * class TranslationModelAdmin(admin.StackedInline): template = "admin/edit_in...
stefanfoulis/django-multilingual
6dee10ea37dbc802fabd0a151cd4dffd19d5f78c
Added support for using prepopulated_fields with dependencies from translatable fields.
diff --git a/multilingual/__init__.py b/multilingual/__init__.py index ed6a5b6..2a31747 100644 --- a/multilingual/__init__.py +++ b/multilingual/__init__.py @@ -1,9 +1,10 @@ """ Django-multilingual: multilingual model support for Django. """ from multilingual import models from multilingual.exceptions import Tra...
stefanfoulis/django-multilingual
3647cad0e00295ba451a6adf75f84ce9e74b2c50
Added a generic AdminTestCase to make it simpler to test stuff in the
diff --git a/testproject/issue_61/tests.py b/testproject/issue_61/tests.py index 9fe4077..003f291 100644 --- a/testproject/issue_61/tests.py +++ b/testproject/issue_61/tests.py @@ -1,20 +1,10 @@ -from django.contrib.auth.models import User -from django.test import TestCase +from testproject.utils import AdminTestCase ...
stefanfoulis/django-multilingual
4379b87bdfce20cf5e6b36d9b2a3439af9ba7f83
Changed the way DM handles inline editor classes so that it is
diff --git a/multilingual/translation.py b/multilingual/translation.py index 6b2f528..43967b6 100644 --- a/multilingual/translation.py +++ b/multilingual/translation.py @@ -1,403 +1,408 @@ """ Support for models' internal Translation class. """ ##TODO: this is messy and needs to be cleaned up from django.contr...
stefanfoulis/django-multilingual
0740c6fdcd96ef6c992a26e48fcc3f7763b56147
Fixing issues #61 and #76. Patch provided by jdemoor - thanks!
diff --git a/multilingual/translation.py b/multilingual/translation.py index fdce7fc..6b2f528 100644 --- a/multilingual/translation.py +++ b/multilingual/translation.py @@ -1,398 +1,403 @@ """ Support for models' internal Translation class. """ ##TODO: this is messy and needs to be cleaned up from django.contr...
stefanfoulis/django-multilingual
03fac695135b308ed3a33dcbfcfcd1d74154fea3
Fixed a mistake in initial_data.xml fixture: it was referencing a model by its db_table instead of by module name.
diff --git a/testproject/articles/fixtures/initial_data.xml b/testproject/articles/fixtures/initial_data.xml index 9207906..830569a 100644 --- a/testproject/articles/fixtures/initial_data.xml +++ b/testproject/articles/fixtures/initial_data.xml @@ -1,20 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> <django-objects ...
stefanfoulis/django-multilingual
dab30c0e23683e02a13b6857b0662e0727ba3dfb
Fixed flatpages middleware to use request.path_info instead of request.path.
diff --git a/multilingual/flatpages/middleware.py b/multilingual/flatpages/middleware.py index fdd6a4a..25c6533 100644 --- a/multilingual/flatpages/middleware.py +++ b/multilingual/flatpages/middleware.py @@ -1,18 +1,18 @@ from multilingual.flatpages.views import multilingual_flatpage from django.http import Http404 ...
stefanfoulis/django-multilingual
2c77083623ec5d3dba38bd1aab75801b391d2ab7
No functional changes. Set eol-style to native. Fixed-up whitespace. Patch from Florian Sening.
diff --git a/multilingual/__init__.py b/multilingual/__init__.py index cb21d5a..ed6a5b6 100644 --- a/multilingual/__init__.py +++ b/multilingual/__init__.py @@ -1,10 +1,9 @@ """ Django-multilingual: multilingual model support for Django. """ from multilingual import models from multilingual.exceptions import Tra...
stefanfoulis/django-multilingual
47bbc1df3c6a6cd56602253244827d1acc5ce63f
The first parameter of languages.get_language_id_from_id_or_code() can now be a sublanguage, i.e. 'en-us' may return the id for 'en'.
diff --git a/multilingual/languages.py b/multilingual/languages.py index 40bc866..99a9d7a 100644 --- a/multilingual/languages.py +++ b/multilingual/languages.py @@ -1,116 +1,118 @@ """ Django-multilingual: language-related settings and functions. """ # Note: this file did become a mess and will have to be refacto...
stefanfoulis/django-multilingual
290ae661db5b162120cad1c29273fc14e1f30c54
Fix for issue 57
diff --git a/multilingual/translation.py b/multilingual/translation.py index f91f584..fdce7fc 100644 --- a/multilingual/translation.py +++ b/multilingual/translation.py @@ -1,397 +1,398 @@ """ Support for models' internal Translation class. """ -## TO DO: this is messy and needs to be cleaned up +##TODO: this is m...
stefanfoulis/django-multilingual
34c953d46d04e084cf0a98f351758cf8c2ceb23e
Removing useless ModelForm patch
diff --git a/multilingual/__init__.py b/multilingual/__init__.py index 0703190..cb21d5a 100644 --- a/multilingual/__init__.py +++ b/multilingual/__init__.py @@ -1,10 +1,10 @@ """ Django-multilingual: multilingual model support for Django. """ from multilingual import models from multilingual.exceptions import Tr...