Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed all mirosubs references to unisubs. This also entails:

- Pointing to the new git repo url
- Duplicating the compiled js used by third parties (i.e mirosubs-api.js) for a grace period
- Exporting js symbols aliases as mirosubs, for the same reason.
  • Loading branch information...
commit baf4676ab609b761e2c084f5e5c7541818639332 1 parent eabe85f
@arthur-debert arthur-debert authored
Showing with 4,525 additions and 4,869 deletions.
  1. +5 −0 .gitignore
  2. +15 −15 README
  3. +1 −1  README.transifex
  4. +1 −1  apps/api/1_0/handlers.py
  5. +1 −1  apps/pagedemo/views.py
  6. +48 −12 apps/unisubs_compressor/management/commands/compile_media.py
  7. +1 −1  apps/videos/models.py
  8. +1 −1  apps/videos/tests.py
  9. +1 −1  apps/videos/views.py
  10. +3 −3 apps/widget/__init__.py
  11. +4 −4 apps/widget/views.py
  12. +10 −10 closure/compile.py
  13. +5 −5 closure/compilelite.py
  14. +4 −4 deploy/celery/config/example
  15. +26 −26 deploy/fabfile.py
  16. +0 −29 deploy/mirosubs.apache2
  17. +0 −30 deploy/mirosubsdev.apache2
  18. +0 −30 deploy/mirosubsstaging.apache2
  19. +29 −0 deploy/unisubs.apache
  20. +2 −2 deploy/unisubs.apache2.template
  21. +8 −8 deploy/{mirosubs.nginx → unisubs.nginx}
  22. +6 −6 deploy/unisubs.wsgi
  23. +30 −0 deploy/unisubsdev.apache2
  24. +30 −0 deploy/unisubsstaging.apache2
  25. +2 −2 deploy/update_translations.sh
  26. +2 −2 dev_settings.py
  27. +14 −14 docs/running-unisubs.rst
  28. +4 −4 docs/static-files.rst
  29. +12 −12 initial_data.yaml
  30. +4 −4 locale/ar/LC_MESSAGES/django.po
  31. +3 −3 locale/bg/LC_MESSAGES/django.po
  32. +3 −3 locale/bn/LC_MESSAGES/django.po
  33. +4 −4 locale/bs/LC_MESSAGES/django.po
  34. +6 −6 locale/ca/LC_MESSAGES/django.po
  35. +6 −6 locale/cs/LC_MESSAGES/django.po
  36. +4 −4 locale/cy/LC_MESSAGES/django.po
  37. +3 −3 locale/da/LC_MESSAGES/django.po
  38. +4 −4 locale/de/LC_MESSAGES/django.po
  39. +3 −3 locale/el/LC_MESSAGES/django.po
  40. +3 −3 locale/en/LC_MESSAGES/django.po
  41. +3 −3 locale/en_GB/LC_MESSAGES/django.po
  42. +4 −4 locale/eo/LC_MESSAGES/django.po
  43. +3 −3 locale/es/LC_MESSAGES/django.po
  44. +3 −3 locale/es_AR/LC_MESSAGES/django.po
  45. +3 −3 locale/et/LC_MESSAGES/django.po
  46. +3 −3 locale/eu/LC_MESSAGES/django.po
  47. +3 −3 locale/fa/LC_MESSAGES/django.po
  48. +3 −3 locale/fi/LC_MESSAGES/django.po
  49. +4 −4 locale/fr/LC_MESSAGES/django.po
  50. +3 −3 locale/fy_NL/LC_MESSAGES/django.po
  51. +3 −3 locale/ga/LC_MESSAGES/django.po
  52. +3 −3 locale/gl/LC_MESSAGES/django.po
  53. +3 −3 locale/he/LC_MESSAGES/django.po
  54. +3 −3 locale/hi/LC_MESSAGES/django.po
  55. +4 −4 locale/hr/LC_MESSAGES/django.po
  56. +4 −4 locale/hu/LC_MESSAGES/django.po
  57. +3 −3 locale/id/LC_MESSAGES/django.po
  58. +3 −3 locale/is/LC_MESSAGES/django.po
  59. +6 −6 locale/it/LC_MESSAGES/django.po
  60. +3 −3 locale/ja/LC_MESSAGES/django.po
  61. +3 −3 locale/ka/LC_MESSAGES/django.po
  62. +3 −3 locale/km/LC_MESSAGES/django.po
  63. +3 −3 locale/kn/LC_MESSAGES/django.po
  64. +6 −6 locale/ko/LC_MESSAGES/django.po
  65. +3 −3 locale/lt/LC_MESSAGES/django.po
  66. +3 −3 locale/lv/LC_MESSAGES/django.po
  67. +3 −3 locale/mk/LC_MESSAGES/django.po
  68. +3 −3 locale/mn/LC_MESSAGES/django.po
  69. +3 −3 locale/nb/LC_MESSAGES/django.po
  70. +4 −4 locale/nl/LC_MESSAGES/django.po
  71. +3 −3 locale/nn/LC_MESSAGES/django.po
  72. +3 −3 locale/no/LC_MESSAGES/django.po
  73. +4 −4 locale/pl/LC_MESSAGES/django.po
  74. +3 −3 locale/pt/LC_MESSAGES/django.po
  75. +4 −4 locale/pt_BR/LC_MESSAGES/django.po
  76. +3 −3 locale/ro/LC_MESSAGES/django.po
  77. +4 −4 locale/ru/LC_MESSAGES/django.po
  78. +3 −3 locale/sk/LC_MESSAGES/django.po
  79. +3 −3 locale/sl/LC_MESSAGES/django.po
  80. +3 −3 locale/sq/LC_MESSAGES/django.po
  81. +3 −3 locale/sr/LC_MESSAGES/django.po
  82. +3 −3 locale/sr_Latn/LC_MESSAGES/django.po
  83. +3 −3 locale/sv/LC_MESSAGES/django.po
  84. +3 −3 locale/ta/LC_MESSAGES/django.po
  85. +3 −3 locale/te/LC_MESSAGES/django.po
  86. +3 −3 locale/th/LC_MESSAGES/django.po
  87. +3 −3 locale/tr/LC_MESSAGES/django.po
  88. +3 −3 locale/uk/LC_MESSAGES/django.po
  89. +3 −3 locale/vi/LC_MESSAGES/django.po
  90. +3 −3 locale/zh_CN/LC_MESSAGES/django.po
  91. +5 −5 locale/zh_TW/LC_MESSAGES/django.po
  92. +7 −7 matt-merge.diff
  93. +3 −3 media/css/classes.css
  94. +1 −1  media/css/forms.css
  95. +1 −1  media/css/global.css
  96. +2 −2 media/css/ie8.css
  97. +6 −6 media/css/layout.css
  98. +3 −3 media/css/moderation.css
  99. 0  media/css/{mirosubs-mainsite.css → unisubs-mainsite.css}
  100. +415 −415 media/css/{mirosubs-widget.css → unisubs-widget.css}
  101. +4 −4 media/js/clippy.js
  102. +14 −14 media/js/closingwindow.js
  103. +18 −18 media/js/finishfaildialog/copydialog.js
  104. +14 −14 media/js/finishfaildialog/dialog.js
  105. +10 −10 media/js/finishfaildialog/errorpanel.js
  106. +13 −13 media/js/finishfaildialog/reattemptuploadpanel.js
  107. +13 −13 media/js/flash.js
  108. +10 −10 media/js/loadingdom.js
  109. +8 −8 media/js/messaging/simplemessage.js
  110. +0 −460 media/js/mirosubs.js
  111. +16 −16 media/js/moderation/confirmrejectiondialog.js
  112. +14 −14 media/js/moderation/simplewarning.js
  113. +40 −40 media/js/requestdialog.js
  114. +28 −28 media/js/rpc.js
  115. +64 −64 media/js/sliderbase.js
  116. +31 −31 media/js/spinner.js
  117. +9 −9 media/js/srtwriter.js
  118. +38 −38 media/js/startdialog/dialog.js
  119. +19 −19 media/js/startdialog/model.js
  120. +6 −6 media/js/startdialog/tolanguage.js
  121. +24 −24 media/js/startdialog/tolanguages.js
  122. +13 −13 media/js/startdialog/videolanguage.js
  123. +11 −11 media/js/startdialog/videolanguages.js
  124. +14 −14 media/js/statwidget/statwidget.js
  125. +34 −34 media/js/style.js
  126. +10 −10 media/js/subtracker.js
  127. +4 −4 media/js/testing/testing.js
  128. +9 −9 media/js/testing/timerstub.js
  129. +16 −16 media/js/tracker.js
  130. +16 −16 media/js/unitofwork.js
  131. +71 −71 media/js/video/abstractvideoplayer.js
  132. +6 −6 media/js/video/bliptvplaceholder.js
  133. +64 −64 media/js/video/brightcovevideoplayer.js
  134. +25 −25 media/js/video/brightcovevideosource.js
  135. +2 −2 media/js/video/bufferingff.js
  136. +28 −28 media/js/video/captionview.js
  137. +8 −8 media/js/video/controlledvideoplayer.js
  138. +50 −50 media/js/video/dailymotionvideoplayer.js
  139. +13 −13 media/js/video/dailymotionvideosource.js
  140. +19 −19 media/js/video/flashvideoplayer.js
  141. +49 −49 media/js/video/flvvideoplayer.js
  142. +12 −12 media/js/video/flvvideosource.js
  143. +54 −54 media/js/video/html5videoplayer.js
  144. +28 −28 media/js/video/html5videosource.js
  145. +48 −48 media/js/video/jwvideoplayer.js
  146. +15 −15 media/js/video/video.js
  147. +35 −35 media/js/video/videosource.js
  148. +9 −9 media/js/video/vimeoiframevideoplayer.js
  149. +43 −43 media/js/video/vimeovideoplayer.js
  150. +14 −14 media/js/video/vimeovideosource.js
  151. +29 −29 media/js/video/youtubebasemixin.js
  152. +46 −46 media/js/video/youtubevideoplayer.js
  153. +21 −21 media/js/video/youtubevideosource.js
  154. +29 −29 media/js/video/ytiframevideoplayer.js
  155. +10 −10 media/js/video/ytiframevideosource.js
  156. +72 −39 media/js/widget/api/api.js
  157. +10 −10 media/js/widget/api/servermodel.js
  158. +6 −6 media/js/widget/basestate.js
  159. +25 −25 media/js/widget/captionmanager.js
  160. +14 −14 media/js/widget/controls/bufferedbar.js
  161. +15 −15 media/js/widget/controls/playpause.js
  162. +20 −20 media/js/widget/controls/progressbar.js
  163. +13 −13 media/js/widget/controls/progressslider.js
  164. +12 −12 media/js/widget/controls/timespan.js
  165. +10 −10 media/js/widget/controls/videocontrols.js
  166. +16 −16 media/js/widget/controls/volumecontrol.js
  167. +14 −14 media/js/widget/controls/volumeslider.js
  168. +11 −11 media/js/widget/crossdomainembed.js
  169. +66 −66 media/js/widget/dialog.js
  170. +76 −76 media/js/widget/dropdown.js
  171. +4 −4 media/js/widget/dropdowncontents.js
  172. +29 −29 media/js/widget/droplockdialog.js
  173. +38 −38 media/js/widget/howtovideopanel.js
  174. +40 −40 media/js/widget/logindialog.js
  175. +6 −6 media/js/widget/opendialogargs.js
  176. +15 −15 media/js/widget/play/manager.js
  177. +29 −29 media/js/widget/playcontroller.js
  178. +17 −17 media/js/widget/resumeeditingrecord.js
  179. +65 −65 media/js/widget/rightpanel.js
  180. +8 −8 media/js/widget/samedomainembed.js
  181. +13 −13 media/js/widget/subtitle/addsubtitlewidget.js
  182. +23 −23 media/js/widget/subtitle/bottomfinishedpanel.js
  183. +13 −13 media/js/widget/subtitle/completeddialog.js
  184. +85 −85 media/js/widget/subtitle/dialog.js
  185. +82 −82 media/js/widget/subtitle/editablecaption.js
  186. +47 −47 media/js/widget/subtitle/editablecaptionset.js
  187. +7 −7 media/js/widget/subtitle/editpanel.js
  188. +7 −7 media/js/widget/subtitle/editrightpanel.js
  189. +10 −10 media/js/widget/subtitle/finishedpanel.js
  190. +13 −13 media/js/widget/subtitle/logger.js
  191. +44 −44 media/js/widget/subtitle/msservermodel.js
  192. +13 −13 media/js/widget/subtitle/onsaveddialog.js
  193. +8 −8 media/js/widget/subtitle/reviewpanel.js
  194. +9 −9 media/js/widget/subtitle/reviewrightpanel.js
  195. +24 −24 media/js/widget/subtitle/savedsubtitles.js
  196. +11 −11 media/js/widget/subtitle/servermodel.js
  197. +33 −33 media/js/widget/subtitle/sharepanel.js
  198. +38 −38 media/js/widget/subtitle/subtitlelist.js
  199. +46 −46 media/js/widget/subtitle/subtitlewidget.js
  200. +39 −39 media/js/widget/subtitle/syncpanel.js
  201. +40 −40 media/js/widget/subtitle/transcribeentry.js
  202. +41 −41 media/js/widget/subtitle/transcribepanel.js
  203. +27 −27 media/js/widget/subtitle/transcriberightpanel.js
  204. +16 −16 media/js/widget/subtitlecontroller.js
  205. +38 −38 media/js/widget/subtitledialogopener.js
  206. +9 −9 media/js/widget/subtitlestate.js
  207. +3 −3 media/js/widget/testing/events.js
  208. +12 −12 media/js/widget/testing/stubvideoplayer.js
  209. +9 −9 media/js/widget/timeline/subpanel.js
  210. +32 −32 media/js/widget/timeline/subtitle.js
  211. +37 −37 media/js/widget/timeline/subtitleset.js
  212. +29 −29 media/js/widget/timeline/timeline.js
  213. +21 −21 media/js/widget/timeline/timelineinner.js
  214. +41 −41 media/js/widget/timeline/timelinesub.js
  215. +13 −13 media/js/widget/timeline/timelinesubs.js
  216. +17 −17 media/js/widget/timeline/timerow.js
  217. +27 −27 media/js/widget/timeline/timerowul.js
  218. +32 −32 media/js/widget/translate/dialog.js
  219. +12 −12 media/js/widget/translate/forkdialog.js
  220. +31 −31 media/js/widget/translate/googletranslator.js
  221. +17 −17 media/js/widget/translate/titletranslationwidget.js
  222. +14 −14 media/js/widget/translate/translationlist.js
  223. +11 −11 media/js/widget/translate/translationpanel.js
  224. +19 −19 media/js/widget/translate/translationrightpanel.js
  225. +24 −24 media/js/widget/translate/translationwidget.js
  226. +14 −14 media/js/widget/unsavedwarning.js
  227. +7 −7 media/js/widget/usersettings.js
  228. +36 −36 media/js/widget/videotab.js
  229. +116 −85 media/js/widget/widget.js
  230. +23 −23 media/js/widget/widgetcontroller.js
  231. +47 −36 media/js/widget/widgetdecorator.js
  232. +2 −2 media/js/widgetizer/dowidgetize.js
  233. +28 −28 media/js/widgetizer/extension.js
  234. +11 −11 media/js/widgetizer/html5.js
  235. +15 −15 media/js/widgetizer/jwplayer.js
  236. +11 −11 media/js/widgetizer/videoplayermaker.js
  237. +8 −8 media/js/widgetizer/vimeo.js
  238. +22 −22 media/js/widgetizer/widgetizer.js
  239. +27 −27 media/js/widgetizer/youtube.js
  240. +13 −13 media/js/widgetizer/youtubeiframe.js
  241. +20 −20 settings.py
  242. +9 −9 templates/_share_widget.html
  243. +11 −11 templates/_sharing_widget.html
  244. +1 −1  templates/_testing_widget.html
  245. +1 −1  templates/about.html
  246. +4 −4 templates/alpha-test01-mp4.htm
  247. +4 −4 templates/alpha-test01-ogg.htm
  248. +1 −1  templates/base_masterbranch.html
  249. +4 −4 templates/bug.html
  250. +4 −4 templates/demo.html
  251. +1 −1  templates/embed_page.html
  252. +2 −2 templates/faq.html
  253. +3 −3 templates/index.html
  254. +1 −1  templates/index_new.html
  255. +5 −5 templates/index_old.html
  256. +3 −3 templates/jsdemo/autopause.html
  257. +1 −1  templates/jsdemo/base_demo.html
  258. +1 −1  templates/jsdemo/bookmarklet.html
  259. +2 −2 templates/jsdemo/closingwindow.html
  260. +1 −1  templates/jsdemo/completeddialog.html
  261. +1 −1  templates/jsdemo/dailymotiondemo2.html
  262. +1 −1  templates/jsdemo/droplockdialog.html
  263. +1 −1  templates/jsdemo/extension.html
  264. +4 −4 templates/jsdemo/finishfailerror.html
  265. +2 −2 templates/jsdemo/home.html
  266. +2 −2 templates/jsdemo/html5video.html
  267. +1 −1  templates/jsdemo/jsonstoragedemo.html
  268. +4 −4 templates/jsdemo/jwdecoratedemo.html
  269. +7 −7 templates/jsdemo/timerow.html
  270. +4 −4 templates/jsdemo/video.html
  271. +2 −2 templates/jsdemo/videocontrols.html
  272. +46 −46 templates/jsdemo/widget_choose.html
  273. +38 −38 templates/jsdemo/widget_finished.html
  274. +22 −22 templates/jsdemo/widget_how_to.html
Sorry, we could not display the entire diff because too many files (329) changed.
View
5 .gitignore
@@ -19,10 +19,15 @@ media/js/mirosubs-widgetizer*.js
media/js/mirosubs-extension.js
media/js/mirosubs-statwidget.js
media/js/mirosubs-api*.js
+media/js/unisubs-widgetizer*.js
+media/js/unisubs-extension.js
+media/js/unisubs-statwidget.js
+media/js/unisubs-api*.js
media/js/js-base-dependencies.js
media/js/js-moderation-dashboard.js
media/js/js-onsite-dialog.js
media/js/js-testing-base.js
+media/js/unisubs.js
media/static-cache/
media/teams/*
media/videos/*
View
30 README
@@ -1,15 +1,15 @@
This repository is the code for the universal subtitles project
(http://universalsubtitles.org)
-The full documentation can be found at http://universal-subtitles.readthedocs.org/
+The full documentation can be found at http://dev.universalsubtitles.org/site-docs/
To run the development version:
1. Git clone the repository:
- git clone git://github.com/8planes/mirosubs.git mirosubs
+ git clone git://github.com/8planes/pculture//unisubs.git unisubs
- Now the entire project will be in the mirosubs directory.
+ Now the entire project will be in the unisubs directory.
2. Install virtualenv http://pypi.python.org/pypi/virtualenv
@@ -18,21 +18,21 @@ To run the development version:
4. Create a virtual environment and activate it. Here is how to do it
*without* the virtualenv wrapper. Run these commands from the parent
- of the mirosubs directory created in #1:
+ of the unisubs directory created in #1:
- $ virtualenv mirosubs-env
- $ source mirosubs-env/bin/activate
+ $ virtualenv unisubs-env
+ $ source unisubs-env/bin/activate
If you're using the virtualenv wrapper (run from any directory):
- $ mkvirtualenv mirosubs
- $ workon mirosubs
+ $ mkvirtualenv unisubs
+ $ workon unisubs
5. run:
$ easy_install -U setuptools
$ easy_install pip
$ cd deploy
- # this is the mirosubs directory you cloned from git, not the parent you created the virtualenv in.
+ # this is the unisubs directory you cloned from git, not the parent you created the virtualenv in.
$ pip install -r requirements.txt
note: you'll need mercurial installed to make this last command work.
note2: If you do not have the MySQL bindings installed (MySQLdb) and wish to keep it that way, unisubs runs just fine on sqlite, just comment out the line "MySQL_python>=1.2.2" on deploy/requirements.txt before running this command.
@@ -41,15 +41,15 @@ To run the development version:
6. Check out google closure into directory of your choice: svn checkout
http://closure-library.googlecode.com/svn/trunk/ <directory>. Then
symlink media/js/closure-library to the checkout location. From the
- mirosubs directory in step 1:
+ unisubs directory in step 1:
$ cd media/js
$ ln -s <google closure checkout directory> closure-library
-7. Add mirosubs.example.com to your hosts file, pointing at 127.0.0.1.
+7. Add unisubs.example.com to your hosts file, pointing at 127.0.0.1.
This is necessary for Twitter oauth to work correctly.
-8. From the mirosubs directory created in step 1, first create the
+8. From the unisubs directory created in step 1, first create the
database with
python manage.py syncdb --all
@@ -62,7 +62,7 @@ To run the development version:
./dev-runserver.sh
- You can access the site at http://mirosubs.example.com:8000.
+ You can access the site at http://unisubs.example.com:8000.
9. (optional) If you want to run video searches locally, you need to set up solr:
A. Download solr and unzip to ../buildout/parts/solr (relative to this directory).
@@ -72,6 +72,6 @@ To run the development version:
list of haystack commands at
http://docs.haystacksearch.org/dev/management_commands.html
* If you want to install SOLR as a daemon on your Mac, please see
- https://github.com/8planes/mirosubs/wiki/Running-SOLR-as-a-daemon-on-Mac
+ https://github.com/8planes/pculture//unisubs/wiki/Running-SOLR-as-a-daemon-on-Mac
* For the setup relating linux distributions see
- https://github.com/8planes/mirosubs/wiki/Setting-up-solr-on-linux
+ https://github.com/8planes/pculture//unisubs/wiki/Setting-up-solr-on-linux
View
2  README.transifex
@@ -4,7 +4,7 @@ Transifex.net Token Verification
The list of tokens bellow guarantee the respective users to be able to enable
submission on components using the following repository url:
-git@github.com:8planes/mirosubs.git
+git@github.com:8planes/unisubs.git
Tokens:
View
2  apps/api/1_0/handlers.py
@@ -208,7 +208,7 @@ def update(self, request):
<b>format</b>: format of subtitles(srt, ass, ssa, ttml, sbv)
<b>subtitles</b>: subtitles(max size 256kB. Can be less, not tested with big content)
- <em>curl -i -X PUT "http://mirosubs.example.com:8000/api/1.0/subtitles/languages/update/?username=xxx&password=xxx" -d "language_id=24980" -d 'format=srt' -d 'subtitles=1%0A00:00:01,46 --> 00:00:03,05%0Atestme -some'</em>
+ <em>curl -i -X PUT "http://unisubs.example.com:8000/api/1.0/subtitles/languages/update/?username=xxx&password=xxx" -d "language_id=24980" -d 'format=srt' -d 'subtitles=1%0A00:00:01,46 --> 00:00:03,05%0Atestme -some'</em>
"""
ds = request.REQUEST
View
2  apps/pagedemo/views.py
@@ -83,7 +83,7 @@ def pagedemo(request, file_name):
if bool(file_name) is False:
return pagedemo(request, "index")
context = widget.add_config_based_js_files(
- {}, settings.JS_WIDGETIZER, 'mirosubs-widgetizer.js')
+ {}, settings.JS_WIDGETIZER, 'unisubs-widgetizer.js')
context['COMPRESS_MEDIA'] = settings.COMPRESS_MEDIA
context['embed_js_url'] = \
"http://{0}/embed{1}.js".format(
View
60 apps/unisubs_compressor/management/commands/compile_media.py
@@ -37,7 +37,7 @@ def _make_version_debug_string():
We have this as an external function because we need this on compilation and testing deployment
"""
- return '/*mirosubs.static_version="%s"*/' % LAST_COMMIT_GUID
+ return '/*unisubs.static_version="%s"*/' % LAST_COMMIT_GUID
@@ -52,6 +52,7 @@ def to_media_root(*paths):
FLOWPLAYER_JS = os.path.join(settings.PROJECT_ROOT, "media/flowplayer/flowplayer-3.2.2.min.js")
COMPILER_PATH = os.path.join(settings.PROJECT_ROOT, "closure", "compiler.jar")
+
DIRS_TO_COMPILE = []
SKIP_COPING_ON = DIRS_TO_COMPILE + [
"videos",
@@ -66,22 +67,22 @@ def to_media_root(*paths):
# "no-cache": True
# },
{
- "name": "js/mirosubs-widgetizer.js",
+ "name": "js/unisubs-widgetizer.js",
"no-cache": True
}, {
- "name": "js/mirosubs-widgetizer-debug.js",
+ "name": "js/unisubs-widgetizer-debug.js",
"no-cache": True,
}, {
- "name": "js/mirosubs-widgetizer-sumo.js",
+ "name": "js/unisubs-widgetizer-sumo.js",
"no-cache": True,
}, {
- "name": "js/mirosubs-api.js",
+ "name": "js/unisubs-api.js",
"no-cache": True
}, {
- "name": "js/mirosubs-extension.js",
+ "name": "js/unisubs-extension.js",
"no-cache": False,
}, {
- "name": "js/mirosubs-statwidget.js",
+ "name": "js/unisubs-statwidget.js",
"no-cache": False,
}, {
"name": "js/widgetizer/widgetizerprimer.js",
@@ -89,6 +90,20 @@ def to_media_root(*paths):
}
)
+#: as we've kept those URIs as public, we need to duplicate those files
+#: keeping the old mirosubs-js
+
+KEEP_BACKWARDS_MIROSUBS = (
+ ("js/unisubs-offsite-compiled.js", "js/mirosubs-offsite-compiled.js"),
+ ("js/unisubs-onsite-compiled.js", "js/mirosubs-onsite-compiled.js"),
+ ("js/unisubs-widgetizer.js", "js/mirosubs-widgetizer.js"),
+ ("js/unisubs-widgetizer-sumo.js", "js/mirosubs-widgetizer-sumo.js"),
+ ("js/unisubs-widgetizer-debug.js", "js/mirosubs-widgetizer-debug.js"),
+ ("js/unisubs-extension.js", "js/mirosubs-extension.js"),
+ ("js/unisubs-statwidget.js", "js/mirosubs-statwidget.js"),
+ ("js/unisubs-api.js", "js/mirosubs-api.js"),
+)
+
def call_command(command):
process = subprocess.Popen( command.split(' '),
stdout=subprocess.PIPE,
@@ -131,7 +146,7 @@ class Command(BaseCommand):
def _append_version_for_debug(self, descriptor, file_type):
"""
- We append the /*mirosubs.static_version="{{commit guid}"*/ to the end of the
+ We append the /*unisubs.static_version="{{commit guid}"*/ to the end of the
file so we can debug, be sure we have the correct version of media.
Arguments:
@@ -183,7 +198,7 @@ def compile_js_bundle(self, bundle_name, bundle_type, files):
logging.info("Starting {0}".format(output_file_name))
deps = [" --js %s " % os.path.join(JS_LIB, file) for file in files]
- calcdeps_js = os.path.join(JS_LIB, 'js', 'mirosubs-calcdeps.js')
+ calcdeps_js = os.path.join(JS_LIB, 'js', 'unisubs-calcdeps.js')
compiled_js = os.path.join(self.temp_dir, "js" , output_file_name)
if not os.path.exists(os.path.dirname(compiled_js)):
os.makedirs(os.path.dirname(compiled_js))
@@ -206,7 +221,7 @@ def compile_js_bundle(self, bundle_name, bundle_type, files):
output,_ = call_command(cmd_str)
# This is to reduce the number of warnings in the code.
- # The mirosubs-calcdeps.js file is a concatenation of a bunch of Google Closure
+ # The unisubs-calcdeps.js file is a concatenation of a bunch of Google Closure
# JavaScript files, each of which has a @fileoverview tag to describe it.
# When put all in one file, the compiler complains, so remove them all.
output_lines = filter(lambda s: s.find("@fileoverview") == -1,
@@ -305,7 +320,7 @@ def _output_embed_to_dir(self, output_dir, version=''):
context = widget.add_offsite_js_files(
{'current_site': Site.objects.get_current(),
'MEDIA_URL': get_cache_base_url() +"/",
- "js_file": get_cache_base_url() +"/js/mirosubs-offsite-compiled.js" })
+ "js_file": get_cache_base_url() +"/js/unisubs-offsite-compiled.js" })
rendered = render_to_string(
'widget/{0}'.format(file_name), context)
with open(os.path.join(output_dir, file_name), 'w') as f:
@@ -328,7 +343,7 @@ def _compile_conf_and_embed_js(self):
'widget/config.js', context)
with open(file_name, 'w') as f:
f.write(rendered)
-
+ logging.info("Compiled config to %s" % (file_name))
self._output_embed_to_dir(settings.MEDIA_ROOT)
self._output_embed_to_dir(
settings.MEDIA_ROOT, settings.EMBED_JS_VERSION)
@@ -355,6 +370,8 @@ def _remove_cache_dirs_before(self, num_to_keep):
in which case it will still need the previous build there
"""
base = os.path.dirname(get_cache_dir())
+ if not os.path.exists(os.path.join(os.getcwd(), "media/static-cache")):
+ return
targets = [os.path.join(base, x) for x
in sorted_ls("media/static-cache/")
if x.startswith(".") is False][:-num_to_keep]
@@ -378,6 +395,24 @@ def _copy_files_with_public_urls_from_cache_dir_to_media_dir(self):
os.remove(to_path)
shutil.copy(from_path, to_path)
+ def _copy_backwards_compability(self, from_dir):
+ """
+ In the old days, the project was called mirosubs, we therefore announced
+ public urls such as js/mirosubs-api.js . Since we've changed all of it to
+ be called unisubs, we broke those names.
+
+ We are duplicating those files (since s3 won't allow us to do redirects)
+ for a grace period until we get our partners to swtich to the new files.
+
+ For example, we should copy
+ js/unisubs-api.js -> js/mirosubs-api.js
+ """
+ for src,target in KEEP_BACKWARDS_MIROSUBS:
+ shutil.copy(
+ os.path.join(from_dir, src),
+ os.path.join(from_dir, target),
+ )
+
def handle(self, *args, **options):
"""
There are three directories involved here:
@@ -401,6 +436,7 @@ def handle(self, *args, **options):
self._copy_media_root_to_temp_dir()
self._compile_conf_and_embed_js()
self._compile_media_bundles(restrict_bundles, args)
+ self._copy_backwards_compability(self.temp_dir)
if not self.keeps_previous:
self._remove_cache_dirs_before(1)
View
2  apps/videos/models.py
@@ -602,7 +602,7 @@ def is_dependable(self):
return self.is_complete
def get_widget_url(self):
- # duplicates mirosubs.widget.SubtitleDialogOpener.prototype.openDialogOrRedirect_
+ # duplicates unisubs.widget.SubtitleDialogOpener.prototype.openDialogOrRedirect_
video = self.video
video_url = video.get_video_url()
config = {
View
2  apps/videos/tests.py
@@ -864,7 +864,7 @@ def test_email_friend(self):
#----------------------------------------
from videos.share_utils import _make_email_url
- msg = u'Hey-- just found a version of this video ("Tú - Jennifer Lopez") with captions: http://mirosubs.example.com:8000/en/videos/OcuMvG3LrypJ/'
+ msg = u'Hey-- just found a version of this video ("Tú - Jennifer Lopez") with captions: http://unisubs.example.com:8000/en/videos/OcuMvG3LrypJ/'
url = _make_email_url(msg)
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
View
2  apps/videos/views.py
@@ -143,7 +143,7 @@ def volunteer_category(request, category):
def bug(request):
from widget.rpc import add_general_settings
- context = widget.add_config_based_js_files({}, settings.JS_API, 'mirosubs-api.js')
+ context = widget.add_config_based_js_files({}, settings.JS_API, 'unisubs-api.js')
context['all_videos'] = Video.objects.count()
try:
context['video_url_obj'] = VideoUrl.objects.filter(type=VIDEO_TYPE_YOUTUBE)[:1].get()
View
6 apps/widget/__init__.py
@@ -25,7 +25,7 @@
LANGUAGES_MAP = dict(LANGUAGES)
def embed_context():
- return { 'js_file': (full_path('js/mirosubs-offsite-compiled.js')
+ return { 'js_file': (full_path('js/unisubs-offsite-compiled.js')
if settings.COMPRESS_MEDIA else
full_path(settings.JS_OFFSITE[-1])) }
@@ -36,13 +36,13 @@ def add_offsite_js_files(context):
""" Adds variables necessary for _js_dependencies.html """
return add_js_files(context, settings.COMPRESS_MEDIA,
settings.JS_OFFSITE,
- 'js/mirosubs-offsite-compiled.js')
+ 'js/unisubs-offsite-compiled.js')
def add_onsite_js_files(context):
""" Adds variables necessary for _js_onsite_dependencies.html """
return add_js_files(context, settings.COMPRESS_MEDIA,
settings.JS_ONSITE,
- 'js/mirosubs-onsite-compiled.js')
+ 'js/unisubs-onsite-compiled.js')
def add_config_based_js_files(context, files, compiled_file_name):
js_files = []
View
8 apps/widget/views.py
@@ -65,7 +65,7 @@ def widget_public_demo(request):
def onsite_widget(request):
"""Used for subtitle dialog"""
context = widget.add_config_based_js_files(
- {}, settings.JS_API, 'mirosubs-api.js')
+ {}, settings.JS_API, 'unisubs-api.js')
config = request.GET.get('config', '{}')
try:
@@ -120,7 +120,7 @@ def widget_demo(request):
def video_demo(request, template):
context = widget.add_config_based_js_files(
- {}, settings.JS_WIDGETIZER, 'mirosubs-widgetizer.js')
+ {}, settings.JS_WIDGETIZER, 'unisubs-widgetizer.js')
context['embed_js_url'] = \
"http://{0}/embed{1}.js".format(
Site.objects.get_current().domain,
@@ -133,7 +133,7 @@ def video_demo(request, template):
def widgetize_demo(request, page_name):
context = widget.add_config_based_js_files(
- {}, settings.JS_WIDGETIZER, 'mirosubs-widgetizer.js')
+ {}, settings.JS_WIDGETIZER, 'unisubs-widgetizer.js')
return render_to_response('widget/widgetize_demo/{0}.html'.format(page_name),
context,
context_instance=RequestContext(request))
@@ -145,7 +145,7 @@ def statwidget_demo(request):
settings.MEDIA_URL))
context = widget.add_js_files({}, settings.COMPRESS_MEDIA,
settings.JS_OFFSITE,
- 'mirosubs-statwidget.js',
+ 'unisubs-statwidget.js',
full_path_js_files=js_files)
return render_to_response('widget/statwidget_demo.html',
context,
View
20 closure/compile.py
@@ -28,7 +28,7 @@ def compile(output_file_name, js_file_list,
logging.info("Starting {0}".format(output_file_name))
deps = [" --js %s " % os.path.join(JS_LIB, file) for file in js_file_list]
- calcdeps_js = os.path.join(JS_LIB, 'mirosubs-calcdeps.js')
+ calcdeps_js = os.path.join(JS_LIB, 'unisubs-calcdeps.js')
compiled_js = os.path.join(JS_LIB, output_file_name)
compiler_jar = os.path.join(BASE, 'compiler.jar')
@@ -44,7 +44,7 @@ def compile(output_file_name, js_file_list,
js_debug_dep_file, CLOSURE_LIB))
# This is to reduce the number of warnings in the code.
- # The mirosubs-calcdeps.js file is a concatenation of a bunch of Google Closure
+ # The unisubs-calcdeps.js file is a concatenation of a bunch of Google Closure
# JavaScript files, each of which has a @fileoverview tag to describe it.
# When put all in one file, the compiler complains, so remove them all.
output_lines = filter(lambda s: s.find("@fileoverview") == -1,
@@ -88,33 +88,33 @@ def compile(output_file_name, js_file_list,
logging.info("Successfully compiled {0}".format(output_file_name))
-compile('mirosubs-offsite-compiled.js', settings.JS_OFFSITE)
-compile('mirosubs-onsite-compiled.js', settings.JS_ONSITE)
+compile('unisubs-offsite-compiled.js', settings.JS_OFFSITE)
+compile('unisubs-onsite-compiled.js', settings.JS_ONSITE)
# assumes that some other process has generated config.js
widgetizer_js_files = ['config.js']
widgetizer_js_files.extend(settings.JS_WIDGETIZER)
-compile('mirosubs-widgetizer.js', widgetizer_js_files)
-compile('mirosubs-widgetizer-debug.js', widgetizer_js_files,
+compile('unisubs-widgetizer.js', widgetizer_js_files)
+compile('unisubs-widgetizer-debug.js', widgetizer_js_files,
debug=True)
# assumes that some other process has generated config.js
extension_js_files = ['config.js']
extension_js_files.extend(settings.JS_EXTENSION)
-compile('mirosubs-extension.js', extension_js_files)
+compile('unisubs-extension.js', extension_js_files)
statwidget_js_files = [
- 'mirosubs.js',
+ 'unisubs.js',
'rpc.js',
'loadingdom.js',
'statwidget/statwidgetconfig.js',
'statwidget/statwidget.js']
# assumes that some other process has generated statwidget/statwidgetconfig.js
-compile('mirosubs-statwidget.js', statwidget_js_files,
+compile('unisubs-statwidget.js', statwidget_js_files,
closure_dep_file='closure-stat-dependencies.js',
include_flash_deps=False)
# assumes that some other process has generated config.js
api_js_files = ['config.js']
api_js_files.extend(settings.JS_API)
-compile('mirosubs-api.js', api_js_files)
+compile('unisubs-api.js', api_js_files)
View
10 closure/compilelite.py
@@ -16,7 +16,7 @@
CLOSURE_LIB = os.path.join(JS_LIB, "closure-library")
FLOWPLAYER_JS = os.path.join(BASE, "../media/flowplayer/flowplayer-3.2.2.min.js")
-calcdeps_js = os.path.join(JS_LIB, 'mirosubs-calcdeps.js')
+calcdeps_js = os.path.join(JS_LIB, 'unisubs-calcdeps.js')
def call_command(command):
process = subprocess.Popen(command.split(' '),
@@ -48,21 +48,21 @@ def compile(output_file_name, js_file_list):
compiled_js_file.write(dep_file.read())
compiled_js_file.write('})();');
-# compile('mirosubs-offsite-compiled.js', settings.JS_OFFSITE)
-# compile('mirosubs-onsite-compiled.js', settings.JS_ONSITE)
+# compile('unisubs-offsite-compiled.js', settings.JS_OFFSITE)
+# compile('unisubs-onsite-compiled.js', settings.JS_ONSITE)
# widgetizer_js_files = list(settings.JS_OFFSITE)
# assumes that some other process has generated widgetizer/widgetizerconfig.js
# widgetizer_js_files.append('widgetizer/widgetizerconfig.js')
# widgetizer_js_files.append('widgetizer/widgetizer.js')
# widgetizer_js_files.append('widgetizer/dowidgetize.js')
-compile('mirosubs-widgetizer.js', [])
+compile('unisubs-widgetizer.js', [])
# extension_js_files = list(settings.JS_OFFSITE)
# assumes that some other process has generated widgetizer/widgetizerconfig.js
# extension_js_files.append('widgetizer/widgetizerconfig.js')
# extension_js_files.append('widgetizer/widgetizer.js')
# extension_js_files.append('widgetizer/extension.js')
-# compile('mirosubs-extension.js', extension_js_files)
+# compile('unisubs-extension.js', extension_js_files)
logging.info("Success")
View
8 deploy/celery/config/example
@@ -1,6 +1,6 @@
# Where the Django project is.
# PROJECT_ROOT is where settings.py exists
-CELERYD_CHDIR="/var/www/universalsubtitles.dev/mirosubs/"
+CELERYD_CHDIR="/var/www/universalsubtitles.dev/unisubs/"
# path to virtual enviroment
VIRTUALENV="/var/www/universalsubtitles.dev/env/"
@@ -8,9 +8,9 @@ VIRTUALENV="/var/www/universalsubtitles.dev/env/"
# Name of the projects settings module.
export DJANGO_SETTINGS_MODULE="settings"
-CELERYD="/var/www/universalsubtitles.dev/env/bin/python /var/www/universalsubtitles.dev/mirosubs/manage.py"
-CELERYEV="/var/www/universalsubtitles.dev/env/bin/python /var/www/universalsubtitles.dev/mirosubs/manage.py"
-CELERYBEAT="/var/www/universalsubtitles.dev/env/bin/python /var/www/universalsubtitles.dev/mirosubs/manage.py"
+CELERYD="/var/www/universalsubtitles.dev/env/bin/python /var/www/universalsubtitles.dev/unisubs/manage.py"
+CELERYEV="/var/www/universalsubtitles.dev/env/bin/python /var/www/universalsubtitles.dev/unisubs/manage.py"
+CELERYBEAT="/var/www/universalsubtitles.dev/env/bin/python /var/www/universalsubtitles.dev/unisubs/manage.py"
#celeryd options
CELERYD_OPTS="celeryd -E -B --concurrency=10 -n worker1.dev --settings=unisubs_settings"
View
52 deploy/fabfile.py
@@ -101,7 +101,7 @@ def unisubs(username):
def syncdb():
env.host_string = DEV_HOST
- with cd(os.path.join(env.static_dir, 'mirosubs')):
+ with cd(os.path.join(env.static_dir, 'unisubs')):
_git_pull()
run('{0}/env/bin/python manage.py syncdb '
'--settings=unisubs_settings'.format(env.static_dir))
@@ -112,7 +112,7 @@ def syncdb():
def migrate(app_name=''):
env.host_string = DEV_HOST
- with cd(os.path.join(env.static_dir, 'mirosubs')):
+ with cd(os.path.join(env.static_dir, 'unisubs')):
_git_pull()
if env.separate_uslogging_db:
run('{0}/env/bin/python manage.py migrate sentry '
@@ -126,7 +126,7 @@ def migrate(app_name=''):
def run_command(command):
env.host_string = DEV_HOST
- with cd(os.path.join(env.static_dir, 'mirosubs')):
+ with cd(os.path.join(env.static_dir, 'unisubs')):
_git_pull()
run('{0}/env/bin/python manage.py {1} '
'--settings=unisubs_settings'.format(env.static_dir, command))
@@ -139,7 +139,7 @@ def migrate_fake(app_name):
in a subsequent version, but now we're stuck with this solution.
"""
env.host_string = DEV_HOST
- with cd(os.path.join(env.static_dir, 'mirosubs')):
+ with cd(os.path.join(env.static_dir, 'unisubs')):
run('yes no | {0}/env/bin/python manage.py migrate {1} 0001 --fake --settings=unisubs_settings'.format(env.static_dir, app_name))
def refresh_db():
@@ -154,7 +154,7 @@ def update_closure():
pass
def _switch_branch(dir, branch_name):
- with cd(os.path.join(dir, 'mirosubs')):
+ with cd(os.path.join(dir, 'unisubs')):
_git_pull()
run('git fetch')
# the following command will harmlessly fail if branch already exists.
@@ -178,14 +178,14 @@ def switch_branch(branch_name):
_execute_on_all_hosts(lambda dir: _switch_branch(dir, branch_name))
def _remove_pip_package(base_dir, package_name):
- with cd(os.path.join(base_dir, 'mirosubs', 'deploy')):
+ with cd(os.path.join(base_dir, 'unisubs', 'deploy')):
run('yes y | {0}/env/bin/pip uninstall {1}'.format(base_dir, package_name), pty=True)
def remove_pip_package(package_egg_name):
_execute_on_all_hosts(lambda dir: _remove_pip_package(dir, package_egg_name))
def _update_environment(base_dir):
- with cd(os.path.join(base_dir, 'mirosubs', 'deploy')):
+ with cd(os.path.join(base_dir, 'unisubs', 'deploy')):
_git_pull()
run('export PIP_REQUIRE_VIRTUALENV=true')
# see http://lincolnloop.com/blog/2010/jul/1/automated-no-prompt-deployment-pip/
@@ -205,7 +205,7 @@ def clear_environment_permissions():
def clear_permissions():
for host in env.web_hosts:
env.host_string = host
- _clear_permissions('{0}/mirosubs'.format(env.web_dir))
+ _clear_permissions('{0}/unisubs'.format(env.web_dir))
def _git_pull():
run('git checkout --force')
@@ -221,19 +221,19 @@ def _reload_app_server():
and also that we make the server reload code (currently
with mod_wsgi this is touching the wsgi file)
"""
- with cd('{0}/mirosubs'.format(env.web_dir)):
+ with cd('{0}/unisubs'.format(env.web_dir)):
run('python deploy/create_commit_file.py')
run('touch deploy/unisubs.wsgi')
def add_disabled():
for host in env.web_hosts:
env.host_string = host
- run('touch {0}/mirosubs/disabled'.format(env.web_dir))
+ run('touch {0}/unisubs/disabled'.format(env.web_dir))
def remove_disabled():
for host in env.web_hosts:
env.host_string = host
- run('rm {0}/mirosubs/disabled'.format(env.web_dir))
+ run('rm {0}/unisubs/disabled'.format(env.web_dir))
def update_web():
"""
@@ -251,11 +251,11 @@ def update_web():
"""
if env.admin_dir is not None:
env.host_string = ADMIN_HOST
- with cd(os.path.join(env.admin_dir, 'mirosubs')):
+ with cd(os.path.join(env.admin_dir, 'unisubs')):
_git_pull()
for host in env.web_hosts:
env.host_string = host
- with cd('{0}/mirosubs'.format(env.web_dir)):
+ with cd('{0}/unisubs'.format(env.web_dir)):
python_exe = '{0}/env/bin/python'.format(env.web_dir)
_git_pull()
with settings(warn_only=True):
@@ -282,7 +282,7 @@ def update_solr_schema():
env.host_string = ADMIN_HOST
dir = env.admin_dir
python_exe = '{0}/env/bin/python'.format(env.admin_dir)
- with cd(os.path.join(dir, 'mirosubs')):
+ with cd(os.path.join(dir, 'unisubs')):
_git_pull()
run('{0} manage.py build_solr_schema --settings=unisubs_settings > /etc/solr/conf/{1}/conf/schema.xml'.format(
python_exe,
@@ -293,7 +293,7 @@ def update_solr_schema():
env.host_string = DEV_HOST
dir = env.web_dir
python_exe = '{0}/env/bin/python'.format(env.web_dir)
- with cd(os.path.join(dir, 'mirosubs')):
+ with cd(os.path.join(dir, 'unisubs')):
_git_pull()
run('{0} manage.py build_solr_schema --settings=unisubs_settings > /etc/solr/conf/main/conf/schema.xml'.format(python_exe))
run('{0} manage.py build_solr_schema --settings=unisubs_settings > /etc/solr/conf/testing/conf/schema.xml'.format(python_exe))
@@ -310,8 +310,8 @@ def _bounce_celeryd():
sudo(env.celeryd_bounce_cmd)
def _update_static(dir):
- with cd(os.path.join(dir, 'mirosubs')):
- media_dir = '{0}/mirosubs/media/'.format(dir)
+ with cd(os.path.join(dir, 'unisubs')):
+ media_dir = '{0}/unisubs/media/'.format(dir)
python_exe = '{0}/env/bin/python'.format(dir)
_git_pull()
_clear_permissions(media_dir)
@@ -320,9 +320,9 @@ def _update_static(dir):
def update_static():
env.host_string = DEV_HOST
if env.s3_bucket is not None:
- with cd(os.path.join(env.static_dir, 'mirosubs')):
+ with cd(os.path.join(env.static_dir, 'unisubs')):
_update_static(env.static_dir)
- media_dir = '{0}/mirosubs/media/'.format(env.static_dir)
+ media_dir = '{0}/unisubs/media/'.format(env.static_dir)
python_exe = '{0}/env/bin/python'.format(env.static_dir)
run('{0} manage.py send_to_s3 --settings=unisubs_settings'.format(python_exe))
else:
@@ -333,7 +333,7 @@ def update():
update_web()
def _promote_django_admins(dir, email=None, new_password=None, userlist_path=None):
- with cd(os.path.join(dir, 'mirosubs')):
+ with cd(os.path.join(dir, 'unisubs')):
python_exe = '{0}/env/bin/python'.format(dir)
args = ""
if email is not None:
@@ -381,7 +381,7 @@ def update_translations():
def test_celeryd():
print '=== TEST CELERYD SCHEDULLER ==='
env.host_string = env.celeryd_host
- output = run('ps aux | grep "%s/mirosubs/manage\.py.*celeryd.*-B" | grep -v grep' % env.celeryd_proj_root)
+ output = run('ps aux | grep "%s/unisubs/manage\.py.*celeryd.*-B" | grep -v grep' % env.celeryd_proj_root)
assert len(output.split('\n'))
def test_services():
@@ -390,7 +390,7 @@ def test_services():
print '=== TEST SERVICES ==='
for host in env.web_hosts:
env.host_string = host
- with cd(os.path.join(env.web_dir, 'mirosubs')):
+ with cd(os.path.join(env.web_dir, 'unisubs')):
run('{0}/env/bin/python manage.py test_services --settings=unisubs_settings'.format(
env.web_dir))
@@ -403,7 +403,7 @@ def test_memcached():
[alphanum[random.randint(0, len(alphanum)-1)]
for i in xrange(12)])
env.host_string = host
- with cd(os.path.join(env.web_dir, 'mirosubs')):
+ with cd(os.path.join(env.web_dir, 'unisubs')):
run('{0}/env/bin/python manage.py set_memcached {1} --settings=unisubs_settings'.format(
env.web_dir,
random_string))
@@ -411,7 +411,7 @@ def test_memcached():
for other_host in other_hosts:
env.host_string = host
output = ''
- with cd(os.path.join(env.web_dir, 'mirosubs')):
+ with cd(os.path.join(env.web_dir, 'unisubs')):
output = run('{0}/env/bin/python manage.py get_memcached --settings=unisubs_settings'.format(
env.web_dir))
if output.find(random_string) == -1:
@@ -420,8 +420,8 @@ def test_memcached():
def generate_docs():
env.host_string = DEV_HOST
- with cd(os.path.join(env.static_dir, 'mirosubs')):
- run('%s/env/bin/sphinx-build %s/mirosubs/docs/ %s/media/docs/' % (env.static_dir, env.static_dir, env.static_dir))
+ with cd(os.path.join(env.static_dir, 'unisubs')):
+ run('%s/env/bin/sphinx-build %s/unisubs/docs/ %s/media/docs/' % (env.static_dir, env.static_dir, env.static_dir))
try:
from local_env import *
View
29 deploy/mirosubs.apache2
@@ -1,29 +0,0 @@
-<VirtualHost *:80>
- ServerAdmin webmaster@pybrew.com
-
- ServerName mirosubs.pybrew.com
- ServerAlias mirosubs.pybrew.com mirosubsalpha.pybrew.com
-
- LogLevel warn
- ErrorLog /home/mirosubs/log/apache.error.log
- CustomLog /home/mirosubs/log/apache.custom.log combined
-
- WSGIDaemonProcess mirosubs user=mirosubs group=www-data threads=2
- WSGIProcessGroup mirosubs
-
- WSGIScriptAlias / /home/mirosubs/mirosubs/deploy/mirosubs.wsgi
-
- Alias /site_media /home/mirosubs/mirosubs/media/
- <Location "/site_media">
- SetHandler None
- Order allow,deny
- Allow from all
- </Location>
-
- Alias /media /home/mirosubs/env/lib/python2.6/site-packages/django/contrib/admin/media/
- <Location "/media">
- SetHandler None
- Order allow,deny
- Allow from all
- </Location>
-</VirtualHost>
View
30 deploy/mirosubsdev.apache2
@@ -1,30 +0,0 @@
-<VirtualHost *:80>
- ServerAdmin adam@8planes.com
-
- ServerName mirosubsdev.8planes.com
- ServerAlias mirosubsdev.8planes.com
- ServerAlias mswidgetdev.8planes.com
-
- LogLevel warn
- ErrorLog /home/mirosubsdev/log/apache.error.log
- CustomLog /home/mirosubsdev/log/apache.custom.log combined
-
- WSGIDaemonProcess mirosubsdev user=mirosubsdev group=www-data threads=2
- WSGIProcessGroup mirosubsdev
-
- WSGIScriptAlias / /home/mirosubsdev/mirosubs/deploy/mirosubsdev.wsgi
-
- Alias /site_media /home/mirosubsdev/mirosubs/media/
- <Location "/site_media">
- SetHandler None
- Order allow,deny
- Allow from all
- </Location>
-
- Alias /media /home/mirosubsdev/env/lib/python2.6/site-packages/django/contrib/admin/media/
- <Location "/media">
- SetHandler None
- Order allow,deny
- Allow from all
- </Location>
-</VirtualHost>
View
30 deploy/mirosubsstaging.apache2
@@ -1,30 +0,0 @@
-<VirtualHost *:80>
- ServerAdmin adam@8planes.com
-
- ServerName mirosubsstaging.8planes.com
- ServerAlias mirosubsstaging.8planes.com
- ServerAlias mswidgetstaging.8planes.com
-
- LogLevel warn
- ErrorLog /home/mirosubsstaging/log/apache.error.log
- CustomLog /home/mirosubsstaging/log/apache.custom.log combined
-
- WSGIDaemonProcess mirosubsstaging user=mirosubsstaging group=www-data threads=2
- WSGIProcessGroup mirosubsstaging
-
- WSGIScriptAlias / /home/mirosubsstaging/mirosubs/deploy/mirosubsstaging.wsgi
-
- Alias /site_media /home/mirosubsstaging/mirosubs/media/
- <Location "/site_media">
- SetHandler None
- Order allow,deny
- Allow from all
- </Location>
-
- Alias /media /home/mirosubsstaging/env/lib/python2.6/site-packages/django/contrib/admin/media/
- <Location "/media">
- SetHandler None
- Order allow,deny
- Allow from all
- </Location>
-</VirtualHost>
View
29 deploy/unisubs.apache
@@ -0,0 +1,29 @@
+<VirtualHost *:80>
+ ServerAdmin webmaster@pybrew.com
+
+ ServerName unisubs.pybrew.com
+ ServerAlias unisubs.pybrew.com unisubsalpha.pybrew.com
+
+ LogLevel warn
+ ErrorLog /home/unisubs/log/apache.error.log
+ CustomLog /home/unisubs/log/apache.custom.log combined
+
+ WSGIDaemonProcess unisubs user=unisubs group=www-data threads=2
+ WSGIProcessGroup unisubs
+
+ WSGIScriptAlias / /home/unisubs/unisubs/deploy/unisubs.wsgi
+
+ Alias /site_media /home/unisubs/unisubs/media/
+ <Location "/site_media">
+ SetHandler None
+ Order allow,deny
+ Allow from all
+ </Location>
+
+ Alias /media /home/unisubs/env/lib/python2.6/site-packages/django/contrib/admin/media/
+ <Location "/media">
+ SetHandler None
+ Order allow,deny
+ Allow from all
+ </Location>
+</VirtualHost>
View
4 deploy/unisubs.apache2.template
@@ -17,9 +17,9 @@
WSGIDaemonProcess unisubs-INSERT_SITE_NAME user=www-data group=pcf-web processes=8 threads=25 maximum-requests=10000
WSGIProcessGroup unisubs-INSERT_SITE_NAME
- WSGIScriptAlias / /var/www/INSERT_SITE_DIRECTORY/mirosubs/deploy/unisubs.wsgi
+ WSGIScriptAlias / /var/www/INSERT_SITE_DIRECTORY/unisubs/deploy/unisubs.wsgi
- Alias /site_media /var/www/INSERT_SITE_DIRECTORY/mirosubs/media/
+ Alias /site_media /var/www/INSERT_SITE_DIRECTORY/unisubs/media/
<Location "/site_media">
SetHandler None
Order allow,deny
View
16 deploy/mirosubs.nginx → deploy/unisubs.nginx
@@ -1,38 +1,38 @@
# make sure this filed is symlinked to /etc/nginx/sites-available/
# activate it by symlinking from sites-available to sites-enabled
-upstream mirosubs-backend {
+upstream unisubs-backend {
server 127.0.0.1:9998;
}
server {
listen 80;
- server_name mirosubs.pybrew.com;
- access_log /home/mirosubs/log/nginx.access.log;
- error_log /home/mirosubs/log/nginx.error.log notice;
+ server_name unisubs.pybrew.com;
+ access_log /home/unisubs/log/nginx.access.log;
+ error_log /home/unisubs/log/nginx.error.log notice;
location / {
# from:
# http://www.meppum.com/2009/jan/17/installing-django-ubuntu-intrepid/#Config_Nginx
- proxy_pass http://mirosubs-backend;
+ proxy_pass http://unisubs-backend;
include /etc/nginx/proxy.conf;
}
location = /favicon.ico {
- root /home/mirosubs/mirosubs/media;
+ root /home/unisubs/unisubs/media;
autoindex off;
expires 1d;
}
location /site_media {
rewrite ^/site_media/(.*)$ /$1 break;
- root /home/mirosubs/mirosubs/media;
+ root /home/unisubs/unisubs/media;
autoindex on;
expires 1d;
}
location /media {
rewrite ^/media/(.*)$ /$1 break;
- root /home/mirosubs/env/lib/python2.5/site-packages/django/contrib/admin/media;
+ root /home/unisubs/env/lib/python2.5/site-packages/django/contrib/admin/media;
autoindex on;
expires 1d;
}
View
12 deploy/unisubs.wsgi
@@ -12,9 +12,9 @@ prev_sys_path = list(sys.path)
site.addsitedir(rel('env/lib/python2.6/site-packages'))
sys.path.append(PROJECT_ROOT)
-sys.path.append(rel('mirosubs'))
-sys.path.append(rel('mirosubs', 'libs'))
-sys.path.append(rel('mirosubs', 'apps'))
+sys.path.append(rel('unisubs'))
+sys.path.append(rel('unisubs', 'libs'))
+sys.path.append(rel('unisubs', 'apps'))
sys.stdout = sys.stderr
@@ -24,12 +24,12 @@ for item in new_sys_path:
sys.path[:0] = new_sys_path
import django.core.handlers.wsgi
-os.environ['DJANGO_SETTINGS_MODULE'] = 'mirosubs.unisubs_settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'unisubs.unisubs_settings'
os.environ["CELERY_LOADER"] = "django"
application = django.core.handlers.wsgi.WSGIHandler()
handler = django.core.handlers.wsgi.WSGIHandler()
-disabled_file_path = rel('mirosubs', 'disabled')
+disabled_file_path = rel('unisubs', 'disabled')
def application(environ, start_response):
if os.path.exists(disabled_file_path):
@@ -40,7 +40,7 @@ def application(environ, start_response):
for lang in langs:
lang = lang.split(';')[0].split('-')[0].lower()
- off_tpl_path = rel('mirosubs', 'templates', 'off_template', '%s.html' % lang)
+ off_tpl_path = rel('unisubs', 'templates', 'off_template', '%s.html' % lang)
if os.path.exists(off_tpl_path):
break
View
30 deploy/unisubsdev.apache2
@@ -0,0 +1,30 @@
+<VirtualHost *:80>
+ ServerAdmin adam@8planes.com
+
+ ServerName unisubsdev.8planes.com
+ ServerAlias unisubsdev.8planes.com
+ ServerAlias mswidgetdev.8planes.com
+
+ LogLevel warn
+ ErrorLog /home/unisubsdev/log/apache.error.log
+ CustomLog /home/unisubsdev/log/apache.custom.log combined
+
+ WSGIDaemonProcess unisubsdev user=unisubsdev group=www-data threads=2
+ WSGIProcessGroup unisubsdev
+
+ WSGIScriptAlias / /home/unisubsdev/unisubs/deploy/unisubsdev.wsgi
+
+ Alias /site_media /home/unisubsdev/unisubs/media/
+ <Location "/site_media">
+ SetHandler None
+ Order allow,deny
+ Allow from all
+ </Location>
+
+ Alias /media /home/unisubsdev/env/lib/python2.6/site-packages/django/contrib/admin/media/
+ <Location "/media">
+ SetHandler None
+ Order allow,deny
+ Allow from all
+ </Location>
+</VirtualHost>
View
30 deploy/unisubsstaging.apache2
@@ -0,0 +1,30 @@
+<VirtualHost *:80>
+ ServerAdmin adam@8planes.com
+
+ ServerName unisubsstaging.8planes.com
+ ServerAlias unisubsstaging.8planes.com
+ ServerAlias mswidgetstaging.8planes.com
+
+ LogLevel warn
+ ErrorLog /home/unisubsstaging/log/apache.error.log
+ CustomLog /home/unisubsstaging/log/apache.custom.log combined
+
+ WSGIDaemonProcess unisubsstaging user=unisubsstaging group=www-data threads=2
+ WSGIProcessGroup unisubsstaging
+
+ WSGIScriptAlias / /home/unisubsstaging/unisubs/deploy/unisubsstaging.wsgi
+
+ Alias /site_media /home/unisubsstaging/unisubs/media/
+ <Location "/site_media">
+ SetHandler None
+ Order allow,deny
+ Allow from all
+ </Location>
+
+ Alias /media /home/unisubsstaging/env/lib/python2.6/site-packages/django/contrib/admin/media/
+ <Location "/media">
+ SetHandler None
+ Order allow,deny
+ Allow from all
+ </Location>
+</VirtualHost>
View
4 deploy/update_translations.sh
@@ -1,8 +1,8 @@
date && \
git pull && \
cd .. && \
-python manage.py makemessages -i deploy\* -i media\js\closure-library\* -i media/js/mirosubs-calcdeps.js.py -a && \
-python manage.py makemessages -d djangojs -i deploy\* -i media\js\closure-library\* -i media/js/mirosubs-calcdeps.js.py -a && \
+python manage.py makemessages -i deploy\* -i media\js\closure-library\* -i media/js/unisubs-calcdeps.js.py -a && \
+python manage.py makemessages -d djangojs -i deploy\* -i media\js\closure-library\* -i media/js/unisubs-calcdeps.js.py -a && \
echo "pushing to transifex" && \
tx push --source && \
echo "pulling from transiflex" && \
View
4 dev_settings.py
@@ -20,7 +20,7 @@
import logging
SITE_ID = 4
-SITE_NAME = 'mirosubs-dev'
+SITE_NAME = 'unisubs-dev'
JS_USE_COMPILED = True
@@ -29,7 +29,7 @@
TWITTER_CONSUMER_KEY = '6lHYqtxzQBD3lQ55Chi6Zg'
TWITTER_CONSUMER_SECRET = 'ApkJPIIbBKp3Wph0JBoAg2Nsk1Z5EG6PFTevNpd5Y00'
-MEDIA_URL = "http://mirosubs.example.com:8000/site_media/"
+MEDIA_URL = "http://unisubs.example.com:8000/site_media/"
# MIDDLEWARE_CLASSES += ('middleware.SqlPrintingMiddleware',)
View
28 docs/running-unisubs.rst
@@ -6,9 +6,9 @@ To run the development version:
1. Git clone the repository::
- git clone git://github.com/8planes/mirosubs.git mirosubs
+ git clone git://github.com/8planes/unisubs.git unisubs
- Now the entire project will be in the mirosubs directory.
+ Now the entire project will be in the unisubs directory.
2. Install virtualenv http://pypi.python.org/pypi/virtualenv
@@ -17,22 +17,22 @@ To run the development version:
4. Create a virtual environment and activate it. Here is how to do it
*without* the virtualenv wrapper. Run these commands from the parent
- of the mirosubs directory created in #1::
+ of the unisubs directory created in #1::
- $ virtualenv mirosubs-env
- $ source mirosubs-env/bin/activate
+ $ virtualenv unisubs-env
+ $ source unisubs-env/bin/activate
If you're using the virtualenv wrapper (run from any directory)::
- $ mkvirtualenv mirosubs
- $ workon mirosubs
+ $ mkvirtualenv unisubs
+ $ workon unisubs
5. run::
$ easy_install -U setuptools
$ easy_install pip
$ cd deploy
- # this is the mirosubs directory you cloned from git, not the parent you created the virtualenv in.
+ # this is the unisubs directory you cloned from git, not the parent you created the virtualenv in.
$ pip install -r requirements.txt
note: you'll need mercurial installed to make this last command work.
note2: If you do not have the MySQL bindings installed (MySQLdb) and wish to keep it that way, unisubs runs just fine on sqlite, just comment out the line "MySQL_python>=1.2.2" on deploy/requirements.txt before running this command.
@@ -41,15 +41,15 @@ To run the development version:
6. Check out google closure into directory of your choice: svn checkout
http://closure-library.googlecode.com/svn/trunk/ <directory>. Then
symlink media/js/closure-library to the checkout location. From the
- mirosubs directory in step 1::
+ unisubs directory in step 1::
$ cd media/js
$ ln -s <google closure checkout directory> closure-library
-7. Add mirosubs.example.com to your hosts file, pointing at 127.0.0.1.
+7. Add unisubs.example.com to your hosts file, pointing at 127.0.0.1.
This is necessary for Twitter oauth to work correctly.
-8. From the mirosubs directory created in step 1, first create the
+8. From the unisubs directory created in step 1, first create the
database with::
python manage.py syncdb
@@ -62,7 +62,7 @@ To run the development version:
./dev-runserver.sh
- You can access the site at http://mirosubs.example.com:8000.
+ You can access the site at http://unisubs.example.com:8000.
9. (optional) If you want to run video searches / watch page locally, you need to set up solr:
@@ -73,7 +73,7 @@ To run the development version:
list of haystack commands at
http://docs.haystacksearch.org/dev/management_commands.html
* If you want to install SOLR as a daemon on your Mac, please see
- https://github.com/8planes/mirosubs/wiki/Running-SOLR-as-a-daemon-on-Mac
+ https://github.com/8planes/unisubs/wiki/Running-SOLR-as-a-daemon-on-Mac
10. Celeryd:
@@ -87,7 +87,7 @@ To run the development version:
BROKER_HOST = "localhost"
BROKER_VHOST = "/"
- D. Cd in to the mirosubs directory and run ::
+ D. Cd in to the unisubs directory and run ::
python manage.py celeryd --loglevel=INFO --settings=dev_settings
View
8 docs/static-files.rst
@@ -30,7 +30,7 @@ Compilation / Minification
settings.py has a MEDIA_BUNDLES dictionary. Each key sets an id (a unique name for the bundle), with the following properties:
- `type`: Can be `css` or `js` for now
-- `files`: a sequence of files to be processed. Files will be processed in the order in which they're are defined on the bundle. They're path should be relative to the MEDIA_URL (i.e. mirosubs/media)
+- `files`: a sequence of files to be processed. Files will be processed in the order in which they're are defined on the bundle. They're path should be relative to the MEDIA_URL (i.e. unisubs/media)
- `closure_deps`: File (inside js) that holds the closure dependencies list.
- `debug`: If true will include the closure-debug-dependencies.js.
- `include_flash_deps`: boolean
@@ -66,7 +66,7 @@ When the --verbosity param is set to 2, `compile_media` will output the cmd_stri
Dir layout
===========================
Inside MEDIA_ROOT media will be compiled to `static-cache/[hash of latest git commit]/.
-i.e. MEDIA_ROOT/static-cache/21a1bbcc/js/mirosubs-onsite-compiled.js
+i.e. MEDIA_ROOT/static-cache/21a1bbcc/js/unisubs-onsite-compiled.js
In this way we use one unique identifier for each revision, in fact, we relly on the one the scm gives us, which has the added benefit of making it easier to troubleshoot revisions and if the links are correct.
@@ -84,7 +84,7 @@ Since the location of media is no longer static, the MEDIA_URL takes into consid
COMPRESS_YUI_BINARY
-------------------
-The path, relative to the mirosubs dir where the YUI compressor jar lives( "java -jar ./css-compression/yuicompressor-2.4.6.jar")
+The path, relative to the unisubs dir where the YUI compressor jar lives( "java -jar ./css-compression/yuicompressor-2.4.6.jar")
COMPRESS_MEDIA
--------------
@@ -112,7 +112,7 @@ Which is part of the update_static fabric command.
That command requires the USE_AMAZON set (needs correct values for secret, id and bucket), and it will:
- Move the entire content of MEDIA_ROOT/static-cache/[hash guid] . All of these will have far future expire headers.
-- Copy and create the files that are used externally (in offsite widgets), namely: ["js/mirosubs-widgetizer.js", "js/widgetizer/widgetizerprimer.js"] to MEDIA_ROOT/js/.... These do not have far future expire headers.
+- Copy and create the files that are used externally (in offsite widgets), namely: ["js/unisubs-widgetizer.js", "js/widgetizer/widgetizerprimer.js"] to MEDIA_ROOT/js/.... These do not have far future expire headers.
All files above 1kb will be served with gzip compression (smaller files tend to actually inflate ).
View
24 initial_data.yaml
@@ -1,44 +1,44 @@
- model: sites.site
pk: 1
fields:
- domain: mirosubs.com
- name: mirosubs
+ domain: unisubs.com
+ name: unisubs
- model: sites.site
pk: 2
fields:
- domain: mirosubs.pybrew.com
- name: mirosubs-staging
+ domain: unisubs.pybrew.com
+ name: unisubs-staging
- model: sites.site
pk: 3
fields:
domain: dev0.pybrew.com:8002
- name: mirosubs-rz
+ name: unisubs-rz
- model: sites.site
pk: 4
fields:
- domain: mirosubs.example.com:8000
- name: mirosubs-dev
+ domain: unisubs.example.com:8000
+ name: unisubs-dev
- model: sites.site
pk: 5
fields:
domain: 192.168.225.131:8002
- name: mirosubs-rz-local
+ name: unisubs-rz-local
- model: sites.site
pk: 6
fields:
- domain: mirosubsdev.8planes.com
- name: mirosubs-dev-8planes
+ domain: unisubsdev.8planes.com
+ name: unisubs-dev-8planes
- model: sites.site
pk: 7
fields:
- domain: mirosubsstaging.8planes.com
- name: mirosubs-staging-8planes
+ domain: unisubsstaging.8planes.com
+ name: unisubs-staging-8planes
- model: sites.site
pk: 8
View
8 locale/ar/LC_MESSAGES/django.po
@@ -1699,7 +1699,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -2516,7 +2516,7 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
@@ -2603,11 +2603,11 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
"رجاءً تفضل بذللك! إذا كنت مهتمًا بالبرمجة والتطوير فيرجى زيارة <a "
-"href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">مركز "
+"href=\"http://wiki.github.com/8planes/unisubs/dev-center\">مركز "
"المطورين</a>.\n"
#: templates/faq.html:117
View
6 locale/bg/LC_MESSAGES/django.po
@@ -1680,7 +1680,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -2466,7 +2466,7 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
@@ -2549,7 +2549,7 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
View
6 locale/bn/LC_MESSAGES/django.po
@@ -1680,7 +1680,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -2466,7 +2466,7 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
@@ -2549,7 +2549,7 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
View
8 locale/bs/LC_MESSAGES/django.po
@@ -1693,7 +1693,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -2485,7 +2485,7 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
@@ -2572,11 +2572,11 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
"Samo dajte! Ako ste zainterestovani u kodiranje i razvijanje, posjetite naš "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">razvojni "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">razvojni "
"centar</a>."
#: templates/faq.html:117
View
12 locale/ca/LC_MESSAGES/django.po
@@ -1759,7 +1759,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -1863,7 +1863,7 @@ msgstr ""
" per a iniciar-se!\n"
" </li>\n"
" <li>\n"
-" Si sou desenvolupadors, pegueu un colp d'ull al <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">centre de desenvolupament</a> \n"
+" Si sou desenvolupadors, pegueu un colp d'ull al <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">centre de desenvolupament</a> \n"
" i comenceu amb alguns tiquets 'menys significants' que es llisten allà.\n"
" </li>\n"
" <li>\n"
@@ -2766,14 +2766,14 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
"\n"
" <span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span>Universal Subtitles és una manera fàcil de que quelcom afegeixi subtítols, llegendes,\n"
"<span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span>o tradueixi qualssevol vídeo a la web. Es treballa de forma col·laborativa\n"
"<span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span>Un estil semblant a la Viquipèdia. El programari es gratuït i de codi obert i pot ser utilitzat i \n"
-"<span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span><a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">millorat per qualssevol</a>.\n"
+"<span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span><a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">millorat per qualssevol</a>.\n"
"<span class=\"whitespace other\" title=\"Tab\"></span><span class=\"whitespace other\" title=\"Tab\"></span>"
#: templates/faq.html:56
@@ -2890,11 +2890,11 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
"Sisplau, feu-ho! Si esteu interessats en la codificació i desenvolupament, "
-"visiteu el nostre <a href=\"http://wiki.github.com/8planes/mirosubs/dev-"
+"visiteu el nostre <a href=\"http://wiki.github.com/8planes/unisubs/dev-"
"center\">centre de desenvolupament</a>.\n"
#: templates/faq.html:117
View
12 locale/cs/LC_MESSAGES/django.po
@@ -1744,7 +1744,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -1849,7 +1849,7 @@ msgstr ""
" a začněte pročtením našeho <a href=\"http://develop.participatoryculture.org/index.php/UniversalSubtitlesQA\">testovacího návodu</a>!\n"
" </li>\n"
" <li>\n"
-" Pokud jste vývojář, podívejte se do <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">vývojářského centra</a> \n"
+" Pokud jste vývojář, podívejte se do <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">vývojářského centra</a> \n"
" a začněte s nějakými lístky ‚bite-sized‘, které jsou tam vypsány.\n"
" </li>\n"
" <li>\n"
@@ -2705,14 +2705,14 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
"\n"
" <span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span>Universal Subtitles jsou snadným způsobem, jak každý může přidat titulky \n"
"<span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span>či přeložit téměř jakékoli vide na webu. Fungují na základě spolupráce\n"
"<span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span>podobně jako Wikipedie. Software je zdarma a s otevřeným kódem a může být používán i \n"
-"<span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span><a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">vylepšován každým</a>.\n"
+"<span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span><a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">vylepšován každým</a>.\n"
"<span class=\"whitespace other\" title=\"Tab\">»</span><span class=\"whitespace other\" title=\"Tab\">»</span>"
#: templates/faq.html:56
@@ -2825,10 +2825,10 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
-"Ano, prosím! Máte-li zájem psát kód a vyvíjet, navštivte prosím naše <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">vývojářské centrum</a>.\n"
+"Ano, prosím! Máte-li zájem psát kód a vyvíjet, navštivte prosím naše <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">vývojářské centrum</a>.\n"
"\n"
#: templates/faq.html:117
View
8 locale/cy/LC_MESSAGES/django.po
@@ -1694,7 +1694,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -2488,7 +2488,7 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
@@ -2577,11 +2577,11 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
"Os gwelwch yn dda! Os oes gennych ddiddordeb mewn codio a datblygu, ewch i'n"
-" <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">canolfan "
+" <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">canolfan "
"ddatblygwyr</a> .\n"
#: templates/faq.html:117
View
6 locale/da/LC_MESSAGES/django.po
@@ -1680,7 +1680,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"
" <li>\n"
@@ -2466,7 +2466,7 @@ msgid ""
" \t\tUniversal Subtitles is an easy way for anyone to add subtitles, captions, \n"
"\t\t\tor translate nearly any video on the web. It works in a collaborative \n"
"\t\t\tWikipedia-like fashion. The software is free and open source and can be used and \n"
-"\t\t\t<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">improved by anyone</a>.\n"
+"\t\t\t<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">improved by anyone</a>.\n"
"\t\t"
msgstr ""
@@ -2549,7 +2549,7 @@ msgstr ""
#: templates/faq.html:112
msgid ""
"Please do! If you're interested in coding and development, please visit our "
-"<a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">developer "
+"<a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">developer "
"center</a>."
msgstr ""
View
8 locale/de/LC_MESSAGES/django.po
@@ -1711,7 +1711,7 @@ msgid ""
" to get started!\n"
" </li>\n"
" <li>\n"
-" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/mirosubs/dev-center\">development center</a> \n"
+" If you are a developer, check out the <a href=\"http://wiki.github.com/8planes/unisubs/dev-center\">development center</a> \n"
" and start with some 'bite-sized' tickets that are listed there.\n"
" </li>\n"