├── CNAME ├── fossasia.ico ├── img ├── hero1.jpg ├── hero2.jpg ├── hero3.jpg ├── hero5.jpg ├── hero6.jpg ├── hero7.jpg ├── hero8.jpg ├── hotel1.jpg ├── 3dprinter.JPG ├── DSC_0291_0.JPG ├── DSC_0446_0.JPG ├── DSC_0450_0.JPG ├── DSC_0525_0.JPG ├── DSC_0567_0.JPG ├── IMG_1132_0.JPG ├── IMG_1146_0.JPG ├── IMG_1154_0.JPG ├── IMG_1165_0.JPG ├── IMG_1175_0.JPG ├── IMG_1180_0.JPG ├── IMG_1215_0.JPG ├── IMG_1250_0.JPG ├── IMG_4947_0.JPG ├── IMG_4972_0.JPG ├── IMG_5111_0.JPG ├── bodyapps-3d.png ├── DSC_0502_1_0.JPG ├── DSC_0508_1_0.JPG ├── ayab-knitting.jpg ├── fossasia-dark.png ├── fossasia-long.png ├── fossasia2016.jpg ├── HongPhucFOSSASIA.JPG ├── bodyapps-ui-3d.jpg ├── bodyapps-female-3d.jpg ├── community-map-dark.jpg ├── 16684326949_3f300eacf7_z.jpg ├── 16685244587_dc6defba93_z.jpg ├── 16704948658_0dff7bd62c_z.jpg ├── FOSSASIA Social Event on Boat_0.JPG ├── Asia Open Source Event FOSSASIA_0.JPG ├── Girls in Open Source and IT FOSSASIA_0.JPG ├── fossasia-2010-group-foto-contributors.JPG ├── Free Open Source Summit Asia FOSSASIA_0.JPG ├── FOSSASIA 2011 Open Source Software Conference_0.JPG ├── cambodia-vietnamese-malaysian-participants-fossasia-2010.jpg └── FOSSASIA Open Source Hong Phuc Dang Free Software Community_0.JPG ├── fonts ├── FontAwesome.otf ├── ElegantIcons.eot ├── ElegantIcons.ttf ├── ElegantIcons.woff ├── Pe-icon-7-stroke.eot ├── Pe-icon-7-stroke.ttf ├── Pe-icon-7-stroke.woff ├── fontawesome-webfont.eot ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff ├── glyphicons-halflings-regular.woff2 └── Newfonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── js ├── Screenshot from 2016-08-30 20:59:23.png ├── bootstrap │ ├── bootstrap.mix.js │ ├── transition.js │ └── alert.js ├── Newjs │ └── npm.js ├── feednami.js ├── window.feednami={},feednami.load=function(e,n){var ├── blog.js └── smooth-scroll.min.js ├── mail ├── lib │ ├── dependency_maps │ │ ├── message_deps.php │ │ └── cache_deps.php │ ├── classes │ │ ├── Swift │ │ │ ├── Events │ │ │ │ ├── EventListener.php │ │ │ │ ├── CommandListener.php │ │ │ │ ├── ResponseListener.php │ │ │ │ ├── TransportChangeEvent.php │ │ │ │ ├── TransportExceptionListener.php │ │ │ │ ├── SendListener.php │ │ │ │ ├── Event.php │ │ │ │ ├── TransportExceptionEvent.php │ │ │ │ ├── TransportChangeListener.php │ │ │ │ ├── EventObject.php │ │ │ │ ├── ResponseEvent.php │ │ │ │ └── CommandEvent.php │ │ │ ├── Signer.php │ │ │ ├── Plugins │ │ │ │ ├── Timer.php │ │ │ │ ├── Sleeper.php │ │ │ │ ├── Pop │ │ │ │ │ ├── Pop3Exception.php │ │ │ │ │ └── Pop3Connection.php │ │ │ │ ├── Logger.php │ │ │ │ ├── Decorator │ │ │ │ │ └── Replacements.php │ │ │ │ ├── Reporter.php │ │ │ │ ├── Loggers │ │ │ │ │ ├── EchoLogger.php │ │ │ │ │ └── ArrayLogger.php │ │ │ │ ├── Reporters │ │ │ │ │ ├── HtmlReporter.php │ │ │ │ │ └── HitReporter.php │ │ │ │ ├── MessageLogger.php │ │ │ │ ├── ImpersonatePlugin.php │ │ │ │ └── ReporterPlugin.php │ │ │ ├── SignedMessage.php │ │ │ ├── FileStream.php │ │ │ ├── Mime │ │ │ │ ├── HeaderEncoder.php │ │ │ │ ├── CharsetObserver.php │ │ │ │ ├── EncodingObserver.php │ │ │ │ ├── ParameterizedHeader.php │ │ │ │ ├── ContentEncoder.php │ │ │ │ ├── EmbeddedFile.php │ │ │ │ ├── ContentEncoder │ │ │ │ │ ├── RawContentEncoder.php │ │ │ │ │ ├── Base64ContentEncoder.php │ │ │ │ │ └── QpContentEncoderProxy.php │ │ │ │ ├── HeaderEncoder │ │ │ │ │ ├── Base64HeaderEncoder.php │ │ │ │ │ └── QpHeaderEncoder.php │ │ │ │ ├── HeaderFactory.php │ │ │ │ └── Header.php │ │ │ ├── IoException.php │ │ │ ├── SwiftException.php │ │ │ ├── CharacterReaderFactory.php │ │ │ ├── ReplacementFilterFactory.php │ │ │ ├── RfcComplianceException.php │ │ │ ├── DependencyException.php │ │ │ ├── TransportException.php │ │ │ ├── Filterable.php │ │ │ ├── Encoder.php │ │ │ ├── StreamFilter.php │ │ │ ├── Transport │ │ │ │ ├── MailInvoker.php │ │ │ │ ├── Esmtp │ │ │ │ │ ├── Authenticator.php │ │ │ │ │ └── Auth │ │ │ │ │ │ ├── PlainAuthenticator.php │ │ │ │ │ │ ├── LoginAuthenticator.php │ │ │ │ │ │ ├── XOAuth2Authenticator.php │ │ │ │ │ │ └── CramMd5Authenticator.php │ │ │ │ ├── SmtpAgent.php │ │ │ │ ├── SimpleMailInvoker.php │ │ │ │ ├── IoBuffer.php │ │ │ │ ├── FailoverTransport.php │ │ │ │ ├── NullTransport.php │ │ │ │ └── EsmtpHandler.php │ │ │ ├── Mailer │ │ │ │ ├── RecipientIterator.php │ │ │ │ └── ArrayRecipientIterator.php │ │ │ ├── Signers │ │ │ │ ├── BodySigner.php │ │ │ │ └── HeaderSigner.php │ │ │ ├── NullTransport.php │ │ │ ├── Validate.php │ │ │ ├── ByteStream │ │ │ │ └── TemporaryFileByteStream.php │ │ │ ├── SpoolTransport.php │ │ │ ├── MailTransport.php │ │ │ ├── OutputByteStream.php │ │ │ ├── FailoverTransport.php │ │ │ ├── LoadBalancedTransport.php │ │ │ ├── SendmailTransport.php │ │ │ ├── KeyCache │ │ │ │ └── KeyCacheInputStream.php │ │ │ ├── Spool.php │ │ │ ├── StreamFilters │ │ │ │ ├── StringReplacementFilterFactory.php │ │ │ │ └── StringReplacementFilter.php │ │ │ ├── Transport.php │ │ │ ├── ConfigurableSpool.php │ │ │ ├── Encoding.php │ │ │ ├── MimePart.php │ │ │ ├── Image.php │ │ │ ├── Encoder │ │ │ │ ├── Base64Encoder.php │ │ │ │ └── Rfc2231Encoder.php │ │ │ ├── CharacterReader.php │ │ │ ├── MemorySpool.php │ │ │ ├── EmbeddedFile.php │ │ │ ├── SmtpTransport.php │ │ │ ├── Attachment.php │ │ │ ├── InputByteStream.php │ │ │ ├── CharacterReader │ │ │ │ ├── UsAsciiReader.php │ │ │ │ └── GenericFixedWidthReader.php │ │ │ └── CharacterStream.php │ │ └── Swift.php │ ├── swift_required_pear.php │ ├── swift_required.php │ ├── swift_init.php │ └── preferences.php └── mail.php ├── gulpfile.js ├── css ├── ie9.css ├── less │ ├── component-animations.less │ ├── wells.less │ ├── breadcrumbs.less │ ├── close.less │ ├── thumbnails.less │ ├── utilities.less │ ├── jumbotron.less │ ├── media.less │ ├── pager.less │ ├── bootstrap.less │ ├── badges.less │ ├── labels.less │ ├── code.less │ ├── alerts.less │ ├── grid.less │ ├── progress-bars.less │ ├── print.less │ ├── pagination.less │ └── responsive-utilities.less ├── custom-blog.css ├── custom-blog-edit.css └── custom.css ├── colour-schemes.json └── package.json /CNAME: -------------------------------------------------------------------------------- 1 | calendar.fossasia.org 2 | -------------------------------------------------------------------------------- /fossasia.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fossasia.ico -------------------------------------------------------------------------------- /img/hero1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hero1.jpg -------------------------------------------------------------------------------- /img/hero2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hero2.jpg -------------------------------------------------------------------------------- /img/hero3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hero3.jpg -------------------------------------------------------------------------------- /img/hero5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hero5.jpg -------------------------------------------------------------------------------- /img/hero6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hero6.jpg -------------------------------------------------------------------------------- /img/hero7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hero7.jpg -------------------------------------------------------------------------------- /img/hero8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hero8.jpg -------------------------------------------------------------------------------- /img/hotel1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/hotel1.jpg -------------------------------------------------------------------------------- /img/3dprinter.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/3dprinter.JPG -------------------------------------------------------------------------------- /img/DSC_0291_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/DSC_0291_0.JPG -------------------------------------------------------------------------------- /img/DSC_0446_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/DSC_0446_0.JPG -------------------------------------------------------------------------------- /img/DSC_0450_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/DSC_0450_0.JPG -------------------------------------------------------------------------------- /img/DSC_0525_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/DSC_0525_0.JPG -------------------------------------------------------------------------------- /img/DSC_0567_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/DSC_0567_0.JPG -------------------------------------------------------------------------------- /img/IMG_1132_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1132_0.JPG -------------------------------------------------------------------------------- /img/IMG_1146_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1146_0.JPG -------------------------------------------------------------------------------- /img/IMG_1154_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1154_0.JPG -------------------------------------------------------------------------------- /img/IMG_1165_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1165_0.JPG -------------------------------------------------------------------------------- /img/IMG_1175_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1175_0.JPG -------------------------------------------------------------------------------- /img/IMG_1180_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1180_0.JPG -------------------------------------------------------------------------------- /img/IMG_1215_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1215_0.JPG -------------------------------------------------------------------------------- /img/IMG_1250_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_1250_0.JPG -------------------------------------------------------------------------------- /img/IMG_4947_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_4947_0.JPG -------------------------------------------------------------------------------- /img/IMG_4972_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_4972_0.JPG -------------------------------------------------------------------------------- /img/IMG_5111_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/IMG_5111_0.JPG -------------------------------------------------------------------------------- /img/bodyapps-3d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/bodyapps-3d.png -------------------------------------------------------------------------------- /fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /img/DSC_0502_1_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/DSC_0502_1_0.JPG -------------------------------------------------------------------------------- /img/DSC_0508_1_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/DSC_0508_1_0.JPG -------------------------------------------------------------------------------- /img/ayab-knitting.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/ayab-knitting.jpg -------------------------------------------------------------------------------- /img/fossasia-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/fossasia-dark.png -------------------------------------------------------------------------------- /img/fossasia-long.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/fossasia-long.png -------------------------------------------------------------------------------- /img/fossasia2016.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/fossasia2016.jpg -------------------------------------------------------------------------------- /fonts/ElegantIcons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/ElegantIcons.eot -------------------------------------------------------------------------------- /fonts/ElegantIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/ElegantIcons.ttf -------------------------------------------------------------------------------- /fonts/ElegantIcons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/ElegantIcons.woff -------------------------------------------------------------------------------- /img/HongPhucFOSSASIA.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/HongPhucFOSSASIA.JPG -------------------------------------------------------------------------------- /img/bodyapps-ui-3d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/bodyapps-ui-3d.jpg -------------------------------------------------------------------------------- /fonts/Pe-icon-7-stroke.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/Pe-icon-7-stroke.eot -------------------------------------------------------------------------------- /fonts/Pe-icon-7-stroke.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/Pe-icon-7-stroke.ttf -------------------------------------------------------------------------------- /img/bodyapps-female-3d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/bodyapps-female-3d.jpg -------------------------------------------------------------------------------- /img/community-map-dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/community-map-dark.jpg -------------------------------------------------------------------------------- /fonts/Pe-icon-7-stroke.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/Pe-icon-7-stroke.woff -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /img/16684326949_3f300eacf7_z.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/16684326949_3f300eacf7_z.jpg -------------------------------------------------------------------------------- /img/16685244587_dc6defba93_z.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/16685244587_dc6defba93_z.jpg -------------------------------------------------------------------------------- /img/16704948658_0dff7bd62c_z.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/16704948658_0dff7bd62c_z.jpg -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /img/FOSSASIA Social Event on Boat_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/FOSSASIA Social Event on Boat_0.JPG -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /img/Asia Open Source Event FOSSASIA_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/Asia Open Source Event FOSSASIA_0.JPG -------------------------------------------------------------------------------- /js/Screenshot from 2016-08-30 20:59:23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/js/Screenshot from 2016-08-30 20:59:23.png -------------------------------------------------------------------------------- /img/Girls in Open Source and IT FOSSASIA_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/Girls in Open Source and IT FOSSASIA_0.JPG -------------------------------------------------------------------------------- /img/fossasia-2010-group-foto-contributors.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/fossasia-2010-group-foto-contributors.JPG -------------------------------------------------------------------------------- /fonts/Newfonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/Newfonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/Newfonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/Newfonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/Newfonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/Newfonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/Newfonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/fonts/Newfonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /img/Free Open Source Summit Asia FOSSASIA_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/Free Open Source Summit Asia FOSSASIA_0.JPG -------------------------------------------------------------------------------- /img/FOSSASIA 2011 Open Source Software Conference_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/FOSSASIA 2011 Open Source Software Conference_0.JPG -------------------------------------------------------------------------------- /img/cambodia-vietnamese-malaysian-participants-fossasia-2010.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/cambodia-vietnamese-malaysian-participants-fossasia-2010.jpg -------------------------------------------------------------------------------- /img/FOSSASIA Open Source Hong Phuc Dang Free Software Community_0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/calendar.fossasia.org/gh-pages/img/FOSSASIA Open Source Hong Phuc Dang Free Software Community_0.JPG -------------------------------------------------------------------------------- /mail/lib/dependency_maps/message_deps.php: -------------------------------------------------------------------------------- 1 | register('message.message') 5 | ->asNewInstanceOf('Swift_Message') 6 | 7 | ->register('message.mimepart') 8 | ->asNewInstanceOf('Swift_MimePart') 9 | ; 10 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var imagemin = require('gulp-imagemin'); 3 | 4 | gulp.task('images-opt', function () { 5 | gulp.src('img/*.*') 6 | .pipe(imagemin()) 7 | .pipe(gulp.dest('img')); 8 | }); 9 | 10 | 11 | gulp.task('default', ['images-opt'], function(){}); 12 | -------------------------------------------------------------------------------- /js/bootstrap/bootstrap.mix.js: -------------------------------------------------------------------------------- 1 | @import "transition.js"; 2 | @import "alert.js"; 3 | @import "button.js"; 4 | @import "carousel.js"; 5 | @import "collapse.js"; 6 | @import "dropdown.js"; 7 | @import "modal.js"; 8 | @import "tooltip.js"; 9 | @import "popover.js"; 10 | @import "scrollspy.js"; 11 | @import "tab.js"; 12 | @import "affix.js"; -------------------------------------------------------------------------------- /css/ie9.css: -------------------------------------------------------------------------------- 1 | .reveal-sidebar { 2 | transform: translateX(-300px); 3 | -webkit-transform: translateX(-300px); 4 | -moz-transform: translateX(-300px); 5 | } 6 | 7 | .sidebar-menu, .instagram-sidebar { 8 | transform: translateX(300px); 9 | -webkit-transform: translateX(300px); 10 | -moz-transform: translateX(300px); 11 | } 12 | 13 | .show-sidebar { 14 | transform: translateX(0px); 15 | -webkit-transform: translateX(0px); 16 | -moz-transform: translateX(0px); 17 | } -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/EventListener.php: -------------------------------------------------------------------------------- 1 | 16 | */ 17 | interface Swift_Signer 18 | { 19 | public function reset(); 20 | } 21 | -------------------------------------------------------------------------------- /colour-schemes.json: -------------------------------------------------------------------------------- 1 | { 2 | "original": 3 | { 4 | "name":"Pivot", 5 | "pathToOriginal":"mixture/css/", 6 | "originalFileName":"theme", 7 | "colours":["#E74C3C","#2C3E50","#3498DB"] 8 | }, 9 | "schemes": 10 | [ 11 | { 12 | "name":"Aquatica", 13 | "colours":["#01A2A6","#2F2933","#29D9C2"] 14 | }, 15 | { 16 | "name":"Saquandosa", 17 | "colours":["#EBAD60","#96526B","#FSCF66"] 18 | }, 19 | { 20 | "name":"Equinox", 21 | "colours":["#BADA55","#5A55EE","#5A51ED"] 22 | } 23 | ], 24 | "holdthis":"" 25 | } -------------------------------------------------------------------------------- /js/Newjs/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Plugins/Timer.php: -------------------------------------------------------------------------------- 1 | 18 | * @deprecated 19 | */ 20 | class Swift_SignedMessage extends Swift_Message 21 | { 22 | 23 | } 24 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/FileStream.php: -------------------------------------------------------------------------------- 1 | li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/CommandListener.php: -------------------------------------------------------------------------------- 1 | getSource(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/DependencyException.php: -------------------------------------------------------------------------------- 1 | register('cache') 5 | ->asAliasOf('cache.array') 6 | 7 | ->register('tempdir') 8 | ->asValue('/tmp') 9 | 10 | ->register('cache.null') 11 | ->asSharedInstanceOf('Swift_KeyCache_NullKeyCache') 12 | 13 | ->register('cache.array') 14 | ->asSharedInstanceOf('Swift_KeyCache_ArrayKeyCache') 15 | ->withDependencies(array('cache.inputstream')) 16 | 17 | ->register('cache.disk') 18 | ->asSharedInstanceOf('Swift_KeyCache_DiskKeyCache') 19 | ->withDependencies(array('cache.inputstream', 'tempdir')) 20 | 21 | ->register('cache.inputstream') 22 | ->asNewInstanceOf('Swift_KeyCache_SimpleKeyCacheInputStream') 23 | ; 24 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/TransportExceptionListener.php: -------------------------------------------------------------------------------- 1 | img, 18 | a > img { 19 | &:extend(.img-responsive); 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | // Add a hover state for linked versions only 25 | a&:hover, 26 | a&:focus, 27 | a&.active { 28 | border-color: @link-color; 29 | } 30 | 31 | // Image captions 32 | .caption { 33 | padding: @thumbnail-caption-padding; 34 | color: @thumbnail-caption-color; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mailer/RecipientIterator.php: -------------------------------------------------------------------------------- 1 | 'Foo') or ('foo@bar' => NULL) 28 | * 29 | * @return array 30 | */ 31 | public function nextRecipient(); 32 | } 33 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/SendListener.php: -------------------------------------------------------------------------------- 1 | 15 | */ 16 | interface Swift_Signers_BodySigner extends Swift_Signer 17 | { 18 | /** 19 | * Change the Swift_Signed_Message to apply the singing. 20 | * 21 | * @param Swift_Message $message 22 | * 23 | * @return Swift_Signers_BodySigner 24 | */ 25 | public function signMessage(Swift_Message $message); 26 | 27 | /** 28 | * Return the list of header a signer might tamper 29 | * 30 | * @return array 31 | */ 32 | public function getAlteredHeaders(); 33 | } 34 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/Event.php: -------------------------------------------------------------------------------- 1 | .pull-left { 41 | margin-right: 10px; 42 | } 43 | > .pull-right { 44 | margin-left: 10px; 45 | } 46 | } 47 | 48 | 49 | // Media list variation 50 | // ------------------------- 51 | 52 | // Undo default ul/ol styles 53 | .media-list { 54 | padding-left: 0; 55 | list-style: none; 56 | } 57 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/NullTransport.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | /** 12 | * Pretends messages have been sent, but just ignores them. 13 | * 14 | * @author Fabien Potencier 15 | */ 16 | class Swift_NullTransport extends Swift_Transport_NullTransport 17 | { 18 | /** 19 | * Create a new NullTransport. 20 | */ 21 | public function __construct() 22 | { 23 | call_user_func_array( 24 | array($this, 'Swift_Transport_NullTransport::__construct'), 25 | Swift_DependencyContainer::getInstance() 26 | ->createDependenciesFor('transport.null') 27 | ); 28 | } 29 | 30 | /** 31 | * Create a new NullTransport instance. 32 | * 33 | * @return Swift_NullTransport 34 | */ 35 | public static function newInstance() 36 | { 37 | return new self(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /css/less/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | padding-left: 0; 8 | margin: @line-height-computed 0; 9 | list-style: none; 10 | text-align: center; 11 | &:extend(.clearfix all); 12 | li { 13 | display: inline; 14 | > a, 15 | > span { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: @pager-bg; 19 | border: 1px solid @pager-border; 20 | border-radius: @pager-border-radius; 21 | } 22 | 23 | > a:hover, 24 | > a:focus { 25 | text-decoration: none; 26 | background-color: @pager-hover-bg; 27 | } 28 | } 29 | 30 | .next { 31 | > a, 32 | > span { 33 | float: right; 34 | } 35 | } 36 | 37 | .previous { 38 | > a, 39 | > span { 40 | float: left; 41 | } 42 | } 43 | 44 | .disabled { 45 | > a, 46 | > a:hover, 47 | > a:focus, 48 | > span { 49 | color: @pager-disabled-color; 50 | background-color: @pager-bg; 51 | cursor: not-allowed; 52 | } 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mime/ContentEncoder.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | class Swift_Validate 15 | { 16 | /** 17 | * Grammar Object 18 | * 19 | * @var Swift_Mime_Grammar 20 | */ 21 | private static $grammar = null; 22 | 23 | /** 24 | * Checks if an e-mail address matches the current grammars. 25 | * 26 | * @param string $email 27 | * 28 | * @return bool 29 | */ 30 | public static function email($email) 31 | { 32 | if (self::$grammar===null) { 33 | self::$grammar = Swift_DependencyContainer::getInstance() 34 | ->lookup('mime.grammar'); 35 | } 36 | 37 | return (bool) preg_match( 38 | '/^' . self::$grammar->getDefinition('addr-spec') . '$/D', 39 | $email 40 | ); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/SimpleMailInvoker.php: -------------------------------------------------------------------------------- 1 | getPath())) === false) { 30 | throw new Swift_IoException('Failed to get temporary file content.'); 31 | } 32 | 33 | return $content; 34 | } 35 | 36 | public function __destruct() 37 | { 38 | if (file_exists($this->getPath())) { 39 | @unlink($this->getPath()); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /css/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | @import "variables.less"; 3 | @import "mixins.less"; 4 | 5 | // Reset 6 | @import "normalize.less"; 7 | @import "print.less"; 8 | 9 | // Core CSS 10 | @import "scaffolding.less"; 11 | @import "type.less"; 12 | @import "code.less"; 13 | @import "grid.less"; 14 | @import "tables.less"; 15 | @import "forms.less"; 16 | @import "buttons.less"; 17 | 18 | // Components 19 | @import "component-animations.less"; 20 | @import "glyphicons.less"; 21 | @import "dropdowns.less"; 22 | @import "button-groups.less"; 23 | @import "input-groups.less"; 24 | @import "navs.less"; 25 | @import "navbar.less"; 26 | @import "breadcrumbs.less"; 27 | @import "pagination.less"; 28 | @import "pager.less"; 29 | @import "labels.less"; 30 | @import "badges.less"; 31 | @import "jumbotron.less"; 32 | @import "thumbnails.less"; 33 | @import "alerts.less"; 34 | @import "progress-bars.less"; 35 | @import "media.less"; 36 | @import "list-group.less"; 37 | @import "panels.less"; 38 | @import "wells.less"; 39 | @import "close.less"; 40 | 41 | // Components w/ JavaScript 42 | @import "modals.less"; 43 | @import "tooltip.less"; 44 | @import "popovers.less"; 45 | @import "carousel.less"; 46 | 47 | // Utility classes 48 | @import "utilities.less"; 49 | @import "responsive-utilities.less"; 50 | -------------------------------------------------------------------------------- /css/less/badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base classes 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: @font-size-small; 12 | font-weight: @badge-font-weight; 13 | color: @badge-color; 14 | line-height: @badge-line-height; 15 | vertical-align: baseline; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: @badge-bg; 19 | border-radius: @badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | .btn-xs & { 32 | top: 0; 33 | padding: 1px 5px; 34 | } 35 | } 36 | 37 | // Hover state, but only for links 38 | a.badge { 39 | &:hover, 40 | &:focus { 41 | color: @badge-link-hover-color; 42 | text-decoration: none; 43 | cursor: pointer; 44 | } 45 | } 46 | 47 | // Account for counters in navs 48 | a.list-group-item.active > .badge, 49 | .nav-pills > .active > a > .badge { 50 | color: @badge-active-color; 51 | background-color: @badge-active-bg; 52 | } 53 | .nav-pills > li > a > .badge { 54 | margin-left: 3px; 55 | } 56 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/TransportExceptionEvent.php: -------------------------------------------------------------------------------- 1 | _exception = $ex; 35 | } 36 | 37 | /** 38 | * Get the TransportException thrown. 39 | * 40 | * @return Swift_TransportException 41 | */ 42 | public function getException() 43 | { 44 | return $this->_exception; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/SpoolTransport.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | /** 12 | * Stores Messages in a queue. 13 | * 14 | * @author Fabien Potencier 15 | */ 16 | class Swift_SpoolTransport extends Swift_Transport_SpoolTransport 17 | { 18 | /** 19 | * Create a new SpoolTransport. 20 | * 21 | * @param Swift_Spool $spool 22 | */ 23 | public function __construct(Swift_Spool $spool) 24 | { 25 | $arguments = Swift_DependencyContainer::getInstance() 26 | ->createDependenciesFor('transport.spool'); 27 | 28 | $arguments[] = $spool; 29 | 30 | call_user_func_array( 31 | array($this, 'Swift_Transport_SpoolTransport::__construct'), 32 | $arguments 33 | ); 34 | } 35 | 36 | /** 37 | * Create a new SpoolTransport instance. 38 | * 39 | * @param Swift_Spool $spool 40 | * 41 | * @return Swift_SpoolTransport 42 | */ 43 | public static function newInstance(Swift_Spool $spool) 44 | { 45 | return new self($spool); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/MailTransport.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('transport.mail') 29 | ); 30 | 31 | $this->setExtraParams($extraParams); 32 | } 33 | 34 | /** 35 | * Create a new MailTransport instance. 36 | * 37 | * @param string $extraParams To be passed to mail() 38 | * 39 | * @return Swift_MailTransport 40 | */ 41 | public static function newInstance($extraParams = '-f%s') 42 | { 43 | return new self($extraParams); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/OutputByteStream.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('transport.failover') 29 | ); 30 | 31 | $this->setTransports($transports); 32 | } 33 | 34 | /** 35 | * Create a new FailoverTransport instance. 36 | * 37 | * @param Swift_Transport[] $transports 38 | * 39 | * @return Swift_FailoverTransport 40 | */ 41 | public static function newInstance($transports = array()) 42 | { 43 | return new self($transports); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /css/less/labels.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: @label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // Add hover effects, but only for links 18 | &[href] { 19 | &:hover, 20 | &:focus { 21 | color: @label-link-hover-color; 22 | text-decoration: none; 23 | cursor: pointer; 24 | } 25 | } 26 | 27 | // Empty labels collapse automatically (not available in IE8) 28 | &:empty { 29 | display: none; 30 | } 31 | 32 | // Quick fix for labels in buttons 33 | .btn & { 34 | position: relative; 35 | top: -1px; 36 | } 37 | } 38 | 39 | // Colors 40 | // Contextual variations (linked labels get darker on :hover) 41 | 42 | .label-default { 43 | .label-variant(@label-default-bg); 44 | } 45 | 46 | .label-primary { 47 | .label-variant(@label-primary-bg); 48 | } 49 | 50 | .label-success { 51 | .label-variant(@label-success-bg); 52 | } 53 | 54 | .label-info { 55 | .label-variant(@label-info-bg); 56 | } 57 | 58 | .label-warning { 59 | .label-variant(@label-warning-bg); 60 | } 61 | 62 | .label-danger { 63 | .label-variant(@label-danger-bg); 64 | } 65 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Plugins/Loggers/EchoLogger.php: -------------------------------------------------------------------------------- 1 | _isHtml = $isHtml; 29 | } 30 | 31 | /** 32 | * Add a log entry. 33 | * 34 | * @param string $entry 35 | */ 36 | public function add($entry) 37 | { 38 | if ($this->_isHtml) { 39 | printf('%s%s%s', htmlspecialchars($entry, ENT_QUOTES), '
', PHP_EOL); 40 | } else { 41 | printf('%s%s', $entry, PHP_EOL); 42 | } 43 | } 44 | 45 | /** 46 | * Not implemented. 47 | */ 48 | public function clear() 49 | { 50 | } 51 | 52 | /** 53 | * Not implemented. 54 | */ 55 | public function dump() 56 | { 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/LoadBalancedTransport.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('transport.loadbalanced') 29 | ); 30 | 31 | $this->setTransports($transports); 32 | } 33 | 34 | /** 35 | * Create a new LoadBalancedTransport instance. 36 | * 37 | * @param array $transports 38 | * 39 | * @return Swift_LoadBalancedTransport 40 | */ 41 | public static function newInstance($transports = array()) 42 | { 43 | return new self($transports); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/SendmailTransport.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('transport.sendmail') 29 | ); 30 | 31 | $this->setCommand($command); 32 | } 33 | 34 | /** 35 | * Create a new SendmailTransport instance. 36 | * 37 | * @param string $command 38 | * 39 | * @return Swift_SendmailTransport 40 | */ 41 | public static function newInstance($command = '/usr/sbin/sendmail -bs') 42 | { 43 | return new self($command); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/KeyCache/KeyCacheInputStream.php: -------------------------------------------------------------------------------- 1 | " . PHP_EOL; 29 | echo "PASS " . $address . PHP_EOL; 30 | echo "" . PHP_EOL; 31 | flush(); 32 | } else { 33 | echo "
" . PHP_EOL; 34 | echo "FAIL " . $address . PHP_EOL; 35 | echo "
" . PHP_EOL; 36 | flush(); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/TransportChangeListener.php: -------------------------------------------------------------------------------- 1 | setDisposition('inline'); 31 | $this->setId($this->getId()); 32 | } 33 | 34 | /** 35 | * Get the nesting level of this EmbeddedFile. 36 | * 37 | * Returns {@see LEVEL_RELATED}. 38 | * 39 | * @return int 40 | */ 41 | public function getNestingLevel() 42 | { 43 | return self::LEVEL_RELATED; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Spool.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | /** 12 | * Interface for spools. 13 | * 14 | * @author Fabien Potencier 15 | */ 16 | interface Swift_Spool 17 | { 18 | /** 19 | * Starts this Spool mechanism. 20 | */ 21 | public function start(); 22 | 23 | /** 24 | * Stops this Spool mechanism. 25 | */ 26 | public function stop(); 27 | 28 | /** 29 | * Tests if this Spool mechanism has started. 30 | * 31 | * @return bool 32 | */ 33 | public function isStarted(); 34 | 35 | /** 36 | * Queues a message. 37 | * 38 | * @param Swift_Mime_Message $message The message to store 39 | * 40 | * @return bool Whether the operation has succeeded 41 | */ 42 | public function queueMessage(Swift_Mime_Message $message); 43 | 44 | /** 45 | * Sends messages using the given transport instance. 46 | * 47 | * @param Swift_Transport $transport A transport instance 48 | * @param string[] $failedRecipients An array of failures by-reference 49 | * 50 | * @return int The number of sent emails 51 | */ 52 | public function flushQueue(Swift_Transport $transport, &$failedRecipients = null); 53 | } 54 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/StreamFilters/StringReplacementFilterFactory.php: -------------------------------------------------------------------------------- 1 | _filters[$search][$replace])) { 32 | if (!isset($this->_filters[$search])) { 33 | $this->_filters[$search] = array(); 34 | } 35 | 36 | if (!isset($this->_filters[$search][$replace])) { 37 | $this->_filters[$search][$replace] = array(); 38 | } 39 | 40 | $this->_filters[$search][$replace] = new Swift_StreamFilters_StringReplacementFilter($search, $replace); 41 | } 42 | 43 | return $this->_filters[$search][$replace]; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mailer/ArrayRecipientIterator.php: -------------------------------------------------------------------------------- 1 | _recipients = $recipients; 33 | } 34 | 35 | /** 36 | * Returns true only if there are more recipients to send to. 37 | * 38 | * @return bool 39 | */ 40 | public function hasNext() 41 | { 42 | return !empty($this->_recipients); 43 | } 44 | 45 | /** 46 | * Returns an array where the keys are the addresses of recipients and the 47 | * values are the names. e.g. ('foo@bar' => 'Foo') or ('foo@bar' => NULL) 48 | * 49 | * @return array 50 | */ 51 | public function nextRecipient() 52 | { 53 | return array_splice($this->_recipients, 0, 1); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport.php: -------------------------------------------------------------------------------- 1 |

"+title+"

"); 27 | } 28 | else{ 29 | html.push("

"+title+"

"); 30 | } 31 | var author = text.author ; 32 | html.push("

By - "+(author)+"

"); 33 | 34 | var link = text.guid ; 35 | var date = new Date(text.date); 36 | summary = text.summary 37 | html.push("

"+summary + "

"); 38 | html.push(" Posted On - "+(date)+"

"); 39 | 40 | 41 | 42 | } 43 | blog.html(html.join("")); 44 | 45 | 46 | 47 | 48 | } 49 | 50 | }); 51 | 52 | } 53 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/Esmtp/Auth/PlainAuthenticator.php: -------------------------------------------------------------------------------- 1 | executeCommand(sprintf("AUTH PLAIN %s\r\n", $message), array(235)); 42 | 43 | return true; 44 | } catch (Swift_TransportException $e) { 45 | $agent->executeCommand("RSET\r\n", array(250)); 46 | 47 | return false; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /mail/lib/preferences.php: -------------------------------------------------------------------------------- 1 | setCharset('utf-8'); 13 | 14 | // Without these lines the default caching mechanism is "array" but this uses a lot of memory. 15 | // If possible, use a disk cache to enable attaching large attachments etc. 16 | // You can override the default temporary directory by setting the TMPDIR environment variable. 17 | 18 | // The @ operator in front of is_writable calls is to avoid PHP warnings 19 | // when using open_basedir 20 | $tmp = getenv('TMPDIR'); 21 | if ($tmp && @is_writable($tmp)) { 22 | $preferences 23 | ->setTempDir($tmp) 24 | ->setCacheType('disk'); 25 | } elseif (function_exists('sys_get_temp_dir') && @is_writable(sys_get_temp_dir())) { 26 | $preferences 27 | ->setTempDir(sys_get_temp_dir()) 28 | ->setCacheType('disk'); 29 | } 30 | 31 | // this should only be done when Swiftmailer won't use the native QP content encoder 32 | // see mime_deps.php 33 | if (version_compare(phpversion(), '5.4.7', '<')) { 34 | $preferences->setQPDotEscape(false); 35 | } 36 | -------------------------------------------------------------------------------- /css/custom-blog.css: -------------------------------------------------------------------------------- 1 | img.rss { 2 | margin-bottom: 30px; 3 | } 4 | 5 | 6 | #result .item{ 7 | height: 450px; 8 | margin:5% 3% 5% 3%; 9 | background-color: #fff; 10 | overflow: hidden; 11 | } 12 | #result .item h1 { 13 | font-weight: 400 ; 14 | } 15 | #result p a{ 16 | margin-left: 5px; 17 | margin-right: 5px; 18 | } 19 | #result .item .summary{ 20 | margin: 36px 10% 50px 10%; 21 | } 22 | 23 | 24 | /* 25 | .post { 26 | display: none; 27 | padding: 20px; 28 | position: relative; 29 | height: 100%; 30 | } 31 | 32 | .title, .author-date { 33 | padding: 0 0 20px; 34 | } 35 | 36 | .post.active { 37 | display: block; 38 | } 39 | 40 | .post > h4 { 41 | font-size: 1em; 42 | } 43 | 44 | .links { 45 | display: flex; 46 | list-style-type: none; 47 | justify-content: flex-start; 48 | padding-left: 0; 49 | } 50 | 51 | .links li { 52 | display: inline-block; 53 | margin-right: 15px; 54 | background-color: #2D728F; 55 | padding: 5px 10px; 56 | } 57 | 58 | .post img, post svg{ 59 | display: block; 60 | width:30%; 61 | height: 30%; 62 | margin: 10px auto; 63 | } 64 | 65 | .post .link { 66 | position: absolute; 67 | top: 0; 68 | width: 100%; 69 | margin-left: -20px; 70 | margin-top: 440px; 71 | height: 60px; 72 | box-sizing: border-box; 73 | padding: 20px; 74 | font-weight: 700; 75 | background-color: #fff; 76 | transition: background-color 0.2s ease-in; 77 | color: #e12b00; 78 | } 79 | 80 | .linkText { 81 | padding-bottom: 3px; 82 | font-size: 1.5em; 83 | } 84 | 85 | .post .link:hover { 86 | background-color: #ddd; 87 | 88 | }*/ 89 | */ -------------------------------------------------------------------------------- /css/less/code.less: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: @font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: @code-color; 19 | background-color: @code-bg; 20 | white-space: nowrap; 21 | border-radius: @border-radius-base; 22 | } 23 | 24 | // User input typically entered via keyboard 25 | kbd { 26 | padding: 2px 4px; 27 | font-size: 90%; 28 | color: @kbd-color; 29 | background-color: @kbd-bg; 30 | border-radius: @border-radius-small; 31 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 32 | } 33 | 34 | // Blocks of code 35 | pre { 36 | display: block; 37 | padding: ((@line-height-computed - 1) / 2); 38 | margin: 0 0 (@line-height-computed / 2); 39 | font-size: (@font-size-base - 1); // 14px to 13px 40 | line-height: @line-height-base; 41 | word-break: break-all; 42 | word-wrap: break-word; 43 | color: @pre-color; 44 | background-color: @pre-bg; 45 | border: 1px solid @pre-border-color; 46 | border-radius: @border-radius-base; 47 | 48 | // Account for some code outputs that place code tags in pre tags 49 | code { 50 | padding: 0; 51 | font-size: inherit; 52 | color: inherit; 53 | white-space: pre-wrap; 54 | background-color: transparent; 55 | border-radius: 0; 56 | } 57 | } 58 | 59 | // Enable scrollable blocks of code 60 | .pre-scrollable { 61 | max-height: @pre-scrollable-max-height; 62 | overflow-y: scroll; 63 | } 64 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Plugins/Loggers/ArrayLogger.php: -------------------------------------------------------------------------------- 1 | _size = $size; 40 | } 41 | 42 | /** 43 | * Add a log entry. 44 | * 45 | * @param string $entry 46 | */ 47 | public function add($entry) 48 | { 49 | $this->_log[] = $entry; 50 | while (count($this->_log) > $this->_size) { 51 | array_shift($this->_log); 52 | } 53 | } 54 | 55 | /** 56 | * Clear the log contents. 57 | */ 58 | public function clear() 59 | { 60 | $this->_log = array(); 61 | } 62 | 63 | /** 64 | * Get this log as a string. 65 | * 66 | * @return string 67 | */ 68 | public function dump() 69 | { 70 | return implode(PHP_EOL, $this->_log); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/EventObject.php: -------------------------------------------------------------------------------- 1 | _source = $source; 32 | } 33 | 34 | /** 35 | * Get the source object of this event. 36 | * 37 | * @return object 38 | */ 39 | public function getSource() 40 | { 41 | return $this->_source; 42 | } 43 | 44 | /** 45 | * Prevent this Event from bubbling any further up the stack. 46 | * 47 | * @param bool $cancel, optional 48 | */ 49 | public function cancelBubble($cancel = true) 50 | { 51 | $this->_bubbleCancelled = $cancel; 52 | } 53 | 54 | /** 55 | * Returns true if this Event will not bubble any further up the stack. 56 | * 57 | * @return bool 58 | */ 59 | public function bubbleCancelled() 60 | { 61 | return $this->_bubbleCancelled; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/Esmtp/Auth/LoginAuthenticator.php: -------------------------------------------------------------------------------- 1 | executeCommand("AUTH LOGIN\r\n", array(334)); 41 | $agent->executeCommand(sprintf("%s\r\n", base64_encode($username)), array(334)); 42 | $agent->executeCommand(sprintf("%s\r\n", base64_encode($password)), array(235)); 43 | 44 | return true; 45 | } catch (Swift_TransportException $e) { 46 | $agent->executeCommand("RSET\r\n", array(250)); 47 | 48 | return false; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/ResponseEvent.php: -------------------------------------------------------------------------------- 1 | _response = $response; 43 | $this->_valid = $valid; 44 | } 45 | 46 | /** 47 | * Get the response which was received from the server. 48 | * 49 | * @return string 50 | */ 51 | public function getResponse() 52 | { 53 | return $this->_response; 54 | } 55 | 56 | /** 57 | * Get the success status of this Event. 58 | * 59 | * @return bool 60 | */ 61 | public function isValid() 62 | { 63 | return $this->_valid; 64 | } 65 | 66 | } 67 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/ConfigurableSpool.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | /** 12 | * Base class for Spools (implements time and message limits). 13 | * 14 | * @author Fabien Potencier 15 | */ 16 | abstract class Swift_ConfigurableSpool implements Swift_Spool 17 | { 18 | /** The maximum number of messages to send per flush */ 19 | private $_message_limit; 20 | 21 | /** The time limit per flush */ 22 | private $_time_limit; 23 | 24 | /** 25 | * Sets the maximum number of messages to send per flush. 26 | * 27 | * @param int $limit 28 | */ 29 | public function setMessageLimit($limit) 30 | { 31 | $this->_message_limit = (int) $limit; 32 | } 33 | 34 | /** 35 | * Gets the maximum number of messages to send per flush. 36 | * 37 | * @return int The limit 38 | */ 39 | public function getMessageLimit() 40 | { 41 | return $this->_message_limit; 42 | } 43 | 44 | /** 45 | * Sets the time limit (in seconds) per flush. 46 | * 47 | * @param int $limit The limit 48 | */ 49 | public function setTimeLimit($limit) 50 | { 51 | $this->_time_limit = (int) $limit; 52 | } 53 | 54 | /** 55 | * Gets the time limit (in seconds) per flush. 56 | * 57 | * @return int The limit 58 | */ 59 | public function getTimeLimit() 60 | { 61 | return $this->_time_limit; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /css/less/alerts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: @alert-padding; 11 | margin-bottom: @line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: @alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing @headings-color 19 | color: inherit; 20 | } 21 | // Provide class for links that match alerts 22 | .alert-link { 23 | font-weight: @alert-link-font-weight; 24 | } 25 | 26 | // Improve alignment and spacing of inner content 27 | > p, 28 | > ul { 29 | margin-bottom: 0; 30 | } 31 | > p + p { 32 | margin-top: 5px; 33 | } 34 | } 35 | 36 | // Dismissable alerts 37 | // 38 | // Expand the right padding and account for the close button's positioning. 39 | 40 | .alert-dismissable { 41 | padding-right: (@alert-padding + 20); 42 | 43 | // Adjust close link position 44 | .close { 45 | position: relative; 46 | top: -2px; 47 | right: -21px; 48 | color: inherit; 49 | } 50 | } 51 | 52 | // Alternate styles 53 | // 54 | // Generate contextual modifier classes for colorizing the alert. 55 | 56 | .alert-success { 57 | .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text); 58 | } 59 | .alert-info { 60 | .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text); 61 | } 62 | .alert-warning { 63 | .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text); 64 | } 65 | .alert-danger { 66 | .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); 67 | } 68 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Encoding.php: -------------------------------------------------------------------------------- 1 | lookup($key); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Plugins/Reporters/HitReporter.php: -------------------------------------------------------------------------------- 1 | _failures_cache[$address])) { 37 | $this->_failures[] = $address; 38 | $this->_failures_cache[$address] = true; 39 | } 40 | } 41 | 42 | /** 43 | * Get an array of addresses for which delivery failed. 44 | * 45 | * @return array 46 | */ 47 | public function getFailedRecipients() 48 | { 49 | return $this->_failures; 50 | } 51 | 52 | /** 53 | * Clear the buffer (empty the list). 54 | */ 55 | public function clear() 56 | { 57 | $this->_failures = $this->_failures_cache = array(); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /js/bootstrap/transition.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: transition.js v3.1.0 3 | * http://getbootstrap.com/javascript/#transitions 4 | * ======================================================================== 5 | * Copyright 2011-2014 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) 14 | // ============================================================ 15 | 16 | function transitionEnd() { 17 | var el = document.createElement('bootstrap') 18 | 19 | var transEndEventNames = { 20 | 'WebkitTransition' : 'webkitTransitionEnd', 21 | 'MozTransition' : 'transitionend', 22 | 'OTransition' : 'oTransitionEnd otransitionend', 23 | 'transition' : 'transitionend' 24 | } 25 | 26 | for (var name in transEndEventNames) { 27 | if (el.style[name] !== undefined) { 28 | return { end: transEndEventNames[name] } 29 | } 30 | } 31 | 32 | return false // explicit for ie8 ( ._.) 33 | } 34 | 35 | // http://blog.alexmaccaw.com/css-transitions 36 | $.fn.emulateTransitionEnd = function (duration) { 37 | var called = false, $el = this 38 | $(this).one($.support.transition.end, function () { called = true }) 39 | var callback = function () { if (!called) $($el).trigger($.support.transition.end) } 40 | setTimeout(callback, duration) 41 | return this 42 | } 43 | 44 | $(function () { 45 | $.support.transition = transitionEnd() 46 | }) 47 | 48 | }(jQuery); 49 | -------------------------------------------------------------------------------- /css/custom-blog-edit.css: -------------------------------------------------------------------------------- 1 | img.rss { 2 | margin-bottom: 0px; 3 | } 4 | .carousel-inner{ 5 | width: 100%; /* Set width to 100% */ 6 | margin: auto; 7 | min-height:700px; 8 | max-height:800px; 9 | } 10 | 11 | #result .item{ 12 | height:100%; 13 | width:100%; 14 | margin:5% 3% 5% 3%; 15 | background-color:#fff; 16 | overflow: hidden; 17 | } 18 | #result .item h1 { 19 | font-weight: 400 ; 20 | } 21 | #result p a{ 22 | margin-left: 5px; 23 | margin-right: 5px; 24 | } 25 | #result .item .summary{ 26 | margin: 36px 10% 50px 10%; 27 | } 28 | 29 | 30 | /* 31 | .post { 32 | display: none; 33 | padding: 20px; 34 | position: relative; 35 | height: 100%; 36 | } 37 | 38 | .title, .author-date { 39 | padding: 0 0 20px; 40 | } 41 | 42 | .post.active { 43 | display: block; 44 | } 45 | 46 | .post > h4 { 47 | font-size: 1em; 48 | } 49 | 50 | .links { 51 | display: flex; 52 | list-style-type: none; 53 | justify-content: flex-start; 54 | padding-left: 0; 55 | } 56 | 57 | .links li { 58 | display: inline-block; 59 | margin-right: 15px; 60 | background-color: #2D728F; 61 | padding: 5px 10px; 62 | } 63 | 64 | .post img, post svg{ 65 | display: block; 66 | width:30%; 67 | height: 30%; 68 | margin: 10px auto; 69 | } 70 | 71 | .post .link { 72 | position: absolute; 73 | top: 0; 74 | width: 100%; 75 | margin-left: -20px; 76 | margin-top: 440px; 77 | height: 60px; 78 | box-sizing: border-box; 79 | padding: 20px; 80 | font-weight: 700; 81 | background-color: #fff; 82 | transition: background-color 0.2s ease-in; 83 | color: #e12b00; 84 | } 85 | 86 | .linkText { 87 | padding-bottom: 3px; 88 | font-size: 1.5em; 89 | } 90 | 91 | .post .link:hover { 92 | background-color: #ddd; 93 | 94 | }*/ 95 | */ 96 | -------------------------------------------------------------------------------- /css/less/grid.less: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | .container-fixed(); 12 | 13 | @media (min-width: @screen-sm-min) { 14 | width: @container-sm; 15 | } 16 | @media (min-width: @screen-md-min) { 17 | width: @container-md; 18 | } 19 | @media (min-width: @screen-lg-min) { 20 | width: @container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | .container-fixed(); 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | .make-row(); 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | .make-grid-columns(); 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | .make-grid(xs); 57 | 58 | 59 | // Small grid 60 | // 61 | // Columns, offsets, pushes, and pulls for the small device range, from phones 62 | // to tablets. 63 | 64 | @media (min-width: @screen-sm-min) { 65 | .make-grid(sm); 66 | } 67 | 68 | 69 | // Medium grid 70 | // 71 | // Columns, offsets, pushes, and pulls for the desktop device range. 72 | 73 | @media (min-width: @screen-md-min) { 74 | .make-grid(md); 75 | } 76 | 77 | 78 | // Large grid 79 | // 80 | // Columns, offsets, pushes, and pulls for the large desktop device range. 81 | 82 | @media (min-width: @screen-lg-min) { 83 | .make-grid(lg); 84 | } 85 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Events/CommandEvent.php: -------------------------------------------------------------------------------- 1 | _command = $command; 43 | $this->_successCodes = $successCodes; 44 | } 45 | 46 | /** 47 | * Get the command which was sent to the server. 48 | * 49 | * @return string 50 | */ 51 | public function getCommand() 52 | { 53 | return $this->_command; 54 | } 55 | 56 | /** 57 | * Get the numeric response codes which indicate success for this command. 58 | * 59 | * @return integer[] 60 | */ 61 | public function getSuccessCodes() 62 | { 63 | return $this->_successCodes; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Plugins/MessageLogger.php: -------------------------------------------------------------------------------- 1 | messages = array(); 26 | } 27 | 28 | /** 29 | * Get the message list 30 | * 31 | * @return array 32 | */ 33 | public function getMessages() 34 | { 35 | return $this->messages; 36 | } 37 | 38 | /** 39 | * Get the message count 40 | * 41 | * @return int count 42 | */ 43 | public function countMessages() 44 | { 45 | return count($this->messages); 46 | } 47 | 48 | /** 49 | * Empty the message list 50 | * 51 | */ 52 | public function clear() 53 | { 54 | $this->messages = array(); 55 | } 56 | 57 | /** 58 | * Invoked immediately before the Message is sent. 59 | * 60 | * @param Swift_Events_SendEvent $evt 61 | */ 62 | public function beforeSendPerformed(Swift_Events_SendEvent $evt) 63 | { 64 | $this->messages[] = clone $evt->getMessage(); 65 | } 66 | 67 | /** 68 | * Invoked immediately after the Message is sent. 69 | * 70 | * @param Swift_Events_SendEvent $evt 71 | */ 72 | public function sendPerformed(Swift_Events_SendEvent $evt) 73 | { 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/MimePart.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('mime.part') 33 | ); 34 | 35 | if (!isset($charset)) { 36 | $charset = Swift_DependencyContainer::getInstance() 37 | ->lookup('properties.charset'); 38 | } 39 | $this->setBody($body); 40 | $this->setCharset($charset); 41 | if ($contentType) { 42 | $this->setContentType($contentType); 43 | } 44 | } 45 | 46 | /** 47 | * Create a new MimePart. 48 | * 49 | * @param string $body 50 | * @param string $contentType 51 | * @param string $charset 52 | * 53 | * @return Swift_Mime_MimePart 54 | */ 55 | public static function newInstance($body = null, $contentType = null, $charset = null) 56 | { 57 | return new self($body, $contentType, $charset); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Image.php: -------------------------------------------------------------------------------- 1 | setFile( 56 | new Swift_ByteStream_FileByteStream($path) 57 | ); 58 | 59 | return $image; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Signers/HeaderSigner.php: -------------------------------------------------------------------------------- 1 | 15 | */ 16 | interface Swift_Signers_HeaderSigner extends Swift_Signer, Swift_InputByteStream 17 | { 18 | /** 19 | * Exclude an header from the signed headers 20 | * 21 | * @param string $header_name 22 | * 23 | * @return Swift_Signers_HeaderSigner 24 | */ 25 | public function ignoreHeader($header_name); 26 | 27 | /** 28 | * Prepare the Signer to get a new Body 29 | * 30 | * @return Swift_Signers_HeaderSigner 31 | */ 32 | public function startBody(); 33 | 34 | /** 35 | * Give the signal that the body has finished streaming 36 | * 37 | * @return Swift_Signers_HeaderSigner 38 | */ 39 | public function endBody(); 40 | 41 | /** 42 | * Give the headers already given 43 | * 44 | * @param Swift_Mime_SimpleHeaderSet $headers 45 | * 46 | * @return Swift_Signers_HeaderSigner 47 | */ 48 | public function setHeaders(Swift_Mime_HeaderSet $headers); 49 | 50 | /** 51 | * Add the header(s) to the headerSet 52 | * 53 | * @param Swift_Mime_HeaderSet $headers 54 | * 55 | * @return Swift_Signers_HeaderSigner 56 | */ 57 | public function addSignature(Swift_Mime_HeaderSet $headers); 58 | 59 | /** 60 | * Return the list of header a signer might tamper 61 | * 62 | * @return array 63 | */ 64 | public function getAlteredHeaders(); 65 | } 66 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mime/ContentEncoder/RawContentEncoder.php: -------------------------------------------------------------------------------- 1 | 16 | */ 17 | class Swift_Mime_ContentEncoder_RawContentEncoder implements Swift_Mime_ContentEncoder 18 | { 19 | /** 20 | * Encode a given string to produce an encoded string. 21 | * 22 | * @param string $string 23 | * @param int $firstLineOffset ignored 24 | * @param int $maxLineLength ignored 25 | * @return string 26 | */ 27 | public function encodeString($string, $firstLineOffset = 0, $maxLineLength = 0) 28 | { 29 | return $string; 30 | } 31 | 32 | /** 33 | * Encode stream $in to stream $out. 34 | * 35 | * @param Swift_OutputByteStream $in 36 | * @param Swift_InputByteStream $out 37 | * @param int $firstLineOffset ignored 38 | * @param int $maxLineLength ignored 39 | */ 40 | public function encodeByteStream(Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, $maxLineLength = 0) 41 | { 42 | while (false !== ($bytes = $os->read(8192))) { 43 | $is->write($bytes); 44 | } 45 | } 46 | 47 | /** 48 | * Get the name of this encoding scheme. 49 | * 50 | * @return string 51 | */ 52 | public function getName() 53 | { 54 | return 'raw'; 55 | } 56 | 57 | /** 58 | * Not used. 59 | */ 60 | public function charsetChanged($charset) 61 | { 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Encoder/Base64Encoder.php: -------------------------------------------------------------------------------- 1 | = $maxLineLength || 76 < $maxLineLength) { 34 | $maxLineLength = 76; 35 | } 36 | 37 | $encodedString = base64_encode($string); 38 | $firstLine = ''; 39 | 40 | if (0 != $firstLineOffset) { 41 | $firstLine = substr( 42 | $encodedString, 0, $maxLineLength - $firstLineOffset 43 | ) . "\r\n"; 44 | $encodedString = substr( 45 | $encodedString, $maxLineLength - $firstLineOffset 46 | ); 47 | } 48 | 49 | return $firstLine . trim(chunk_split($encodedString, $maxLineLength, "\r\n")); 50 | } 51 | 52 | /** 53 | * Does nothing. 54 | */ 55 | public function charsetChanged($charset) 56 | { 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/StreamFilters/StringReplacementFilter.php: -------------------------------------------------------------------------------- 1 | _search = $search; 33 | $this->_replace = $replace; 34 | } 35 | 36 | /** 37 | * Returns true if based on the buffer passed more bytes should be buffered. 38 | * 39 | * @param string $buffer 40 | * 41 | * @return bool 42 | */ 43 | public function shouldBuffer($buffer) 44 | { 45 | $endOfBuffer = substr($buffer, -1); 46 | foreach ((array) $this->_search as $needle) { 47 | if (false !== strpos($needle, $endOfBuffer)) { 48 | return true; 49 | } 50 | } 51 | 52 | return false; 53 | } 54 | 55 | /** 56 | * Perform the actual replacements on $buffer and return the result. 57 | * 58 | * @param string $buffer 59 | * 60 | * @return string 61 | */ 62 | public function filter($buffer) 63 | { 64 | return str_replace($this->_search, $this->_replace, $buffer); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mime/HeaderEncoder/Base64HeaderEncoder.php: -------------------------------------------------------------------------------- 1 | getName(), "\r\n"); 48 | mb_internal_encoding($old); 49 | 50 | return $newstring; 51 | } 52 | 53 | return parent::encodeString($string, $firstLineOffset, $maxLineLength); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /css/less/progress-bars.less: -------------------------------------------------------------------------------- 1 | // 2 | // Progress bars 3 | // -------------------------------------------------- 4 | 5 | 6 | // Bar animations 7 | // ------------------------- 8 | 9 | // WebKit 10 | @-webkit-keyframes progress-bar-stripes { 11 | from { background-position: 40px 0; } 12 | to { background-position: 0 0; } 13 | } 14 | 15 | // Spec and IE10+ 16 | @keyframes progress-bar-stripes { 17 | from { background-position: 40px 0; } 18 | to { background-position: 0 0; } 19 | } 20 | 21 | 22 | 23 | // Bar itself 24 | // ------------------------- 25 | 26 | // Outer container 27 | .progress { 28 | overflow: hidden; 29 | height: @line-height-computed; 30 | margin-bottom: @line-height-computed; 31 | background-color: @progress-bg; 32 | border-radius: @border-radius-base; 33 | .box-shadow(inset 0 1px 2px rgba(0,0,0,.1)); 34 | } 35 | 36 | // Bar of progress 37 | .progress-bar { 38 | float: left; 39 | width: 0%; 40 | height: 100%; 41 | font-size: @font-size-small; 42 | line-height: @line-height-computed; 43 | color: @progress-bar-color; 44 | text-align: center; 45 | background-color: @progress-bar-bg; 46 | .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15)); 47 | .transition(width .6s ease); 48 | } 49 | 50 | // Striped bars 51 | .progress-striped .progress-bar { 52 | #gradient > .striped(); 53 | background-size: 40px 40px; 54 | } 55 | 56 | // Call animation for the active one 57 | .progress.active .progress-bar { 58 | .animation(progress-bar-stripes 2s linear infinite); 59 | } 60 | 61 | 62 | 63 | // Variations 64 | // ------------------------- 65 | 66 | .progress-bar-success { 67 | .progress-bar-variant(@progress-bar-success-bg); 68 | } 69 | 70 | .progress-bar-info { 71 | .progress-bar-variant(@progress-bar-info-bg); 72 | } 73 | 74 | .progress-bar-warning { 75 | .progress-bar-variant(@progress-bar-warning-bg); 76 | } 77 | 78 | .progress-bar-danger { 79 | .progress-bar-variant(@progress-bar-danger-bg); 80 | } 81 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/IoBuffer.php: -------------------------------------------------------------------------------- 1 | _sender = $sender; 32 | } 33 | 34 | /** 35 | * Invoked immediately before the Message is sent. 36 | * 37 | * @param Swift_Events_SendEvent $evt 38 | */ 39 | public function beforeSendPerformed(Swift_Events_SendEvent $evt) 40 | { 41 | $message = $evt->getMessage(); 42 | $headers = $message->getHeaders(); 43 | 44 | // save current recipients 45 | $headers->addPathHeader('X-Swift-Return-Path', $message->getReturnPath()); 46 | 47 | // replace them with the one to send to 48 | $message->setReturnPath($this->_sender); 49 | } 50 | 51 | /** 52 | * Invoked immediately after the Message is sent. 53 | * 54 | * @param Swift_Events_SendEvent $evt 55 | */ 56 | public function sendPerformed(Swift_Events_SendEvent $evt) 57 | { 58 | $message = $evt->getMessage(); 59 | 60 | // restore original headers 61 | $headers = $message->getHeaders(); 62 | 63 | if ($headers->has('X-Swift-Return-Path')) { 64 | $message->setReturnPath($headers->get('X-Swift-Return-Path')->getAddress()); 65 | $headers->removeAll('X-Swift-Return-Path'); 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/CharacterReader.php: -------------------------------------------------------------------------------- 1 | 16 | */ 17 | interface Swift_CharacterReader 18 | { 19 | const MAP_TYPE_INVALID = 0x01; 20 | const MAP_TYPE_FIXED_LEN = 0x02; 21 | const MAP_TYPE_POSITIONS = 0x03; 22 | 23 | /** 24 | * Returns the complete character map 25 | * 26 | * @param string $string 27 | * @param int $startOffset 28 | * @param array $currentMap 29 | * @param mixed $ignoredChars 30 | * 31 | * @return int 32 | */ 33 | public function getCharPositions($string, $startOffset, &$currentMap, &$ignoredChars); 34 | 35 | /** 36 | * Returns the mapType, see constants. 37 | * 38 | * @return int 39 | */ 40 | public function getMapType(); 41 | 42 | /** 43 | * Returns an integer which specifies how many more bytes to read. 44 | * 45 | * A positive integer indicates the number of more bytes to fetch before invoking 46 | * this method again. 47 | * 48 | * A value of zero means this is already a valid character. 49 | * A value of -1 means this cannot possibly be a valid character. 50 | * 51 | * @param integer[] $bytes 52 | * @param int $size 53 | * 54 | * @return int 55 | */ 56 | public function validateByteSequence($bytes, $size); 57 | 58 | /** 59 | * Returns the number of bytes which should be read to start each character. 60 | * 61 | * For fixed width character sets this should be the number of octets-per-character. 62 | * For multibyte character sets this will probably be 1. 63 | * 64 | * @return int 65 | */ 66 | public function getInitialByteSize(); 67 | } 68 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mime/HeaderEncoder/QpHeaderEncoder.php: -------------------------------------------------------------------------------- 1 | _safeMap[$byte] = chr($byte); 35 | } 36 | } 37 | 38 | /** 39 | * Get the name of this encoding scheme. 40 | * 41 | * Returns the string 'Q'. 42 | * 43 | * @return string 44 | */ 45 | public function getName() 46 | { 47 | return 'Q'; 48 | } 49 | 50 | /** 51 | * Takes an unencoded string and produces a QP encoded string from it. 52 | * 53 | * @param string $string string to encode 54 | * @param int $firstLineOffset optional 55 | * @param int $maxLineLength optional, 0 indicates the default of 76 chars 56 | * 57 | * @return string 58 | */ 59 | public function encodeString($string, $firstLineOffset = 0, $maxLineLength = 0) 60 | { 61 | return str_replace(array(' ', '=20', "=\r\n"), array('_', '_', "\r\n"), 62 | parent::encodeString($string, $firstLineOffset, $maxLineLength) 63 | ); 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /css/less/print.less: -------------------------------------------------------------------------------- 1 | // 2 | // Basic print styles 3 | // -------------------------------------------------- 4 | // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css 5 | 6 | @media print { 7 | 8 | * { 9 | text-shadow: none !important; 10 | color: #000 !important; // Black prints faster: h5bp.com/s 11 | background: transparent !important; 12 | box-shadow: none !important; 13 | } 14 | 15 | a, 16 | a:visited { 17 | text-decoration: underline; 18 | } 19 | 20 | a[href]:after { 21 | content: " (" attr(href) ")"; 22 | } 23 | 24 | abbr[title]:after { 25 | content: " (" attr(title) ")"; 26 | } 27 | 28 | // Don't show links for images, or javascript/internal links 29 | a[href^="javascript:"]:after, 30 | a[href^="#"]:after { 31 | content: ""; 32 | } 33 | 34 | pre, 35 | blockquote { 36 | border: 1px solid #999; 37 | page-break-inside: avoid; 38 | } 39 | 40 | thead { 41 | display: table-header-group; // h5bp.com/t 42 | } 43 | 44 | tr, 45 | img { 46 | page-break-inside: avoid; 47 | } 48 | 49 | img { 50 | max-width: 100% !important; 51 | } 52 | 53 | p, 54 | h2, 55 | h3 { 56 | orphans: 3; 57 | widows: 3; 58 | } 59 | 60 | h2, 61 | h3 { 62 | page-break-after: avoid; 63 | } 64 | 65 | // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245 66 | // Once fixed, we can just straight up remove this. 67 | select { 68 | background: #fff !important; 69 | } 70 | 71 | // Bootstrap components 72 | .navbar { 73 | display: none; 74 | } 75 | .table { 76 | td, 77 | th { 78 | background-color: #fff !important; 79 | } 80 | } 81 | .btn, 82 | .dropup > .btn { 83 | > .caret { 84 | border-top-color: #000 !important; 85 | } 86 | } 87 | .label { 88 | border: 1px solid #000; 89 | } 90 | 91 | .table { 92 | border-collapse: collapse !important; 93 | } 94 | .table-bordered { 95 | th, 96 | td { 97 | border: 1px solid #ddd !important; 98 | } 99 | } 100 | 101 | } 102 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/MemorySpool.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | /** 12 | * Stores Messages in memory. 13 | * 14 | * @author Fabien Potencier 15 | */ 16 | class Swift_MemorySpool implements Swift_Spool 17 | { 18 | protected $messages = array(); 19 | 20 | /** 21 | * Tests if this Transport mechanism has started. 22 | * 23 | * @return bool 24 | */ 25 | public function isStarted() 26 | { 27 | return true; 28 | } 29 | 30 | /** 31 | * Starts this Transport mechanism. 32 | */ 33 | public function start() 34 | { 35 | } 36 | 37 | /** 38 | * Stops this Transport mechanism. 39 | */ 40 | public function stop() 41 | { 42 | } 43 | 44 | /** 45 | * Stores a message in the queue. 46 | * 47 | * @param Swift_Mime_Message $message The message to store 48 | * 49 | * @return bool Whether the operation has succeeded 50 | */ 51 | public function queueMessage(Swift_Mime_Message $message) 52 | { 53 | $this->messages[] = $message; 54 | 55 | return true; 56 | } 57 | 58 | /** 59 | * Sends messages using the given transport instance. 60 | * 61 | * @param Swift_Transport $transport A transport instance 62 | * @param string[] $failedRecipients An array of failures by-reference 63 | * 64 | * @return int The number of sent emails 65 | */ 66 | public function flushQueue(Swift_Transport $transport, &$failedRecipients = null) 67 | { 68 | if (!$this->messages) { 69 | return 0; 70 | } 71 | 72 | if (!$transport->isStarted()) { 73 | $transport->start(); 74 | } 75 | 76 | $count = 0; 77 | while ($message = array_pop($this->messages)) { 78 | $count += $transport->send($message, $failedRecipients); 79 | } 80 | 81 | return $count; 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/EmbeddedFile.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('mime.embeddedfile') 33 | ); 34 | 35 | $this->setBody($data); 36 | $this->setFilename($filename); 37 | if ($contentType) { 38 | $this->setContentType($contentType); 39 | } 40 | } 41 | 42 | /** 43 | * Create a new EmbeddedFile. 44 | * 45 | * @param string|Swift_OutputByteStream $data 46 | * @param string $filename 47 | * @param string $contentType 48 | * 49 | * @return Swift_Mime_EmbeddedFile 50 | */ 51 | public static function newInstance($data = null, $filename = null, $contentType = null) 52 | { 53 | return new self($data, $filename, $contentType); 54 | } 55 | 56 | /** 57 | * Create a new EmbeddedFile from a filesystem path. 58 | * 59 | * @param string $path 60 | * 61 | * @return Swift_Mime_EmbeddedFile 62 | */ 63 | public static function fromPath($path) 64 | { 65 | return self::newInstance()->setFile( 66 | new Swift_ByteStream_FileByteStream($path) 67 | ); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/SmtpTransport.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('transport.smtp') 37 | ); 38 | 39 | $this->setHost($host); 40 | $this->setPort($port); 41 | $this->setEncryption($security); 42 | } 43 | 44 | /** 45 | * Create a new SmtpTransport instance. 46 | * 47 | * @param string $host 48 | * @param int $port 49 | * @param string $security 50 | * 51 | * @return Swift_SmtpTransport 52 | */ 53 | public static function newInstance($host = 'localhost', $port = 25, $security = null) 54 | { 55 | return new self($host, $port, $security); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/Esmtp/Auth/XOAuth2Authenticator.php: -------------------------------------------------------------------------------- 1 | 16 | * $transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', 587, 'tls') 17 | * ->setAuthMode('XOAUTH2') 18 | * ->setUsername('YOUR_EMAIL_ADDRESS') 19 | * ->setPassword('YOUR_ACCESS_TOKEN'); 20 | * 21 | * 22 | * @author xu.li 23 | * @see https://developers.google.com/google-apps/gmail/xoauth2_protocol 24 | */ 25 | class Swift_Transport_Esmtp_Auth_XOAuth2Authenticator implements Swift_Transport_Esmtp_Authenticator 26 | { 27 | /** 28 | * Get the name of the AUTH mechanism this Authenticator handles. 29 | * 30 | * @return string 31 | */ 32 | public function getAuthKeyword() 33 | { 34 | return 'XOAUTH2'; 35 | } 36 | 37 | /** 38 | * Try to authenticate the user with $email and $token. 39 | * 40 | * @param Swift_Transport_SmtpAgent $agent 41 | * @param string $email 42 | * @param string $token 43 | * 44 | * @return bool 45 | */ 46 | public function authenticate(Swift_Transport_SmtpAgent $agent, $email, $token) 47 | { 48 | try { 49 | $param = $this->constructXOAuth2Params($email, $token); 50 | $agent->executeCommand("AUTH XOAUTH2 " . $param . "\r\n", array(235)); 51 | 52 | return true; 53 | } catch (Swift_TransportException $e) { 54 | $agent->executeCommand("RSET\r\n", array(250)); 55 | 56 | return false; 57 | } 58 | } 59 | 60 | /** 61 | * Construct the auth parameter 62 | * 63 | * @see https://developers.google.com/google-apps/gmail/xoauth2_protocol#the_sasl_xoauth2_mechanism 64 | */ 65 | protected function constructXOAuth2Params($email, $token) 66 | { 67 | return base64_encode("user=$email\1auth=Bearer $token\1\1"); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mime/HeaderFactory.php: -------------------------------------------------------------------------------- 1 | createDependenciesFor('mime.attachment') 33 | ); 34 | 35 | $this->setBody($data); 36 | $this->setFilename($filename); 37 | if ($contentType) { 38 | $this->setContentType($contentType); 39 | } 40 | } 41 | 42 | /** 43 | * Create a new Attachment. 44 | * 45 | * @param string|Swift_OutputByteStream $data 46 | * @param string $filename 47 | * @param string $contentType 48 | * 49 | * @return Swift_Mime_Attachment 50 | */ 51 | public static function newInstance($data = null, $filename = null, $contentType = null) 52 | { 53 | return new self($data, $filename, $contentType); 54 | } 55 | 56 | /** 57 | * Create a new Attachment from a filesystem path. 58 | * 59 | * @param string $path 60 | * @param string $contentType optional 61 | * 62 | * @return Swift_Mime_Attachment 63 | */ 64 | public static function fromPath($path, $contentType = null) 65 | { 66 | return self::newInstance()->setFile( 67 | new Swift_ByteStream_FileByteStream($path), 68 | $contentType 69 | ); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/InputByteStream.php: -------------------------------------------------------------------------------- 1 | = $maxLineLength || 76 < $maxLineLength) { 29 | $maxLineLength = 76; 30 | } 31 | 32 | $remainder = 0; 33 | 34 | while (false !== $bytes = $os->read(8190)) { 35 | $encoded = base64_encode($bytes); 36 | $encodedTransformed = ''; 37 | $thisMaxLineLength = $maxLineLength - $remainder - $firstLineOffset; 38 | 39 | while ($thisMaxLineLength < strlen($encoded)) { 40 | $encodedTransformed .= substr($encoded, 0, $thisMaxLineLength) . "\r\n"; 41 | $firstLineOffset = 0; 42 | $encoded = substr($encoded, $thisMaxLineLength); 43 | $thisMaxLineLength = $maxLineLength; 44 | $remainder = 0; 45 | } 46 | 47 | if (0 < $remainingLength = strlen($encoded)) { 48 | $remainder += $remainingLength; 49 | $encodedTransformed .= $encoded; 50 | $encoded = null; 51 | } 52 | 53 | $is->write($encodedTransformed); 54 | } 55 | } 56 | 57 | /** 58 | * Get the name of this encoding scheme. 59 | * Returns the string 'base64'. 60 | * 61 | * @return string 62 | */ 63 | public function getName() 64 | { 65 | return 'base64'; 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/CharacterReader/UsAsciiReader.php: -------------------------------------------------------------------------------- 1 | "\x07F") { // Invalid char 34 | $currentMap[$i+$startOffset]=$string[$i]; 35 | } 36 | } 37 | 38 | return $strlen; 39 | } 40 | 41 | /** 42 | * Returns mapType 43 | * 44 | * @return int mapType 45 | */ 46 | public function getMapType() 47 | { 48 | return self::MAP_TYPE_INVALID; 49 | } 50 | 51 | /** 52 | * Returns an integer which specifies how many more bytes to read. 53 | * 54 | * A positive integer indicates the number of more bytes to fetch before invoking 55 | * this method again. 56 | * A value of zero means this is already a valid character. 57 | * A value of -1 means this cannot possibly be a valid character. 58 | * 59 | * @param string $bytes 60 | * @param int $size 61 | * 62 | * @return int 63 | */ 64 | public function validateByteSequence($bytes, $size) 65 | { 66 | $byte = reset($bytes); 67 | if (1 == count($bytes) && $byte >= 0x00 && $byte <= 0x7F) { 68 | return 0; 69 | } else { 70 | return -1; 71 | } 72 | } 73 | 74 | /** 75 | * Returns the number of bytes which should be read to start each character. 76 | * 77 | * @return int 78 | */ 79 | public function getInitialByteSize() 80 | { 81 | return 1; 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /css/less/pagination.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pagination (multiple pages) 3 | // -------------------------------------------------- 4 | .pagination { 5 | display: inline-block; 6 | padding-left: 0; 7 | margin: @line-height-computed 0; 8 | border-radius: @border-radius-base; 9 | 10 | > li { 11 | display: inline; // Remove list-style and block-level defaults 12 | > a, 13 | > span { 14 | position: relative; 15 | float: left; // Collapse white-space 16 | padding: @padding-base-vertical @padding-base-horizontal; 17 | line-height: @line-height-base; 18 | text-decoration: none; 19 | color: @pagination-color; 20 | background-color: @pagination-bg; 21 | border: 1px solid @pagination-border; 22 | margin-left: -1px; 23 | } 24 | &:first-child { 25 | > a, 26 | > span { 27 | margin-left: 0; 28 | .border-left-radius(@border-radius-base); 29 | } 30 | } 31 | &:last-child { 32 | > a, 33 | > span { 34 | .border-right-radius(@border-radius-base); 35 | } 36 | } 37 | } 38 | 39 | > li > a, 40 | > li > span { 41 | &:hover, 42 | &:focus { 43 | color: @pagination-hover-color; 44 | background-color: @pagination-hover-bg; 45 | border-color: @pagination-hover-border; 46 | } 47 | } 48 | 49 | > .active > a, 50 | > .active > span { 51 | &, 52 | &:hover, 53 | &:focus { 54 | z-index: 2; 55 | color: @pagination-active-color; 56 | background-color: @pagination-active-bg; 57 | border-color: @pagination-active-border; 58 | cursor: default; 59 | } 60 | } 61 | 62 | > .disabled { 63 | > span, 64 | > span:hover, 65 | > span:focus, 66 | > a, 67 | > a:hover, 68 | > a:focus { 69 | color: @pagination-disabled-color; 70 | background-color: @pagination-disabled-bg; 71 | border-color: @pagination-disabled-border; 72 | cursor: not-allowed; 73 | } 74 | } 75 | } 76 | 77 | // Sizing 78 | // -------------------------------------------------- 79 | 80 | // Large 81 | .pagination-lg { 82 | .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large); 83 | } 84 | 85 | // Small 86 | .pagination-sm { 87 | .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small); 88 | } 89 | -------------------------------------------------------------------------------- /mail/mail.php: -------------------------------------------------------------------------------- 1 | setUsername('email@domain.com') 29 | ->setPassword('p@55w0rd') 30 | ; 31 | 32 | 33 | $mailer = Swift_Mailer::newInstance($transport); 34 | 35 | 36 | // Creating the message text using fields sent through POST 37 | 38 | foreach ($_POST as $key => $value) 39 | $messageText .= ucfirst($key).": ".$value."\n\n"; 40 | 41 | 42 | 43 | 44 | // You can change "A message from Meetup Template Form" to your own subject if you want. 45 | $message = Swift_Message::newInstance('A message from Meetup Template Form') 46 | ->setFrom(array($_POST['email'] => $_POST['name'])) 47 | ->setTo(array('email@yourdomain.com' => 'John Doe'))->setBody($messageText); 48 | // ^ ^ 49 | // Your email address_/ Your name_/ 50 | 51 | 52 | 53 | // Send the message or catch an error if it occurs. 54 | try{ 55 | echo($mailer->send($message)); 56 | } 57 | catch(Exception $e){ 58 | echo($e->getMessage()); 59 | } 60 | exit; 61 | } 62 | 63 | ?> -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mime/Header.php: -------------------------------------------------------------------------------- 1 | _reporter = $reporter; 33 | } 34 | 35 | /** 36 | * Not used. 37 | */ 38 | public function beforeSendPerformed(Swift_Events_SendEvent $evt) 39 | { 40 | } 41 | 42 | /** 43 | * Invoked immediately after the Message is sent. 44 | * 45 | * @param Swift_Events_SendEvent $evt 46 | */ 47 | public function sendPerformed(Swift_Events_SendEvent $evt) 48 | { 49 | $message = $evt->getMessage(); 50 | $failures = array_flip($evt->getFailedRecipients()); 51 | foreach ((array) $message->getTo() as $address => $null) { 52 | $this->_reporter->notify( 53 | $message, $address, (array_key_exists($address, $failures) 54 | ? Swift_Plugins_Reporter::RESULT_FAIL 55 | : Swift_Plugins_Reporter::RESULT_PASS) 56 | ); 57 | } 58 | foreach ((array) $message->getCc() as $address => $null) { 59 | $this->_reporter->notify( 60 | $message, $address, (array_key_exists($address, $failures) 61 | ? Swift_Plugins_Reporter::RESULT_FAIL 62 | : Swift_Plugins_Reporter::RESULT_PASS) 63 | ); 64 | } 65 | foreach ((array) $message->getBcc() as $address => $null) { 66 | $this->_reporter->notify( 67 | $message, $address, (array_key_exists($address, $failures) 68 | ? Swift_Plugins_Reporter::RESULT_FAIL 69 | : Swift_Plugins_Reporter::RESULT_PASS) 70 | ); 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /js/bootstrap/alert.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: alert.js v3.1.0 3 | * http://getbootstrap.com/javascript/#alerts 4 | * ======================================================================== 5 | * Copyright 2011-2014 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // ALERT CLASS DEFINITION 14 | // ====================== 15 | 16 | var dismiss = '[data-dismiss="alert"]' 17 | var Alert = function (el) { 18 | $(el).on('click', dismiss, this.close) 19 | } 20 | 21 | Alert.prototype.close = function (e) { 22 | var $this = $(this) 23 | var selector = $this.attr('data-target') 24 | 25 | if (!selector) { 26 | selector = $this.attr('href') 27 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 28 | } 29 | 30 | var $parent = $(selector) 31 | 32 | if (e) e.preventDefault() 33 | 34 | if (!$parent.length) { 35 | $parent = $this.hasClass('alert') ? $this : $this.parent() 36 | } 37 | 38 | $parent.trigger(e = $.Event('close.bs.alert')) 39 | 40 | if (e.isDefaultPrevented()) return 41 | 42 | $parent.removeClass('in') 43 | 44 | function removeElement() { 45 | $parent.trigger('closed.bs.alert').remove() 46 | } 47 | 48 | $.support.transition && $parent.hasClass('fade') ? 49 | $parent 50 | .one($.support.transition.end, removeElement) 51 | .emulateTransitionEnd(150) : 52 | removeElement() 53 | } 54 | 55 | 56 | // ALERT PLUGIN DEFINITION 57 | // ======================= 58 | 59 | var old = $.fn.alert 60 | 61 | $.fn.alert = function (option) { 62 | return this.each(function () { 63 | var $this = $(this) 64 | var data = $this.data('bs.alert') 65 | 66 | if (!data) $this.data('bs.alert', (data = new Alert(this))) 67 | if (typeof option == 'string') data[option].call($this) 68 | }) 69 | } 70 | 71 | $.fn.alert.Constructor = Alert 72 | 73 | 74 | // ALERT NO CONFLICT 75 | // ================= 76 | 77 | $.fn.alert.noConflict = function () { 78 | $.fn.alert = old 79 | return this 80 | } 81 | 82 | 83 | // ALERT DATA-API 84 | // ============== 85 | 86 | $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) 87 | 88 | }(jQuery); 89 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/Esmtp/Auth/CramMd5Authenticator.php: -------------------------------------------------------------------------------- 1 | executeCommand("AUTH CRAM-MD5\r\n", array(334)); 41 | $challenge = base64_decode(substr($challenge, 4)); 42 | $message = base64_encode( 43 | $username . ' ' . $this->_getResponse($password, $challenge) 44 | ); 45 | $agent->executeCommand(sprintf("%s\r\n", $message), array(235)); 46 | 47 | return true; 48 | } catch (Swift_TransportException $e) { 49 | $agent->executeCommand("RSET\r\n", array(250)); 50 | 51 | return false; 52 | } 53 | } 54 | 55 | /** 56 | * Generate a CRAM-MD5 response from a server challenge. 57 | * 58 | * @param string $secret 59 | * @param string $challenge 60 | * 61 | * @return string 62 | */ 63 | private function _getResponse($secret, $challenge) 64 | { 65 | if (strlen($secret) > 64) { 66 | $secret = pack('H32', md5($secret)); 67 | } 68 | 69 | if (strlen($secret) < 64) { 70 | $secret = str_pad($secret, 64, chr(0)); 71 | } 72 | 73 | $k_ipad = substr($secret, 0, 64) ^ str_repeat(chr(0x36), 64); 74 | $k_opad = substr($secret, 0, 64) ^ str_repeat(chr(0x5C), 64); 75 | 76 | $inner = pack('H32', md5($k_ipad . $challenge)); 77 | $digest = md5($k_opad . $inner); 78 | 79 | return $digest; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /js/smooth-scroll.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Smooth Scroll - v1.4.10 - 2013-03-02 3 | * https://github.com/kswedberg/jquery-smooth-scroll 4 | * Copyright (c) 2013 Karl Swedberg 5 | * Licensed MIT (https://github.com/kswedberg/jquery-smooth-scroll/blob/master/LICENSE-MIT) 6 | */ 7 | !function(l){function t(l){return l.replace(/(:|\.)/g,"\\$1")}var e="1.4.10",o={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},r=function(t){var e=[],o=!1,r=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=l(this);t[r]()>0?e.push(this):(t[r](1),o=t[r]()>0,o&&e.push(this),t[r](0))}}),e.length||this.each(function(){"BODY"===this.nodeName&&(e=[this])}),"first"===t.el&&e.length>1&&(e=[e[0]]),e};l.fn.extend({scrollable:function(l){var t=r.call(this,{dir:l});return this.pushStack(t)},firstScrollable:function(l){var t=r.call(this,{el:"first",dir:l});return this.pushStack(t)},smoothScroll:function(e){e=e||{};var o=l.extend({},l.fn.smoothScroll.defaults,e),r=l.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(e){var n=this,s=l(this),c=o.exclude,i=o.excludeWithin,a=0,f=0,h=!0,u={},d=location.hostname===n.hostname||!n.hostname,m=o.scrollTarget||(l.smoothScroll.filterPath(n.pathname)||r)===r,p=t(n.hash);if(o.scrollTarget||d&&m&&p){for(;h&&c.length>a;)s.is(t(c[a++]))&&(h=!1);for(;h&&i.length>f;)s.closest(i[f++]).length&&(h=!1)}else h=!1;h&&(e.preventDefault(),l.extend(u,o,{scrollTarget:o.scrollTarget||p,link:n}),l.smoothScroll(u))}),this}}),l.smoothScroll=function(t,e){var o,r,n,s,c=0,i="offset",a="scrollTop",f={},h={};"number"==typeof t?(o=l.fn.smoothScroll.defaults,n=t):(o=l.extend({},l.fn.smoothScroll.defaults,t||{}),o.scrollElement&&(i="position","static"==o.scrollElement.css("position")&&o.scrollElement.css("position","relative"))),o=l.extend({link:null},o),a="left"==o.direction?"scrollLeft":a,o.scrollElement?(r=o.scrollElement,c=r[a]()):r=l("html, body").firstScrollable(),o.beforeScroll.call(r,o),n="number"==typeof t?t:e||l(o.scrollTarget)[i]()&&l(o.scrollTarget)[i]()[o.direction]||0,f[a]=n+c+o.offset,s=o.speed,"auto"===s&&(s=f[a]||r.scrollTop(),s/=o.autoCoefficent),h={duration:s,easing:o.easing,complete:function(){o.afterScroll.call(o.link,o)}},o.step&&(h.step=o.step),r.length?r.stop().animate(f,h):o.afterScroll.call(o.link,o)},l.smoothScroll.version=e,l.smoothScroll.filterPath=function(l){return l.replace(/^\//,"").replace(/(index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},l.fn.smoothScroll.defaults=o}(jQuery); -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Encoder/Rfc2231Encoder.php: -------------------------------------------------------------------------------- 1 | _charStream = $charStream; 33 | } 34 | 35 | /** 36 | * Takes an unencoded string and produces a string encoded according to 37 | * RFC 2231 from it. 38 | * 39 | * @param string $string 40 | * @param int $firstLineOffset 41 | * @param int $maxLineLength optional, 0 indicates the default of 75 bytes 42 | * 43 | * @return string 44 | */ 45 | public function encodeString($string, $firstLineOffset = 0, $maxLineLength = 0) 46 | { 47 | $lines = array(); $lineCount = 0; 48 | $lines[] = ''; 49 | $currentLine =& $lines[$lineCount++]; 50 | 51 | if (0 >= $maxLineLength) { 52 | $maxLineLength = 75; 53 | } 54 | 55 | $this->_charStream->flushContents(); 56 | $this->_charStream->importString($string); 57 | 58 | $thisLineLength = $maxLineLength - $firstLineOffset; 59 | 60 | while (false !== $char = $this->_charStream->read(4)) { 61 | $encodedChar = rawurlencode($char); 62 | if (0 != strlen($currentLine) 63 | && strlen($currentLine . $encodedChar) > $thisLineLength) 64 | { 65 | $lines[] = ''; 66 | $currentLine =& $lines[$lineCount++]; 67 | $thisLineLength = $maxLineLength; 68 | } 69 | $currentLine .= $encodedChar; 70 | } 71 | 72 | return implode("\r\n", $lines); 73 | } 74 | 75 | /** 76 | * Updates the charset used. 77 | * 78 | * @param string $charset 79 | */ 80 | public function charsetChanged($charset) 81 | { 82 | $this->_charStream->setCharacterSet($charset); 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/CharacterStream.php: -------------------------------------------------------------------------------- 1 | _transports); 47 | $sent = 0; 48 | 49 | for ($i = 0; $i < $maxTransports 50 | && $transport = $this->_getNextTransport(); ++$i) 51 | { 52 | try { 53 | if (!$transport->isStarted()) { 54 | $transport->start(); 55 | } 56 | 57 | return $transport->send($message, $failedRecipients); 58 | } catch (Swift_TransportException $e) { 59 | $this->_killCurrentTransport(); 60 | } 61 | } 62 | 63 | if (count($this->_transports) == 0) { 64 | throw new Swift_TransportException( 65 | 'All Transports in FailoverTransport failed, or no Transports available' 66 | ); 67 | } 68 | 69 | return $sent; 70 | } 71 | 72 | protected function _getNextTransport() 73 | { 74 | if (!isset($this->_currentTransport)) { 75 | $this->_currentTransport = parent::_getNextTransport(); 76 | } 77 | 78 | return $this->_currentTransport; 79 | } 80 | 81 | protected function _killCurrentTransport() 82 | { 83 | $this->_currentTransport = null; 84 | parent::_killCurrentTransport(); 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/NullTransport.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | /** 12 | * Pretends messages have been sent, but just ignores them. 13 | * 14 | * @author Fabien Potencier 15 | */ 16 | class Swift_Transport_NullTransport implements Swift_Transport 17 | { 18 | /** The event dispatcher from the plugin API */ 19 | private $_eventDispatcher; 20 | 21 | /** 22 | * Constructor. 23 | */ 24 | public function __construct(Swift_Events_EventDispatcher $eventDispatcher) 25 | { 26 | $this->_eventDispatcher = $eventDispatcher; 27 | } 28 | 29 | /** 30 | * Tests if this Transport mechanism has started. 31 | * 32 | * @return bool 33 | */ 34 | public function isStarted() 35 | { 36 | return true; 37 | } 38 | 39 | /** 40 | * Starts this Transport mechanism. 41 | */ 42 | public function start() 43 | { 44 | } 45 | 46 | /** 47 | * Stops this Transport mechanism. 48 | */ 49 | public function stop() 50 | { 51 | } 52 | 53 | /** 54 | * Sends the given message. 55 | * 56 | * @param Swift_Mime_Message $message 57 | * @param string[] $failedRecipients An array of failures by-reference 58 | * 59 | * @return int The number of sent emails 60 | */ 61 | public function send(Swift_Mime_Message $message, &$failedRecipients = null) 62 | { 63 | if ($evt = $this->_eventDispatcher->createSendEvent($this, $message)) { 64 | $this->_eventDispatcher->dispatchEvent($evt, 'beforeSendPerformed'); 65 | if ($evt->bubbleCancelled()) { 66 | return 0; 67 | } 68 | } 69 | 70 | if ($evt) { 71 | $evt->setResult(Swift_Events_SendEvent::RESULT_SUCCESS); 72 | $this->_eventDispatcher->dispatchEvent($evt, 'sendPerformed'); 73 | } 74 | 75 | $count = ( 76 | count((array) $message->getTo()) 77 | + count((array) $message->getCc()) 78 | + count((array) $message->getBcc()) 79 | ); 80 | 81 | return $count; 82 | } 83 | 84 | /** 85 | * Register a plugin. 86 | * 87 | * @param Swift_Events_EventListener $plugin 88 | */ 89 | public function registerPlugin(Swift_Events_EventListener $plugin) 90 | { 91 | $this->_eventDispatcher->bindEventListener($plugin); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Mime/ContentEncoder/QpContentEncoderProxy.php: -------------------------------------------------------------------------------- 1 | 17 | */ 18 | class Swift_Mime_ContentEncoder_QpContentEncoderProxy implements Swift_Mime_ContentEncoder 19 | { 20 | /** 21 | * @var Swift_Mime_ContentEncoder_QpContentEncoder 22 | */ 23 | private $safeEncoder; 24 | 25 | /** 26 | * @var Swift_Mime_ContentEncoder_NativeQpContentEncoder 27 | */ 28 | private $nativeEncoder; 29 | 30 | /** 31 | * @var null|string 32 | */ 33 | private $charset; 34 | 35 | /** 36 | * Constructor. 37 | * 38 | * @param Swift_Mime_ContentEncoder_QpContentEncoder $safeEncoder 39 | * @param Swift_Mime_ContentEncoder_NativeQpContentEncoder $nativeEncoder 40 | * @param string|null $charset 41 | */ 42 | public function __construct(Swift_Mime_ContentEncoder_QpContentEncoder $safeEncoder, Swift_Mime_ContentEncoder_NativeQpContentEncoder $nativeEncoder, $charset) 43 | { 44 | $this->safeEncoder = $safeEncoder; 45 | $this->nativeEncoder = $nativeEncoder; 46 | $this->charset = $charset; 47 | } 48 | 49 | /** 50 | * {@inheritdoc} 51 | */ 52 | public function charsetChanged($charset) 53 | { 54 | $this->charset = $charset; 55 | } 56 | 57 | /** 58 | * {@inheritdoc} 59 | */ 60 | public function encodeByteStream(Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, $maxLineLength = 0) 61 | { 62 | $this->getEncoder()->encodeByteStream($os, $is, $firstLineOffset, $maxLineLength); 63 | } 64 | 65 | /** 66 | * {@inheritdoc} 67 | */ 68 | public function getName() 69 | { 70 | return 'quoted-printable'; 71 | } 72 | 73 | /** 74 | * {@inheritdoc} 75 | */ 76 | public function encodeString($string, $firstLineOffset = 0, $maxLineLength = 0) 77 | { 78 | return $this->getEncoder()->encodeString($string, $firstLineOffset, $maxLineLength); 79 | } 80 | 81 | /** 82 | * @return Swift_Mime_ContentEncoder 83 | */ 84 | private function getEncoder() 85 | { 86 | return 'utf-8' === $this->charset ? $this->nativeEncoder : $this->safeEncoder; 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /mail/lib/classes/Swift/Transport/EsmtpHandler.php: -------------------------------------------------------------------------------- 1 | . 41 | * 42 | * @return string[] 43 | */ 44 | public function getMailParams(); 45 | 46 | /** 47 | * Get params which are appended to RCPT TO:<>. 48 | * 49 | * @return string[] 50 | */ 51 | public function getRcptParams(); 52 | 53 | /** 54 | * Runs when a command is due to be sent. 55 | * 56 | * @param Swift_Transport_SmtpAgent $agent to read/write 57 | * @param string $command to send 58 | * @param int[] $codes expected in response 59 | * @param string[] $failedRecipients to collect failures 60 | * @param bool $stop to be set true by-reference if the command is now sent 61 | */ 62 | public function onCommand(Swift_Transport_SmtpAgent $agent, $command, $codes = array(), &$failedRecipients = null, &$stop = false); 63 | 64 | /** 65 | * Returns +1, -1 or 0 according to the rules for usort(). 66 | * 67 | * This method is called to ensure extensions can be execute in an appropriate order. 68 | * 69 | * @param string $esmtpKeyword to compare with 70 | * 71 | * @return int 72 | */ 73 | public function getPriorityOver($esmtpKeyword); 74 | 75 | /** 76 | * Returns an array of method names which are exposed to the Esmtp class. 77 | * 78 | * @return string[] 79 | */ 80 | public function exposeMixinMethods(); 81 | 82 | /** 83 | * Tells this handler to clear any buffers and reset its state. 84 | */ 85 | public function resetState(); 86 | } 87 | -------------------------------------------------------------------------------- /css/custom.css: -------------------------------------------------------------------------------- 1 | .schedule a { 2 | color: #E12B00; 3 | border: none; 4 | } 5 | 6 | .schedule a:hover { 7 | color: #E12B00; 8 | text-decoration: underline; 9 | border: none; 10 | } 11 | 12 | .schedule a:active { 13 | color: red; 14 | text-decoration: underline; 15 | border: none; 16 | } 17 | 18 | .schedule a:visited { 19 | color: #B82300; 20 | text-decoration: none; 21 | border: none; 22 | } 23 | 24 | .tweets-feed { 25 | color: #FFFFFF; 26 | line-height: 25px; 27 | font-size: 20px; 28 | transition: opacity 0.2s linear; 29 | margin-bottom: 20px; 30 | height: 250px; 31 | } 32 | 33 | .tweets-feed a { 34 | color: #FFFFFF; 35 | text-decoration: underline; 36 | font-weight:700; 37 | } 38 | 39 | .tweets-feed a:hover { 40 | color: #FFFFFF; 41 | } 42 | 43 | .tweets-feed .dateTweeted { 44 | font-size: 15px; 45 | display: block; 46 | text-align: center; 47 | margin: 10px auto; 48 | } 49 | 50 | .subscribe-1 .email-subscribe { 51 | margin-bottom: 50px !important; 52 | } 53 | .newsletter-name{ 54 | padding-right: 0px; 55 | } 56 | .newsletter-name input{ 57 | border-radius: 10px 0px 0px 10px; 58 | } 59 | .newsletter-email{ 60 | padding-left: 5px; 61 | padding-right: 5px; 62 | } 63 | .newsletter-email input{ 64 | border-radius: 0px; 65 | } 66 | .newsletter-submit{ 67 | padding-left: 0px; 68 | } 69 | .newsletter-submit input{ 70 | border-radius: 0px 10px 10px 0px; 71 | } 72 | .social-profiles a i{ 73 | transition: all .5s; 74 | } 75 | .social-profiles a:hover i{ 76 | color: grey; 77 | } 78 | .sticky-nav .menu li a:hover { 79 | border-color: #C3BFBF; 80 | border-bottom-width: 2px; 81 | margin-bottom: 2px; 82 | } 83 | 84 | .sidebar-content .widget ul li a:hover{ 85 | border-color: #C3BFBF; 86 | border-bottom-width: 2px; 87 | margin-top: 2px; 88 | margin-bottom: 2px; 89 | } 90 | @media screen and (min-width: 350px) and (max-width: 440px) 91 | { 92 | #DevPrograms{ 93 | height: 90vh; 94 | } 95 | } 96 | @media screen and (min-width: 290px) and (max-width: 350px) 97 | { 98 | #DevPrograms{ 99 | height: 115vh; 100 | } 101 | } 102 | 103 | @media screen and (min-width: 240px) and (max-width: 290px) 104 | { 105 | #DevPrograms{ 106 | height: 120vh; 107 | } 108 | } 109 | 110 | @media screen and (max-width: 240px) 111 | { 112 | #DevPrograms{ 113 | height: 180vh; 114 | } 115 | } 116 | 117 | /*css classes for hiding and showing Donation and regular supporter parts in donate.html*/ 118 | .appear{ 119 | display: block; 120 | } 121 | .hide{ 122 | display: none; 123 | } 124 | .baddition{ 125 | margin-left: 600px; 126 | } 127 | .background-image { 128 | width: 100%; 129 | } -------------------------------------------------------------------------------- /mail/lib/classes/Swift/CharacterReader/GenericFixedWidthReader.php: -------------------------------------------------------------------------------- 1 | 16 | */ 17 | class Swift_CharacterReader_GenericFixedWidthReader implements Swift_CharacterReader 18 | { 19 | /** 20 | * The number of bytes in a single character. 21 | * 22 | * @var int 23 | */ 24 | private $_width; 25 | 26 | /** 27 | * Creates a new GenericFixedWidthReader using $width bytes per character. 28 | * 29 | * @param int $width 30 | */ 31 | public function __construct($width) 32 | { 33 | $this->_width = $width; 34 | } 35 | 36 | /** 37 | * Returns the complete character map. 38 | * 39 | * @param string $string 40 | * @param int $startOffset 41 | * @param array $currentMap 42 | * @param mixed $ignoredChars 43 | * 44 | * @return int 45 | */ 46 | public function getCharPositions($string, $startOffset, &$currentMap, &$ignoredChars) 47 | { 48 | $strlen = strlen($string); 49 | // % and / are CPU intensive, so, maybe find a better way 50 | $ignored = $strlen % $this->_width; 51 | $ignoredChars = substr($string, - $ignored); 52 | $currentMap = $this->_width; 53 | 54 | return ($strlen - $ignored) / $this->_width; 55 | } 56 | 57 | /** 58 | * Returns the mapType. 59 | * 60 | * @return int 61 | */ 62 | public function getMapType() 63 | { 64 | return self::MAP_TYPE_FIXED_LEN; 65 | } 66 | 67 | /** 68 | * Returns an integer which specifies how many more bytes to read. 69 | * 70 | * A positive integer indicates the number of more bytes to fetch before invoking 71 | * this method again. 72 | * 73 | * A value of zero means this is already a valid character. 74 | * A value of -1 means this cannot possibly be a valid character. 75 | * 76 | * @param string $bytes 77 | * @param int $size 78 | * 79 | * @return int 80 | */ 81 | public function validateByteSequence($bytes, $size) 82 | { 83 | $needed = $this->_width - $size; 84 | 85 | return ($needed > -1) ? $needed : -1; 86 | } 87 | 88 | /** 89 | * Returns the number of bytes which should be read to start each character. 90 | * 91 | * @return int 92 | */ 93 | public function getInitialByteSize() 94 | { 95 | return $this->_width; 96 | } 97 | } 98 | --------------------------------------------------------------------------------