Граф коммитов

537 Коммитов

Автор SHA1 Сообщение Дата
Maxim Zhilyaev 292dc85c54 Replace null test with cleanseBeforeInjection call
In preparation to sanitization, replace all occurences of ((__t = (VARIABLE)) == null ? '' : __t) with cleanseBeforeInjection(VARIABLE)
2014-02-18 12:28:01 -08:00
Edward Lee 8ea039a8cc Update require to sdk/ for test-ChineseTokenizer. 2014-02-11 05:03:13 -08:00
Pin Zhang fce473286a Fix typo 2014-02-11 04:53:19 -08:00
Pin Zhang 99972b5d7b Move uuidMapping.json 2014-02-11 04:53:19 -08:00
Pin Zhang 5bec0b1416 Remove duplicate categories 2014-02-11 04:53:18 -08:00
Pin Zhang b08b265fb8 Update rules with subdomain and path tokens 2014-02-11 04:53:18 -08:00
Pin Zhang e0bfa81cfa Rename Tokenizers 2014-02-11 04:53:18 -08:00
Pin Zhang 1aacd8ad27 Remove unused code 2014-02-11 04:53:18 -08:00
Pin Zhang f937a212a4 Add test for ChineseTokenizer 2014-02-11 04:53:17 -08:00
Pin Zhang 105009b351 Remove regexp 2014-02-11 04:53:17 -08:00
Pin Zhang de233296a4 Reorgnize the structure 2014-02-11 04:53:17 -08:00
Pin Zhang 58c939203a Update model 2014-02-11 04:53:17 -08:00
Pin Zhang 8b3cd52aa7 Fix bug: can not find domainRules.json 2014-02-11 04:53:16 -08:00
Pin Zhang 0698eaabef Fix bug: path is null 2014-02-11 04:53:16 -08:00
Pin Zhang 8940f6647f Update textModel 2014-02-11 04:53:16 -08:00
Pin Zhang 78bcb7794b code tweak 2014-02-11 04:53:15 -08:00
Pin Zhang d178e7234f Combine rules of __ANY and __PATH 2014-02-11 04:53:15 -08:00
Pin Zhang f62380051c Add test for chinese 2014-02-11 04:53:15 -08:00
Pin Zhang 6ad189a611 Combine rules tests 2014-02-11 04:53:15 -08:00
Pin Zhang 7eeba8a2bd Add test for rules with keyword 2014-02-11 04:53:15 -08:00
Pin Zhang ab3a3e44b2 Implement __PATH rule checking 2014-02-11 04:53:14 -08:00
Pin Zhang d05ed7ba3f Add test case for wildcard 2014-02-11 04:53:14 -08:00
Pin Zhang a86bda3724 Support wildcard 2014-02-11 04:53:14 -08:00
Pin Zhang e700697ad2 convert chinese to unicode 2014-02-11 04:53:14 -08:00
Pin Zhang a40d3a04ca fix error: this._taxonomies[namespace] is not Object 2014-02-11 04:53:14 -08:00
Pin Zhang 52038a2a1c Update rules with __PATH 2014-02-11 04:53:14 -08:00
Pin Zhang a9f7fb3840 Move urlStopwords.json out out of 58-cat 2014-02-11 04:53:14 -08:00
Pin Zhang 691ab78866 Add model data for zh-CN 2014-02-11 04:53:13 -08:00
Pin Zhang 143f0d6873 Reorgnize modules by locale 2014-02-11 04:53:13 -08:00
Olivier Yiptong f8bcf0f3cd fixes #39. Ribbon urls will no longer have duplicate src argument 2014-02-11 04:07:04 -08:00
Edward Lee e135580781 Copy over original implementation of storyCollection. 2014-02-11 04:07:04 -08:00
Edward Lee fa74c82162 Bump version to 3. 2014-02-05 02:29:49 -08:00
Edward Lee 1829b57f8e Update require()s to sdk/ to avoid deprecation warnings for 1.15 SDK. 2014-02-05 02:29:27 -08:00
Maxim Zhilyaev 83c1678cf3 CLoses #35: Clean path of /#/ by extracting filePath via nsiUrl interface 2014-02-04 15:41:58 -08:00
Maxim Zhilyaev b07e535158 Closes #24: Regenerated uuid mapping on 02/02/2014 2014-02-04 14:32:41 -08:00
mzhilyaev f9ce7da884 Merge pull request #37 from Mardak/issue34
Fixes #34.
Tested on both urls provided with issue #34 -- all works OK
2014-02-04 13:36:32 -08:00
Olivier Yiptong 54919a5882 fixes #34: default marginalia does not show when there are no recommendations 2014-02-05 00:06:02 +04:00
Olivier Yiptong 6c989f9221 fix old-style rubric not appearing when there are no recommendations. fixes part of #34 2014-02-05 00:05:09 +04:00
Edward Lee b61c7794b3 Closes #22 Explicitly limit headliner request to 10 articles. 2014-02-04 09:50:41 -08:00
Edward Lee c292f589d5 Merge and resolve conflicts for both old-style and new-style tab fixes.
Conflicts:
	data/css/nytimes/newstyles.css
	data/nytimes-personalize.js
2014-02-04 09:05:36 -08:00
Olivier Yiptong 9daca9129b fixes #33. tab switching is fixed for the old-style rubric 2014-02-04 16:12:14 +04:00
Olivier Yiptong 0466bf327b remove links to mozilla.org from the old-style rubric and the ribbon marker
partly fixes #25
2014-02-03 16:59:49 +04:00
Olivier Yiptong 6e33ba266c show mostPopWidget in nytimes page for old-style rubrics 2014-02-03 16:58:39 +04:00
Olivier Yiptong 951db13699 fixes #20 and #28. replace new-style mostPopularWidget to handle clicks 2014-02-03 16:20:38 +04:00
Maxim Zhilyaev 76cbf4d1bf Convert visit count to a number 2014-01-30 12:43:27 -08:00
Maxim Zhilyaev ed2ee8e3d4 Avoid storing user name and ID
Create an explicit userInfo object and cherry pick feilds from NYT user info json response
2014-01-30 12:43:27 -08:00
Maxim Zhilyaev db3b444735 Timestamp NYT userInfo object 2014-01-30 12:43:27 -08:00
Maxim Zhilyaev a82bc20a32 Closes #15: Extract NYT article visit count 2014-01-30 12:43:27 -08:00
Maxim Zhilyaev 8f190574b3 Closes #17: Prefetch NYT user info and attach it to dispatcher payload 2014-01-30 12:43:27 -08:00
Maxim Zhilyaev f521863468 Add NYTUtils object to encapsulate NYT userdata collection 2014-01-30 12:43:27 -08:00