├── src ├── .gitignore ├── assets │ ├── services.js │ ├── views │ │ ├── profile │ │ │ ├── profile.packages.php │ │ │ ├── home.php │ │ │ └── profile.packages.list.php │ │ ├── home │ │ │ └── home.html │ │ └── users │ │ │ ├── home.php │ │ │ └── module.js │ ├── initialize.js │ ├── app.js │ ├── commons │ │ ├── tabcontroller.js │ │ └── utils.js │ ├── css │ │ └── style.css │ └── route.js ├── data │ ├── db │ │ └── .gitkeep │ ├── packages │ │ └── .gitkeep │ └── .htaccess ├── inc │ ├── .htaccess │ ├── PHPMailer │ │ ├── VERSION │ │ ├── examples │ │ │ ├── contents.html │ │ │ ├── images │ │ │ │ ├── phpmailer.png │ │ │ │ └── phpmailer_mini.png │ │ │ ├── styles │ │ │ │ ├── wrapping.png │ │ │ │ ├── shThemeAppleScript.css │ │ │ │ ├── shThemeEmacs.css │ │ │ │ ├── shThemeMDUltra.css │ │ │ │ ├── shThemeRDark.css │ │ │ │ ├── shThemeMidnight.css │ │ │ │ ├── shThemeDefault.css │ │ │ │ ├── shThemeVisualStudio.css │ │ │ │ ├── shThemeFadeToGrey.css │ │ │ │ ├── shThemeDjango.css │ │ │ │ └── shThemeEclipse.css │ │ │ ├── contentsutf8.html │ │ │ ├── mail.phps │ │ │ ├── sendmail.phps │ │ │ ├── smtp_check.phps │ │ │ ├── exceptions.phps │ │ │ ├── send_file_upload.phps │ │ │ ├── smtp_no_auth.phps │ │ │ ├── smtp.phps │ │ │ ├── ssl_options.phps │ │ │ ├── pop_before_smtp.phps │ │ │ ├── gmail.phps │ │ │ ├── mailing_list.phps │ │ │ ├── gmail_xoauth.phps │ │ │ └── scripts │ │ │ │ └── shAutoloader.js │ │ ├── .gitignore │ │ ├── docs │ │ │ ├── generatedocs.sh │ │ │ ├── Callback_function_notes.txt │ │ │ ├── Note_for_SMTP_debugging.txt │ │ │ ├── faq.html │ │ │ └── DomainKeys_notes.txt │ │ ├── .travis.yml │ │ ├── travis.phpunit.xml.dist │ │ ├── composer.json │ │ ├── PHPMailerAutoload.php │ │ ├── class.phpmaileroauthgoogle.php │ │ └── get_oauth_token.php │ ├── dbversion.php │ ├── setup │ │ ├── htaccess.root │ │ ├── _04_finishsetup.php │ │ ├── ManagedFusion.Rewriter.txt.root │ │ ├── fromtxttomysql.php │ │ ├── settings.php.template │ │ ├── _03_importpackages.php │ │ ├── webconfignophpexe.root │ │ ├── htaccess.v3 │ │ ├── ManagedFusion.Rewriter.txt.v3 │ │ └── updatetxt.3.0.0.0.php │ ├── db_usersentity.php │ ├── gallerycontroller.php │ ├── commons │ │ ├── path.php │ │ ├── http.php │ │ ├── xmlutils.php │ │ └── apibase.php │ ├── gerfen │ │ └── usage.php │ ├── downloadcount.php │ ├── db_nugetpackagesentity.php │ └── partials │ │ ├── _singleprofile.php │ │ └── _logon.php ├── scripts │ ├── spin.min.js │ ├── spinner.gif │ └── angular │ │ ├── angular-cookies.min.js │ │ ├── angular-ui │ │ ├── ui-utils-ieshiv.min.js │ │ └── ui-utils-ieshiv.js │ │ └── angular-resource.min.js ├── api │ ├── v1 │ │ ├── entrytemplatepost.xml │ │ ├── root.xml │ │ ├── entrytemplatepre.xml │ │ └── index.php │ ├── v2 │ │ ├── entrytemplatepost.xml │ │ ├── root.xml │ │ ├── entrytemplatepre.xml │ │ ├── index.php │ │ ├── caller.php │ │ └── entrytemplate.xml │ ├── packages │ │ └── index.php │ ├── v3 │ │ └── index.php │ ├── users │ │ └── index.php │ └── index.php ├── vendor │ ├── forxer │ │ └── gravatar │ │ │ ├── .gitignore │ │ │ ├── src │ │ │ └── Exception │ │ │ │ ├── InvalidImageSizeException.php │ │ │ │ ├── InvalidDefaultImageException.php │ │ │ │ ├── InvalidProfileFormatException.php │ │ │ │ ├── InvalidImageExtensionException.php │ │ │ │ └── InvalidMaxRatingImageException.php │ │ │ ├── composer.json │ │ │ ├── license │ │ │ └── changelog.md │ ├── autoload.php │ └── composer │ │ ├── autoload_classmap.php │ │ ├── autoload_namespaces.php │ │ ├── autoload_psr4.php │ │ ├── autoload_static.php │ │ ├── LICENSE │ │ ├── installed.json │ │ └── autoload_real.php ├── tests │ └── index.php ├── composer.phar ├── favicon.ico ├── favicon.png ├── bin │ └── ManagedFusion.Rewriter.dll ├── content │ └── packagedefaulticon-50x50.png ├── composer.json ├── root.php ├── _footer.php ├── packages │ └── index.php ├── setup.php ├── settings.sample.php ├── sample.web.config ├── composer.lock ├── upload │ └── index.php └── _header.php ├── tests ├── testdb.zip ├── index.php ├── commons │ ├── objectsearch_3_parse.php │ └── objectsearch_5_execute.php ├── inc │ ├── phpnugetobjectsearchtest.php │ └── phpnugetobjectsearchtest_execute.php └── engine │ └── assert.php ├── nuget_exes ├── NuGet.2.8.exe ├── NuGet.3.4.exe ├── NuGet.3.5.exe ├── NuGet.5.0.exe ├── Moq.4.5.28.nupkg ├── NLog.4.3.0.nupkg ├── Hebrew.1.0.0.nupkg ├── NoRelease.1.0.0.nupkg ├── newtonsoft.json.12.0.2.nupkg ├── newtonsoft.json.12.0.2.symbols.nupkg └── EPG.CommonLibrary.1.1.21.7096.symbols.nupkg ├── NugetTesterApplication ├── .nuget │ ├── NuGet.exe │ └── NuGet.Config ├── samples │ ├── APack.1.0.0.1.nupkg │ ├── APack.1.0.0.12.nupkg │ ├── APack.1.0.0.13.nupkg │ ├── APack.1.0.0.2.nupkg │ ├── APack.1.0.0.3.nupkg │ ├── MyPackage.3.0.0-alpha4CMT.nupkg │ ├── MyPackage.3.0.0-beta-1-1CMT.nupkg │ ├── Microsoft.AspNet.WebPages.Data.3.2.0.nupkg │ ├── Microsoft.AspNet.WebPages.Data.3.2.2.nupkg │ ├── Microsoft.AspNet.WebPages.Data.3.2.3.nupkg │ ├── NUnitTestAdapter.WithFramework.2.0.0.nupkg │ └── Microsoft.AspNet.WebPages.Data.3.2.3-beta1.nupkg ├── NugetTesterApplication │ ├── Common │ │ ├── TestSetup.cs │ │ ├── TestCleanup.cs │ │ ├── TestMethod.cs │ │ ├── TestClassSetup.cs │ │ ├── TestClassCleanup.cs │ │ ├── NugetResult.cs │ │ ├── TestIgnore.cs │ │ └── StringExtension.cs │ ├── packages.config │ ├── Tests │ │ ├── NugetVersionTest.cs │ │ ├── DefaultApi.cs │ │ └── NugetBasicViaCommand.cs │ ├── App.config │ └── Properties │ │ └── AssemblyInfo.cs ├── NugetTesterApplication.sln └── .gitignore ├── test.bat ├── LICENSE.md └── .gitignore /src/.gitignore: -------------------------------------------------------------------------------- 1 | .htaccess -------------------------------------------------------------------------------- /src/assets/services.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/db/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/packages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /src/inc/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /src/inc/PHPMailer/VERSION: -------------------------------------------------------------------------------- 1 | 5.2.13 -------------------------------------------------------------------------------- /src/scripts/spin.min.js: -------------------------------------------------------------------------------- 1 | //FIller -------------------------------------------------------------------------------- /src/api/v1/entrytemplatepost.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/api/v2/entrytemplatepost.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vendor/forxer/gravatar/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | -------------------------------------------------------------------------------- /src/assets/views/profile/profile.packages.php: -------------------------------------------------------------------------------- 1 |
2 |
-------------------------------------------------------------------------------- /src/tests/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/inc/dbversion.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/composer.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/composer.phar -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/favicon.png -------------------------------------------------------------------------------- /tests/testdb.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/tests/testdb.zip -------------------------------------------------------------------------------- /nuget_exes/NuGet.2.8.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/NuGet.2.8.exe -------------------------------------------------------------------------------- /nuget_exes/NuGet.3.4.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/NuGet.3.4.exe -------------------------------------------------------------------------------- /nuget_exes/NuGet.3.5.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/NuGet.3.5.exe -------------------------------------------------------------------------------- /nuget_exes/NuGet.5.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/NuGet.5.0.exe -------------------------------------------------------------------------------- /src/scripts/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/scripts/spinner.gif -------------------------------------------------------------------------------- /nuget_exes/Moq.4.5.28.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/Moq.4.5.28.nupkg -------------------------------------------------------------------------------- /nuget_exes/NLog.4.3.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/NLog.4.3.0.nupkg -------------------------------------------------------------------------------- /nuget_exes/Hebrew.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/Hebrew.1.0.0.nupkg -------------------------------------------------------------------------------- /nuget_exes/NoRelease.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/NoRelease.1.0.0.nupkg -------------------------------------------------------------------------------- /src/bin/ManagedFusion.Rewriter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/bin/ManagedFusion.Rewriter.dll -------------------------------------------------------------------------------- /NugetTesterApplication/.nuget/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/.nuget/NuGet.exe -------------------------------------------------------------------------------- /nuget_exes/newtonsoft.json.12.0.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/newtonsoft.json.12.0.2.nupkg -------------------------------------------------------------------------------- /src/content/packagedefaulticon-50x50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/content/packagedefaulticon-50x50.png -------------------------------------------------------------------------------- /src/inc/PHPMailer/examples/contents.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/inc/PHPMailer/examples/contents.html -------------------------------------------------------------------------------- /src/inc/PHPMailer/.gitignore: -------------------------------------------------------------------------------- 1 | docs/phpdoc/ 2 | test/message.txt 3 | test/testbootstrap.php 4 | test/*.pem 5 | .idea 6 | build/ 7 | vendor/ 8 | -------------------------------------------------------------------------------- /nuget_exes/newtonsoft.json.12.0.2.symbols.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/newtonsoft.json.12.0.2.symbols.nupkg -------------------------------------------------------------------------------- /src/inc/PHPMailer/examples/images/phpmailer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/inc/PHPMailer/examples/images/phpmailer.png -------------------------------------------------------------------------------- /src/inc/PHPMailer/examples/styles/wrapping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/inc/PHPMailer/examples/styles/wrapping.png -------------------------------------------------------------------------------- /NugetTesterApplication/samples/APack.1.0.0.1.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/APack.1.0.0.1.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/APack.1.0.0.12.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/APack.1.0.0.12.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/APack.1.0.0.13.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/APack.1.0.0.13.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/APack.1.0.0.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/APack.1.0.0.2.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/APack.1.0.0.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/APack.1.0.0.3.nupkg -------------------------------------------------------------------------------- /src/inc/PHPMailer/examples/images/phpmailer_mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/src/inc/PHPMailer/examples/images/phpmailer_mini.png -------------------------------------------------------------------------------- /nuget_exes/EPG.CommonLibrary.1.1.21.7096.symbols.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/nuget_exes/EPG.CommonLibrary.1.1.21.7096.symbols.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/MyPackage.3.0.0-alpha4CMT.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/MyPackage.3.0.0-alpha4CMT.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/MyPackage.3.0.0-beta-1-1CMT.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/MyPackage.3.0.0-beta-1-1CMT.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.0.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.2.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.3.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/NUnitTestAdapter.WithFramework.2.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/NUnitTestAdapter.WithFramework.2.0.0.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.3-beta1.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kendarorg/PhpNuget/HEAD/NugetTesterApplication/samples/Microsoft.AspNet.WebPages.Data.3.2.3-beta1.nupkg -------------------------------------------------------------------------------- /NugetTesterApplication/.nuget/NuGet.Config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/inc/setup/htaccess.root: -------------------------------------------------------------------------------- 1 | RewriteEngine On 2 | 3 | RewriteBase / 4 | 5 | 6 | #API V1 7 | 8 | @HtAccess.V1@ 9 | 10 | #API V2 11 | 12 | @HtAccess.V2@ 13 | 14 | #API V3 15 | 16 | @HtAccess.V3@ 17 | 18 | #Commons 19 | -------------------------------------------------------------------------------- /src/vendor/autoload.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/inc/setup/_04_finishsetup.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | -------------------------------------------------------------------------------- /src/inc/setup/ManagedFusion.Rewriter.txt.root: -------------------------------------------------------------------------------- 1 | RewriteEngine On 2 | 3 | RewriteBase / 4 | 5 | 6 | #API V1 7 | 8 | @ManagedFusion.Rewriter.V1@ 9 | 10 | #API V2 11 | 12 | @ManagedFusion.Rewriter.V2@ 13 | 14 | #API V3 15 | 16 | @ManagedFusion.Rewriter.V3@ 17 | 18 | #Commons 19 | -------------------------------------------------------------------------------- /src/vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/forxer/gravatar/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /src/_footer.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | Copyright 2001-2015 Kendar.org, Version: 5 |
6 |
7 |
-------------------------------------------------------------------------------- /src/assets/initialize.js: -------------------------------------------------------------------------------- 1 | 2 | app.config(["pathHelperProvider", function(pathHelperProvider) { 3 | var pathName = window.location.pathname.rtrim("/").ltrim("/"); 4 | var pathNameApi = pathName+"/api"; 5 | 6 | pathHelperProvider.setupApiPath(pathNameApi); 7 | pathHelperProvider.setupRootPath(pathName); 8 | }]); -------------------------------------------------------------------------------- /src/api/v1/root.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Default 4 | Packages -------------------------------------------------------------------------------- /src/api/v2/root.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Default 4 | Packages -------------------------------------------------------------------------------- /src/assets/views/home/home.html: -------------------------------------------------------------------------------- 1 |

What is NuGet?

2 | 3 | NuGet is the package manager for the Microsoft development platform 4 | including .NET. The NuGet client tools provide the ability to produce 5 | and consume packages. The NuGet Gallery is the central package 6 | repository used by all package authors and consumers. -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Common/TestSetup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NugetTesterApplication.Common 8 | { 9 | public class TestSetup:Attribute 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Common/TestCleanup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NugetTesterApplication.Common 8 | { 9 | public class TestCleanup:Attribute 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Common/TestMethod.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NugetTesterApplication.Common 8 | { 9 | public class TestMethod:Attribute 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Common/TestClassSetup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NugetTesterApplication.Common 8 | { 9 | public class TestClassSetup:Attribute 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Common/TestClassCleanup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NugetTesterApplication.Common 8 | { 9 | public class TestClassCleanup:Attribute 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/assets/app.js: -------------------------------------------------------------------------------- 1 | 2 | var app = angular.module('phpNugetApp', 3 | ['ui.router'] 4 | ); 5 | 6 | app.run(function($rootScope) { 7 | $rootScope.cleanUpUrl = function(url) 8 | { 9 | var realUrl = ""; 10 | var hashPos = url.indexOf('#'); 11 | if(hashPos>0){ 12 | realUrl = url.substring(hashPos+1); 13 | } 14 | return url.substring(0,url.indexOf("?"))+realUrl; 15 | }; 16 | }) 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/api/packages/index.php: -------------------------------------------------------------------------------- 1 | Execute("getbyquery"); 11 | else 12 | @$api->Execute(); 13 | ?> -------------------------------------------------------------------------------- /src/inc/db_usersentity.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Common/NugetResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NugetTesterApplication.Common 8 | { 9 | public class NugetResult 10 | { 11 | public string Output { get; set; } 12 | 13 | public string Error { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/v1/entrytemplatepre.xml: -------------------------------------------------------------------------------- 1 | 5 | @BASEURL@/api/v1/Packages 6 | Packages 7 | 2014-08-27T11:33:16Z 8 | -------------------------------------------------------------------------------- /src/api/v1/index.php: -------------------------------------------------------------------------------- 1 | Initialize(dirname(__FILE__)); 11 | $api->Execute(); 12 | 13 | HttpUtils::ApiError(404,"Not found"); 14 | ?> -------------------------------------------------------------------------------- /src/assets/commons/tabcontroller.js: -------------------------------------------------------------------------------- 1 | 2 | app.controller('tabController', ['$scope','$location', 3 | function($scope,$location){ 4 | $scope.activeTab = 0; 5 | 6 | $scope.onClickTab = function(activeTab){ 7 | $scope.activeTab = activeTab; 8 | }; 9 | 10 | $scope.getActive = function(val,partialPath){ 11 | if($location.path().indexOf(partialPath)>=0) { 12 | $scope.activeTab = val; 13 | } 14 | if(val == $scope.activeTab) return "active"; 15 | return ""; 16 | } 17 | } 18 | ]); -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Common/TestIgnore.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NugetTesterApplication.Common 8 | { 9 | public class TestIgnore:Attribute 10 | { 11 | public TestIgnore(string msg) 12 | { 13 | Message = msg; 14 | } 15 | 16 | public string Message { get; private set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/inc/setup/fromtxttomysql.php: -------------------------------------------------------------------------------- 1 | Query(); 7 | 8 | $db = new UserDb(); 9 | $allUsers= $db->Query(); 10 | 11 | $dbfactory = "newMySqlDb"; 12 | 13 | $db = new NuGetDb(); 14 | foreach($allPackages as $package){ 15 | $db->AddRow($package,false); 16 | } 17 | $db = new UserDb(); 18 | foreach($allUsers as $user){ 19 | $db->AddRow($user,false); 20 | } 21 | 22 | ?> -------------------------------------------------------------------------------- /src/api/v3/index.php: -------------------------------------------------------------------------------- 1 | Initialize(dirname(__FILE__)); 12 | $api->Execute(); 13 | 14 | HttpUtils::ApiError(404,"Not found"); 15 | ?> -------------------------------------------------------------------------------- /src/inc/gallerycontroller.php: -------------------------------------------------------------------------------- 1 | Query(null,Settings::$ResultsPerPage); 16 | } 17 | return array(); 18 | } 19 | } 20 | ?> -------------------------------------------------------------------------------- /src/inc/commons/path.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/api/v2/entrytemplatepre.xml: -------------------------------------------------------------------------------- 1 | 7 | http://schemas.datacontract.org/2004/07/ 8 | Packages 9 | @ITEMSCOUNT@ 10 | 2014-08-27T11:33:16Z 11 | -------------------------------------------------------------------------------- /src/inc/gerfen/usage.php: -------------------------------------------------------------------------------- 1 | 0) { 13 | foreach($_FILES as $key => $value) { 14 | if (!is_uploaded_file($value['tmp_name'])) { 15 | rename($value['tmp_name'], '/path/to/uploads/'.$value['name']); 16 | } else { 17 | move_uploaded_file($value['tmp_name'], '/path/to/uploads/'.$value['name']); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/users/index.php: -------------------------------------------------------------------------------- 1 | Admin){ 9 | $uid = UrlUtils::GetRequestParam("UserId"); 10 | if($uid!=$loginController->UserId){ 11 | HttpUtils::ApiError(500,"Unauthorized"); 12 | } 13 | } 14 | $api = new UsersApi(); 15 | $id = UrlUtils::GetRequestParamOrDefault("UserId","get"); 16 | $api->Execute(); 17 | ?> -------------------------------------------------------------------------------- /NugetTesterApplication/NugetTesterApplication/Tests/NugetVersionTest.cs: -------------------------------------------------------------------------------- 1 | using NugetTesterApplication.Common; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace NugetTesterApplication.Tests 9 | { 10 | public class NugetVersionTest:TestBase 11 | { 12 | [TestMethod] 13 | public void VerifyVersion() 14 | { 15 | var res = this.RunNuget(); 16 | Assert(res.Output.Contains("NuGet Version: 2.8"),"Wrong version"); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/inc/PHPMailer/docs/generatedocs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Regenerate PHPMailer documentation 3 | # Run from within the docs folder 4 | rm -rf phpdoc/* 5 | phpdoc --directory .. --target ./phpdoc --ignore test/,examples/,extras/,test_script/,vendor/,language/ --sourcecode --force --title PHPMailer --template="clean" 6 | # You can merge regenerated docs into a separate docs working copy without messing up the git status like so: 7 | # rsync -a --delete --exclude ".git" --exclude "phpdoc-cache-*/" --exclude "README.md" phpdoc/ ../../phpmailer-docs 8 | # After updating docs, push/PR them to the phpmailer gh-pages branch: https://github.com/PHPMailer/PHPMailer/tree/gh-pages 9 | -------------------------------------------------------------------------------- /src/vendor/forxer/gravatar/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "forxer/gravatar", 3 | "description" : "A library providing easy gravatar integration.", 4 | "keywords" : [ 5 | "gravatar" 6 | ], 7 | "type" : "library", 8 | "license" : "MIT", 9 | "authors" : [{ 10 | "name" : "Vincent Garnier", 11 | "email" : "forxer@gmail.org", 12 | "homepage" : "http://forx.fr" 13 | } 14 | ], 15 | "require" : { 16 | "php" : ">=5.4.0" 17 | }, 18 | "autoload" : { 19 | "psr-4" : { 20 | "forxer\\Gravatar\\" : "src" 21 | } 22 | }, 23 | "minimum-stability" : "dev", 24 | "support" : { 25 | "issues" : "https://github.com/forxer/gravatar/issues", 26 | "email" : "forxer@gmail.com" 27 | } 28 | } -------------------------------------------------------------------------------- /src/inc/PHPMailer/docs/Callback_function_notes.txt: -------------------------------------------------------------------------------- 1 | NEW CALLBACK FUNCTION: 2 | ====================== 3 | 4 | We have had requests for a method to process the results of sending emails 5 | through PHPMailer. In this new release, we have implemented a callback 6 | function that passes the results of each email sent (to, cc, and/or bcc). 7 | We have provided an example that echos the results back to the screen. The 8 | callback function can be used for any purpose. With minor modifications, the 9 | callback function can be used to create CSV logs, post results to databases, 10 | etc. 11 | 12 | Please review the test.php script for the example. 13 | 14 | It's pretty straight forward. 15 | 16 | Enjoy! 17 | Andy 18 | -------------------------------------------------------------------------------- /src/assets/views/profile/home.php: -------------------------------------------------------------------------------- 1 | UnauthorizedIfNotLoggedIn(); 5 | ?> 6 |
7 | 12 |
13 |
14 |
15 |
16 | -------------------------------------------------------------------------------- /src/packages/index.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
15 | 16 | 17 | 18 |
19 | 22 | -------------------------------------------------------------------------------- /src/scripts/angular/angular-cookies.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | AngularJS v1.2.21 3 | (c) 2010-2014 Google, Inc. http://angularjs.org 4 | License: MIT 5 | */ 6 | (function(p,f,n){'use strict';f.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(e,b){var c={},g={},h,k=!1,l=f.copy,m=f.isUndefined;b.addPollFn(function(){var a=b.cookies();h!=a&&(h=a,l(a,g),l(a,c),k&&e.$apply())})();k=!0;e.$watch(function(){var a,d,e;for(a in g)m(c[a])&&b.cookies(a,n);for(a in c)d=c[a],f.isString(d)||(d=""+d,c[a]=d),d!==g[a]&&(b.cookies(a,d),e=!0);if(e)for(a in d=b.cookies(),c)c[a]!==d[a]&&(m(d[a])?delete c[a]:c[a]=d[a])});return c}]).factory("$cookieStore", 7 | ["$cookies",function(e){return{get:function(b){return(b=e[b])?f.fromJson(b):b},put:function(b,c){e[b]=f.toJson(c)},remove:function(b){delete e[b]}}}])})(window,window.angular); 8 | //# sourceMappingURL=angular-cookies.min.js.map 9 | -------------------------------------------------------------------------------- /src/inc/PHPMailer/examples/contentsutf8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PHPMailer Test 6 | 7 | 8 |
9 |

This is a test of PHPMailer.

10 |
11 | PHPMailer rocks 12 |
13 |

This example uses HTML.

14 |

Chinese text: 郵件內容為空

15 |

Russian text: Пустое тело сообщения

16 |

Armenian text: Հաղորդագրությունը դատարկ է

17 |

Czech text: Prázdné tělo zprávy

18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /tests/index.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | Test results 9 |