├── 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 |
This example uses HTML.
14 |Chinese text: 郵件內容為空
15 |Russian text: Пустое тело сообщения
16 |Armenian text: Հաղորդագրությունը դատարկ է
17 |Czech text: Prázdné tělo zprávy
18 || 15 | | Package Id | 16 |Version | 17 |Authors | 18 |
|---|---|---|---|
| {{package.Title}} | 26 |{{package.Version}} | 27 |{{package.Author}} | 28 ||
| 31 | | 32 | | 33 | | 34 | |
| User Id | 17 |Enabled | 18 |Admin | 19 |20 | |
|---|---|---|---|
|
26 |
27 | |
33 | {{user.Enabled}} | 34 |{{user.Admin}} | 35 |36 | |
window.myCustomTags
13 |
14 | //
20 |
21 | (function (window, document) {
22 | "use strict";
23 |
24 | var tags = [ "ngInclude", "ngPluralize", "ngView", "ngSwitch", "uiCurrency", "uiCodemirror", "uiDate", "uiEvent",
25 | "uiKeypress", "uiKeyup", "uiKeydown", "uiMask", "uiMapInfoWindow", "uiMapMarker", "uiMapPolyline",
26 | "uiMapPolygon", "uiMapRectangle", "uiMapCircle", "uiMapGroundOverlay", "uiModal", "uiReset",
27 | "uiScrollfix", "uiSelect2", "uiShow", "uiHide", "uiToggle", "uiSortable", "uiTinymce"
28 | ];
29 |
30 | window.myCustomTags = window.myCustomTags || []; // externally defined by developer using angular-ui directives
31 | tags.push.apply(tags, window.myCustomTags);
32 |
33 | var toCustomElements = function (str) {
34 | var result = [];
35 | var dashed = str.replace(/([A-Z])/g, function ($1) {
36 | return " " + $1.toLowerCase();
37 | });
38 | var tokens = dashed.split(" ");
39 |
40 | // If a token is just a single name (i.e. no namespace) then we juse define the elements the name given
41 | if (tokens.length === 1) {
42 | var name = tokens[0];
43 |
44 | result.push(name);
45 | result.push("x-" + name);
46 | result.push("data-" + name);
47 | } else {
48 | var ns = tokens[0];
49 | var dirname = tokens.slice(1).join("-");
50 |
51 | // this is finite list and it seemed senseless to create a custom method
52 | result.push(ns + ":" + dirname);
53 | result.push(ns + "-" + dirname);
54 | result.push("x-" + ns + "-" + dirname);
55 | result.push("data-" + ns + "-" + dirname);
56 | }
57 | return result;
58 | };
59 |
60 | for (var i = 0, tlen = tags.length; i < tlen; i++) {
61 | var customElements = toCustomElements(tags[i]);
62 | for (var j = 0, clen = customElements.length; j < clen; j++) {
63 | var customElement = customElements[j];
64 | document.createElement(customElement);
65 | }
66 | }
67 |
68 | })(window, document);
69 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | #################
2 | ## Eclipse
3 | #################
4 | .idea/
5 | *.pydevproject
6 | .project
7 | .metadata
8 | tmp/
9 | *.tmp
10 | *.bak
11 | *.swp
12 | *~.nib
13 | local.properties
14 | .classpath
15 | .settings/
16 | .loadpath
17 |
18 | # settings and user data
19 | src/settings.php
20 | src/web.config
21 | src/ManagedFusion.Rewriter.txt
22 | src/data/db/*.txt
23 | src/data/packages/*.nupkg
24 | src/data/packages/*.snupkg
25 |
26 | # External tool builders
27 | .externalToolBuilders/
28 |
29 | # Locally stored "Eclipse launch configurations"
30 | *.launch
31 |
32 | # CDT-specific
33 | .cproject
34 |
35 | # PDT-specific
36 | .buildpath
37 |
38 |
39 | #################
40 | ## Visual Studio
41 | #################
42 |
43 | ## Ignore Visual Studio temporary files, build results, and
44 | ## files generated by popular Visual Studio add-ons.
45 |
46 | # User-specific files
47 | *.suo
48 | *.user
49 | *.sln.docstates
50 |
51 | # Build results
52 | [Dd]ebug/
53 | [Rr]elease/
54 | *_i.c
55 | *_p.c
56 | *.ilk
57 | *.meta
58 | *.obj
59 | *.pch
60 | *.pdb
61 | *.pgc
62 | *.pgd
63 | *.rsp
64 | *.sbr
65 | *.tlb
66 | *.tli
67 | *.tlh
68 | *.tmp
69 | *.vspscc
70 | .builds
71 | *.dotCover
72 |
73 | ## TODO: If you have NuGet Package Restore enabled, uncomment this
74 | #packages/
75 |
76 | # Visual C++ cache files
77 | ipch/
78 | *.aps
79 | *.ncb
80 | *.opensdf
81 | *.sdf
82 |
83 | # Visual Studio profiler
84 | *.psess
85 | *.vsp
86 |
87 | # ReSharper is a .NET coding add-in
88 | _ReSharper*
89 |
90 | # Installshield output folder
91 | [Ee]xpress
92 |
93 | # DocProject is a documentation generator add-in
94 | DocProject/buildhelp/
95 | DocProject/Help/*.HxT
96 | DocProject/Help/*.HxC
97 | DocProject/Help/*.hhc
98 | DocProject/Help/*.hhk
99 | DocProject/Help/*.hhp
100 | DocProject/Help/Html2
101 | DocProject/Help/html
102 |
103 | # Click-Once directory
104 | publish
105 |
106 | # Others
107 | [Bb]in
108 | [Oo]bj
109 | sql
110 | TestResults
111 | *.Cache
112 | ClientBin
113 | stylecop.*
114 | ~$*
115 | *.dbmdl
116 | Generated_Code #added for RIA/Silverlight projects
117 |
118 | # Backup & report files from converting an old project file to a newer
119 | # Visual Studio version. Backup files are not needed, because we have git ;-)
120 | _UpgradeReport_Files/
121 | Backup*/
122 | UpgradeLog*.XML
123 |
124 |
125 |
126 | ############
127 | ## Windows
128 | ############
129 |
130 | # Windows image file caches
131 | Thumbs.db
132 |
133 | # Folder config file
134 | Desktop.ini
135 |
136 |
137 | #############
138 | ## Python
139 | #############
140 |
141 | *.py[co]
142 |
143 | # Packages
144 | *.egg
145 | *.egg-info
146 | dist
147 | build
148 | eggs
149 | parts
150 | var
151 | sdist
152 | develop-eggs
153 | .installed.cfg
154 |
155 | # Installer logs
156 | pip-log.txt
157 |
158 | # Unit test / coverage reports
159 | .coverage
160 | .tox
161 |
162 | #Translations
163 | *.mo
164 |
165 | #Mr Developer
166 | .mr.developer.cfg
167 |
168 | # Mac crap
169 | .DS_Store
170 |
--------------------------------------------------------------------------------
/src/inc/PHPMailer/examples/gmail_xoauth.phps:
--------------------------------------------------------------------------------
1 | isSMTP();
21 |
22 | //Enable SMTP debugging
23 | // 0 = off (for production use)
24 | // 1 = client messages
25 | // 2 = client and server messages
26 | $mail->SMTPDebug = 0;
27 |
28 | //Ask for HTML-friendly debug output
29 | $mail->Debugoutput = 'html';
30 |
31 | //Set the hostname of the mail server
32 | $mail->Host = 'smtp.gmail.com';
33 |
34 | //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
35 | $mail->Port = 587;
36 |
37 | //Set the encryption system to use - ssl (deprecated) or tls
38 | $mail->SMTPSecure = 'tls';
39 |
40 | //Whether to use SMTP authentication
41 | $mail->SMTPAuth = true;
42 |
43 | //Set AuthType
44 | $mail->AuthType = 'XOAUTH2';
45 |
46 | //User Email to use for SMTP authentication - Use the same Email used in Google Developer Console
47 | $mail->oauthUserEmail = "someone@gmail.com";
48 |
49 | //Obtained From Google Developer Console
50 | $mail->oauthClientId = "RANDOMCHARS-----duv1n2.apps.googleusercontent.com";
51 |
52 | //Obtained From Google Developer Console
53 | $mail->oauthClientSecret = "RANDOMCHARS-----lGyjPcRtvP";
54 |
55 | //Obtained By running get_oauth_token.php after setting up APP in Google Developer Console.
56 | //Set Redirect URI in Developer Console as [https/http]://