Skip to content
This repository
  • 717 commits
  • 186 files changed
  • 12 comments
  • 8 contributors
This comparison is big! We're only showing the most recent 250 commits
Dec 11, 2012
Craig Zheng cz Add jquery.cookie plugin 48b5676
Craig Zheng cz 1738: Add template filter and JS for handling Youtube prompt 137e450
Evan Hazlett ehazlett updated settings for amara domain ef5fb4a
Dec 12, 2012
Craig Zheng cz 1738: Finish setting up Youtube nudge (commented out for now) 893cdb7
Dec 13, 2012
Fernando Takai fernandotakai Should fix #1840 5078c8f
Fernando Takai fernandotakai Fixes #1818
Only disable the language from the "From:" field
of the initial dialog if there's no latest_version
or if the latest_version has 0 subtitles.
c95ecdf
Evan Hazlett ehazlett updated django requirement to 1.3.5 5afbf29
Evan Hazlett ehazlett Merge branch 'production' into staging 80092ad
Honza Pokorny honza Created vs imported in billing reports
Imported

- has note from youtube
- finished before team start date (when is that? team.created)
- is not English

Crowd created

- not imported
- English always counts toward this
- all other languages count up
6fc969a
Evan Hazlett ehazlett Merge branch 'staging' of github.com:pculture/unisubs into staging f04f538
Craig Zheng cz Simplified personal dashboard 144eae6
Evan Hazlett ehazlett updated disabled site to return 503 ; sifter #701 2233121
Dec 14, 2012
Craig Zheng cz 1794: TED filtering for non-members too 2bc6f57
Arthur Debert arthur-debert Allow users to change a video original URL, for #1844, https://unisub… 646158e
Craig Zheng cz 1844: Style "Set Video Language" page and hook up temporarily
for teams that need it
7a647f8
Dec 17, 2012
Honza Pokorny honza Langs completed before team.created are imported 6965a85
Arthur Debert arthur-debert Fixed link on change original language page d39a0d7
Arthur Debert arthur-debert Now, on changing a video original language, we always fork them, fixes e8d1cc6
Arthur Debert arthur-debert Fixed dfxp output when fraction part had only two digits, fixes N pro…
…blem with dfxp ingestion
a3d981d
Arthur Debert arthur-debert Merge branch 'production' into staging 9ac56a5
Craig Zheng cz 1844: Account for case differences in these slugs 8a8f6aa
Craig Zheng cz Merge branch 'staging' of github.com:pculture/unisubs into staging 665240a
Craig Zheng cz Couple of user nav fixes 8e55089
Craig Zheng cz 1850: Restore task video titles to personal dashboard 7f64642
Craig Zheng cz 1849: Make option to leave team more visible d392119
Craig Zheng cz Remove duplicate team name header if team has no logo 5427b9b
Craig Zheng cz 1849: Add a 'leave team' link to the team sidebar 4966bf6
Fernando Takai fernandotakai We don't need i18n here b85c16a
Fernando Takai fernandotakai Merge branch 'staging' of github.com:pculture/unisubs into staging f35ddae
Craig Zheng cz Port @nicksergeant's fix from 660813e to try to fix 1847 66d86d1
Craig Zheng cz Merge branch 'staging' of github.com:pculture/unisubs into staging 0b53161
Dec 18, 2012
Honza Pokorny honza Add better billing test 5d3faf2
Honza Pokorny honza Rewrite created/imported billing logic 6e5ee83
Fernando Takai fernandotakai Fixes #1855 25db633
Craig Zheng cz 1857: Provide membership info to all teams views f8d2137
Craig Zheng cz Merge branch 'staging' of github.com:pculture/unisubs into staging 93c5f48
Craig Zheng cz 1856: Clean up the split personal info/account forms 146e8f7
Arthur Debert arthur-debert Added test case that shows broken uploads for translated original lan…
…guages
bdf59dc
Fernando Takai fernandotakai Trying to fix the issue Maggie raised on #1844 eea1fb7
Honza Pokorny honza Fix billing logic (imported/created) 2526c32
Craig Zheng cz 1850: Use correct video title method on user dashboard 21d372b
Craig Zheng cz Merge branch 'staging' of github.com:pculture/unisubs into staging 8be4d5b
Craig Zheng cz 1850: Fix task display on user dashboard d1d38ba
Arthur Debert arthur-debert Made sure we update the video metadata after changing original langau…
…ge, else bad things will happen
6d24718
Arthur Debert arthur-debert Fixes display of language on set original language page, for i1844 7e0f0fe
Craig Zheng cz 1850: Use the correct method for video titles, attempt #2 4c03124
Craig Zheng cz 1859: Update enterprise/volunteer URLs; remove enterprise pages 9a8f09f
Craig Zheng cz 1859: Missed a couple of links f0074c6
Dec 21, 2012
Steve Losh sjl 1874: Handle blank language codes in the widget RPC
In the future these blank codes will be going away, but for now there are a few
hundred SubtitleLanguage's in our DB that have a language code of "".
Traditionally this meant "the original language of the video", so we'll just
make the name "Original" for now.

Done as part of Sentry Duty:
https://sentry.amara.org/amaraproduction/group/262/
f383b6e
Steve Losh sjl Trailing whitespace. 655e37d
Steve Losh sjl Fix bad whitespace. 2b13004
Steve Losh sjl 1875: Don't crash on notification to partners without settings
If a team belongs to a partner that doesn't have any notification settings, we
should just return instead of crashing and burning.

Done for Sentry Duty:
https://sentry.amara.org/amaraproduction/group/4137/
8f1ba5d
Craig Zheng cz 1738: Uncomment YT sync prompts for testing 00ba9fc
Dec 27, 2012
Evan Hazlett ehazlett updated SITE_ID for amara.org c8af598
Evan Hazlett ehazlett Merge branch 'production' into staging e7d757f
Dec 28, 2012
Arthur Debert arthur-debert Updated integration repo c0a3634
Arthur Debert arthur-debert Updated integration repo 8d1484a
Arthur Debert arthur-debert Merge branch 'production' into staging 88d8dfe
Craig Zheng cz 1738: Styling tweak ca27ac0
Craig Zheng cz Merge branch 'staging' into i-1738 2c19068
Craig Zheng cz 1889: Don't show task limits if team doesn't use tasks 1d2d6e0
Jan 02, 2013
Craig Zheng cz 1738: Fix logic for showing/hiding YT prompt for non-users 65d3378
Craig Zheng cz 1738: Set the cookie path, duh. fe60b4a
Arthur Debert arthur-debert 1898: Created test case for transcription tasks when the video's orig…
…inal language is set
3a6210c
Arthur Debert arthur-debert 1898: If the video's audio (original) language is set, auto created t…
…ranscribe tasks will be set on that language
bbb9d51
Jan 07, 2013
Craig Zheng cz Merge branch 'staging' of github.com:pculture/unisubs into i-1738 8f5c23a
Craig Zheng cz 1738: Copy changes; add optimizely code 47dbe9e
Jan 08, 2013
Honza Pokorny honza Log something useful when unilangs cant parse code 274d08e
Honza Pokorny honza 1916: Youtube team videos don't need credits 5304500
Honza Pokorny honza Revert "1916: Youtube team videos don't need credits"
This reverts commit 5304500.
d1fa307
Honza Pokorny honza 1916: Youtube team videos dont need credits take 2 a06600f
Evan Hazlett ehazlett added missing pytz requirement 2a418ee
Honza Pokorny honza 1916: Add credit functions should be safe
The add credit functions now determinte whether or not the credit should be
added.
8b8c06a
Craig Zheng cz Merge branch 'staging' of github.com:pculture/unisubs into i-1738 aa4fd63
Honza Pokorny honza 1916: Add script to remove broken YT descs. 7e9427a
Arthur Debert arthur-debert First draft of security page cfedbd4
Arthur Debert arthur-debert Merge branch 'production' of github.com:pculture/unisubs into production 9dc180d
Craig Zheng cz Second draft of security page b733e5d
Honza Pokorny honza Merge branch 'production' into staging bbcaf8e
Craig Zheng cz 1738: More copy changes a0ba64f
Jan 09, 2013
Honza Pokorny honza 1921: Create a VideoFeed when linking with Youtube 29d18d8
Evan Hazlett ehazlett i-1912: increase gauge_videos task interval to 60 seconds ac641c5
Honza Pokorny honza 1916: Resync subs to remove credit 8d04027
Evan Hazlett ehazlett updated domain for GA tracking 107011a
Evan Hazlett ehazlett Merge branch 'i-1912' into staging ee7e2b8
Jan 10, 2013
Arthur Debert arthur-debert Merge branch 'production' into staging 6c10817
Honza Pokorny honza 1916: Check for both unisubs and amara domains 09ab791
Honza Pokorny honza 1916: Don't die when a language has no versions cb734a0
Craig Zheng cz 1866: Restore 'send message' button to user profiles a9c885c
Honza Pokorny honza 1916: Add better logging (timestamp and flush) ad9d537
Honza Pokorny honza 1916: Catch more errors
* Private videos (VideoError)
* Unicode in descriptions
7de3fb1
Craig Zheng cz 1919: Update Facebook link in footer 4209268
Craig Zheng cz Merge branch 'staging' of github.com:pculture/unisubs into i-1738 ff9323f
Craig Zheng cz Merge branch 'staging' into i-1738 af231a1
Craig Zheng cz 1865: Remove view counts sitewide 4d1a472
Jan 11, 2013
Honza Pokorny honza 1916: Better exception handling e9f8590
Craig Zheng cz A few domain-related tweaks 13dd9e2
Honza Pokorny honza 1916: Implement cache file to keep track of videos 5fbaf69
Honza Pokorny honza 1916: Allow runnning for a single team only 8615aca
Honza Pokorny honza 1916: Update docstring 899925d
Honza Pokorny honza 1916: If video doesnt have desc, it's not an error a5a0f06
Honza Pokorny honza 1916: Wrap handle in try/finally, add sleep
Add 3s sleep after processing each video.  The try/finally is there so that
even when you Ctrl-C out of the process you still get the yt-cache file
populated with data.
06aa5d5
Jan 14, 2013
Honza Pokorny honza 1921: Remove VideoFeed when deleting YT account 28e7387
Arthur Debert arthur-debert Updated integration repo 0afefec
Arthur Debert arthur-debert Merge branch 'production' into staging d949402
Jan 15, 2013
Honza Pokorny honza 1921: Should add credit now also takes a video 77d8b20
Honza Pokorny honza 1921: When a new YT video is added, add credit 031bffb
Honza Pokorny honza 1921: Use short link in YT descriptions 7a2c282
Honza Pokorny honza Merge branch 'staging' into i-1921 b9bf754
Arthur Debert arthur-debert 1946: Updated integration repo 55ba566
Arthur Debert arthur-debert Merge branch 'production' into staging 30f08bd
Arthur Debert arthur-debert 1946: Updated integration repo fb949fb
Honza Pokorny honza 1921: Dont sync unmodified imported versions to YT b37ae88
Arthur Debert arthur-debert 1946: Updated integration repo 8754abf
Arthur Debert arthur-debert 1946: Updated integration repo 6dda036
Craig Zheng cz Merge remote-tracking branch 'origin/i-1921' into staging 97e2845
Craig Zheng cz Merge remote-tracking branch 'origin/i-1738' into staging 647e2e1
Jan 16, 2013
Honza Pokorny honza 1921: Raise exception on too_many_recent_calls eacd2a2
Honza Pokorny honza 1921: Youtube API metrics 390755e
Honza Pokorny honza 1921: Add a bunch of Youtube meters 86b2d6b
Honza Pokorny honza 1921: Add youtube accounts linked gauge 28db4a5
Jan 17, 2013
Honza Pokorny honza 1921: Import all videos from YT feed cc: 285 b2c3b0b
Honza Pokorny honza Add video crop utility a479941
Honza Pokorny honza 1921: Skip team videos, not the other way around
Le sigh
7dd077e
Honza Pokorny honza 1921: Only try to update YT desc once we have vurl 8fd6cfb
Honza Pokorny honza 1921: Move imports to the top of the function 60da190
Jan 18, 2013
Honza Pokorny honza Document youtube stuff 1ad6e97
Honza Pokorny honza 1921: Don't die when TPA for video not found 9cf4702
Honza Pokorny honza 1869: Pilot pushing should try to do credits ec717a5
Honza Pokorny honza 1869: Provide defaults to getattr 4519dbe
Honza Pokorny honza 1869: Fix case insensivity issue 0b79a5c
Jan 21, 2013
Craig Zheng cz Update site name conditional around nofollow tag. 10b35d3
Jan 22, 2013
Craig Zheng cz 1966: Restyle disabled/assigned tasks 585e4e9
Evan Hazlett ehazlett added optional bucket name to send_to_s3 command for overriding defau…
…lt aws s3 media bucket
033fcd9
Jan 24, 2013
Craig Zheng cz 1738: Disable prompts for now... deploying in beta. fbcfea9
Craig Zheng cz 1921: Mark as beta d5f92fb
Jan 25, 2013
Arthur Debert arthur-debert Merge branch 'staging' into production
Conflicts:
	optional/unisubs-integration
9dc63a1
Fernando Takai fernandotakai Implemented method to fetch an user's youtube profile ca4e418
Fernando Takai fernandotakai Instead of using the user's real name as the username,
use the actual username.
90b3d0d
Jan 29, 2013
Fernando Takai fernandotakai Added migration that creates full_name property
on ThirdPartyAccounts
7031449
Fernando Takai fernandotakai Added migration that ports all youtube third party accounts username …
…to full_name and the real username to username.
8bafd68
Fernando Takai fernandotakai username -> full_name d866c72
Fernando Takai fernandotakai Added full_name field to ThirdPartyAccount 40b414a
Fernando Takai fernandotakai We need to error when an user try to link more the same account to an…
…other user, but not when there are teams involved.
464fe58
Fernando Takai fernandotakai Don't break if there's more than one feed for the same url. afb874c
Honza Pokorny honza Catch VideoTypeErrors when updating YT descs cec2d10
Fernando Takai fernandotakai Fixed UnicodeDecodeError while testing the description
for videos.
b8f34e0
Fernando Takai fernandotakai If there's any error while trying to find a video,
we don't blow up
54bfa0e
Jan 30, 2013
Fernando Takai fernandotakai old_description can be None 4227c00
Fernando Takai fernandotakai 1999: Fixing Maggie's last concerns
* added search_fields and full_name to TPA admin
interface
* changed username to full_name when removing
a TPA from profile
2e5fe6f
Craig Zheng cz 1738: Some copy tweaks from NPR b2db55a
Fernando Takai fernandotakai Merge branch 'x-youtube-username-fix' into production
Conflicts:
	apps/videos/tasks.py
2725931
Fernando Takai fernandotakai We need to wrap the migration so south doesn't
complain
3c60fc6
Honza Pokorny honza Only grab token if json attr exists 4e2c81c
Fernando Takai fernandotakai Catching exceptions when running migrations f5fd6bc
Fernando Takai fernandotakai Merge branch 'production' of github.com:pculture/unisubs into production 536118a
Fernando Takai fernandotakai I hate the whole python encoding bullshit 8b8f7fc
Fernando Takai fernandotakai I hate this whole python encoding bullshit.
You gotta be kidding that print is failing.
3c97830
Honza Pokorny honza Don't bother saving a subtitle if it's not synced 13f5778
Jan 31, 2013
Fernando Takai fernandotakai Instead of using openSearch, let's use link href
next (it's safer and cleaner).
06f2bbb
Fernando Takai fernandotakai Merge branch 'production' into x-youtube-username-fix fdca3b1
Fernando Takai fernandotakai If we can't find a youtube -> unisubs language, don't blow up. 625a216
Fernando Takai fernandotakai If the video is private or something else happens
while trying to get the video from youtube,
don't blow up.
05d16ef
Fernando Takai fernandotakai Fix unicode error while logging. fd03f2f
Arthur Debert arthur-debert 1899: Made youtube imports be configurable to run sync since the T im…
…port will require that
e4c216b
Arthur Debert arthur-debert Renamed parameter to make intention clearer, make sure fetch subs asy…
…nc is only used if the video type supports it
67dfab7
Arthur Debert arthur-debert Fixed imprtable flag on YT type 575b3f2
Arthur Debert arthur-debert 1899: Make sure we always have a description, even if blank 079584b
Arthur Debert arthur-debert Merge branch 'production' into i-1899-from-production 55c32a4
Arthur Debert arthur-debert 1899: Updated integration repo 4622ac0
Fernando Takai fernandotakai Implemented a resolve_ownership method on TPA
This method receives a VideoUrl and tries to find
the TPA account related to that VideoUrl.

We need this because we have a ton of video urls
pointing to youtube full names (instead of the
unique usernames) and since full names are not
unique, there could be two TPAs and that can
make the code blow up.
8aae983
Fernando Takai fernandotakai Merge branch 'production' into x-youtube-username-fix bcf5a83
Feb 01, 2013
Arthur Debert arthur-debert Fixed error handling on missing yt languages, fixes https://sentry.am… ffe4235
Fernando Takai fernandotakai ThirdPartyAccountManager should be self. 12f33d4
Fernando Takai fernandotakai Merge branch 'production' of github.com:pculture/unisubs into production 427f43f
Arthur Debert arthur-debert 1899: Updated integration repo 182ff2d
Fernando Takai fernandotakai Test if the user matches full name or username
(because of youtube username shenanigans)
f58e05d
Fernando Takai fernandotakai Added a test for mirror_on_third_party 83d3948
Fernando Takai fernandotakai Merge branch 'x-youtube-username-fix' into production d794c93
Fernando Takai fernandotakai Merge branch 'production' of github.com:pculture/unisubs into production a581e7d
Honza Pokorny honza Display who a TPA is linked to in admin 181ce2d
Fernando Takai fernandotakai Don't make any change to description if it's a
team account
3c5afe2
Fernando Takai fernandotakai Merge branch 'production' of github.com:pculture/unisubs into production fb74732
Honza Pokorny honza Fix hanging TPA admin view 4ac8628
Fernando Takai fernandotakai Made the TPA admin form users/teams field readonly
and changed the description
8fe96df
Feb 04, 2013
Honza Pokorny honza 1921: Fix off by one error when fetching from YT
The newest video wouldn't get pulled in on calling update().
22cede3
Fernando Takai fernandotakai Don't blow if there's no links key 1384256
Fernando Takai fernandotakai Merge branch 'production' of github.com:pculture/unisubs into production 718fa20
Arthur Debert arthur-debert Updated integration repo 1fff926
Craig Zheng cz 1963: Bunch of small copy and CSS changes 3a780ee
Craig Zheng cz Merge branch 'production' of github.com:pculture/unisubs into production c5a7e05
Feb 05, 2013
Evan Hazlett ehazlett 2016: updated media compilation to raise exceptions on error (this co…
…mmit contains a bug to test the full run)
873d037
Craig Zheng cz 1969: Add title attr for abbreviated video title links 5cb12cf
Evan Hazlett ehazlett 2016: updated media compilation 081ff38
Evan Hazlett ehazlett Merge branch 'i-2016' into production acde7a4
Craig Zheng cz 1738: Restore nudges for YT Sync launch 3425bd7
Honza Pokorny honza 2023: Sync to youtube when new version isn't made 0c0e73a
Feb 06, 2013
Craig Zheng cz 1738: Relegate YT channel creation in the sync modal 87d7150
Feb 08, 2013
Honza Pokorny honza 2032: Log api INFO to sentry 431464e
Honza Pokorny honza Update integration repo 69a9afc
Evan Hazlett ehazlett 2041: add sentry logging for youtube f5fe521
Evan Hazlett ehazlett 2041: log all args and kwargs for TooManyRecentCallsException fd24b34
Evan Hazlett ehazlett Merge branch 'i-2041' into production 4267b10
Evan Hazlett ehazlett 2041: changed sentry logging level to INFO fd06519
Evan Hazlett ehazlett Merge branch 'i-2041' into production d050008
Honza Pokorny honza Update integration repo 461a51d
Feb 11, 2013
Honza Pokorny honza Youtube: Log more stuff from RequestError b200899
Honza Pokorny honza Youtube: Send exception data as extra 85e09ef
Honza Pokorny honza Monkeypatch atom.http_core.HttpClient
Please don't hate me. :(

This is for debugging only and once we collect our data, we will remove this
stuff.  The only thing that's different in this class is the fact that it logs
some request information to sentry.
b8966d2
Honza Pokorny honza Youtube: expand Uri object when logging 3069f2d
Feb 13, 2013
Craig Zheng cz Resolve merge conflicts betw prod and i-1866 076f3d3
Craig Zheng cz Merge branch 'production' into i-1866 7bc64e7
Feb 14, 2013
Arthur Debert arthur-debert Updated integration repo 956d552
Honza Pokorny honza 1284: Rename gauge function edd1893
Craig Zheng cz Merge branch 'production' of github.com:pculture/unisubs into i-1865 8365050
Craig Zheng cz 1865: Remove view counts from subtitle view 4dfaea0
Craig Zheng cz Merge branch 'production' of github.com:pculture/unisubs into i-1889 6f79187
Fernando Takai fernandotakai 1925: Fixes issue(cherry picked from commit 607c782) 924208a
Fernando Takai fernandotakai 1925: Hacks to fix dashboard/assigning tasks issue. Sorry
Since our assigning task is already a hack,
we need another so when the user already has
max number of tasks for a team, we don't have error
when the user tries to resume a task.(cherry picked from commit aa55290)
61ea707
Arthur Debert arthur-debert Updated integration repo d326219
Arthur Debert arthur-debert Updated integration repo 621c0b3
Arthur Debert arthur-debert Updated integration repo 0ee274b
Craig Zheng cz 1963: Another round of homepage changes from NPR 58dd1b7
Feb 15, 2013
Craig Zheng cz 1963: Fix partner buttons in IE9 b870239
Craig Zheng cz Merge branch 'i-1969' into production b570a14
Craig Zheng cz Merge branch 'i-1889' into production 071680f
Craig Zheng cz 1866: Code style tweak via @sjl 2850726
Craig Zheng cz Merge branch 'i-1866' into production bb63750
Craig Zheng cz Merge remote-tracking branch 'origin/i-2023' into production 416b651
Craig Zheng cz 1865: Resolve merge conflict with production 670ff88
Craig Zheng cz Merge branch 'production' into i-1865 6aa1bac
Craig Zheng cz Merge pull request #96 from pculture/i-1865
i-1865
4001e9a
Feb 18, 2013
Craig Zheng cz Merge branch 'production' into i-1966 1ebc77b
Craig Zheng cz 1966: Style tweak to better offset assigned/disabled tasks c764dca
Feb 19, 2013
Craig Zheng cz Merge pull request #99 from pculture/i-1966
i-1966
ffaa821
Honza Pokorny honza Add query param to remove yt desc script 5931f50
Honza Pokorny honza Fix a string formatting bug 0a2f25d
Feb 20, 2013
Honza Pokorny honza Account for shortlinks in clean up script 0eae695
Craig Zheng cz 2074: Update domain references in teams copy 0bfe89a
Feb 21, 2013
Honza Pokorny honza More youtube clean up script fixes fde3096
Nick Sergeant nicksergeant Fix hidden Subtitle Me button on subtitle view. 567b0ff
Feb 22, 2013
Honza Pokorny honza 2093: Append credit instead of prepeding 3a56bfb
Honza Pokorny honza 2093: PEP8 9150716
Honza Pokorny honza 2093: Add unittest 5204181
Honza Pokorny honza Add support for YT username to clean up script ab4b9e1
Feb 25, 2013
Craig Zheng cz Merge pull request #103 from pculture/i-2074
2074: Update domain references in teams copy
2db8f2a
Feb 26, 2013
Arthur Debert arthur-debert 161: Merging wistia player to production 143cdcb
Feb 27, 2013
Arthur Debert arthur-debert 161: Fixing size reporting on wistia video player, fixes CSS bugs 6947fd9
Honza Pokorny honza Merge pull request #110 from pculture/i-2093
2093: Append Amara link to YT descriptions instead of prepending it
a259ed5
Mar 03, 2013
Honza Pokorny honza Install rq and convert videos and teams tasks 1bd8917