PageRenderTime 24ms queryFilters 0ms Sphinxql 115ms app.CodeModel.GetByIds 13ms findMatchingLines 26ms GetByIds 39ms meta 0ms repositoryFilters 6ms languageFilters 3ms sourceFilters 3ms

1,878,843 results for 'username' (24 ms)

Source

Language

Repository

JNDIRealm.java https://github.com/zongweiyang/tomcat.git | Java | 2,427 lines
1003     *
1004     * @param username Username of the Principal to look up
1005     * @param credentials Password or other credentials to use in
1383     * @param context The directory context
1384     * @param username The username
1385     * @param attrIds String[]containing names of attributes to retrieve.
1440                if(containerLog.isInfoEnabled())
1441                    containerLog.info("username " + username + " has multiple entries");
1442                return (null);
1701        String dn = user.getDN();
1702        String username = user.getUserName();
1703        String userRoleId = user.getUserRoleId();
2392                List<String> roles, String userRoleId) {
2393            this.username = username;
2394            this.dn = dn;
params_wrapper_test.rb https://github.com/zooks-zz/rails.git | Ruby | 287 lines
43      post :parse, { 'username' => 'sikachu' }
44      assert_parameters({ 'username' => 'sikachu', 'user' => { 'username' => 'sikachu' }})
45    end
53      post :parse, { 'username' => 'sikachu' }
54      assert_parameters({ 'username' => 'sikachu', 'person' => { 'username' => 'sikachu' }})
55    end
120      post :parse, { 'username' => 'sikachu', 'title' => 'Developer' }
121      assert_parameters({ 'username' => 'sikachu', 'title' => 'Developer', 'user' => { 'username' => 'sikachu', 'title' => 'Developer' }})
122    end
234        post :parse, { 'username' => 'sikachu', 'title' => 'Developer' }
235        assert_parameters({ 'username' => 'sikachu', 'title' => 'Developer', 'user' => { 'username' => 'sikachu' }})
236      end
283      post :parse, { 'username' => 'sikachu' }
284      assert_parameters({ 'username' => 'sikachu', 'guest' => { 'username' => 'sikachu' }})
285    end
pin1.html https://github.com/elisbyberi/portia.git | HTML | 624 lines
617        P.scout.setPageInfo(null);
618        P.scout.setRoutes([{"extraContent": {"allow_full_page": false, "resource_method": "${method}", "append": "?{append}"}, "named": {"name": 0, "method": 1}, "resource": {"name": "${name}", "options": "?{options}"}, "module": "?{module_name}", "pathPattern": "^\/resource\/([^\/]+)\/([^\/]+)\/$", "options": "?{module_options}"}, {"extraContent": {"allow_full_page": false, "error_strategy": "?{error_strategy}", "append": "?{append}"}, "named": {"name": 0}, "resource": {"name": "?{resource_name}", "options": "?{options}"}, "module": "${name}", "pathPattern": "^\/module\/([^\/]+)\/$", "options": "?{module_options}"}, {"extraContent": {"optimizely_eligible_page": true, "content_only": true, "https": true}, "named": {"network": 0}, "resource": {}, "module": "UserRegisterPage", "pathPattern": "^\/join\/register\/([^\/]+)\/", "options": {"network": "${network}"}}, {"extraContent": {"log": {"view_parameter": 2, "view_type": 1}}, "named": {}, "resource": {}, "module": "FeedPage", "pathPattern": "^\/all\/$", "options": {"feed": "everything"}}, {"extraContent": {"log": {"helper_data": {"feed": "${category}", "is_category": true}, "view_type": 1}}, "named": {"category": 0}, "resource": {}, "module": "FeedPage", "pathPattern": "^\/all\/([^\/]+)\/$", "options": {"feed": "${category}", "is_category": true}}, {"extraContent": {"log": {"view_parameter": 3, "view_type": 1}}, "named": {}, "resource": {}, "module": "FeedPage", "pathPattern": "^\/popular\/$", "options": {"feed": "popular"}}, {"extraContent": {"log": {"view_parameter": 85, "view_type": 1}}, "named": {}, "resource": {}, "module": "FeedPage", "pathPattern": "^\/gifts\/$", "options": {"feed": "gifts"}}, {"extraContent": {"log": {"view_parameter": 128, "view_type": 1}}, "named": {}, "resource": {}, "module": "FeedPage", "pathPattern": "^\/videos\/$", "options": {"feed": "videos"}}, {"extraContent": {"log": {"view_parameter": 43, "view_type": 2}}, "named": {}, "resource": {"name": "BaseSearchResource", "options": {"scope": "pins", "query": "?{q}"}}, "module": "SearchPage", "pathPattern": "^\/search\/$", "options": {"scope": "pins", "query": "?{q}"}}, {"extraContent": {"log": {"helper_data": {"scope": "${scope}"}, "view_type": 2}}, "named": {"scope": 0}, "resource": {"name": "BaseSearchResource", "options": {"restrict": "?{restrict}", "scope": "${scope}", "constraint_string": "?{fc}", "show_scope_selector": true, "query": "?{q}"}}, "module": "SearchPage", "pathPattern": "^\/search\/([^\/]+)\/$", "options": {"restrict": "?{restrict}", "scope": "${scope}", "constraint_string": "?{fc}", "query": "?{q}"}}, {"extraContent": {"content_only": true}, "named": {}, "resource": {}, "module": "OffsitePage", "pathPattern": "^\/offsite\/$", "options": {"redirect_status": "?{redirect_status}", "sanitized_url": "?{sanitized_url}"}}, {"extraContent": {"require_authentication": true, "content_only": true, "https": true}, "named": {}, "resource": {}, "module": "OAuthDialog", "pathPattern": "^\/oauth\/dialog\/$", "options": {"scope": "?{scope}", "state": "?{state}", "redirect_uri": "?{redirect_uri}", "response_type": "?{response_type}", "consumer_id": "?{consumer_id}"}}, {"extraContent": {"https": true}, "named": {"username": 0}, "resource": {"name": "VerifyEmailTokenResource", "options": {"username": "${username}", "token": "?{t}", "expiration": "?{e}"}}, "module": "ResetPasswordPage", "pathPattern": "^\/pw\/([^\/]+)\/$", "options": {"username": "${username}", "token": "?{t}", "expiration": "?{e}"}}, {"extraContent": {"content_only_if_unauth": true, "https_if_unauth": true, "deep_link": "pinterest:\/\/", "log": {"view_parameter": 92, "view_type": 1}, "optimizely_eligible_page": true}, "named": {}, "resource": {}, "module": "HomePage", "pathPattern": "^\/$", "options": {"email_updated": "?{ues}", "tab": "following"}}, {"extraContent": {"log": {"view_parameter": 0, "view_type": 1}}, "named": {}, "resource": {}, "module": "FeedPage", "pathPattern": "^\/following\/$", "options": {"feed": "following"}}, {"extraContent": {"log": {"view_type": 19}}, "named": {}, "resource": {}, "module": "CategoriesPage", "pathPattern": "^\/categories\/$", "options": {}}, {"extraContent": {"log": {"helper_data": {"feed": "${category}", "is_category": true}, "view_type": 1}}, "named": {"category": 0}, "resource": {}, "module": "FeedPage", "pathPattern": "^\/categories\/([^\/]+)\/$", "options": {"feed": "${category}", "is_category": true}}, {"extraContent": {}, "named": {"annotation": 0, "board": 1}, "resource": {"name": "BoardAnnotationResource", "options": {"board_id": "${board}"}}, "module": "AnnotationFeedPage", "pathPattern": "^\/annotations\/([^\/]+)\/([^\/]+)\/$", "options": {"board_id": "${board}", "annotation": "${annotation}"}}, {"extraContent": {"log": {"view_type": 27}}, "named": {}, "resource": {"name": "InEGroupResource", "options": {"configuration": "i1"}}, "module": "InterestPage", "pathPattern": "^\/explore\/$", "options": {"username": "me"}}, {"extraContent": {"log": {"helper_data": {"interest": "${interest}"}, "view_type": 28}}, "named": {"interest": 0}, "resource": {}, "module": "InterestFeedPage", "pathPattern": "^\/explore\/([^\/]+)\/$", "options": {"interest": "${interest}"}}, {"extraContent": {}, "named": {}, "resource": {}, "module": "CsrfErrorPage", "pathPattern": "\/csrf_error\/$", "options": {}}, {"extraContent": {"requires_decider_key": "places_switch"}, "named": {}, "resource": {"name": "ManagedListResource", "options": {"field_set_key": "grid_item", "shuffle": true, "domain": "place_pins", "list": "examples", "page_size": 24}}, "module": "promo.PlacesBoardExamples", "pathPattern": "^\/places\/examples\/$", "options": {}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 129, "view_type": 1}}, "named": {"domain": 0}, "resource": {}, "module": "DomainFeedPage", "pathPattern": "^\/source\/([^\/]+)\/$", "options": {"domain": "${domain}", "feed_item_type": "most_recent"}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 129, "view_type": 1}}, "named": {"domain": 0}, "resource": {}, "module": "DomainFeedPage", "pathPattern": "^\/source\/([^\/]+)\/top\/repins\/$", "options": {"domain": "${domain}", "feed_item_type": "most_repinned", "aggregation": "?{aggregation}", "end_date": "?{end_date}"}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 129, "view_type": 1}}, "named": {"domain": 0}, "resource": {}, "module": "DomainFeedPage", "pathPattern": "^\/source\/([^\/]+)\/top\/clicks\/$", "options": {"domain": "${domain}", "feed_item_type": "most_clicked", "aggregation": "?{aggregation}", "end_date": "?{end_date}"}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 129, "view_type": 1}}, "named": {"domain": 0}, "resource": {}, "module": "DomainFeedPage", "pathPattern": "^\/source\/([^\/]+)\/trending\/$", "options": {"domain": "${domain}", "feed_item_type": "trending"}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 135, "view_type": 30}}, "named": {}, "resource": {}, "module": "FindFriendsPage", "pathPattern": "^\/find_friends\/$", "options": {}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 135, "view_type": 30}}, "named": {}, "resource": {}, "module": "FindFriendsPage", "pathPattern": "^\/find_friends\/facebook\/$", "options": {"tab": "facebook"}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 135, "view_type": 30}}, "named": {}, "resource": {}, "module": "FindFriendsPage", "pathPattern": "^\/find_friends\/twitter\/$", "options": {"tab": "twitter"}}, {"extraContent": {"require_authentication": true, "log": {"view_parameter": 135, "view_type": 30}}, "named": {}, "resource": {}, "module": "FindFriendsPage", "pathPattern": "^\/find_friends\/invite\/$", "options": {"focus": "invite"}}, {"extraContent": {"content_only_if_unauth": true, "https": true}, "named": {}, "resource": {}, "module": "InviteLanding", "pathPattern": "^\/invited\/$", "options": {"inviter_user_id": "?{inviter_user_id}"}}, {"extraContent": {"content_only": true}, "named": {}, "resource": {}, "module": "OffsitePage", "pathPattern": "^\/offsite\/$", "options": {"url": "?{url}", "pin_id": "?{pin}", "token": "?{token}"}}, {"extraContent": {"require_authentication": true}, "named": {}, "resource": {"name": "FeedEditorPageResource"}, "module": "FeedEditorPage", "pathPattern": "^\/edit_home\/$", "options": {"tab": "follow_boards"}}, {"extraContent": {"require_authentication": true}, "named": {}, "resource": {"name": "FeedEditorPageResource"}, "module": "FeedEditorPage", "pathPattern": "^\/edit_home\/follow_boards\/$", "options": {"tab": "follow_boards"}}, {"extraContent": {"require_authentication": true}, "named": {}, "resource": {"name": "FeedEditorPageResource"}, "module": "FeedEditorPage", "pathPattern": "^\/edit_home\/unfollow_boards\/$", "options": {"tab": "unfollow_boards"}}, {"extraContent": {"is_full_page": false, "xframe_options_exempt": true, "https": true}, "named": {}, "resource": {}, "module": "FramedSignupContent", "pathPattern": "^\/f\/signup\/", "options": {"track_key": "?{track_key}", "message_type": "?{message_type}", "skip_nux": "?{skip_nux}"}}, {"extraContent": {"content_only": true}, "named": {}, "resource": {}, "module": "LogoutPage", "pathPattern": "^\/logout\/", "options": {"next": "?{next}"}}, {"extraContent": {"content_only": true, "https": true}, "named": {}, "resource": {}, "module": "LoginPage", "pathPattern": "^\/login\/$", "options": {"next": "?{next}"}}, {"extraContent": {"content_only": true, "https": true}, "named": {}, "resource": {}, "module": "PasswordResetOneClick", "pathPattern": "^\/login\/reset\/$", "options": {"username_or_email": "?{username_or_email}"}}, {"extraContent": {"redirect": "\/"}, "named": {}, "resource": {}, "module": "", "pathPattern": "^\/join\/signup\/", "options": {}}, {"extraContent": {"redirect": "\/"}, "named": {}, "resource": {}, "module": "", "pathPattern": "^\/signup\/", "options": {}}, {"extraContent": {"content_only": true, "https": true}, "named": {}, "resource": {}, "module": "LoginPage", "pathPattern": "^\/join\/register\/", "options": {"register": true}}, {"extraContent": {"content_only": true, "https": true}, "named": {}, "resource": {}, "module": "LoginPage", "pathPattern": "^\/join\/.*$", "options": {"invite_follow_board": "?{boardname}", "register": true, "invite_follow_user": "?{username}", "next": "?{next}"}}, {"extraContent": {"require_authentication": true, "login_parameters": {"username": "${username}", "auto_follow": "true"}}, "named": {"username": 0}, "resource": {}, "module": "AutoFollow", "pathPattern": "^\/follow\/([^\/]+)\/*$", "options": {"username": "${username}"}}, {"extraContent": {"require_authentication": true, "login_parameters": {"username": "${username}", "boardname": "${slug}", "auto_follow": "true"}}, "named": {"username": 0, "slug": 1}, "resource": {}, "module": "AutoFollow", "pathPattern": "^\/follow\/([^\/]+)\/([^\/]+)\/*$", "options": {"username": "${username}", "username_and_slug": "${username}\/${slug}"}}, {"extraContent": {"require_authentication": true}, "named": {}, "resource": {"name": "DomainVerifyResource"}, "module": "DomainVerify", "pathPattern": "^\/website\/verify\/$", "options": {}}, {"extraContent": {}, "named": {}, "resource": {"name": "UserResource", "options": {"username": "me"}}, "module": "BusinessGetStarted", "pathPattern": "^\/business\/getstarted\/$", "options": {"username": "me"}}, {"extraContent": {"require_authentication": true, "https": true}, "named": {}, "resource": {"name": "PartnerResource"}, "module": "BusinessAccountConvert", "pathPattern": "^\/business\/convert\/$", "options": {}}, {"extraContent": {}, "named": {}, "resource": {"name": "RichPinDebugResource", "options": {"link": "?{link}"}}, "module": "RichPinDebugger", "pathPattern": "^\/business\/tools\/site-debugger\/$", "options": {"link": "?{link}"}}, {"extraContent": {}, "named": {}, "resource": {"name": "RichPinSamplePinResource", "options": {}}, "module": "RichPinBuilder", "pathPattern": "^\/business\/tools\/rich-pin-builder\/$", "options": {}}, {"extraContent": {}, "named": {}, "resource": {"name": "RichPinValidateResource", "options": {"link": "?{link}"}}, "module": "RichPinValidator", "pathPattern": "^\/business\/tools\/rich-pin-validator\/$", "options": {"link": "?{link}"}}, {"extraContent": {}, "named": {"query": 0}, "resource": {"name": "BrowseResource", "options": {"query": "${query}"}}, "module": "SearchPage", "pathPattern": "^\/browse\/([^\/]+)\/$", "options": {"query": "${query}"}}, {"extraContent": {"require_authentication": true, "require_explicit_login": true, "https": true}, "named": {}, "resource": {"name": "UserSettingsResource"}, "module": "UserSettingsPage", "pathPattern": "^\/settings\/$", "options": {}}, {"extraContent": {"deep_link": "pinterest:\/\/user\/${username}", "log": {"view_parameter": 49, "view_type": 4}}, "named": {"username": 0}, "resource": {"name": "UserResource", "options": {"username": "${username}"}}, "module": "UserProfilePage", "pathPattern": "^\/([^\/]+)\/$", "options": {"report_user_spam": "?{report_user_spam}", "show_follow_memo": "?{auto_follow}", "tab": "boards"}}, {"extraContent": {"deep_link": "pinterest:\/\/user\/${username}", "canonical_url": "\/${username}\/", "log": {"view_parameter": 49, "view_type": 4}}, "named": {"username": 0}, "resource": {"name": "UserResource", "options": {"username": "${username}"}}, "module": "UserProfilePage", "pathPattern": "^\/([^\/]+)\/boards\/$", "options": {"tab": "boards"}}, {"extraContent": {"deep_link": "pinterest:\/\/user\/${username}", "log": {"view_parameter": 74, "view_type": 4}}, "named": {"username": 0}, "resource": {"name": "UserResource", "options": {"username": "${username}"}}, "module": "UserProfilePage", "pathPattern": "^\/([^\/]+)\/pins\/$", "options": {"tab": "pins"}}, {"extraContent": {"noindex": true, "deep_link": "pinterest:\/\/user\/${username}", "log": {"view_parameter": 52, "view_type": 4}}, "named": {"username": 0}, "resource": {"name": "UserResource", "options": {"username": "${username}"}}, "module": "UserProfilePage", "pathPattern": "^\/([^\/]+)\/likes\/$", "options": {"tab": "likes"}}, {"extraContent": {"noindex": true, "deep_link": "pinterest:\/\/user\/${username}", "log": {"view_parameter": 50, "view_type": 4}}, "named": {"username": 0}, "resource": {"name": "UserResource", "options": {"username": "${username}"}}, "module": "UserProfilePage", "pathPattern": "^\/([^\/]+)\/followers\/$", "options": {"tab": "followers"}}, {"extraContent": {"noindex": true, "deep_link": "pinterest:\/\/user\/${username}", "log": {"view_parameter": 51, "view_type": 4}}, "named": {"username": 0}, "resource": {"name": "UserResource", "options": {"username": "${username}"}}, "module": "UserProfilePage", "pathPattern": "^\/([^\/]+)\/following\/$", "options": {"tab": "following"}}, {"extraContent": {"require_authentication": true, "content_only": true}, "named": {"method": 0}, "resource": {}, "module": "PinBookmarklet", "pathPattern": "^\/pin\/create\/([^\/]+)\/$", "options": {"description": "?{description}", "title": "?{title}", "url": "?{url}", "image_url": "?{media}", "is_video": "?{is_video}", "method": "${method}"}}, {"extraContent": {}, "named": {}, "resource": {"name": "FindPinImagesResource", "options": {"url": "?{url}"}}, "module": "ImagesFeedPage", "pathPattern": "^\/pin\/find\/$", "options": {}}, {"extraContent": {"deep_link": "pinterest:\/\/pin\/${id}", "log": {"view_type": 3}}, "named": {"id": 0}, "resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "id": "${id}"}}, "module": "Closeup", "pathPattern": "^\/pin\/([^\/]+)\/$", "options": {"show_reg": "?{show_reg}"}}, {"extraContent": {"require_explicit_login": true, "deep_link": "pinterest:\/\/pin\/${id}", "log": {"view_type": 3}, "canonical_url": "\/pin\/${id}\/"}, "named": {"id": 0}, "resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "id": "${id}"}}, "module": "Closeup", "pathPattern": "^\/pin\/([^\/]+)\/edit\/$", "options": {"show_edit": true}}, {"extraContent": {"deep_link": "pinterest:\/\/pin\/${id}", "log": {"view_type": 3}, "canonical_url": "\/pin\/${id}\/"}, "named": {"id": 0}, "resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "id": "${id}"}}, "module": "Closeup", "pathPattern": "^\/pin\/([^\/]+)\/repin\/$", "options": {"show_repin": true}}, {"extraContent": {"require_authentication": true, "content_only": true}, "named": {"id": 0}, "resource": {"name": "PinResource", "options": {"field_set_key": "repin", "id": "${id}"}}, "module": "PinBookmarklet", "pathPattern": "^\/pin\/([^\/]+)\/repin\/x\/$", "options": {"action": "repin", "method": "bookmarklet"}}, {"extraContent": {"noindex": true}, "named": {"id": 0}, "resource": {"name": "RepinFeedResource", "options": {"pin_id": "${id}", "page_size": 50}}, "module": "RepinsLikesFeedPage", "pathPattern": "^\/pin\/([^\/]+)\/repins\/$", "options": {"pin_id": "${id}", "type": "repins"}}, {"extraContent": {"noindex": true}, "named": {"id": 0}, "resource": {"name": "PinLikesResource", "options": {"pin_id": "${id}", "page_size": 50}}, "module": "RepinsLikesFeedPage", "pathPattern": "^\/pin\/([^\/]+)\/likes\/$", "options": {"pin_id": "${id}", "type": "likes"}}, {"extraContent": {}, "named": {}, "resource": {}, "module": "BoardCreate", "pathPattern": "^\/board\/create\/$", "options": {}}, {"extraContent": {"deep_link": "pinterest:\/\/board\/${username}\/${slug}", "log": {"view_type": 5}}, "named": {"username": 0, "slug": 1}, "resource": {"name": "BoardResource", "options": {"username": "${username}", "field_set_key": "detailed", "slug": "${slug}"}}, "module": "BoardPage", "pathPattern": "^\/([^\/]+)\/([^\/]+)\/$", "options": {"show_follow_memo": "?{auto_follow}", "tab": "pins"}}, {"extraContent": {}, "named": {"username": 0, "slug": 1}, "resource": {"name": "BaseSearchResource", "options": {"board_slug": "${slug}", "scope": "my_pins", "user": "${username}", "query": "?{q}"}}, "module": "SearchPage", "pathPattern": "^\/([^\/]+)\/([^\/]+)\/search\/$", "options": {"board_slug": "${slug}", "scope": "my_pins", "user": "${username}", "query": "?{q}"}}, {"extraContent": {"require_explicit_login": true, "deep_link": "pinterest:\/\/board\/${username}\/${slug}", "canonical_url": "\/${username}\/${slug}\/", "log": {"view_type": 5}}, "named": {"username": 0, "slug": 1}, "resource": {"name": "BoardResource", "options": {"username": "${username}", "field_set_key": "detailed", "slug": "${slug}"}}, "module": "BoardPage", "pathPattern": "^\/([^\/]+)\/([^\/]+)\/edit\/$", "options": {"show_edit": true, "tab": "pins"}}, {"extraContent": {"deep_link": "pinterest:\/\/board\/${username}\/${slug}", "canonical_url": "\/${username}\/${slug}\/", "log": {"view_type": 5}}, "named": {"username": 0, "slug": 1}, "resource": {"name": "BoardResource", "options": {"username": "${username}", "field_set_key": "detailed", "slug": "${slug}"}}, "module": "BoardPage", "pathPattern": "^\/([^\/]+)\/([^\/]+)\/pins\/$", "options": {"tab": "pins"}}, {"extraContent": {"noindex": true, "deep_link": "pinterest:\/\/board\/${username}\/${slug}", "log": {"view_parameter": 54, "view_type": 5}}, "named": {"username": 0, "slug": 1}, "resource": {"name": "BoardResource", "options": {"username": "${username}", "field_set_key": "detailed", "slug": "${slug}"}}, "module": "BoardPage", "pathPattern": "^\/([^\/]+)\/([^\/]+)\/followers\/$", "options": {"tab": "followers"}}, {"extraContent": {"https": true}, "named": {}, "resource": {}, "module": "UserChangePassword", "pathPattern": "^\/password\/change\/$", "options": {}}, {"extraContent": {"https": true}, "named": {}, "resource": {}, "module": "TrademarkFormSelector", "pathPattern": "^\/about\/trademark\/form\/$", "options": {}}, {"extraContent": {"https": true}, "named": {"claim_type": 0}, "resource": {}, "module": "TrademarkForm", "pathPattern": "^\/about\/trademark\/form\/([^\/]+)\/$", "options": {"claim_type": "${claim_type}"}}, {"extraContent": {"require_authentication": true}, "named": {"domain": 0}, "resource": {"name": "DomainAnalyticsCountsResource", "options": {"domain": "${domain}", "start_date": "?{start_date}", "end_date": "?{end_date}"}}, "module": "DomainAnalyticsPage", "pathPattern": "^\/source\/([^\/]+)\/analytics\/$", "options": {"domain": "${domain}", "start_date": "?{start_date}", "end_date": "?{end_date}"}}, {"extraContent": {}, "named": {}, "resource": {"name": "UserResource", "options": {"username": "me"}}, "module": "VerifyWebsite", "pathPattern": "^\/verify_website\/$", "options": {"username": "me"}}, {"extraContent": {"sandbox": true}, "named": {}, "resource": {}, "module": "Close", "pathPattern": "^\/close_window\/$", "options": {}}]);
619        P.scout.setPageRoutePattern("^\/pin\/:id\/$");
620        P.scout.setPageLoadRequestIdentifier("984745164625");
621        P.start.start({"scrubbedUser": {"autologin": null}, "tree": {"resource": null, "name": "App", "children": [{"resource": null, "name": "Header", "id": "header", "children": [{"resource": null, "name": "DropdownButton", "id": "categoriesDropdownButton", "children": [{"resource": null, "name": "Button", "id": "button", "children": [], "errorStrategy": 2, "options": {"class_name": "categories", "text": "Categories", "show_text": false, "has_icon": true, "primary_on_hover": true}, "uid": "Button-10"}], "errorStrategy": 2, "options": {"class_name": "categoriesButton", "button_options": {"class_name": "categories", "text": "Categories", "show_text": false, "has_icon": true, "primary_on_hover": true}, "module": {"resource": {"name": "CategoriesResource", "options": {"browsable": true}}, "name": "CategoriesMenu"}, "dropdown_options": {"largeCaret": true, "fixed": true, "prefetch": true, "view_type": "categoriesMenu"}, "time": 500, "tutorial": {"topic": "categories", "text": "Browse Popular, DIY and other categories to find pins you like.", "title": "Here are your categories."}}, "uid": "DropdownButton-7"}, {"resource": null, "name": "ui.SearchForm", "id": "mainSearchTextbox", "children": [{"resource": null, "name": "ui.TypeaheadField", "id": "searchField", "children": [{"resource": null, "name": "ui.Typeahead", "id": "typeahead", "children": [], "errorStrategy": 2, "options": {"enable_recent_queries": true, "force_empty_state_render": null, "view_type": "search", "class_name": "inHeader", "exclude_non_followers": null, "use_tab_index": null, "num_places": null, "remove_lru_cache": null, "template": null, "minimum_term_character_length": null, "tags": "autocomplete"}, "uid": "ui-Typeahead-12"}], "errorStrategy": 2, "options": {"enable_recent_queries": true, "name": "q", "view_type": "search", "class_name": "inHeader", "prefetch_on_focus": true, "value": "", "populate_on_result_highlight": true, "search_delay": 0, "search_on_focus": true, "placeholder": "Search", "tags": "autocomplete"}, "uid": "ui-TypeaheadField-11"}], "errorStrategy": 2, "options": {"class_name": "inHeader", "enable_recent_queries": true, "navigate_on_search": true, "placeholder": "Search"}, "uid": "ui-SearchForm-8"}, {"resource": {"name": "LocalesResource", "options": {"locale": "en-US", "bookmarks": ["-end-"]}}, "name": "LanguageMenu", "children": [{"resource": null, "name": "DropdownButton", "children": [{"resource": null, "name": "Button", "id": "button", "children": [], "errorStrategy": 2, "options": {"class_name": "langaugeButton", "text": "English (US)"}, "uid": "Button-14"}], "errorStrategy": 2, "options": {"dropdown_options": {"position_point": "BOTTOM_RIGHT", "hide_caret": true, "fixed": true}, "button_options": {"class_name": "langaugeButton", "text": "English (US)"}, "module": {"resource": {"name": "LocalesResource"}, "name": "LanguageDropdown", "options": {"selected": "English (US)"}}}, "uid": "DropdownButton-13"}], "errorStrategy": 2, "data": {}, "options": {}, "uid": "LanguageMenu-9"}], "errorStrategy": 2, "options": {"class_name": ""}, "uid": "Header-1"}, {"resource": null, "name": "ScrollToTop", "id": "scrollToTop", "children": [], "errorStrategy": 2, "options": {}, "uid": "ScrollToTop-2"}, {"resource": null, "name": "Nags", "id": "nags", "children": [{"resource": null, "name": "NagBase", "extraData": {"type": "upgrade_ie"}, "children": [{"resource": null, "name": "Button", "children": [], "errorStrategy": 2, "options": {"class_name": "nagClose", "borderless": true}, "uid": "Button-17"}], "errorStrategy": 2, "data": {}, "options": {"can_close": true}, "uid": "NagBase-15"}, {"resource": {"name": "UnauthNagResource", "options": {"bookmarks": ["-end-"]}}, "name": "NagUnauth", "id": "unauthNag", "children": [{"resource": null, "name": "NagUnauthPersonal", "id": "nag", "children": [{"resource": null, "name": "JoinButton", "id": "join", "children": [], "errorStrategy": 2, "options": {"class_name": "joinButton unauthNagButton", "text": "Join Pinterest", "element_type": "a", "ga_category": "unauth_nag_join", "color": "primary"}, "uid": "JoinButton-19"}, {"resource": null, "name": "LoginButton", "id": "login", "children": [], "errorStrategy": 2, "options": {"class_name": "loginButton unauthNagButton", "text": "Log in", "element_type": "a", "ga_category": "unauth_nag_login"}, "uid": "LoginButton-20"}], "errorStrategy": 2, "data": {}, "options": {"type": "facepile"}, "uid": "NagUnauthPersonal-18"}], "errorStrategy": 2, "data": {}, "options": {}, "uid": "NagUnauth-16"}], "errorStrategy": 2, "options": {}, "uid": "Nags-3"}, {"resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "bookmarks": ["-end-"], "id": "42925002671436061"}}, "name": "Closeup", "id": "mainModule", "extraData": {"showContextualReg": false, "canEdit": false, "pinUrl": "\/pin\/42925002671436061\/"}, "children": [{"resource": {"name": "PinResource", "options": {"field_set_key": "action_bar", "id": "42925002671436061"}}, "name": "PinActionBar", "id": "actions", "children": [{"resource": null, "name": "ShowModalButton", "id": "pinItButton", "children": [], "errorStrategy": 2, "options": {"submodule": {"error_strategy": 0, "resource": {"name": "PinResource", "options": {"field_set_key": "repin", "id": "42925002671436061"}}, "name": "PinCreate", "options": {"action": "repin", "transparent_modal": false, "is_video": false}}, "primary_on_hover": true, "color": "primary", "text": "Pin it", "extra_options": {}, "log_element_type": 0, "require_auth_params": {"action": "pinit"}, "has_icon": true, "show_text": false, "ga_category": "repin_create_closeup", "class_name": "repin pinActionBarButton", "require_auth": true, "size": "medium"}, "uid": "ShowModalButton-25"}, {"resource": null, "name": "IncrementingNavigateButton", "id": "repinsButton", "extraData": {"actionCount": 0}, "children": [], "errorStrategy": 2, "options": {"color": "primary", "text": 0, "actionCount": 0, "url": "\/pin\/42925002671436061\/repins\/", "siblingButtonId": "pinItButton", "log_element_type": 174, "class_name": "repinLikeNavigateButton pinActionBarButton", "size": "medium"}, "uid": "IncrementingNavigateButton-26"}, {"resource": null, "name": "PinLikeButton", "id": "likeButton", "children": [], "errorStrategy": 2, "options": {"liked": false, "has_icon": true, "text": "Like", "class_name": "like pinActionBarButton", "pin_id": "42925002671436061", "size": "medium"}, "uid": "PinLikeButton-27"}, {"resource": null, "name": "IncrementingNavigateButton", "id": "likesButton", "extraData": {"actionCount": 0}, "children": [], "errorStrategy": 2, "options": {"url": "\/pin\/42925002671436061\/likes\/", "text": 0, "actionCount": 0, "class_name": "repinLikeNavigateButton like pinActionBarButton", "siblingButtonId": "likeButton", "log_element_type": 175, "size": "medium"}, "uid": "IncrementingNavigateButton-28"}, {"resource": null, "name": "NavigateButton", "id": "viewPinSource", "children": [], "errorStrategy": 2, "options": {"log_element_type": 162, "has_icon": true, "text": "Website", "nofollow": true, "url": "http:\/\/www.incredible-pictures.com\/2013\/04\/plaza-mayor-de-valladolid-spain.html#.UWE6-aJpl_M", "element_type": "a", "safe_link": true, "safe_link_pin_id": "42925002671436061", "class_name": "website pinActionBarButton", "size": "medium"}, "uid": "NavigateButton-29"}, {"resource": null, "name": "DropdownButton", "children": [{"resource": null, "name": "Button", "id": "button", "children": [], "errorStrategy": 2, "options": {"class_name": "share pinActionBarButton", "text": "Share", "has_icon": true, "log_element_type": 72, "show_text": false, "size": "medium"}, "uid": "Button-31"}], "errorStrategy": 2, "options": {"dropdown_options": {"largeCaret": true, "position_point": "BOTTOM_RIGHT", "fixed": false, "view_type": "closeupShare"}, "button_options": {"class_name": "share pinActionBarButton", "text": "Share", "has_icon": true, "log_element_type": 72, "show_text": false, "size": "medium"}, "module": {"resource": {"name": "PinResource", "options": {"field_set_key": "closeup_share", "id": "42925002671436061"}}, "name": "PinCloseupShare", "options": {}}}, "uid": "DropdownButton-30"}], "errorStrategy": 3, "data": {}, "options": {"pin_id": "42925002671436061"}, "uid": "PinActionBar-21"}, {"resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "id": "42925002671436061"}}, "name": "CloseupContent", "id": "content", "children": [{"resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "id": "42925002671436061"}}, "name": "Pin", "id": "pin", "children": [{"resource": {"name": "PinResource", "options": {"id": "42925002671436061"}}, "name": "PaddedPin", "children": [], "errorStrategy": 2, "data": {}, "options": {"fixed_width": 736, "image_size": "LARGE"}, "uid": "PaddedPin-33"}, {"resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "id": "42925002671436061"}}, "name": "RichPinBase", "children": [], "errorStrategy": 2, "data": {}, "options": {}, "uid": "RichPinBase-34"}, {"resource": {"name": "PinCommentListResource", "options": {"field_set_key": "pin_detailed", "pin_id": "42925002671436061", "bookmarks": ["-end-"], "page_size": 50}}, "name": "PinCommentList", "id": "commentList", "children": [], "errorStrategy": 2, "options": {"count": 0, "view_type": "detailed", "pin_id": "42925002671436061", "max_num_to_show": 50, "show_actions": true, "image_size": "medium"}, "uid": "PinCommentList-35"}, {"resource": {"name": "UserResource", "options": {"username": "luheca"}}, "name": "User", "children": [], "errorStrategy": 2, "data": {"id": "42925140106809124"}, "options": {"class_name": "pinner", "button_class_name": "closeupBottomView", "url_element_type": 26, "title_text": "Added by", "view_type": "thumb"}, "uid": "User-36"}, {"resource": {"name": "BoardResource", "options": {"field_set_key": "thumb", "board_id": "42925071387372286", "bookmarks": ["-end-"]}}, "name": "Board", "children": [{"resource": null, "name": "BoardFollowButton", "children": [], "errorStrategy": 2, "options": {"board_id": "42925071387372286", "user_id": "42925140106809124", "color": "default", "unfollow_text": "Unfollow", "follow_ga_category": "board_follow", "unfollow_ga_category": "board_unfollow", "disabled": false, "log_element_type": 37, "text": "Follow", "followed": false, "follow_text": "Follow", "follow_class": "default", "is_my_board": false}, "uid": "BoardFollowButton-38"}], "errorStrategy": 2, "data": {}, "options": {"class_name": "boardCredit", "view_type": "closeupBottomView", "subtitle": "Spain (Espa\u00f1a)", "show_follow_button": true, "title": "Added to"}, "uid": "Board-37"}], "errorStrategy": 1, "data": {"domain": "incredible-pictures.com", "related_rich_domain": null, "like_count": 0, "images": {"736x": {"url": "http:\/\/media-cache-ec0.pinimg.com\/736x\/bc\/4a\/23\/bc4a23dfd1d997dc227982dd91c5e9ec.jpg", "width": 428, "height": 640}, "236x": {"url": "http:\/\/media-cache-ec0.pinimg.com\/236x\/bc\/4a\/23\/bc4a23dfd1d997dc227982dd91c5e9ec.jpg", "width": 236, "height": 352}, "orig": {"url": "http:\/\/media-cache-ec0.pinimg.com\/originals\/bc\/4a\/23\/bc4a23dfd1d997dc227982dd91c5e9ec.jpg", "width": 428, "height": 640}}, "related_rich_type": "none", "id": "42925002671436061", "price_currency": "USD", "insertion_id": null, "pinner": {"username": "luheca", "first_name": "Luheca", "domain_verified": false, "twitter_url": null, "image_medium_url": "http:\/\/media-cache-ec0.pinimg.com\/avatars\/luheca-1387103333_75.jpg", "explicitly_followed_by_me": false, "location": "Spain", "full_name": "Luheca Designs", "image_small_url": "http:\/\/media-cache-ec0.pinimg.com\/avatars\/luheca-1387103333_30.jpg", "followed_by_me": false, "type": "user", "id": "42925140106809124"}, "privacy": "public", "comments": {"bookmark": null, "data": [], "uri": "\/v3\/pins\/42925002671436061\/comments\/"}, "access": [], "comment_count": 0, "board": {"category": "holidays_events", "is_collaborative": false, "layout": "default", "name": "Spain (Espa\u00f1a)", "privacy": "public", "url": "\/luheca\/spain-espana\/", "image_cover_url": "http:\/\/media-cache-ec0.pinimg.com\/custom_covers\/200x150\/42925071387372286_1383766538.jpg", "pin_thumbnail_urls": ["http:\/\/media-cache-ak0.pinimg.com\/45x45\/d6\/76\/2f\/d6762f8f4494bacd66be71f490ad1862.jpg", "http:\/\/media-cache-ak0.pinimg.com\/45x45\/ca\/ee\/c9\/caeec9abb5c30872116308f1109b8bbf.jpg", "http:\/\/media-cache-ak0.pinimg.com\/45x45\/c1\/70\/9c\/c1709cc9050f760207bf8542ca7caae3.jpg", "http:\/\/media-cache-ak0.pinimg.com\/45x45\/71\/31\/c9\/7131c9596cf482e6aeb6090ee8f6a97a.jpg", "http:\/\/media-cache-ak0.pinimg.com\/45x45\/9b\/f9\/57\/9bf957c0e4d7601aa7ad9f4119363e20.jpg"], "access": [], "owner": {"id": "42925140106809124"}, "followed_by_me": false, "type": "board", "id": "42925071387372286"}, "related_rich_link": null, "type": "pin", "method": "extension", "attribution": null, "description": "Plaza Mayor de Valladolid, Spain", "price_value": 0.0, "is_playable": false, "rich_metadata": null, "via_pinner": null, "link": "http:\/\/www.incredible-pictures.com\/2013\/04\/plaza-mayor-de-valladolid-spain.html#.UWE6-aJpl_M", "is_repin": true, "liked_by_me": false, "description_html": "Plaza Mayor de Valladolid, Spain", "repin_count": 0, "tracked_link": "http:\/\/www.incredible-pictures.com\/2013\/04\/plaza-mayor-de-valladolid-spain.html#.UWE6-aJpl_M", "created_at": "Mon, 20 May 2013 16:41:46 +0000", "place": null, "embed": null, "is_video": false}, "options": {"pin_id": "42925002671436061", "component_type": 4, "view_type": "detailed"}, "uid": "Pin-32"}], "errorStrategy": 1, "data": {"domain": "incredible-pictures.com", "id": "42925002671436061"}, "options": {}, "uid": "CloseupContent-22"}, {"resource": {"name": "PinResource", "options": {"field_set_key": "closeup_sidebar", "id": "42925002671436061"}}, "name": "CloseupSidebar", "id": "sidebar", "children": [{"resource": {"name": "BoardResource", "options": {"field_set_key": "board_pins_grid", "board_id": "42925071387372286"}}, "name": "Board", "id": "boardGrid", "children": [{"resource": {"name": "UserResource", "options": {"field_set_key": "summary", "bookmarks": ["-end-"], "user_id": "42925140106809124"}}, "name": "User", "children": [], "errorStrategy": 2, "data": {"id": "42925140106809124"}, "options": {"view_type": "thumb", "url": "\/luheca\/spain-espana\/", "show_follow_button": false, "title_text": "Spain (Espa\u00f1a)", "url_element_type": 52, "size": "boardRepTitle"}, "uid": "User-41"}, {"resource": {"name": "BoardFeedResource", "options": {"field_set_key": "board_pins_grid_item", "board_id": "42925071387372286"}}, "name": "Grid", "id": "pinGrid", "children": [], "errorStrategy": 1, "async": true, "options": {"scrollable": true, "show_grid_footer": false, "view_type": "boardPinsGrid", "centered": false, "track_active_item": true, "item_options": {"component_type": 29, "view_type": "boardPinsGrid"}, "layout": "variable_height", "prevent_default_scroll": true, "active_item_id": "42925002671436061"}, "uid": "Grid-42"}, {"resource": null, "name": "BoardFollowButton", "id": "followBoardButton", "children": [], "errorStrategy": 2, "options": {"board_id": "42925071387372286", "followed": false, "class_name": "followBoardButton", "unfollow_text": "Unfollow Board", "follow_ga_category": "board_follow", "unfollow_ga_category": "board_unfollow", "disabled": false, "color": "default", "log_element_type": 37, "text": "Follow Board", "user_id": "42925140106809124", "follow_text": "Follow Board", "follow_class": "default", "is_my_board": null}, "uid": "BoardFollowButton-43"}], "errorStrategy": 1, "data": {"id": "42925071387372286"}, "options": {"scrollable": true, "view_type": "boardPinsGrid", "centered": false, "board_follow_button_options": {"board_id": "42925071387372286", "board_followed_by_me": false, "board_access": [], "board_owner": "42925140106809124"}, "prevent_default_scroll": true, "active_item_id": "42925002671436061"}, "uid": "Board-39"}, {"resource": {"name": "DomainResource", "options": {"domain": "incredible-pictures.com", "bookmarks": ["-end-"]}}, "name": "Domain", "id": "domain", "children": [], "errorStrategy": 2, "data": {}, "options": {}, "uid": "Domain-40"}], "errorStrategy": 3, "data": {"id": "42925002671436061"}, "options": {}, "uid": "CloseupSidebar-23"}, {"resource": null, "name": "CloseupBottom", "id": "bottom", "children": [], "errorStrategy": 2, "options": {"pin_id": "42925002671436061"}, "uid": "CloseupBottom-24"}], "errorStrategy": 0, "data": {}, "options": {"show_reg": null}, "uid": "Closeup-4"}, {"resource": null, "name": "NagNoScript", "extraData": {"type": "no_script"}, "children": [], "errorStrategy": 2, "options": {}, "uid": "NagNoScript-5"}], "deps": ["App", "AppBase", "Header", "ScrollToTop", "Nags", "Closeup", "NagNoScript", "DropdownButton", "ui.SearchForm", "LanguageMenu", "Button", "ButtonBase", "ui.TypeaheadField", "ui.Typeahead", "ui.TypeaheadBase", "NagBase", "NagUnauth", "NagUnauthPersonal", "NagUnauthBase", "JoinButton", "LoginButton", "NavigateButton", "PinActionBar", "CloseupContent", "CloseupSidebar", "CloseupBottom", "ShowModalButton", "IncrementingNavigateButton", "PinLikeButton", "PinLikeButtonBase", "Pin", "PinBase", "PaddedPin", "RichPinBase", "PinCommentList", "User", "Board", "UserBase", "BoardBase", "BoardFollowButton", "ui.FollowButton", "FollowButtonBase", "Domain", "Grid"], "errorStrategy": 2, "attributes": {"class": "App full AppBase Module", "id": "App-6"}, "data": {}, "options": {"module": {"error_strategy": 0, "resource": {"name": "PinResource", "options": {"field_set_key": "detailed", "bookmarks": ["-end-"], "id": "42925002671436061"}}, "name": "Closeup", "options": {"show_reg": null}}}, "uid": "App-6"}, "canDebug": false, "gaAccountNumbers": ["UA-12967896-7"], "canonicalMainDomain": "www.pinterest.com", "isLoggedIn": false, "videojsSwfUrl": "http:\/\/passets-ak.pinterest.com\/webapp\/style\/app\/desktop\/other\/video-js.f483340d.swf"});
622    </script>
Gapps.php https://github.com/zrecore/zf2.git | PHP | 1,992 lines
51/**
52 * Google Apps username. This is the username (without domain) used
53 * to administer your Google Apps account. This value is only
58 */
59define('GAPPS_USERNAME', 'username');
60
288 * @param  boolean          $html        True if output should be formatted for display in a web browser.
289 * @param  string           $username    The username which should be updated
290 * @param  string           $newPassword The new password for the user.
503 * @param  boolean          $html     True if output should be formatted for display in a web browser.
504 * @param  string           $username The username to which the nickname should be assigned.
505 * @param  string           $nickname The name of the nickname to be created.
552 * @param  boolean          $html     True if output should be formatted for display in a web browser.
553 * @param  string           $username The username whose nicknames should be displayed.
554 * @return void
params_wrapper_test.rb https://github.com/zoltan-nz/docrails.git | Ruby | 330 lines
43      post :parse, { 'username' => 'sikachu' }
44      assert_equal @request.filtered_parameters, { 'controller' => 'params_wrapper_test/users', 'action' => 'parse', 'username' => 'sikachu', 'user' => { 'username' => 'sikachu' } }
45    end
51      post :parse, { 'username' => 'sikachu' }
52      assert_parameters({ 'username' => 'sikachu', 'user' => { 'username' => 'sikachu' }})
53    end
163      post :parse, { 'username' => 'sikachu', 'title' => 'Developer' }
164      assert_parameters({ 'username' => 'sikachu', 'title' => 'Developer', 'user' => { 'username' => 'sikachu' }})
165    end
242        post :parse, { 'username' => 'sikachu', 'title' => 'Developer' }
243        assert_parameters({ 'username' => 'sikachu', 'title' => 'Developer', 'user' => { 'username' => 'sikachu' }})
244      end
291      post :parse, { 'username' => 'sikachu' }
292      assert_parameters({ 'username' => 'sikachu', 'guest' => { 'username' => 'sikachu' }})
293    end
views.py https://github.com/zoulema/formhub.git | Python | 1,324 lines
78        return HttpResponseRedirect(
79            reverse(profile, kwargs={'username': request.user.username}))
80    context = RequestContext(request)
736    context.template = 'tutorial.html'
737    username = request.user.username if request.user.username else \
738        'your-user-name'
754    context.a_flatpage = '/about-us/'
755    username = request.user.username if request.user.username else \
756        'your-user-name'
1245        query_args = {
1246            'username': username,
1247            'query': json.loads(request.GET.get('query'))
1300    xform = get_object_or_404(
1301        XForm, user__username=username, id_string=id_string)
1302    owner = xform.user
show.html https://github.com/zoulema/formhub.git | HTML | 661 lines
106        <ul class="inline">
107        {% if user.is_authenticated and content_user.username != user.username and xform.xls|length > 0 and not cloned %}
108            <br/><br/>
109            <li>
110                <a href="" data-url="{% url "main.views.clone_xlsform" xform.user.username %}" data-username="{{ xform.user.username }}" data-id="{{ xform.id_string }}" class="clonexls btn small">{% trans "Clone" %}</a>
111            </li>
412            		<ul>
413            			<p>{% trans "Single SMS Submission" %}<br />[<strong>GET</strong>] <span class="sms_autodoc_example">{{ url_root }}{% url "sms_submission" username=content_user.username %}</span><br />
414							[<strong>GET</strong>] <span class="sms_autodoc_example">{{ url_root }}{% url "sms_submission_form" username=content_user.username id_string=xform.id_string %}</span><br />
417            			<p>{% trans "Multiple SMS Submissions at once" %}<br />[<strong>POST</strong>] <span class="sms_autodoc_example">{{ url_root }}{% url "sms_submissions" username=content_user.username %}</span><br/>
418            				[<strong>POST</strong>] <span class="sms_autodoc_example">{{ url_root }}{% url "sms_submissions_form" username=content_user.username id_string=xform.id_string %}</span><br />
419            				{% trans "Params:" %} <span class="sms_autodoc_params">{"messages": [{"identity": "SENDER PHONE NUMBER", "text": "TEXT MESSAGE"}, ]<br />
460          <div id="delete-{{ xform.id_string }}" class="modal hide fade">
461              <form action="{% url "odk_logger.views.delete_xform" username=user.username id_string=xform.id_string %}" method="post">
462              {% csrf_token %}
test_form_show.py https://github.com/zoulema/formhub.git | Python | 432 lines
46        response = self.client.get(reverse(download_xlsform, kwargs={
47            'username': self.user.username,
48            'id_string': 'exp_one'
58        response = self.anon.get(reverse(download_xlsform, kwargs={
59            'username': self.user.username,
60            'id_string': self.xform.id_string
69        response = self.anon.get(reverse(download_xlsform, kwargs={
70            'username': self.user.username,
71            'id_string': self.xform.id_string
361        xform_delete_url = reverse(delete_xform, kwargs={
362            'username': self.user.username,
363            'id_string': id_string
420        url = reverse(
421            enketo_preview, kwargs={'username': self.user.username,
422                                    'id_string': self.xform.id_string})
views.py https://github.com/zoulema/formhub.git | Python | 736 lines
95def map_view(request, username, id_string, template='map.html'):
96    owner = get_object_or_404(User, username=username)
97    xform = get_object_or_404(XForm, id_string=id_string, user=owner)
106    context.jsonform_url = reverse(download_jsonform,
107                                   kwargs={"username": username,
108                                           "id_string": id_string})
109    context.enketo_edit_url = reverse('edit_data',
110                                      kwargs={"username": username,
111                                              "id_string": id_string,
113    context.enketo_add_url = reverse('enter_data',
114                                     kwargs={"username": username,
115                                             "id_string": id_string})
391            kwargs={
392                'username': username, 'id_string': id_string,
393                'export_type': export_type})
test_exports.py https://github.com/zoulema/formhub.git | Python | 2,024 lines
56    def test_xls_export_list(self):
57        kwargs = {'username': self.user.username,
58                  'id_string': self.xform.id_string,
64    def test_kml_export_list(self):
65        kwargs = {'username': self.user.username,
66                  'id_string': self.xform.id_string,
72    def test_zip_export_list(self):
73        kwargs = {'username': self.user.username,
74                  'id_string': self.xform.id_string,
80    def test_gdoc_export_list(self):
81        kwargs = {'username': self.user.username,
82                  'id_string': self.xform.id_string,
501        export_url = reverse(export_download, kwargs={
502            "username": self.user.username,
503            "id_string": self.xform.id_string,
test2.html https://github.com/zpfclover/s1.git | HTML | 748 lines
277<h2><a href="forum-4-1.html">游戏论坛</a><em class="xw0 xi1" title="今日"> (619)</em></h2>
278<p class="xg2">游戏文化,原创,新闻</p><p>子版块: <a href="forum-97-1.html" >蛋头电玩贩卖区</a>, <a href="forum-102-1.html" >大众软件精华区</a></p><p>版主: <span class="xi2"><a href="space-username-chakane048.html" class="notabs" c="1">chakane048</a>, <a href="space-username-Jokery.html" class="notabs" c="1">Jokery</a>, <a href="space-username-Meltina.html" class="notabs" c="1">Meltina</a>, <a href="space-username-michaelakan.html" class="notabs" c="1">michaelakan</a>, <a href="space-username-sephirothmk2.html" class="notabs" c="1">sephirothmk2</a>, <a href="space-username-oldq.html" class="notabs" c="1">oldq</a></span></p></td>
279<td class="fl_i">
292<h2><a href="forum-135-1.html">手游页游</a><em class="xw0 xi1" title="今日"> (112)</em></h2>
293<p>版主: <span class="xi2"><a href="space-username-Meltina.html" class="notabs" c="1">Meltina</a>, <a href="space-username-Iyx.html" class="notabs" c="1">Iyx</a>, <a href="space-username-%E6%9A%AE%E9%9B%A8%E6%9C%9D%E4%BA%91.html" class="notabs" c="1">暮雨朝云</a>, <a href="space-username-oldq.html" class="notabs" c="1">oldq</a></span></p></td>
294<td class="fl_i">
307<h2><a href="forum-6-1.html">动漫论坛</a><em class="xw0 xi1" title="今日"> (1085)</em></h2>
308<p class="xg2">动漫时尚,动漫乱弹</p><p>子版块: <a href="forum-83-1.html" >动漫投票鉴赏</a>, <a href="forum-130-1.html" >番且炒弹</a></p><p>版主: <span class="xi2"><a href="space-username-hein.html" class="notabs" c="1">hein</a>, <a href="space-username-%E5%B0%8F%E4%BB%93.html" class="notabs" c="1">小仓</a>, <a href="space-username-nil.html" class="notabs" c="1">nil</a>, <a href="space-username-%E5%BC%A5%E5%8B%92.html" class="notabs" c="1">弥勒</a>, <a href="space-username-%E7%94%B0%E6%9C%88.html" class="notabs" c="1">田月</a>, <a href="space-username-%E7%B4%A2%E5%85%B0%E5%A1%94.%E7%BB%87%E5%A7%AC.html" class="notabs" c="1">索兰塔.织姬</a>, <a href="space-username-%E6%98%9F%E7%A9%BA%E5%AF%82.html" class="notabs" c="1">星空寂</a>, <a href="space-username-ymz494.html" class="notabs" c="1">ymz494</a></span></p></td>
309<td class="fl_i">
352<h2><a href="forum-24-1.html">音乐论坛</a><em class="xw0 xi1" title="今日"> (8)</em></h2>
353<p class="xg2">音乐无限,爱乐者的乐园</p><p>版主: <span class="xi2"><a href="space-username-BABY.html" class="notabs" c="1">BABY</a>, <a href="space-username-qyqgpower.html" class="notabs" c="1">qyqgpower</a>, <a href="space-username-SORA.html" class="notabs" c="1">SORA</a>, <a href="space-username-%E9%AC%BC%E4%B8%B8.html" class="notabs" c="1">鬼丸</a></span></p></td>
354<td class="fl_i">
427<h2><a href="forum-75-1.html">外野</a><em class="xw0 xi1" title="今日"> (4058)</em></h2>
428<p class="xg2">囧坛养性,扯淡修身。只谈风月,莫提国事</p><p>子版块: <a href="forum-123-1.html" >吃货</a>, <a href="forum-93-1.html" >火暴</a>, <a href="forum-74-1.html" >马叉虫</a>, <a href="forum-101-1.html" >犭苗犭句</a>, <a href="forum-87-1.html" >圣?战!日&gt;_</a>, <a href="forum-109-1.html" >菠菜</a>, <a href="forum-71-1.html" >火星</a>, <a href="forum-100-1.html" >哥欠</a></p><p>版主: <span class="xi2"><a href="space-username-%E7%94%B0%E6%9C%88.html" class="notabs" c="1">田月</a>, <a href="space-username-%E5%BF%98%E5%B7%9D.html" class="notabs" c="1">忘川</a>, <a href="space-username-%E5%96%9D%E7%BA%A2%E8%8C%B6%E7%9A%84%E6%B4%A5.html" class="notabs" c="1">喝红茶的津</a>, <a href="space-username-john.html" class="notabs" c="1">john</a>, <a href="space-username-%EF%BC%A0.html" class="notabs" c="1">@</a></span></p></td>
429<td class="fl_i">
DataAccessSession.java https://github.com/zphj1987/Cynthia.git | Java | 1,759 lines
63	 */
64	public String getUsername();
65
347	 * @version:v1.0
348	 * @param userName:create user name
349	 * @return
350	 */
351	public Flow createFlow(String userName); 
352
510	 * @version:v1.0
511	 * @param username
512	 * @return
513	 */
514	public Filter[] queryFilters(String username); 
515
DataAccessSessionMemory.java https://github.com/zphj1987/Cynthia.git | Java | 1,586 lines
54	 * @date:2014-5-6 
55	 * @param username
56	 * @param agent
85	{
86		return ScriptAccessFactory.getInstance().createScriptAccessSession(username, keyId);
87	}
98	{
99		return new AttachmentAccessSessionMySQL().createAttachment(name, username, data);
100	}
147	 * <p> Title:queryFilters</p>
148	 * @param username
149	 * @return
1160	 */
1161	public UserInfo queryUserInfoByUserName(String userName) {
1162		return new UserInfoAccessSessionMySQL().queryUserInfoByUserName(userName);
password_tests.js https://github.com/zszbys/meteor.git | JavaScript | 934 lines
26      test.equal(error, undefined);
27      test.equal(Meteor.user().username, someUsername);
28    });
58      Accounts.createUser(
59        {username: this.username, email: this.email, password: this.password},
60        loggedInAs(this.username, test, expect));
259      Accounts.createUser(
260        {username: this.username, password: this.password,
261         // should fail the new user validators
851
852      var userId = Accounts.createUser({username: username});
853
891      Accounts.createUser({
892        username: username,
893        password: 'password'
users_controller_spec.rb https://github.com/ZSIT/discourse.git | Ruby | 1,215 lines
527        Guardian.any_instance.expects(:can_edit_username?).with(user).returns(false)
528        xhr :put, :username, username: user.username, new_username: new_username
529        response.should be_forbidden
533        User.any_instance.expects(:change_username).with(new_username).returns(false)
534        lambda { xhr :put, :username, username: user.username, new_username: new_username }.should raise_error(Discourse::InvalidParameters)
535      end
538        User.any_instance.expects(:change_username).with(new_username).returns(true)
539        xhr :put, :username, username: user.username, new_username: new_username
540        response.should be_success
610      before do
611        xhr :get, :check_username, username: 'bad username'
612      end
621      before do
622        xhr :get, :check_username, username: generate_username(User.username_length.last + 1)
623      end
params_wrapper_test.rb https://github.com/zucaritask/rails.git | Ruby | 362 lines
43      post :parse, { 'username' => 'sikachu' }
44      assert_equal @request.filtered_parameters, { 'controller' => 'params_wrapper_test/users', 'action' => 'parse', 'username' => 'sikachu', 'user' => { 'username' => 'sikachu' } }
45    end
51      post :parse, { 'username' => 'sikachu' }
52      assert_parameters({ 'username' => 'sikachu', 'user' => { 'username' => 'sikachu' }})
53    end
128      post :parse, { 'username' => 'sikachu', 'title' => 'Developer' }
129      assert_parameters({ 'username' => 'sikachu', 'title' => 'Developer', 'user' => { 'username' => 'sikachu', 'title' => 'Developer' }})
130    end
262        post :parse, { 'username' => 'sikachu', 'title' => 'Developer' }
263        assert_parameters({ 'username' => 'sikachu', 'title' => 'Developer', 'user' => { 'username' => 'sikachu' }})
264      end
311      post :parse, { 'username' => 'sikachu' }
312      assert_parameters({ 'username' => 'sikachu', 'guest' => { 'username' => 'sikachu' }})
313    end
DirectoryServicesDirectoryEntryTest.cs https://github.com/ztfuqingvip/mono.git | C# | 1,900 lines
305			Assert.AreEqual(de.UsePropertyCache,true);
306			Assert.AreEqual(de.Username,configuration.Username);
307			}
516			Assert.AreEqual(de.UsePropertyCache,true);
517			Assert.AreEqual(de.Username,configuration.Username);
518			}
1411			de.Username = wrongUsername;
1412			Assert.AreEqual(de.Username,wrongUsername);
1413
1419
1420			de.Username = configuration.Username;
1421			Assert.AreEqual(de.Username,configuration.Username);
1426			de.Username = wrongUsername;
1427			Assert.AreEqual(de.Username,wrongUsername);
1428		}
SqlMembershipProvider.cs https://github.com/ztfuqingvip/mono.git | C# | 1,241 lines
127		{
128			if (username != null) username = username.Trim ();
129			if (oldPwd != null) oldPwd = oldPwd.Trim ();
174		{
175			if (username != null) username = username.Trim ();
176			if (newPwdQuestion != null) newPwdQuestion = newPwdQuestion.Trim ();
221		{
222			if (username != null) username = username.Trim ();
223			if (password != null) password = password.Trim ();
228			/* some initial validation */
229			if (username == null || username.Length == 0 || username.Length > 256 || username.IndexOf (',') != -1) {
230				status = MembershipCreateStatus.InvalidUserName;
555				AddParameter (command, "@ApplicationName", ApplicationName);
556				AddParameter (command, "@UserName", username);
557				AddParameter (command, "@MaxInvalidPasswordAttempts", MaxInvalidPasswordAttempts);
SqliteMembershipProvider.cs https://github.com/ztfuqingvip/mono.git | C# | 1,639 lines
262				{
263					dbCommand.CommandText = string.Format("UPDATE \"{0}\" SET \"Password\" = @Password, \"LastPasswordChangedDate\" = @LastPasswordChangedDate WHERE \"Username\" = @Username AND  \"ApplicationName\" = @ApplicationName", m_TableName);
264
266					AddParameter (dbCommand,"@LastPasswordChangedDate", DateTime.Now);
267					AddParameter (dbCommand,"@Username", username);
268					AddParameter (dbCommand,"@ApplicationName", m_ApplicationName);
625				{
626					dbCommand.CommandText = string.Format("SELECT \"pId\", \"Username\", \"Email\", \"PasswordQuestion\", \"Comment\", \"IsApproved\", \"IsLockedOut\", \"CreationDate\", \"LastLoginDate\", \"LastActivityDate\", \"LastPasswordChangedDate\", \"LastLockedOutDate\" FROM \"{0}\" WHERE \"Username\" LIKE @Username AND \"ApplicationName\" = @ApplicationName ORDER BY \"Username\" ASC LIMIT @MaxCount OFFSET @StartIndex", m_TableName);
627
870				{
871					dbCommand.CommandText = string.Format("SELECT \"pId\", \"Username\", \"Email\", \"PasswordQuestion\", \"Comment\", \"IsApproved\", \"IsLockedOut\", \"CreationDate\", \"LastLoginDate\", \"LastActivityDate\", \"LastPasswordChangedDate\", \"LastLockedOutDate\" FROM \"{0}\" WHERE \"Username\" = @Username AND \"ApplicationName\" = @ApplicationName", m_TableName);
872
1059				{
1060					dbCommand.CommandText = string.Format("SELECT \"PasswordAnswer\", \"IsLockedOut\" FROM \"{0}\" WHERE \"Username\" = @Username AND \"ApplicationName\" = @ApplicationName", m_TableName);
1061
SqlMembershipProvider.cs https://github.com/ztfuqingvip/mono.git | C# | 1,795 lines
260		{
261			if (username != null) username = username.Trim ();
262			if (oldPwd != null) oldPwd = oldPwd.Trim ();
335		{
336			if (username != null) username = username.Trim ();
337			if (newPwdQuestion != null) newPwdQuestion = newPwdQuestion.Trim ();
418		{
419			if (username != null) username = username.Trim ();
420			if (password != null) password = password.Trim ();
425			/* some initial validation */
426			if (username == null || username.Length == 0 || username.Length > 256 || username.IndexOf (",") != -1) {
427				status = MembershipCreateStatus.InvalidUserName;
1266
1267			CheckParam ("username", username, 256);
1268			if (RequiresQuestionAndAnswer)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21